@sap/ux-specification 1.84.29 → 1.84.32
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 +67 -4
- package/dist/documentation/runDocu-min.js +1 -1
- package/dist/documentation/styleDocu.css +7 -14
- 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-AnalyticalListPage.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 +104 -15
- package/dist/schemas/v2/ListReportConfig.json +106 -17
- package/dist/schemas/v2/ObjectPageConfig.json +89 -33
- package/dist/schemas/v2/OverviewPageConfig.json +13 -16
- package/dist/schemas/v4/AnalyticalListPageConfig.json +43 -86
- package/dist/schemas/v4/ListReportConfig.json +43 -86
- package/dist/schemas/v4/ObjectPageConfig.json +70 -109
- package/dist/scripts/runDocu.js +30 -7
- package/dist/scripts/runDocu.js.map +1 -1
- package/dist/scripts/to-json-schema.js +31 -37
- package/dist/scripts/to-json-schema.js.map +1 -1
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/specification/v4/index-min.js +1 -1
- package/dist/src/api.js +9 -9
- package/dist/src/api.js.map +1 -1
- package/dist/src/apiTypes.d.ts +5 -2
- package/dist/src/specification/schemaAccess.js +1 -3
- package/dist/src/specification/schemaAccess.js.map +1 -1
- package/dist/src/specification/v2/controls/Action.d.ts +19 -2
- package/dist/src/specification/v2/controls/FilterBar.d.ts +42 -27
- package/dist/src/specification/v2/controls/Footer.d.ts +20 -0
- package/dist/src/specification/v2/controls/{ObjectPageFooter.js → Footer.js} +1 -1
- package/dist/src/specification/v2/controls/Footer.js.map +1 -0
- package/dist/src/specification/v2/controls/Table.d.ts +8 -1
- package/dist/src/specification/v2/controls/Table.js.map +1 -1
- package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -8
- package/dist/src/specification/v2/controls/index.d.ts +1 -2
- package/dist/src/specification/v2/controls/index.js.map +1 -1
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +2 -1
- package/dist/src/specification/v2/pages/ListReportConfig.d.ts +3 -2
- package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +32 -2
- package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +1 -1
- package/dist/src/specification/v4/controls/ObjectPageFooter.d.ts +2 -2
- package/dist/src/specification/v4/controls/ObjectPageHeaderSection.d.ts +2 -14
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +7 -7
- package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +5 -6
- package/dist/src/specification/v4/controls/Table.d.ts +2 -7
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +59 -10
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js +6 -0
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +1 -1
- package/dist/src/sync/common/appProvider.js.map +1 -1
- package/dist/src/sync/common/decoration/control.d.ts +11 -1
- package/dist/src/sync/common/decoration/control.js +29 -3
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/decoration/factory.js +2 -4
- package/dist/src/sync/common/decoration/factory.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +9 -0
- package/dist/src/sync/common/generate/objectPage.js +89 -43
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +33 -0
- package/dist/src/sync/common/generate/utils.js +123 -3
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/i18n.json +2 -0
- package/dist/src/sync/common/import/utils.d.ts +8 -1
- package/dist/src/sync/common/import/utils.js +15 -4
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.js +13 -22
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +30 -16
- package/dist/src/sync/common/types.js +25 -1
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +11 -3
- package/dist/src/sync/common/utils.js +147 -69
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +15 -0
- package/dist/src/sync/v2/export/controls/Action.js +68 -15
- package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts +14 -6
- package/dist/src/sync/v2/export/controls/FilterBar.js +94 -76
- package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
- package/dist/src/sync/v2/export/controls/FormAction.js +3 -2
- package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +239 -164
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +9 -9
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +5 -5
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +15 -18
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -4
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts +18 -2
- package/dist/src/sync/v2/export/controls/TableColumn.js +126 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v2/export/export.js +140 -112
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.js +2 -5
- package/dist/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +2 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +3 -0
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts +3 -2
- package/dist/src/sync/v2/export/pages/ListReport.js +3 -0
- package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js +32 -2
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts +16 -21
- package/dist/src/sync/v2/export/view-controller-generator.js +20 -36
- package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +14 -6
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.js +12 -3
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts +1 -5
- package/dist/src/sync/v2/generate/objectPage.js +16 -42
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +22 -11
- package/dist/src/sync/v2/generate/utils.js +282 -110
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.d.ts +22 -4
- package/dist/src/sync/v2/import/common/index.js +238 -28
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/controls/table.js +3 -2
- package/dist/src/sync/v2/import/controls/table.js.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +36 -5
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts +0 -5
- package/dist/src/sync/v2/import/pages/listReport.js +21 -122
- package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +200 -107
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/utils.d.ts +4 -6
- package/dist/src/sync/v2/import/utils.js +43 -11
- package/dist/src/sync/v2/import/utils.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +8 -1
- package/dist/src/sync/v2/types.js +8 -1
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/application.d.ts +1 -1
- package/dist/src/sync/v4/application.js +1 -1
- package/dist/src/sync/v4/application.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +3 -3
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +3 -7
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +2 -25
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +1 -6
- package/dist/src/sync/v4/export/controls/TableColumn.js +0 -33
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts +5 -1
- package/dist/src/sync/v4/export/controls/ToolBar.js +3 -0
- package/dist/src/sync/v4/export/controls/ToolBar.js.map +1 -1
- package/dist/src/sync/v4/export/export.js +20 -16
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.d.ts +1 -1
- package/dist/src/sync/v4/export/manifest.js +28 -16
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +2 -2
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
- package/dist/src/sync/v4/export/types.d.ts +3 -0
- package/dist/src/sync/v4/generate/generate.d.ts +4 -2
- package/dist/src/sync/v4/generate/generate.js +15 -6
- package/dist/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +7 -6
- package/dist/src/sync/v4/generate/listReport.js +50 -34
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +94 -90
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +2 -2
- package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -1
- package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts +3 -3
- package/dist/src/sync/v4/import/pages/listReport.js +34 -23
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
- package/dist/src/sync/v4/import/pages/objectPage.js +21 -16
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.js +6 -5
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +14 -1
- package/dist/src/sync/v4/utils/utils.js +62 -26
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/test/unit/utils.test.d.ts +1 -1
- package/package.json +8 -11
- package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +0 -11
- package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +0 -1
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.d.ts +0 -28
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.js +0 -3
- package/dist/src/specification/v2/controls/ObjectPageFooterAction.js.map +0 -1
- package/dist/test/test-utils/metadataParser.d.ts +0 -19
|
@@ -48,6 +48,41 @@ export declare const enum DateRangeType {
|
|
|
48
48
|
QUARTER4 = "QUARTER4",
|
|
49
49
|
TODAYFROMTO = "TODAYFROMTO"
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Filter Field
|
|
53
|
+
* @isViewNode true
|
|
54
|
+
*/
|
|
55
|
+
export declare type SelectionField = {} | SelectionFieldDateSettings;
|
|
56
|
+
/**
|
|
57
|
+
* Filter Field for Date Settings
|
|
58
|
+
* @isViewNode true
|
|
59
|
+
*/
|
|
60
|
+
export interface SelectionFieldDateSettings {
|
|
61
|
+
/**
|
|
62
|
+
* The selectedValues property is a set of standard date range values that you want to include or exclude.
|
|
63
|
+
*/
|
|
64
|
+
selectedValues?: DateRangeType[];
|
|
65
|
+
/**
|
|
66
|
+
* The exclude property is set to True by default. This means excluding all values given as selectedValues from the list of date range filters. If the exclude property is set to False, the application shows only selected values in the list of date range filters.
|
|
67
|
+
*/
|
|
68
|
+
exclude?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* This property references a JS class, which you use to modify the date range value list. You can either remove standard data range values or add custom values.
|
|
71
|
+
* The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
|
|
72
|
+
*/
|
|
73
|
+
customDateRangeImplementation?: string;
|
|
74
|
+
/**
|
|
75
|
+
* You can use the filter settings to include and exclude specific date range values.
|
|
76
|
+
*/
|
|
77
|
+
filter?: FilterType[];
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Filter Fields
|
|
81
|
+
* @isViewNode true
|
|
82
|
+
*/
|
|
83
|
+
export interface SelectionFields {
|
|
84
|
+
[key: string]: SelectionField;
|
|
85
|
+
}
|
|
51
86
|
export declare type FilterTypeCategory = {
|
|
52
87
|
/**
|
|
53
88
|
* Choose 'key' to define filter values for single values of the date range type, or 'category' to filter by a whole subset.
|
|
@@ -85,25 +120,6 @@ export declare type FilterTypeKey = {
|
|
|
85
120
|
exclude?: boolean;
|
|
86
121
|
};
|
|
87
122
|
export declare type FilterType = FilterTypeKey | FilterTypeCategory;
|
|
88
|
-
export interface SelectedValues {
|
|
89
|
-
/**
|
|
90
|
-
* The selectedValues property is a set of standard date range values that you want to include or exclude.
|
|
91
|
-
*/
|
|
92
|
-
selectedValues?: DateRangeType[];
|
|
93
|
-
/**
|
|
94
|
-
* The exclude property is set to True by default. This means excluding all values given as selectedValues from the list of date range filters. If the exclude property is set to False, the application shows only selected values in the list of date range filters.
|
|
95
|
-
*/
|
|
96
|
-
exclude?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* This property references a JS class, which you use to modify the date range value list. You can either remove standard data range values or add custom values.
|
|
99
|
-
* The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
|
|
100
|
-
*/
|
|
101
|
-
customDateRangeImplementation?: string;
|
|
102
|
-
/**
|
|
103
|
-
* You can use the filter settings to include and exclude specific date range values.
|
|
104
|
-
*/
|
|
105
|
-
filter?: FilterType[];
|
|
106
|
-
}
|
|
107
123
|
export interface DateRange {
|
|
108
124
|
/**
|
|
109
125
|
* If set to true all date fields with filter restriction interval will be treated as DateTimeRange filters.
|
|
@@ -117,18 +133,12 @@ export interface DateRange {
|
|
|
117
133
|
* The exclude property is set to True by default. This means excluding all values given as selectedValues from the list of date range filters. If the exclude property is set to False, the application shows only selected values in the list of date range filters.
|
|
118
134
|
*/
|
|
119
135
|
exclude?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* For a fields' list you can define the set of standard date range values separately.
|
|
122
|
-
*/
|
|
123
|
-
fields?: {
|
|
124
|
-
[field: string]: SelectedValues;
|
|
125
|
-
};
|
|
126
136
|
}
|
|
127
137
|
/**
|
|
128
138
|
* Filter Bar
|
|
129
139
|
* @isViewNode true
|
|
130
140
|
*/
|
|
131
|
-
export interface
|
|
141
|
+
export interface ListReportFilterBar {
|
|
132
142
|
/**
|
|
133
143
|
* Controls whether smart variant management is active. Default is true.
|
|
134
144
|
*/
|
|
@@ -163,12 +173,17 @@ export interface FilterBar {
|
|
|
163
173
|
* Handles visibility of the Restore button on the FilterBar.
|
|
164
174
|
*/
|
|
165
175
|
showRestoreOnFB?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* @isViewNode true
|
|
178
|
+
* Selection Fields
|
|
179
|
+
*/
|
|
180
|
+
selectionFields?: SelectionFields;
|
|
166
181
|
}
|
|
167
182
|
/**
|
|
168
183
|
* Filter Bar
|
|
169
184
|
* @isViewNode true
|
|
170
185
|
*/
|
|
171
|
-
export interface AnalyticalListPageFilterBar extends
|
|
186
|
+
export interface AnalyticalListPageFilterBar extends ListReportFilterBar {
|
|
172
187
|
/**
|
|
173
188
|
* Go button is displayed for compact filters when this is set to true
|
|
174
189
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ObjectPageFooterAction } from './Action';
|
|
2
|
+
import { Actions } from '.';
|
|
3
|
+
interface ObjectPageFooterActions {
|
|
4
|
+
[id: string]: ObjectPageFooterAction;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Footer
|
|
8
|
+
* @isViewNode true
|
|
9
|
+
*/
|
|
10
|
+
export interface GenericFooter {
|
|
11
|
+
actions?: Actions;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Footer
|
|
15
|
+
* @isViewNode true
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectPageFooter<ACT = ObjectPageFooterActions> {
|
|
18
|
+
actions?: ACT;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Footer.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="@sapui5/ts-types" />
|
|
2
2
|
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
3
|
import { ToolBar } from './ToolBar';
|
|
4
|
+
import { Action } from './Action';
|
|
4
5
|
export declare enum HAlign {
|
|
5
6
|
initial = "Initial",
|
|
6
7
|
left = "Left",
|
|
@@ -23,6 +24,12 @@ export interface TableColumn {
|
|
|
23
24
|
*/
|
|
24
25
|
hAlign?: HAlign;
|
|
25
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Column Action
|
|
29
|
+
* @isViewNode true
|
|
30
|
+
*/
|
|
31
|
+
export interface TableColumnAction extends Action, TableColumn {
|
|
32
|
+
}
|
|
26
33
|
/**
|
|
27
34
|
* Custom Column
|
|
28
35
|
* @isViewNode true
|
|
@@ -91,7 +98,7 @@ export declare enum TableColumnExtensionTypeV2 {
|
|
|
91
98
|
*/
|
|
92
99
|
export declare type TableCustomColumns = Array<TableCustomColumn>;
|
|
93
100
|
export interface GenericColumns {
|
|
94
|
-
[key: string]: TableColumn | TableCustomColumns;
|
|
101
|
+
[key: string]: TableColumn | TableCustomColumns | TableColumnAction;
|
|
95
102
|
}
|
|
96
103
|
export declare enum PopinLayout {
|
|
97
104
|
Block = "Block",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/Table.ts"],"names":[],"mappings":";;AAIA,IAAY,MAOX;AAPD,WAAY,MAAM;IACd,6BAAmB,CAAA;IACnB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;AACf,CAAC,EAPW,MAAM,GAAN,cAAM,KAAN,cAAM,QAOjB;AAuED,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;AACf,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;IACvB,kDAAmC,CAAA;IACnC,sCAAuB,CAAA;AAC3B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IAClC,iGAAmE,CAAA;IACnE,iGAAmE,CAAA;IACnE,qFAAuD,CAAA;IACvD,qFAAuD,CAAA;AAC3D,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC;AAYD,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AAC3B,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA6ED,IAAY,QAEX;AAFD,WAAY,QAAQ;IAChB,mCAAuB,CAAA;AAC3B,CAAC,EAFW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAEnB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,+CAAyB,CAAA;IACzB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACnC,gDAAiB,CAAA;IACjB,8CAAe,CAAA;IACf,oEAAqC,CAAA;AACzC,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC"}
|
|
@@ -5,10 +5,9 @@ export * from './Field';
|
|
|
5
5
|
export * from './FilterBar';
|
|
6
6
|
export * from './Table';
|
|
7
7
|
export * from './ToolBar';
|
|
8
|
+
export * from './Footer';
|
|
8
9
|
export * from './AnalyticalListPageChart';
|
|
9
10
|
export * from './ObjectPageHeader';
|
|
10
|
-
export * from './ObjectPageFooter';
|
|
11
|
-
export * from './ObjectPageFooterAction';
|
|
12
11
|
export * from './ObjectPageLayout';
|
|
13
12
|
export * from './ObjectPageSection';
|
|
14
13
|
export * from './ObjectPageChart';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/index.ts"],"names":[],"mappings":";;;;;AAAA,8BAAyB;AACzB,4BAAuB;AAGvB,iCAA4B;AAC5B,6BAAwB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/specification/v2/controls/index.ts"],"names":[],"mappings":";;;;;AAAA,8BAAyB;AACzB,4BAAuB;AAGvB,iCAA4B;AAC5B,6BAAwB;AAGxB,+CAA0C;AAC1C,wCAAmC;AAEnC,yCAAoC;AAGpC,uCAAkC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable } from '../controls';
|
|
1
|
+
import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
|
|
2
2
|
import { PageConfig } from '../../common/page';
|
|
3
3
|
import { ChartSettings } from '../../../specification/v2/controls';
|
|
4
4
|
import { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
|
|
@@ -10,6 +10,7 @@ export interface AnalyticalListPageConfig extends PageConfig {
|
|
|
10
10
|
table?: ALPResponsiveTable | ALPGridTable | ALPAnalyticalTable;
|
|
11
11
|
filterBar?: AnalyticalListPageFilterBar;
|
|
12
12
|
chart?: ChartSettings;
|
|
13
|
+
footer?: GenericFooter;
|
|
13
14
|
/**
|
|
14
15
|
* Key Performance Indicators
|
|
15
16
|
* @isViewNode true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeTable,
|
|
1
|
+
import { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
|
|
2
2
|
import { PageConfig } from '../../common/page';
|
|
3
3
|
export declare type ListReportTableTypeV2 = ResponsiveTableWithMultiSelect | ResponsiveTableWithInlineDelete | TreeTable | AnalyticalTable | GridTable;
|
|
4
4
|
export interface ListReportConfig extends PageConfig {
|
|
@@ -7,5 +7,6 @@ export interface ListReportConfig extends PageConfig {
|
|
|
7
7
|
*/
|
|
8
8
|
fitContent?: boolean;
|
|
9
9
|
table?: ListReportTableTypeV2;
|
|
10
|
-
filterBar?:
|
|
10
|
+
filterBar?: ListReportFilterBar;
|
|
11
|
+
footer?: GenericFooter;
|
|
11
12
|
}
|
|
@@ -4,12 +4,42 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { PageConfig } from '../../common/page';
|
|
6
6
|
import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
|
|
7
|
-
import { DateRange } from '../controls/FilterBar';
|
|
7
|
+
import { DateRange, DateRangeType, FilterType } from '../controls/FilterBar';
|
|
8
|
+
/**
|
|
9
|
+
* @isViewNode false
|
|
10
|
+
*/
|
|
11
|
+
export interface SelectedValues {
|
|
12
|
+
/**
|
|
13
|
+
* The selectedValues property is a set of standard date range values that you want to include or exclude.
|
|
14
|
+
*/
|
|
15
|
+
selectedValues?: DateRangeType[];
|
|
16
|
+
/**
|
|
17
|
+
* The exclude property is set to True by default. This means excluding all values given as selectedValues from the list of date range filters. If the exclude property is set to False, the application shows only selected values in the list of date range filters.
|
|
18
|
+
*/
|
|
19
|
+
exclude?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* This property references a JS class, which you use to modify the date range value list. You can either remove standard data range values or add custom values.
|
|
22
|
+
* The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
|
|
23
|
+
*/
|
|
24
|
+
customDateRangeImplementation?: string;
|
|
25
|
+
/**
|
|
26
|
+
* You can use the filter settings to include and exclude specific date range values.
|
|
27
|
+
*/
|
|
28
|
+
filter?: FilterType[];
|
|
29
|
+
}
|
|
30
|
+
export interface DateRangeOVP extends DateRange {
|
|
31
|
+
/**
|
|
32
|
+
* For a fields' list you can define the set of standard date range values separately.
|
|
33
|
+
*/
|
|
34
|
+
fields?: {
|
|
35
|
+
[field: string]: SelectedValues;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
8
38
|
export declare type FilterSettingsType = {
|
|
9
39
|
/**
|
|
10
40
|
* You can define date ranges, such as lastYear or nextQuarter on the Smart Filter Bar
|
|
11
41
|
*/
|
|
12
|
-
dateSettings?:
|
|
42
|
+
dateSettings?: DateRangeOVP;
|
|
13
43
|
};
|
|
14
44
|
export declare enum ContainerLayoutType {
|
|
15
45
|
fixed = "fixed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverviewPageConfig.js","sourceRoot":"","sources":["../../../../../src/specification/v2/pages/OverviewPageConfig.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"OverviewPageConfig.js","sourceRoot":"","sources":["../../../../../src/specification/v2/pages/OverviewPageConfig.ts"],"names":[],"mappings":";;AA+CA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,sCAAe,CAAA;IACf,8CAAuB,CAAA;AAC3B,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare type FooterActionV4 = object;
|
|
2
|
-
export interface
|
|
2
|
+
export interface ObjectPageFooterActions {
|
|
3
3
|
[id: string]: FooterActionV4;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Footer
|
|
7
7
|
* @isViewNode true
|
|
8
8
|
*/
|
|
9
|
-
export interface ObjectPageFooter<ACT =
|
|
9
|
+
export interface ObjectPageFooter<ACT = ObjectPageFooterActions> {
|
|
10
10
|
actions?: ACT;
|
|
11
11
|
}
|
|
@@ -21,20 +21,6 @@ export interface ObjectPageHeaderSectionForm extends CommonHeaderFacetSettings {
|
|
|
21
21
|
*/
|
|
22
22
|
form?: object;
|
|
23
23
|
}
|
|
24
|
-
export interface ObjectPageHeaderSectionChart extends CommonHeaderFacetSettings {
|
|
25
|
-
/**
|
|
26
|
-
* Chart
|
|
27
|
-
* @isViewNode true
|
|
28
|
-
*/
|
|
29
|
-
chart?: object;
|
|
30
|
-
}
|
|
31
|
-
export interface ObjectPageHeaderSectionDataPoint extends CommonHeaderFacetSettings {
|
|
32
|
-
/**
|
|
33
|
-
* Data Point
|
|
34
|
-
* @isViewNode true
|
|
35
|
-
*/
|
|
36
|
-
dataPoint?: object;
|
|
37
|
-
}
|
|
38
24
|
export interface ObjectPageHeaderSectionContact extends CommonHeaderFacetSettings {
|
|
39
25
|
/**
|
|
40
26
|
* Contact
|
|
@@ -49,6 +35,8 @@ export interface ObjectPageHeaderSectionAddress extends CommonHeaderFacetSetting
|
|
|
49
35
|
*/
|
|
50
36
|
address?: object;
|
|
51
37
|
}
|
|
38
|
+
export declare type ObjectPageHeaderSectionChart = CommonHeaderFacetSettings;
|
|
39
|
+
export declare type ObjectPageHeaderSectionDataPoint = CommonHeaderFacetSettings;
|
|
52
40
|
/**
|
|
53
41
|
* Header Sections
|
|
54
42
|
* @isViewNode true
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
|
|
2
2
|
import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
|
|
3
|
-
/**
|
|
4
|
-
* Subsections
|
|
5
|
-
* @isViewNode true
|
|
6
|
-
*/
|
|
7
|
-
export interface ObjectPageSubSections {
|
|
8
|
-
subsections: GenericSections;
|
|
9
|
-
}
|
|
10
3
|
export interface ObjectPageSectionForm {
|
|
11
4
|
/**
|
|
12
5
|
* Form
|
|
@@ -38,6 +31,13 @@ export interface ObjectPageSectionAddress {
|
|
|
38
31
|
export interface GenericSections {
|
|
39
32
|
[key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress;
|
|
40
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Subsections
|
|
36
|
+
* @isViewNode true
|
|
37
|
+
*/
|
|
38
|
+
export interface ObjectPageSubSections {
|
|
39
|
+
subsections: GenericSections;
|
|
40
|
+
}
|
|
41
41
|
export declare enum SectionPosition {
|
|
42
42
|
After = "After",
|
|
43
43
|
Before = "Before"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnnotationPathAsObject, TableCreationModeType,
|
|
2
|
-
import {
|
|
1
|
+
import { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
|
|
2
|
+
import { ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction } from '../webapp/manifest/ManifestSettings';
|
|
3
3
|
import { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
4
4
|
/**
|
|
5
5
|
* Table
|
|
@@ -64,8 +64,8 @@ export interface QuickVariantSelectionV4OP {
|
|
|
64
64
|
*/
|
|
65
65
|
showCounts?: boolean;
|
|
66
66
|
}
|
|
67
|
-
interface
|
|
68
|
-
[key: string]:
|
|
67
|
+
export interface GenericColumnsOP {
|
|
68
|
+
[key: string]: ObjectPageTableColumnIF | ObjectPageTableColumnAction;
|
|
69
69
|
}
|
|
70
70
|
export interface TableSettingsOP extends TableSettings {
|
|
71
71
|
/**
|
|
@@ -80,6 +80,5 @@ export interface TableSettingsOP extends TableSettings {
|
|
|
80
80
|
* With quickVariantSelection you can switch on the multiple view feature (single table mode). It links to SelectionVariant (filters) or SelectionPresentationVariant (filters and sorters) you must have added to your annotations beforehand.
|
|
81
81
|
*/
|
|
82
82
|
quickVariantSelection?: QuickVariantSelectionV4OP;
|
|
83
|
-
columns?:
|
|
83
|
+
columns?: GenericColumnsOP;
|
|
84
84
|
}
|
|
85
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableColumn, TableColumnAction
|
|
1
|
+
import { TableColumn, TableColumnAction } from './../webapp/manifest/ManifestSettings';
|
|
2
2
|
import { ToolBar } from './ToolBar';
|
|
3
3
|
export declare enum SelectionMode {
|
|
4
4
|
Multi = "Multi",
|
|
@@ -75,13 +75,8 @@ export interface MultiTableModeV4 {
|
|
|
75
75
|
*/
|
|
76
76
|
showCounts?: boolean;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Custom Columns
|
|
80
|
-
* @isViewNode true
|
|
81
|
-
*/
|
|
82
|
-
export declare type TableCustomColumns = Array<TableCustomColumn>;
|
|
83
78
|
export interface GenericColumns {
|
|
84
|
-
[key: string]: TableColumn | TableColumnAction
|
|
79
|
+
[key: string]: TableColumn | TableColumnAction;
|
|
85
80
|
}
|
|
86
81
|
export interface TableSettings<COLS = GenericColumns> {
|
|
87
82
|
/**
|
|
@@ -3,7 +3,7 @@ export declare enum Placement {
|
|
|
3
3
|
Before = "Before",
|
|
4
4
|
End = "End"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export interface Position {
|
|
7
7
|
/**
|
|
8
8
|
* The key of another column to be used as placement anchor.
|
|
9
9
|
*/
|
|
@@ -12,7 +12,7 @@ export declare type Position = {
|
|
|
12
12
|
* Define the placement, either before or after the anchor column.
|
|
13
13
|
*/
|
|
14
14
|
placement: Placement;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
export declare type Positionable = {
|
|
17
17
|
/**
|
|
18
18
|
* Defines the position of the column relative to other columns.
|
|
@@ -44,11 +44,16 @@ export declare enum Availability {
|
|
|
44
44
|
'Adaptation' = "Adaptation",
|
|
45
45
|
'Hidden' = "Hidden"
|
|
46
46
|
}
|
|
47
|
+
export declare enum HorizontalAlign {
|
|
48
|
+
'Begin' = "Begin",
|
|
49
|
+
'Center' = "Center",
|
|
50
|
+
'End' = "End"
|
|
51
|
+
}
|
|
47
52
|
/**
|
|
48
53
|
* Table Column
|
|
49
54
|
* @isViewNode true
|
|
50
55
|
*/
|
|
51
|
-
export
|
|
56
|
+
export interface TableColumn {
|
|
52
57
|
/**
|
|
53
58
|
* A string type that represents CSS size values.
|
|
54
59
|
* Refer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.
|
|
@@ -61,29 +66,58 @@ export declare type TableColumn = {
|
|
|
61
66
|
* Hidden: the column is neither available in the table nor in adaptation.
|
|
62
67
|
*/
|
|
63
68
|
availability?: Availability;
|
|
64
|
-
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Table Column
|
|
72
|
+
* @isViewNode true
|
|
73
|
+
*/
|
|
74
|
+
export interface ObjectPageTableColumn {
|
|
75
|
+
/**
|
|
76
|
+
* A string type that represents CSS size values.
|
|
77
|
+
* Refer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.
|
|
78
|
+
*/
|
|
79
|
+
width?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Defines where the column should be shown.
|
|
82
|
+
* Default: it will be shown by default in the table.
|
|
83
|
+
* Adaptation: it will initially not shown in the table but be available via end user adaptation.
|
|
84
|
+
* Hidden: the column is neither available in the table nor in adaptation.
|
|
85
|
+
*/
|
|
86
|
+
availability?: Availability;
|
|
87
|
+
}
|
|
65
88
|
/**
|
|
66
89
|
* Inline Action
|
|
67
90
|
* @isViewNode true
|
|
68
91
|
*/
|
|
69
|
-
export
|
|
92
|
+
export interface TableColumnAction extends TableColumn {
|
|
70
93
|
/**
|
|
71
94
|
* Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)
|
|
72
95
|
*/
|
|
73
96
|
afterExecution?: ActionAfterExecutionConfiguration;
|
|
74
|
-
}
|
|
97
|
+
}
|
|
98
|
+
export declare type ColumnPropertiesType = string[];
|
|
75
99
|
/**
|
|
76
100
|
* Inline Action for Object Page
|
|
77
101
|
* @isViewNode true
|
|
78
102
|
*/
|
|
79
|
-
export
|
|
103
|
+
export interface ObjectPageTableColumnAction extends TableColumn {
|
|
104
|
+
/**
|
|
105
|
+
* Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)
|
|
106
|
+
*/
|
|
107
|
+
afterExecution?: ActionAfterExecutionConfigurationOP;
|
|
108
|
+
}
|
|
80
109
|
/**
|
|
81
110
|
* Custom Column
|
|
82
111
|
* @isViewNode true
|
|
83
112
|
*/
|
|
84
|
-
export
|
|
113
|
+
export interface TableCustomColumn {
|
|
114
|
+
/**
|
|
115
|
+
* Defines the position of the column relative to other columns.
|
|
116
|
+
*/
|
|
117
|
+
position?: Position;
|
|
85
118
|
/**
|
|
86
119
|
* The header is shown on the table as header, as well as in the add/remove dialog.
|
|
120
|
+
* @i18nClassification COL: Custom column header text
|
|
87
121
|
*/
|
|
88
122
|
header: string;
|
|
89
123
|
/**
|
|
@@ -94,5 +128,20 @@ export declare type TableCustomColumn = Positionable & {
|
|
|
94
128
|
/**
|
|
95
129
|
* Relevant for extension columns; allows the definition of a target fragment.
|
|
96
130
|
*/
|
|
97
|
-
template
|
|
98
|
-
|
|
131
|
+
template: string;
|
|
132
|
+
/**
|
|
133
|
+
* Aligns the header as well as the content horizontally.
|
|
134
|
+
*/
|
|
135
|
+
horizontalAlign?: HorizontalAlign;
|
|
136
|
+
/**
|
|
137
|
+
* Defines where the column should be shown.
|
|
138
|
+
* - Default: it will be shown by default in the table.
|
|
139
|
+
* - Adaptation: it will initially not shown in the table but be available via end user adaptation
|
|
140
|
+
* - Hidden: the column is neither available in the table nor in adaptation
|
|
141
|
+
*/
|
|
142
|
+
availability?: Availability;
|
|
143
|
+
/**
|
|
144
|
+
* If provided and sorting is enabled for the table the custom column header can be clicked. This will lead to a list of properties (or one) that can be sorted by, they are displayed as the labels of the properties, corresponding to their definition in the annotations.
|
|
145
|
+
*/
|
|
146
|
+
properties?: ColumnPropertiesType;
|
|
147
|
+
}
|
|
@@ -13,4 +13,10 @@ var Availability;
|
|
|
13
13
|
Availability["Adaptation"] = "Adaptation";
|
|
14
14
|
Availability["Hidden"] = "Hidden";
|
|
15
15
|
})(Availability = exports.Availability || (exports.Availability = {}));
|
|
16
|
+
var HorizontalAlign;
|
|
17
|
+
(function (HorizontalAlign) {
|
|
18
|
+
HorizontalAlign["Begin"] = "Begin";
|
|
19
|
+
HorizontalAlign["Center"] = "Center";
|
|
20
|
+
HorizontalAlign["End"] = "End";
|
|
21
|
+
})(HorizontalAlign = exports.HorizontalAlign || (exports.HorizontalAlign = {}));
|
|
16
22
|
//# sourceMappingURL=ManifestSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManifestSettings.js","sourceRoot":"","sources":["../../../../../../src/specification/v4/webapp/manifest/ManifestSettings.ts"],"names":[],"mappings":";;AAAA,oCAAoC;AACpC,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,wBAAW,CAAA;AACf,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AA0CD,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,iCAAmB,CAAA;AACvB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}
|
|
1
|
+
{"version":3,"file":"ManifestSettings.js","sourceRoot":"","sources":["../../../../../../src/specification/v4/webapp/manifest/ManifestSettings.ts"],"names":[],"mappings":";;AAAA,oCAAoC;AACpC,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,wBAAW,CAAA;AACf,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AA0CD,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,iCAAmB,CAAA;AACvB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACjB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appProvider.js","sourceRoot":"","sources":["../../../../src/sync/common/appProvider.ts"],"names":[],"mappings":";;AAAA,uDAMoC;
|
|
1
|
+
{"version":3,"file":"appProvider.js","sourceRoot":"","sources":["../../../../src/sync/common/appProvider.ts"],"names":[],"mappings":";;AAAA,uDAMoC;AAGpC,mCAAmD;AACnD,mCAA4C;AAC5C,mEAA8D;AAO9D,MAAsB,WAAW;IAO7B,YACI,QAAiC,EACjC,OAAc,EACd,IAAY,EACZ,KAAgB,EAChB,OAA6B,EAC7B,QAAwC,EACxC,MAAwB;QAV5B,yDAAyD;QAClD,yBAAoB,GAAkB,EAAE,CAAC;QAW5C,MAAM,UAAU,GAAG,yBAAiB,CAAC,yBAAU,CAAC,WAAW,CAAC,CAAC;QAC7D,IAAI,CAAC,GAAG,mBACJ,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,EAAE,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,EAC1B,KAAK;YACL,IAAI,EACJ,MAAM,EAAE;gBACJ,aAAa,EAAE,OAAO;gBACtB,KAAK,EAAE,OAAO,KAAK,6BAAoB,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAY,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAY,CAAC,EAAE;aACjF,IACE,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,CAAC,CAChC,CAAC;QACF,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED;;;;;;OAMG;IACI,iBAAiB;QACpB,MAAM,WAAW,GAAU,EAAE,CAAC;QAC9B,MAAM,SAAS,GAAU,EAAE,CAAC;QAC5B,IAAI,IAAqB,CAAC;QAC1B,oCAAoC;QACpC,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE;YACjC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC9B,IAAI,IAAI,CAAC,MAAM,EAAE;gBACb,MAAM,UAAU,GAAG,yBAAiB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;gBACpE,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC3B,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;oBACnC,MAAM,CAAC,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC;iBACpC;qBAAM;oBACH,MAAM,iBAAiB,GAAG,yBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAC3D,MAAM,CAAC,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC;iBAC3C;gBACD,WAAW,CAAC,GAAG,eAAO,CAAC,KAAK,IAAI,MAAM,OAAO,CAAC,GAAG,MAAM,CAAC;aAC3D;SACJ;QACD,0CAA0C;QAC1C,MAAM,GAAG,GAAgB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAC9D,KAAK,MAAM,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE;YAC5B,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC;SACnC;QACD,SAAS,CAAC,gBAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;QAE9B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IACtC,CAAC;CACJ;AAnED,kCAmEC"}
|
|
@@ -28,7 +28,7 @@ export declare enum BindingValue {
|
|
|
28
28
|
NotEditable = "{= !${ui>/editable}}"
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Export rule
|
|
31
|
+
* Export rule for table columns
|
|
32
32
|
* @param baseId - base ID, first part of the stable ID
|
|
33
33
|
* @param idBreadcrumbs - array of ID parts
|
|
34
34
|
* @param breadcrumbs - array of breadcrumbs
|
|
@@ -36,5 +36,15 @@ export declare enum BindingValue {
|
|
|
36
36
|
* @param title - title from JSON schema, comprising the facet ID
|
|
37
37
|
*/
|
|
38
38
|
export declare const buildColumnControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
|
|
39
|
+
/**
|
|
40
|
+
* Split up action breadcrumb and return different parts from it
|
|
41
|
+
* @param breadcrumbs - array of breadcrumbs
|
|
42
|
+
* @returns {object} - actionType, semanticObjectId, actionId of action
|
|
43
|
+
*/
|
|
44
|
+
export declare const getActionBreadcrumbParts: (breadcrumbs: string[]) => {
|
|
45
|
+
actionType: string;
|
|
46
|
+
semanticObjectId: string;
|
|
47
|
+
actionId: string;
|
|
48
|
+
};
|
|
39
49
|
export declare const addPatternForBindingChangeOfEnumLR: (schema: object, definition: object, propertyName: string) => void;
|
|
40
50
|
export declare const addPatternForBindingChangeOfEnumOP: (schema: object, definition: object, propertyName: string) => void;
|
|
@@ -29,7 +29,7 @@ exports.buildControlIdForPage = (baseId, idBreadcrumbs, breadcrumbs) => {
|
|
|
29
29
|
exports.convertSectionId = (sectionId, title) => {
|
|
30
30
|
let convertedSectionId;
|
|
31
31
|
const prefix = types_1.FacetTitlePrefix;
|
|
32
|
-
if (title !== undefined) {
|
|
32
|
+
if (title !== undefined && title.includes(prefix)) {
|
|
33
33
|
convertedSectionId = title.split(prefix)[1];
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
@@ -55,7 +55,7 @@ var BindingValue;
|
|
|
55
55
|
BindingValue["NotEditable"] = "{= !${ui>/editable}}";
|
|
56
56
|
})(BindingValue = exports.BindingValue || (exports.BindingValue = {}));
|
|
57
57
|
/**
|
|
58
|
-
* Export rule
|
|
58
|
+
* Export rule for table columns
|
|
59
59
|
* @param baseId - base ID, first part of the stable ID
|
|
60
60
|
* @param idBreadcrumbs - array of ID parts
|
|
61
61
|
* @param breadcrumbs - array of breadcrumbs
|
|
@@ -85,10 +85,14 @@ exports.buildColumnControlId = (baseId, idBreadcrumbs, breadcrumbs, controlType,
|
|
|
85
85
|
.replace(/::com.sap.vocabularies/g, types_1.VOCWITHSLASH)
|
|
86
86
|
.replace(/::@com.sap.vocabularies/g, types_1.VOCWITHSLASH);
|
|
87
87
|
}
|
|
88
|
+
else if (idBreadcrumbs[0] === 'table') {
|
|
89
|
+
tableId = idBreadcrumbs[0];
|
|
90
|
+
}
|
|
88
91
|
const lastIdPart = localBreadcrumbs[localBreadcrumbs.length - 1]
|
|
89
92
|
.replace(/::com.sap.vocabularies/g, types_1.VOCWITHSLASH)
|
|
90
93
|
.replace(/::@com.sap.vocabularies/g, types_1.VOCWITHSLASH)
|
|
91
|
-
.replace('sTarget/@', 'sTarget::@')
|
|
94
|
+
.replace('sTarget/@', 'sTarget::@')
|
|
95
|
+
.replace('/', ':2f');
|
|
92
96
|
let fullId;
|
|
93
97
|
const splitPoint = lastIdPart.indexOf(':::');
|
|
94
98
|
if (lastIdPart.startsWith('DataField') && splitPoint > -1) {
|
|
@@ -106,6 +110,28 @@ exports.buildColumnControlId = (baseId, idBreadcrumbs, breadcrumbs, controlType,
|
|
|
106
110
|
}
|
|
107
111
|
return escapeId(fullId);
|
|
108
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* Split up action breadcrumb and return different parts from it
|
|
115
|
+
* @param breadcrumbs - array of breadcrumbs
|
|
116
|
+
* @returns {object} - actionType, semanticObjectId, actionId of action
|
|
117
|
+
*/
|
|
118
|
+
exports.getActionBreadcrumbParts = (breadcrumbs) => {
|
|
119
|
+
const actionIdParts = breadcrumbs[breadcrumbs.length - 1].split(':::');
|
|
120
|
+
let actionType, semanticObjectId, actionId;
|
|
121
|
+
if (actionIdParts.length > 2) {
|
|
122
|
+
actionType = actionIdParts[0];
|
|
123
|
+
semanticObjectId = actionIdParts[1].split('::')[1];
|
|
124
|
+
actionId = actionIdParts[2].split('::')[1];
|
|
125
|
+
}
|
|
126
|
+
else if (actionIdParts.length === 2) {
|
|
127
|
+
actionType = actionIdParts[0];
|
|
128
|
+
actionId = actionIdParts[1].split('sAction::')[1];
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
actionId = actionIdParts[0];
|
|
132
|
+
}
|
|
133
|
+
return { actionType, semanticObjectId, actionId };
|
|
134
|
+
};
|
|
109
135
|
/**
|
|
110
136
|
* Determines the valid pattern for a binding change
|
|
111
137
|
* @param schemaDefinition - definition in the JSON schema
|