@sap/ux-specification 1.84.74 → 1.84.76

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 (101) hide show
  1. package/CHANGELOG.md +67 -1
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-ListReport.html +2 -2
  9. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  10. package/dist/index-min.js +43 -43
  11. package/dist/index-min.js.map +4 -4
  12. package/dist/package.json +6 -6
  13. package/dist/schemas/v2/AnalyticalListPageConfig.json +38 -0
  14. package/dist/schemas/v2/ListReportConfig.json +556 -518
  15. package/dist/schemas/v2/ObjectPageConfig.json +72 -4
  16. package/dist/schemas/v2/OverviewPageConfig.json +114 -74
  17. package/dist/schemas/v4/ObjectPageConfig.json +14 -2
  18. package/dist/src/sync/common/generate/objectPage.d.ts +6 -5
  19. package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
  20. package/dist/src/sync/common/generate/objectPage.js +117 -86
  21. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  22. package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
  23. package/dist/src/sync/common/generate/utils.js +7 -4
  24. package/dist/src/sync/common/generate/utils.js.map +1 -1
  25. package/dist/src/sync/common/importProject.d.ts.map +1 -1
  26. package/dist/src/sync/common/importProject.js +1 -3
  27. package/dist/src/sync/common/importProject.js.map +1 -1
  28. package/dist/src/sync/common/utils.d.ts +1 -1
  29. package/dist/src/sync/common/utils.d.ts.map +1 -1
  30. package/dist/src/sync/common/utils.js +17 -14
  31. package/dist/src/sync/common/utils.js.map +1 -1
  32. package/dist/src/sync/v2/application.js.map +1 -1
  33. package/dist/src/sync/v2/export/controls/Action.d.ts +21 -0
  34. package/dist/src/sync/v2/export/controls/Action.d.ts.map +1 -1
  35. package/dist/src/sync/v2/export/controls/Action.js +93 -1
  36. package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
  37. package/dist/src/sync/v2/export/controls/Card.d.ts +6 -5
  38. package/dist/src/sync/v2/export/controls/Card.d.ts.map +1 -1
  39. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  40. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
  41. package/dist/src/sync/v2/export/export.d.ts.map +1 -1
  42. package/dist/src/sync/v2/export/export.js +3 -1
  43. package/dist/src/sync/v2/export/export.js.map +1 -1
  44. package/dist/src/sync/v2/export/exportPage.d.ts.map +1 -1
  45. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  46. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  47. package/dist/src/sync/v2/generate/analyticalListReport.js +2 -0
  48. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  49. package/dist/src/sync/v2/generate/generate.d.ts +5 -5
  50. package/dist/src/sync/v2/generate/generate.d.ts.map +1 -1
  51. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  52. package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
  53. package/dist/src/sync/v2/generate/listReport.js +5 -2
  54. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  55. package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  56. package/dist/src/sync/v2/generate/objectPage.js +62 -63
  57. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  58. package/dist/src/sync/v2/generate/utils.d.ts +20 -0
  59. package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
  60. package/dist/src/sync/v2/generate/utils.js +62 -2
  61. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  62. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  63. package/dist/src/sync/v2/import/app/appProvider.js +9 -10
  64. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  65. package/dist/src/sync/v2/import/common/index.d.ts +9 -0
  66. package/dist/src/sync/v2/import/common/index.d.ts.map +1 -1
  67. package/dist/src/sync/v2/import/common/index.js +39 -13
  68. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  69. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  70. package/dist/src/sync/v2/import/pages/analyticalListPage.js +3 -3
  71. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  72. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  73. package/dist/src/sync/v2/import/pages/listReport.js +3 -3
  74. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  75. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  76. package/dist/src/sync/v2/import/pages/objectPage.js +80 -32
  77. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  78. package/dist/src/sync/v2/types.d.ts +6 -1
  79. package/dist/src/sync/v2/types.d.ts.map +1 -1
  80. package/dist/src/sync/v2/types.js +6 -1
  81. package/dist/src/sync/v2/types.js.map +1 -1
  82. package/dist/src/sync/v4/export/export.d.ts.map +1 -1
  83. package/dist/src/sync/v4/export/export.js +11 -16
  84. package/dist/src/sync/v4/export/export.js.map +1 -1
  85. package/dist/src/sync/v4/generate/generate.d.ts +4 -4
  86. package/dist/src/sync/v4/generate/generate.d.ts.map +1 -1
  87. package/dist/src/sync/v4/generate/generate.js.map +1 -1
  88. package/dist/src/sync/v4/generate/listReport.d.ts +1 -1
  89. package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
  90. package/dist/src/sync/v4/generate/listReport.js +44 -45
  91. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  92. package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  93. package/dist/src/sync/v4/generate/objectPage.js +6 -2
  94. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  95. package/dist/src/sync/v4/import/fragment.d.ts.map +1 -1
  96. package/dist/src/sync/v4/import/fragment.js.map +1 -1
  97. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  98. package/dist/src/sync/v4/import/pages/listReport.js +3 -2
  99. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  100. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  101. package/package.json +6 -6
