@sap/ux-specification 1.90.24 → 1.90.27
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 +80 -1
- package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
- package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
- package/dist/documentation/v2/v2-ListReport.html +1 -1
- package/dist/documentation/v2/v2-ObjectPage.html +1 -1
- package/dist/documentation/v2/v2-OverviewPage.html +1 -1
- package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
- package/dist/documentation/v4/v4-ListReport.html +1 -1
- package/dist/documentation/v4/v4-ObjectPage.html +1 -1
- package/dist/index-min.js +1 -1
- package/dist/schemas/v2/AnalyticalListPageConfig.json +10 -10
- package/dist/schemas/v2/ListReportConfig.json +15 -15
- package/dist/schemas/v2/ObjectPageConfig.json +204 -20
- package/dist/schemas/v4/ListReportConfig.json +33 -3
- package/dist/schemas/v4/ObjectPageConfig.json +36 -0
- package/dist/scripts/to-json-schema.js +1 -1
- package/dist/scripts/to-json-schema.js.map +1 -1
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/src/apiTypes.d.ts +2 -1
- package/dist/src/project.d.ts +1 -0
- package/dist/src/project.js +13 -5
- package/dist/src/project.js.map +1 -1
- package/dist/src/specification/v2/controls/Action.d.ts +6 -4
- package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +3 -2
- package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +40 -7
- package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +5 -3
- package/dist/src/specification/v2/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/specification/v2/controls/Table.d.ts +7 -4
- package/dist/src/specification/v2/controls/Table.js.map +1 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +22 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v4/controls/Table.d.ts +8 -0
- package/dist/src/specification/v4/pages/ListReportConfig.d.ts +6 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +1 -0
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/dist/src/sync/common/decoration/control.d.ts +1 -1
- package/dist/src/sync/common/decoration/control.js +27 -22
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +5 -4
- package/dist/src/sync/common/generate/objectPage.js +67 -66
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +54 -13
- package/dist/src/sync/common/generate/utils.js +140 -47
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/import/utils.d.ts +3 -2
- package/dist/src/sync/common/import/utils.js +11 -6
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.js +20 -19
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +105 -26
- package/dist/src/sync/common/types.js +101 -22
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +17 -12
- package/dist/src/sync/common/utils.js +132 -88
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +12 -10
- package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -1
- package/dist/src/sync/v2/export/controls/FormAction.d.ts +9 -7
- package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +2 -2
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +6 -4
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +3 -2
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +6 -4
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +26 -14
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +57 -5
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +5 -3
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +6 -4
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts +6 -3
- package/dist/src/sync/v2/export/controls/Table.js +89 -48
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts +12 -10
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v2/export/export.d.ts +0 -1
- package/dist/src/sync/v2/export/export.js +222 -160
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.js +35 -34
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.d.ts +22 -0
- package/dist/src/sync/v2/export/manifest.js +77 -36
- package/dist/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +1 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js +18 -16
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +10 -10
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.js +1 -1
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +57 -43
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +5 -4
- package/dist/src/sync/v2/generate/utils.js +73 -69
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts +9 -0
- package/dist/src/sync/v2/import/app/appProvider.js +36 -13
- package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js +1 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.js +6 -6
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +93 -101
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/import/utils.js +1 -1
- package/dist/src/sync/v2/import/utils.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +8 -3
- package/dist/src/sync/v2/types.js +6 -2
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/application.d.ts +22 -10
- package/dist/src/sync/v4/application.js +68 -19
- package/dist/src/sync/v4/application.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +6 -18
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +8 -1
- package/dist/src/sync/v4/export/controls/Table.js +110 -86
- package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +4 -4
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v4/export/export.js +285 -150
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.js +25 -6
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +1 -0
- package/dist/src/sync/v4/export/pages/ListReport.js +7 -0
- package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.js +3 -2
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
- package/dist/src/sync/v4/export/types.d.ts +5 -5
- package/dist/src/sync/v4/generate/listReport.js +304 -156
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +286 -148
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.js +32 -22
- package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.js +54 -37
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +13 -0
- package/dist/src/sync/v4/import/pages/objectPage.js +64 -35
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +2 -1
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/types.d.ts +2 -0
- package/dist/src/sync/v4/utils/StableIdHelper.js +13 -10
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +7 -7
- package/dist/src/sync/v4/utils/utils.js +44 -34
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/test/unit/export/manifest.test.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Manifest } from '../../specification/common/webapp/manifest';
|
|
2
|
-
import type { EntityType } from '@sap-ux/vocabularies-types';
|
|
2
|
+
import type { AnnotationTerm, CollectionFacet, EntityType, ReferenceFacet, ReferenceURLFacet } from '@sap-ux/vocabularies-types';
|
|
3
3
|
import type { ManifestSettingsType } from '../../specification/common/types';
|
|
4
|
+
export declare type anyFacetType = AnnotationTerm<CollectionFacet> | AnnotationTerm<ReferenceFacet> | AnnotationTerm<ReferenceURLFacet>;
|
|
4
5
|
export declare enum ExportArtifacts {
|
|
5
6
|
flex = "flex",
|
|
6
7
|
manifest = "manifest"
|
|
@@ -35,6 +36,7 @@ export interface ExportResults {
|
|
|
35
36
|
}
|
|
36
37
|
export declare enum SectionType {
|
|
37
38
|
Section = "Section",
|
|
39
|
+
SubSection = "SubSection",
|
|
38
40
|
HeaderSection = "HeaderSection"
|
|
39
41
|
}
|
|
40
42
|
export declare enum ArtifactType {
|
|
@@ -109,12 +111,13 @@ export interface FlexAdapter {
|
|
|
109
111
|
importFlexValue?: importFlexValue;
|
|
110
112
|
}
|
|
111
113
|
export declare type ManifestPath = (pageKeys?: string[], manifest?: Manifest, ...pathParts: string[]) => string;
|
|
114
|
+
export declare type ExportHandlerFunction = (manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string, ...pathParts: string[]) => unknown;
|
|
112
115
|
export interface ManifestConverter {
|
|
113
116
|
path: ManifestPath;
|
|
114
117
|
key?: string;
|
|
115
118
|
import?: ((manifestSection: unknown, sectionId?: string, propertyKey?: string, breadcrumbs?: string[]) => unknown) | boolean;
|
|
116
|
-
export?:
|
|
117
|
-
delete?: (manifestSection: unknown, configObject: unknown, key: string, manifestKey: string) => unknown;
|
|
119
|
+
export?: ExportHandlerFunction | boolean;
|
|
120
|
+
delete?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey: string, syncRuleKey?: string) => unknown) | boolean;
|
|
118
121
|
}
|
|
119
122
|
export interface SyncRule {
|
|
120
123
|
flex?: FlexAdapter;
|
|
@@ -155,6 +158,10 @@ export interface FileData {
|
|
|
155
158
|
dataSourceUri: string;
|
|
156
159
|
fileContent: string;
|
|
157
160
|
}
|
|
161
|
+
export declare enum Visualization {
|
|
162
|
+
LineItem = "LineItem",
|
|
163
|
+
Chart = "Chart"
|
|
164
|
+
}
|
|
158
165
|
export declare enum FacetBase {
|
|
159
166
|
LineItem = "LineItem",
|
|
160
167
|
CollectionFacet = "CollectionFacet",
|
|
@@ -164,6 +171,7 @@ export declare enum FacetBase {
|
|
|
164
171
|
DataPoint = "DataPoint",
|
|
165
172
|
Address = "Address",
|
|
166
173
|
Contact = "Contact",
|
|
174
|
+
PresentationVariant = "PresentationVariant",
|
|
167
175
|
Unknown = ""
|
|
168
176
|
}
|
|
169
177
|
export interface FacetConfig {
|
|
@@ -174,6 +182,7 @@ export interface FacetConfig {
|
|
|
174
182
|
entityType?: EntityType;
|
|
175
183
|
annotationPath?: string;
|
|
176
184
|
target?: object;
|
|
185
|
+
facets?: FacetConfigs;
|
|
177
186
|
}
|
|
178
187
|
export interface SubSectionConfig {
|
|
179
188
|
base: FacetBase;
|
|
@@ -218,41 +227,111 @@ export declare enum ViewTemplateType {
|
|
|
218
227
|
ResponsiveTableCellsExtension = "ResponsiveTableCellsExtension"
|
|
219
228
|
}
|
|
220
229
|
export declare enum DefinitionName {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
230
|
+
Actions = "Actions",
|
|
231
|
+
ALPChart = "ALPChart",
|
|
232
|
+
ALPChartView = "ALPChartView",
|
|
233
|
+
ALPTable = "ALPTable",
|
|
234
|
+
ALPTableView = "ALPTableView",
|
|
235
|
+
AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar",
|
|
236
|
+
AnnotationPathAsObject = "AnnotationPathAsObject",
|
|
237
|
+
ChartToolBarAction = "ChartToolBarAction",
|
|
238
|
+
CommonHeaderFacetSettings = "CommonHeaderFacetSettings",
|
|
228
239
|
CustomColumn = "TableCustomColumn",
|
|
229
|
-
ViewCustomColumn = "ViewTableCustomColumn",
|
|
230
240
|
CustomColumnOP = "TableCustomColumnOP",
|
|
231
|
-
|
|
232
|
-
|
|
241
|
+
CustomColumns = "TableCustomColumns",
|
|
242
|
+
CustomSections = "CustomSections",
|
|
243
|
+
FieldPath = "FieldPath",
|
|
244
|
+
Field = "Field",
|
|
245
|
+
Fields = "Fields",
|
|
246
|
+
Fields4Dialog = "Fields4Dialog",
|
|
247
|
+
Footer = "Footer",
|
|
248
|
+
FooterActions = "FooterActions",
|
|
249
|
+
Form = "Form",
|
|
250
|
+
FormAction = "FormAction",
|
|
251
|
+
GenericActions = "GenericActions",
|
|
252
|
+
GenericColumnsOP = "GenericColumnsOP",
|
|
253
|
+
GenericFooter = "GenericFooter",
|
|
254
|
+
GenericSections = "GenericSections",
|
|
255
|
+
HeaderActions = "HeaderActions",
|
|
256
|
+
HeaderSections = "HeaderSections",
|
|
257
|
+
LineItems = "LineItems",
|
|
258
|
+
LineItemsOfView = "LineItemsOfView",
|
|
233
259
|
ListReportFilterBar = "ListReportFilterBar",
|
|
234
|
-
AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar",
|
|
235
|
-
ALPChart = "ALPChart",
|
|
236
|
-
ALPChartView = "ALPChartView",
|
|
237
|
-
ViewChartToolBar = "ViewChartToolBar",
|
|
238
|
-
Table = "Table",
|
|
239
260
|
LRTableView = "LRTableView",
|
|
240
261
|
LRChartView = "LRChartView",
|
|
241
|
-
Actions = "Actions",
|
|
242
|
-
ViewToolBarAction = "ViewToolBarAction",
|
|
243
|
-
ChartToolBarAction = "ChartToolBarAction",
|
|
244
|
-
ToolBarAction = "ToolBarAction",
|
|
245
|
-
ObjectPageToolBarAction = "ObjectPageToolBarAction",
|
|
246
262
|
MultiTableModeV4 = "MultiTableModeV4",
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
263
|
+
ObjectPageChart = "ObjectPageChart",
|
|
264
|
+
ObjectPageCustomSectionFragment = "ObjectPageCustomSectionFragment",
|
|
265
|
+
ObjectPageFooter = "ObjectPageFooter",
|
|
266
|
+
ObjectPageFooterAction = "ObjectPageFooterAction",
|
|
267
|
+
ObjectPageFooterActions = "ObjectPageFooterActions",
|
|
268
|
+
ObjectPageHeader = "ObjectPageHeader",
|
|
269
|
+
ObjectPageHeaderSectionForm = "ObjectPageHeaderSectionForm",
|
|
270
|
+
ObjectPageHeaderSectionChart = "ObjectPageHeaderSectionChart",
|
|
271
|
+
ObjectPageHeaderSectionDataPoint = "ObjectPageHeaderSectionDataPoint",
|
|
272
|
+
ObjectPageHeaderSectionContact = "ObjectPageHeaderSectionContact",
|
|
273
|
+
ObjectPageHeaderSectionAddress = "ObjectPageHeaderSectionAddress",
|
|
274
|
+
ObjectPageLayout = "ObjectPageLayout",
|
|
275
|
+
ObjectPagePresentationVariant = "ObjectPagePresentationVariant",
|
|
276
|
+
ObjectPageSectionAddress = "ObjectPageSectionAddress",
|
|
277
|
+
ObjectPageSectionChart = "ObjectPageSectionChart",
|
|
278
|
+
ObjectPageSectionContact = "ObjectPageSectionContact",
|
|
279
|
+
ObjectPageSectionDataPoint = "ObjectPageSectionDataPoint",
|
|
280
|
+
ObjectPageSectionForm = "ObjectPageSectionForm",
|
|
281
|
+
ObjectPageSectionPresentationVariant = "ObjectPageSectionPresentationVariant",
|
|
282
|
+
ObjectPageSectionTableV4 = "ObjectPageSectionTableV4",
|
|
283
|
+
ObjectPageSubSections = "ObjectPageSubSections",
|
|
284
|
+
ObjectPageTable = "ObjectPageTable",
|
|
285
|
+
ObjectPageTableColumn = "ObjectPageTableColumn",
|
|
286
|
+
ObjectPageToolBar = "ObjectPageToolBar",
|
|
287
|
+
ObjectPageToolBarAction = "ObjectPageToolBarAction",
|
|
288
|
+
ObjectPageToolBarActions = "ObjectPageToolBarActions",
|
|
289
|
+
Position = "Position",
|
|
290
|
+
PositionOP = "PositionOP",
|
|
291
|
+
QuickVariant = "QuickVariant",
|
|
292
|
+
QuickVariantSelectionOP = "QuickVariantSelectionOP",
|
|
293
|
+
QuickVariantSelectionV4OP = "QuickVariantSelectionV4OP",
|
|
294
|
+
RelatedFacetKeys = "RelatedFacetKeys",
|
|
295
|
+
Sections = "Sections",
|
|
296
|
+
Table = "Table",
|
|
297
|
+
TableSPV = "TableSPV",
|
|
298
|
+
TableColumn = "TableColumn",
|
|
299
|
+
ToolBarAction = "ToolBarAction",
|
|
300
|
+
ToolBarLR = "ToolBar<LineItems>",
|
|
301
|
+
ToolBar = "ToolBar",
|
|
302
|
+
ViewTableColumn = "ViewTableColumn",
|
|
303
|
+
ViewCustomColumn = "ViewTableCustomColumn",
|
|
304
|
+
ViewChartToolBar = "ViewChartToolBar",
|
|
305
|
+
ViewToolBarAction = "ViewToolBarAction"
|
|
306
|
+
}
|
|
307
|
+
export declare enum PropertyName {
|
|
308
|
+
actions = "actions",
|
|
309
|
+
annotationPath = "annotationPath",
|
|
310
|
+
chart = "chart",
|
|
311
|
+
defaultPath = "defaultPath",
|
|
312
|
+
defaultTemplateAnnotationPath = "defaultTemplateAnnotationPath",
|
|
313
|
+
sections = "sections",
|
|
314
|
+
table = "table",
|
|
315
|
+
views = "views"
|
|
316
|
+
}
|
|
317
|
+
export declare enum SchemaTag {
|
|
318
|
+
annotationPath = "annotationPath",
|
|
319
|
+
annotationType = "annotationType",
|
|
320
|
+
artifactType = "artifactType",
|
|
321
|
+
controlType = "controlType",
|
|
322
|
+
dataType = "dataType",
|
|
323
|
+
fullyQualifiedName = "fullyQualifiedName",
|
|
324
|
+
hidden = "hidden",
|
|
325
|
+
isViewNode = "isViewNode",
|
|
326
|
+
key = "key",
|
|
327
|
+
propertyIndex = "propertyIndex"
|
|
250
328
|
}
|
|
251
329
|
export declare const METADATAPATH = "webapp/localService/metadata.xml";
|
|
252
330
|
export declare const MANIFESTPATH = "webapp/manifest.json";
|
|
253
331
|
export declare const VOCWITHSLASH = "/@com.sap.vocabularies";
|
|
254
332
|
export declare const VOCWITHCOLONS = "::@com.sap.vocabularies";
|
|
255
333
|
export declare const UIVOCABULARY = "com.sap.vocabularies.UI.v1";
|
|
334
|
+
export declare const UIVOCABULARYDOT = "com.sap.vocabularies.UI.v1.";
|
|
256
335
|
export declare const QUICKVARPATH = "/quickVariantSelection";
|
|
257
336
|
export declare const QUICKVARPATHX = "/quickVariantSelectionX";
|
|
258
337
|
export declare const DATESETTINGSPATH = "/filterSettings/dateSettings";
|
|
@@ -34,6 +34,7 @@ exports.ActionTitlePrefix = 'Action ID: ';
|
|
|
34
34
|
var SectionType;
|
|
35
35
|
(function (SectionType) {
|
|
36
36
|
SectionType["Section"] = "Section";
|
|
37
|
+
SectionType["SubSection"] = "SubSection";
|
|
37
38
|
SectionType["HeaderSection"] = "HeaderSection";
|
|
38
39
|
})(SectionType = exports.SectionType || (exports.SectionType = {}));
|
|
39
40
|
var ArtifactType;
|
|
@@ -64,6 +65,11 @@ var ControlType;
|
|
|
64
65
|
ControlType["Section"] = "sap.uxap.ObjectPageSection";
|
|
65
66
|
ControlType["SubSection"] = "sap.uxap.ObjectPageSubSection";
|
|
66
67
|
})(ControlType = exports.ControlType || (exports.ControlType = {}));
|
|
68
|
+
var Visualization;
|
|
69
|
+
(function (Visualization) {
|
|
70
|
+
Visualization["LineItem"] = "LineItem";
|
|
71
|
+
Visualization["Chart"] = "Chart";
|
|
72
|
+
})(Visualization = exports.Visualization || (exports.Visualization = {}));
|
|
67
73
|
var FacetBase;
|
|
68
74
|
(function (FacetBase) {
|
|
69
75
|
FacetBase["LineItem"] = "LineItem";
|
|
@@ -74,6 +80,7 @@ var FacetBase;
|
|
|
74
80
|
FacetBase["DataPoint"] = "DataPoint";
|
|
75
81
|
FacetBase["Address"] = "Address";
|
|
76
82
|
FacetBase["Contact"] = "Contact";
|
|
83
|
+
FacetBase["PresentationVariant"] = "PresentationVariant";
|
|
77
84
|
FacetBase["Unknown"] = "";
|
|
78
85
|
})(FacetBase = exports.FacetBase || (exports.FacetBase = {}));
|
|
79
86
|
exports.BindingPropertyRegexAsString = "^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$";
|
|
@@ -88,41 +95,113 @@ var ViewTemplateType;
|
|
|
88
95
|
//Definitions for elements in app schema
|
|
89
96
|
var DefinitionName;
|
|
90
97
|
(function (DefinitionName) {
|
|
91
|
-
DefinitionName["
|
|
92
|
-
DefinitionName["
|
|
98
|
+
DefinitionName["Actions"] = "Actions";
|
|
99
|
+
DefinitionName["ALPChart"] = "ALPChart";
|
|
100
|
+
DefinitionName["ALPChartView"] = "ALPChartView";
|
|
101
|
+
DefinitionName["ALPTable"] = "ALPTable";
|
|
102
|
+
DefinitionName["ALPTableView"] = "ALPTableView";
|
|
103
|
+
DefinitionName["AnalyticalListPageFilterBar"] = "AnalyticalListPageFilterBar";
|
|
104
|
+
DefinitionName["AnnotationPathAsObject"] = "AnnotationPathAsObject";
|
|
105
|
+
DefinitionName["ChartToolBarAction"] = "ChartToolBarAction";
|
|
106
|
+
DefinitionName["CommonHeaderFacetSettings"] = "CommonHeaderFacetSettings";
|
|
107
|
+
DefinitionName["CustomColumn"] = "TableCustomColumn";
|
|
108
|
+
DefinitionName["CustomColumnOP"] = "TableCustomColumnOP";
|
|
109
|
+
DefinitionName["CustomColumns"] = "TableCustomColumns";
|
|
110
|
+
DefinitionName["CustomSections"] = "CustomSections";
|
|
111
|
+
DefinitionName["FieldPath"] = "FieldPath";
|
|
112
|
+
DefinitionName["Field"] = "Field";
|
|
113
|
+
DefinitionName["Fields"] = "Fields";
|
|
114
|
+
DefinitionName["Fields4Dialog"] = "Fields4Dialog";
|
|
115
|
+
DefinitionName["Footer"] = "Footer";
|
|
116
|
+
DefinitionName["FooterActions"] = "FooterActions";
|
|
117
|
+
DefinitionName["Form"] = "Form";
|
|
118
|
+
DefinitionName["FormAction"] = "FormAction";
|
|
119
|
+
DefinitionName["GenericActions"] = "GenericActions";
|
|
120
|
+
DefinitionName["GenericColumnsOP"] = "GenericColumnsOP";
|
|
121
|
+
DefinitionName["GenericFooter"] = "GenericFooter";
|
|
122
|
+
DefinitionName["GenericSections"] = "GenericSections";
|
|
123
|
+
DefinitionName["HeaderActions"] = "HeaderActions";
|
|
124
|
+
DefinitionName["HeaderSections"] = "HeaderSections";
|
|
125
|
+
DefinitionName["LineItems"] = "LineItems";
|
|
126
|
+
DefinitionName["LineItemsOfView"] = "LineItemsOfView";
|
|
127
|
+
DefinitionName["ListReportFilterBar"] = "ListReportFilterBar";
|
|
128
|
+
DefinitionName["LRTableView"] = "LRTableView";
|
|
129
|
+
DefinitionName["LRChartView"] = "LRChartView";
|
|
130
|
+
DefinitionName["MultiTableModeV4"] = "MultiTableModeV4";
|
|
131
|
+
DefinitionName["ObjectPageChart"] = "ObjectPageChart";
|
|
132
|
+
DefinitionName["ObjectPageCustomSectionFragment"] = "ObjectPageCustomSectionFragment";
|
|
133
|
+
DefinitionName["ObjectPageFooter"] = "ObjectPageFooter";
|
|
134
|
+
DefinitionName["ObjectPageFooterAction"] = "ObjectPageFooterAction";
|
|
135
|
+
DefinitionName["ObjectPageFooterActions"] = "ObjectPageFooterActions";
|
|
136
|
+
DefinitionName["ObjectPageHeader"] = "ObjectPageHeader";
|
|
137
|
+
DefinitionName["ObjectPageHeaderSectionForm"] = "ObjectPageHeaderSectionForm";
|
|
138
|
+
DefinitionName["ObjectPageHeaderSectionChart"] = "ObjectPageHeaderSectionChart";
|
|
139
|
+
DefinitionName["ObjectPageHeaderSectionDataPoint"] = "ObjectPageHeaderSectionDataPoint";
|
|
140
|
+
DefinitionName["ObjectPageHeaderSectionContact"] = "ObjectPageHeaderSectionContact";
|
|
141
|
+
DefinitionName["ObjectPageHeaderSectionAddress"] = "ObjectPageHeaderSectionAddress";
|
|
142
|
+
DefinitionName["ObjectPageLayout"] = "ObjectPageLayout";
|
|
143
|
+
DefinitionName["ObjectPagePresentationVariant"] = "ObjectPagePresentationVariant";
|
|
144
|
+
DefinitionName["ObjectPageSectionAddress"] = "ObjectPageSectionAddress";
|
|
145
|
+
DefinitionName["ObjectPageSectionChart"] = "ObjectPageSectionChart";
|
|
146
|
+
DefinitionName["ObjectPageSectionContact"] = "ObjectPageSectionContact";
|
|
147
|
+
DefinitionName["ObjectPageSectionDataPoint"] = "ObjectPageSectionDataPoint";
|
|
148
|
+
DefinitionName["ObjectPageSectionForm"] = "ObjectPageSectionForm";
|
|
149
|
+
DefinitionName["ObjectPageSectionPresentationVariant"] = "ObjectPageSectionPresentationVariant";
|
|
150
|
+
DefinitionName["ObjectPageSectionTableV4"] = "ObjectPageSectionTableV4";
|
|
151
|
+
DefinitionName["ObjectPageSubSections"] = "ObjectPageSubSections";
|
|
93
152
|
DefinitionName["ObjectPageTable"] = "ObjectPageTable";
|
|
94
153
|
DefinitionName["ObjectPageTableColumn"] = "ObjectPageTableColumn";
|
|
154
|
+
DefinitionName["ObjectPageToolBar"] = "ObjectPageToolBar";
|
|
155
|
+
DefinitionName["ObjectPageToolBarAction"] = "ObjectPageToolBarAction";
|
|
156
|
+
DefinitionName["ObjectPageToolBarActions"] = "ObjectPageToolBarActions";
|
|
157
|
+
DefinitionName["Position"] = "Position";
|
|
158
|
+
DefinitionName["PositionOP"] = "PositionOP";
|
|
159
|
+
DefinitionName["QuickVariant"] = "QuickVariant";
|
|
160
|
+
DefinitionName["QuickVariantSelectionOP"] = "QuickVariantSelectionOP";
|
|
161
|
+
DefinitionName["QuickVariantSelectionV4OP"] = "QuickVariantSelectionV4OP";
|
|
162
|
+
DefinitionName["RelatedFacetKeys"] = "RelatedFacetKeys";
|
|
163
|
+
DefinitionName["Sections"] = "Sections";
|
|
164
|
+
DefinitionName["Table"] = "Table";
|
|
165
|
+
DefinitionName["TableSPV"] = "TableSPV";
|
|
166
|
+
DefinitionName["TableColumn"] = "TableColumn";
|
|
167
|
+
DefinitionName["ToolBarAction"] = "ToolBarAction";
|
|
95
168
|
DefinitionName["ToolBarLR"] = "ToolBar<LineItems>";
|
|
96
169
|
DefinitionName["ToolBar"] = "ToolBar";
|
|
97
|
-
DefinitionName["
|
|
98
|
-
DefinitionName["CustomColumn"] = "TableCustomColumn";
|
|
170
|
+
DefinitionName["ViewTableColumn"] = "ViewTableColumn";
|
|
99
171
|
DefinitionName["ViewCustomColumn"] = "ViewTableCustomColumn";
|
|
100
|
-
DefinitionName["CustomColumnOP"] = "TableCustomColumnOP";
|
|
101
|
-
DefinitionName["Position"] = "Position";
|
|
102
|
-
DefinitionName["PositionOP"] = "PositionOP";
|
|
103
|
-
DefinitionName["ListReportFilterBar"] = "ListReportFilterBar";
|
|
104
|
-
DefinitionName["AnalyticalListPageFilterBar"] = "AnalyticalListPageFilterBar";
|
|
105
|
-
DefinitionName["ALPChart"] = "ALPChart";
|
|
106
|
-
DefinitionName["ALPChartView"] = "ALPChartView";
|
|
107
172
|
DefinitionName["ViewChartToolBar"] = "ViewChartToolBar";
|
|
108
|
-
DefinitionName["Table"] = "Table";
|
|
109
|
-
DefinitionName["LRTableView"] = "LRTableView";
|
|
110
|
-
DefinitionName["LRChartView"] = "LRChartView";
|
|
111
|
-
DefinitionName["Actions"] = "Actions";
|
|
112
173
|
DefinitionName["ViewToolBarAction"] = "ViewToolBarAction";
|
|
113
|
-
DefinitionName["ChartToolBarAction"] = "ChartToolBarAction";
|
|
114
|
-
DefinitionName["ToolBarAction"] = "ToolBarAction";
|
|
115
|
-
DefinitionName["ObjectPageToolBarAction"] = "ObjectPageToolBarAction";
|
|
116
|
-
DefinitionName["MultiTableModeV4"] = "MultiTableModeV4";
|
|
117
|
-
DefinitionName["AnnotationPathAsObject"] = "AnnotationPathAsObject";
|
|
118
|
-
DefinitionName["ALPTable"] = "ALPTable";
|
|
119
|
-
DefinitionName["ALPTableView"] = "ALPTableView";
|
|
120
174
|
})(DefinitionName = exports.DefinitionName || (exports.DefinitionName = {}));
|
|
175
|
+
var PropertyName;
|
|
176
|
+
(function (PropertyName) {
|
|
177
|
+
PropertyName["actions"] = "actions";
|
|
178
|
+
PropertyName["annotationPath"] = "annotationPath";
|
|
179
|
+
PropertyName["chart"] = "chart";
|
|
180
|
+
PropertyName["defaultPath"] = "defaultPath";
|
|
181
|
+
PropertyName["defaultTemplateAnnotationPath"] = "defaultTemplateAnnotationPath";
|
|
182
|
+
PropertyName["sections"] = "sections";
|
|
183
|
+
PropertyName["table"] = "table";
|
|
184
|
+
PropertyName["views"] = "views";
|
|
185
|
+
})(PropertyName = exports.PropertyName || (exports.PropertyName = {}));
|
|
186
|
+
var SchemaTag;
|
|
187
|
+
(function (SchemaTag) {
|
|
188
|
+
SchemaTag["annotationPath"] = "annotationPath";
|
|
189
|
+
SchemaTag["annotationType"] = "annotationType";
|
|
190
|
+
SchemaTag["artifactType"] = "artifactType";
|
|
191
|
+
SchemaTag["controlType"] = "controlType";
|
|
192
|
+
SchemaTag["dataType"] = "dataType";
|
|
193
|
+
SchemaTag["fullyQualifiedName"] = "fullyQualifiedName";
|
|
194
|
+
SchemaTag["hidden"] = "hidden";
|
|
195
|
+
SchemaTag["isViewNode"] = "isViewNode";
|
|
196
|
+
SchemaTag["key"] = "key";
|
|
197
|
+
SchemaTag["propertyIndex"] = "propertyIndex";
|
|
198
|
+
})(SchemaTag = exports.SchemaTag || (exports.SchemaTag = {}));
|
|
121
199
|
exports.METADATAPATH = 'webapp/localService/metadata.xml';
|
|
122
200
|
exports.MANIFESTPATH = 'webapp/manifest.json';
|
|
123
201
|
exports.VOCWITHSLASH = '/@com.sap.vocabularies';
|
|
124
202
|
exports.VOCWITHCOLONS = '::@com.sap.vocabularies';
|
|
125
203
|
exports.UIVOCABULARY = 'com.sap.vocabularies.UI.v1';
|
|
204
|
+
exports.UIVOCABULARYDOT = 'com.sap.vocabularies.UI.v1.';
|
|
126
205
|
exports.QUICKVARPATH = '/quickVariantSelection';
|
|
127
206
|
exports.QUICKVARPATHX = '/quickVariantSelectionX';
|
|
128
207
|
exports.DATESETTINGSPATH = '/filterSettings/dateSettings';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sync/common/types.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sync/common/types.ts"],"names":[],"mappings":";;AAeA,IAAY,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|
-
import type {
|
|
1
|
+
import type { Definition } from 'typescript-json-schema';
|
|
2
|
+
import type { ExtensionLogger } from '../../apiTypes';
|
|
3
|
+
import type { FacetConfigs, FileData, FacetConfig, FacetSection, SchemaFilePath, anyFacetType } from './types';
|
|
3
4
|
import type { Manifest } from '../../specification/common';
|
|
5
|
+
import type { MetadataInstanceInterface } from './decoration/factory';
|
|
6
|
+
import type { ConverterOutput, DataFieldAbstractTypes, EntityType, PropertyAnnotations, PropertyPath } from '@sap-ux/vocabularies-types';
|
|
4
7
|
import { FioriElementsVersion, PageType, PageTypeV4 } from '../../specification/common';
|
|
5
8
|
import { SchemaType } from '../../specification/schemaAccess';
|
|
6
|
-
import type { ExtensionLogger } from '../../apiTypes';
|
|
7
|
-
import type { MetadataInstanceInterface } from './decoration/factory';
|
|
8
9
|
export declare enum TemplateType {
|
|
9
10
|
ListReportObjectPageV2 = "ListReportObjectPageV2",
|
|
10
11
|
ListReportObjectPageV4 = "ListReportObjectPageV4",
|
|
@@ -54,7 +55,13 @@ export declare function getLabelForDataField(field: DataFieldAbstractTypes, enti
|
|
|
54
55
|
* @param dataFieldAbstract - the given record of the line item annotation
|
|
55
56
|
* @param entityType - the entity type as part of the AVT ConverterOutput
|
|
56
57
|
*/
|
|
57
|
-
export declare function
|
|
58
|
+
export declare function getDataFieldDescription(dataFieldAbstract: DataFieldAbstractTypes, entityType: EntityType): string;
|
|
59
|
+
/**
|
|
60
|
+
* Prepare string for reference use in schema
|
|
61
|
+
* @param refInput string to be character checked and replaced
|
|
62
|
+
* @returns string with replaced characters
|
|
63
|
+
*/
|
|
64
|
+
export declare function prepareRef(refInput: string): string;
|
|
58
65
|
/**
|
|
59
66
|
* Return the page type for a given V2 page in manifest
|
|
60
67
|
* @param name - page component name
|
|
@@ -81,7 +88,7 @@ export declare function findAlias(namespace: string, oDataServiceAVT: ConverterO
|
|
|
81
88
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
82
89
|
* @returns {FacetSection} - object comprising the relevant facet information
|
|
83
90
|
*/
|
|
84
|
-
export declare function getSectionFacet(facetDefinition:
|
|
91
|
+
export declare function getSectionFacet(facetDefinition: anyFacetType, sourceEntityType: EntityType, oDataServiceAVT: ConverterOutput, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, keyForRelatedFacetKeys?: boolean): FacetSection | undefined;
|
|
85
92
|
/**
|
|
86
93
|
* Finds the alias for a given namespace in the references' section of the converted service metadata.
|
|
87
94
|
* An empty object is created if the path element does not exist yet.
|
|
@@ -144,20 +151,20 @@ export declare function getTemplateTypeFromManifest(manifest: Manifest, fioriEle
|
|
|
144
151
|
* @param section - section in the app schema
|
|
145
152
|
* @param facetKey - key of the facet
|
|
146
153
|
*/
|
|
147
|
-
export declare function addSectionTitleAndDescription(facet: FacetConfig, section:
|
|
154
|
+
export declare function addSectionTitleAndDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
|
|
148
155
|
/**
|
|
149
156
|
* Adds target title or description to a section or header section in an app schema
|
|
150
157
|
* @param facet - intermediate facet structure comprising annotation information
|
|
151
158
|
* @param section - section in the app schema
|
|
152
159
|
* @param facetKey - key of the facet
|
|
153
160
|
*/
|
|
154
|
-
export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section:
|
|
161
|
+
export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
|
|
155
162
|
/**
|
|
156
163
|
* Creates a default object for a new section or subsection, and adds the ID as title if present.
|
|
157
164
|
* @param facet Facet configuration, to be analyzed
|
|
158
165
|
* @returns the new section object
|
|
159
166
|
*/
|
|
160
|
-
export declare function
|
|
167
|
+
export declare function createDefaultSection(appSchema: Definition, facet: FacetConfig, facetKey: string): Definition;
|
|
161
168
|
/**
|
|
162
169
|
* Retrieve page section data(so far id/key and label/description).
|
|
163
170
|
* @param {EntityType} entityType The actual entityType
|
|
@@ -188,11 +195,10 @@ export declare const getSchemaFilePath: (schemaType: PageType | PageTypeV4 | Sch
|
|
|
188
195
|
* @param appVersion - Fiori Elements version - V2 or V4.
|
|
189
196
|
* @param pageType - Page type.
|
|
190
197
|
* @param entitySet - Entity Set.
|
|
191
|
-
* @param navigationProperty - Navigation property (optional).
|
|
192
198
|
* @param viewId - Custom page's viewId (optional).
|
|
193
199
|
* @returns {string} Generated page id
|
|
194
200
|
*/
|
|
195
|
-
export declare function generatePageId(pageType: PageType | PageTypeV4, entitySet: string,
|
|
201
|
+
export declare function generatePageId(pageType: PageType | PageTypeV4, entitySet: string, viewId?: string): string;
|
|
196
202
|
export declare type NextDefinition = {
|
|
197
203
|
configObject?: object;
|
|
198
204
|
targetDefinition?: object;
|
|
@@ -209,7 +215,6 @@ export declare type NextDefinition = {
|
|
|
209
215
|
* @param pageType - page type
|
|
210
216
|
*/
|
|
211
217
|
export declare function getNextTargetDefinition(appSchema: object, title: string, currentConfigObject: object, propertyDefinition: object, key: string, factory: MetadataInstanceInterface, pageType: PageType | PageTypeV4): NextDefinition;
|
|
212
|
-
export declare function prepareRef(refInput: string): string;
|
|
213
218
|
/**
|
|
214
219
|
* Custom array merge function called by deepmerge's merge function
|
|
215
220
|
*
|