@sap/ux-specification 1.142.3 → 1.142.4
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/CHANGELOG.md +31 -0
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +276 -274
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v4/BuildingBlocksConfig.json +115 -41
- package/dist/specification/package.json +6 -6
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +33 -1
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +13 -0
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
- package/dist/specification/src/i18n/i18n.js +2 -1
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.d.ts +8 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.d.ts.map +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js +10 -7
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +6 -40
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +26 -91
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/rules.d.ts +25 -0
- package/dist/specification/src/sync/common/rules.d.ts.map +1 -1
- package/dist/specification/src/sync/common/rules.js +27 -2
- package/dist/specification/src/sync/common/rules.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +7 -7
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +56 -2
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +11 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +18 -3
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +8 -2
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +50 -14
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +2 -2
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +19 -11
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts +6 -2
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js +79 -95
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +26 -23
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +119 -127
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +168 -168
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/package.json +7 -7
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"type": "Property"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
+
"filterBar": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Id of the FilterBar building block associated with the chart.",
|
|
46
|
+
"artifactType": "XMLProperty",
|
|
47
|
+
"metadata": {
|
|
48
|
+
"type": "Property"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
43
51
|
"header": {
|
|
44
52
|
"type": "string",
|
|
45
53
|
"description": "Specifies the header text that is shown in the chart",
|
|
@@ -460,7 +468,7 @@
|
|
|
460
468
|
"type": "object",
|
|
461
469
|
"properties": {
|
|
462
470
|
"number": {
|
|
463
|
-
"type": "
|
|
471
|
+
"type": "any",
|
|
464
472
|
"description": "The Number to be displayed.",
|
|
465
473
|
"artifactType": "XMLProperty",
|
|
466
474
|
"metadata": {
|
|
@@ -476,22 +484,15 @@
|
|
|
476
484
|
}
|
|
477
485
|
},
|
|
478
486
|
"status": {
|
|
479
|
-
"type": "
|
|
487
|
+
"type": "any",
|
|
480
488
|
"description": "The Status to be displayed.",
|
|
481
489
|
"artifactType": "XMLProperty",
|
|
482
490
|
"metadata": {
|
|
483
491
|
"type": "Property"
|
|
484
|
-
}
|
|
485
|
-
"enum": [
|
|
486
|
-
"Success",
|
|
487
|
-
"Error",
|
|
488
|
-
"Warning",
|
|
489
|
-
"None",
|
|
490
|
-
"Information"
|
|
491
|
-
]
|
|
492
|
+
}
|
|
492
493
|
},
|
|
493
494
|
"text": {
|
|
494
|
-
"type": "
|
|
495
|
+
"type": "any",
|
|
495
496
|
"description": "The Text to be displayed.",
|
|
496
497
|
"artifactType": "XMLProperty",
|
|
497
498
|
"metadata": {
|
|
@@ -500,7 +501,7 @@
|
|
|
500
501
|
"i18nClassification": "TXT: Text of the KPITag"
|
|
501
502
|
},
|
|
502
503
|
"tooltip": {
|
|
503
|
-
"type": "
|
|
504
|
+
"type": "any",
|
|
504
505
|
"description": "The Tooltip to be displayed.",
|
|
505
506
|
"artifactType": "XMLProperty",
|
|
506
507
|
"metadata": {
|
|
@@ -509,7 +510,7 @@
|
|
|
509
510
|
"i18nClassification": "CAP: Tooltip of the KPITag"
|
|
510
511
|
},
|
|
511
512
|
"unit": {
|
|
512
|
-
"type": "
|
|
513
|
+
"type": "any",
|
|
513
514
|
"description": "The Unit of Measure of the number to be displayed.",
|
|
514
515
|
"artifactType": "XMLProperty",
|
|
515
516
|
"metadata": {
|
|
@@ -646,13 +647,7 @@
|
|
|
646
647
|
"artifactType": "XMLProperty",
|
|
647
648
|
"metadata": {
|
|
648
649
|
"type": "Property"
|
|
649
|
-
}
|
|
650
|
-
"enum": [
|
|
651
|
-
"XS",
|
|
652
|
-
"S",
|
|
653
|
-
"M",
|
|
654
|
-
"L"
|
|
655
|
-
]
|
|
650
|
+
}
|
|
656
651
|
},
|
|
657
652
|
"id": {
|
|
658
653
|
"type": "string",
|
|
@@ -736,7 +731,7 @@
|
|
|
736
731
|
},
|
|
737
732
|
"description": {
|
|
738
733
|
"type": "string",
|
|
739
|
-
"description": "Provides additional details of the page. This property is considered only if the title property is defined.",
|
|
734
|
+
"description": "Provides additional details of the page. This property is considered only if the title property is defined.\nCan be a string or a binding info object.",
|
|
740
735
|
"artifactType": "XMLProperty",
|
|
741
736
|
"metadata": {
|
|
742
737
|
"type": "Property"
|
|
@@ -744,7 +739,7 @@
|
|
|
744
739
|
},
|
|
745
740
|
"title": {
|
|
746
741
|
"type": "string",
|
|
747
|
-
"description": "Title of the page. If no title is provided, the title, avatar, and description are derived from the unqualified HeaderInfo annotation associated with the entity.",
|
|
742
|
+
"description": "Title of the page. If no title is provided, the title, avatar, and description are derived from the unqualified HeaderInfo annotation associated with the entity.\nCan be a string or a binding info object.",
|
|
748
743
|
"artifactType": "XMLProperty",
|
|
749
744
|
"metadata": {
|
|
750
745
|
"type": "Property"
|
|
@@ -828,7 +823,7 @@
|
|
|
828
823
|
}
|
|
829
824
|
},
|
|
830
825
|
"required": {
|
|
831
|
-
"type": "
|
|
826
|
+
"type": "boolean",
|
|
832
827
|
"description": "Use the 'required' attribute to make sure that the editor is filled with some text.",
|
|
833
828
|
"artifactType": "XMLProperty",
|
|
834
829
|
"metadata": {
|
|
@@ -836,7 +831,7 @@
|
|
|
836
831
|
}
|
|
837
832
|
},
|
|
838
833
|
"value": {
|
|
839
|
-
"type": "
|
|
834
|
+
"type": "string",
|
|
840
835
|
"description": "The value contained in the editor. You can use this attribute to set a default value.",
|
|
841
836
|
"artifactType": "XMLProperty",
|
|
842
837
|
"metadata": {
|
|
@@ -928,7 +923,7 @@
|
|
|
928
923
|
}
|
|
929
924
|
},
|
|
930
925
|
"required": {
|
|
931
|
-
"type": "
|
|
926
|
+
"type": "boolean",
|
|
932
927
|
"description": "Use the 'required' attribute to make sure that the editor is filled with some text.",
|
|
933
928
|
"artifactType": "XMLProperty",
|
|
934
929
|
"metadata": {
|
|
@@ -936,7 +931,7 @@
|
|
|
936
931
|
}
|
|
937
932
|
},
|
|
938
933
|
"value": {
|
|
939
|
-
"type": "
|
|
934
|
+
"type": "string",
|
|
940
935
|
"description": "The value contained in the editor. You can use this attribute to set a default value.",
|
|
941
936
|
"artifactType": "XMLProperty",
|
|
942
937
|
"metadata": {
|
|
@@ -1096,6 +1091,14 @@
|
|
|
1096
1091
|
"isViewNode": true,
|
|
1097
1092
|
"type": "object",
|
|
1098
1093
|
"properties": {
|
|
1094
|
+
"for": {
|
|
1095
|
+
"$ref": "#/definitions/string[]",
|
|
1096
|
+
"description": "A list of control IDs to which the variant management is applied.",
|
|
1097
|
+
"artifactType": "XMLProperty",
|
|
1098
|
+
"metadata": {
|
|
1099
|
+
"type": "Property"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1099
1102
|
"headerLevel": {
|
|
1100
1103
|
"type": "string",
|
|
1101
1104
|
"description": "Header level for the variant management, determining its position or style.",
|
|
@@ -1184,6 +1187,14 @@
|
|
|
1184
1187
|
"type": "Property"
|
|
1185
1188
|
}
|
|
1186
1189
|
},
|
|
1190
|
+
"priority": {
|
|
1191
|
+
"type": "string",
|
|
1192
|
+
"description": "Defines the priority of the action in the overflow toolbar.",
|
|
1193
|
+
"artifactType": "XMLProperty",
|
|
1194
|
+
"metadata": {
|
|
1195
|
+
"type": "Property"
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1187
1198
|
"requiresSelection": {
|
|
1188
1199
|
"type": "boolean",
|
|
1189
1200
|
"description": "Defines if the action requires a selection.",
|
|
@@ -1290,6 +1301,14 @@
|
|
|
1290
1301
|
"type": "Property"
|
|
1291
1302
|
}
|
|
1292
1303
|
},
|
|
1304
|
+
"priority": {
|
|
1305
|
+
"type": "string",
|
|
1306
|
+
"description": "Defines the priority of the action in the overflow toolbar.",
|
|
1307
|
+
"artifactType": "XMLProperty",
|
|
1308
|
+
"metadata": {
|
|
1309
|
+
"type": "Property"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1293
1312
|
"requiresSelection": {
|
|
1294
1313
|
"type": "boolean",
|
|
1295
1314
|
"description": "Defines if the action requires a selection.",
|
|
@@ -1331,6 +1350,14 @@
|
|
|
1331
1350
|
"type": "Property"
|
|
1332
1351
|
}
|
|
1333
1352
|
},
|
|
1353
|
+
"filterBar": {
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"description": "Id of the FilterBar building block associated with the chart.",
|
|
1356
|
+
"artifactType": "XMLProperty",
|
|
1357
|
+
"metadata": {
|
|
1358
|
+
"type": "Property"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1334
1361
|
"header": {
|
|
1335
1362
|
"type": "string",
|
|
1336
1363
|
"description": "Specifies the header text that is shown in the chart",
|
|
@@ -1672,10 +1699,7 @@
|
|
|
1672
1699
|
"metadata": {
|
|
1673
1700
|
"type": "Property"
|
|
1674
1701
|
},
|
|
1675
|
-
"
|
|
1676
|
-
"RadioButtons",
|
|
1677
|
-
""
|
|
1678
|
-
]
|
|
1702
|
+
"const": "RadioButtons"
|
|
1679
1703
|
},
|
|
1680
1704
|
"measureDisplayMode": {
|
|
1681
1705
|
"type": "string",
|
|
@@ -1746,7 +1770,7 @@
|
|
|
1746
1770
|
]
|
|
1747
1771
|
},
|
|
1748
1772
|
"textLinesEdit": {
|
|
1749
|
-
"type": "
|
|
1773
|
+
"type": "any",
|
|
1750
1774
|
"description": "Maximum number of lines for multiline texts in edit mode.\n",
|
|
1751
1775
|
"artifactType": "XMLProperty",
|
|
1752
1776
|
"metadata": {
|
|
@@ -1754,7 +1778,7 @@
|
|
|
1754
1778
|
}
|
|
1755
1779
|
},
|
|
1756
1780
|
"textMaxCharactersDisplay": {
|
|
1757
|
-
"type": "
|
|
1781
|
+
"type": "any",
|
|
1758
1782
|
"description": "Maximum number of characters from the beginning of the text field that are shown initially.\n",
|
|
1759
1783
|
"artifactType": "XMLProperty",
|
|
1760
1784
|
"metadata": {
|
|
@@ -1762,7 +1786,7 @@
|
|
|
1762
1786
|
}
|
|
1763
1787
|
},
|
|
1764
1788
|
"textMaxLength": {
|
|
1765
|
-
"type": "
|
|
1789
|
+
"type": "any",
|
|
1766
1790
|
"description": "Defines the maximum number of characters for the multiline text value.\n\nIf a multiline text exceeds the maximum number of allowed characters, the counter below the input field displays the exact number.\n",
|
|
1767
1791
|
"artifactType": "XMLProperty",
|
|
1768
1792
|
"metadata": {
|
|
@@ -1770,7 +1794,7 @@
|
|
|
1770
1794
|
}
|
|
1771
1795
|
},
|
|
1772
1796
|
"textMaxLines": {
|
|
1773
|
-
"type": "
|
|
1797
|
+
"type": "any",
|
|
1774
1798
|
"description": "Maximum number of lines that multiline texts in edit mode can grow to.\n",
|
|
1775
1799
|
"artifactType": "XMLProperty",
|
|
1776
1800
|
"metadata": {
|
|
@@ -2176,13 +2200,7 @@
|
|
|
2176
2200
|
"artifactType": "XMLProperty",
|
|
2177
2201
|
"metadata": {
|
|
2178
2202
|
"type": "Property"
|
|
2179
|
-
}
|
|
2180
|
-
"enum": [
|
|
2181
|
-
"XS",
|
|
2182
|
-
"S",
|
|
2183
|
-
"M",
|
|
2184
|
-
"L"
|
|
2185
|
-
]
|
|
2203
|
+
}
|
|
2186
2204
|
},
|
|
2187
2205
|
"id": {
|
|
2188
2206
|
"type": "string",
|
|
@@ -2676,6 +2694,14 @@
|
|
|
2676
2694
|
"type": "Property"
|
|
2677
2695
|
}
|
|
2678
2696
|
},
|
|
2697
|
+
"disableStrictHandling": {
|
|
2698
|
+
"type": "boolean",
|
|
2699
|
+
"description": "Disables strict handling for this action.\nWhen true, the action does not use strict message handling.",
|
|
2700
|
+
"artifactType": "XMLProperty",
|
|
2701
|
+
"metadata": {
|
|
2702
|
+
"type": "Property"
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2679
2705
|
"enableAutoScroll": {
|
|
2680
2706
|
"type": "boolean",
|
|
2681
2707
|
"description": "Determines if the auto scroll is enabled after executing the action.",
|
|
@@ -3635,6 +3661,18 @@
|
|
|
3635
3661
|
"aggregationCardinality": "Single"
|
|
3636
3662
|
}
|
|
3637
3663
|
},
|
|
3664
|
+
"quickVariantSelection": {
|
|
3665
|
+
"type": "object",
|
|
3666
|
+
"additionalProperties": {
|
|
3667
|
+
"$ref": "#/definitions/sap.fe.macros.table.QuickVariantSelection"
|
|
3668
|
+
},
|
|
3669
|
+
"isViewNode": false,
|
|
3670
|
+
"metadata": {
|
|
3671
|
+
"path": [],
|
|
3672
|
+
"type": "Aggregation",
|
|
3673
|
+
"aggregationCardinality": "Single"
|
|
3674
|
+
}
|
|
3675
|
+
},
|
|
3638
3676
|
"beforeRebindTable": {
|
|
3639
3677
|
"type": "string",
|
|
3640
3678
|
"description": "Before a table rebind, an event is triggered that contains information about the binding.\nThe event contains a parameter, `collectionBindingInfo`, which is an instance of `CollectionBindingInfoAPI`.\nIt can also contain an optional parameter, `quickFilterKey`, which indicates what is the quick filter key (if any) being processed for the table.\nThis allows you to manipulate the table's list binding.\nYou can use this event to attach event handlers to the table's list binding.\nYou can use this event to add selects, and add or read the sorters and filters.\n",
|
|
@@ -4056,6 +4094,18 @@
|
|
|
4056
4094
|
"aggregationCardinality": "Single"
|
|
4057
4095
|
}
|
|
4058
4096
|
},
|
|
4097
|
+
"quickVariantSelection": {
|
|
4098
|
+
"type": "object",
|
|
4099
|
+
"additionalProperties": {
|
|
4100
|
+
"$ref": "#/definitions/sap.fe.macros.table.QuickVariantSelection"
|
|
4101
|
+
},
|
|
4102
|
+
"isViewNode": false,
|
|
4103
|
+
"metadata": {
|
|
4104
|
+
"path": [],
|
|
4105
|
+
"type": "Aggregation",
|
|
4106
|
+
"aggregationCardinality": "Single"
|
|
4107
|
+
}
|
|
4108
|
+
},
|
|
4059
4109
|
"beforeRebindTable": {
|
|
4060
4110
|
"type": "string",
|
|
4061
4111
|
"description": "Before a table rebind, an event is triggered that contains information about the binding.\nThe event contains a parameter, `collectionBindingInfo`, which is an instance of `CollectionBindingInfoAPI`.\nIt can also contain an optional parameter, `quickFilterKey`, which indicates what is the quick filter key (if any) being processed for the table.\nThis allows you to manipulate the table's list binding.\nYou can use this event to attach event handlers to the table's list binding.\nYou can use this event to add selects, and add or read the sorters and filters.\n",
|
|
@@ -4579,6 +4629,18 @@
|
|
|
4579
4629
|
"aggregationCardinality": "Single"
|
|
4580
4630
|
}
|
|
4581
4631
|
},
|
|
4632
|
+
"quickVariantSelection": {
|
|
4633
|
+
"type": "object",
|
|
4634
|
+
"additionalProperties": {
|
|
4635
|
+
"$ref": "#/definitions/sap.fe.macros.table.QuickVariantSelection"
|
|
4636
|
+
},
|
|
4637
|
+
"isViewNode": false,
|
|
4638
|
+
"metadata": {
|
|
4639
|
+
"path": [],
|
|
4640
|
+
"type": "Aggregation",
|
|
4641
|
+
"aggregationCardinality": "Single"
|
|
4642
|
+
}
|
|
4643
|
+
},
|
|
4582
4644
|
"beforeRebindTable": {
|
|
4583
4645
|
"type": "string",
|
|
4584
4646
|
"description": "Before a table rebind, an event is triggered that contains information about the binding.\nThe event contains a parameter, `collectionBindingInfo`, which is an instance of `CollectionBindingInfoAPI`.\nIt can also contain an optional parameter, `quickFilterKey`, which indicates what is the quick filter key (if any) being processed for the table.\nThis allows you to manipulate the table's list binding.\nYou can use this event to attach event handlers to the table's list binding.\nYou can use this event to add selects, and add or read the sorters and filters.\n",
|
|
@@ -5035,6 +5097,18 @@
|
|
|
5035
5097
|
"aggregationCardinality": "Single"
|
|
5036
5098
|
}
|
|
5037
5099
|
},
|
|
5100
|
+
"quickVariantSelection": {
|
|
5101
|
+
"type": "object",
|
|
5102
|
+
"additionalProperties": {
|
|
5103
|
+
"$ref": "#/definitions/sap.fe.macros.table.QuickVariantSelection"
|
|
5104
|
+
},
|
|
5105
|
+
"isViewNode": false,
|
|
5106
|
+
"metadata": {
|
|
5107
|
+
"path": [],
|
|
5108
|
+
"type": "Aggregation",
|
|
5109
|
+
"aggregationCardinality": "Single"
|
|
5110
|
+
}
|
|
5111
|
+
},
|
|
5038
5112
|
"beforeRebindTable": {
|
|
5039
5113
|
"type": "string",
|
|
5040
5114
|
"description": "Before a table rebind, an event is triggered that contains information about the binding.\nThe event contains a parameter, `collectionBindingInfo`, which is an instance of `CollectionBindingInfoAPI`.\nIt can also contain an optional parameter, `quickFilterKey`, which indicates what is the quick filter key (if any) being processed for the table.\nThis allows you to manipulate the table's list binding.\nYou can use this event to attach event handlers to the table's list binding.\nYou can use this event to add selects, and add or read the sorters and filters.\n",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.142.
|
|
3
|
+
"version": "1.142.4",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"lint:report:jslint": "eslint . -o reports/lint/eslint.jslint.xml -f jslint-xml",
|
|
43
43
|
"macros": "ts-node ./scripts/macros/index.ts",
|
|
44
44
|
"test": "jest && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
45
|
-
"test:ci": "jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
45
|
+
"test:ci": "node --max-old-space-size=4096 ./node_modules/.bin/jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
46
46
|
"update-snapshots": "jest --updateSnapshot",
|
|
47
47
|
"watch": "npm-run-all -l -s clean:before -p compile create-json-schemas macros copy-templates -p copy-json-schemas -s bundle:watch",
|
|
48
48
|
"watch:doc": "npm-run-all -l -s clean:doc -s compile -s htmlV2 htmlV4 -s bundle:watch"
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"publisher": "SAPSE",
|
|
51
51
|
"license": "SEE LICENSE IN LICENSE",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@sap-ux/fe-fpm-writer": "0.43.
|
|
53
|
+
"@sap-ux/fe-fpm-writer": "0.43.10",
|
|
54
54
|
"@sap-ux/vocabularies-types": "0.15.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@sap-ux/annotation-converter": "0.10.21",
|
|
58
58
|
"@sap-ux/edmx-parser": "0.10.0",
|
|
59
|
-
"@sap-ux/project-access": "1.35.
|
|
60
|
-
"@sap/ux-specification-types": "1.142.
|
|
59
|
+
"@sap-ux/project-access": "1.35.13",
|
|
60
|
+
"@sap/ux-specification-types": "1.142.4",
|
|
61
61
|
"@sapui5/types": "latest-1.142",
|
|
62
62
|
"@types/d3": "7.4.3",
|
|
63
63
|
"@types/jquery": "3.5.34",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ejs": "3.1.10",
|
|
75
75
|
"eslint-formatter-checkstyle": "9.0.1",
|
|
76
76
|
"excel4node": "1.8.2",
|
|
77
|
-
"i18next": "25.8.
|
|
77
|
+
"i18next": "25.8.18",
|
|
78
78
|
"jquery": "3.7.1",
|
|
79
79
|
"jsdom": "25.0.1",
|
|
80
80
|
"jsonpath-plus": "10.4.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corrections.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAA8B,WAAW,EAAE,MAAM,SAAS,CAAC;AAG7G,UAAU,aAAa;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,cAAc,EAAE,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG;QAAE,MAAM,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC,CAAC;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,UAAU,oBAAoB;IAC1B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAAE;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAA;KAAE,CAAC;CAmB1D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,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G,aAAa,CAAA;CA6J5D,CAAC;AA4KF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAuBrD"}
|
|
@@ -184,6 +184,38 @@ exports.macrosCorrection = {
|
|
|
184
184
|
visibility: types_1.UI5Visibility.hidden
|
|
185
185
|
}
|
|
186
186
|
]
|
|
187
|
+
},
|
|
188
|
+
'sap.fe.macros.controls.BaseAction': {
|
|
189
|
+
properties: [
|
|
190
|
+
{
|
|
191
|
+
name: 'text',
|
|
192
|
+
extend: true,
|
|
193
|
+
// Correct from any to string while fix is not applied from fe team
|
|
194
|
+
type: 'string'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'visible',
|
|
198
|
+
extend: true,
|
|
199
|
+
// Correct from any to boolean while fix is not applied from fe team
|
|
200
|
+
type: 'boolean'
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
'sap.fe.macros.RichTextEditor': {
|
|
205
|
+
properties: [
|
|
206
|
+
{
|
|
207
|
+
name: 'required',
|
|
208
|
+
extend: true,
|
|
209
|
+
// Correct from any to boolean while fix is not applied from fe team
|
|
210
|
+
type: 'boolean'
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'value',
|
|
214
|
+
extend: true,
|
|
215
|
+
// Correct from any to string while fix is not applied from fe team
|
|
216
|
+
type: 'string'
|
|
217
|
+
}
|
|
218
|
+
]
|
|
187
219
|
}
|
|
188
220
|
};
|
|
189
221
|
const placementEnum = [ux_specification_types_1.v4.Placement.After, ux_specification_types_1.v4.Placement.Before];
|
|
@@ -263,7 +295,7 @@ function applyCorrectionForNode(node, correction) {
|
|
|
263
295
|
for (const aggregation of correction.removeAggregations || []) {
|
|
264
296
|
const aggregationIndex = node.aggregations.findIndex((existingAggregation) => existingAggregation.name === aggregation);
|
|
265
297
|
if (aggregationIndex !== -1) {
|
|
266
|
-
node.aggregations.splice(aggregationIndex);
|
|
298
|
+
node.aggregations.splice(aggregationIndex, 1);
|
|
267
299
|
}
|
|
268
300
|
}
|
|
269
301
|
for (const property of correction.properties || []) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corrections.js","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":";;;AA0EA,sDAqBC;
|
|
1
|
+
{"version":3,"file":"corrections.js","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":";;;AA0EA,sDAqBC;AAkVD,4CAuBC;AAxcD,mCAMiB;AAEjB,wEAAiD;AAyBjD;;;;;;;GAOG;AACU,QAAA,uBAAuB,GAEhC;IACA,0CAA0C,EAAE;QACxC,OAAO,EAAE;YACL,iBAAiB,EAAE,MAAM;YACzB,MAAM,EAAE;gBACJ,YAAY,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,CAAC;gBAC9D,IAAI,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC;gBAC1D,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;gBACnC,SAAS,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC;gBACtD,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;gBACtB,MAAM,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC;gBAC9B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;gBACxB,YAAY,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,CAAC;gBACxE,KAAK,EAAE,CAAC,OAAO,CAAC;gBAChB,WAAW,EAAE,CAAC,aAAa,CAAC;aAC/B;SACJ;KACJ;CACJ,CAAC;AAEF;;;;;;;;;;GAUG;AACH,SAAgB,qBAAqB,CACjC,OAAe,EACf,QAAgB,EAChB,cAAuB;IAEvB,MAAM,YAAY,GAAG,+BAAuB,CAAC,OAAO,CAA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AC,OAAO,CAAC,IAAI,CAAC,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;QACnF,IAAI,CAAC,MAAM,IAAI,wBAAgB,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;YAC7C,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC;gBACb,GAAG,wBAAgB,CAAC,IAAI,CAAC,CAAC,QAAQ;aACrC,CAAC,CAAC;QACP,CAAC;IACL,CAAC;IACD,2CAA2C;IAC3C,KAAK,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAC/B,MAAM,UAAU,GAAG,wBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,KAAK,6BAAqB,EAAE,CAAC;YACvD,SAAS;QACb,CAAC;QACD,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7B,sBAAsB,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAC7C,CAAC;IACD,eAAe;IACf,uBAAuB,CAAC,GAAG,CAAC,CAAC;IAC7B,0BAA0B;IAC1B,qBAAqB,CAAC,GAAG,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,KAAK,EACR,SAAS,EAOZ,MAAM,SAAS,CAAC;AASjB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,KAAK,EACR,SAAS,EAOZ,MAAM,SAAS,CAAC;AASjB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAavD,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAgC,CAAC;AAC1G;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAsTF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,gBAAgB,CAkD/D"}
|
|
@@ -7,6 +7,15 @@ const ux_specification_types_2 = require("@sap/ux-specification-types");
|
|
|
7
7
|
const types_1 = require("./types");
|
|
8
8
|
const corrections_1 = require("./corrections");
|
|
9
9
|
const common_1 = require("../../src/sync/common");
|
|
10
|
+
/**
|
|
11
|
+
* Mapping of interface definitions to their implementing classes.
|
|
12
|
+
* Used to resolve interface $refs to concrete implementations that contain the actual properties.
|
|
13
|
+
*/
|
|
14
|
+
const INTERFACE_TO_IMPLEMENTATION_MAP = new Map([
|
|
15
|
+
['sap.fe.macros.table.ITableColumn', 'sap.fe.macros.table.Column'],
|
|
16
|
+
['sap.fe.macros.table.ITableActionOrGroup', 'sap.fe.macros.table.Action'],
|
|
17
|
+
['sap.fe.macros.table.ITableAction', 'sap.fe.macros.table.Action']
|
|
18
|
+
]);
|
|
10
19
|
exports.UI5_TO_JSON_SCHEMA_TYPE_MAP = new Map([['int', 'number']]);
|
|
11
20
|
/**
|
|
12
21
|
* Semantic classification patterns for properties
|
|
@@ -111,6 +120,10 @@ function getSchemaForType(type) {
|
|
|
111
120
|
: type;
|
|
112
121
|
}
|
|
113
122
|
else {
|
|
123
|
+
const implementationType = INTERFACE_TO_IMPLEMENTATION_MAP.get(type);
|
|
124
|
+
if (implementationType) {
|
|
125
|
+
type = implementationType;
|
|
126
|
+
}
|
|
114
127
|
schema.$ref = `#/definitions/${type}`;
|
|
115
128
|
}
|
|
116
129
|
return schema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../scripts/macros/schema.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../scripts/macros/schema.ts"],"names":[],"mappings":";;;AAoWA,wCAkDC;AArZD,wEAA2D;AAC3D,wEAA8F;AAU9F,mCAMiB;AACjB,+CAAiD;AAEjD,kDAAwD;AAExD;;;GAGG;AACH,MAAM,+BAA+B,GAAwB,IAAI,GAAG,CAAC;IACjE,CAAC,kCAAkC,EAAE,4BAA4B,CAAC;IAClE,CAAC,yCAAyC,EAAE,4BAA4B,CAAC;IACzE,CAAC,kCAAkC,EAAE,4BAA4B,CAAC;CACrE,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAqC,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC1G;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,YAAY,EAAE,CAAC,+CAA+C,EAAE,cAAc,CAAC;CAClF,CAAC;AAEF;;;;;GAKG;AACH,SAAS,YAAY,CAAC,IAAY;IAC9B,OAAO,CACH,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC3F,mCAA2B,CAAC,GAAG,CAAC,IAAI,CAAC,CACxC,CAAC;AACN,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa;IAClB,MAAM,cAAc,GAAqB,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC1E,OAAO;QACH,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE;YACN,UAAU,EAAE,EAAE;SACjB;QACD,UAAU,EAAE;YACR,SAAS,EAAE,cAAc;YACzB,OAAO,EAAE,cAAc;SAC1B;QACD,oBAAoB,EAAE,KAAK;QAC3B,WA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,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;QACrE,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,SAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,SAAO,GAAG,IAAI,CAgB9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":";;;;;AASA,
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":";;;;;AASA,4BAgBC;AAzBD,sDAA8B;AAC9B,yFAAiD;AACjD,uCAAwD;AAExD;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,QAAQ,GAAG,IAAI;IACpC,sCAAsC;IACtC,iBAAO,CAAC,IAAI,CAAC;QACT,SAAS,EAAE;YACP,EAAE,EAAE;gBACA,WAAW,EAAE,gCAAM;aACtB;SACJ;QACD,GAAG,EAAE,QAAQ;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,MAAM;QAClB,iBAAiB,EAAE,KAAK;KAC3B,CAAC,CAAC;IAEH,oCAAoC;IACpC,IAAA,eAAY,EAAC,iBAAO,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -28,6 +28,8 @@ export interface NamedRule {
|
|
|
28
28
|
/**
|
|
29
29
|
* Registry for schema processing rules.
|
|
30
30
|
* Stores and resolves rules by name for later execution by the processor.
|
|
31
|
+
*
|
|
32
|
+
* @deprecated Use decorator-based approach instead of registering rules.
|
|
31
33
|
*/
|
|
32
34
|
declare class ManifestDrivenRuleRegistry {
|
|
33
35
|
private rules;
|
|
@@ -48,7 +50,11 @@ declare class ManifestDrivenRuleRegistry {
|
|
|
48
50
|
/**
|
|
49
51
|
* Applies schema adaptation rules driven by manifest settings.
|
|
50
52
|
* Given a rule name, page context, and schema, it executes the matching rule(s)
|
|
51
|
-
* and mutates the schema accordingly
|
|
53
|
+
* and mutates the schema accordingly.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated This processor is being replaced by decorator-based schema modifications.
|
|
56
|
+
* Use @hide, @message, and @enums decorators on definition classes instead.
|
|
57
|
+
* @see Table and TableCreationModeLR classes for examples of the new approach.
|
|
52
58
|
*/
|
|
53
59
|
declare class ManifestDrivenSchemaProcessor {
|
|
54
60
|
private registry;
|
|
@@ -63,6 +69,7 @@ declare class ManifestDrivenSchemaProcessor {
|
|
|
63
69
|
*
|
|
64
70
|
* @param {RuleName} ruleName - The name of the rule to be applied.
|
|
65
71
|
* @param {RuleContext} context - The context in which the rule will be processed.
|
|
72
|
+
* @deprecated Use decorator-based approach instead.
|
|
66
73
|
*/
|
|
67
74
|
apply(ruleName: RuleName, context: RuleContext): void;
|
|
68
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManifestDrivenSchemaProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/ManifestDrivenSchemaProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ManifestDrivenSchemaProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/ManifestDrivenSchemaProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC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