@@ -120,6 +120,14 @@
120
120
  "type": "object",
121
121
  "additionalProperties": {
122
122
  "$ref": "#/definitions/HeaderAction"
123
+ },
124
+ "properties": {
125
+ "UpAndDownNavigation": {
126
+ "$ref": "#/definitions/UpAndDownNavigationOP"
127
+ },
128
+ "Share": {
129
+ "$ref": "#/definitions/ShareOP"
130
+ }
123
131
  }
124
132
  },
125
133
  "HeaderAction": {
@@ -142,7 +150,7 @@
142
150
  "type": "string"
143
151
  }
144
152
  ],
145
- "description": "Allows you to define if the action button should be visible on the screen.",
153
+ "description": "Allows you to define if the action button is visible on the screen.",
146
154
  "artifactType": "FlexChange",
147
155
  "controlType": "sap.uxap.ObjectPageHeaderActionButton"
148
156
  },
@@ -193,6 +201,34 @@
193
201
  ],
194
202
  "type": "string"
195
203
  },
204
+ "UpAndDownNavigationOP": {
205
+ "description": "Up and Down Navigation",
206
+ "isViewNode": true,
207
+ "type": "object",
208
+ "properties": {
209
+ "visible": {
210
+ "description": "Allows you to define if the button is visible on the screen.",
211
+ "type": "boolean",
212
+ "artifactType": "FlexChange",
213
+ "controlType": "sap.m.Button"
214
+ }
215
+ },
216
+ "additionalProperties": false
217
+ },
218
+ "ShareOP": {
219
+ "description": "Share",
220
+ "isViewNode": true,
221
+ "type": "object",
222
+ "properties": {
223
+ "visible": {
224
+ "description": "Allows you to define if the button is visible on the screen.",
225
+ "type": "boolean",
226
+ "artifactType": "FlexChange",
227
+ "controlType": "sap.m.Button"
228
+ }
229
+ },
230
+ "additionalProperties": false
231
+ },
196
232
  "ObjectPageLayout": {
197
233
  "description": "Page Layout",
198
234
  "isViewNode": true,
@@ -396,7 +432,7 @@
396
432
  "type": "string"
397
433
  }
398
434
  ],
399
- "description": "Allows you to define if the action button should be visible on the screen.",
435
+ "description": "Allows you to define if the action button is visible on the screen.",
400
436
  "artifactType": "FlexChange",
401
437
  "controlType": "sap.m.Button"
402
438
  },
@@ -698,7 +734,7 @@
698
734
  "type": "string"
699
735
  }
700
736
  ],
701
- "description": "Allows you to define if the action button should be visible on the screen.",
737
+ "description": "Allows you to define if the action button is visible on the screen.",
702
738
  "artifactType": "FlexChange",
