@sap/ux-specification 1.96.46 → 1.96.47
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 +27 -1
- package/dist/documentation/runDocu-min.js +19 -15
- package/dist/documentation/runDocu-min.js.map +4 -4
- package/dist/documentation/v2/v2-AnalyticalListPage.html +18 -6
- package/dist/documentation/v2/v2-ApplicationV2.html +18 -6
- package/dist/documentation/v2/v2-ListReport.html +18 -6
- package/dist/documentation/v2/v2-ObjectPage.html +18 -6
- package/dist/documentation/v2/v2-OverviewPage.html +18 -6
- package/dist/documentation/v4/v4-ApplicationV4.html +18 -6
- package/dist/documentation/v4/v4-BuildingBlocks.html +18 -6
- package/dist/documentation/v4/v4-FreestylePage.html +18 -6
- package/dist/documentation/v4/v4-ListReport.html +18 -6
- package/dist/documentation/v4/v4-ObjectPage.html +18 -6
- package/dist/index-min.js +149 -137
- package/dist/index-min.js.map +4 -4
- package/dist/package.json +25 -24
- package/dist/schemas/v2/AnalyticalListPageConfig.json +4 -12
- package/dist/schemas/v2/ApplicationV2.json +1 -3
- package/dist/schemas/v2/ListReportConfig.json +7 -21
- package/dist/schemas/v2/ObjectPageConfig.json +29 -46
- package/dist/schemas/v2/OverviewPageConfig.json +8 -24
- package/dist/schemas/v4/ObjectPageConfig.json +3 -9
- package/dist/src/sync/common/decoration/control.d.ts.map +1 -1
- package/dist/src/sync/common/decoration/control.js +1 -0
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/common/generate/objectPage.js +13 -5
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +7 -0
- package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/common/generate/utils.js +23 -7
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +2 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -1
- package/dist/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/src/sync/v2/export/export.js +9 -1
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +11 -0
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.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/generate/overviewPage.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/overviewPage.js +1 -1
- package/dist/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +5 -3
- package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/utils.js +37 -32
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/src/sync/v4/utils/utils.js +2 -1
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/package.json +26 -25
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.47",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"compile:watch": "tsc --build ./tsconfig.build.json --pretty --watch",
|
|
21
21
|
"bundle": "node esbuild",
|
|
22
22
|
"bundle:dev": "node esbuild --minify=false",
|
|
23
|
-
"bundle:watch": "node esbuild --watch --minify=false",
|
|
23
|
+
"bundle:watch": "node esbuild --watch --stats --minify=false",
|
|
24
24
|
"build": "npm-run-all -l -s clean:before -s compile -p create-json-schemas macros copy-templates -p copy-json-schemas htmlV2 htmlV4 -s bundle",
|
|
25
25
|
"build:dev": "npm-run-all -l -s clean:before -s compile -p create-json-schemas copy-templates -s copy-json-schemas bundle:dev",
|
|
26
|
-
"watch": "npm-run-all -l -s clean:before -p compile create-json-schemas macros copy-templates -p copy-json-schemas -s bundle:watch",
|
|
27
|
-
"build:schemas": "npm-run-all -l -s create-json-schemas copy-json-schemas",
|
|
28
26
|
"build:doc": "npm-run-all -l -s clean:doc -s compile -p htmlV2 htmlV4 -s bundle",
|
|
29
|
-
"
|
|
27
|
+
"build:schemas": "npm-run-all -l -s create-json-schemas copy-json-schemas",
|
|
28
|
+
"build:snap": "yarn build:dev && yarn update-snapshots",
|
|
30
29
|
"create-json-schemas": "ts-node ./scripts/to-json-schema.ts ",
|
|
31
30
|
"copy-json-schemas": "cpy ./schemas/** dist --parents",
|
|
32
31
|
"copy-templates": "cpy src/sync/v2/export/templates/** dist/templates",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
32
|
+
"deleteSnapshots": "rimraf **/_file_snapshots_",
|
|
33
|
+
"docuV2": "ts-node ./scripts/extractDocu.ts --version=v2 format=excel",
|
|
34
|
+
"docuV4": "ts-node ./scripts/extractDocu.ts --version=v4 format=excel",
|
|
35
|
+
"htmlV2": "ts-node ./scripts/extractDocu.ts --version=v2 --format=html",
|
|
36
|
+
"htmlV4": "ts-node ./scripts/extractDocu.ts --version=v4 --format=html",
|
|
37
|
+
"iXiaSoftV2": "ts-node ./scripts/extractDocu.ts --version=v2 --format=iXiaSoft",
|
|
38
|
+
"iXiaSoftV4": "ts-node ./scripts/extractDocu.ts --version=v4 --format=iXiaSoft",
|
|
37
39
|
"lint": "eslint . --ext .ts",
|
|
38
40
|
"lint:summary": "eslint . --ext .ts -f summary",
|
|
39
41
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
40
42
|
"lint:report": "eslint . --ext .ts -f multiple",
|
|
41
43
|
"lint:report:jslint": "eslint . --ext .ts -o reports/lint/eslint.jslint.xml -f jslint-xml",
|
|
42
44
|
"macros": "ts-node ./scripts/macros/index.ts",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"htmlV4": "ts-node ./scripts/extractDocu.ts --version=v4 --format=html",
|
|
49
|
-
"deleteSnapshots": "rimraf **/_file_snapshots_"
|
|
45
|
+
"test": "jest && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
46
|
+
"test:ci": "jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
47
|
+
"update-snapshots": "jest --updateSnapshot",
|
|
48
|
+
"watch": "npm-run-all -l -s clean:before -p compile create-json-schemas macros copy-templates -p copy-json-schemas -s bundle:watch",
|
|
49
|
+
"watch:doc": "npm-run-all -l -s clean:doc -s compile -p htmlV2 htmlV4 -s bundle:watch"
|
|
50
50
|
},
|
|
51
51
|
"publisher": "SAPSE",
|
|
52
52
|
"license": "SEE LICENSE IN LICENSE",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@sap-ux/fe-fpm-writer": "0.23.
|
|
55
|
-
"@sap-ux/vocabularies-types": "0.9.
|
|
54
|
+
"@sap-ux/fe-fpm-writer": "0.23.2",
|
|
55
|
+
"@sap-ux/vocabularies-types": "0.9.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@sap-ux/annotation-converter": "0.7.
|
|
59
|
-
"@sap/ux-specification-types": "1.96.
|
|
58
|
+
"@sap-ux/annotation-converter": "0.7.3",
|
|
59
|
+
"@sap/ux-specification-types": "1.96.47",
|
|
60
60
|
"@sap-ux/edmx-parser": "0.6.0",
|
|
61
61
|
"@sapui5/ts-types-esm": "1.96.24",
|
|
62
62
|
"@types/d3": "7.4.0",
|
|
63
|
-
"@types/jquery": "3.5.
|
|
63
|
+
"@types/jquery": "3.5.18",
|
|
64
64
|
"@types/mem-fs-editor": "7.0.3",
|
|
65
|
-
"@types/semver": "7.5.
|
|
65
|
+
"@types/semver": "7.5.1",
|
|
66
66
|
"@ui5/flexibility-utils": "0.1.3",
|
|
67
67
|
"@xml-tools/ast": "5.0.5",
|
|
68
68
|
"@xml-tools/parser": "1.0.11",
|
|
@@ -74,13 +74,14 @@
|
|
|
74
74
|
"ejs": "3.1.9",
|
|
75
75
|
"excel4node": "1.8.2",
|
|
76
76
|
"i18next": "22.5.1",
|
|
77
|
-
"jquery": "3.7.
|
|
77
|
+
"jquery": "3.7.1",
|
|
78
|
+
"jsdom": "22.1.0",
|
|
78
79
|
"lodash.unset": "4.5.2",
|
|
79
80
|
"mem-fs-editor": "9.7.0",
|
|
80
81
|
"path": "0.12.7",
|
|
81
82
|
"reflect-metadata": "0.1.13",
|
|
82
83
|
"semver": "7.5.4",
|
|
83
|
-
"typescript-json-schema": "0.
|
|
84
|
+
"typescript-json-schema": "0.57.0",
|
|
84
85
|
"xml-js": "1.6.11"
|
|
85
86
|
},
|
|
86
87
|
"husky": {
|
|
@@ -52,9 +52,7 @@
|
|
|
52
52
|
"type": {
|
|
53
53
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
54
54
|
"type": "string",
|
|
55
|
-
"
|
|
56
|
-
"ResponsiveTable"
|
|
57
|
-
],
|
|
55
|
+
"const": "ResponsiveTable",
|
|
58
56
|
"artifactType": "Manifest"
|
|
59
57
|
},
|
|
60
58
|
"growingThreshold": {
|
|
@@ -584,9 +582,7 @@
|
|
|
584
582
|
"description": "The UI5 control used for your extension",
|
|
585
583
|
"artifactType": "Manifest",
|
|
586
584
|
"type": "string",
|
|
587
|
-
"
|
|
588
|
-
"sap.ui.core.Fragment"
|
|
589
|
-
]
|
|
585
|
+
"const": "sap.ui.core.Fragment"
|
|
590
586
|
},
|
|
591
587
|
"fragmentName": {
|
|
592
588
|
"description": "The relative path to your fragment with path segments separated by '.'. The first element is the app ID.",
|
|
@@ -635,9 +631,7 @@
|
|
|
635
631
|
"type": {
|
|
636
632
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
637
633
|
"type": "string",
|
|
638
|
-
"
|
|
639
|
-
"GridTable"
|
|
640
|
-
],
|
|
634
|
+
"const": "GridTable",
|
|
641
635
|
"artifactType": "Manifest"
|
|
642
636
|
},
|
|
643
637
|
"qualifier": {
|
|
@@ -760,9 +754,7 @@
|
|
|
760
754
|
"type": {
|
|
761
755
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
762
756
|
"type": "string",
|
|
763
|
-
"
|
|
764
|
-
"AnalyticalTable"
|
|
765
|
-
],
|
|
757
|
+
"const": "AnalyticalTable",
|
|
766
758
|
"artifactType": "Manifest"
|
|
767
759
|
},
|
|
768
760
|
"qualifier": {
|
|
@@ -102,9 +102,7 @@
|
|
|
102
102
|
"enabled": {
|
|
103
103
|
"description": "Allows applications to turn off the discard draft confirmation popup in various scenarios",
|
|
104
104
|
"type": "string",
|
|
105
|
-
"
|
|
106
|
-
"restricted"
|
|
107
|
-
]
|
|
105
|
+
"const": "restricted"
|
|
108
106
|
}
|
|
109
107
|
},
|
|
110
108
|
"additionalProperties": false,
|
|
@@ -47,9 +47,7 @@
|
|
|
47
47
|
"type": {
|
|
48
48
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
49
49
|
"type": "string",
|
|
50
|
-
"
|
|
51
|
-
"AnalyticalTable"
|
|
52
|
-
],
|
|
50
|
+
"const": "AnalyticalTable",
|
|
53
51
|
"artifactType": "Manifest"
|
|
54
52
|
},
|
|
55
53
|
"qualifier": {
|
|
@@ -189,9 +187,7 @@
|
|
|
189
187
|
"strategy": {
|
|
190
188
|
"description": "For the new create action to use the filter settings as input, set strategy to \"extension\" and implement the extension function as mentioned in help.sap.com for SAP S/4 HANA, section “Prefilling Fields When Creating a New Entity Using an Extension Point“.",
|
|
191
189
|
"type": "string",
|
|
192
|
-
"
|
|
193
|
-
"extension"
|
|
194
|
-
],
|
|
190
|
+
"const": "extension",
|
|
195
191
|
"artifactType": "Manifest"
|
|
196
192
|
}
|
|
197
193
|
},
|
|
@@ -595,9 +591,7 @@
|
|
|
595
591
|
"description": "The UI5 control used for your extension",
|
|
596
592
|
"artifactType": "Manifest",
|
|
597
593
|
"type": "string",
|
|
598
|
-
"
|
|
599
|
-
"sap.ui.core.Fragment"
|
|
600
|
-
]
|
|
594
|
+
"const": "sap.ui.core.Fragment"
|
|
601
595
|
},
|
|
602
596
|
"fragmentName": {
|
|
603
597
|
"description": "The relative path to your fragment with path segments separated by '.'. The first element is the app ID.",
|
|
@@ -646,9 +640,7 @@
|
|
|
646
640
|
"type": {
|
|
647
641
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
648
642
|
"type": "string",
|
|
649
|
-
"
|
|
650
|
-
"GridTable"
|
|
651
|
-
],
|
|
643
|
+
"const": "GridTable",
|
|
652
644
|
"artifactType": "Manifest"
|
|
653
645
|
},
|
|
654
646
|
"createWithFilters": {
|
|
@@ -750,9 +742,7 @@
|
|
|
750
742
|
"type": {
|
|
751
743
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
752
744
|
"type": "string",
|
|
753
|
-
"
|
|
754
|
-
"TreeTable"
|
|
755
|
-
],
|
|
745
|
+
"const": "TreeTable",
|
|
756
746
|
"artifactType": "Manifest"
|
|
757
747
|
},
|
|
758
748
|
"multiSelect": {
|
|
@@ -854,9 +844,7 @@
|
|
|
854
844
|
"type": {
|
|
855
845
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
856
846
|
"type": "string",
|
|
857
|
-
"
|
|
858
|
-
"ResponsiveTable"
|
|
859
|
-
],
|
|
847
|
+
"const": "ResponsiveTable",
|
|
860
848
|
"artifactType": "Manifest"
|
|
861
849
|
},
|
|
862
850
|
"includeItemInSelection": {
|
|
@@ -992,9 +980,7 @@
|
|
|
992
980
|
"type": {
|
|
993
981
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
994
982
|
"type": "string",
|
|
995
|
-
"
|
|
996
|
-
"ResponsiveTable"
|
|
997
|
-
],
|
|
983
|
+
"const": "ResponsiveTable",
|
|
998
984
|
"artifactType": "Manifest"
|
|
999
985
|
},
|
|
1000
986
|
"includeItemInSelection": {
|
|
@@ -24,9 +24,7 @@
|
|
|
24
24
|
"defaultLayoutTypeIfExternalNavigation": {
|
|
25
25
|
"description": "If this flag is set, then during inbound navigation to flexible column layout application, if the navigation context points to a unique object, then the object page is opened in full screen mode.",
|
|
26
26
|
"type": "string",
|
|
27
|
-
"
|
|
28
|
-
"MidColumnFullScreen"
|
|
29
|
-
],
|
|
27
|
+
"const": "MidColumnFullScreen",
|
|
30
28
|
"artifactType": "Manifest"
|
|
31
29
|
},
|
|
32
30
|
"globalChartSettings": {
|
|
@@ -202,8 +200,21 @@
|
|
|
202
200
|
"type": "object",
|
|
203
201
|
"properties": {
|
|
204
202
|
"showHeaderContent": {
|
|
203
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
|
|
204
|
+
"anyOf": [
|
|
205
|
+
{
|
|
206
|
+
"enum": [
|
|
207
|
+
false,
|
|
208
|
+
true,
|
|
209
|
+
"{ui>/editable}",
|
|
210
|
+
"{= !${ui>/editable}}"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "string"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
205
217
|
"description": "showHeaderContent determines the visibility of the Header content.",
|
|
206
|
-
"type": "boolean",
|
|
207
218
|
"artifactType": "FlexChange",
|
|
208
219
|
"controlType": "sap.uxap.ObjectPageLayout"
|
|
209
220
|
},
|
|
@@ -478,9 +489,7 @@
|
|
|
478
489
|
"type": {
|
|
479
490
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
480
491
|
"type": "string",
|
|
481
|
-
"
|
|
482
|
-
"ResponsiveTable"
|
|
483
|
-
],
|
|
492
|
+
"const": "ResponsiveTable",
|
|
484
493
|
"artifactType": "Manifest"
|
|
485
494
|
},
|
|
486
495
|
"includeItemInSelection": {
|
|
@@ -550,9 +559,7 @@
|
|
|
550
559
|
"createMode": {
|
|
551
560
|
"description": "Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.",
|
|
552
561
|
"type": "string",
|
|
553
|
-
"
|
|
554
|
-
"inline"
|
|
555
|
-
],
|
|
562
|
+
"const": "inline",
|
|
556
563
|
"artifactType": "Manifest"
|
|
557
564
|
},
|
|
558
565
|
"disableDefaultInlineCreateSort": {
|
|
@@ -876,9 +883,7 @@
|
|
|
876
883
|
"description": "The UI5 control used for your extension",
|
|
877
884
|
"artifactType": "Manifest",
|
|
878
885
|
"type": "string",
|
|
879
|
-
"
|
|
880
|
-
"sap.ui.core.Fragment"
|
|
881
|
-
]
|
|
886
|
+
"const": "sap.ui.core.Fragment"
|
|
882
887
|
},
|
|
883
888
|
"fragmentName": {
|
|
884
889
|
"description": "The relative path to your fragment with path segments separated by '.'. The first element is the app ID.",
|
|
@@ -932,9 +937,7 @@
|
|
|
932
937
|
"type": {
|
|
933
938
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
934
939
|
"type": "string",
|
|
935
|
-
"
|
|
936
|
-
"ResponsiveTable"
|
|
937
|
-
],
|
|
940
|
+
"const": "ResponsiveTable",
|
|
938
941
|
"artifactType": "Manifest"
|
|
939
942
|
},
|
|
940
943
|
"includeItemInSelection": {
|
|
@@ -1004,9 +1007,7 @@
|
|
|
1004
1007
|
"createMode": {
|
|
1005
1008
|
"description": "Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.",
|
|
1006
1009
|
"type": "string",
|
|
1007
|
-
"
|
|
1008
|
-
"inline"
|
|
1009
|
-
],
|
|
1010
|
+
"const": "inline",
|
|
1010
1011
|
"artifactType": "Manifest"
|
|
1011
1012
|
},
|
|
1012
1013
|
"disableDefaultInlineCreateSort": {
|
|
@@ -1039,9 +1040,7 @@
|
|
|
1039
1040
|
"type": {
|
|
1040
1041
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
1041
1042
|
"type": "string",
|
|
1042
|
-
"
|
|
1043
|
-
"AnalyticalTable"
|
|
1044
|
-
],
|
|
1043
|
+
"const": "AnalyticalTable",
|
|
1045
1044
|
"artifactType": "Manifest"
|
|
1046
1045
|
},
|
|
1047
1046
|
"condensedTableLayout": {
|
|
@@ -1095,9 +1094,7 @@
|
|
|
1095
1094
|
"createMode": {
|
|
1096
1095
|
"description": "Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.",
|
|
1097
1096
|
"type": "string",
|
|
1098
|
-
"
|
|
1099
|
-
"inline"
|
|
1100
|
-
],
|
|
1097
|
+
"const": "inline",
|
|
1101
1098
|
"artifactType": "Manifest"
|
|
1102
1099
|
},
|
|
1103
1100
|
"disableDefaultInlineCreateSort": {
|
|
@@ -1130,9 +1127,7 @@
|
|
|
1130
1127
|
"type": {
|
|
1131
1128
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
1132
1129
|
"type": "string",
|
|
1133
|
-
"
|
|
1134
|
-
"GridTable"
|
|
1135
|
-
],
|
|
1130
|
+
"const": "GridTable",
|
|
1136
1131
|
"artifactType": "Manifest"
|
|
1137
1132
|
},
|
|
1138
1133
|
"condensedTableLayout": {
|
|
@@ -1186,9 +1181,7 @@
|
|
|
1186
1181
|
"createMode": {
|
|
1187
1182
|
"description": "Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.",
|
|
1188
1183
|
"type": "string",
|
|
1189
|
-
"
|
|
1190
|
-
"inline"
|
|
1191
|
-
],
|
|
1184
|
+
"const": "inline",
|
|
1192
1185
|
"artifactType": "Manifest"
|
|
1193
1186
|
},
|
|
1194
1187
|
"disableDefaultInlineCreateSort": {
|
|
@@ -1221,9 +1214,7 @@
|
|
|
1221
1214
|
"type": {
|
|
1222
1215
|
"description": "Use type to define the table type. Note: Grid tables, analytical tables, and tree tables cannot be rendered on smartphones. Instead, responsive tables always show on smartphones.",
|
|
1223
1216
|
"type": "string",
|
|
1224
|
-
"
|
|
1225
|
-
"TreeTable"
|
|
1226
|
-
],
|
|
1217
|
+
"const": "TreeTable",
|
|
1227
1218
|
"artifactType": "Manifest"
|
|
1228
1219
|
},
|
|
1229
1220
|
"condensedTableLayout": {
|
|
@@ -1277,9 +1268,7 @@
|
|
|
1277
1268
|
"createMode": {
|
|
1278
1269
|
"description": "Use createMode 'inline' to enable inline creation of table entries for draft enabled applications.",
|
|
1279
1270
|
"type": "string",
|
|
1280
|
-
"
|
|
1281
|
-
"inline"
|
|
1282
|
-
],
|
|
1271
|
+
"const": "inline",
|
|
1283
1272
|
"artifactType": "Manifest"
|
|
1284
1273
|
},
|
|
1285
1274
|
"disableDefaultInlineCreateSort": {
|
|
@@ -1554,9 +1543,7 @@
|
|
|
1554
1543
|
"properties": {
|
|
1555
1544
|
"className": {
|
|
1556
1545
|
"type": "string",
|
|
1557
|
-
"
|
|
1558
|
-
"sap.ui.core.mvc.View"
|
|
1559
|
-
]
|
|
1546
|
+
"const": "sap.ui.core.mvc.View"
|
|
1560
1547
|
},
|
|
1561
1548
|
"viewName": {
|
|
1562
1549
|
"type": "string"
|
|
@@ -1609,18 +1596,14 @@
|
|
|
1609
1596
|
"properties": {
|
|
1610
1597
|
"className": {
|
|
1611
1598
|
"type": "string",
|
|
1612
|
-
"
|
|
1613
|
-
"sap.ui.core.Fragment"
|
|
1614
|
-
]
|
|
1599
|
+
"const": "sap.ui.core.Fragment"
|
|
1615
1600
|
},
|
|
1616
1601
|
"fragmentName": {
|
|
1617
1602
|
"type": "string"
|
|
1618
1603
|
},
|
|
1619
1604
|
"type": {
|
|
1620
1605
|
"type": "string",
|
|
1621
|
-
"
|
|
1622
|
-
"XML"
|
|
1623
|
-
]
|
|
1606
|
+
"const": "XML"
|
|
1624
1607
|
},
|
|
1625
1608
|
"relatedFacet": {
|
|
1626
1609
|
"type": "string"
|
|
@@ -661,9 +661,7 @@
|
|
|
661
661
|
]
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
"
|
|
665
|
-
"auto"
|
|
666
|
-
],
|
|
664
|
+
"const": "auto",
|
|
667
665
|
"type": "string"
|
|
668
666
|
}
|
|
669
667
|
]
|
|
@@ -930,9 +928,7 @@
|
|
|
930
928
|
]
|
|
931
929
|
},
|
|
932
930
|
{
|
|
933
|
-
"
|
|
934
|
-
"auto"
|
|
935
|
-
],
|
|
931
|
+
"const": "auto",
|
|
936
932
|
"type": "string"
|
|
937
933
|
}
|
|
938
934
|
]
|
|
@@ -1000,9 +996,7 @@
|
|
|
1000
996
|
"template": {
|
|
1001
997
|
"description": "Represents the Stack Card component path to use for this card.",
|
|
1002
998
|
"type": "string",
|
|
1003
|
-
"
|
|
1004
|
-
"sap.ovp.cards.stack"
|
|
1005
|
-
],
|
|
999
|
+
"const": "sap.ovp.cards.stack",
|
|
1006
1000
|
"artifactType": "Manifest"
|
|
1007
1001
|
},
|
|
1008
1002
|
"stackCardSettings": {
|
|
@@ -1109,9 +1103,7 @@
|
|
|
1109
1103
|
]
|
|
1110
1104
|
},
|
|
1111
1105
|
{
|
|
1112
|
-
"
|
|
1113
|
-
"auto"
|
|
1114
|
-
],
|
|
1106
|
+
"const": "auto",
|
|
1115
1107
|
"type": "string"
|
|
1116
1108
|
}
|
|
1117
1109
|
]
|
|
@@ -1274,9 +1266,7 @@
|
|
|
1274
1266
|
]
|
|
1275
1267
|
},
|
|
1276
1268
|
{
|
|
1277
|
-
"
|
|
1278
|
-
"auto"
|
|
1279
|
-
],
|
|
1269
|
+
"const": "auto",
|
|
1280
1270
|
"type": "string"
|
|
1281
1271
|
}
|
|
1282
1272
|
]
|
|
@@ -1501,9 +1491,7 @@
|
|
|
1501
1491
|
]
|
|
1502
1492
|
},
|
|
1503
1493
|
{
|
|
1504
|
-
"
|
|
1505
|
-
"auto"
|
|
1506
|
-
],
|
|
1494
|
+
"const": "auto",
|
|
1507
1495
|
"type": "string"
|
|
1508
1496
|
}
|
|
1509
1497
|
]
|
|
@@ -1654,9 +1642,7 @@
|
|
|
1654
1642
|
]
|
|
1655
1643
|
},
|
|
1656
1644
|
{
|
|
1657
|
-
"
|
|
1658
|
-
"auto"
|
|
1659
|
-
],
|
|
1645
|
+
"const": "auto",
|
|
1660
1646
|
"type": "string"
|
|
1661
1647
|
}
|
|
1662
1648
|
]
|
|
@@ -1771,9 +1757,7 @@
|
|
|
1771
1757
|
]
|
|
1772
1758
|
},
|
|
1773
1759
|
{
|
|
1774
|
-
"
|
|
1775
|
-
"auto"
|
|
1776
|
-
],
|
|
1760
|
+
"const": "auto",
|
|
1777
1761
|
"type": "string"
|
|
1778
1762
|
}
|
|
1779
1763
|
]
|
|
@@ -235,9 +235,7 @@
|
|
|
235
235
|
"designtime": {
|
|
236
236
|
"description": "You can restrict the adaptability of header facets via the setting 'flexSettings'/'designtime'. 'not-adaptable-visibility' means that 'remove' and 'add' are not possible, but 'move' is enabled.",
|
|
237
237
|
"type": "string",
|
|
238
|
-
"
|
|
239
|
-
"not-adaptable-visibility"
|
|
240
|
-
],
|
|
238
|
+
"const": "not-adaptable-visibility",
|
|
241
239
|
"artifactType": "Manifest"
|
|
242
240
|
}
|
|
243
241
|
},
|
|
@@ -1135,9 +1133,7 @@
|
|
|
1135
1133
|
"properties": {
|
|
1136
1134
|
"className": {
|
|
1137
1135
|
"type": "string",
|
|
1138
|
-
"
|
|
1139
|
-
"sap.ui.core.Fragment"
|
|
1140
|
-
]
|
|
1136
|
+
"const": "sap.ui.core.Fragment"
|
|
1141
1137
|
},
|
|
1142
1138
|
"fragmentName": {
|
|
1143
1139
|
"type": "string"
|
|
@@ -1153,9 +1149,7 @@
|
|
|
1153
1149
|
},
|
|
1154
1150
|
"type": {
|
|
1155
1151
|
"type": "string",
|
|
1156
|
-
"
|
|
1157
|
-
"XML"
|
|
1158
|
-
]
|
|
1152
|
+
"const": "XML"
|
|
1159
1153
|
},
|
|
1160
1154
|
"title": {
|
|
1161
1155
|
"description": "The label of the custom section, preferrable as an i18n key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/decoration/control.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAUvE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,WAAY,MAAM,iBAAiB,MAAM,EAAE,KAAG,MAElF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,WAAY,MAAM,iBAAiB,MAAM,EAAE,eAAe,MAAM,EAAE,KAAG,MAEtG,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,cAAe,MAAM,SAAS,MAAM,KAAG,MASnE,CAAC;AAEF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAQ/C;AAED;gEACgE;AAChE,oBAAY,YAAY;IACpB,QAAQ,mBAAmB;IAC3B,WAAW,yBAAyB;CACvC;AAED;gEACgE;AAChE,oBAAY,cAAc;IACtB,QAAQ,uCAAuC;IAC/C,WAAW,uCAAuC;CACrD;AA6BD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,WACrB,MAAM,iBACC,MAAM,EAAE,eACV,MAAM,EAAE,gBACP,mBAAmB,SAC1B,MAAM,KACd,MA4BF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,gBACpB,MAAM,EAAE;gBACR,MAAM,GAAG,SAAS;sBAAoB,MAAM,GAAG,SAAS;cAAY,MAAM;CAc1F,CAAC;
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/decoration/control.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAUvE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,WAAY,MAAM,iBAAiB,MAAM,EAAE,KAAG,MAElF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,WAAY,MAAM,iBAAiB,MAAM,EAAE,eAAe,MAAM,EAAE,KAAG,MAEtG,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,cAAe,MAAM,SAAS,MAAM,KAAG,MASnE,CAAC;AAEF,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAQ/C;AAED;gEACgE;AAChE,oBAAY,YAAY;IACpB,QAAQ,mBAAmB;IAC3B,WAAW,yBAAyB;CACvC;AAED;gEACgE;AAChE,oBAAY,cAAc;IACtB,QAAQ,uCAAuC;IAC/C,WAAW,uCAAuC;CACrD;AA6BD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,WACrB,MAAM,iBACC,MAAM,EAAE,eACV,MAAM,EAAE,gBACP,mBAAmB,SAC1B,MAAM,KACd,MA4BF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,gBACpB,MAAM,EAAE;gBACR,MAAM,GAAG,SAAS;sBAAoB,MAAM,GAAG,SAAS;cAAY,MAAM;CAc1F,CAAC;AA0EF,eAAO,MAAM,kCAAkC,WAAY,MAAM,cAAc,MAAM,gBAAgB,MAAM,KAAG,IAE7G,CAAC;AAEF,eAAO,MAAM,kCAAkC,WAAY,MAAM,cAAc,MAAM,gBAAgB,MAAM,KAAG,IAG7G,CAAC;AAEF,eAAO,MAAM,oCAAoC,WACrC,MAAM,cACF,MAAM,gBACJ,MAAM,KACrB,IAGF,CAAC"}
|
|
@@ -191,6 +191,7 @@ const addPatternForBindingChangeOfEnum = (schema, definition, propertyName, bind
|
|
|
191
191
|
const description = originalDefinition.description ? originalDefinition.description : targetDefinition.description;
|
|
192
192
|
const pattern = determinePattern(targetDefinition);
|
|
193
193
|
if (targetDefinition['type'] && targetDefinition['type'] === 'boolean') {
|
|
194
|
+
//Always an enum, always with more than one value
|
|
194
195
|
resultDefinition = { enum: [false, true] };
|
|
195
196
|
}
|
|
196
197
|
if (bindingValues && resultDefinition['enum']) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","sourceRoot":"","sources":["../../../../../src/sync/common/decoration/control.ts"],"names":[],"mappings":";;;AAEA,wEAMqC;AACrC,oCAAkD;AAElD;;;;GAIG;AACI,MAAM,wBAAwB,GAAG,CAAC,MAAc,EAAE,aAAuB,EAAU,EAAE;IACxF,OAAO,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC,CAAC;AAFW,QAAA,wBAAwB,4BAEnC;AAEF;;;;;GAKG;AACI,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,aAAuB,EAAE,WAAqB,EAAU,EAAE;IAC5G,OAAO,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC;AAFW,QAAA,qBAAqB,yBAEhC;AAEF;;;;;;GAMG;AACI,MAAM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,EAAE;IACjH,gCAAgC,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC;AACvE,CAAC,CAAC;AAFW,QAAA,kCAAkC,sCAE7C;AAEK,MAAM,kCAAkC,GAAG,CAAC,MAAc,EAAE,UAAkB,EAAE,YAAoB,EAAQ,EAAE;IACjH,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAClD,gCAAgC,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AACtF,CAAC,CAAC;AAHW,QAAA,kCAAkC,sCAG7C;AAEK,MAAM,oCAAoC,GAAG,CAChD,MAAc,EACd,UAAkB,EAClB,YAAoB,EAChB,EAAE;IACN,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACpD,gCAAgC,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AACtF,CAAC,CAAC;AAPW,QAAA,oCAAoC,wCAO/C"}
|
|
@@ -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;
|
|
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,O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AAG,SAAS,GAAG,SAAS,CAMlH"}
|
|
@@ -164,17 +164,24 @@ function addConnectedFields(sectionType, appSchema, field, section, version) {
|
|
|
164
164
|
const target = field.Target.$target;
|
|
165
165
|
const properties = {};
|
|
166
166
|
if (target.$Type === "com.sap.vocabularies.UI.v1.ConnectedFieldsType" /* UIAnnotationTypes.ConnectedFieldsType */) {
|
|
167
|
+
const template = target.Template || '';
|
|
168
|
+
const templateParts = template.match(/(?<=\{)[^}{]*(?=\})/g) || [];
|
|
167
169
|
const targetData = target.Data;
|
|
168
|
-
|
|
170
|
+
// Maintain fallback index which should be used for fields which are not listed in 'Template'
|
|
171
|
+
let fallbackIndex = templateParts.length;
|
|
169
172
|
for (const innerKey in targetData) {
|
|
170
173
|
const innerField = targetData[innerKey];
|
|
171
174
|
if (typeof innerField === 'object' && '$Type' in innerField) {
|
|
175
|
+
let index = templateParts.findIndex((templateKey) => templateKey === innerKey);
|
|
176
|
+
if (index === -1) {
|
|
177
|
+
index = fallbackIndex;
|
|
178
|
+
fallbackIndex++;
|
|
179
|
+
}
|
|
172
180
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
173
181
|
addField(sectionType, appSchema, innerField, `ConnectedFields::${target.qualifier}`, index.toString(), section, version, undefined, {
|
|
174
182
|
actions: properties,
|
|
175
183
|
fields: properties
|
|
176
|
-
});
|
|
177
|
-
index++;
|
|
184
|
+
}, target.fullyQualifiedName.split('@')[0]);
|
|
178
185
|
}
|
|
179
186
|
}
|
|
180
187
|
}
|
|
@@ -205,8 +212,9 @@ function getFieldsSchemaContainer(appSchema, ref, properties) {
|
|
|
205
212
|
* @param {FioriElementsVersion} version - Fiori Elements version
|
|
206
213
|
* @param {boolean} [withActions=true] - Fields with actions
|
|
207
214
|
* @param {FieldsContainerSchema} containersSchema - Schema definitions to store fields and actions.
|
|
215
|
+
* @param {string} [entityTypeName=section.entityType.fullyQualifiedNam] - Entity type name for annotation path resoluton.
|
|
208
216
|
*/
|
|
209
|
-
function addField(sectionType, appSchema, field, targetID, key, section, version, withActions = true, containersSchema = {}) {
|
|
217
|
+
function addField(sectionType, appSchema, field, targetID, key, section, version, withActions = true, containersSchema = {}, entityTypeName = section.entityType.fullyQualifiedName) {
|
|
210
218
|
// Calculate field reference
|
|
211
219
|
const fieldReferenceId = (0, StableIdHelper_1.getStableIdPartFromDataField)(field);
|
|
212
220
|
const fieldReference = version === ux_specification_types_2.FioriElementsVersion.v2 && fieldReferenceId && fieldReferenceId.includes('::')
|
|
@@ -250,7 +258,7 @@ function addField(sectionType, appSchema, field, targetID, key, section, version
|
|
|
250
258
|
};
|
|
251
259
|
//Add tags
|
|
252
260
|
addKeysTagToField(field, appSchema, schemaKeyOfField);
|
|
253
|
-
appSchema.definitions[schemaKeyOfField][ux_specification_types_2.SchemaTag.annotationPath] = `/${
|
|
261
|
+
appSchema.definitions[schemaKeyOfField][ux_specification_types_2.SchemaTag.annotationPath] = `/${entityTypeName}/${field.fullyQualifiedName.split(entityTypeName)[1]}`;
|
|
254
262
|
appSchema.definitions[schemaKeyOfField][ux_specification_types_2.SchemaTag.annotationType] = field.$Type;
|
|
255
263
|
appSchema.definitions[schemaKeyOfField][ux_specification_types_2.SchemaTag.isViewNode] = true;
|
|
256
264
|
(0, __1.addDataTypeToDefinition)(appSchema.definitions[schemaKeyOfField], field);
|