@sap/ux-specification 1.120.16 → 1.120.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +39 -15
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  9. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  10. package/dist/documentation/v4/v4-ListReport.html +2 -2
  11. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  12. package/dist/index-min.js +107 -107
  13. package/dist/index-min.js.map +4 -4
  14. package/dist/schemas/v2/AnalyticalListPageConfig.json +3 -3
  15. package/dist/schemas/v2/ListReportConfig.json +4 -4
  16. package/dist/schemas/v2/ObjectPageConfig.json +4 -4
  17. package/dist/schemas/v4/ApplicationV4.json +71 -0
  18. package/dist/schemas/v4/BuildingBlocksConfig.json +154 -147
  19. package/dist/specification/package.json +9 -9
  20. package/dist/specification/scripts/to-json-schema.js +4 -1
  21. package/dist/specification/scripts/to-json-schema.js.map +1 -1
  22. package/dist/specification/src/api.d.ts +8 -0
  23. package/dist/specification/src/api.d.ts.map +1 -1
  24. package/dist/specification/src/api.js +11 -3
  25. package/dist/specification/src/api.js.map +1 -1
  26. package/dist/specification/src/specification/schemaAccess.d.ts +1 -1
  27. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
  28. package/dist/specification/src/specification/schemaAccess.js +6 -5
  29. package/dist/specification/src/specification/schemaAccess.js.map +1 -1
  30. package/dist/specification/src/sync/common/appProvider.d.ts +2 -3
  31. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
  32. package/dist/specification/src/sync/common/appProvider.js +13 -9
  33. package/dist/specification/src/sync/common/appProvider.js.map +1 -1
  34. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
  35. package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
  36. package/dist/specification/src/sync/common/dist_tag.json +10 -5
  37. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
  38. package/dist/specification/src/sync/common/importProject.js +10 -3
  39. package/dist/specification/src/sync/common/importProject.js.map +1 -1
  40. package/dist/specification/src/sync/common/utils.d.ts +3 -2
  41. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  42. package/dist/specification/src/sync/common/utils.js +20 -16
  43. package/dist/specification/src/sync/common/utils.js.map +1 -1
  44. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +1 -0
  45. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  46. package/dist/specification/src/sync/v2/import/app/appProvider.js +31 -34
  47. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
  48. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
  49. package/dist/specification/src/sync/v2/import/app/ovpProvider.js +1 -1
  50. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  51. package/dist/specification/src/sync/v4/application.d.ts +2 -1
  52. package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
  53. package/dist/specification/src/sync/v4/application.js +7 -0
  54. package/dist/specification/src/sync/v4/application.js.map +1 -1
  55. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
  56. package/dist/specification/src/sync/v4/export/export.js +1 -2
  57. package/dist/specification/src/sync/v4/export/export.js.map +1 -1
  58. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
  59. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +3 -13
  60. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
  61. package/dist/specification/src/sync/v4/export/manifest.js +2 -2
  62. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
  63. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
  64. package/dist/specification/src/sync/v4/export/utils.js +3 -0
  65. package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
  66. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  67. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  68. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
  69. package/dist/specification/src/sync/v4/import/app/appProvider.js +3 -3
  70. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
  71. package/dist/specification/src/sync/v4/utils/StableIdHelper.js +4 -4
  72. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  73. package/dist/types/src/apiTypes.d.ts +15 -9
  74. package/dist/types/src/apiTypes.d.ts.map +1 -1
  75. package/dist/types/src/apiTypes.js +8 -7
  76. package/dist/types/src/apiTypes.js.map +1 -1
  77. package/dist/types/src/v4/application.d.ts +5 -1
  78. package/dist/types/src/v4/application.d.ts.map +1 -1
  79. package/package.json +10 -10
@@ -242,7 +242,7 @@
242
242
  ]
243
243
  },
