@sap/ux-specification 1.84.74 → 1.84.75
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 -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-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-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +41 -41
- package/dist/index-min.js.map +4 -4
- package/dist/package.json +4 -4
- package/dist/schemas/v2/AnalyticalListPageConfig.json +38 -0
- package/dist/schemas/v2/ListReportConfig.json +556 -518
- package/dist/schemas/v2/ObjectPageConfig.json +72 -4
- package/dist/schemas/v4/ObjectPageConfig.json +12 -2
- package/dist/src/sync/common/generate/objectPage.d.ts +6 -5
- package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/common/generate/objectPage.js +117 -86
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/common/generate/utils.js +6 -4
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +1 -1
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +17 -14
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +21 -0
- package/dist/src/sync/v2/export/controls/Action.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.js +93 -1
- package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +2 -0
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/listReport.js +5 -2
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +62 -63
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +20 -0
- package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/utils.js +62 -2
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.d.ts +9 -0
- package/dist/src/sync/v2/import/common/index.d.ts.map +1 -1
- package/dist/src/sync/v2/import/common/index.js +39 -13
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +3 -3
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.js +3 -3
- package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +80 -32
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +6 -1
- package/dist/src/sync/v2/types.d.ts.map +1 -1
- package/dist/src/sync/v2/types.js +6 -1
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/listReport.js +44 -45
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +6 -2
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/package.json +4 -4
|
@@ -120,6 +120,14 @@
|
|
|
120
120
|
"type": "object",
|
|
121
121
|
"additionalProperties": {
|
|
122
122
|
"$ref": "#/definitions/HeaderAction"
|
|
123
|
+
},
|
|
124
|
+
"properties": {
|
|
125
|
+
"UpAndDownNavigation": {
|
|
126
|
+
"$ref": "#/definitions/UpAndDownNavigationOP"
|
|
127
|
+
},
|
|
128
|
+
"Share": {
|
|
129
|
+
"$ref": "#/definitions/ShareOP"
|
|
130
|
+
}
|
|
123
131
|
}
|
|
124
132
|
},
|
|
125
133
|
"HeaderAction": {
|
|
@@ -142,7 +150,7 @@
|
|
|
142
150
|
"type": "string"
|
|
143
151
|
}
|
|
144
152
|
],
|
|
145
|
-
"description": "Allows you to define if the action button
|
|
153
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
146
154
|
"artifactType": "FlexChange",
|
|
147
155
|
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
148
156
|
},
|
|
@@ -193,6 +201,34 @@
|
|
|
193
201
|
],
|
|
194
202
|
"type": "string"
|
|
195
203
|
},
|
|
204
|
+
"UpAndDownNavigationOP": {
|
|
205
|
+
"description": "Up and Down Navigation",
|
|
206
|
+
"isViewNode": true,
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"visible": {
|
|
210
|
+
"description": "Allows you to define if the button is visible on the screen.",
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"artifactType": "FlexChange",
|
|
213
|
+
"controlType": "sap.m.Button"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"additionalProperties": false
|
|
217
|
+
},
|
|
218
|
+
"ShareOP": {
|
|
219
|
+
"description": "Share",
|
|
220
|
+
"isViewNode": true,
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"visible": {
|
|
224
|
+
"description": "Allows you to define if the button is visible on the screen.",
|
|
225
|
+
"type": "boolean",
|
|
226
|
+
"artifactType": "FlexChange",
|
|
227
|
+
"controlType": "sap.m.Button"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"additionalProperties": false
|
|
231
|
+
},
|
|
196
232
|
"ObjectPageLayout": {
|
|
197
233
|
"description": "Page Layout",
|
|
198
234
|
"isViewNode": true,
|
|
@@ -396,7 +432,7 @@
|
|
|
396
432
|
"type": "string"
|
|
397
433
|
}
|
|
398
434
|
],
|
|
399
|
-
"description": "Allows you to define if the action button
|
|
435
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
400
436
|
"artifactType": "FlexChange",
|
|
401
437
|
"controlType": "sap.m.Button"
|
|
402
438
|
},
|
|
@@ -698,7 +734,7 @@
|
|
|
698
734
|
"type": "string"
|
|
699
735
|
}
|
|
700
736
|
],
|
|
701
|
-
"description": "Allows you to define if the action button
|
|
737
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
702
738
|
"artifactType": "FlexChange",
|
|
703
739
|
"controlType": "sap.m.Button"
|
|
704
740
|
},
|
|
@@ -1640,6 +1676,11 @@
|
|
|
1640
1676
|
"type": "object",
|
|
1641
1677
|
"additionalProperties": {
|
|
1642
1678
|
"$ref": "#/definitions/ObjectPageFooterAction"
|
|
1679
|
+
},
|
|
1680
|
+
"properties": {
|
|
1681
|
+
"SaveAndEdit": {
|
|
1682
|
+
"$ref": "#/definitions/SaveAndEditOP"
|
|
1683
|
+
}
|
|
1643
1684
|
}
|
|
1644
1685
|
},
|
|
1645
1686
|
"ObjectPageFooterAction": {
|
|
@@ -1662,7 +1703,7 @@
|
|
|
1662
1703
|
"type": "string"
|
|
1663
1704
|
}
|
|
1664
1705
|
],
|
|
1665
|
-
"description": "Allows you to define if the action button
|
|
1706
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
1666
1707
|
"artifactType": "FlexChange",
|
|
1667
1708
|
"controlType": "sap.m.Button"
|
|
1668
1709
|
},
|
|
@@ -1693,6 +1734,33 @@
|
|
|
1693
1734
|
}
|
|
1694
1735
|
},
|
|
1695
1736
|
"additionalProperties": false
|
|
1737
|
+
},
|
|
1738
|
+
"SaveAndEditOP": {
|
|
1739
|
+
"description": "Save and Edit",
|
|
1740
|
+
"isViewNode": true,
|
|
1741
|
+
"type": "object",
|
|
1742
|
+
"properties": {
|
|
1743
|
+
"visible": {
|
|
1744
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
|
|
1745
|
+
"anyOf": [
|
|
1746
|
+
{
|
|
1747
|
+
"enum": [
|
|
1748
|
+
false,
|
|
1749
|
+
true,
|
|
1750
|
+
"{ui>/editable}",
|
|
1751
|
+
"{= !${ui>/editable}}"
|
|
1752
|
+
]
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"type": "string"
|
|
1756
|
+
}
|
|
1757
|
+
],
|
|
1758
|
+
"description": "Allows you to define if the button is visible on the screen.",
|
|
1759
|
+
"artifactType": "FlexChange",
|
|
1760
|
+
"controlType": "sap.m.Button"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"additionalProperties": false
|
|
1696
1764
|
}
|
|
1697
1765
|
},
|
|
1698
1766
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -625,27 +625,37 @@
|
|
|
625
625
|
"type": "object",
|
|
626
626
|
"properties": {
|
|
627
627
|
"className": {
|
|
628
|
+
"hidden": true,
|
|
628
629
|
"type": "string",
|
|
629
630
|
"const": "sap.ui.core.Fragment"
|
|
630
631
|
},
|
|
631
632
|
"fragmentName": {
|
|
633
|
+
"description": "The path to the XML template containing the section control.",
|
|
634
|
+
"artifactType": "Manifest",
|
|
632
635
|
"type": "string"
|
|
633
636
|
},
|
|
634
637
|
"relatedFacet": {
|
|
638
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
639
|
+
"artifactType": "Manifest",
|
|
635
640
|
"type": "string"
|
|
636
641
|
},
|
|
637
642
|
"relativePosition": {
|
|
638
|
-
"$ref": "#/definitions/SectionPosition"
|
|
643
|
+
"$ref": "#/definitions/SectionPosition",
|
|
644
|
+
"description": "Define the placement, either before or after the anchor facet/section."
|
|
639
645
|
},
|
|
640
646
|
"id": {
|
|
647
|
+
"description": "The unique ID of a section.",
|
|
648
|
+
"artifactType": "Manifest",
|
|
641
649
|
"type": "string"
|
|
642
650
|
},
|
|
643
651
|
"type": {
|
|
652
|
+
"hidden": true,
|
|
644
653
|
"type": "string",
|
|
645
654
|
"const": "XML"
|
|
646
655
|
},
|
|
647
656
|
"title": {
|
|
648
|
-
"description": "The label of
|
|
657
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
658
|
+
"artifactType": "Manifest",
|
|
649
659
|
"i18nClassification": "TIT: Custom section title",
|
|
650
660
|
"type": "string"
|
|
651
661
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConvertedMetadata, EntitySet, EntityType } from '@sap-ux/vocabularies-types';
|
|
2
2
|
import type { FacetConfig, GenerateAppSchemaParameters } from '@sap/ux-specification-types';
|
|
3
|
-
import { FioriElementsVersion, SectionType } from '@sap/ux-specification-types';
|
|
3
|
+
import { FioriElementsVersion, SectionType, v2 } from '@sap/ux-specification-types';
|
|
4
4
|
import type { Definition } from 'typescript-json-schema';
|
|
5
5
|
/**
|
|
6
6
|
* Adds definitions for forms in object page sections to the app schema
|
|
@@ -34,17 +34,18 @@ export declare function getActionNameAndId(item: any, oDataServiceAVT: Converted
|
|
|
34
34
|
* Add Object Page Footer Action Buttons to app-specific schema
|
|
35
35
|
*
|
|
36
36
|
* @param {object} appSchema Schema of the app
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {
|
|
37
|
+
* @param {GenerateAppSchemaParameters} generateParameters - Schema parameters
|
|
38
|
+
* @param {FioriElementsVersion} version - Fiori elements versions
|
|
39
|
+
* @param {SapUiAppPagesV2} pages - pages found in manifest
|
|
39
40
|
*/
|
|
40
|
-
export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters): void;
|
|
41
|
+
export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version?: FioriElementsVersion, pages?: v2.SapUiAppPagesV2): void;
|
|
41
42
|
/**
|
|
42
43
|
* Add Object Page Header Action Buttons to app-specific schema
|
|
43
44
|
* @param {object} appSchema Schema of the app
|
|
44
45
|
* @param {EntityType} entityType - current entity type
|
|
45
46
|
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
46
47
|
*/
|
|
47
|
-
export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any): void;
|
|
48
|
+
export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any, isV2?: boolean): void;
|
|
48
49
|
/**
|
|
49
50
|
* Adds common Object Page Header definitions to the app schema
|
|
50
51
|
* @param appSchema - app-specific JSOn schema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EAGH,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6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