@sap/ux-specification 1.96.4 → 1.96.5

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.
@@ -942,6 +942,9 @@
942
942
  "type": "boolean",
943
943
  "artifactType": "FlexChange",
944
944
  "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
945
+ },
946
+ "selectionFields": {
947
+ "$ref": "#/definitions/SelectionFields"
945
948
  }
946
949
  },
947
950
  "additionalProperties": false
@@ -1016,19 +1019,31 @@
1016
1019
  "description": "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.",
1017
1020
  "type": "boolean",
1018
1021
  "artifactType": "Manifest"
1019
- },
1020
- "fields": {
1021
- "description": "For a fields' list you can define the set of standard date range values separately.",
1022
- "type": "object",
1023
- "additionalProperties": {
1024
- "$ref": "#/definitions/SelectedValues"
1025
- },
1026
- "artifactType": "Manifest"
1027
1022
  }
1028
1023
  },
1029
1024
  "additionalProperties": false
1030
1025
  },
1031
- "SelectedValues": {
1026
+ "SelectionFields": {
1027
+ "description": "Filter Fields",
1028
+ "isViewNode": true,
1029
+ "type": "object",
1030
+ "additionalProperties": {
1031
+ "description": "Filter Field",
1032
+ "isViewNode": true,
1033
+ "anyOf": [
1034
+ {
1035
+ "type": "object",
1036
+ "properties": {}
1037
+ },
1038
+ {
1039
+ "$ref": "#/definitions/SelectionFieldDateSettings"
1040
+ }
1041
+ ]
1042
+ }
1043
+ },
1044
+ "SelectionFieldDateSettings": {
1045
+ "description": "Filter Field for Date Settings",
1046
+ "isViewNode": true,
1032
1047
  "type": "object",
1033
1048
  "properties": {
1034
1049
  "selectedValues": {
@@ -1086,15 +1101,18 @@
1086
1101
  "YESTERDAY"
1087
1102
  ],
1088
1103
  "type": "string"
1089
- }
1104
+ },
1105
+ "artifactType": "Manifest"
1090
1106
  },
1091
1107
  "exclude": {
1092
1108
  "description": "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.",
1093
- "type": "boolean"
1109
+ "type": "boolean",
1110
+ "artifactType": "Manifest"
1094
1111
  },
1095
1112
  "customDateRangeImplementation": {
1096
1113
  "description": "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.\nThe customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.",
1097
- "type": "string"
1114
+ "type": "string",
1115
+ "artifactType": "Manifest"
1098
1116
  },
1099
1117
  "filter": {
1100
1118
  "description": "You can use the filter settings to include and exclude specific date range values.",
@@ -1264,25 +1282,31 @@
1264
1282
  ]
1265
1283
  }
1266
1284
  ]
1267
- }
1285
+ },
1286
+ "artifactType": "Manifest"
1268
1287
  },
1269
1288
  "defaultValue": {
1289
+ "$ref": "#/definitions/DefaultDateRange",
1270
1290
  "description": "You can set a default value for semantic date range.",
1271
- "type": "object",
1272
- "properties": {
1273
- "operation": {
1274
- "$ref": "#/definitions/DefaultDateRangeValueType",
1275
- "description": "The operation property is the value that will be set for semantic date range."
1276
- }
1277
- },
1278
- "additionalProperties": false,
1279
- "required": [
1280
- "operation"
1281
- ]
1291
+ "artifactType": "Manifest"
1282
1292
  }
1283
1293
  },
1284
1294
  "additionalProperties": false
1285
1295
  },
1296
+ "DefaultDateRange": {
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "operation": {
1300
+ "$ref": "#/definitions/DefaultDateRangeValueType",
1301
+ "description": "The operation property is the value that will be set for semantic date range.",
1302
+ "artifactType": "Manifest"
1303
+ }
1304
+ },
1305
+ "additionalProperties": false,
1306
+ "required": [
1307
+ "operation"
1308
+ ]
1309
+ },
1286
1310
  "DefaultDateRangeValueType": {
1287
1311
  "enum": [
1288
1312
  "DATETOYEAR",
@@ -1169,6 +1169,9 @@
1169
1169
  "type": "boolean",
1170
1170
  "artifactType": "FlexChange",
1171
1171
  "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
1172
+ },
1173
+ "selectionFields": {
1174
+ "$ref": "#/definitions/SelectionFields"
1172
1175
  }
1173
1176
  },