244
244
  "smarttable.ExportType": {
245
- "description": "Provides the type of services available for export in the `SmartTable` control.\n\nThis enum is part of the 'sap/ui/comp/library' module export and must be accessed by the property 'smarttable.ExportType'.",
245
+ "description": "Provides the type of services available for export in the `SmartTable` control.",
246
246
  "enum": [
247
247
  "GW",
248
248
  "UI5Client",
@@ -451,7 +451,7 @@
451
451
  "additionalProperties": false
452
452
  },
453
453
  "ButtonType": {
454
- "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.\n\nThis enum is part of the 'sap/m/library' module export and must be accessed by the property 'ButtonType'.",
454
+ "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.",
455
455
  "enum": [
456
456
  "Accept",
457
457
  "Attention",
@@ -520,7 +520,7 @@
520
520
  "additionalProperties": false
521
521
  },
522
522
  "TextAlign": {
523
- "description": "Configuration options for text alignments.\n\nThis enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TextAlign'.",
523
+ "description": "Configuration options for text alignments.",
524
524
  "enum": [
525
525
  "Begin",
526
526
  "Center",
@@ -611,7 +611,7 @@
611
611
  ]
612
612
  },
613
613
  "smarttable.ExportType": {
614
- "description": "Provides the type of services available for export in the `SmartTable` control.\n\nThis enum is part of the 'sap/ui/comp/library' module export and must be accessed by the property 'smarttable.ExportType'.",
614
+ "description": "Provides the type of services available for export in the `SmartTable` control.",
615
615
  "enum": [
616
616
  "GW",
617
617
  "UI5Client",
@@ -820,7 +820,7 @@
820
820
  "additionalProperties": false
821
821
  },
822
822
  "ButtonType": {
823
- "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.\n\nThis enum is part of the 'sap/m/library' module export and must be accessed by the property 'ButtonType'.",
823
+ "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.",
824
824
  "enum": [
825
825
  "Accept",
826
826
  "Attention",
@@ -889,7 +889,7 @@
889
889
  "additionalProperties": false
890
890
  },
891
891
  "TextAlign": {
892
- "description": "Configuration options for text alignments.\n\nThis enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TextAlign'.",
892
+ "description": "Configuration options for text alignments.",
893
893
  "enum": [
894
894
  "Begin",
895
895
  "Center",
@@ -1348,7 +1348,7 @@
1348
1348
  "additionalProperties": false
1349
1349
  },
1350
1350
  "PopinLayout": {
1351
- "description": "Defines the layout options of the table popins.\n\nThis enum is part of the 'sap/m/library' module export and must be accessed by the property 'PopinLayout'.",
1351
+ "description": "Defines the layout options of the table popins.",
1352
1352
  "enum": [
1353
1353
  "Block",
1354
1354
  "GridLarge",
@@ -248,7 +248,7 @@
248
248
  "additionalProperties": false
249
249
  },
250
250
  "ButtonType": {
251
- "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.\n\nThis enum is part of the 'sap/m/library' module export and must be accessed by the property 'ButtonType'.",
251
+ "description": "Different predefined button types for the {@link sap.m.Button sap.m.Button}.",
252
252
  "enum": [
253
253
  "Accept",
254
254
  "Attention",
@@ -801,7 +801,7 @@
801
801
  "additionalProperties": false
802
802
  },
803
803
  "PopinLayout": {
804
- "description": "Defines the layout options of the table popins.\n\nThis enum is part of the 'sap/m/library' module export and must be accessed by the property 'PopinLayout'.",
804
+ "description": "Defines the layout options of the table popins.",
805
805
  "enum": [
806
806
  "Block",
807
807
  "GridLarge",
@@ -818,7 +818,7 @@
818
818
  "type": "string"
819
819
  },
820
820
  "smarttable.ExportType": {
821
- "description": "Provides the type of services available for export in the `SmartTable` control.\n\nThis enum is part of the 'sap/ui/comp/library' module export and must be accessed by the property 'smarttable.ExportType'.",
821
+ "description": "Provides the type of services available for export in the `SmartTable` control.",
822
822
  "enum": [
823
823
  "GW",
824
824
  "UI5Client",
@@ -1009,7 +1009,7 @@
1009
1009
  "additionalProperties": false
1010
1010
  },
1011
1011
  "TextAlign": {
1012
- "description": "Configuration options for text alignments.\n\nThis enum is part of the 'sap/ui/core/library' module export and must be accessed by the property 'TextAlign'.",
1012
+ "description": "Configuration options for text alignments.",
1013
1013
  "enum": [
1014
1014
  "Begin",
1015
1015
  "Center",
@@ -41,6 +41,10 @@
41
41
  "$ref": "#/definitions/ControllerExtensions",
42
42
  "description": "Controller extensions allow users to extensiate default behaviour with custom controllers code."
43
43
  },
44
+ "dependencies": {
45
+ "$ref": "#/definitions/Dependencies",
46
+ "description": "Dependencies of the application."
47
+ },
44
48
  "title": {
45
49
  "description": "To change the application header, in your project artifacts, change the i18n property file\nfor your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as\n{{appTitle}} in the sap.app section of the manifest file.",
46
50
  "i18nClassification": "TIT: Title of the application",
@@ -118,6 +122,73 @@
118
122
  },
119
123
  "additionalProperties": false
120
124
  },
125
+ "Dependencies": {
126
+ "type": "object",
127
+ "properties": {
128
+ "minUI5Version": {
129
+ "description": "Represents the minimum version of SAP UI5 that your component requires. It is either a specific version or an array of versions where each major version can only be included once. If array contains more than one version and if version 1 is included it must be at least 1.120.x.",
130
+ "anyOf": [
131
+ {
132
+ "type": "array",
133
+ "items": {
134
+ "type": "string"
135
+ }
136
+ },
137
+ {
138
+ "type": "string"
139
+ }
140
+ ]
141
+ },
142
+ "libs": {
143
+ "description": "Represents the id (namespace) of the libraries that should be loaded by UI5 Core to be used in your component",
144
+ "type": "object",
145
+ "additionalProperties": {
146
+ "$ref": "#/definitions/Lib"
147
+ }
148
+ },
149
+ "components": {
150
+ "description": "Represents the id (namespace) of the components that should be loaded by UI5 Core to be used in your component",
151
+ "type": "object",
152
+ "additionalProperties": {
153
+ "$ref": "#/definitions/Component"
154
+ }
155
+ }
156
+ },
157
+ "additionalProperties": false,
158
+ "required": [
159
+ "minUI5Version"
160
+ ]
161
+ },
162
+ "Lib": {
163
+ "description": "Represents sapui5 library name\n\nThis interface was referenced by `undefined`'s JSON-Schema definition\nvia the `patternProperty` \"^([a-z][a-z0-9]{0,39})(\\.[a-z][a-z0-9]{0,39})*$\".",
164
+ "type": "object",
165
+ "additionalProperties": {},
166
+ "properties": {
167
+ "minVersion": {
168
+ "description": "Represents minimal version of ui5 library",
169
+ "type": "string"
170
+ },
171
+ "lazy": {
172
+ "description": "Represents Indicator to lazy loading lib",
173
+ "type": "boolean"
174
+ }
175
+ }
176
+ },
177
+ "Component": {
178
+ "description": "Represents sapui5 component name\n\nThis interface was referenced by `undefined`'s JSON-Schema definition\nvia the `patternProperty` \"^([a-zA-Z_$][a-zA-Z0-9_$]{0,39}\\.)*([a-zA-Z_$][a-zA-Z0-9_$]{0,39})$\".",
179
+ "type": "object",
180
+ "additionalProperties": {},
181
+ "properties": {
182
+ "minVersion": {
183
+ "description": "Represents minimal version of ui5 component",
184
+ "type": "string"
185
+ },
186
+ "lazy": {
187
+ "description": "Represents Indicator to lazy loading component",
188
+ "type": "boolean"
189
+ }
190
+ }
191
+ },
121
192
  "PagesV4": {
122
193
  "type": "object",
123
194
  "additionalProperties": {
@@ -45,6 +45,82 @@
45
45
  "type": "Control"
46
46
  }
47
47
  },
48
+ "sap.fe.macros.KPITag": {
49
+ "description": "Building block used to create a KPI tag.",
50
+ "isViewNode": true,
51
+ "type": "object",
52
+ "properties": {
53
+ "number": {
54
+ "type": "any",
55
+ "description": "The Number to be displayed.",
56
+ "artifactType": "XMLProperty",
57
+ "metadata": {
58
+ "type": "Property"
59
+ }
60
+ },
61
+ "showIcon": {
62
+ "type": "boolean",
63
+ "description": "Set it to `true` if the KPI should display its status icon.",
64
+ "artifactType": "XMLProperty",
65
+ "metadata": {
66
+ "type": "Property"
67
+ }
68
+ },
69
+ "status": {
70
+ "type": "any",
71
+ "description": "The Status to be displayed.",
72
+ "artifactType": "XMLProperty",
73
+ "metadata": {
74
+ "type": "Property"
75
+ }
76
+ },
77
+ "text": {
78
+ "type": "any",
79
+ "description": "The Text to be displayed.",
80
+ "artifactType": "XMLProperty",
81
+ "metadata": {
82
+ "type": "Property"
83
+ }
84
+ },
85
+ "tooltip": {
86
+ "type": "any",
87
+ "description": "The Tooltip to be displayed.",
88
+ "artifactType": "XMLProperty",
89
+ "metadata": {
90
+ "type": "Property"
91
+ }
92
+ },
93
+ "unit": {
94
+ "type": "any",
95
+ "description": "The Unit of Measure of the number to be displayed.",
96
+ "artifactType": "XMLProperty",
97
+ "metadata": {
98
+ "type": "Property"
99
+ }
100
+ },
101
+ "id": {
102
+ "type": "string",
103
+ "description": "Unique id of control",
104
+ "artifactType": "XMLProperty",
105
+ "metadata": {
106
+ "type": "Property"
107
+ }
108
+ },
109
+ "press": {
110
+ "type": "string",
111
+ "description": "An event is triggered when the KPI is pressed.",
112
+ "artifactType": "XMLProperty",
113
+ "metadata": {
114
+ "type": "Event"
115
+ }
116
+ }
117
+ },
118
+ "additionalProperties": false,
119
+ "metadata": {
120
+ "path": [],
121
+ "type": "Control"
122
+ }
123
+ },
48
124
  "sap.fe.macros.MacroAPI": {
49
125
  "description": "Base API control for building blocks.",
50
126
  "isViewNode": true,
@@ -81,6 +157,58 @@
81
157
  "type": "Control"
82
158
  }
83
159
  },
160
+ "sap.fe.macros.MultiValueField": {
161
+ "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",
162
+ "isViewNode": true,
163
+ "type": "object",
164
+ "properties": {
165
+ "contextPath": {
166
+ "type": "string",
167
+ "description": "The context path provided for the MultiValueField",
168
+ "artifactType": "XMLProperty",
169
+ "metadata": {
170
+ "type": "Property"
171
+ }
172
+ },
173
+ "items": {
174
+ "type": "any",
175
+ "description": "Property added to be able to add data / items to the multi value field via a different model",
176
+ "artifactType": "XMLProperty",
177
+ "metadata": {
178
+ "type": "Property"
179
+ }
180
+ },
181
+ "metaPath": {
182
+ "type": "string",
183
+ "description": "Defines the relative Metadata path to the MultiValueField.\nThe metaPath should point to a Property or DataField.",
184
+ "artifactType": "XMLProperty",
185
+ "metadata": {
186
+ "type": "Property"
187
+ }
188
+ },
189
+ "readOnly": {
190
+ "type": "any",
191
+ "description": "The readOnly flag",
192
+ "artifactType": "XMLProperty",
193
+ "metadata": {
194
+ "type": "Property"
195
+ }
196
+ },
197
+ "id": {
198
+ "type": "string",
199
+ "description": "Unique id of control",
200
+ "artifactType": "XMLProperty",
201
+ "metadata": {
202
+ "type": "Property"
203
+ }
204
+ }
205
+ },
206
+ "additionalProperties": false,
207
+ "metadata": {
208
+ "path": [],
209
+ "type": "Control"
210
+ }
211
+ },
84
212
  "sap.fe.macros.RichTextEditor": {
85
213
  "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",
86
214
  "isViewNode": true,
@@ -593,6 +721,14 @@
593
721
  "type": "Property"
594
722
  }
595
723
  },
724
+ "description": {
725
+ "type": "string",
726
+ "description": "This is used to optionally provide an external description that comes from a different model than the oData model.\nThis should be used in conjunction with the value property.",
727
+ "artifactType": "XMLProperty",
728
+ "metadata": {
729
+ "type": "Property"
730
+ }
731
+ },
596
732
  "formatOptions": {
597
733
  "$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
598
734
  "description": "formatOptions",
@@ -628,7 +764,7 @@
628
764
  },
629
765
  "value": {
630
766
  "type": "string",
631
- "description": "This is used to optionally provide an external value that comes from a different model than the oData model",
767
+ "description": "This is used to optionally provide an external value that comes from a different model than the oData model.\nIt is designed to work with a field with value help, and without support for complex value help (currency / unit).",
632
768
  "artifactType": "XMLProperty",
633
769
  "metadata": {
634
770
  "type": "Property"
@@ -678,6 +814,14 @@
678
814
  "type": "Property"
679
815
  }
680
816
  },
817
+ "description": {
818
+ "type": "string",
819
+ "description": "This is used to optionally provide an external description that comes from a different model than the oData model.\nThis should be used in conjunction with the value property.",
820
+ "artifactType": "XMLProperty",
821
+ "metadata": {
822
+ "type": "Property"
823
+ }
824
+ },
681
825
  "formatOptions": {
682
826
  "$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
683
827
  "description": "formatOptions",
@@ -713,7 +857,7 @@
713
857
  },
714
858
  "value": {
715
859
  "type": "string",
716
- "description": "This is used to optionally provide an external value that comes from a different model than the oData model",
860
+ "description": "This is used to optionally provide an external value that comes from a different model than the oData model.\nIt is designed to work with a field with value help, and without support for complex value help (currency / unit).",
717
861
  "artifactType": "XMLProperty",
718
862
  "metadata": {
719
863
  "type": "Property"
@@ -1131,97 +1275,6 @@
1131
1275
  "type": "Control"
1132
1276
  }
1133
1277
  },
1134
- "sap.fe.macros.KPITag": {
1135
- "description": "Building block used to create a KPI tag.",
1136
- "isViewNode": true,
1137
- "type": "object",
1138
- "properties": {
1139
- "number": {
1140
- "anyOf": [
1141
- {
1142
- "type": "number"
1143
- },
1144
- {
1145
- "type": "string",
1146
- "pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
1147
- }
1148
- ],
1149
- "description": "The Number to be displayed.",
1150
- "artifactType": "XMLProperty",
1151
- "metadata": {
1152
- "type": "Property"
1153
- }
1154
- },
1155
- "showIcon": {
1156
- "type": "boolean",
1157
- "description": "Set it to `true` if the KPI should display its status icon.",
1158
- "artifactType": "XMLProperty",
1159
- "metadata": {
1160
- "type": "Property"
1161
- }
1162
- },
1163
- "status": {
1164
- "type": "string",
1165
- "description": "The Status to be displayed.",
1166
- "artifactType": "XMLProperty",
1167
- "metadata": {
1168
- "type": "Property"
1169
- },
1170
- "enum": [
1171
- "Success",
1172
- "Error",
1173
- "Warning",
1174
- "None",
1175
- "Information"
1176
- ]
1177
- },
1178
- "text": {
1179
- "type": "string",
1180
- "description": "The Text to be displayed.",
1181
- "artifactType": "XMLProperty",
1182
- "metadata": {
1183
- "type": "Property"
1184
- }
1185
- },
1186
- "tooltip": {
1187
- "type": "string",
1188
- "description": "The Tooltip to be displayed.",
1189
- "artifactType": "XMLProperty",
1190
- "metadata": {
1191
- "type": "Property"
1192
- }
1193
- },
1194
- "unit": {
1195
- "type": "string",
1196
- "description": "The Unit of Measure of the number to be displayed.",
1197
- "artifactType": "XMLProperty",
1198
- "metadata": {
1199
- "type": "Property"
1200
- }
1201
- },
1202
- "id": {
1203
- "type": "string",
1204
- "description": "Unique id of control",
1205
- "artifactType": "XMLProperty",
1206
- "metadata": {
1207
- "type": "Property"
1208
- }
1209
- },
1210
- "press": {
1211
- "type": "string",
1212
- "description": "An event is triggered when the KPI is pressed.",
1213
- "artifactType": "XMLProperty",
1214
- "metadata": {
1215
- "type": "Event"
1216
- }
1217
- }
1218
- },
1219
- "additionalProperties": false,
1220
- "metadata": {
1221
- "path": [],
1222
- "type": "Control"
1223
- }
1224
- },
1225
1278
  "sap.fe.macros.MicroChart": {
1226
1279
  "description": "Building block used to create a MicroChart based on the metadata provided by OData V4.",
1227
1280
  "isViewNode": true,
@@ -1262,60 +1315,6 @@
1262
1315
  "type": "Control"
1263
1316
  }
1264
1317
  },
1265
- "sap.fe.macros.MultiValueField": {
1266
- "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&lt;macros:MultiValueField\n id=\"SomeUniqueIdentifier\"\n contextPath=\"{entitySet&gt;}\"\n metaPath=\"{dataField&gt;}\"\n /&gt;\n",
1267
- "isViewNode": true,
1268
- "type": "object",
1269
- "properties": {
1270
- "contextPath": {
1271
- "$ref": "#/definitions/sap.ui.model.Context",
1272
- "description": "contextPath",
1273
- "artifactType": "XMLProperty",
1274
- "isViewNode": true,
1275
- "metadata": {
1276
- "type": "Property"
1277
- }
1278
- },
1279
- "items": {
1280
- "type": "string",
1281
- "description": "Property added to be able to add data / items to the multi value field via a different model",
1282
- "artifactType": "XMLProperty",
1283
- "metadata": {
1284
- "type": "Property"
1285
- }
1286
- },
1287
- "metaPath": {
1288
- "$ref": "#/definitions/sap.ui.model.Context",
1289
- "description": "metaPath",
1290
- "artifactType": "XMLProperty",
1291
- "isViewNode": true,
1292
- "metadata": {
1293
- "type": "Property"
1294
- }
1295
- },
1296
- "readOnly": {
1297
- "type": "boolean",
1298
- "description": "The readOnly flag",
1299
- "artifactType": "XMLProperty",
1300
- "metadata": {
1301
- "type": "Property"
1302
- }
1303
- },
1304
- "id": {
1305
- "type": "string",
1306
- "description": "Unique id of control",
1307
- "artifactType": "XMLProperty",
1308
- "metadata": {
1309
- "type": "Property"
1310
- }
1311
- }
1312
- },
1313
- "additionalProperties": false,
1314
- "metadata": {
1315
- "path": [],
1316
- "type": "Control"
1317
- }
1318
- },
1319
1318
  "sap.fe.macros.Paginator": {
1320
1319
  "description": "Building block used to create a paginator control.\nUsage example:\n\n&lt;macros:Paginator /&gt;\n\n",
1321
1320
  "isViewNode": true,
@@ -3009,6 +3008,14 @@
3009
3008
  "isViewNode": true,
3010
3009
  "type": "object",
3011
3010
  "properties": {
3011
+ "createInPlace": {
3012
+ "type": "boolean",
3013
+ "description": "Specifies if the new entry should be placed at the position computed by the backend (e.g. taking sorting into account).\nThe default value is 'false' (that is, the new entry is placed as the first child below its parent).\n",
3014
+ "artifactType": "XMLProperty",
3015
+ "metadata": {
3016
+ "type": "Property"
3017
+ }
3018
+ },
3012
3019
  "isCreateEnabled": {
3013
3020
  "type": "string",
3014
3021
  "description": "Defines the extension point to control the enablement of the Create button or Create Menu buttons.\n",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.120.16",
3
+ "version": "1.120.18",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -51,27 +51,27 @@
51
51
  "publisher": "SAPSE",
52
52
  "license": "SEE LICENSE IN LICENSE",
53
53
  "dependencies": {
54
- "@sap-ux/fe-fpm-writer": "0.25.0",
55
- "@sap-ux/vocabularies-types": "0.10.14"
54
+ "@sap-ux/fe-fpm-writer": "0.27.5",
55
+ "@sap-ux/vocabularies-types": "0.11.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@sap-ux/annotation-converter": "0.8.15",
59
- "@sap-ux/edmx-parser": "0.7.1",
60
- "@sap/ux-specification-types": "1.120.16",
61
- "@sapui5/types": "1.125.1",
58
+ "@sap-ux/annotation-converter": "0.9.2",
59
+ "@sap-ux/edmx-parser": "0.8.0",
60
+ "@sap/ux-specification-types": "1.120.18",
61
+ "@sapui5/types": "1.120.19",
62
62
  "@types/d3": "7.4.3",
63
63
  "@types/jquery": "3.5.30",
64
64
  "@types/mem-fs-editor": "7.0.7",
65
65
  "@ui5/flexibility-utils": "0.1.3",
66
66
  "@xml-tools/ast": "5.0.5",
67
67
  "@xml-tools/parser": "1.0.11",
68
- "axios": "1.7.2",
68
+ "axios": "1.7.4",
69
69
  "copyfiles": "2.4.1",
70
70
  "d3": "7.9.0",
71
71
  "deepmerge": "4.3.1",
72
72
  "ejs": "3.1.10",
73
73
  "excel4node": "1.8.2",
74
- "i18next": "23.11.5",
74
+ "i18next": "23.14.0",
75
75
  "jquery": "3.7.1",
76
76
  "jsdom": "24.1.1",
77
77
  "lodash.unset": "4.5.2",
@@ -126,13 +126,16 @@ function convertPagesOfFEVersion(paths, version, outputPath) {
126
126
  });
127
127
  }
128
128
  }
129
+ function getPosition(string, subString, index) {
130
+ return string.split(subString, index).join(subString).length;
131
+ }
129
132
  /**
130
133
  * Converts all application and page definitions to JSON schema
131
134
  * @param outputPath - path to write to
132
135
  */
133
136
  async function toJsonSchema(outputPath) {
134
137
  let schemas = [];
135
- const rootName = __dirname.slice(0, __dirname.lastIndexOf('specification'));
138
+ const rootName = __dirname.slice(0, getPosition(__dirname, 'specification', 2));
136
139
  const typesPath = (0, path_1.join)(rootName, 'types', 'src');
137
140
  //Pages V2
138
141
  let paths = [];
@@ -1 +1 @@
1
- {"version":3,"file":"to-json-schema.js","sourceRoot":"","sources":["../../../scripts/to-json-schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAsC;AACtC,uCAAyB;AAEzB,mEAA6E;AAC7E,yDAAgE;AAChE,2DAAuF;AACvF,2DAAuF;AAEvF,wEAAmE;AAKnE,4CAA4C;AAC5C,MAAM,eAAe,GAAG;IACpB,YAAY,EAAE,IAAI;IAClB,KAAK,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,CAAC;IACxC,eAAe,EAAE,IAAI;IACrB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,IAAI;CAC3B,CAAC;AAEF,MAAM,iBAAiB,GAAG;IACtB,YAAY,EAAE,IAAI,EAAE,uDAAuD;IAC3E,QAAQ,EAAE,IAAI,EAAE,qDAAqD;IACrE,kBAAkB,EAAE;QAChB,oBAAoB;QACpB,YAAY;QACZ,aAAa;QACb,iBAAiB;QACjB,QAAQ;QACR,SAAS;QACT,cAAc;QACd,mBAAmB;QACnB,YAAY;KACf;CACJ,CAAC;AAEF;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAAY,EAAE,KAAe,EAAE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C,EAAE,EAAE,UAAU,CAAC,CAAC;IACpE,QAAQ;IACR,OAAO,GAAG,iBAAiB,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,EAAE,6CAAoB,CAAC,EAAE,CAAC,CAAC;IAClG,kBAAkB,CAAC,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9C,QAAQ;IACR,OAAO,GAAG,iBAAiB,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,EAAE,6CAAoB,CAAC,EAAE,CAAC,CAAC;IAClG,kBAAkB,CAAC,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,GAAG,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAC7C,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IACtB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;AACtB,CAAC;AACD,kDAAkD;AAClD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC;IAC9B,YAAY,CAAC,GAAG,CAAC,CAAC;AACtB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { ExportResults, File, GenerateSchemaParameters, ExportConfigParameters, ImportConfigParameters, ImportProjectParameters, ApiVersion, GenerateCustomExtensionParams, ExportConfigWithPath } from '@sap/ux-specification-types';
2
2
  import type { Editor } from 'mem-fs-editor';
3
+ import { PromptsAPI, PromptsType } from '@sap-ux/fe-fpm-writer';
3
4
  /**
4
5
  * Return the generic (project independent) JSON schema
5
6
  * @param specification - reference to spec
@@ -8,6 +9,13 @@ import type { Editor } from 'mem-fs-editor';
8
9
  * @returns the generic schema for the given Fiori Elements version and schema type
9
10
  */
10
11
  export { getGenericSchema } from './specification/schemaAccess';
12
+ /**
13
+ * API class to request and handle prompts for fpm-writer features.
14
+ */
15
+ export declare const prompts: {
16
+ api: typeof PromptsAPI;
17
+ types: typeof PromptsType;
18
+ };
11
19
  /**
12
20
  * Generate JSON schema for a given Fiori elements version and page type
13
21
  * @param generateParameters: the input structure that contains the version, schema type, and parameters
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/api.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAER,aAAa,EACb,IAAI,EACJ,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EAEV,6BAA6B,EAC7B,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AA2BrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AA+B5C;;;;;;GAMG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,kBAAkB,EAAE,wBAAwB,GAAG,MAAM,CA2GnF;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,gBAAgB,EAAE,sBAAsB,GAAG,aAAa,CAiBpF;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,aAAa,CAkB9F;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,aAAa,CAkB9F;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,gBAAgB,EAAE,sBAAsB,GAAG,MAAM,GAAG,SAAS,CAgCzF;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,gBAAgB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAE9F;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,gBAAgB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAEpG;AAED;;;GAGG;AACH,wBAAgB,aAAa,I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