703
739
  "controlType": "sap.m.Button"
704
740
  },
@@ -1640,6 +1676,11 @@
1640
1676
  "type": "object",
1641
1677
  "additionalProperties": {
1642
1678
  "$ref": "#/definitions/ObjectPageFooterAction"
1679
+ },
1680
+ "properties": {
1681
+ "SaveAndEdit": {
1682
+ "$ref": "#/definitions/SaveAndEditOP"
1683
+ }
1643
1684
  }
1644
1685
  },
1645
1686
  "ObjectPageFooterAction": {
@@ -1662,7 +1703,7 @@
1662
1703
  "type": "string"
1663
1704
  }
1664
1705
  ],
1665
- "description": "Allows you to define if the action button should be visible on the screen.",
1706
+ "description": "Allows you to define if the action button is visible on the screen.",
1666
1707
  "artifactType": "FlexChange",
1667
1708
  "controlType": "sap.m.Button"
1668
1709
  },
@@ -1693,6 +1734,33 @@
1693
1734
  }
1694
1735
  },
1695
1736
  "additionalProperties": false
1737
+ },
1738
+ "SaveAndEditOP": {
1739
+ "description": "Save and Edit",
1740
+ "isViewNode": true,
1741
+ "type": "object",
1742
+ "properties": {
1743
+ "visible": {
1744
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
1745
+ "anyOf": [
1746
+ {
1747
+ "enum": [
1748
+ false,
1749
+ true,
1750
+ "{ui>/editable}",
1751
+ "{= !${ui>/editable}}"
1752
+ ]
1753
+ },
1754
+ {
1755
+ "type": "string"
1756
+ }
1757
+ ],
1758
+ "description": "Allows you to define if the button is visible on the screen.",
1759
+ "artifactType": "FlexChange",
1760
+ "controlType": "sap.m.Button"
1761
+ }
1762
+ },
1763
+ "additionalProperties": false
1696
1764
  }
1697
1765
  },
1698
1766
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -481,19 +481,8 @@
481
481
  "type": "boolean"
482
482
  },
483
483
  "objectStreamCardsSettings": {
484
- "description": "Represents the Object Stream properties - properties that are passed to the Object Stream cards.",
485
- "type": "object",
486
- "properties": {
487
- "showFirstActionInFooter": {
488
- "description": "If this flag is set to true, the first action on the footer of the quick view card will be a navigation action.\nIf the flag is set to false, the navigation action on the footer of the quick view card isn't displayed. Other actions are shown instead.\nThe default value of the flag is false.",
489
- "type": "boolean"
490
- },
491
- "annotationPath": {
492
- "description": "Represents the annotation path.",
493
- "type": "string"
494
- }
495
- },
496
- "additionalProperties": false
484
+ "$ref": "#/definitions/ObjectStreamCardsSettingsDef",
485
+ "description": "Represents the Object Stream properties - properties that are passed to the Object Stream cards."
497
486
  },
498
487
  "enableLocaleCurrencyFormatting": {
499
488
  "description": "Represents the flag to indicate the use of object number/smart field.",
@@ -533,6 +522,9 @@
533
522
  "properties": {
534
523
  "plotArea": {
535
524
  "$ref": "#/definitions/PlotAreaDef"
525
+ },
526
+ "timeAxis": {
527
+ "$ref": "#/definitions/TimeAxisDef"
536
528
  }
537
529
  },
538
530
  "additionalProperties": false
@@ -590,23 +582,23 @@
590
582
  "type": "object",
591
583
  "properties": {
592
584
  "cols": {
593
- "description": "Represents the card width calculated based on window width.",
585
+ "description": "Represents the number of the number of grid columns",
594
586
  "type": "number"
595
587
  },
596
588
  "rows": {
597
- "description": "Represents the number of line items to display for table and list cards.",
589
+ "description": "Represents the number of the number of grid rows",
598
590
  "type": "number"
599
591
  },
600
592
  "showOnlyHeader": {
601
- "description": "Set showOnlyHeader to true to render only the card header.",
593
+ "description": "Represents if user wants to show only header part of card in resizable layout",
602
594
  "type": "boolean"
603
595
  },
604
596
  "minimumTitleRow": {
605
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
597
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
606
598
  "type": "number"
607
599
  },
608
600
  "minimumSubTitleRow": {
609
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
601
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
610
602
  "type": "number"
611
603
  }
612
604
  },
@@ -648,6 +640,49 @@
648
640
  "title"
649
641
  ]