1174
1177
  "additionalProperties": false
@@ -1243,19 +1246,31 @@
1243
1246
  "description": "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.",
1244
1247
  "type": "boolean",
1245
1248
  "artifactType": "Manifest"
1246
- },
1247
- "fields": {
1248
- "description": "For a fields' list you can define the set of standard date range values separately.",
1249
- "type": "object",
1250
- "additionalProperties": {
1251
- "$ref": "#/definitions/SelectedValues"
1252
- },
1253
- "artifactType": "Manifest"
1254
1249
  }
1255
1250
  },
1256
1251
  "additionalProperties": false
1257
1252
  },
1258
- "SelectedValues": {
1253
+ "SelectionFields": {
1254
+ "description": "Filter Fields",
1255
+ "isViewNode": true,
1256
+ "type": "object",
1257
+ "additionalProperties": {
1258
+ "description": "Filter Field",
1259
+ "isViewNode": true,
1260
+ "anyOf": [
1261
+ {
1262
+ "type": "object",
1263
+ "properties": {}
1264
+ },
1265
+ {
1266
+ "$ref": "#/definitions/SelectionFieldDateSettings"
1267
+ }
1268
+ ]
1269
+ }
1270
+ },
1271
+ "SelectionFieldDateSettings": {
1272
+ "description": "Filter Field for Date Settings",
1273
+ "isViewNode": true,
1259
1274
  "type": "object",
1260
1275
  "properties": {
1261
1276
  "selectedValues": {
@@ -1313,15 +1328,18 @@
1313
1328
  "YESTERDAY"
1314
1329
  ],
1315
1330
  "type": "string"
1316
- }
1331
+ },
1332
+ "artifactType": "Manifest"
1317
1333
  },
1318
1334
  "exclude": {
1319
1335
  "description": "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.",
1320
- "type": "boolean"
1336
+ "type": "boolean",
1337
+ "artifactType": "Manifest"
1321
1338
  },
1322
1339
  "customDateRangeImplementation": {
1323
1340
  "description": "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.\nThe customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.",
1324
- "type": "string"
1341
+ "type": "string",
1342
+ "artifactType": "Manifest"
1325
1343
  },
1326
1344
  "filter": {
1327
1345
  "description": "You can use the filter settings to include and exclude specific date range values.",
@@ -1491,25 +1509,31 @@
1491
1509
  ]
1492
1510
  }
1493
1511
  ]
1494
- }
1512
+ },
1513
+ "artifactType": "Manifest"
1495
1514
  },
1496
1515
  "defaultValue": {
1516
+ "$ref": "#/definitions/DefaultDateRange",
1497
1517
  "description": "You can set a default value for semantic date range.",
1498
- "type": "object",
1499
- "properties": {
1500
- "operation": {
1501
- "$ref": "#/definitions/DefaultDateRangeValueType",
1502
- "description": "The operation property is the value that will be set for semantic date range."
1503
- }
1504
- },
1505
- "additionalProperties": false,
1506
- "required": [
1507
- "operation"
1508
- ]
1518
+ "artifactType": "Manifest"
1509
1519
  }
1510
1520
  },
1511
1521
  "additionalProperties": false
1512
1522
  },
1523
+ "DefaultDateRange": {
1524
+ "type": "object",
1525
+ "properties": {
1526
+ "operation": {
1527
+ "$ref": "#/definitions/DefaultDateRangeValueType",
1528
+ "description": "The operation property is the value that will be set for semantic date range.",
1529
+ "artifactType": "Manifest"
1530
+ }
1531
+ },
1532
+ "additionalProperties": false,
1533
+ "required": [
1534
+ "operation"
1535
+ ]
1536
+ },
1513
1537
  "DefaultDateRangeValueType": {
1514
1538
  "enum": [
1515
1539
  "DATETOYEAR",
@@ -73,7 +73,7 @@
73
73
  "type": "object",
74
74
  "properties": {
75
75
  "dateSettings": {
76
- "$ref": "#/definitions/DateRange",
76
+ "$ref": "#/definitions/DateRangeOVP",
77
77
  "description": "You can define date ranges, such as lastYear or nextQuarter on the Smart Filter Bar"
78
78
  }
79
79
  },
@@ -135,13 +135,19 @@
135
135
  ],
136
136
  "type": "string"
137
137
  },
