@sap/ux-specification 1.96.43 → 1.96.45

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 (52) hide show
  1. package/CHANGELOG.md +959 -0
  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 +90 -90
  13. package/dist/index-min.js.map +3 -3
  14. package/dist/package.json +4 -3
  15. package/dist/schemas/v4/BuildingBlocksConfig.json +10 -2
  16. package/dist/src/sync/common/distTagEvaluator.d.ts +28 -0
  17. package/dist/src/sync/common/distTagEvaluator.d.ts.map +1 -0
  18. package/dist/src/sync/common/distTagEvaluator.js +108 -0
  19. package/dist/src/sync/common/distTagEvaluator.js.map +1 -0
  20. package/dist/src/sync/common/dist_tag.json +105 -0
  21. package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
  22. package/dist/src/sync/common/generate/objectPage.js +72 -13
  23. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  24. package/dist/src/sync/common/i18n.json +2 -0
  25. package/dist/src/sync/common/importProject.d.ts.map +1 -1
  26. package/dist/src/sync/common/importProject.js +25 -19
  27. package/dist/src/sync/common/importProject.js.map +1 -1
  28. package/dist/src/sync/common/index.d.ts +1 -0
  29. package/dist/src/sync/common/index.d.ts.map +1 -1
  30. package/dist/src/sync/common/index.js +1 -0
  31. package/dist/src/sync/common/index.js.map +1 -1
  32. package/dist/src/sync/common/utils.d.ts.map +1 -1
  33. package/dist/src/sync/common/utils.js +7 -2
  34. package/dist/src/sync/common/utils.js.map +1 -1
  35. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +1 -1
  36. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
  37. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -10
  38. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
  39. package/dist/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  40. package/dist/src/sync/v4/generate/fpm-custom-page/generator.js +107 -23
  41. package/dist/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  42. package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts +13 -0
  43. package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
  44. package/dist/src/sync/v4/generate/fpm-custom-page/utils.js +17 -1
  45. package/dist/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
  46. package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
  47. package/dist/src/sync/v4/generate/listReport.js +4 -1
  48. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  49. package/dist/src/sync/v4/utils/macros.d.ts.map +1 -1
  50. package/dist/src/sync/v4/utils/macros.js +42 -1
  51. package/dist/src/sync/v4/utils/macros.js.map +1 -1
  52. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,959 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ This project adheres to [Semantic Versioning](http://semver.org/) and the changelog is formatted based on [Keep a Changelog](http://keepachangelog.com/).
6
+
7
+ ## [1.96.45] - 2023-08-09
8
+
9
+ ### Added
10
+
11
+ - During the API call, an additional check verifies the given specification version against the minUI5Version from the passed manifest; in case of a mismatch a warning is added to the logger
12
+ - OData V4
13
+ - Support connected fields on the Object Page
14
+
15
+ ### Changed
16
+
17
+ ### Removed
18
+
19
+ ### Deprecated
20
+
21
+ ### Fixed
22
+
23
+ ### Quality
24
+
25
+ - Update transitive dependencies
26
+
27
+ Upgrades:
28
+
29
+ - eslint to 8.46.0
30
+ - eslint-config-prettier to 8.9.0
31
+
32
+ ## [1.96.44] - 2023-07-26
33
+
34
+ ### Added
35
+
36
+ - OData V4:
37
+ - Default aggregation support for macros table and action group
38
+ - Multiple namespaces support for macros
39
+
40
+ ### Changed
41
+
42
+ ### Removed
43
+
44
+ ### Deprecated
45
+
46
+ ### Fixed
47
+
48
+ - Fixed an issue with the CHANGELOG.md file not being visible on npmjs
49
+ - Fixed an issue with schema generation where annotation columns were not resolved in cases when a macros table was referring to a line item with a qualifier defined in the metaPath
50
+
51
+ ### Quality
52
+
53
+ - Update transitive dependencies
54
+
55
+ Upgrades:
56
+
57
+ - eslint to 8.45.0
58
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.62.0
59
+ - @sap-ux/vocabularies-types to 0.9.1
60
+
61
+ ## [1.96.43] - 2023-07-12
62
+
63
+ ### Quality
64
+
65
+ - Update transitive dependencies
66
+
67
+ Upgrades:
68
+
69
+ - @sap-ux/fe-fpm-writer to 0.22.3
70
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.61.0
71
+ - eslint to 8.44.0
72
+ - eslint-formatter-multiple to 2.0.0
73
+ - eslint-plugin-prettier" to 4.2.1
74
+ - semver to 7.5.4
75
+ - @sapui5/ts-types-esm to 1.96.23
76
+
77
+ ## [1.96.42] - 2023-06-30
78
+
79
+ ### Fixed
80
+
81
+ - OData V2:
82
+ - Fixed type of variant key for QuickVariantSelection (X) on tables to `string`.
83
+ - OData V4:
84
+ - Exception on macro table with metaPath to PresentationVariant.
85
+
86
+ ### Quality
87
+
88
+ - Update transitive dependencies
89
+
90
+ Upgrades:
91
+
92
+ - semver to 7.5.3
93
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.60.0
94
+ - @sap-ux/vocabularies-types to 0.9.0
95
+ - @sap-ux/edmx-parser to 0.6.0
96
+ - @sap-ux/fe-fpm-writer to 0.22.2
97
+
98
+ ## [1.96.41] - 2023-06-14
99
+
100
+ ### Added
101
+
102
+ - OData V4:
103
+ - Support for Custom subsections.
104
+
105
+ ### Changed
106
+
107
+ - OData V4:
108
+ - Changed binding expression to use "isEditable" property instead of "editable". Thus we have binding expressions {ui>/isEditable} and {= !${ui>/isEditable}}.
109
+
110
+ ### Fixed
111
+
112
+ - OData V4:
113
+ - When adding new pages, the export calculates the route pattern for the new manifest entry.
114
+ Indeed, the previous logic did not consider the naming at parent pages, but defined the key name in the pattern as `key`(+ index). This led to navigation errors at run-time. Now, the key names of existing parent pages are taken over to the child page's pattern.
115
+
116
+ ### Quality
117
+
118
+ - Update transitive dependencies
119
+
120
+ Upgrades:
121
+
122
+ - d3 to 7.8.5
123
+ - i18next to 22.5.1
124
+ - @sap-ux/fe-fpm-writer to 0.22.1
125
+
126
+ ## [1.96.40] - 2023-05-31
127
+
128
+ ### Fixed
129
+
130
+ - Correct missing or inconsistent tags `keys`and `dataType` in the app schema generation, especially for intentbased navigation
131
+
132
+ ### Quality
133
+
134
+ - Update transitive dependencies
135
+
136
+ Upgrades:
137
+
138
+ - @sapui5/ts-types-esm to 1.96.22
139
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.59.8
140
+ - i18next to 22.5.0
141
+ - ts-node to 8.10.2
142
+ - rimraf to 5.0.1
143
+ - @sap-ux/fe-fpm-writer to 0.20.2
144
+
145
+ ## [1.96.39] - 2023-05-18
146
+
147
+ ### Added
148
+
149
+ - General:
150
+ - Enhancement of error handling, more explicit messages are passed to the logger.
151
+ Fix of error handling of exceptions from annotation parser.
152
+ - Fix for List Report with multiple views and Object pages on second level in Page map
153
+ - OData V4:
154
+ - Added ID (`internalId`) property for macros metadata in schema
155
+
156
+ ### Quality
157
+
158
+ - Update transitive dependencies
159
+
160
+ Upgrades:
161
+
162
+ - excel4node to 1.8.2
163
+ - rimraf to 5.0.0
164
+ - i18next to 22.4.15
165
+ - @sap-ux/fe-fpm-writer to 0.18.9
166
+ - @sapui5/ts-types-esm to 1.96.21
167
+ - semver to 7.5.1
168
+ - typescript-eslint to 5.59.5
169
+ - jquery to 3.7.0
170
+
171
+ ## [1.96.38] - 2023-05-04
172
+
173
+ ### Fixed
174
+
175
+ - OData V4:
176
+ - Parsing of commented contents in XML fragments, comments are now getting ignored during generation and import
177
+
178
+ ### Quality
179
+
180
+ - Update transitive dependencies
181
+
182
+ Upgrades:
183
+
184
+ - prettier: to 2.8.8
185
+ - typescript to 4.9.5
186
+ - @types/nodes to 18.16.3
187
+ - patch-package to 6.5.1
188
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.59.2
189
+ - Update @sap-ux/vocabularies-types to 0.7.4
190
+ - Update @sap-ux/annotation-converter to 0.5.22
191
+ - Update @sap-ux/edmx-parser to 0.5.14
192
+
193
+ ## [1.96.37] - 2023-04-19
194
+
195
+ ### Fixed
196
+
197
+ - OData V4:
198
+ - Fixed an issue with custom extensions running into an endless loop
199
+
200
+ ### Quality
201
+
202
+ - Update transitive dependencies
203
+
204
+ Upgrades:
205
+ - @sapui5/ts-types-esm to 1.96.20
206
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.58.0
207
+ - @types/mem-fs-editor to 7.0.3
208
+ - semver to 7.5.0
209
+
210
+ ## [1.96.36] - 2023-04-05
211
+
212
+ ### Added
213
+
214
+ - OData V4:
215
+ - Building blocks support for custom sections
216
+
217
+ ### Quality
218
+
219
+ - Update transitive dependencies
220
+
221
+ Upgrades:
222
+ - excel4node to 1.8.1
223
+ - eslint-config-prettier to 8.8.0
224
+ - prettier to 2.8.7
225
+ - @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 5.57.0
226
+ - d3 to 7.8.4
227
+
228
+ ## [1.96.35] - 2023-03-22
229
+
230
+ ### Added
231
+
232
+ - OData V4: the schema App.json and config app.json that get generated now also comprise the information `routePattern` for each page, i.e. the route pattern of the page as comprised in the manifest.json.
233
+
234
+ ### Quality
235
+
236
+ Upgrades:
237
+
238
+ - chalk to 4.1.2
239
+ - types/jest to 28.1.8
240
+ - jQuery to 3.6.4
241
+ - sapui5/ts-types-esm to 1.96.18
242
+ - ejs to 3.1.9
243
+ - deepmerge to 4.3.1
244
+ - eslint-config-prettier to 8.7.0
245
+ - prettier to 2.8.4
246
+
247
+ ## [1.96.34] - 2023-03-08
248
+
249
+ ### Fixed
250
+
251
+ - OData V2:
252
+ - Fixed deletion issues for Custom Columns that appeared after positions were changed
253
+
254
+ ### Quality
255
+
256
+ - Upgrade "typescript" to "4.9.4"
257
+ - Upgrade "@typescript-eslint/eslint-plugin" and "@typescript-eslint/parser" to "5.52.0"
258
+ - Upgrade "ts-node" to "10.9.1"
259
+ - Upgrade "@sap-ux/fe-fpm-writer` to "0.18.7"
260
+ - Upgrade "mem-fs-editor` to "9.7.0"
261
+ - Revert "typescript-json-schema" to "0.53.0" in types package
262
+
263
+ ## [1.96.33] - 2023-02-22
264
+
265
+ ### Removed
266
+
267
+ - Manifest properties from views with different entity set
268
+
269
+ ### Quality
270
+
271
+ - Upgrade transitive dependencies
272
+ - Upgrade "@types/jquery" to "3.5.16"
273
+ - Upgrade "@types/mem-fs-editor" to "7.0.2"
274
+ - Upgrade "excel4node" to "1.8.0"
275
+ - Upgrade "i18next" to "20.6.1"
276
+ - Upgrade "typescript-json-schema" to "0.55.0" in types package
277
+ - Upgrade "@sap-ux/fe-fpm-writer` to "0.18.5"
278
+ - Upgrade "d3" to "7.8.2"
279
+ - Upgrade "@sapui5/ts-types-esm" to "1.96.17"
280
+ - Upgrade "jest", "ts-jest", "@types/jest"
281
+ - Upgrade "set-value"
282
+
283
+ ## [1.96.32] - 2023-02-09
284
+
285
+ ### Added
286
+
287
+ - XML Property artifact type for building block properties
288
+
289
+ ### Changed
290
+
291
+ - OData V4: enhancements for the support of contextPath
292
+
293
+ ### Fixed
294
+
295
+ - OData V2:
296
+ - resolved sync issue with unknown properties on fields for `Table > CreateWithParameterDialog`
297
+ - OData V4:
298
+ - Fixed issue with missing schema and config for List report page in freestyle app
299
+
300
+ ### Quality
301
+
302
+ - Upgrade transitive dependencies
303
+ - Remove unused devDependencies
304
+ - Upgrade ejs to `3.1.8`
305
+ - Upgrade @types/jquery to `3.5.13`
306
+ - Upgrade jQuery to 3.6.3.
307
+ - Upgrade semver to 7.3.8
308
+ - Upgrade axios to 0.27.2
309
+ - Upgrade deepmerge to 4.3.0
310
+ - Upgrade mem-fs-editor to 9.6.0
311
+
312
+ ## [1.96.31] - 2023-01-25
313
+
314
+ ### Added
315
+
316
+ - OData V4:
317
+ - Generation of `propertyIndex` property in schemas for root properties
318
+
319
+ - OData V2:
320
+ - Generation of `propertyIndex` property in schemas for root properties
321
+
322
+ ### Quality
323
+
324
+ - Removed many unnecessary and obsolete resolutions
325
+ - Upgrade fe-fpm-writer to 0.18.4
326
+
327
+ ## [1.96.30] - 2023-01-11
328
+
329
+ ### Added
330
+
331
+ - General:
332
+ - New definitions for page types are delivered that allow a better distinction:
333
+ - PageTypeV2 for types that occur in OData V2
334
+ - PageTypeV4 for types that occur in OData V4
335
+ - PageType as a superset of all page types that may occur
336
+
337
+ - OData V4:
338
+ - Support visual filters in toolbar on List report
339
+ - Support actions in header on List report
340
+ - Default annotationPath is added in schema even if LineItem annotation is not defined
341
+ - Added support for applications using `contextPath` in manifest.json
342
+
343
+ ### Changed
344
+
345
+ - API for OData V2:
346
+ - Inner functions for the generation of app schmas hav ben adapted, i.e. generateAnalyticalListReportSchemaV2, generateListReportSchemaV2, generateObjectPageSchemaV2: the entityTypeName is not passed as an input parameter anymore, as the entity set cannot be uniquely determined from it. Instead, the functions now rely on generateParameters.entitySet, the entityType is derived from this information. The api version is increased to 7.
347
+
348
+ ### Fixed
349
+
350
+ - OData V4:
351
+ - Fixed toolbar action IDs by replacing special chars with double colon
352
+ - Fixed incorrect order of Custom Actions when multiple before anchors are used
353
+ - Not all meta characters of action keys had been converted to `::`, as a consequence existing actions in manifest may have not been considered, or new actions had not been written with the right syntax.
354
+ - OData V2:
355
+ - Fixed deletion of fragment cells contents in case last element is deleted
356
+
357
+ ### Quality
358
+
359
+ - Removed obsolete snapshots files
360
+ - Removed unused and obsolete resolutions
361
+
362
+ ## [1.96.29] - 2022-11-30
363
+
364
+ ### Added
365
+
366
+ - Missing i18n classification added to labels of custom views
367
+
368
+ ### Changed
369
+
370
+ - UI adjustments of in-place documentation:
371
+ - moved label of specification and odata version to tree canvas
372
+ - aligned behavior of tree buttons to expand (+) and collapse (-) with given design
373
+ - removed all hard coded colors
374
+ - fixed hover on search results
375
+ - aligned tooltip with given design
376
+
377
+ - OData V2:
378
+ - fields for `Table > CreateWithParameterDialog` are now shown as enum and the import/export is done implicitly in the background (adding `path` property).
379
+
380
+ ### Fixed
381
+
382
+ - Fixed an issue with adding target namespace information for object page sections
383
+
384
+ ## [1.96.28] - 2022-11-17
385
+
386
+ ### Added
387
+
388
+ - OData V4:
389
+ - Support custom actions for Header and Footer
390
+
391
+ ### Changed
392
+
393
+ - All parameters in the specification API now are typed
394
+ - Export `ControllerExtensionPageType`, `CustomActionTargetControl` enums from `fpm-writer` as types
395
+
396
+ ### Fixed
397
+
398
+ - OData V2: Adjusted the values shown for `CreateWithParameterDialog` fields > `path` property
399
+ - OData V4: if the key of one view comprised the key of another view, the export of changes generated duplicate view entries in manifest. Activities like reordering of views did not work in this scenario.
400
+
401
+ ### Quality
402
+
403
+ - Upgrade of "@sap-ux/vocabularies-types", "@sap-ux/annotation-converter", "@sap-ux/edmx-parser"
404
+ - Upgrade node version to 16.18.0
405
+
406
+ ## [1.96.27] - 2022-11-03
407
+
408
+ ### Added
409
+
410
+ - OData V4:
411
+ - Support afterExecution for
412
+ - List report toolbar actions
413
+ - Object page header actions
414
+ - Object page footer actions
415
+ - Object page form actions
416
+
417
+ ### Changed
418
+
419
+ - OData V4:
420
+ - Refactored interfaces for custom actions
421
+ - General: the schema tag `key` (concatenated string) got replaced by the schema tag `keys` that is defined as an array of objects with `name`and `value`. Reasons are the support of different CSS styles for `name` and `value` as well as globalization (bi-directional languages).
422
+ - API. Export `ControllerExtensionPageType`, `CustomActionTargetControl` enums from `fpm-writer`.
423
+
424
+ ### Fixed
425
+
426
+ - OData V4:
427
+ - Fixed an issue with custom pages using an unknown template (not `sap.fe.core.fpm`).
428
+
429
+ ## [1.102.11] - 2022-10-20
430
+
431
+ ### Added
432
+
433
+ - Applications that show content from schemas may want to also display the technical key - this simplifies identification of the corresponding element in the original source file. To this aim, the tag `key` is used for properties. `key` is a concatenated string that also sows a prefix following one of the patterns:
434
+ - Value for DataFields
435
+ - Key for custom columns etc. where it is a key in the manifest. Only exception are views: they have no prefix as there is logic that programs against the key.
436
+ - ID for facets
437
+ - Action for any action
438
+ - Instance-based navigation: Property + SemanticObject + Action
439
+ - Target for DataFieldForAnnotation.
440
+ In case of Target, an additional schema tag `target` is added: it not only represents the namespace but potentially also the target within the namespace (entity container, entity type, ...)
441
+ - OData V4:
442
+ - Custom action support in Object Page forms
443
+
444
+ ### Changed
445
+
446
+ - Common dependencies have been moved to the root level.
447
+ - Further type definitions have been moved from the specification package to the types package.
448
+
449
+ ### Fixed
450
+
451
+ - OData V4:
452
+ - Fixed an issue with custom actions referencing each other
453
+
454
+ ## [1.96.25] - 2022-10-06
455
+
456
+ ### Changed
457
+
458
+ - Upgrade fe-fpm-writer version to 0.17.6
459
+
460
+ ### Fixed
461
+
462
+ - At Object Page sections, a missing consideration of potential qualifiers of UI.Identification led to an exception.
463
+ - The API can be called with an empty array of annotations. By now this led to an exception, as it was not considered that the annotation vocabularies tools (AVT) return an empty instance.
464
+
465
+ ### Quality
466
+
467
+ - Upgrade of d3 and d3-color
468
+ - Upgrade of FPM writer
469
+
470
+ ## [1.96.24] - 2022-09-24
471
+
472
+ ### Quality
473
+
474
+ - Changed settings to enable the SAP internal delivery of the types package
475
+
476
+ ## [1.96.23] - 2022-09-22
477
+
478
+ ### Added
479
+
480
+ - OData V4:
481
+ - Added custom pages not using FPM library to pages view in Application Modeler Panel (limited functionality support)
482
+ - Controller Extension support in "app.json"
483
+ - Zero state support
484
+
485
+ ### Changed
486
+
487
+ - Upgrade of fe-fpm-writer to version 0.17.2, increment of fpmWriter property returned by getApiVersion to 4.
488
+
489
+ ### Fixed
490
+
491
+ - OData V4:
492
+ - Reordering of custom views for list report did not work. This was fixed, but consequently the logic for deleting custom views also had to be adapted.
493
+ - When adding new sub-pages to the app.json the export to manifest created wrong keys for the new navigation routes, and wrong query patterns for the targets.
494
+
495
+ ### Quality
496
+
497
+ - Upgrade version of `typescript`, `ts-jest`, `jest`
498
+ - Minify sources
499
+ - Enhance test by removing dependency to typescript api
500
+ - Test coverage increased
501
+
502
+ ## [1.96.22] - 2022-09-21
503
+
504
+ ### Quality
505
+
506
+ - Changed settings to enable the SAP internal delivery of the types package
507
+
508
+ ## [1.96.21] - 2022-09-08
509
+
510
+ ### Added
511
+
512
+ - OData V4:
513
+ - API for custom extensions extended to call enableFPM prior to adding concrete extension using the FPM writer of open-ux-tools
514
+
515
+ ### Changed
516
+
517
+ - For an easier consumption and size reduction, the types definitions now have been moved to a separate types package in the given mono repository. The definitions are still exposed along with the specification package, you can import them from "@sap/ux-specification/dist/src".
518
+
519
+ - Only one common Manifest definition is exposed from the new types package, the virtual distinction between an OData V2 and an OData V4 version is resolved.
520
+
521
+ ### Removed
522
+
523
+ - OData V4:
524
+ - Removed `End` value from Placement property for custom extensions
525
+
526
+ ## [1.96.20] - 2022-08-24
527
+
528
+ ### Added
529
+
530
+ - API enhanced by a wrapper function for the creation of custom views (that delegates to the FPM writer of open-ux-tools)
531
+ - OData V4:
532
+ - Added custom pages using FPM library to pages view in Application Modeler Panel
533
+
534
+ ### Changed
535
+
536
+ - The specification module is now build with esbuild instead of webpack.
537
+ The new build generates all type information into a types folder, which makes it easier to consume (but the consumption must be adapted). Examples:
538
+
539
+ ````
540
+ import { PageType } from '@sap/ux-specification/dist/src/specification/common/';
541
+ ==> import { PageType } from '@sap/ux-specification/types';
542
+
543
+ import type { TableCustomColumns, TableCustomColumn } from '@sap/ux-specification/dist/src/v2';
544
+ ==> import type { TableCustomColumns, TableCustomColumn } from '@sap/ux-specification/types/v2';
545
+
546
+ import { SectionPosition as SectionPositionV4 } from '@sap/ux-specification/dist/src/v4';
547
+ ==> import { SectionPosition as SectionPositionV4 } from '@sap/ux-specification/types/v4';
548
+ ````
549
+
550
+ - OData V4:
551
+ - LR: Mark view properties `key`, `index` as hidden in schema
552
+
553
+ ### Fixed
554
+
555
+ - OData V2:
556
+ - OP: Fixed incorrect generation of flexChanges in case of Form, Form Fields and Form Fields referenced from a navigation entity
557
+
558
+ - OData V4:
559
+ - In some cases sections defined with PresentationVariants did not appear on the object page
560
+ - The resolution of alias definitions using the @SAP__ prefix was not correct, leading also to gaps in the elements that were considered
561
+ - LR: Schema now considers default visualation `UI.LineItem` if not defined in `SelectionPresentationVariant`
562
+
563
+ ## [1.96.19] - 2022-08-11
564
+
565
+ ### Added
566
+
567
+ - OData V4: the schemas and configs of list report views now also show the vsibility property and custom views
568
+
569
+ ### Changed
570
+
571
+ - OData V4: With API version 4 of specification - introduced with the given version - the way how routes are represented in the app.json changes: before the pattern was
572
+ `route: key`, now it follows the manifest syntax
573
+
574
+ ```
575
+ key: {
576
+ route: route
577
+ }
578
+ ```
579
+
580
+ The switch to an object representation allows to also include other target information like "outbound"
581
+ - OData V4: as long as no views are defined in manifest, the showCounts property is not part of the schema, except if it is already maintained
582
+ - OData V2:
583
+ - Mark custom column 'columnIndex' property as hidden
584
+
585
+ ### Fixed
586
+
587
+ - OData V4:
588
+ - LR: The export of property changes at the page editor led to a deletion of (custom) views in manifest; besides, outbound navigation entries could get deleted
589
+ - Fixed an issue with missing custom action if an empty "press" is defined
590
+
591
+ ## [1.96.18] - 2022-07-28
592
+
593
+ ### Added
594
+
595
+ - OData V4:
596
+ - Added support for custom actions for tables in LR and OP
597
+
598
+ ### Fixed
599
+
600
+ - OData V4:
601
+ - Fixed an issue with custom column export where it was not possible to restore a deleted column
602
+
603
+ ### Quality
604
+
605
+ - Upgrade of webpack and dependent modules
606
+ - Upgrade of terser
607
+ - Upgrade of glob-parent, mem-fs-editor
608
+ - Upgrade of lerna
609
+ - Upgrade of fe-fpm-writer
610
+
611
+ ## [1.96.17] - 2022-07-14
612
+
613
+ ### Changed
614
+
615
+ - OData V4: In case of PresentationVariant definitions for charts or line items, an intermediate node had originally been introduced in the Object Page schema that represents the PresentationVariant. This multi-level propagation of references caused issues in the consuming UI, thus the intermediate node got deleted again. The PresentationVariant must be determined by the consuming application if necessary.
616
+
617
+ ### Fixed
618
+
619
+ - OData V2:
620
+
621
+ - OData V4:
622
+ - Properties of custom columns on object page had not been exported correctly if the table is associated to another entity type via navigation path or is using a PresentationVariant.
623
+ The value help of the anchor in LSP (config JSON) also did not show the right values.
624
+ - Object Page: Fixed an issue with the schema that `annotationPath` for Object Page Table Sections did not contain `qualifier`;
625
+ wrong `annotationPath` and `isViewNode` settings are adjusted.
626
+ - Fixed an issue with export that multiple changes to view's `key` property created duplicated entries in manifest.json
627
+
628
+ ### Quality
629
+
630
+ - Switch from nexus repository to artifactory
631
+
632
+ ## [1.96.16] - 2022-06-29
633
+
634
+ ### Added
635
+
636
+ - OData V4:
637
+ - Extend pagemap support for freestyle apps using FPM library
638
+
639
+ ### Fixed
640
+
641
+ - OData V2:
642
+ - OVP: LSP for `model` property of a card now lists models from sap.ui5 section of manifest.json
643
+ - Table type property is now set to blank in case not maintained in manifest.json
644
+ - If two sections of object page referred to an element (e.g. action, table column) of the same name, they had been sync'd by the program logic: changes of one property had also been refelected in the other.
645
+ - One UI adaptation or flexibility change may have been shown multiple times in the config, at different sections.
646
+ - No sorting by time took place before for flexibility changes, as a result an older change of the same property may have shown up instead of the newer one.
647
+ - If several flexibility changes existed for the same control property, secondary ones had not been imported correctly: you could find them under a wrong property name in the config JSON file.
648
+
649
+ ## [1.96.15] - 2022-06-16
650
+
651
+ ### Added
652
+
653
+ - Missing exposure of type definitions was added.
654
+
655
+ ### Changed
656
+
657
+ OData V2:
658
+
659
+ - Custom column property "columnIndex". Schema enhancement by defining range using "minimum=0".
660
+
661
+ ### Removed
662
+
663
+ OData V4:
664
+
665
+ - In case of List Report views, non-applicable table properties are removed.
666
+
667
+ ### Fixed
668
+
669
+ OData V4:
670
+
671
+ - In case of List Report views, custom columns with navigation property are considered for the correct view.
672
+ - Avoid creation of empty personalization object
673
+
674
+ OData V2:
675
+
676
+ - Custom column issue with Grid/Tree/Analytical table types - empty second custom column is added in xml files
677
+
678
+ ## [1.96.14] - 2022-06-02
679
+
680
+ ### Added
681
+
682
+ OData V4:
683
+
684
+ - In case of a default (without qualifier) Selection-/PresentationVariant, the table settings and columns are now considered on list report page.
685
+
686
+ ### Changed
687
+
688
+ OData V4:
689
+
690
+ - Titles of charts in sections and header sections now correspond to the run-time.
691
+ - Add "annotationPath" schema property to schema for "Table" definition in simple list report.
692
+
693
+ ### Fixed
694
+
695
+ OData V4:
696
+
697
+ - If `defaultAnnotationPath` is used, corresponding custom columns were not considered on list report page.
698
+
699
+ ### Quality
700
+
701
+ Upgrade node & node-version to 14.x
702
+
703
+ ## [1.96.13] - 2022-05-19
704
+
705
+ ### Changed
706
+
707
+ - OData V4:
708
+ - For list report views, the content of title and description in the schema got exchanged.
709
+ - Custom columns having an invalid anchor are not filtered out anymore but added to the schema (at the end of the columns' list). This better supports fixing the situation and is necessary so that the import fills the properties correctly.
710
+ - LR: If views are enabled, generic table columns won't be used/filled.
711
+
712
+ ### Fixed
713
+
714
+ - OData V4:
715
+ - If the table setting creationMode existed in the outdated string format, the export just had overwritten the string. Now, an implicit conversion to the new object format takes place.
716
+ - In case of multiple custom columns with an invalid anchor the app schema generation ran into an endless loop.
717
+ - No import of property annotationPath was happening at chart views of List Report.
718
+ - In the app specific schema, the description was missing for charts in sections.
719
+ - Tag 'hidden' was added to the property annotationPath of the ALP chart view in app schema.
720
+ - If defaultTemplateAnnotationPath is maintained and refers to an annotation other than UI.LineItem, the table settings and columns of the referred definition are now imported correctly.
721
+
722
+ ### Quality
723
+
724
+ - Code smells fixed, as reported by sonarQube.
725
+ - Upgrade of annotation vocabularies tools.
726
+
727
+ ## [1.96.12] - 2022-05-05
728
+
729
+ ### Added
730
+
731
+ - OData V4:
732
+ - The title of ALP or List Report views is now following the same criteria as the UI5 run-time.
733
+
734
+ ### Fixed
735
+
736
+ - OData V4:
737
+ - Problems with deletion of ListReport table views.
738
+ - Unknown properties removed from custom section definition in 'manifest.json'.
739
+ - delete 'table/personalization' object property in 'manifest.json' if last property was removed.
740
+ - Export. Delete of entries from `table/views` - views were not deleted during export if entries in annotation file were deleted as first.
741
+ - When changing the table type in the page editor for LRP (V4), the respective manifest setting is not updated as long as this page is configured with the primary and secondary views.
742
+ - OData V2:
743
+ - Sections and subsections with a reference to Communication.Contact or Communication.Address had not been shown, support of flexibility changes for them.
744
+ - Facet or section references with multi-level navigation had not been handled correctly.
745
+
746
+ ### Quality
747
+
748
+ - Switch consumption of "@sapui5/ts-types" to "@sapui5/ts-types-esm".
749
+
750
+ ## [1.96.11] - 2022-04-21
751
+
752
+ ### Added
753
+
754
+ - OData V2:
755
+ - LR: Old settings for table type (tableType) had been ignored in newer specification releases. As a consequence, you may have found the table type twice in manifest, once with the old syntax and an additional entry with the new syntax, after switching to a newer UI5 version.
756
+ Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
757
+ - OData V4:
758
+ - OP: Added support for presentation variants with chart or table visualization
759
+
760
+ - Documentation actualized with regards to the new release version 1.100.
761
+
762
+ ### Fixed
763
+
764
+ - OData V4:
765
+ - Exception in case of multi-tab views in manifest that referred to a SelectionVariant.
766
+ - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
767
+ - List report with multiple views: insert and reordering was not supported correctly.
768
+ - OData V2:
769
+ - After an entry of quickVariantSelectionX got deleted, the entry still was present in manifest.json.
770
+ - Sections of subordinate object pages had not been added correctly to the app schema in all cases.
771
+
772
+ ### Quality
773
+
774
+ - upgrade ejs to 3.1.7
775
+ - SonarQube: issued solved with regards to cognitive complexity
776
+
777
+ ## [1.96.10] - 2022-04-07
778
+
779
+ ### Added
780
+
781
+ - OData V4:
782
+ - Support of defaultTemplateAnnotationPath as property; consider defaultTemplateAnnotationPath when retrieving the relevant table settings and while switching to ALP flavour.
783
+
784
+ ### Fixed
785
+
786
+ - OData V2:
787
+ - Extensions - empty "extensions" object was created in "sap.ui5/"extends"/"extensions"/"sap.ui.viewExtensions"/"sap.suite.ui.generic.template.ListReport.view.ListReport".
788
+
789
+ ### Quality
790
+
791
+ - Replace type object for schemas by Definition from 'typescript-json-schema'.
792
+ - Upgrade of async.
793
+
794
+ ## [1.96.9] - 2022-03-31
795
+
796
+ ### Quality
797
+
798
+ - Upgrade `minimist` resolution.
799
+
800
+ ## [1.96.8] - 2022-03-31
801
+
802
+ ### Quality
803
+
804
+ - Upgrade `minimist` version.
805
+
806
+ ## [1.96.7] - 2022-03-24
807
+
808
+ ### Added
809
+
810
+ - OData V4:
811
+ - Support of `flexEnabled` property.
812
+ - ALP flavor, support of ALP views.
813
+ - List report: multiple views, with the right properties.
814
+
815
+ ### Fixed
816
+
817
+ - OData V2:
818
+ - Duplicated fragment columns were written if table namespace was not found, and unknown custom data in fragment was not considered.
819
+ - OData V4:
820
+ - Custom columns had not been considered when having a 'Before' reference against other custom columns.
821
+ - Fix overwriting of manifest page content, if page key is changed.
822
+
823
+ ### Quality
824
+
825
+ - Switch to Whitesource Universal Agent
826
+ - piper lib upgrade
827
+ - Upgrade eslint
828
+ - Switch to import type for TS
829
+ - Refactoring to resolve sonarQube code smells
830
+
831
+ ## [1.96.6] - 2022-03-09
832
+
833
+ ### Added
834
+
835
+ - OData V2:
836
+ - visible property is now also available for facets without annotation Id
837
+
838
+ - OData V4:
839
+ - Support of progress, rating and microchart header facets
840
+ - Version increase for "fe-fpm-writer" from "0.4.0" to "0.5.0"
841
+ - Return "fpmWriter" API version - current version "1"
842
+
843
+ ### Fixed
844
+
845
+ - OData V2:
846
+ - Creation of new flexChanges now considers resolved Id from pom.xml
847
+ - OData V4:
848
+ - Fix overwriting of manifest page id in case of different page key
849
+
850
+ ### Quality
851
+
852
+ - removed unused dev dependency to `http-server`
853
+
854
+ ## [1.96.5] - 2022-02-23
855
+
856
+ ### Added
857
+
858
+ - Metadata information `dataType` added to various places in V2 and V4 schemas
859
+ - OData V2:
860
+ - display selection fields, and support date settings properties on LR/ALP
861
+
862
+ ### Fixed
863
+
864
+ - SonarQube code smells
865
+
866
+ ### Quality
867
+
868
+ - Unnecessary js files removed from bundle
869
+ - Unit test enhancement to run on all platforms
870
+
871
+ ## [1.96.4] - 2022-02-10
872
+
873
+ ### Added
874
+
875
+ - OData V2:
876
+ - Support default date range `defaultValue` property on filter fields
877
+ - LR/ALP: Support column and footer action properties
878
+
879
+ - OData V4:
880
+ - Support of custom columns
881
+
882
+ ### Fixed
883
+
884
+ - OData V2:
885
+ - OP: Fix generation of flexChanges for sections with or without ID in annotations
886
+ - Fix issues with sync logic in case of sub object page
887
+
888
+ ### Quality
889
+
890
+ - Unnecessary js files removed from bundle
891
+
892
+ ## [1.96.3] - 2022-01-26
893
+
894
+ ### Added
895
+
896
+ - OData V2:
897
+ - `exportType` property can now be configured to specify the type of export to be used in the SmartTable control
898
+ - OP: `statePreservationMode` property can now be configured to allowing applications to configure persistence mode in an object page
899
+ - OP: `draftDiscardConfirmationSettings` property can now be configured allowing applications to turn off the discard draft confirmation popup in various scenarios
900
+
901
+ ### Quality
902
+
903
+ - Upgrade of node-fetch
904
+
905
+ ## [1.96.2] - 2022-01-12
906
+
907
+ ### Added
908
+
909
+ - OData V2:
910
+ - OP: properties of footer actions are displayed and supported in side panel
911
+ - properties of toolbar actions are displayed and supported in side panel
912
+ - OVP: The property `showLineItemDetail` is now supported for List and Table cards
913
+ - OP: Schema now supports column extensions for TreeTable
914
+
915
+ ### Changed
916
+
917
+ - OData V2:
918
+ - property `filterDefaultsFromSelectionVariant` is now only supported for AnalyticalListPage floorplan
919
+ - OVP: The property `tabs` and `addOdataSelect` can now be confirued for all cards
920
+ - OData V4:
921
+ - property `afterExecution` of table columns now is only visible for actions but not for other record types
922
+ - deprecated `name` property and support new `template` property for custom sections in manifest
923
+
924
+ ### Removed
925
+
926
+ - OData V2:
927
+ - OVP: removed `tabs` property from card level
928
+
929
+ ### Fixed
930
+
931
+ - OData V2:
932
+ - correct schema generation in case multiple facets are referring to lineitem annotation of same entity
933
+ - Facet Id is considered for import and export of manifest settings
934
+ - Fixed sync issues in case no text is provided for custom columns
935
+ - OData V4:
936
+ - Avoid exporting empty arrays to manifest.json
937
+
938
+ ### Quality
939
+
940
+ - Upgrade of trim-off-newlines
941
+ - Upgrade of yarn classic
942
+ - New whitesource endpoint
943
+ - Upgrade of follow-redirects
944
+
945
+ ## [1.96.1] - 2021-12-06
946
+
947
+ ### Quality
948
+
949
+ - Update of pipeline configuration
950
+
951
+ ## [1.96.0] - 2021-12-02
952
+
953
+ ### Added
954
+
955
+ In comparison to release 1.90, this release also comprises an API generateCustomExtension, refer to the README.
956
+
957
+ ### Changed
958
+
959
+ The api version (getApiVersion) is increased to 2 to reflect the presence of the new generateCustomExtension API.