650
642
  },
643
+ "ObjectStreamCardsSettingsDef": {
644
+ "description": "Represents the Object Stream properties - properties that are passed to the Object Stream cards",
645
+ "type": "object",
646
+ "additionalProperties": {},
647
+ "properties": {
648
+ "showFirstActionInFooter": {
649
+ "description": "Represents the flag to show first action in footer of the Quickview cards",
650
+ "type": "boolean"
651
+ },
652
+ "customActions": {
653
+ "description": "Represents the custom actions in the Quick View Cards",
654
+ "minItems": 1,
655
+ "type": "array",
656
+ "items": [
657
+ {
658
+ "$ref": "#/definitions/CustomActionsSetting"
659
+ }
660
+ ],
661
+ "additionalItems": {
662
+ "$ref": "#/definitions/CustomActionsSetting"
663
+ }
664
+ }
665
+ }
666
+ },
667
+ "CustomActionsSetting": {
668
+ "description": "Represents the properties for the custom actions in the Quick View Cards",
669
+ "type": "object",
670
+ "additionalProperties": {},
671
+ "properties": {
672
+ "text": {
673
+ "description": "Text displayed for extended actions in Quick View",
674
+ "type": "string"
675
+ },
676
+ "press": {
677
+ "description": "Name of the press handler for extended actions in Quick View",
678
+ "type": "string"
679
+ },
680
+ "position": {
681
+ "description": "Position of extended actions in Quick View",
682
+ "type": "number"
683
+ }
684
+ }
685
+ },
651
686
  "CustomCardNavigationType": {
652
687
  "enum": [
653
688
  "chartNav",
@@ -658,23 +693,23 @@
658
693
  "type": "string"
659
694
  },
660
695
  "PlotAreaDef": {
661
- "description": "Plot area is a parent property which defines multiple other properties for smoothness and marker size.",
696
+ "description": "Plot area is a parent property which defines multiple other properties for smoothness and marker size",
662
697
  "type": "object",
663
698
  "properties": {
664
699
  "isSmoothed": {
665
- "description": "isSmoothed represents whether smoother curves are required or not.",
700
+ "description": "Represents whether smoother curves are required or not",
666
701
  "type": "boolean"
667
702
  },
668
703
  "markerSize": {
669
- "description": "markerSize represents the size of the markers in scatter plots.",
704
+ "description": "Represents the size of the markers in scatter plots",
670
705
  "type": "number"
671
706
  },
672
707
  "dataLabel": {
673
- "description": "dataLabel is a parent property that defines other properties for type.",
708
+ "description": "dataLabel is a parent property that defines other properties for type",
674
709
  "type": "object",
675
710
  "properties": {
676
711
  "type": {
677
- "description": "The data label type defines whether to display percentage values or actual counts in the donut chart.",
712
+ "description": "Defines whether to display percentage values or actual counts in the donut chart",
678
713
  "enum": [
679
714
  "percentage",
680
715
  "value"
@@ -687,32 +722,45 @@
687
722
  },
688
723
  "additionalProperties": false
689
724
  },
725
+ "TimeAxisDef": {
726
+ "description": "Represents the configuration to customize the time axis",
727
+ "type": "object",
728
+ "additionalProperties": {},
729
+ "properties": {
730
+ "levels": {
731
+ "description": "Plot area is a parent property which defines multiple other properties for smoothness and marker size",
732
+ "type": "array",
733
+ "items": {}
734
+ }
735
+ }
736
+ },
690
737
  "TabSetting": {
738
+ "description": "Represents the tab specific properties - properties that are passed to a particular tab in a card",
691
739
  "type": "object",
692
740
  "additionalProperties": {},
693
741
  "properties": {
694
742
  "annotationPath": {
695
- "description": "Represents the annotation path.",
743
+ "description": "Represents the annotation path",
696
744
  "type": "string"
697
745
  },
698
746
  "selectionAnnotationPath": {
699
- "description": "Represents the selection annotation path.",
747
+ "description": "Represents the selection annotation path",
700
748
  "type": "string"
701
749
  },
702
750
  "chartAnnotationPath": {
703
- "description": "Represents the chart annotation path.",
751
+ "description": "Represents the chart annotation path",
704
752
  "type": "string"
705
753
  },
706
754
  "presentationAnnotationPath": {
707
- "description": "Represents the presentation annotation path.",
755
+ "description": "Represents the presentation annotation path",
708
756
  "type": "string"
709
757
  },
710
758
  "dataPointAnnotationPath": {
711
- "description": "Represents the data point annotation path.",
759
+ "description": "Represents the data point annotation path",
712
760
  "type": "string"
713
761
  },
714
762
  "identificationAnnotationPath": {
715
- "description": "Represents the identification annotation path.",
763
+ "description": "Represents the identification annotation path",
716
764
  "type": "string"
717
765
  },
718
766
  "dynamicSubtitleAnnotationPath": {
@@ -724,17 +772,20 @@
724
772
  "type": "string"
725
773
  },
726
774
  "chartProperties": {
727
- "description": "This property is responsible for setting specific chart settings.",
775
+ "description": "This property is responsible for setting specific chart settings",
728
776
  "type": "object",
729
777
  "properties": {
730
778
  "plotArea": {
731
779
  "$ref": "#/definitions/PlotAreaDef"
780
+ },
781
+ "timeAxis": {
782
+ "$ref": "#/definitions/TimeAxisDef"
732
783
  }
733
784
  },
734
785
  "additionalProperties": false
735
786
  },
736
787
  "colorPalette": {
737
- "description": "Represents the configuration to customize the column stacked chart.",
788
+ "description": "Represents the configuration to customize the column stacked chart",
738
789
  "anyOf": [
739
790
  {
740
791
  "type": "array",
@@ -857,23 +908,23 @@
857
908
  "type": "object",
858
909
  "properties": {
859
910
  "cols": {
860
- "description": "Represents the card width calculated based on window width.",
911
+ "description": "Represents the number of the number of grid columns",
861
912
  "type": "number"
862
913
  },
863
914
  "rows": {
864
- "description": "Represents the number of line items to display for table and list cards.",
915
+ "description": "Represents the number of the number of grid rows",
865
916
  "type": "number"
866
917
  },
867
918
  "showOnlyHeader": {
868
- "description": "Set showOnlyHeader to true to render only the card header.",
919
+ "description": "Represents if user wants to show only header part of card in resizable layout",
869
920
  "type": "boolean"
870
921
  },
871
922
  "minimumTitleRow": {
872
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
923
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
873
924
  "type": "number"
874
925
  },
875
926
  "minimumSubTitleRow": {
876
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
927
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
877
928
  "type": "number"
878
929
  }
879
930
  },
@@ -981,19 +1032,8 @@
981
1032
  "type": "string"
982
1033
  },
983
1034
  "objectStreamCardsSettings": {
984
- "description": "Configures additional settings for the cards displayed in the object stream.",
985
- "type": "object",
986
- "properties": {
987
- "showFirstActionInFooter": {
988
- "description": "If this flag is set to true, the first action on the footer of the quick view card will be a navigation action.\nIf the flag is set to false, the navigation action on the footer of the quick view card isn't displayed. Other actions are shown instead.\nThe default value of the flag is false.",
989
- "type": "boolean"
990
- },
991
- "annotationPath": {
992
- "description": "Represents the annotation path.",
993
- "type": "string"
994
- }
995
- },
996
- "additionalProperties": false
1035
+ "$ref": "#/definitions/ObjectStreamCardsSettingsDef",
1036
+ "description": "Configures additional settings for the cards displayed in the object stream."
997
1037
  },
998
1038
  "entitySet": {
999
1039
  "description": "Represents the dominant entity set that will be displayed in the given card.",
@@ -1032,23 +1072,23 @@
1032
1072
  "type": "object",
1033
1073
  "properties": {
1034
1074
  "cols": {
1035
- "description": "Represents the card width calculated based on window width.",
1075
+ "description": "Represents the number of the number of grid columns",
1036
1076
  "type": "number"
1037
1077
  },
1038
1078
  "rows": {
1039
- "description": "Represents the number of line items to display for table and list cards.",
1079
+ "description": "Represents the number of the number of grid rows",
1040
1080
  "type": "number"
1041
1081
  },
1042
1082
  "showOnlyHeader": {
1043
- "description": "Set showOnlyHeader to true to render only the card header.",
1083
+ "description": "Represents if user wants to show only header part of card in resizable layout",
1044
1084
  "type": "boolean"
1045
1085
  },
1046
1086
  "minimumTitleRow": {
1047
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
1087
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
1048
1088
  "type": "number"
1049
1089
  },
1050
1090
  "minimumSubTitleRow": {
1051
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
1091
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
1052
1092
  "type": "number"
1053
1093
  }
1054
1094
  },
@@ -1192,23 +1232,23 @@
1192
1232
  "type": "object",
1193
1233
  "properties": {
1194
1234
  "cols": {
1195
- "description": "Represents the card width calculated based on window width.",
1235
+ "description": "Represents the number of the number of grid columns",
1196
1236
  "type": "number"
1197
1237
  },
1198
1238
  "rows": {
1199
- "description": "Represents the number of line items to display for table and list cards.",
1239
+ "description": "Represents the number of the number of grid rows",
1200
1240
  "type": "number"
1201
1241
  },
1202
1242
  "showOnlyHeader": {
1203
- "description": "Set showOnlyHeader to true to render only the card header.",
1243
+ "description": "Represents if user wants to show only header part of card in resizable layout",
1204
1244
  "type": "boolean"
1205
1245
  },
1206
1246
  "minimumTitleRow": {
1207
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
1247
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
1208
1248
  "type": "number"
1209
1249
  },
1210
1250
  "minimumSubTitleRow": {
1211
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
1251
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
1212
1252
  "type": "number"
1213
1253
  }
1214
1254
  },
@@ -1417,23 +1457,23 @@
1417
1457
  "type": "object",
1418
1458
  "properties": {
1419
1459
  "cols": {
1420
- "description": "Represents the card width calculated based on window width.",
1460
+ "description": "Represents the number of the number of grid columns",
1421
1461
  "type": "number"
1422
1462
  },
1423
1463
  "rows": {
1424
- "description": "Represents the number of line items to display for table and list cards.",
1464
+ "description": "Represents the number of the number of grid rows",
1425
1465
  "type": "number"
1426
1466
  },
1427
1467
  "showOnlyHeader": {
1428
- "description": "Set showOnlyHeader to true to render only the card header.",
1468
+ "description": "Represents if user wants to show only header part of card in resizable layout",
1429
1469
  "type": "boolean"
1430
1470
  },
1431
1471
  "minimumTitleRow": {
1432
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
1472
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
1433
1473
  "type": "number"
1434
1474
  },
1435
1475
  "minimumSubTitleRow": {
1436
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
1476
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
1437
1477
  "type": "number"
1438
1478
  }
1439
1479
  },
@@ -1568,23 +1608,23 @@
1568
1608
  "type": "object",
1569
1609
  "properties": {
1570
1610
  "cols": {
1571
- "description": "Represents the card width calculated based on window width.",
1611
+ "description": "Represents the number of the number of grid columns",
1572
1612
  "type": "number"
1573
1613
  },
1574
1614
  "rows": {
1575
- "description": "Represents the number of line items to display for table and list cards.",
1615
+ "description": "Represents the number of the number of grid rows",
1576
1616
  "type": "number"
1577
1617
  },
1578
1618
  "showOnlyHeader": {
1579
- "description": "Set showOnlyHeader to true to render only the card header.",
1619
+ "description": "Represents if user wants to show only header part of card in resizable layout",
1580
1620
  "type": "boolean"
1581
1621
  },
1582
1622
  "minimumTitleRow": {
1583
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
1623
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
1584
1624
  "type": "number"
1585
1625
  },
1586
1626
  "minimumSubTitleRow": {
1587
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
1627
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
1588
1628
  "type": "number"
1589
1629
  }
1590
1630
  },
@@ -1683,23 +1723,23 @@
1683
1723
  "type": "object",
1684
1724
  "properties": {
1685
1725
  "cols": {
1686
- "description": "Represents the card width calculated based on window width.",
1726
+ "description": "Represents the number of the number of grid columns",
1687
1727
  "type": "number"
1688
1728
  },
1689
1729
  "rows": {
1690
- "description": "Represents the number of line items to display for table and list cards.",
1730
+ "description": "Represents the number of the number of grid rows",
1691
1731
  "type": "number"
1692
1732
  },
1693
1733
  "showOnlyHeader": {
1694
- "description": "Set showOnlyHeader to true to render only the card header.",
1734
+ "description": "Represents if user wants to show only header part of card in resizable layout",
1695
1735
  "type": "boolean"
1696
1736
  },
1697
1737
  "minimumTitleRow": {
1698
- "description": "To show more lines of text in the title you can configure this property (maximum allowed: 3 lines).",
1738
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in title(Maximum allowed 3 lines)",
1699
1739
  "type": "number"
1700
1740
  },
1701
1741
  "minimumSubTitleRow": {
1702
- "description": "To show more lines of text in the sub-title you can configure this property (maximum allowed: 2 lines).",
1742
+ "description": "If user wants to show more text in title then he/she can configure no of lines to be shown in sub-title(Maximum allowed 2 lines)",
1703
1743
  "type": "number"
1704
1744
  }
1705
1745
  },
@@ -625,27 +625,38 @@
625
625
  "type": "object",
626
626
  "properties": {
627
627
  "className": {
628
+ "hidden": true,
628
629
  "type": "string",
629
630
  "const": "sap.ui.core.Fragment"
630
631
  },
631
632
  "fragmentName": {
633
+ "description": "The path to the XML template containing the section control.",
634
+ "artifactType": "Manifest",
632
635
  "type": "string"
633
636
  },
634
637
  "relatedFacet": {
638
+ "description": "Use the key of another facet/section as a placement anchor.",
639
+ "artifactType": "Manifest",
640
+ "displayName": "Anchor",
635
641
  "type": "string"
636
642
  },
637
643
  "relativePosition": {
638
- "$ref": "#/definitions/SectionPosition"
644
+ "$ref": "#/definitions/SectionPosition",
645
+ "description": "Define the placement, either before or after the anchor facet/section."
639
646
  },
640
647
  "id": {
648
+ "description": "The unique ID of a section.",
649
+ "artifactType": "Manifest",
641
650
  "type": "string"
642
651
  },
643
652
  "type": {
653
+ "hidden": true,
644
654
  "type": "string",
645
655
  "const": "XML"
646
656
  },
647
657
  "title": {
648
- "description": "The label of the custom section, preferrable as an i18n key",
658
+ "description": "The label of a custom section, preferably as an i18n key.",
659
+ "artifactType": "Manifest",
649
660
  "i18nClassification": "TIT: Custom section title",
650
661
  "type": "string"
651
662
  }
@@ -662,6 +673,7 @@
662
673
  ]
663
674
  },
664
675
  "SectionPosition": {
676
+ "displayName": "Placement",
665
677
  "enum": [
666
678
  "After",
667
679
  "Before"
@@ -1,6 +1,6 @@
1
1
  import type { ConvertedMetadata, EntitySet, EntityType } from '@sap-ux/vocabularies-types';
2
2
  import type { FacetConfig, GenerateAppSchemaParameters } from '@sap/ux-specification-types';
3
- import { FioriElementsVersion, SectionType } from '@sap/ux-specification-types';
3
+ import { FioriElementsVersion, SectionType, v2 } from '@sap/ux-specification-types';
4
4
  import type { Definition } from 'typescript-json-schema';
5
5
  /**
6
6
  * Adds definitions for forms in object page sections to the app schema
@@ -34,17 +34,18 @@ export declare function getActionNameAndId(item: any, oDataServiceAVT: Converted
34
34
  * Add Object Page Footer Action Buttons to app-specific schema
35
35
  *
36
36
  * @param {object} appSchema Schema of the app
37
- * @param {EntityType} entityType - current entity type
38
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
37
+ * @param {GenerateAppSchemaParameters} generateParameters - Schema parameters
38
+ * @param {FioriElementsVersion} version - Fiori elements versions
39
+ * @param {SapUiAppPagesV2} pages - pages found in manifest
39
40
  */
40
- export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters): void;
41
+ export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version?: FioriElementsVersion, pages?: v2.SapUiAppPagesV2): void;
41
42
  /**
42
43
  * Add Object Page Header Action Buttons to app-specific schema
43
44
  * @param {object} appSchema Schema of the app
44
45
  * @param {EntityType} entityType - current entity type
45
46
  * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
46
47
  */
47
- export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any): void;
48
+ export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any, isV2?: boolean): void;
48
49
  /**
49
50
  * Adds common Object Page Header definitions to the app schema
50
51
  * @param appSchema - app-specific JSOn schema
@@ -1 +1 @@
1
- {"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAE9G,OAAO,EAGH,oBAAoB,EAGpB,WAAW,EAEd,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAwdzD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACtB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,WAAW,EACpB,gBAAgB,EAAE,UAAU,EAC5B,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAwDpB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB,GAAG,MAAM,CAarG;AAED;;;;GAIG;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,GAAG,EACT,eAAe,EAAE,iBAAiB,GACnC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CA0B7D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,EAAE,kBAAkB,EAAE,2BAA2B,GAAG,IAAI,CA+D7G;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC5B,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,iBAAiB,EAClC,uBAAuB,KAAA,GACxB,IAAI,CAoCN;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,GAAG,IAAI,CAUzF;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAMlH"}
1
+ {"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EAGH,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAydzD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACtB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,WAAW,EACpB,gBAAgB,EAAE,UAAU,EAC5B,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAwDpB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB,GAAG,MAAM,CAarG;AAED;;;;GAIG;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,GAAG,EACT,eAAe,EAAE,iBAAiB,GACnC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CA0B7D;AAsBD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC5B,SAAS,EAAE,UAAU,EACrB,kBAAkB,EAAE,2BAA2B,EAC/C,OAAO,CAAC,EAAE,oBAAoB,EAC9B,KAAK,CAAC,EAAE,EAAE,CAAC,eAAe,GAC3B,IAAI,CAsEN;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC5B,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,iBAAiB,EAClC,uBAAuB,KAAA,EACvB,IAAI,UAAQ,GACb,IAAI,CAsCN;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,GAAG,IAAI,CAYzF;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAMlH"}