@sap/ux-specification 1.120.19 → 1.124.1

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 (46) hide show
  1. package/CHANGELOG.md +7 -521
  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 +80 -80
  13. package/dist/index-min.js.map +3 -3
  14. package/dist/schemas/v2/AnalyticalListPageConfig.json +13 -10
  15. package/dist/schemas/v2/ListReportConfig.json +20 -15
  16. package/dist/schemas/v2/ObjectPageConfig.json +22 -16
  17. package/dist/schemas/v4/ListReportConfig.json +18 -0
  18. package/dist/schemas/v4/ObjectPageConfig.json +6 -0
  19. package/dist/specification/package.json +3 -3
  20. package/dist/specification/src/sync/common/dist_tag.json +8 -13
  21. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -1
  22. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +10 -5
  23. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  24. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
  25. package/dist/specification/src/sync/v2/export/controls/Table.js +10 -5
  26. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
  27. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -0
  28. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
  29. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +11 -0
  30. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
  31. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +2 -0
  32. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  33. package/dist/specification/src/sync/v4/export/controls/Table.js +22 -0
  34. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  35. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
  36. package/dist/specification/src/sync/v4/generate/listReport.js +38 -36
  37. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
  38. package/dist/specification/src/sync/v4/utils/utils.d.ts +1 -1
  39. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  40. package/dist/specification/src/sync/v4/utils/utils.js +4 -2
  41. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  42. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +5 -5
  43. package/dist/types/src/v2/controls/Table.d.ts +9 -9
  44. package/dist/types/src/v4/controls/Table.d.ts +4 -0
  45. package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
  46. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -8,7 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and the change
8
8
 
