@sap/ux-specification 1.108.17 → 1.108.19
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 +80 -0
- package/dist/documentation/runDocu-min.js +5 -5
- package/dist/documentation/runDocu-min.js.map +4 -4
- package/dist/documentation/styleDocu.css +3 -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-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 +84 -84
- package/dist/index-min.js.map +3 -3
- package/dist/package.json +12 -12
- package/dist/schemas/v2/ObjectPageConfig.json +0 -19
- package/dist/schemas/v4/BuildingBlocksConfig.json +140 -33
- package/dist/src/api.js +1 -1
- package/dist/src/sync/common/distTagEvaluator.js +1 -1
- package/dist/src/sync/common/distTagEvaluator.js.map +1 -1
- package/dist/src/sync/common/dist_tag.json +12 -3
- package/dist/src/sync/common/generate/utils.d.ts +1 -0
- package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/common/generate/utils.js +30 -15
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/i18n.json +1 -1
- package/dist/src/sync/common/utils.d.ts +1 -1
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +14 -10
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +1 -3
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +8 -15
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/Table.js +1 -1
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/src/sync/v2/export/export.js +4 -4
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.js +1 -1
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +1 -1
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.js +4 -4
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/src/sync/v4/export/export.js +4 -4
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.d.ts.map +1 -1
- package/dist/src/sync/v4/export/manifest.js +6 -4
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/listReport.js +21 -3
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +11 -12
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.js +3 -3
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/sync-rules/controllerExtensions.js +1 -1
- package/dist/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/src/sync/v4/utils/utils.js +23 -14
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/package.json +12 -12
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.108.
|
|
3
|
+
"version": "1.108.19",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -51,23 +51,23 @@
|
|
|
51
51
|
"publisher": "SAPSE",
|
|
52
52
|
"license": "SEE LICENSE IN LICENSE",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@sap-ux/fe-fpm-writer": "0.
|
|
55
|
-
"@sap-ux/vocabularies-types": "0.
|
|
54
|
+
"@sap-ux/fe-fpm-writer": "0.24.1",
|
|
55
|
+
"@sap-ux/vocabularies-types": "0.10.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@sap-ux/annotation-converter": "0.
|
|
59
|
-
"@sap/ux-specification-types": "1.108.
|
|
60
|
-
"@sap-ux/edmx-parser": "0.
|
|
61
|
-
"@sapui5/ts-types-esm": "1.108.
|
|
62
|
-
"@types/d3": "7.4.
|
|
63
|
-
"@types/jquery": "3.5.
|
|
64
|
-
"@types/mem-fs-editor": "7.0.
|
|
65
|
-
"@types/semver": "7.5.
|
|
58
|
+
"@sap-ux/annotation-converter": "0.8.0",
|
|
59
|
+
"@sap/ux-specification-types": "1.108.19",
|
|
60
|
+
"@sap-ux/edmx-parser": "0.7.0",
|
|
61
|
+
"@sapui5/ts-types-esm": "1.108.24",
|
|
62
|
+
"@types/d3": "7.4.3",
|
|
63
|
+
"@types/jquery": "3.5.27",
|
|
64
|
+
"@types/mem-fs-editor": "7.0.6",
|
|
65
|
+
"@types/semver": "7.5.5",
|
|
66
66
|
"@ui5/flexibility-utils": "0.1.3",
|
|
67
67
|
"@xml-tools/ast": "5.0.5",
|
|
68
68
|
"@xml-tools/parser": "1.0.11",
|
|
69
69
|
"ajv": "6.12.6",
|
|
70
|
-
"axios": "
|
|
70
|
+
"axios": "1.6.0",
|
|
71
71
|
"cpy-cli": "3.1.1",
|
|
72
72
|
"d3": "7.8.5",
|
|
73
73
|
"deepmerge": "4.3.1",
|
|
@@ -1532,25 +1532,6 @@
|
|
|
1532
1532
|
"type": "object",
|
|
1533
1533
|
"properties": {},
|
|
1534
1534
|
"additionalProperties": true
|
|
1535
|
-
},
|
|
1536
|
-
"visible": {
|
|
1537
|
-
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
|
|
1538
|
-
"anyOf": [
|
|
1539
|
-
{
|
|
1540
|
-
"enum": [
|
|
1541
|
-
false,
|
|
1542
|
-
true,
|
|
1543
|
-
"{ui>/editable}",
|
|
1544
|
-
"{= !${ui>/editable}}"
|
|
1545
|
-
]
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"type": "string"
|
|
1549
|
-
}
|
|
1550
|
-
],
|
|
1551
|
-
"description": "Allows you to define if the section should be visible on the screen.",
|
|
1552
|
-
"artifactType": "FlexChange",
|
|
1553
|
-
"controlType": "sap.uxap.ObjectPageSubSection"
|
|
1554
1535
|
}
|
|
1555
1536
|
},
|
|
1556
1537
|
"additionalProperties": false
|
|
@@ -123,15 +123,21 @@
|
|
|
123
123
|
"artifactType": "XMLProperty",
|
|
124
124
|
"metadata": {
|
|
125
125
|
"type": "Property"
|
|
126
|
-
}
|
|
126
|
+
},
|
|
127
|
+
"enum": [
|
|
128
|
+
"None",
|
|
129
|
+
"Single",
|
|
130
|
+
"Multiple"
|
|
131
|
+
]
|
|
127
132
|
},
|
|
128
133
|
"variantManagement": {
|
|
129
134
|
"type": "string",
|
|
130
|
-
"description": "Controls the kind of variant management that should be enabled for the chart.\nAllowed value is `Control`.\
|
|
135
|
+
"description": "Controls the kind of variant management that should be enabled for the chart.\nAllowed value is `Control`.\nIf set with value `Control`, a variant management control is seen within the chart and the chart is linked to this.\nIf not set with any value, variant management control is not available for this chart.\n",
|
|
131
136
|
"artifactType": "XMLProperty",
|
|
132
137
|
"metadata": {
|
|
133
138
|
"type": "Property"
|
|
134
|
-
}
|
|
139
|
+
},
|
|
140
|
+
"const": "Control"
|
|
135
141
|
},
|
|
136
142
|
"actions": {
|
|
137
143
|
"type": "object",
|
|
@@ -472,6 +478,52 @@
|
|
|
472
478
|
"type": "Control"
|
|
473
479
|
}
|
|
474
480
|
},
|
|
481
|
+
"sap.fe.macros.MultiValueField": {
|
|
482
|
+
"description": "Building block for creating a MultiValueField based on the metadata provided by OData V4.\n\nThe MultiValueField can be used to display either a DataField or Property directly. It has to point to a collection property.\n\nUsage example:\n\n<macro:MultiValueField\n id=\"SomeUniqueIdentifier\"\n contextPath=\"{entitySet>}\"\n metaPath=\"{dataField>}\"\n />\n",
|
|
483
|
+
"isViewNode": true,
|
|
484
|
+
"type": "object",
|
|
485
|
+
"properties": {
|
|
486
|
+
"contextPath": {
|
|
487
|
+
"$ref": "#/definitions/sap.ui.model.Context",
|
|
488
|
+
"description": "contextPath",
|
|
489
|
+
"artifactType": "XMLProperty",
|
|
490
|
+
"isViewNode": true,
|
|
491
|
+
"metadata": {
|
|
492
|
+
"type": "Property"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"id": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "The 'id' property",
|
|
498
|
+
"artifactType": "XMLProperty",
|
|
499
|
+
"metadata": {
|
|
500
|
+
"type": "Property"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"metaPath": {
|
|
504
|
+
"$ref": "#/definitions/sap.ui.model.Context",
|
|
505
|
+
"description": "metaPath",
|
|
506
|
+
"artifactType": "XMLProperty",
|
|
507
|
+
"isViewNode": true,
|
|
508
|
+
"metadata": {
|
|
509
|
+
"type": "Property"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"readOnly": {
|
|
513
|
+
"type": "boolean",
|
|
514
|
+
"description": "The readOnly flag",
|
|
515
|
+
"artifactType": "XMLProperty",
|
|
516
|
+
"metadata": {
|
|
517
|
+
"type": "Property"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"additionalProperties": false,
|
|
522
|
+
"metadata": {
|
|
523
|
+
"path": [],
|
|
524
|
+
"type": "Control"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
475
527
|
"sap.fe.macros.Paginator": {
|
|
476
528
|
"description": "Building block used to create a paginator control.\nUsage example:\n\n<macro:Paginator />\n\n",
|
|
477
529
|
"isViewNode": true,
|
|
@@ -492,7 +544,7 @@
|
|
|
492
544
|
"type": "Control"
|
|
493
545
|
}
|
|
494
546
|
},
|
|
495
|
-
"
|
|
547
|
+
"sap.fe.macros.RichTextEditor": {
|
|
496
548
|
"description": "Building block that exposes the RichTextEditor UI5 control.\nIt's used to enter formatted text, and uses the third-party component called TinyMCE.\n",
|
|
497
549
|
"isViewNode": true,
|
|
498
550
|
"type": "object",
|
|
@@ -544,7 +596,7 @@
|
|
|
544
596
|
"type": "Control"
|
|
545
597
|
}
|
|
546
598
|
},
|
|
547
|
-
"
|
|
599
|
+
"sap.fe.macros.RichTextEditorWithMetadata": {
|
|
548
600
|
"description": "Metadata-driven building block that exposes the RichTextEditor UI5 control.\nIt's used to enter formatted text and uses the third-party component called TinyMCE.\n",
|
|
549
601
|
"isViewNode": true,
|
|
550
602
|
"type": "object",
|
|
@@ -607,7 +659,7 @@
|
|
|
607
659
|
}
|
|
608
660
|
},
|
|
609
661
|
"sap.fe.macros.Share": {
|
|
610
|
-
"description": "Building block used to create the ‘Share’ functionality.\n\nPlease note that the 'Share in SAP Jam' option is only available on platforms that are integrated with SAP Jam.\n\nIf you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then the 'Save as Tile' option is not visible.\nUsage example:\n\n<macro:Share\n\tid=\"someID\"\
|
|
662
|
+
"description": "Building block used to create the ‘Share’ functionality.\n\nPlease note that the 'Share in SAP Jam' option is only available on platforms that are integrated with SAP Jam.\n\nIf you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then the 'Save as Tile' option is not visible.\nUsage example:\n\n<macro:Share\n\tid=\"someID\"\nvisible=\"true\"\n/>\n\n",
|
|
611
663
|
"isViewNode": true,
|
|
612
664
|
"type": "object",
|
|
613
665
|
"properties": {
|
|
@@ -706,7 +758,7 @@
|
|
|
706
758
|
},
|
|
707
759
|
"frozenColumnCount": {
|
|
708
760
|
"type": "number",
|
|
709
|
-
"description": "Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.\nThis property is not relevant for
|
|
761
|
+
"description": "Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.\nThis property is not relevant for responsive tables\n",
|
|
710
762
|
"artifactType": "XMLProperty",
|
|
711
763
|
"metadata": {
|
|
712
764
|
"type": "Property"
|
|
@@ -778,7 +830,7 @@
|
|
|
778
830
|
},
|
|
779
831
|
"rowCount": {
|
|
780
832
|
"type": "number",
|
|
781
|
-
"description": "Number of rows to be displayed in the table. Does not apply to
|
|
833
|
+
"description": "Number of rows to be displayed in the table. Does not apply to responsive tables.",
|
|
782
834
|
"artifactType": "XMLProperty",
|
|
783
835
|
"metadata": {
|
|
784
836
|
"type": "Property"
|
|
@@ -786,11 +838,15 @@
|
|
|
786
838
|
},
|
|
787
839
|
"rowCountMode": {
|
|
788
840
|
"type": "string",
|
|
789
|
-
"description": "Defines how the table handles the visible rows. Does not apply to Responsive tables.\nAllowed values are `Auto`, `Fixed`.\n
|
|
841
|
+
"description": "Defines how the table handles the visible rows. Does not apply to Responsive tables.\nAllowed values are `Auto`, `Fixed`.\n- If set to `Fixed`, the table always has as many rows as defined in the rowCount property.\n- If set to `Auto`, the number of rows is changed by the table automatically. It will then adjust its row count to the space it is allowed to cover (limited by the surrounding container) but it cannot have less than defined in the `rowCount` property.\n",
|
|
790
842
|
"artifactType": "XMLProperty",
|
|
791
843
|
"metadata": {
|
|
792
844
|
"type": "Property"
|
|
793
|
-
}
|
|
845
|
+
},
|
|
846
|
+
"enum": [
|
|
847
|
+
"Auto",
|
|
848
|
+
"Fixed"
|
|
849
|
+
]
|
|
794
850
|
},
|
|
795
851
|
"selectionMode": {
|
|
796
852
|
"type": "string",
|
|
@@ -798,7 +854,13 @@
|
|
|
798
854
|
"artifactType": "XMLProperty",
|
|
799
855
|
"metadata": {
|
|
800
856
|
"type": "Property"
|
|
801
|
-
}
|
|
857
|
+
},
|
|
858
|
+
"enum": [
|
|
859
|
+
"None",
|
|
860
|
+
"Single",
|
|
861
|
+
"Multi",
|
|
862
|
+
"Auto"
|
|
863
|
+
]
|
|
802
864
|
},
|
|
803
865
|
"type": {
|
|
804
866
|
"type": "string",
|
|
@@ -806,19 +868,24 @@
|
|
|
806
868
|
"artifactType": "XMLProperty",
|
|
807
869
|
"metadata": {
|
|
808
870
|
"type": "Property"
|
|
809
|
-
}
|
|
871
|
+
},
|
|
872
|
+
"enum": [
|
|
873
|
+
"GridTable",
|
|
874
|
+
"ResponsiveTable"
|
|
875
|
+
]
|
|
810
876
|
},
|
|
811
877
|
"variantManagement": {
|
|
812
878
|
"type": "string",
|
|
813
|
-
"description": "Controls the kind of variant management that should be enabled for the table.\nAllowed value is `Control`.\
|
|
879
|
+
"description": "Controls the kind of variant management that should be enabled for the table.\nAllowed value is `Control`.\nIf set with value `Control`, a variant management control is seen within the table and the table is linked to this.\nIf not set with any value, control level variant management is not available for this table.\n",
|
|
814
880
|
"artifactType": "XMLProperty",
|
|
815
881
|
"metadata": {
|
|
816
882
|
"type": "Property"
|
|
817
|
-
}
|
|
883
|
+
},
|
|
884
|
+
"const": "Control"
|
|
818
885
|
},
|
|
819
|
-
"
|
|
820
|
-
"type": "
|
|
821
|
-
"description": "
|
|
886
|
+
"widthIncludingColumnHeader": {
|
|
887
|
+
"type": "boolean",
|
|
888
|
+
"description": "Indicates if the column header should be a part of the width calculation.",
|
|
822
889
|
"artifactType": "XMLProperty",
|
|
823
890
|
"metadata": {
|
|
824
891
|
"type": "Property"
|
|
@@ -961,7 +1028,11 @@
|
|
|
961
1028
|
"artifactType": "XMLProperty",
|
|
962
1029
|
"metadata": {
|
|
963
1030
|
"type": "Property"
|
|
964
|
-
}
|
|
1031
|
+
},
|
|
1032
|
+
"enum": [
|
|
1033
|
+
"After",
|
|
1034
|
+
"Before"
|
|
1035
|
+
]
|
|
965
1036
|
},
|
|
966
1037
|
"press": {
|
|
967
1038
|
"type": "string",
|
|
@@ -1000,7 +1071,7 @@
|
|
|
1000
1071
|
"type": "object",
|
|
1001
1072
|
"properties": {
|
|
1002
1073
|
"actions": {
|
|
1003
|
-
"$ref": "#/definitions/
|
|
1074
|
+
"$ref": "#/definitions/sap.fe.macros.chart.Action[]",
|
|
1004
1075
|
"description": "actions",
|
|
1005
1076
|
"artifactType": "XMLProperty",
|
|
1006
1077
|
"isViewNode": true,
|
|
@@ -1030,7 +1101,11 @@
|
|
|
1030
1101
|
"artifactType": "XMLProperty",
|
|
1031
1102
|
"metadata": {
|
|
1032
1103
|
"type": "Property"
|
|
1033
|
-
}
|
|
1104
|
+
},
|
|
1105
|
+
"enum": [
|
|
1106
|
+
"After",
|
|
1107
|
+
"Before"
|
|
1108
|
+
]
|
|
1034
1109
|
},
|
|
1035
1110
|
"text": {
|
|
1036
1111
|
"type": "string",
|
|
@@ -1054,11 +1129,17 @@
|
|
|
1054
1129
|
"properties": {
|
|
1055
1130
|
"displayMode": {
|
|
1056
1131
|
"type": "string",
|
|
1057
|
-
"description": "
|
|
1132
|
+
"description": "Defines how the field value and associated text will be displayed together.\n\nAllowed values are \"Value\", \"Description\", \"DescriptionValue\" and \"ValueDescription\"\n",
|
|
1058
1133
|
"artifactType": "XMLProperty",
|
|
1059
1134
|
"metadata": {
|
|
1060
1135
|
"type": "Property"
|
|
1061
|
-
}
|
|
1136
|
+
},
|
|
1137
|
+
"enum": [
|
|
1138
|
+
"Description",
|
|
1139
|
+
"DescriptionValue",
|
|
1140
|
+
"Value",
|
|
1141
|
+
"ValueDescription"
|
|
1142
|
+
]
|
|
1062
1143
|
},
|
|
1063
1144
|
"measureDisplayMode": {
|
|
1064
1145
|
"type": "string",
|
|
@@ -1066,11 +1147,15 @@
|
|
|
1066
1147
|
"artifactType": "XMLProperty",
|
|
1067
1148
|
"metadata": {
|
|
1068
1149
|
"type": "Property"
|
|
1069
|
-
}
|
|
1150
|
+
},
|
|
1151
|
+
"enum": [
|
|
1152
|
+
"Hidden",
|
|
1153
|
+
"ReadOnly"
|
|
1154
|
+
]
|
|
1070
1155
|
},
|
|
1071
1156
|
"showDate": {
|
|
1072
1157
|
"type": "boolean",
|
|
1073
|
-
"description": "Defines if the date part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation
|
|
1158
|
+
"description": "Defines if the date part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
|
|
1074
1159
|
"artifactType": "XMLProperty",
|
|
1075
1160
|
"metadata": {
|
|
1076
1161
|
"type": "Property"
|
|
@@ -1078,7 +1163,7 @@
|
|
|
1078
1163
|
},
|
|
1079
1164
|
"showTime": {
|
|
1080
1165
|
"type": "boolean",
|
|
1081
|
-
"description": "Defines if the time part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation
|
|
1166
|
+
"description": "Defines if the time part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
|
|
1082
1167
|
"artifactType": "XMLProperty",
|
|
1083
1168
|
"metadata": {
|
|
1084
1169
|
"type": "Property"
|
|
@@ -1086,7 +1171,7 @@
|
|
|
1086
1171
|
},
|
|
1087
1172
|
"showTimezone": {
|
|
1088
1173
|
"type": "boolean",
|
|
1089
|
-
"description": "Defines if the timezone part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation
|
|
1174
|
+
"description": "Defines if the timezone part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
|
|
1090
1175
|
"artifactType": "XMLProperty",
|
|
1091
1176
|
"metadata": {
|
|
1092
1177
|
"type": "Property"
|
|
@@ -1098,7 +1183,11 @@
|
|
|
1098
1183
|
"artifactType": "XMLProperty",
|
|
1099
1184
|
"metadata": {
|
|
1100
1185
|
"type": "Property"
|
|
1101
|
-
}
|
|
1186
|
+
},
|
|
1187
|
+
"enum": [
|
|
1188
|
+
"InPlace",
|
|
1189
|
+
"Popover"
|
|
1190
|
+
]
|
|
1102
1191
|
},
|
|
1103
1192
|
"textLinesEdit": {
|
|
1104
1193
|
"type": "number",
|
|
@@ -1273,7 +1362,7 @@
|
|
|
1273
1362
|
"type": "object",
|
|
1274
1363
|
"properties": {
|
|
1275
1364
|
"actions": {
|
|
1276
|
-
"$ref": "#/definitions/
|
|
1365
|
+
"$ref": "#/definitions/sap.fe.macros.table.Action[]",
|
|
1277
1366
|
"description": "actions",
|
|
1278
1367
|
"artifactType": "XMLProperty",
|
|
1279
1368
|
"isViewNode": true,
|
|
@@ -1303,7 +1392,11 @@
|
|
|
1303
1392
|
"artifactType": "XMLProperty",
|
|
1304
1393
|
"metadata": {
|
|
1305
1394
|
"type": "Property"
|
|
1306
|
-
}
|
|
1395
|
+
},
|
|
1396
|
+
"enum": [
|
|
1397
|
+
"After",
|
|
1398
|
+
"Before"
|
|
1399
|
+
]
|
|
1307
1400
|
},
|
|
1308
1401
|
"text": {
|
|
1309
1402
|
"type": "string",
|
|
@@ -1385,6 +1478,14 @@
|
|
|
1385
1478
|
"metadata": {
|
|
1386
1479
|
"type": "Property"
|
|
1387
1480
|
}
|
|
1481
|
+
},
|
|
1482
|
+
"widthIncludingColumnHeader": {
|
|
1483
|
+
"type": "boolean",
|
|
1484
|
+
"description": "Indicates if the column header should be a part of the width calculation.",
|
|
1485
|
+
"artifactType": "XMLProperty",
|
|
1486
|
+
"metadata": {
|
|
1487
|
+
"type": "Property"
|
|
1488
|
+
}
|
|
1388
1489
|
}
|
|
1389
1490
|
},
|
|
1390
1491
|
"additionalProperties": false,
|
|
@@ -1400,7 +1501,7 @@
|
|
|
1400
1501
|
"properties": {
|
|
1401
1502
|
"createAtEnd": {
|
|
1402
1503
|
"type": "boolean",
|
|
1403
|
-
"description": "Specifies if the new entry should be created at the top or bottom of a table in case of creationMode 'Inline'\
|
|
1504
|
+
"description": "Specifies if the new entry should be created at the top or bottom of a table in case of creationMode 'Inline'\nThe default value is 'false'\n",
|
|
1404
1505
|
"artifactType": "XMLProperty",
|
|
1405
1506
|
"metadata": {
|
|
1406
1507
|
"type": "Property"
|
|
@@ -1408,7 +1509,7 @@
|
|
|
1408
1509
|
},
|
|
1409
1510
|
"inlineCreationRowsHiddenInEditMode": {
|
|
1410
1511
|
"type": "boolean",
|
|
1411
|
-
"description": "Specifies if the new entry should be hidden in case of creationMode 'InlineCreationRows'
|
|
1512
|
+
"description": "Specifies if the new entry should be hidden in case of creationMode 'InlineCreationRows'. This only applies to responsive tables.\nThe default value is 'false'\n",
|
|
1412
1513
|
"artifactType": "XMLProperty",
|
|
1413
1514
|
"metadata": {
|
|
1414
1515
|
"type": "Property"
|
|
@@ -1416,11 +1517,17 @@
|
|
|
1416
1517
|
},
|
|
1417
1518
|
"name": {
|
|
1418
1519
|
"type": "string",
|
|
1419
|
-
"description": "Defines the creation mode to be used by the table.\nAllowed values are `NewPage`, `Inline`, `InlineCreationsRows` or `External`.\n\
|
|
1520
|
+
"description": "Defines the creation mode to be used by the table.\nAllowed values are `NewPage`, `Inline`, `InlineCreationsRows` or `External`.\n\nNewPage - the created document is shown in a new page, depending on whether metadata 'Sync', 'Async' or 'Deferred' is used\nInline - The creation is done inline\nInlineCreationsRows - The creation is done inline with an empty row\nExternal - The creation is done in a different application specified via the parameter 'outbound'\nIf not set with any value:\nif navigation is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.\n",
|
|
1420
1521
|
"artifactType": "XMLProperty",
|
|
1421
1522
|
"metadata": {
|
|
1422
1523
|
"type": "Property"
|
|
1423
|
-
}
|
|
1524
|
+
},
|
|
1525
|
+
"enum": [
|
|
1526
|
+
"External",
|
|
1527
|
+
"Inline",
|
|
1528
|
+
"InlineCreationRows",
|
|
1529
|
+
"NewPage"
|
|
1530
|
+
]
|
|
1424
1531
|
},
|
|
1425
1532
|
"outbound": {
|
|
1426
1533
|
"type": "string",
|
package/dist/src/api.js
CHANGED
|
@@ -74,7 +74,7 @@ class DistTagEvaluator {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
return result
|
|
77
|
+
return result;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Checks if the given minUI5Version and spec version fit together, based on the distTags stord in ./dist_tag.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distTagEvaluator.js","sourceRoot":"","sources":["../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAAwE;AACxE,2DAA4C;AAC5C,sDAA8B;AAC9B,8DAAgD;AAChD,wDAAsE;AAEtE,MAAa,gBAAgB;IAGzB;QACI,IAAI,gBAAgB,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE;YAC9C,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;SACjE;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACtB,gBAAgB,CAAC,cAAc,GAAG,EAAE,CAAC;IACzC,CAAC;IAED;;;OAGG;IACI,cAAc;QACjB,OAAO,sBAAkB,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACvB,IAAI,MAAM,GAAa,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC;QAEvC,IAAI,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACxC,IAAI,WAAW,EAAE;YACb,IAAI,WAAW,CAAC,UAAU,CAA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,CAAC,oBAAoB,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;YACnE,IAAA,qBAAG,EAAC,MAAM,EAAE;gBACR,QAAQ,qCAAqB;gBAC7B,OAAO;gBACP,QAAQ,EAAE;oBACN,IAAI,EAAE,qCAAY;iBACrB;aACJ,CAAC,CAAC;SACN;IACL,CAAC;;AAnFL,4CAoFC;AAnFU,+BAAc,GAAa,EAAE,CAAC"}
|
|
@@ -7,9 +7,19 @@
|
|
|
7
7
|
"rootPpmsObject": "FIORI ELEMENT SPEC 1.0",
|
|
8
8
|
"distTags": [
|
|
9
9
|
{
|
|
10
|
-
"version": "1.
|
|
10
|
+
"version": "1.120",
|
|
11
11
|
"distTag": [
|
|
12
12
|
"latest",
|
|
13
|
+
"UI5-1.120",
|
|
14
|
+
"UI5-1.121",
|
|
15
|
+
"UI5-1.122",
|
|
16
|
+
"UI5-1.123",
|
|
17
|
+
"UI5-1.124"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"version": "1.108",
|
|
22
|
+
"distTag": [
|
|
13
23
|
"UI5-1.108",
|
|
14
24
|
"UI5-1.109",
|
|
15
25
|
"UI5-1.110",
|
|
@@ -21,8 +31,7 @@
|
|
|
21
31
|
"UI5-1.116",
|
|
22
32
|
"UI5-1.117",
|
|
23
33
|
"UI5-1.118",
|
|
24
|
-
"UI5-1.119"
|
|
25
|
-
"UI5-1.120"
|
|
34
|
+
"UI5-1.119"
|
|
26
35
|
]
|
|
27
36
|
},
|
|
28
37
|
{
|
|
@@ -200,6 +200,7 @@ export declare function addFieldsType(appSchema: Definition, entityType: EntityT
|
|
|
200
200
|
export declare function getEnumEntry(appSchema: Definition, definition: SchemaDefinition, key: string, options?: EnumDefinitionParsingOptions): {
|
|
201
201
|
const: string;
|
|
202
202
|
description: string | undefined;
|
|
203
|
+
custom?: boolean;
|
|
203
204
|
};
|
|
204
205
|
/**
|
|
205
206
|
* Method adds enum with key and description to schema definition.
|
|
@@ -1 +1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AAI,CAI1G;AAuBD;;;;;;;GAOG;AACH,wBAAgB,YAAY,CACxB,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,gBAAgB,EAC5B,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,4BAA4B,GACvC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAmCtE;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CACxC,SAAS,EAAE,UAAU,EACrB,MAAM,EAAE,mBAAmB,EAC3B,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,4BAA4B,GACvC,IAAI,CAwBN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAkB3F;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,CA2BtG"}
|
|
@@ -129,9 +129,10 @@ function addDefinitionForRelatedFacetKeys(appSchema, sectionDefinitions, facetSe
|
|
|
129
129
|
// Loop acceptable properties in received order and find first entry with value
|
|
130
130
|
const propertyName = idProperties.find((property) => !!section[property]);
|
|
131
131
|
const schemaIdForSection = section[propertyName];
|
|
132
|
+
const label = section.label || section.title;
|
|
132
133
|
return {
|
|
133
134
|
const: schemaIdForSection,
|
|
134
|
-
...(
|
|
135
|
+
...(label && { description: label }),
|
|
135
136
|
...(section.custom && { custom: section.custom })
|
|
136
137
|
};
|
|
137
138
|
});
|
|
@@ -210,7 +211,7 @@ function getCustomExtensionDefinitionName(appSchema, lineItemId, customExtension
|
|
|
210
211
|
let definitionName;
|
|
211
212
|
if (lineItemId === ux_specification_types_1.DefinitionName.LineItems ||
|
|
212
213
|
lineItemId === 'LineItemsOfSPV::LineItem' ||
|
|
213
|
-
lineItemId ===
|
|
214
|
+
lineItemId === `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`) {
|
|
214
215
|
definitionName = `${__1.DEFINITION_LINK_PREFIX}${customExtensionDefinitionName}`;
|
|
215
216
|
}
|
|
216
217
|
else {
|
|
@@ -464,6 +465,23 @@ function addFieldsType(appSchema, entityType, suffix = (0, __1.prepareRef)(''))
|
|
|
464
465
|
updateSchemaProperty(fields4Dialog.properties.fields['items'], 'enum', itemsEnum);
|
|
465
466
|
}
|
|
466
467
|
exports.addFieldsType = addFieldsType;
|
|
468
|
+
/**
|
|
469
|
+
* Method finds first schema definition key by passed key names.
|
|
470
|
+
* @param keys Schema definitions keys to search in.
|
|
471
|
+
* @param keyProperties Key properties to use as query.
|
|
472
|
+
* @returns Found first schema definition key.
|
|
473
|
+
*/
|
|
474
|
+
function findFirstSchemaDefinitionKey(keys, keyProperties) {
|
|
475
|
+
if (!keyProperties || !keys) {
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
for (const keyProperty of keyProperties) {
|
|
479
|
+
const schemaDefinitionKey = keys.find((innerKey) => innerKey.name === keyProperty);
|
|
480
|
+
if (schemaDefinitionKey) {
|
|
481
|
+
return schemaDefinitionKey;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
467
485
|
/**
|
|
468
486
|
* Method returns enum entry for passed schema definition.
|
|
469
487
|
* @param {Definition} appSchema App specific JSON schema
|
|
@@ -475,27 +493,23 @@ exports.addFieldsType = addFieldsType;
|
|
|
475
493
|
function getEnumEntry(appSchema, definition, key, options) {
|
|
476
494
|
let description = definition.description;
|
|
477
495
|
let keys = definition.keys;
|
|
478
|
-
|
|
496
|
+
let custom = !definition.annotationPath;
|
|
497
|
+
if (definition.$ref) {
|
|
479
498
|
// Try to read description from reference
|
|
480
499
|
const definitionKey = (0, __1.getDefinitionKey)(definition.$ref);
|
|
481
500
|
const refDefinition = appSchema.definitions?.[definitionKey];
|
|
482
501
|
if (typeof refDefinition === 'object') {
|
|
483
|
-
|
|
484
|
-
|
|
502
|
+
custom = !refDefinition.annotationPath;
|
|
503
|
+
if (options?.resolveDefinition && !description) {
|
|
504
|
+
description = refDefinition.description;
|
|
505
|
+
keys = refDefinition.keys;
|
|
506
|
+
}
|
|
485
507
|
}
|
|
486
508
|
}
|
|
487
509
|
// Resolve enum key
|
|
488
510
|
let enumKey = key;
|
|
489
|
-
let schemaDefinitionKey;
|
|
490
511
|
// Read key from schema keys by passed property
|
|
491
|
-
|
|
492
|
-
for (const keyProperty of options.keyProperties) {
|
|
493
|
-
schemaDefinitionKey = keys.find((innerKey) => innerKey.name === keyProperty);
|
|
494
|
-
if (schemaDefinitionKey) {
|
|
495
|
-
break;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
512
|
+
const schemaDefinitionKey = findFirstSchemaDefinitionKey(keys, options?.keyProperties);
|
|
499
513
|
if (schemaDefinitionKey) {
|
|
500
514
|
enumKey = schemaDefinitionKey.value;
|
|
501
515
|
}
|
|
@@ -505,7 +519,8 @@ function getEnumEntry(appSchema, definition, key, options) {
|
|
|
505
519
|
}
|
|
506
520
|
return {
|
|
507
521
|
const: enumKey,
|
|
508
|
-
...(description && { description })
|
|
522
|
+
...(description && { description }),
|
|
523
|
+
...(custom && { custom })
|
|
509
524
|
};
|
|
510
525
|
}
|
|
511
526
|
exports.getEnumEntry = getEnumEntry;
|