138
- "DateRange": {
138
+ "DateRangeOVP": {
139
139
  "type": "object",
140
140
  "properties": {
141
+ "fields": {
142
+ "description": "For a fields' list you can define the set of standard date range values separately.",
143
+ "type": "object",
144
+ "additionalProperties": {
145
+ "$ref": "#/definitions/SelectedValues"
146
+ }
147
+ },
141
148
  "useDateRange": {
142
149
  "description": "If set to true all date fields with filter restriction interval will be treated as DateTimeRange filters.",
143
- "type": "boolean",
144
- "artifactType": "Manifest"
150
+ "type": "boolean"
145
151
  },
146
152
  "selectedValues": {
147
153
  "description": "The selectedValues property is a set of standard date range values that you want to include or exclude.",
@@ -198,26 +204,17 @@
198
204
  "YESTERDAY"
199
205
  ],
200
206
  "type": "string"
201
- },
202
- "artifactType": "Manifest"
207
+ }
203
208
  },
204
209
  "exclude": {
205
210
  "description": "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.",
206
- "type": "boolean",
207
- "artifactType": "Manifest"
208
- },
209
- "fields": {
210
- "description": "For a fields' list you can define the set of standard date range values separately.",
211
- "type": "object",
212
- "additionalProperties": {
213
- "$ref": "#/definitions/SelectedValues"
214
- },
215
- "artifactType": "Manifest"
211
+ "type": "boolean"
216
212
  }
217
213
  },
218
214
  "additionalProperties": false
219
215
  },
220
216
  "SelectedValues": {
217
+ "isViewNode": false,
221
218
  "type": "object",
222
219
  "properties": {
223
220
  "selectedValues": {
@@ -456,22 +453,26 @@
456
453
  }
457
454
  },
458
455
  "defaultValue": {
459
- "description": "You can set a default value for semantic date range.",
460
- "type": "object",
461
- "properties": {
462
- "operation": {
463
- "$ref": "#/definitions/DefaultDateRangeValueType",
464
- "description": "The operation property is the value that will be set for semantic date range."
465
- }
466
- },
467
- "additionalProperties": false,
468
- "required": [
469
- "operation"
470
- ]
456
+ "$ref": "#/definitions/DefaultDateRange",
457
+ "description": "You can set a default value for semantic date range."
471
458
  }
472
459
  },
473
460
  "additionalProperties": false
474
461
  },
