@sap/ux-specification 1.136.13 → 1.136.14
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 +31 -1
- 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 +247 -247
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ApplicationV2.json +28 -3
- package/dist/schemas/v2/ListReportNewConfig.json +45 -0
- package/dist/schemas/v2/ObjectPageConfig.json +11 -5
- package/dist/schemas/v4/ApplicationV4.json +18 -12
- package/dist/schemas/v4/ListReportConfig.json +48 -0
- package/dist/schemas/v4/ObjectPageConfig.json +24 -0
- package/dist/specification/package.json +16 -16
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +23 -13
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +65 -4
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +138 -8
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts +10 -3
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.js +14 -4
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.d.ts +11 -4
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +32 -20
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +6 -4
- package/dist/specification/src/sync/common/rules.d.ts.map +1 -1
- package/dist/specification/src/sync/common/rules.js +18 -12
- package/dist/specification/src/sync/common/rules.js.map +1 -1
- package/dist/specification/src/sync/common/utils.d.ts +39 -0
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +93 -2
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/application.d.ts +1 -0
- package/dist/specification/src/sync/v2/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/application.js +18 -0
- package/dist/specification/src/sync/v2/application.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.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 +15 -4
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +5 -2
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/factory.d.ts +26 -0
- package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/factory.js +3 -3
- package/dist/specification/src/sync/v2/export/factory.js.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts +1 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.js +11 -0
- package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +46 -1
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +63 -13
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.d.ts +22 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.js +124 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +4 -0
- 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/import/pages/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js +4 -0
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +17 -1
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +57 -0
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts +3 -2
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.js +14 -2
- package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +7 -2
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +4 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +30 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts +7 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js +60 -0
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +2 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts +107 -0
- package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/ListReportUtils.js +392 -0
- package/dist/specification/src/sync/v4/generate/ListReportUtils.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/listReport.d.ts +107 -2
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.js +112 -104
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +7 -7
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +141 -0
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/App.js +208 -0
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +193 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +384 -0
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +172 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +410 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +70 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.js +73 -0
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.d.ts +9 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.js +43 -0
- package/dist/specification/src/sync/v4/sync-rules/utils.js.map +1 -0
- package/dist/specification/src/sync/v4/utils/utils.d.ts +5 -27
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +6 -53
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/types/src/common/types.d.ts +109 -1
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +6 -0
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts +1 -1
- package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -1
- package/dist/types/src/v2/application.d.ts +18 -0
- package/dist/types/src/v2/application.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +4 -4
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +10 -1
- package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -1
- package/dist/types/src/v4/application.d.ts +6 -6
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +59 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -1
- package/package.json +16 -16
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
"description": "Allows applications to configure persistence mode in an object page. Persistence mode retains the tab selection made on an object page in certain cases.",
|
|
51
51
|
"manifestPath": "$[\"sap.ui.generic.app\"].settings.statePreservationMode"
|
|
52
52
|
},
|
|
53
|
+
"globalTableSettings": {
|
|
54
|
+
"$ref": "#/definitions/GlobalApplicationTableSettings",
|
|
55
|
+
"description": "Settings for all tables.",
|
|
56
|
+
"manifestPath": "$[\"sap.ui.generic.app\"].settings.tableSettings"
|
|
57
|
+
},
|
|
53
58
|
"title": {
|
|
54
59
|
"description": "Defines the title for the application.",
|
|
55
60
|
"i18nClassification": "TIT: Title of the application",
|
|
@@ -81,10 +86,12 @@
|
|
|
81
86
|
"type": "object",
|
|
82
87
|
"properties": {
|
|
83
88
|
"defaultTwoColumnLayoutType": {
|
|
84
|
-
"$ref": "#/definitions/FlexibleColumnLayoutType"
|
|
89
|
+
"$ref": "#/definitions/FlexibleColumnLayoutType",
|
|
90
|
+
"manifestPath": "$[\"sap.ui.generic.app\"].settings.flexibleColumnLayout.defaultTwoColumnLayoutType"
|
|
85
91
|
},
|
|
86
92
|
"defaultThreeColumnLayoutType": {
|
|
87
|
-
"$ref": "#/definitions/FlexibleColumnLayoutType"
|
|
93
|
+
"$ref": "#/definitions/FlexibleColumnLayoutType",
|
|
94
|
+
"manifestPath": "$[\"sap.ui.generic.app\"].settings.flexibleColumnLayout.defaultThreeColumnLayoutType"
|
|
88
95
|
}
|
|
89
96
|
},
|
|
90
97
|
"additionalProperties": false
|
|
@@ -117,7 +124,8 @@
|
|
|
117
124
|
"enabled": {
|
|
118
125
|
"description": "Allows applications to turn off the discard draft confirmation popup in various scenarios.",
|
|
119
126
|
"type": "string",
|
|
120
|
-
"const": "restricted"
|
|
127
|
+
"const": "restricted",
|
|
128
|
+
"manifestPath": "$[\"sap.ui.generic.app\"].settings.draftDiscardConfirmationSettings.enabled"
|
|
121
129
|
}
|
|
122
130
|
},
|
|
123
131
|
"additionalProperties": false,
|
|
@@ -132,6 +140,23 @@
|
|
|
132
140
|
],
|
|
133
141
|
"type": "string"
|
|
134
142
|
},
|
|
143
|
+
"GlobalApplicationTableSettings": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"createMode": {
|
|
147
|
+
"description": "This property acts as a global default for all pages and tables in the application. Page-level or table-level definitions override this setting.\nYou can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
148
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b",
|
|
149
|
+
"enum": [
|
|
150
|
+
"creationRows",
|
|
151
|
+
"creationRowsHiddenInEditMode",
|
|
152
|
+
"inline"
|
|
153
|
+
],
|
|
154
|
+
"type": "string",
|
|
155
|
+
"manifestPath": "$[\"sap.ui.generic.app\"].settings.tableSettings.createMode"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"additionalProperties": false
|
|
159
|
+
},
|
|
135
160
|
"CloudDevAdaptationStatus": {
|
|
136
161
|
"internal": true,
|
|
137
162
|
"enum": [
|
|
@@ -447,6 +447,10 @@
|
|
|
447
447
|
"views": {
|
|
448
448
|
"$ref": "#/definitions/MultiViewsDefinition"
|
|
449
449
|
},
|
|
450
|
+
"quickVariantSelection": {
|
|
451
|
+
"$ref": "#/definitions/MultiViewsOnTable",
|
|
452
|
+
"description": "With quickVariantSelection, you can switch to multiple views (single table mode).\nEach view links to a variant you have added to your annotations."
|
|
453
|
+
},
|
|
450
454
|
"showTablePersonalisation": {
|
|
451
455
|
"description": "The showTablePersonalisation attribute can be set to false to hide the table personalization button.",
|
|
452
456
|
"type": "boolean",
|
|
@@ -500,6 +504,47 @@
|
|
|
500
504
|
"$ref": "#/definitions/Table"
|
|
501
505
|
}
|
|
502
506
|
},
|
|
507
|
+
"MultiViewsOnTable": {
|
|
508
|
+
"type": "object",
|
|
509
|
+
"properties": {
|
|
510
|
+
"showCounts": {
|
|
511
|
+
"description": "To show the number of available records, set showCounts to true.",
|
|
512
|
+
"type": "boolean",
|
|
513
|
+
"artifactType": "Manifest"
|
|
514
|
+
},
|
|
515
|
+
"variants": {
|
|
516
|
+
"description": "The variants section contains a set of entries that point to a SelectionVariant or SelectionPresentationVariant annotation.",
|
|
517
|
+
"type": "object",
|
|
518
|
+
"additionalProperties": {
|
|
519
|
+
"$ref": "#/definitions/ViewOnTable"
|
|
520
|
+
},
|
|
521
|
+
"artifactType": "Manifest"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"additionalProperties": false,
|
|
525
|
+
"required": [
|
|
526
|
+
"variants"
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
"ViewOnTable": {
|
|
530
|
+
"type": "object",
|
|
531
|
+
"properties": {
|
|
532
|
+
"key": {
|
|
533
|
+
"description": "The key property is mandatory. It is used for initializing the corresponding SegmentedButton item.",
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
"annotationPath": {
|
|
537
|
+
"description": "Use annotationPath to define a specific variant that points to a SelectionVariant or SelectionPresentationVariant annotation.",
|
|
538
|
+
"type": "string",
|
|
539
|
+
"artifactType": "Manifest"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"additionalProperties": false,
|
|
543
|
+
"required": [
|
|
544
|
+
"annotationPath",
|
|
545
|
+
"key"
|
|
546
|
+
]
|
|
547
|
+
},
|
|
503
548
|
"smarttable.ExportType": {
|
|
504
549
|
"description": "Provides the type of services available for export in the `SmartTable` control.\n\nThis enum is part of the 'sap/ui/comp/library' module export and must be accessed by the property 'smarttable.ExportType'.",
|
|
505
550
|
"enum": [
|
|
@@ -56,6 +56,12 @@
|
|
|
56
56
|
"footer": {
|
|
57
57
|
"$ref": "#/definitions/ObjectPageFooter<ObjectPageFooterActions>"
|
|
58
58
|
},
|
|
59
|
+
"createMode": {
|
|
60
|
+
"$ref": "#/definitions/CreateMode",
|
|
61
|
+
"description": "This property applies to all tables within the page. Individual tables can override this setting by defining the property explicitly at table level.\nYou can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
62
|
+
"artifactType": "Manifest",
|
|
63
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
64
|
+
},
|
|
59
65
|
"$schema": {
|
|
60
66
|
"type": "string"
|
|
61
67
|
}
|
|
@@ -727,7 +733,7 @@
|
|
|
727
733
|
},
|
|
728
734
|
"createMode": {
|
|
729
735
|
"$ref": "#/definitions/CreateMode",
|
|
730
|
-
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create
|
|
736
|
+
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
731
737
|
"artifactType": "Manifest",
|
|
732
738
|
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
733
739
|
},
|
|
@@ -1198,7 +1204,7 @@
|
|
|
1198
1204
|
},
|
|
1199
1205
|
"createMode": {
|
|
1200
1206
|
"$ref": "#/definitions/CreateMode",
|
|
1201
|
-
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create
|
|
1207
|
+
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
1202
1208
|
"artifactType": "Manifest",
|
|
1203
1209
|
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
1204
1210
|
},
|
|
@@ -1298,7 +1304,7 @@
|
|
|
1298
1304
|
},
|
|
1299
1305
|
"createMode": {
|
|
1300
1306
|
"$ref": "#/definitions/CreateMode",
|
|
1301
|
-
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create
|
|
1307
|
+
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
1302
1308
|
"artifactType": "Manifest",
|
|
1303
1309
|
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
1304
1310
|
},
|
|
@@ -1398,7 +1404,7 @@
|
|
|
1398
1404
|
},
|
|
1399
1405
|
"createMode": {
|
|
1400
1406
|
"$ref": "#/definitions/CreateMode",
|
|
1401
|
-
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create
|
|
1407
|
+
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
1402
1408
|
"artifactType": "Manifest",
|
|
1403
1409
|
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
1404
1410
|
},
|
|
@@ -1498,7 +1504,7 @@
|
|
|
1498
1504
|
},
|
|
1499
1505
|
"createMode": {
|
|
1500
1506
|
"$ref": "#/definitions/CreateMode",
|
|
1501
|
-
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create
|
|
1507
|
+
"description": "You can set the following values for this property:\n- creationRows: Used to enable empty rows mode. In create and edit mode, an empty row is added to the table.\n- creationRowsHiddenInEditMode: Similar to \"creationRows\", but in edit mode, the empty row is only displayed when the user clicks the \"Create\" button. This option is available starting with SAPUI5 version 1.110.\n- inline: In create and edit mode, users can use the \"Create\" button to add new entries to the table. We recommend to use \"creationRows\" instead.\nBy default, an empty row is not provided and the \"Create\" button automatically navigates to the item's object page for the newly created entry.",
|
|
1502
1508
|
"artifactType": "Manifest",
|
|
1503
1509
|
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b"
|
|
1504
1510
|
},
|
|
@@ -58,26 +58,26 @@
|
|
|
58
58
|
"properties": {
|
|
59
59
|
"enabled": {
|
|
60
60
|
"description": "All features related to draft handling can be hidden from the UI while the draft functionality remains active in the background. To achieve this, enable the 'Hide Draft' property.",
|
|
61
|
-
"descriptionSrcURL": "https://
|
|
61
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ed9aa41c563a44b18701529c8327db4d",
|
|
62
62
|
"type": "boolean",
|
|
63
63
|
"const": true,
|
|
64
64
|
"manifestPath": "$[\"sap.fe\"].app.hideDraft.enabled"
|
|
65
65
|
},
|
|
66
66
|
"stayOnCurrentPageAfterSave": {
|
|
67
67
|
"description": "Determines whether to stay on the current page after saving an object.\nTo ensure a consistent experience, set this and 'Stay On Current Page After Cancel' to the same value.",
|
|
68
|
-
"descriptionSrcURL": "https://
|
|
68
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ed9aa41c563a44b18701529c8327db4d",
|
|
69
69
|
"type": "boolean",
|
|
70
70
|
"manifestPath": "$[\"sap.fe\"].app.hideDraft.stayOnCurrentPageAfterSave"
|
|
71
71
|
},
|
|
72
72
|
"stayOnCurrentPageAfterCancel": {
|
|
73
73
|
"description": "Determines whether to stay on the current page after canceling an object.\nTo ensure a consistent experience, set this and 'Stay On Current Page After Save' to the same value.",
|
|
74
|
-
"descriptionSrcURL": "https://
|
|
74
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ed9aa41c563a44b18701529c8327db4d",
|
|
75
75
|
"type": "boolean",
|
|
76
76
|
"manifestPath": "$[\"sap.fe\"].app.hideDraft.stayOnCurrentPageAfterCancel"
|
|
77
77
|
},
|
|
78
78
|
"hideCreateNext": {
|
|
79
79
|
"description": "Controls the visibility of the 'Create Next' button.",
|
|
80
|
-
"descriptionSrcURL": "https://
|
|
80
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ed9aa41c563a44b18701529c8327db4d",
|
|
81
81
|
"type": "boolean",
|
|
82
82
|
"manifestPath": "$[\"sap.fe\"].app.hideDraft.hideCreateNext"
|
|
83
83
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"properties": {
|
|
93
93
|
"enabled": {
|
|
94
94
|
"description": "All features related to draft handling can be hidden from the UI while the draft functionality remains active in the background. To achieve this, enable the 'Hide Draft' property.",
|
|
95
|
-
"descriptionSrcURL": "https://
|
|
95
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ed9aa41c563a44b18701529c8327db4d",
|
|
96
96
|
"type": "boolean",
|
|
97
97
|
"const": false,
|
|
98
98
|
"manifestPath": "$[\"sap.fe\"].app.hideDraft.enabled"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
},
|
|
106
106
|
"defaultCreationMode": {
|
|
107
107
|
"description": "Define the default creation mode that is used for all tables, unless a specific creation mode has been set.",
|
|
108
|
-
"descriptionSrcURL": "https://
|
|
108
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/cfb04f0c58e7409992feb4c91aa9410b",
|
|
109
109
|
"enum": [
|
|
110
110
|
"InlineCreationRows"
|
|
111
111
|
],
|
|
@@ -144,13 +144,16 @@
|
|
|
144
144
|
"properties": {
|
|
145
145
|
"limitFCLToTwoColumns": {
|
|
146
146
|
"description": "Determines whether the Flexible Column Layout is limited to two columns. If set to true, the third level will be displayed in full screen mode rather than a third column.",
|
|
147
|
-
"type": "boolean"
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"manifestPath": "$[\"sap.ui5\"].routing.config.flexibleColumnLayout.limitFCLToTwoColumns"
|
|
148
149
|
},
|
|
149
150
|
"defaultTwoColumnLayoutType": {
|
|
150
|
-
"$ref": "#/definitions/FlexibleColumnLayoutType"
|
|
151
|
+
"$ref": "#/definitions/FlexibleColumnLayoutType",
|
|
152
|
+
"manifestPath": "$[\"sap.ui5\"].routing.config.flexibleColumnLayout.defaultTwoColumnLayoutType"
|
|
151
153
|
},
|
|
152
154
|
"defaultThreeColumnLayoutType": {
|
|
153
|
-
"$ref": "#/definitions/FlexibleColumnLayoutType"
|
|
155
|
+
"$ref": "#/definitions/FlexibleColumnLayoutType",
|
|
156
|
+
"manifestPath": "$[\"sap.ui5\"].routing.config.flexibleColumnLayout.defaultThreeColumnLayoutType"
|
|
154
157
|
}
|
|
155
158
|
},
|
|
156
159
|
"additionalProperties": false
|
|
@@ -213,21 +216,24 @@
|
|
|
213
216
|
{
|
|
214
217
|
"type": "string"
|
|
215
218
|
}
|
|
216
|
-
]
|
|
219
|
+
],
|
|
220
|
+
"manifestPath": "$[\"sap.ui5\"].dependencies.minUI5Version"
|
|
217
221
|
},
|
|
218
222
|
"libs": {
|
|
219
223
|
"description": "Represents the id (namespace) of the libraries that should be loaded by UI5 Core to be used in your component",
|
|
220
224
|
"type": "object",
|
|
221
225
|
"additionalProperties": {
|
|
222
226
|
"$ref": "#/definitions/Lib"
|
|
223
|
-
}
|
|
227
|
+
},
|
|
228
|
+
"manifestPath": "$[\"sap.ui5\"].dependencies.libs"
|
|
224
229
|
},
|
|
225
230
|
"components": {
|
|
226
231
|
"description": "Represents the id (namespace) of the components that should be loaded by UI5 Core to be used in your component",
|
|
227
232
|
"type": "object",
|
|
228
233
|
"additionalProperties": {
|
|
229
234
|
"$ref": "#/definitions/Component"
|
|
230
|
-
}
|
|
235
|
+
},
|
|
236
|
+
"manifestPath": "$[\"sap.ui5\"].dependencies.components"
|
|
231
237
|
}
|
|
232
238
|
},
|
|
233
239
|
"additionalProperties": false,
|
|
@@ -955,6 +955,30 @@
|
|
|
955
955
|
"items": {
|
|
956
956
|
"type": "string"
|
|
957
957
|
}
|
|
958
|
+
},
|
|
959
|
+
"required": {
|
|
960
|
+
"description": "Determines whether a custom column is required.\nIf set to true, an asterisk is displayed in the column header.",
|
|
961
|
+
"artifactType": "Manifest",
|
|
962
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
963
|
+
"type": "boolean"
|
|
964
|
+
},
|
|
965
|
+
"importance": {
|
|
966
|
+
"description": "The responsive table provides a feature where the table automatically moves columns to the pop-in area in the following order based on their importance:\n- Columns with \"Low\" importance are hidden first.\n- Columns with \"Medium\" importance are hidden next.\n- Columns with \"High\" importance are always displayed.",
|
|
967
|
+
"artifactType": "Manifest",
|
|
968
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
969
|
+
"enum": [
|
|
970
|
+
"High",
|
|
971
|
+
"Low",
|
|
972
|
+
"Medium"
|
|
973
|
+
],
|
|
974
|
+
"type": "string"
|
|
975
|
+
},
|
|
976
|
+
"tooltip": {
|
|
977
|
+
"description": "The tooltip is shown on the header of a custom column when a user hovers over it.",
|
|
978
|
+
"i18nClassification": "COL: Custom column tooltip text",
|
|
979
|
+
"artifactType": "Manifest",
|
|
980
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
981
|
+
"type": "string"
|
|
958
982
|
}
|
|
959
983
|
},
|
|
960
984
|
"additionalProperties": false,
|
|
@@ -1695,6 +1719,30 @@
|
|
|
1695
1719
|
"items": {
|
|
1696
1720
|
"type": "string"
|
|
1697
1721
|
}
|
|
1722
|
+
},
|
|
1723
|
+
"required": {
|
|
1724
|
+
"description": "Determines whether a custom column is required.\nIf set to true, an asterisk is displayed in the column header.",
|
|
1725
|
+
"artifactType": "Manifest",
|
|
1726
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1727
|
+
"type": "boolean"
|
|
1728
|
+
},
|
|
1729
|
+
"importance": {
|
|
1730
|
+
"description": "The responsive table provides a feature where the table automatically moves columns to the pop-in area in the following order based on their importance:\n- Columns with \"Low\" importance are hidden first.\n- Columns with \"Medium\" importance are hidden next.\n- Columns with \"High\" importance are always displayed.",
|
|
1731
|
+
"artifactType": "Manifest",
|
|
1732
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1733
|
+
"enum": [
|
|
1734
|
+
"High",
|
|
1735
|
+
"Low",
|
|
1736
|
+
"Medium"
|
|
1737
|
+
],
|
|
1738
|
+
"type": "string"
|
|
1739
|
+
},
|
|
1740
|
+
"tooltip": {
|
|
1741
|
+
"description": "The tooltip is shown on the header of a custom column when a user hovers over it.",
|
|
1742
|
+
"i18nClassification": "COL: Custom column tooltip text",
|
|
1743
|
+
"artifactType": "Manifest",
|
|
1744
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1745
|
+
"type": "string"
|
|
1698
1746
|
}
|
|
1699
1747
|
},
|
|
1700
1748
|
"additionalProperties": false,
|
|
@@ -1055,6 +1055,30 @@
|
|
|
1055
1055
|
"items": {
|
|
1056
1056
|
"type": "string"
|
|
1057
1057
|
}
|
|
1058
|
+
},
|
|
1059
|
+
"required": {
|
|
1060
|
+
"description": "Determines whether a custom column is required.\nIf set to true, an asterisk is displayed in the column header.",
|
|
1061
|
+
"artifactType": "Manifest",
|
|
1062
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1063
|
+
"type": "boolean"
|
|
1064
|
+
},
|
|
1065
|
+
"importance": {
|
|
1066
|
+
"description": "The responsive table provides a feature where the table automatically moves columns to the pop-in area in the following order based on their importance:\n- Columns with \"Low\" importance are hidden first.\n- Columns with \"Medium\" importance are hidden next.\n- Columns with \"High\" importance are always displayed.",
|
|
1067
|
+
"artifactType": "Manifest",
|
|
1068
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1069
|
+
"enum": [
|
|
1070
|
+
"High",
|
|
1071
|
+
"Low",
|
|
1072
|
+
"Medium"
|
|
1073
|
+
],
|
|
1074
|
+
"type": "string"
|
|
1075
|
+
},
|
|
1076
|
+
"tooltip": {
|
|
1077
|
+
"description": "The tooltip is shown on the header of a custom column when a user hovers over it.",
|
|
1078
|
+
"i18nClassification": "COL: Custom column tooltip text",
|
|
1079
|
+
"artifactType": "Manifest",
|
|
1080
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/d525522c1bf54672ae4e02d66b38e60c",
|
|
1081
|
+
"type": "string"
|
|
1058
1082
|
}
|
|
1059
1083
|
},
|
|
1060
1084
|
"additionalProperties": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.14",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"docuV4": "ts-node ./scripts/extractDocu.ts --version=v4 format=excel",
|
|
35
35
|
"htmlV2": "ts-node ./scripts/extractDocu.ts --version=v2 --format=html",
|
|
36
36
|
"htmlV4": "ts-node ./scripts/extractDocu.ts --version=v4 --format=html",
|
|
37
|
-
"lint": "eslint .
|
|
38
|
-
"lint:summary": "eslint .
|
|
39
|
-
"lint:fix": "eslint . --
|
|
40
|
-
"lint:report": "eslint .
|
|
41
|
-
"lint:report:jslint": "eslint .
|
|
37
|
+
"lint": "eslint .",
|
|
38
|
+
"lint:summary": "eslint . -f summary",
|
|
39
|
+
"lint:fix": "eslint . --fix",
|
|
40
|
+
"lint:report": "eslint . -f multiple",
|
|
41
|
+
"lint:report:jslint": "eslint . -o reports/lint/eslint.jslint.xml -f jslint-xml",
|
|
42
42
|
"macros": "ts-node ./scripts/macros/index.ts",
|
|
43
43
|
"test": "jest && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
44
44
|
"test:ci": "jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
"publisher": "SAPSE",
|
|
50
50
|
"license": "SEE LICENSE IN LICENSE",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@sap-ux/fe-fpm-writer": "0.40.
|
|
53
|
-
"@sap-ux/vocabularies-types": "0.
|
|
52
|
+
"@sap-ux/fe-fpm-writer": "0.40.11",
|
|
53
|
+
"@sap-ux/vocabularies-types": "0.14.5"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@sap-ux/annotation-converter": "0.10.
|
|
57
|
-
"@sap-ux/edmx-parser": "0.9.
|
|
58
|
-
"@sap-ux/project-access": "1.
|
|
59
|
-
"@sap/ux-specification-types": "1.136.
|
|
56
|
+
"@sap-ux/annotation-converter": "0.10.19",
|
|
57
|
+
"@sap-ux/edmx-parser": "0.9.8",
|
|
58
|
+
"@sap-ux/project-access": "1.34.2",
|
|
59
|
+
"@sap/ux-specification-types": "1.136.14",
|
|
60
60
|
"@sapui5/types": "latest-1.136",
|
|
61
61
|
"@types/d3": "7.4.3",
|
|
62
62
|
"@types/jquery": "3.5.33",
|
|
63
|
+
"@types/json-schema": "7.0.15",
|
|
63
64
|
"@types/mem-fs": "1.1.5",
|
|
64
65
|
"@types/mem-fs-editor": "7.0.1",
|
|
65
|
-
"@types/json-schema": "7.0.5",
|
|
66
66
|
"@ui5/flexibility-utils": "0.1.3",
|
|
67
67
|
"@xml-tools/ast": "5.0.5",
|
|
68
68
|
"@xml-tools/parser": "1.0.11",
|
|
@@ -71,17 +71,17 @@
|
|
|
71
71
|
"d3": "7.9.0",
|
|
72
72
|
"deepmerge": "4.3.1",
|
|
73
73
|
"ejs": "3.1.10",
|
|
74
|
+
"eslint-formatter-checkstyle": "9.0.1",
|
|
74
75
|
"excel4node": "1.8.2",
|
|
75
|
-
"i18next": "25.7.
|
|
76
|
+
"i18next": "25.7.4",
|
|
76
77
|
"jquery": "3.7.1",
|
|
77
78
|
"jsdom": "25.0.1",
|
|
78
|
-
"lodash.unset": "4.5.2",
|
|
79
79
|
"mem-fs": "2.1.0",
|
|
80
80
|
"mem-fs-editor": "9.7.0",
|
|
81
81
|
"path": "0.12.7",
|
|
82
82
|
"reflect-metadata": "0.2.2",
|
|
83
83
|
"semver": "7.7.3",
|
|
84
|
-
"typescript-json-schema": "0.
|
|
84
|
+
"typescript-json-schema": "0.67.1",
|
|
85
85
|
"xml-js": "1.6.11"
|
|
86
86
|
},
|
|
87
87
|
"husky": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-json-schema.d.ts","sourceRoot":"","sources":["../../../../scripts/schema/to-json-schema.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAS1F,MAAM,MAAM,MAAM,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AA8BhD;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAAC,OAAO,CAAC,EAAE,yBAAyB,QAErF;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,oBAAoB,GAAG,MAAM,EAAE,CA4BxG;
|
|
1
|
+
{"version":3,"file":"to-json-schema.d.ts","sourceRoot":"","sources":["../../../../scripts/schema/to-json-schema.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAS1F,MAAM,MAAM,MAAM,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AA8BhD;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAAC,OAAO,CAAC,EAAE,yBAAyB,QAErF;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,oBAAoB,GAAG,MAAM,EAAE,CA4BxG;AAqJD;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,yBAwBzC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CA0BrD"}
|
|
@@ -221,20 +221,30 @@ function addManifestPathsToApplication(schema, classPrototype) {
|
|
|
221
221
|
for (const property in schema.definitions.AppSettings.properties) {
|
|
222
222
|
const propertySchema = schema.definitions.AppSettings.properties[property];
|
|
223
223
|
const rule = (0, decoration_1.getReflectMetadata)(classPrototype, property);
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
224
|
+
if (!rule?.manifest?.path) {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
const exportPropertyKey = rule?.manifest?.key ?? property;
|
|
228
|
+
const manifestPath = `${rule.manifest.path()}/${exportPropertyKey}`;
|
|
229
|
+
propertySchema.manifestPath = (0, utils_2.convertSyncRulePathToJsonPath)(manifestPath);
|
|
230
|
+
// Continue parsing of inner properties
|
|
231
|
+
// Handle anyOf with inner properties
|
|
232
|
+
if (propertySchema.anyOf) {
|
|
233
|
+
for (const innerSchema of propertySchema.anyOf) {
|
|
234
|
+
if (!innerSchema.properties) {
|
|
235
|
+
continue;
|
|
237
236
|
}
|
|
237
|
+
for (const property in innerSchema.properties) {
|
|
238
|
+
innerSchema.properties[property].manifestPath = (0, utils_2.appendJsonPathSegment)(propertySchema.manifestPath, property);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
// Handle $ref with inner properties
|
|
243
|
+
if (propertySchema.manifestPath && propertySchema.$ref) {
|
|
244
|
+
const innerDefinitions = (0, utils_2.getDefinitionKey)(propertySchema.$ref);
|
|
245
|
+
const innerProperties = schema.definitions[innerDefinitions]?.properties ?? {};
|
|
246
|
+
for (const innerProperty in innerProperties) {
|
|
247
|
+
innerProperties[innerProperty].manifestPath = (0, utils_2.appendJsonPathSegment)(propertySchema.manifestPath, innerProperty);
|
|
238
248
|
}
|
|
239
249
|
}
|
|
240
250
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-json-schema.js","sourceRoot":"","sources":["../../../../scripts/schema/to-json-schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDA,gFAEC;AAUD,8CA4BC;
|
|
1
|
+
{"version":3,"file":"to-json-schema.js","sourceRoot":"","sources":["../../../../scripts/schema/to-json-schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDA,gFAEC;AAUD,8CA4BC;AAuLD,oCA0BC;AAhTD,+BAAsC;AACtC,uCAAyB;AAEzB,mEAA6E;AAE7E,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AAM,YAAY,GAAG,iBAAiB,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC,EAAE,6CAAoB,CAAC,EAAE,CAAC,CAAC;IAC7G,8BAA8B;IAC9B,kBAAkB,CAAC,EAAE,GAAG,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IACzD,mBAAmB;IACnB,kBAAkB,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;IACnD,kBAAkB,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
|
-
import type { SyncRule, PageLayoutInformation, ValidityInformation, SyncRuleProvider } from '@sap/ux-specification-types';
|
|
3
|
-
export declare const
|
|
2
|
+
import type { SyncRule, PageLayoutInformation, ValidityInformation, SyncRuleProvider, Validity, BooleanCondition, DependsOnCondition, DependsOnMessage, MultiDependsOnCondition } from '@sap/ux-specification-types';
|
|
3
|
+
export declare const metadataKeys: {
|
|
4
|
+
description: symbol;
|
|
5
|
+
hidden: symbol;
|
|
6
|
+
isViewNode: symbol;
|
|
7
|
+
syncRule: symbol;
|
|
8
|
+
dependsOn: symbol;
|
|
9
|
+
validity: symbol;
|
|
10
|
+
};
|
|
4
11
|
export declare const syncRule: (propSpec: SyncRule) => any;
|
|
5
12
|
/**
|
|
6
13
|
* Retrieves the metadata associated with a specific property of a target object.
|
|
@@ -24,8 +31,62 @@ export declare const getPageLayoutInformation: (target: any) => PageLayoutInform
|
|
|
24
31
|
export declare const descriptionUrlMetadataKey: unique symbol;
|
|
25
32
|
export declare const descriptionSrcURL: (id: string) => any;
|
|
26
33
|
export declare const getDescriptionSrcURL: (target: any, propertyName: string) => string;
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
34
|
+
export declare const validity: (validity: Validity) => any;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves the validity metadata associated with a specific property of a target object.
|
|
37
|
+
*
|
|
38
|
+
* @param target - The object containing the property.
|
|
39
|
+
* @param propertyName - The name of the property whose validity metadata is to be retrieved.
|
|
40
|
+
* @returns The validity information of the property, or undefined if no metadata is found.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getValidityMetadata(target: object, propertyName: string): ValidityInformation | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Mark the target class with a metadata flag indicating it is a view node.
|
|
45
|
+
*
|
|
46
|
+
* @param target - The constructor of the class to be marked as a view node
|
|
47
|
+
*/
|
|
48
|
+
export declare function isViewNode(target: Function): void;
|
|
49
|
+
/**
|
|
50
|
+
* Decorator to add a description to a class or property in the schema.
|
|
51
|
+
*
|
|
52
|
+
* @param text - The description text
|
|
53
|
+
* @returns ClassDecorator
|
|
54
|
+
*/
|
|
55
|
+
export declare function description(text: string): (target: Function) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Decorator to conditionally hide a property in the schema based on a condition function.
|
|
58
|
+
* The condition function is evaluated during schema generation with the appropriate context.
|
|
59
|
+
*
|
|
60
|
+
* @param condition - A function that takes context and returns boolean indicating if property should be hidden
|
|
61
|
+
* @returns PropertyDecorator or ClassDecorator depending on usage
|
|
62
|
+
*/
|
|
63
|
+
export declare function hidden(condition?: BooleanCondition): PropertyDecorator & ClassDecorator;
|
|
64
|
+
/**
|
|
65
|
+
* Helper function to create a DependsOnMessage object.
|
|
66
|
+
*
|
|
67
|
+
* @param text - The message text (can be true for default i18n message, a string, or a function)
|
|
68
|
+
* @param deletable - Whether the message can be deleted/dismissed in the UI
|
|
69
|
+
* @returns A DependsOnMessage object
|
|
70
|
+
*/
|
|
71
|
+
export declare const dependsOnMessage: (text?: DependsOnMessage["text"], deletable?: boolean) => DependsOnMessage;
|
|
72
|
+
/**
|
|
73
|
+
* Decorator to conditionally show/hide a property based on one or more property values.
|
|
74
|
+
* The decorated property will be hidden if the dependency condition(s) are not met.
|
|
75
|
+
*
|
|
76
|
+
* @param pathOrConditions - A string property path or an array of condition objects (all must be met)
|
|
77
|
+
* @param conditionOrValueOrMessage - Single condition: condition/expected value/message; Multi-condition: message parameter
|
|
78
|
+
* @param message - Optional message parameter (only for single condition with condition/value)
|
|
79
|
+
* @returns PropertyDecorator
|
|
80
|
+
*/
|
|
81
|
+
export declare function dependsOn(pathOrConditions: string | MultiDependsOnCondition, conditionOrValueOrMessage?: BooleanCondition | any | DependsOnMessage, message?: DependsOnMessage): PropertyDecorator;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves the dependsOn metadata associated with a specific property of a target object.
|
|
84
|
+
*
|
|
85
|
+
* @param target - The object containing the property.
|
|
86
|
+
* @param propertyName - The name of the property whose dependsOn metadata is to be retrieved.
|
|
87
|
+
* @returns The dependsOn information of the property, or undefined if no metadata is found.
|
|
88
|
+
*/
|
|
89
|
+
export declare function getDependsOnMetadata(target: object, propertyName: string): DependsOnCondition | undefined;
|
|
29
90
|
/**
|
|
30
91
|
* Generates a deprecation message for a given key, optionally including additional validity information.
|
|
31
92
|
*
|