9
9
  [NodeJS](https://nodejs.org/en/download/) Version `18.18.0` or higher
10
10
 
11
- ## [1.120.19] - 2024-09-04
11
+ ## [1.124.1] - 2024-09-04
12
12
 
13
13
  ### Added
14
14
 
@@ -31,11 +31,15 @@ Upgrades:
31
31
  - jsdom to 24.1.3
32
32
  - new resolution: "@sap/ux-cds-compiler-facade": "1.14.2"
33
33
 
34
- ## [1.120.18] - 2024-08-21
34
+ ## [1.124.0] - 2024-08-21
35
35
 
36
36
  ### Added
37
37
 
38
- A newer version 1.124.0 gets introduced for SAP UI5 versions >= 1.124; ux-specification 1.124.0 (or higher min version) will be retrieved by defining 'latest' in package.json.
38
+ First version for SAP UI5 1.124 and higher
39
+
40
+ OData V4:
41
+
42
+ - Support of `disableCopyToClipboard` table property
39
43
 
40
44
  ### Changed
41
45
 
@@ -64,521 +68,3 @@ Upgrades:
64
68
  - @sap-ux/vocabularies-types to 0.11.1
65
69
  - @sap-ux/annotation-converter to 0.9.2
66
70
  - @sap-ux/edmx-parser to 0.7.1
67
-
68
- ## [1.120.17] - 2024-08-07
69
-
70
- ### Added
71
-
72
- OData V4:
73
-
74
- - Specification API - support 'prompts' api using class "PromptsAPI" from "@sap-ux/fe-fpm-writer"
75
- - Adds required `sap.fe.*` libraries to manifest.json on page creation
76
-
77
- ### Quality
78
-
79
- Upgrades:
80
-
81
- - "@sap-ux/fe-fpm-writer" to "0.26.4"
82
- - "axios" to "1.7.4"
83
- - "esbuild" to "0.23.0"
84
- - "i18next" to "23.12.2"
85
-
86
- ## [1.120.16] - 2024-07-24
87
-
88
- ### Quality
89
-
90
- Upgrades:
91
-
92
- - @sap-ux/annotation-converter to 0.8.15
93
- - @sap-ux/vocabularies-types to 0.10.14
94
- - prettier to 3.3.3
95
- - rimraf to 5.0.9
96
- - semver to 7.6.3
97
- - jsdom to 24.1.1
98
-
99
- ## [1.120.15] - 2024-07-11
100
-
101
- ### Changed
102
-
103
- - The API function getApiVersion now also returns the module version of the given ux-specification module.
104
-
105
- ### Fixed
106
-
107
- - An error message "UI.Lineitem annotation has not been defined" was incorrectly returned in cases where the app uses views with (Selection)PresentationVariants leading to valid Lineitem annotations with a qualifier.
108
-
109
- ### Quality
110
-
111
- Upgrades:
112
-
113
- - @sap-ux/fe-fpm-writer to 0.25.0
114
- - @ui5/manifest to 1.66.0
115
- - npm-run-all2 to 6.2.2
116
- - rimraf to 5.0.8
117
- - @sapui5/types to 1.125.1
118
-
119
- ## [1.120.14] - 2024-06-26
120
-
121
- ### Fixed
122
-
123
- - Property fitContainer is no longer provided for change in v2 LR and ALP apps.
124
- - v4. Route pattern is not used during export which leads to different key generation after undo in page map
125
-
126
- ### Quality
127
-
128
- Upgrades:
129
-
130
- - esbuild to 0.21.5
131
- - npm-run-all2 to 6.2.0
132
- - prettier to 3.3.2
133
- - ts-jest to 29.1.5
134
- - resolution for ws 8.17.1
135
- - @sap-ux/annotation-converter to 0.8.14
136
- - @sap-ux/vocabularies-types to 0.10.13
137
-
138
- ## [1.120.13] - 2024-06-13
139
-
140
- ### Added
141
-
142
- OData V4:
143
-
144
- - Custom actions support within custom sections
145
-
146
- ### Fixed
147
-
148
- OData V4:
149
-
150
- - FilterBar macro with SelectionField annotation with qualifier is not resolved(annotationPath is missing)
151
- - Exception in case of line item annotations having an ID starting with "LineItems"
152
-
153
- ### Quality
154
-
155
- Upgrades:
156
-
157
- - rimraf to 5.0.7
158
- - ts-jest to 29.1.4
159
- - @sap-ux/fe-fpm-writer to v0.24.15
160
- - jsdom to 24.1.0
161
- - axios to 1.7.2
162
- - @sapui5/types to 1.125.0
163
-
164
- ## [1.120.12] - 2024-05-31
165
-
166
- ### Added
167
-
168
- - OData V4: Related Apps button and its manifest settings
169
- - General: support array-like definition of minUI5Version in manifest
170
-
171
- ### Changed
172
-
173
- OData V4:
174
-
175
- - Updated custom sections storage from array to object in schema
176
- - The showRelatedApps property is moved from the Object Page Header to the new Related Apps button.
177
-
178
- ### Fixed
179
-
180
- - List Report V2: LineItem should be taken from PV without qualifier when annotationPath points to a SV
181
-
182
- ### Quality
183
-
184
- Upgrades:
185
-
186
- - @sap-ux/annotation-converter to 0.8.13
187
- - @sap-ux/vocabularies-types to 0.10.12
188
- - semver to 7.6.2
189
- - i18next to 23.11.5
190
- - ini to 4.1.3
191
- - @ui5/manifest to 1.65.1
192
- - new resolution: micromatch ^4.0.6
193
- - new resolution: braces ^3.0.3
194
-
195
- ## [1.120.11] - 2024-05-16
196
-
197
- ### Added
198
-
199
- - The new API functions exportConfigEntityByPath and deleteConfigEntityByPath from 1.120.6 are now published in the external interface.
200
-
201
- ### Changed
202
-
203
- - The logic for defining the keys of V2 sections in the app schema has been adapted, so that the facet ID is now representing the facet in the key, if defined, instead of the target annotation path.
204
-
205
- ### Removed
206
-
207
- - Properties disableInlineCreateSort and selectionLimit were removed from the global table settings of OData V2, as they are not supported yet by the run-time.
208
-
209
- ### Fixed
210
-
211
- - V4. Schema generation for object page. Section label is not resolved within target definition and id was presented in "description"
212
- - V4. Schema generation for building block macros. AnnotationPath was not resolved for macros when absolute path was used in "metaPath" attribute
213
-
214
- ### Quality
215
-
216
- Upgrades:
217
-
218
- - @ui5/manifest to 1.65.0
219
- - @sap-ux/annotation-converter to 0.8.12
220
- - @sap-ux/vocabularies-types to 0.10.11
221
- - @sap-ux/fe-fpm-writer to 0.24.11
222
- - @types/jquery to 3.5.30
223
- - i18next to 23.11.4
224
-
225
- ## [1.120.10] - 2024-05-02
226
-
227
- ### Added
228
-
229
- - OData V4:
230
- - property widthIncludingColumnHeader on table and column level
231
-
232
- ### Changed
233
-
234
- - In a previous version, the tag `descriptionSrcUrl` (link to the UI5 documentation) was added in form of a JSDoc annotation. It became evident that this annotation was not transferred correctly in all cases to the JSON schema by the to-json-schema generator.
235
- To overcome this problem, `descriptionSrcUrl` is now placed in form of reflect metadata at all sync classes, and added to the schema by an own post-processing routine `processMetadata` that evaluates the reflect metadata.
236
-
237
- ### Removed
238
-
239
- - Property createMode was removed from the global table settings of OData V2, as it is not supported yet by the run-time.
240
-
241
- ### Deprecated
242
-
243
- ### Fixed
244
-
245
- OData V4:
246
-
247
- - view properties like custom columns or table settings had not been exported, as the anyOf definition of additionalProperties had not been considered during the export.
248
- - sync rule was missing for ViewToolBarAction.afterExecution
249
- - partially an invalid annotationPath was added for views, comprising '@@'
250
- - toolbar actions had partially not been considered during the import
251
- - the export of table properties had overwritten the export from views
252
- - the export now supports two different constellations for anyOf definitions in schema:
253
- - anyOf directly defined as additionalProperties (of MultiTableMode)
254
- - anyOf reachable via $ref, properties defined there.
255
- - Custom section fragments with event handler. `core:require` attribute is moved from `Button` to wrapper `VBox`
256
- - Default 'empty' `manifest.json` is returned after export of FPM Custom Page
257
- - The generation of config files failed with exception if a custom header action was defined with an invalid type, like string.
258
- - empty `sap.ui5/routing/config` object removed from `manifest.json` during export
259
-
260
- OData V2:
261
-
262
- - The logic that determines the LineItem and the Chart annotation to be used by ALP was not in sync with the logic implemented in Fiori Elements v2. The logic has been adapted accordingly.
263
-
264
- ### Quality
265
-
266
- - Code comments added in types package that explain the interfaces and refer to their implementation classes
267
-
268
- Upgrades:
269
-
270
- - @ui5/manifest to 1.64.0
271
-
272
- ## [1.120.9] - 2024-04-17
273
-
274
- ### Added
275
-
276
- - Odata V4: Support of SelectionPresentationVariants at Object Page tables
277
-
278
- ### Changed
279
-
280
- - OData V2:
281
- - Documentation for property createMode of OP table adapted
282
- - Fragment templates for custom column extensions for AnalyticalTable, GridTable, TreeTable, ResponsiveTable
283
-
284
- ### Removed
285
-
286
- ### Deprecated
287
-
288
- ### Fixed
289
-
290
- - V4 Macros. Property 'personalization' exported as XML element instead of attribute into xml file
291
-
292
- ### Quality
293
-
294
- - Update transitive dependencies
295
- - cpy-cli replaced by copyfiles
296
-
297
- Upgrades
298
-
299
- - @sap-ux/annotation-converter to 0.8.10
300
- - @sap-ux/vocabularies-types to 0.10.9
301
- - ejs to 3.1.10
302
- - i18next to 23.11.2
303
- - new resolution for tar 6.2.1
304
-
305
- ## [1.120.8] - 2024-04-04
306
-
307
- ### Quality
308
-
309
- - Update transitive dependencies
310
-
311
- Upgrades
312
-
313
- - axios to 1.6.8
314
- - esbuild to 0.20.2
315
- - semver to 7.6.0
316
- - yarn to 1.22.22
317
- - d3 to 7.9.0
318
- - reflect-metadata to 0.2.2
319
- - jest to 29.7.0
320
- - ts-jest to 29.1.2
321
-
322
- ## [1.120.7] - 2024-03-20
323
-
324
- ### Added
325
-
326
- - OData V4:
327
- - String type to bindable number type properties in macros schema
328
- - Overview Pages: support three different ways of defining the colors of cards
329
-
330
- ### Quality
331
-
332
- - Update transitive dependencies
333
-
334
- Upgrades
335
-
336
- - @sap-ux/vocabularies-types to 0.10.8
337
- - @sap-ux/annotation-converter to 0.8.9
338
- - @sap-ux/edmx-parser to 0.7.1
339
- - @typescript-eslint/eslint-plugin to 7.1.1
340
- - @typescript-eslint/parser to 7.1.1
341
- - @types/jest to 29.5.12
342
- - @ui5/manifest to v1.63.0
343
- - cpy-cli to 5.0.0
344
- - eslint-config-prettier to 9.1.0
345
- - eslint-plugin-prettier to 5.1.3
346
- - i18next to 23.10.1
347
- - jest to 29.5.0,
348
- - jsdom to 24.0.0
349
- - patch-package to 8.0.0
350
- - npm-run-all2 to 6.1.2
351
- - prettier to 3.2.5
352
- - ts-jest to 29.1.1
353
- - ts-node to 10.9.2
354
- - typescript to 5.3.2
355
- - uuid to 9.0.1
356
- - switch from sapui5/ts-types-esm to sapui5/types 1.120.9
357
- - resolution of ini to 4.0.0
358
- - resolution of parse-url to 9.0.0
359
- - cleanup of other resolutions
360
-
361
- ## [1.120.6] - 2024-03-07
362
-
363
- ### Added
364
-
365
- - New API functions exportConfigEntityByPath and deleteConfigEntityByPath have been added that allow a selective export or deletion of a single property or section from a config.json. The additional parameter entityPath must be applied. The new functions are released for List Report, Object Page and Analytical List Page of OData V2 and V4.
366
- - In the API result a change indicator is added that shows if the manifest was changed. In case of the new functions exportConfigEntityByPath and deleteConfigEntityByPath, only updated fragment files are returned (V2 flexibility changes are still returned completely due to compatibility, deletion is indicated by newValue = null).
367
-
368
- ### Changed
369
-
370
- - Increased `fe-fpm-writer` api version to include fix for controller extension namespace
371
- - Actualization of the README file.
372
-
373
- ### Fixed
374
-
375
- - An invalid app schema had been generated before, in case of table custom columns
376
-
377
- ### Quality
378
-
379
- - Update transitive dependencies
380
-
381
- Upgrades
382
-
383
- - eslint to v8.57.0
384
- - @types/semver: obsolete dependency deleted
385
- - esbuild to v0.20.1
386
-
387
- ## [1.120.5] - 2024-02-21
388
-
389
- ### Added
390
-
391
- - OData V2:
392
- - Support of Header facets on Object Page
393
- - UX adjustments of inplace documentation:
394
- - Support for Screen Readers and Arrow Navigation
395
-
396
- ### Changed
397
-
398
- - Increased `fe-fpm-writer` api version
399
-
400
- ### Quality
401
-
402
- - Update transitive dependencies
403
-
404
- Upgrades
405
-
406
- - @sapui5/ts-types-esm to v1.120.6
407
- - @sap-ux/fe-fpm-writer to v0.24.7
408
- - @sap-ux/vocabularies-types to 0.10.5
409
- - @sap-ux/annotation-converter to 0.8.6
410
- - @types/semver to v7.5.7
411
- - @ui5/manifest to v1.62.1
412
-
413
- ## [1.120.4] - 2024-02-08
414
-
415
- ### Added
416
-
417
- OData V2:
418
-
419
- - Support of "copy" setting for tables in List Report, Analytical List Page and Object Page
420
-
421
- ### Fixed
422
-
423
- - Invalid object-like descriptions and keys had been generated into the app-specific schemas if DataFieldForIntentBasedNavigation was defined with a path reference
424
- - An exception happened during app schema generation if a NavigationProperty pointed to an invalid target annotation
425
- - OData V4:
426
- - Enum for macros table `variantManagement` property
427
- - Wrong resolution of contextPath in case of containment as target for a page, leading to an exception during the schema generation
428
- - Invalid '/' in app schema definition names replaced by '::'
429
-
430
- ### Quality
431
-
432
- - Update transitive dependencies
433
-
434
- Upgrades
435
-
436
- - esbuild to 0.20.0
437
- - axios to 1.6.7
438
- - switch from npm-run-all 4.1.5 to npm-run-all2 5.0.2
439
- - @sap-ux/fe-fpm-writer to 0.24.4
440
- - @sap-ux/vocabularies-types to 0.10.4
441
-
442
- ## [1.120.3] - 2024-01-25
443
-
444
- ### Added
445
-
446
- - OData V4:
447
- - View columns set as view nodes
448
-
449
- ### Fixed
450
-
451
- - OData V4:
452
- - Schema is not generated for custom page when namespaces are not defined in view file
453
-
454
- ### Quality
455
-
456
- - Update transitive dependencies
457
-
458
- Upgrades
459
-
460
- - @sap-ux/annotation-converter to 0.8.2
461
- - @sap-ux/vocabularies-types to 0.10.2
462
- - @sap-ux/vocabularies-types to 0.10.2
463
-
464
- ## [1.120.2] - 2024-01-11
465
-
466
- ### Added
467
-
468
- - UX adjustments of inplace documentation:
469
- - Support of Keyboard Navigation
470
- - OData V2: Support of global table settings for object pages
471
- - OData V4:
472
- - OP: Added support for `Edit` and `Delete` standard actions considering draft support and capabilities annotation
473
- - OP: Sequence of actions is now based on criticality annotation
474
- - TBD
475
-
476
- ### Changed
477
-
478
- - Alignment of settings for sap.ovp:
479
- The global settings and card specific settings have been compared with the actual status of the documentation and the subschema as available at <https://www.npmjs.com/package/@ui5/manifest>. Missing settings have been added, obsolete settings have been eliminated.
480
- The assignment of settings to the specific card types has been revised and adjusted.
481
- - Increased `fe-fpm-writer` api version
482
- - Increased api version
483
- - OData V2: ALP root properties order
484
-
485
- ### Fixed
486
-
487
- - OData V4: Empty visualization throws unhandled error during sync
488
- - Prevent exception in case of illegal annotationPath references of fields or columns
489
- - OData V2: ALP not displaying chart and properties
490
- - OVP:
491
- - In case of unknown properties, other card settings like listFlavor or listFlavor could get deleted.
492
- - Property "Category" was shown with an initial value as object, although being of type string.
493
- - Properties enableAddToInsights, imageSupported, showLineItemDetail, valueSelectionInfo might not have been exported correctly to the manifest.
494
-
495
- ### Quality
496
-
497
- - Update transitive dependencies
498
-
499
- Upgrades
500
-
501
- - eslint to 8.56.0
502
- - esbuild to 0.19.11
503
- - reflect-metadata to 0.2.1
504
- - axios to 1.6.5
505
- - @sapui5/ts-types-esm to 1.120.4
506
-
507
- ## [1.120.1] - 2023-11-30
508
-
509
- ### Added
510
-
511
- - OData V2: Added missing `annotationPath` property for table definitions in schema
512
-
513
- ### Changed
514
-
515
- - OVP card settings:
516
- - Added missing properties
517
- - Removed irrelevant settings from custom card settings
518
- - Assignment of settings to card types has been generally aligned with the given capabilities of SAP Fiori elements
519
-
520
- - If problems had been posted to the log with regards to annotations, they normally ended with the information `location: webapp/localService/metadata.xml`. This location information might be misleading for edmx projects, as annotation may reside in a different file. It was always wrong for CAP projects.
521
- Thus the location information is removed for annotation problems
522
-
523
- - If no line item annotation is present, no `annotationPath` property gets added to the schemas of OData V2 and V4
524
-
525
- ### Fixed
526
-
527
- - The check of minUI5Version against the dist tags raised wrong warnings in case of minUI5Version using the pattern 'UI5-xxx'
528
- - OData V4: Inconsistencies in the JSON schema for macros led to exceptions when generating the overall page schemas. Such exceptions are now caught and indicated in the error log
529
-
530
- ### Quality
531
-
532
- - Update transitive dependencies
533
-
534
- Upgrades
535
-
536
- - axios to 1.6.2
537
- - yarn to 1.22.21
538
- - esbuild to 0.19.7
539
- - eslint to 8.54.0
540
- - @sap-ux/fe-fpm-writer to 0.24.2
541
- - @sap-ux/annotation-converter to 0.8.1
542
- - @sap-ux/vocabularies-types to 0.10.1
543
- - @types/mem-fs-editor to 7.0.7
544
- - @types/semver to 7.5.6
545
- - @types/jquery to 3.5.29
546
-
547
- ## [1.120.0] - 2023-11-16
548
-
549
- ### Added
550
-
551
- - OData V4:
552
- - Added support for TreeTable
553
-
554
- ### Changed
555
-
556
- ### Removed
557
-
558
- ### Deprecated
559
-
560
- ### Fixed
561
-
562
- - Fixed an exception "Cannot read properties of undefined (reading 'includes')" when generating the app schemas
563
-
564
- - OData V4:
565
- - If multiple facets refer to target annotations without an ID but with identical labels, only one of the facets was shown in the page editor
566
- - An error message was added to the logger if the ID was missing for a reference facet. This was wrong, the ID is optional for reference facets. Instead, the error message is now added for missing IDs of collection facets
567
- - Building blocks:
568
- - The number of new lines that get created from the description of building block properties was decreased
569
- - Missing 'enum' for multiple building block properties
570
-
571
- ### Quality
572
-
573
- - Update transitive dependencies
574
-
575
- Upgrades
576
-
577
- - eslint to 8.53.0
578
- - axios to 1.6.0
579
- - @sap-ux/fe-fpm-writer to v0.24.1
580
- - @types/jquery to v3.5.27
581
- - @types/semver to v7.5.5
582
- - @types/d3 to v7.4.3
583
- - @types/mem-fs-editor to v7.0.6
584
- - @sapui5/ts-types-esm to 1.120.1