462
+ "DefaultDateRange": {
463
+ "type": "object",
464
+ "properties": {
465
+ "operation": {
466
+ "$ref": "#/definitions/DefaultDateRangeValueType",
467
+ "description": "The operation property is the value that will be set for semantic date range.",
468
+ "artifactType": "Manifest"
469
+ }
470
+ },
471
+ "additionalProperties": false,
472
+ "required": [
473
+ "operation"
474
+ ]
475
+ },
475
476
  "DefaultDateRangeValueType": {
476
477
  "enum": [
477
478
  "DATETOYEAR",
@@ -71,6 +71,45 @@ export declare const enum DefaultDateRangeValueType {
71
71
  QUARTER4 = "QUARTER4",
72
72
  DATETOYEAR = "DATETOYEAR"
73
73
  }
74
+ /**
75
+ * Filter Field
76
+ * @isViewNode true
77
+ */
78
+ export declare type SelectionField = {} | SelectionFieldDateSettings;
79
+ /**
80
+ * Filter Field for Date Settings
81
+ * @isViewNode true
82
+ */
83
+ export interface SelectionFieldDateSettings {
84
+ /**
85
+ * The selectedValues property is a set of standard date range values that you want to include or exclude.
86
+ */
87
+ selectedValues?: DateRangeType[];
88
+ /**
89
+ * 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.
90
+ */
91
+ exclude?: boolean;
92
+ /**
93
+ * 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.
94
+ * The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
95
+ */
96
+ customDateRangeImplementation?: string;
97
+ /**
98
+ * You can use the filter settings to include and exclude specific date range values.
99
+ */
100
+ filter?: FilterType[];
101
+ /**
102
+ * You can set a default value for semantic date range.
103
+ */
104
+ defaultValue?: DefaultDateRange;
105
+ }
106
+ /**
107
+ * Filter Fields
108
+ * @isViewNode true
109
+ */
110
+ export interface SelectionFields {
111
+ [key: string]: SelectionField;
112
+ }
74
113
  export declare type FilterTypeCategory = {
75
114
  /**
76
115
  * Choose 'key' to define filter values for single values of the date range type, or 'category' to filter by a whole subset.
@@ -108,33 +147,11 @@ export declare type FilterTypeKey = {
108
147
  exclude?: boolean;
109
148
  };
110
149
  export declare type FilterType = FilterTypeKey | FilterTypeCategory;
111
- export interface SelectedValues {
112
- /**
113
- * The selectedValues property is a set of standard date range values that you want to include or exclude.
114
- */
115
- selectedValues?: DateRangeType[];
116
- /**
117
- * 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
- */
119
- exclude?: boolean;
120
- /**
121
- * 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.
122
- * The customDateRangeImplementation setting takes priority followed by filter and selectedValues when excluding date range types.
123
- */
124
- customDateRangeImplementation?: string;
150
+ export interface DefaultDateRange {
125
151
  /**
126
- * You can use the filter settings to include and exclude specific date range values.
152
+ * The operation property is the value that will be set for semantic date range.
127
153
  */
128
- filter?: FilterType[];
129
- /**
130
- * You can set a default value for semantic date range.
131
- */
132
- defaultValue?: {
133
- /**
134
- * The operation property is the value that will be set for semantic date range.
135
- */
136
- operation: DefaultDateRangeValueType;
137
- };
154
+ operation: DefaultDateRangeValueType;
138
155
  }
139
156
  export interface DateRange {
140
157
  /**
@@ -149,12 +166,6 @@ export interface DateRange {
149
166
  * 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.
150
167
  */
151
168
  exclude?: boolean;
152
- /**
153
- * For a fields' list you can define the set of standard date range values separately.
154
- */
155
- fields?: {
156
- [field: string]: SelectedValues;
157
- };
158
169
  }
159
170
  export interface CommonFilterBar {
160
171
  /**
@@ -191,6 +202,11 @@ export interface CommonFilterBar {
191
202
  * Handles visibility of the Restore button on the FilterBar.
192
203
  */
193
204
  showRestoreOnFB?: boolean;
205
+ /**
206
+ * @isViewNode true
207
+ * Selection Fields
208
+ */
209
+ selectionFields?: SelectionFields;
194
210
  }
195
211
  /**
196
212
  * Filter Bar
@@ -4,12 +4,46 @@
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, DefaultDateRange, 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
+ * You can set a default value for semantic date range.
31
+ */
32
+ defaultValue?: DefaultDateRange;
33
+ }
34
+ export interface DateRangeOVP extends DateRange {
35
+ /**
36
+ * For a fields' list you can define the set of standard date range values separately.
37
+ */
38
+ fields?: {
39
+ [field: string]: SelectedValues;
40
+ };
41
+ }
8
42
  export declare type FilterSettingsType = {
9
43
  /**
10
44
  * You can define date ranges, such as lastYear or nextQuarter on the Smart Filter Bar
11
45
  */
12
- dateSettings?: DateRange;
46
+ dateSettings?: DateRangeOVP;
13
47
  };
14
48
  export declare enum ContainerLayoutType {
15
49
  fixed = "fixed",
@@ -8,6 +8,7 @@ import { EntitySet } from '@sap-ux/annotation-converter';
8
8
  * @param {FacetConfig} section - facet or section in the FE core model
9
9
  * @param {object} appSchemaSection - current definition of facet or section in the JSON schema
10
10
  * @param {object} appSchema - app specific schema that gets enhanced
11
+ * @param {FioriElementsVersion} version - Fiori Elements version
11
12
  */
12
13
  export declare function handleForm(sectionType: SectionType, section: FacetConfig, appSchemaSection: object, appSchema: object, version: FioriElementsVersion, withActions?: boolean): void;
13
14
  /**
@@ -67,3 +67,29 @@ export declare function addCommonLineItemDefinitions(appSchema: object, lineItem
67
67
  * @param {string=} floorplanSuffix - floorplan specific suffix (optional)
68
68
  */
69
69
  export declare function addFieldsType(appSchema: object, entityType: EntityType, floorplanSuffix?: string): void;
70
+ export declare enum DataType {
71
+ String = "String",
72
+ Rating = "Rating",
73
+ Progress = "Progress",
74
+ DataPoint = "DataPoint",
75
+ Contact = "Contact",
76
+ Address = "Address",
77
+ Chart = "Chart",
78
+ FieldGroup = "FieldGroup",
79
+ IntentBasedNavigation = "IntentBasedNavigation"
80
+ }
81
+ /**
82
+ * Determines the dataType that shall be added to a property in schema, for any kind of field like
83
+ * - feld of a field group
84
+ * - line item record
85
+ * - selection field
86
+ * @param field - the given field
87
+ * @returns - the dataType as string
88
+ */
89
+ export declare function determineDataType(field: object): string | undefined;
90
+ /**
91
+ * Adds the dataType to the given schema field definition, if the data type cane be determined
92
+ * @param definition - given schema definition
93
+ * @param field - given field definition = annotation property, at AVT
94
+ */
95
+ export declare function addDataTypeToDefinition(definition: object, field: object): void;
@@ -108,7 +108,7 @@ export declare type ManifestPath = (pageKeys?: string[], manifest?: Manifest, ..
108
108
  export interface ManifestConverter {
109
109
  path: ManifestPath;
110
110
  key?: string;
111
- import?: ((manifestSection: unknown, sectionId?: string) => unknown) | boolean;
111
+ import?: ((manifestSection: unknown, sectionId?: string, propertyKey?: string) => unknown) | boolean;
112
112
  export?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string) => unknown) | boolean;
113
113
  delete?: (manifestSection: unknown, configObject: unknown, key: string, manifestKey: string) => unknown;
114
114
  }
@@ -1,13 +1,24 @@
1
- import { DateRangeType, SelectedValues, DateRange as DateRangeInterface, CommonFilterBar as FilterBarConfig, ListReportFilterBar as ListReportFilterBarIF, AnalyticalListPageFilterBar as AnalyticalListPageFilterBarIF } from '../../../../specification/v2';
1
+ import { FilterType, DateRangeType, SelectionField, DefaultDateRangeValueType, DateRange as DateRangeInterface, CommonFilterBar as FilterBarConfig, SelectionFields as SelectionFieldsConfig, DefaultDateRange as DefaultDateRangeConfig, ListReportFilterBar as ListReportFilterBarIF, AnalyticalListPageFilterBar as AnalyticalListPageFilterBarIF, SelectionFieldDateSettings as SelectionFieldDateSettingsConfig } from '../../../../specification/v2';
2
2
  export declare function importDateSettings(manifestSection: object): DateRange;
3
3
  export declare function exportDateSettings(manifestSection: unknown, configPart: DateRange, key: string): void;
4
+ export declare function exportDateSettingsField(manifestSection: unknown, configPart: DateRange, key: string): void;
4
5
  export declare class DateRange implements DateRangeInterface {
5
6
  useDateRange?: boolean;
6
7
  selectedValues?: DateRangeType[];
7
8
  exclude?: boolean;
8
- fields?: {
9
- [field: string]: SelectedValues;
10
- };
9
+ }
10
+ export declare class DefaultDateRange implements DefaultDateRangeConfig {
11
+ operation: DefaultDateRangeValueType;
12
+ }
13
+ export declare class SelectionFieldDateSettings implements SelectionFieldDateSettingsConfig {
14
+ selectedValues?: DateRangeType[];
15
+ exclude?: boolean;
16
+ customDateRangeImplementation?: string;
17
+ filter?: FilterType[];
18
+ defaultValue?: DefaultDateRange;
19
+ }
20
+ export declare class SelectionFields implements SelectionFieldsConfig {
21
+ [key: string]: SelectionField | SelectionFieldDateSettings;
11
22
  }
12
23
  export declare class CommonFilterBar implements FilterBarConfig {
13
24
  smartVariantManagement?: boolean;
@@ -15,6 +26,7 @@ export declare class CommonFilterBar implements FilterBarConfig {
15
26
  variantManagementHidden: boolean;
16
27
  subTitleIfVariantMgmtHidden?: string;
17
28
  dateSettings?: DateRange;
29
+ selectionFields?: SelectionFields;
18
30
  showClearOnFB?: boolean;
19
31
  showFilterConfiguration?: boolean;
20
32
  showRestoreOnFB?: boolean;
@@ -1,5 +1,6 @@
1
- import { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType } from '../../../../specification/v2';
1
+ import { OverviewPageConfig, ContainerLayoutType, ChartSettingsType, FilterSettingsType, DateRange } from '../../../../specification/v2';
2
2
  import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
3
+ export declare function importDateSettingsOVP(manifestSection: object): DateRange;
3
4
  export declare function importFilterSettings(manifestSection: object): object;
4
5
  export declare function exportFilterSettings(manifestSection: unknown, configPart: FilterSettingsType): void;
5
6
  declare type CardClassType = ListCard | AnalyticalCard | StackCard | LinklistCard | TableCard | CustomCard;
@@ -1,5 +1,5 @@
1
1
  import { FileData } from '../../common';
2
- import { AnnotationTerm, EntityType, LineItem } from '@sap-ux/vocabularies-types';
2
+ import { AnnotationTerm, EntityType, LineItem, SelectionFields } from '@sap-ux/vocabularies-types';
3
3
  import { SapUiAppPageV2 } from '../../../specification/v2';
4
4
  import { MetadataInstanceInterface } from '../../common/decoration/factory';
5
5
  import { PageType, PageTypeV4 } from '../../../specification/common';
@@ -79,3 +79,10 @@ export declare function processMetadata(schema: object, schemaDefinition: object
79
79
  * @param {Array<unknown>} valuesToRemove Array of values to remove.
80
80
  */
81
81
  export declare function removeElementsFromEnum(values: Array<unknown>, valuesToRemove: Array<unknown>): void;
82
+ /**
83
+ * Adds the selection fields to the app schema, as properties of the Filterbar
84
+ * @param entityType - the entity type as part of the AVT ConverterOutput
85
+ * @param appSchema - the app specific schema that shall get enhanced
86
+ * @param selectionFieldsAnnotation - the UI.SelectionField annotation
87
+ */
88
+ export declare function addSelectionFields(appSchema: object, selectionFieldsAnnotation: AnnotationTerm<SelectionFields>, entityType: EntityType): void;
@@ -1,5 +1,5 @@
1
1
  import { TransferParameterTypeV4 } from './types';
2
- import { ExtensionLogger } from '../../..';
2
+ import { ExtensionLogger } from '../../../apiTypes';
3
3
  /**
4
4
  * Function creates a new custom column with aid of the FPM writer
5
5
  * @param propertyDefinition - Definition of the given property in JSON schema
@@ -1,4 +1,4 @@
1
- import { AnnotationTerm, ConverterOutput, EntityType, LineItem, DataFieldForActionAbstractTypes, SelectionFields } from '@sap-ux/vocabularies-types';
1
+ import { AnnotationTerm, ConverterOutput, EntityType, LineItem, DataFieldForActionAbstractTypes } from '@sap-ux/vocabularies-types';
2
2
  import { EntitySet } from '@sap-ux/annotation-converter';
3
3
  import { ExtensionLogger } from '../../..';
4
4
  import { DefinitionName, SapUiAppPageV4 } from '../../../v4';
@@ -22,13 +22,6 @@ export declare function addCustomColumnDefinition(appSchema: object, v4Page: Sap
22
22
  * @param recordIndex - record index in the collection
23
23
  */
24
24
  export declare function handleActionRecord(appSchema: object, entityType: EntityType, actions: object, lineItemPath: string, lineItemRecord: DataFieldForActionAbstractTypes, lineItemId: string, recordIndex: number): void;
25
- /**
26
- * Adds the selection fields to the app schema, as properties of the Filterbar
27
- * @param entityType - the entity type as part of the AVT ConverterOutput
28
- * @param appSchema - the app specific schema that shall get enhanced
29
- * @param selectionFieldsAnnotation - the UI.SelectionField annotation
30
- */
31
- export declare function addSelectionFields(entityType: EntityType, appSchema: object, selectionFieldsAnnotation: AnnotationTerm<SelectionFields>): void;
32
25
  /**
33
26
  * Adds the line item definition, columns and actions to the app schema (for the list report or an object page section comprising a table)
34
27
  * @param appSchema - the app specific schema that shall get enhanced
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.96.4",
3
+ "version": "1.96.5",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -73,7 +73,6 @@
73
73
  "http-server": "13.0.1",
74
74
  "i18next": "20.3.1",
75
75
  "jest": "26.6.3",
76
- "jest-file-snapshot": "0.5.0",
77
76
  "jest-sonar-reporter": "2.0.0",
78
77
  "jquery": "3.6.0",
79
78
  "lodash.unset": "4.5.2",