@sap/ux-specification 1.108.73 → 1.108.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +265 -260
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ListReportNewConfig.json +195 -7
- package/dist/schemas/v4/BuildingBlocksConfig.json +71 -1
- package/dist/specification/package.json +8 -8
- package/dist/specification/scripts/macros/corrections.d.ts +1 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +90 -0
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +23 -10
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +39 -3
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts +8 -0
- package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
- package/dist/specification/src/ftfs/ftfs.js +1 -0
- package/dist/specification/src/ftfs/ftfs.js.map +1 -1
- package/dist/specification/src/ftfs/index.d.ts +1 -1
- package/dist/specification/src/ftfs/index.d.ts.map +1 -1
- package/dist/specification/src/ftfs/index.js +2 -1
- package/dist/specification/src/ftfs/index.js.map +1 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts.map +1 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.js +3 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts +91 -0
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/Decorator.js +139 -0
- package/dist/specification/src/sync/common/decoration/Decorator.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts +95 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js +210 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +5 -22
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +0 -8
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +0 -15
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.d.ts +4 -0
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.js +4 -0
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts +38 -0
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/interfaces.js +3 -0
- package/dist/specification/src/sync/common/decoration/interfaces.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.js +50 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.js +46 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts +26 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.js +77 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js +43 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.js +68 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts +19 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js +48 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts +6 -0
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/index.js +14 -0
- package/dist/specification/src/sync/common/decoration/steps/index.js.map +1 -0
- package/dist/specification/src/sync/common/i18n.json +22 -0
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +4 -5
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.js +29 -20
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/export.js +3 -2
- package/dist/specification/src/sync/v2/export/export.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.js +48 -19
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +2 -0
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +17 -6
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +54 -6
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.js +106 -12
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +2 -2
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +4 -4
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts +12 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js +167 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js +3 -3
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +58 -2
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +575 -7
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +29 -6
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -1
- package/dist/specification/src/sync/v2/types.d.ts +2 -0
- package/dist/specification/src/sync/v2/types.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/types.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +25 -0
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +28 -4
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +3 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +8 -5
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +1 -0
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +212 -46
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts +13 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +74 -2
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +4 -3
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +29 -27
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +12 -3
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +2 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +20 -0
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +2 -4
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js +2 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +2 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +3 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +3 -2
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +7 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.d.ts +19 -0
- package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.js +34 -0
- package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
- package/dist/specification/test/test-utils/utils.d.ts.map +1 -1
- package/dist/specification/test/test-utils/utils.js +4 -0
- package/dist/specification/test/test-utils/utils.js.map +1 -1
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts +2 -2
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts.map +1 -1
- package/dist/specification/test/unit/decorators/validity-test-utils.js +6 -6
- package/dist/specification/test/unit/decorators/validity-test-utils.js.map +1 -1
- package/dist/templates/AnalyticalTableColumnsExtension.xml +3 -3
- package/dist/templates/GridTableColumnsExtension.xml +3 -3
- package/dist/templates/ResponsiveTableColumnsExtension.xml +2 -2
- package/dist/templates/TreeTableColumnsExtension.xml +4 -4
- package/dist/templates/fragment.xml +3 -3
- package/dist/templates/view.xml +3 -3
- package/dist/types/src/apiTypes.d.ts +15 -5
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js +1 -0
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +1 -0
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js.map +1 -1
- package/package.json +8 -8
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"description": "Specify a SelectionVariant (in order to set default values for the filter bar), a PresentationVariant (in order to define the layout of the table), or a SelectionPresentationVariant (combining both)",
|
|
75
75
|
"type": "string",
|
|
76
76
|
"artifactType": "Manifest",
|
|
77
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
77
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/22e32b7241e843c1a84fee142e9d8ef0"
|
|
78
78
|
},
|
|
79
79
|
"liveMode": {
|
|
80
80
|
"description": "If liveMode is set, the search will be automatically triggered when a filter value is set.",
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
"description": "Controls whether smart variant management is active. Default is true.",
|
|
87
87
|
"type": "boolean",
|
|
88
88
|
"artifactType": "Manifest",
|
|
89
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
89
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/e3b12f41d70c442f9d4cc2e7722bbb17"
|
|
90
90
|
},
|
|
91
91
|
"variantManagementHidden": {
|
|
92
92
|
"description": "If you set the flag to true, then standard variant management is not available in the app. The app name is displayed instead.\nIf the flag is false or undefined, the standard variant management is available and can be enabled or disabled.",
|
|
93
93
|
"type": "boolean",
|
|
94
94
|
"artifactType": "Manifest",
|
|
95
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
95
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/e3b12f41d70c442f9d4cc2e7722bbb17"
|
|
96
96
|
},
|
|
97
97
|
"subTitleIfVariantMgmtHidden": {
|
|
98
98
|
"description": "You can choose an app-specific title by setting the corresponding value for the subTitleIfVariantMgmtHidden property.",
|
|
99
99
|
"i18nClassification": "TIT: Subtitle if variant management is hidden",
|
|
100
100
|
"type": "string",
|
|
101
101
|
"artifactType": "Manifest",
|
|
102
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
102
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/e3b12f41d70c442f9d4cc2e7722bbb17"
|
|
103
103
|
},
|
|
104
104
|
"showClearOnFB": {
|
|
105
105
|
"description": "Handles the visibility of the Clear button on the filter bar.",
|
|
@@ -431,13 +431,13 @@
|
|
|
431
431
|
"description": "This property can be used to indicate that a table or chart should be based on a different entity set than the main entity set",
|
|
432
432
|
"type": "string",
|
|
433
433
|
"artifactType": "Manifest",
|
|
434
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
434
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/6698b80fc1a543ebb5c07e0781e9b93e"
|
|
435
435
|
},
|
|
436
436
|
"annotationPath": {
|
|
437
437
|
"description": "Specify a SelectionVariant or SelectionPresentationVariant annotation for the entity set to configure the table or chart",
|
|
438
438
|
"type": "string",
|
|
439
439
|
"artifactType": "Manifest",
|
|
440
|
-
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/
|
|
440
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/97dfeea4a8c346368cea6bf7a3e85478"
|
|
441
441
|
},
|
|
442
442
|
"showItemNavigationOnChart": {
|
|
443
443
|
"description": "To enable navigation for charts, you have to set the property to \"true\" and maintain an internal navigation target in the manifest.",
|
|
@@ -464,10 +464,102 @@
|
|
|
464
464
|
"controlType": "sap.ui.comp.smarttable.SmartTable"
|
|
465
465
|
},
|
|
466
466
|
"useExportToExcel": {
|
|
467
|
-
"description": "useExportToExcel must be set to true if you want to export data to a spreadsheet application, for example Microsoft Excel.",
|
|
467
|
+
"description": "useExportToExcel must be set to true if you want to export data to a spreadsheet application, for example, Microsoft Excel.",
|
|
468
468
|
"type": "boolean",
|
|
469
469
|
"artifactType": "FlexChange",
|
|
470
470
|
"controlType": "sap.ui.comp.smarttable.SmartTable"
|
|
471
|
+
},
|
|
472
|
+
"growingThreshold": {
|
|
473
|
+
"description": "Defines the number of items to be requested from the model for each grow. This property can only be used if the growing property is set to true.",
|
|
474
|
+
"type": "number",
|
|
475
|
+
"artifactType": "FlexChange",
|
|
476
|
+
"controlType": "sap.m.Table"
|
|
477
|
+
},
|
|
478
|
+
"popinLayout": {
|
|
479
|
+
"pattern": "^(Block|GridLarge|GridSmall)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
|
|
480
|
+
"anyOf": [
|
|
481
|
+
{
|
|
482
|
+
"$ref": "#/definitions/PopinLayout"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"type": "string"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"description": "Defines the layout in which the table pop-in rows are rendered.",
|
|
489
|
+
"artifactType": "FlexChange",
|
|
490
|
+
"controlType": "sap.m.Table"
|
|
491
|
+
},
|
|
492
|
+
"includeItemInSelection": {
|
|
493
|
+
"description": "Set this property to true if you want items to be selectable when they are clicked rather than after the selection control has been set.",
|
|
494
|
+
"type": "boolean",
|
|
495
|
+
"artifactType": "FlexChange",
|
|
496
|
+
"controlType": "sap.m.Table"
|
|
497
|
+
},
|
|
498
|
+
"tableType": {
|
|
499
|
+
"$ref": "#/definitions/TableTypeV2Enum",
|
|
500
|
+
"description": "Obsolete property for specifying the type of the table. Use the 'type' property instead.",
|
|
501
|
+
"artifactType": "Manifest"
|
|
502
|
+
},
|
|
503
|
+
"type": {
|
|
504
|
+
"$ref": "#/definitions/TableTypeV2Enum",
|
|
505
|
+
"description": "Specifies the type of the table.",
|
|
506
|
+
"artifactType": "Manifest",
|
|
507
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/5d270547f113468e83e06dd7ee408a45"
|
|
508
|
+
},
|
|
509
|
+
"condensedTableLayout": {
|
|
510
|
+
"description": "Sets a condensed table layout for analytical tables, grid tables, and tree tables.",
|
|
511
|
+
"type": "boolean",
|
|
512
|
+
"artifactType": "Manifest"
|
|
513
|
+
},
|
|
514
|
+
"enableTableFilterInPageVariant": {
|
|
515
|
+
"description": "If you have enabled harmonized variant management, by default, business users cannot set a filter in the table personalization settings.\nTo enable filtering for business users, you must set the enableTableFilterInPageVariant property to true.",
|
|
516
|
+
"type": "boolean",
|
|
517
|
+
"artifactType": "Manifest"
|
|
518
|
+
},
|
|
519
|
+
"inlineDelete": {
|
|
520
|
+
"description": "Used to enable inline deletion in a responsive table.",
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"artifactType": "Manifest"
|
|
523
|
+
},
|
|
524
|
+
"multiSelect": {
|
|
525
|
+
"description": "When this setting is enabled, the table switches from single to multi selection.",
|
|
526
|
+
"type": "boolean",
|
|
527
|
+
"artifactType": "Manifest",
|
|
528
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/402fac73b4794a31983609ebdde580d2"
|
|
529
|
+
},
|
|
530
|
+
"selectAll": {
|
|
531
|
+
"description": "This property can be used to decide whether the 'Select All' checkbox or the 'Clear All' button is shown in the top-left corner of the table.",
|
|
532
|
+
"type": "boolean",
|
|
533
|
+
"artifactType": "Manifest"
|
|
534
|
+
},
|
|
535
|
+
"selectionLimit": {
|
|
536
|
+
"description": "When new data is loaded from the back-end system, the number of lines is restricted to the specified limit. The default value is 200.",
|
|
537
|
+
"type": "number",
|
|
538
|
+
"artifactType": "Manifest",
|
|
539
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/116b5d82e8c545e2a56e1b51b8b0a9bd?q=selectionLimit"
|
|
540
|
+
},
|
|
541
|
+
"dataLoadSettings": {
|
|
542
|
+
"$ref": "#/definitions/DataLoadSettings",
|
|
543
|
+
"description": "Change the default behavior for autoloading of data."
|
|
544
|
+
},
|
|
545
|
+
"createWithFilters": {
|
|
546
|
+
"$ref": "#/definitions/CreateWithFilters",
|
|
547
|
+
"description": "Adds a new create action that uses the filter settings as input."
|
|
548
|
+
},
|
|
549
|
+
"createWithParameterDialog": {
|
|
550
|
+
"$ref": "#/definitions/Fields4CreateWithParametersDialog",
|
|
551
|
+
"description": "Enables the creation of objects that have a maximum of eight data fields through a dialog in the list report page.",
|
|
552
|
+
"artifactType": "Manifest",
|
|
553
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/2d04f60da84a49f6bb8617fbf1d3d2aa"
|
|
554
|
+
},
|
|
555
|
+
"multiEdit": {
|
|
556
|
+
"$ref": "#/definitions/MultiEdit",
|
|
557
|
+
"description": "Allows you to edit multiple objects using a dialog.",
|
|
558
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/7cc4f04364c540c397130ff92f84c3ca"
|
|
559
|
+
},
|
|
560
|
+
"toolbar": {
|
|
561
|
+
"$ref": "#/definitions/Toolbar",
|
|
562
|
+
"description": "Tool Bar"
|
|
471
563
|
}
|
|
472
564
|
},
|
|
473
565
|
"additionalProperties": false
|
|
@@ -554,6 +646,102 @@
|
|
|
554
646
|
],
|
|
555
647
|
"type": "string"
|
|
556
648
|
},
|
|
649
|
+
"PopinLayout": {
|
|
650
|
+
"enum": [
|
|
651
|
+
"Block",
|
|
652
|
+
"GridLarge",
|
|
653
|
+
"GridSmall"
|
|
654
|
+
],
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"TableTypeV2Enum": {
|
|
658
|
+
"enum": [
|
|
659
|
+
"AnalyticalTable",
|
|
660
|
+
"GridTable",
|
|
661
|
+
"ResponsiveTable",
|
|
662
|
+
"TreeTable"
|
|
663
|
+
],
|
|
664
|
+
"type": "string"
|
|
665
|
+
},
|
|
666
|
+
"DataLoadSettings": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": {
|
|
669
|
+
"loadDataOnAppLaunch": {
|
|
670
|
+
"$ref": "#/definitions/LoadDataOnAppLaunchSettingsEnum",
|
|
671
|
+
"description": "Changes the default behavior for autoloading data.",
|
|
672
|
+
"artifactType": "Manifest",
|
|
673
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/b736ab6ae3654789ba1f9630e5720af3?q=loadDataOnAppLaunch"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"additionalProperties": false,
|
|
677
|
+
"required": [
|
|
678
|
+
"loadDataOnAppLaunch"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
"LoadDataOnAppLaunchSettingsEnum": {
|
|
682
|
+
"enum": [
|
|
683
|
+
"always",
|
|
684
|
+
"ifAnyFilterExist",
|
|
685
|
+
"never"
|
|
686
|
+
],
|
|
687
|
+
"type": "string"
|
|
688
|
+
},
|
|
689
|
+
"CreateWithFilters": {
|
|
690
|
+
"type": "object",
|
|
691
|
+
"properties": {
|
|
692
|
+
"strategy": {
|
|
693
|
+
"description": "For the create action to use the filter settings as input, set this property to extension and implement the extension function as mentioned in help.sap.com for SAP S/4HANA, section \"Prefilling Fields When Creating a New Entity Using an Extension Point\".",
|
|
694
|
+
"type": "string",
|
|
695
|
+
"const": "extension",
|
|
696
|
+
"artifactType": "Manifest",
|
|
697
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/189e2d8a59f04a2693a4fde7f4a91a65?q=createWithFilters"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"additionalProperties": false,
|
|
701
|
+
"required": [
|
|
702
|
+
"strategy"
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
"Fields4CreateWithParametersDialog": {
|
|
706
|
+
"type": "object",
|
|
707
|
+
"properties": {
|
|
708
|
+
"fields": {
|
|
709
|
+
"type": "array",
|
|
710
|
+
"items": {
|
|
711
|
+
"type": "string"
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"additionalProperties": false,
|
|
716
|
+
"required": [
|
|
717
|
+
"fields"
|
|
718
|
+
]
|
|
719
|
+
},
|
|
720
|
+
"MultiEdit": {
|
|
721
|
+
"type": "object",
|
|
722
|
+
"properties": {
|
|
723
|
+
"enabled": {
|
|
724
|
+
"description": "When multiEdit is enabled, by default the dialog displays editable fields corresponding to the columns that are displayed in the table.",
|
|
725
|
+
"type": "boolean",
|
|
726
|
+
"artifactType": "Manifest"
|
|
727
|
+
},
|
|
728
|
+
"annotationPath": {
|
|
729
|
+
"description": "Use annotationPath to define a mass edit dialog that points to a FieldGroup annotation with a qualifier.",
|
|
730
|
+
"type": "string",
|
|
731
|
+
"artifactType": "Manifest"
|
|
732
|
+
},
|
|
733
|
+
"ignoredFields": {
|
|
734
|
+
"description": "Determines which fields are hidden in key user adaptation and restricts them from being added to the mass edit dialog.",
|
|
735
|
+
"type": "array",
|
|
736
|
+
"items": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"const": "GENERICPROPERTY"
|
|
739
|
+
},
|
|
740
|
+
"artifactType": "Manifest"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"additionalProperties": false
|
|
744
|
+
},
|
|
557
745
|
"Toolbar": {
|
|
558
746
|
"description": "Toolbar",
|
|
559
747
|
"isViewNode": true,
|
|
@@ -394,12 +394,25 @@
|
|
|
394
394
|
"type": "Property"
|
|
395
395
|
},
|
|
396
396
|
"i18nClassification": "HED: Title of the form"
|
|
397
|
+
},
|
|
398
|
+
"fields": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"additionalProperties": {
|
|
401
|
+
"$ref": "#/definitions/sap.fe.macros.FormElement"
|
|
402
|
+
},
|
|
403
|
+
"isViewNode": true,
|
|
404
|
+
"metadata": {
|
|
405
|
+
"path": [],
|
|
406
|
+
"type": "Aggregation",
|
|
407
|
+
"aggregationCardinality": "Multiple"
|
|
408
|
+
}
|
|
397
409
|
}
|
|
398
410
|
},
|
|
399
411
|
"additionalProperties": false,
|
|
400
412
|
"metadata": {
|
|
401
413
|
"path": [],
|
|
402
|
-
"type": "Control"
|
|
414
|
+
"type": "Control",
|
|
415
|
+
"defaultAggregation": "fields"
|
|
403
416
|
}
|
|
404
417
|
},
|
|
405
418
|
"sap.fe.macros.Table": {
|
|
@@ -596,6 +609,19 @@
|
|
|
596
609
|
"aggregationCardinality": "Multiple"
|
|
597
610
|
}
|
|
598
611
|
},
|
|
612
|
+
"massEdit": {
|
|
613
|
+
"type": "object",
|
|
614
|
+
"additionalProperties": {
|
|
615
|
+
"$ref": "#/definitions/sap.fe.macros.MassEdit"
|
|
616
|
+
},
|
|
617
|
+
"isViewNode": false,
|
|
618
|
+
"metadata": {
|
|
619
|
+
"path": [],
|
|
620
|
+
"type": "Aggregation",
|
|
621
|
+
"aggregationCardinality": "Single"
|
|
622
|
+
},
|
|
623
|
+
"description": "Aggregate mass edit of the table."
|
|
624
|
+
},
|
|
599
625
|
"rowPress": {
|
|
600
626
|
"type": "string",
|
|
601
627
|
"description": "An event triggered when the user chooses a row; the event contains information about which row was chosen.\nYou can set this in order to handle the navigation manually.\n",
|
|
@@ -686,6 +712,50 @@
|
|
|
686
712
|
"defaultAggregation": "actions"
|
|
687
713
|
}
|
|
688
714
|
},
|
|
715
|
+
"sap.fe.macros.MassEdit": {
|
|
716
|
+
"description": "Definition of the mass edit to be used inside the table.",
|
|
717
|
+
"isViewNode": true,
|
|
718
|
+
"type": "object",
|
|
719
|
+
"properties": {
|
|
720
|
+
"ignoredFields": {
|
|
721
|
+
"$ref": "#/definitions/string[]",
|
|
722
|
+
"description": "Defines the list of fields that should be ignored in the mass edit dialog",
|
|
723
|
+
"artifactType": "XMLProperty",
|
|
724
|
+
"metadata": {
|
|
725
|
+
"type": "Property"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"operationGroupingMode": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"description": "Defines the mode of the operation grouping to save the new values\nAllowed values are `ChangeSet` and `Isolated`",
|
|
731
|
+
"artifactType": "XMLProperty",
|
|
732
|
+
"metadata": {
|
|
733
|
+
"type": "Property"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"visibleFields": {
|
|
737
|
+
"$ref": "#/definitions/string[]",
|
|
738
|
+
"description": "Defines the list of fields that should be visible in the mass edit dialog",
|
|
739
|
+
"artifactType": "XMLProperty",
|
|
740
|
+
"metadata": {
|
|
741
|
+
"type": "Property"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"id": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"description": "Unique id of control",
|
|
747
|
+
"artifactType": "XMLProperty",
|
|
748
|
+
"metadata": {
|
|
749
|
+
"type": "Property"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"additionalProperties": false,
|
|
754
|
+
"metadata": {
|
|
755
|
+
"path": [],
|
|
756
|
+
"type": "Control"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
689
759
|
"sap.fe.macros.FieldFormatOptions": {
|
|
690
760
|
"description": "Additional format options for the field.",
|
|
691
761
|
"isViewNode": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.108.
|
|
3
|
+
"version": "1.108.74",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"build:schemas": "npm-run-all -l -s create-json-schemas copy-json-schemas",
|
|
28
28
|
"build:snap": "yarn build:dev && yarn update-snapshots",
|
|
29
29
|
"create-json-schemas": "ts-node ./scripts/schema/index.ts ",
|
|
30
|
-
"copy-json-schemas": "
|
|
31
|
-
"copy-templates": "
|
|
30
|
+
"copy-json-schemas": "cpy \"schemas/**\" dist/schemas",
|
|
31
|
+
"copy-templates": "cpy \"src/sync/v2/export/templates/**\" dist/templates --flat",
|
|
32
32
|
"deleteSnapshots": "rimraf **/_file_snapshots_",
|
|
33
33
|
"docuV2": "ts-node ./scripts/extractDocu.ts --version=v2 format=excel",
|
|
34
34
|
"docuV4": "ts-node ./scripts/extractDocu.ts --version=v4 format=excel",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"publisher": "SAPSE",
|
|
51
51
|
"license": "SEE LICENSE IN LICENSE",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@sap-ux/fe-fpm-writer": "0.43.
|
|
53
|
+
"@sap-ux/fe-fpm-writer": "0.43.21",
|
|
54
54
|
"@sap-ux/vocabularies-types": "0.15.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@sap-ux/annotation-converter": "0.10.21",
|
|
58
58
|
"@sap-ux/edmx-parser": "0.10.0",
|
|
59
|
-
"@sap-ux/project-access": "1.35.
|
|
60
|
-
"@sap/ux-specification-types": "1.108.
|
|
59
|
+
"@sap-ux/project-access": "1.35.20",
|
|
60
|
+
"@sap/ux-specification-types": "1.108.74",
|
|
61
61
|
"@sapui5/ts-types-esm": "latest-1.108",
|
|
62
62
|
"@types/d3": "7.4.3",
|
|
63
63
|
"@types/jquery": "3.5.34",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@ui5/flexibility-utils": "0.1.3",
|
|
68
68
|
"@xml-tools/ast": "5.0.5",
|
|
69
69
|
"@xml-tools/parser": "1.0.11",
|
|
70
|
-
"axios": "1.
|
|
71
|
-
"
|
|
70
|
+
"axios": "1.15.0",
|
|
71
|
+
"cpy-cli": "7.0.0",
|
|
72
72
|
"d3": "7.9.0",
|
|
73
73
|
"deepmerge": "4.3.1",
|
|
74
74
|
"ejs": "3.1.10",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corrections.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAA8B,WAAW,EAAE,MAAM,SAAS,CAAC;AAG7G,UAAU,aAAa;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,cAAc,EAAE,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG;QAAE,MAAM,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC,CAAC;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"corrections.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAA8B,WAAW,EAAE,MAAM,SAAS,CAAC;AAG7G,UAAU,aAAa;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,cAAc,EAAE,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG;QAAE,MAAM,EAAE,IAAI,CAAA;KAAE,CAAC,CAAC,CAAC;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAiQ5D,CAAC;AAuJF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAuBrD"}
|
|
@@ -32,6 +32,18 @@ exports.macrosCorrection = {
|
|
|
32
32
|
description: 'Table columns',
|
|
33
33
|
methods: [],
|
|
34
34
|
linkEnabled: true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'massEdit',
|
|
38
|
+
singularName: 'massEdit',
|
|
39
|
+
bindable: true,
|
|
40
|
+
cardinality: '0..1',
|
|
41
|
+
description: '<p>Aggregate mass edit of the table.</p>',
|
|
42
|
+
methods: [],
|
|
43
|
+
type: 'sap.fe.macros.MassEdit',
|
|
44
|
+
altTypes: [],
|
|
45
|
+
visibility: types_1.UI5Visibility.public,
|
|
46
|
+
linkEnabled: true
|
|
35
47
|
}
|
|
36
48
|
],
|
|
37
49
|
properties: [
|
|
@@ -63,6 +75,21 @@ exports.macrosCorrection = {
|
|
|
63
75
|
'sap.fe.macros.table.TreeTable': {
|
|
64
76
|
removeAggregations: ['noData']
|
|
65
77
|
},
|
|
78
|
+
'sap.fe.macros.Form': {
|
|
79
|
+
defaultAggregation: 'fields',
|
|
80
|
+
aggregations: [
|
|
81
|
+
{
|
|
82
|
+
name: 'fields',
|
|
83
|
+
singularName: 'field',
|
|
84
|
+
type: 'sap.fe.macros.FormElement',
|
|
85
|
+
cardinality: '0..n',
|
|
86
|
+
visibility: types_1.UI5Visibility.public,
|
|
87
|
+
description: 'Form fields',
|
|
88
|
+
methods: [],
|
|
89
|
+
linkEnabled: true
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
66
93
|
'sap.fe.macros.ActionGroup': {
|
|
67
94
|
defaultAggregation: 'actions',
|
|
68
95
|
aggregations: [
|
|
@@ -168,6 +195,69 @@ exports.macrosCorrection = {
|
|
|
168
195
|
type: 'boolean'
|
|
169
196
|
}
|
|
170
197
|
]
|
|
198
|
+
},
|
|
199
|
+
'sap.fe.macros.MassEdit': {
|
|
200
|
+
description: '<p>Definition of the mass edit to be used inside the table.</p>',
|
|
201
|
+
metadata: {
|
|
202
|
+
kind: types_1.SYMBOL_KIND_CLASS,
|
|
203
|
+
name: 'sap.fe.macros.MassEdit',
|
|
204
|
+
basename: 'MassEdit',
|
|
205
|
+
resource: '',
|
|
206
|
+
module: '',
|
|
207
|
+
static: true,
|
|
208
|
+
visibility: types_1.UI5Visibility.public,
|
|
209
|
+
description: '<p>Definition of the mass edit to be used inside the table.</p>',
|
|
210
|
+
displayName: 'sap.fe.macros.MassEdit',
|
|
211
|
+
title: 'class sap.fe.macros.MassEdit',
|
|
212
|
+
subTitle: ''
|
|
213
|
+
},
|
|
214
|
+
properties: [
|
|
215
|
+
{
|
|
216
|
+
name: 'ignoredFields',
|
|
217
|
+
bindable: false,
|
|
218
|
+
description: '<p>Defines the list of fields that should be ignored in the mass edit dialog</p>',
|
|
219
|
+
group: 'Misc',
|
|
220
|
+
methods: [],
|
|
221
|
+
type: 'string[]',
|
|
222
|
+
visibility: types_1.UI5Visibility.public,
|
|
223
|
+
types: [
|
|
224
|
+
{
|
|
225
|
+
value: 'string[]'
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
defaultValue: ''
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'operationGroupingMode',
|
|
232
|
+
bindable: false,
|
|
233
|
+
description: '<p>Defines the mode of the operation grouping to save the new values\nAllowed values are `ChangeSet` and `Isolated`</p>',
|
|
234
|
+
group: 'Misc',
|
|
235
|
+
methods: [],
|
|
236
|
+
type: 'string',
|
|
237
|
+
visibility: types_1.UI5Visibility.public,
|
|
238
|
+
types: [
|
|
239
|
+
{
|
|
240
|
+
value: 'string'
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
defaultValue: ''
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'visibleFields',
|
|
247
|
+
bindable: false,
|
|
248
|
+
description: '<p>Defines the list of fields that should be visible in the mass edit dialog</p>',
|
|
249
|
+
group: 'Misc',
|
|
250
|
+
methods: [],
|
|
251
|
+
type: 'string[]',
|
|
252
|
+
visibility: types_1.UI5Visibility.public,
|
|
253
|
+
types: [
|
|
254
|
+
{
|
|
255
|
+
value: 'string[]'
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
defaultValue: ''
|
|
259
|
+
}
|
|
260
|
+
]
|
|
171
261
|
}
|
|
172
262
|
};
|
|
173
263
|
const placementEnum = [ux_specification_types_1.v4.Placement.After, ux_specification_types_1.v4.Placement.Before];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corrections.js","sourceRoot":"","sources":["../../../../scripts/macros/corrections.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"corrections.js","sourceRoot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,MAAM,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAgC,CAAC;AAC1G;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../scripts/macros/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,KAAK,EACR,SAAS,EAOZ,MAAM,SAAS,CAAC;AAGjB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAavD,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAgC,CAAC;AAC1G;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAgUF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,gBAAgB,CAoD/D"}
|
|
@@ -88,7 +88,7 @@ function prepareDefinition(metadataType, description, defaultAggreation, symbolN
|
|
|
88
88
|
description = formatDescription(description);
|
|
89
89
|
}
|
|
90
90
|
// For main control definitions (classes), default to true as they are primary UI building blocks
|
|
91
|
-
//
|
|
91
|
+
// Exclude configuration objects (*Options classes) which should appear in properties panel
|
|
92
92
|
const isViewNode = !symbolName.endsWith('Options');
|
|
93
93
|
const definition = {
|
|
94
94
|
description,
|
|
@@ -222,20 +222,33 @@ function prepareEvent(property) {
|
|
|
222
222
|
*/
|
|
223
223
|
function prepareAggregations(aggregation, defaultAggregation) {
|
|
224
224
|
const schemaTypes = getTypes(aggregation.type);
|
|
225
|
-
|
|
225
|
+
let isViewNode = (defaultAggregation && aggregation.name === defaultAggregation) ||
|
|
226
226
|
exports.PROPERTY_SEMANTICS.AGGREGATIONS.some((pattern) => pattern.test(aggregation.name));
|
|
227
|
-
|
|
227
|
+
let description;
|
|
228
|
+
const metadata = {
|
|
229
|
+
path: [],
|
|
230
|
+
type: ux_specification_types_2.MacrosPropertyType.Aggregation,
|
|
231
|
+
aggregationCardinality: aggregation.cardinality === '0..1'
|
|
232
|
+
? ux_specification_types_2.MacrosAggregatioCardinality.Single
|
|
233
|
+
: ux_specification_types_2.MacrosAggregatioCardinality.Multiple
|
|
234
|
+
};
|
|
235
|
+
// Single-cardinality aggregations should always have isViewNode: false
|
|
236
|
+
if (aggregation.cardinality === '0..1') {
|
|
237
|
+
isViewNode = false;
|
|
238
|
+
if (aggregation.description) {
|
|
239
|
+
description = formatDescription(aggregation.description);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
const aggregationSchema = {
|
|
228
243
|
type: 'object',
|
|
229
244
|
additionalProperties: schemaTypes.length ? schemaTypes[0] : { anyOf: schemaTypes },
|
|
230
245
|
isViewNode,
|
|
231
|
-
metadata
|
|
232
|
-
path: [],
|
|
233
|
-
type: ux_specification_types_2.MacrosPropertyType.Aggregation,
|
|
234
|
-
aggregationCardinality: aggregation.cardinality === '0..1'
|
|
235
|
-
? ux_specification_types_2.MacrosAggregatioCardinality.Single
|
|
236
|
-
: ux_specification_types_2.MacrosAggregatioCardinality.Multiple
|
|
237
|
-
}
|
|
246
|
+
metadata
|
|
238
247
|
};
|
|
248
|
+
if (description) {
|
|
249
|
+
aggregationSchema.description = description;
|
|
250
|
+
}
|
|
251
|
+
return aggregationSchema;
|
|
239
252
|
}
|
|
240
253
|
/**
|
|
241
254
|
* Method applies available macros namespaces for storing inside root schema metadata.
|