@sapui5/ts-types-esm 1.136.2 → 1.138.0
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/package.json +1 -1
- package/types/index.d.ts +2 -1
- package/types/sap.apf.d.ts +30 -3
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +315 -65
- package/types/sap.esh.search.ui.d.ts +71 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +3 -0
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +50 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +192 -66
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +4 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +1261 -566
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +34 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +103 -16
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +67 -9
- package/types/sap.ui.core.d.ts +62 -49
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +221 -167
- package/types/sap.ui.fl.d.ts +3 -7
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +44 -24
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.136.0-esm-d.ts → sap.ui.mdc.d.ts} +599 -297
- package/types/sap.ui.richtexteditor.d.ts +21 -17
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +9 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +75 -30
- package/types/sap.ui.vk.d.ts +364 -102
- package/types/sap.ui.vtm.d.ts +3 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +58 -31
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,6 +1,106 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/export/library" {
|
|
4
|
+
import ListBinding from "sap/ui/model/ListBinding";
|
|
5
|
+
|
|
6
|
+
import TreeBinding from "sap/ui/model/TreeBinding";
|
|
7
|
+
|
|
8
|
+
export type Column = {
|
|
9
|
+
/**
|
|
10
|
+
* Column header text.
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Field name or array of field names in the data source feed.
|
|
15
|
+
*/
|
|
16
|
+
property?: string | string[];
|
|
17
|
+
/**
|
|
18
|
+
* Data type of the field.
|
|
19
|
+
*/
|
|
20
|
+
type?: EdmType | keyof typeof EdmType;
|
|
21
|
+
/**
|
|
22
|
+
* Width of the column in characters. There is no 1:1 correspondence between character widths in the exported
|
|
23
|
+
* spreadsheet and CSS units. The width of one character is approximately 0.5em in CSS units, depending
|
|
24
|
+
* on the fonts that are used in the table and in the resulting spreadsheet.
|
|
25
|
+
*/
|
|
26
|
+
width?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Horizontal alignment of cell contents. Accepted values: `left`, `right`, `center`, `begin`, `end`. If
|
|
29
|
+
* not specified, the columns are aligned based on the type.
|
|
30
|
+
*/
|
|
31
|
+
textAlign?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Number of digits after the decimal point for numeric values.
|
|
34
|
+
*/
|
|
35
|
+
scale?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Allows automatic scale assignment based on unit of measure.
|
|
38
|
+
*/
|
|
39
|
+
autoScale?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to display thousands separators in numeric values.
|
|
42
|
+
*/
|
|
43
|
+
delimiter?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Text to display as the unit of measurement or currency next to the numeric value. It is treated as a
|
|
46
|
+
* string and has no influence on the value itself. For example, a value of 150 with the unit "%" is still
|
|
47
|
+
* 150 and not 1.5, as a user may expect.
|
|
48
|
+
*/
|
|
49
|
+
unit?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the data source field that contains the unit/currency text.
|
|
52
|
+
*/
|
|
53
|
+
unitProperty?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Defines if the currency is shown in the column (applies to currency values only).
|
|
56
|
+
*/
|
|
57
|
+
displayUnit?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Textual representation of a boolean type that has the value `true`.
|
|
60
|
+
*/
|
|
61
|
+
trueValue?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Textual representation of a boolean type that has the value `false`.
|
|
64
|
+
*/
|
|
65
|
+
falseValue?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Formatting template that supports indexed placeholders within curly brackets.
|
|
68
|
+
*/
|
|
69
|
+
template?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Output format for columns of type Date/DateTime/Time.
|
|
72
|
+
*/
|
|
73
|
+
format?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Formatting template for string-formatted dates.
|
|
76
|
+
*/
|
|
77
|
+
inputFormat?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the `DateTime` is displayed as UTC or local time.
|
|
80
|
+
*/
|
|
81
|
+
utc?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Defines a fixed IANA time zone.
|
|
84
|
+
*/
|
|
85
|
+
timezone?: string;
|
|
86
|
+
/**
|
|
87
|
+
* References an OData property that contains the specific IANA time zone.
|
|
88
|
+
*/
|
|
89
|
+
timezoneProperty?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the IANA time zone is displayed within a cell.
|
|
92
|
+
*/
|
|
93
|
+
displayTimezone?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Mapping object or Map containing the values that should be mapped to a particular key.
|
|
96
|
+
*/
|
|
97
|
+
valueMap?: object;
|
|
98
|
+
/**
|
|
99
|
+
* Indicates if wrapping is enabled for this particular column.
|
|
100
|
+
*/
|
|
101
|
+
wrap?: boolean;
|
|
102
|
+
};
|
|
103
|
+
|
|
4
104
|
/**
|
|
5
105
|
* EDM data types for document export.
|
|
6
106
|
*
|
|
@@ -81,6 +181,123 @@ declare module "sap/ui/export/library" {
|
|
|
81
181
|
*/
|
|
82
182
|
XLSX = "XLSX",
|
|
83
183
|
}
|
|
184
|
+
|
|
185
|
+
export type SpreadsheetSettings = {
|
|
186
|
+
/**
|
|
187
|
+
* Spreadsheet properties object.
|
|
188
|
+
*/
|
|
189
|
+
workbook: {
|
|
190
|
+
/**
|
|
191
|
+
* Column configurations.
|
|
192
|
+
*/
|
|
193
|
+
columns: Column[];
|
|
194
|
+
/**
|
|
195
|
+
* Export context that will be applied to the exported file.
|
|
196
|
+
*/
|
|
197
|
+
context?: {
|
|
198
|
+
/**
|
|
199
|
+
* The application that creates the XLSX document.
|
|
200
|
+
*/
|
|
201
|
+
application?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Application version that creates the XLSX document.
|
|
204
|
+
*/
|
|
205
|
+
version?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Title of the XLSX document (NOT the file name).
|
|
208
|
+
*/
|
|
209
|
+
title?: string;
|
|
210
|
+
/**
|
|
211
|
+
* User context for the XLSX document.
|
|
212
|
+
*/
|
|
213
|
+
modifiedBy?: string;
|
|
214
|
+
/**
|
|
215
|
+
* The label of the data sheet.
|
|
216
|
+
*/
|
|
217
|
+
sheetName?: string;
|
|
218
|
+
/**
|
|
219
|
+
* The label of the metadata sheet. The sheet will not be shown unless metadata entries are provided
|
|
220
|
+
*/
|
|
221
|
+
metaSheetName?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Metadata groups with key/value pairs.
|
|
224
|
+
*/
|
|
225
|
+
metainfo?: Array<{
|
|
226
|
+
name: string;
|
|
227
|
+
|
|
228
|
+
items: Array<{
|
|
229
|
+
key: string;
|
|
230
|
+
|
|
231
|
+
value: string;
|
|
232
|
+
}>;
|
|
233
|
+
}>;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Name of the property that contains hierarchy level information.
|
|
237
|
+
*/
|
|
238
|
+
hierarchyLevel?: string;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Source of spreadsheet data. Can be an array with row data, an URL, a binding instance, or an OData properties
|
|
242
|
+
* object.
|
|
243
|
+
*/
|
|
244
|
+
dataSource:
|
|
245
|
+
| string
|
|
246
|
+
| {
|
|
247
|
+
/**
|
|
248
|
+
* Type of the data source. Currently, only OData is supported and the value has to be set to "odata".
|
|
249
|
+
*/
|
|
250
|
+
type: "odata";
|
|
251
|
+
/**
|
|
252
|
+
* URL to table data on the server, including all select, filter, and search query parameters.
|
|
253
|
+
*/
|
|
254
|
+
dataUrl: string;
|
|
255
|
+
/**
|
|
256
|
+
* URL to the OData service. Required for OData batch requests.
|
|
257
|
+
*/
|
|
258
|
+
serviceUrl?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Count of available records on the server.
|
|
261
|
+
*/
|
|
262
|
+
count?: number;
|
|
263
|
+
/**
|
|
264
|
+
* Whether batch requests are used to fetch the spreadsheet data. In this case, `serviceUrl` and `headers`
|
|
265
|
+
* have to be specified, too.
|
|
266
|
+
*/
|
|
267
|
+
useBatch?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* Map of HTTP request header properties.
|
|
270
|
+
*/
|
|
271
|
+
headers?: Record<string, string>;
|
|
272
|
+
/**
|
|
273
|
+
* Maximum allowed number of records that can be obtained from the service in a single request.
|
|
274
|
+
*/
|
|
275
|
+
sizeLimit?: number;
|
|
276
|
+
/**
|
|
277
|
+
* Maximum allowed number of rows that can be exported. If not specified, all rows are exported.
|
|
278
|
+
*/
|
|
279
|
+
downloadLimit?: number;
|
|
280
|
+
}
|
|
281
|
+
| any[]
|
|
282
|
+
| ListBinding
|
|
283
|
+
| TreeBinding;
|
|
284
|
+
/**
|
|
285
|
+
* The maximal number of records to export. If not specified, all data from the data source is fetched.
|
|
286
|
+
*/
|
|
287
|
+
count?: number;
|
|
288
|
+
/**
|
|
289
|
+
* Whether to run the export process in a worker or the main thread.
|
|
290
|
+
*/
|
|
291
|
+
worker?: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* File name for the exported file.
|
|
294
|
+
*/
|
|
295
|
+
fileName?: string;
|
|
296
|
+
/**
|
|
297
|
+
* Whether to show the progress dialog.
|
|
298
|
+
*/
|
|
299
|
+
showProgress?: boolean;
|
|
300
|
+
};
|
|
84
301
|
}
|
|
85
302
|
|
|
86
303
|
declare module "sap/ui/export/ExportBase" {
|
|
@@ -494,6 +711,8 @@ declare module "sap/ui/export/ExportHandler" {
|
|
|
494
711
|
declare module "sap/ui/export/Spreadsheet" {
|
|
495
712
|
import ExportBase from "sap/ui/export/ExportBase";
|
|
496
713
|
|
|
714
|
+
import { SpreadsheetSettings } from "sap/ui/export/library";
|
|
715
|
+
|
|
497
716
|
import ListBinding from "sap/ui/model/ListBinding";
|
|
498
717
|
|
|
499
718
|
import TreeBinding from "sap/ui/model/TreeBinding";
|
|
@@ -526,87 +745,6 @@ declare module "sap/ui/export/Spreadsheet" {
|
|
|
526
745
|
* - Suppress worker and run the document generation process in a main thread.
|
|
527
746
|
* - Configure the exported file name.
|
|
528
747
|
*
|
|
529
|
-
* Export settings object: Export settings should be provided in the constructor as an `mSettings` property
|
|
530
|
-
* map with the following fields:
|
|
531
|
-
* - `workbook` - Spreadsheet properties object
|
|
532
|
-
* `workbook.columns` - Array of column configurations. Each column configuration is an object with the
|
|
533
|
-
* following fields:
|
|
534
|
-
* `label` (string) - Column header text
|
|
535
|
-
* - `property` (string) - Field name or Array of field names in the data source feed
|
|
536
|
-
* - `type` (string) - Optional data type of the field. See {@link sap.ui.export.EdmType} for the list
|
|
537
|
-
* of supported types. If this property is omitted, the property is processed as a string field.
|
|
538
|
-
* - `width` (number) - Optional width of the column in characters. There is no 1:1 correspondence between
|
|
539
|
-
* character widths in the exported spreadsheet and CSS units.The width of one character is approximately
|
|
540
|
-
* 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
|
|
541
|
-
* The default value is 10 characters.
|
|
542
|
-
* - `textAlign` (string) - Horizontal alignment of cell contents. The following values of the CSS `text-align`
|
|
543
|
-
* property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
|
|
544
|
-
* aligned based on the property type.
|
|
545
|
-
* - `scale` (number) - Number of digits after decimal point for numeric values
|
|
546
|
-
* - `autoScale` (boolean) - Allows automatic scale assignment based on unit of measure
|
|
547
|
-
* - `delimiter` (boolean) - Set to `true` to display thousands separators in numeric values. The default
|
|
548
|
-
* value is `false`.
|
|
549
|
-
* - `unit` (string) - Text to display as the unit of measurement or currency next to the numeric value.
|
|
550
|
-
* It is treated as a string and has no influence on the value itself. For example, a value of 150 with
|
|
551
|
-
* the unit "%" is still 150 and not 1.5, as a user may expect.
|
|
552
|
-
* - `unitProperty` (string) - Name of the data source field that contains the unit/currency text
|
|
553
|
-
* - `displayUnit` (boolean) - The property applies to currency values only and defines if the currency
|
|
554
|
-
* is shown in the column. The default value is `true`.
|
|
555
|
-
* - `trueValue` (string) - Textual representation of a boolean type that has the value `true`
|
|
556
|
-
* - `falseValue` (string) - Textual representation of a boolean type that has the value `false`
|
|
557
|
-
* - `template` (string) - Formatting template that supports indexed placeholders within curly brackets
|
|
558
|
-
*
|
|
559
|
-
* - `format` (string) - Output format for columns of type Date/DateTime/Time
|
|
560
|
-
* - `inputFormat` (string) - Formatting template for string formatted dates
|
|
561
|
-
* - `utc` (boolean) - Defines whether the `DateTime` is displayed as UTC or local time
|
|
562
|
-
* - `timezone` (string) - Defines a fixed IANA time zone
|
|
563
|
-
* - `timezoneProperty` (string) - References an OData property that contains the specific IANA time zone
|
|
564
|
-
*
|
|
565
|
-
* - `displayTimezone` (boolean) - Defines whether the IANA time zone is displayed within a cell
|
|
566
|
-
* - `valueMap` (string) - Mapping object or Map containing the values that should be mapped to a particular
|
|
567
|
-
* key
|
|
568
|
-
* - `wrap` (boolean) - Indicates if wrapping is enabled for this particular column
|
|
569
|
-
* - `workbook.context` - Context object that will be applied to the generated file. It may contain the
|
|
570
|
-
* following fields:
|
|
571
|
-
* - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
|
|
572
|
-
* - `version` (string) - Application version that creates the XLSX document (default: "${version}")
|
|
573
|
-
* - `title` (string) - Title of the XLSX document (NOT the filename)
|
|
574
|
-
* - `modifiedBy` (string) - User context for the XLSX document
|
|
575
|
-
* - `sheetName` (string) - The label of the data sheet
|
|
576
|
-
* - `metaSheetName` (string) - The label of the metadata sheet. The sheet will not be shown unless metadata
|
|
577
|
-
* entries are provided
|
|
578
|
-
* - `metainfo` (Array) - An Array of metadata groups. Each group has a name property and an items Array
|
|
579
|
-
* which contains key/value pairs
|
|
580
|
-
* - `workbook.hierarchyLevel` - Name of the property that contains the hierarchy level information of
|
|
581
|
-
* each line item
|
|
582
|
-
* - `dataSource` - Source of spreadsheet data. It can be a JSON array with row data, an URL or an OData
|
|
583
|
-
* properties object with the following fields:
|
|
584
|
-
* `type` (string) - Type of the data source. Currently, only OData is supported and the value have to
|
|
585
|
-
* be set to `"odata"`.
|
|
586
|
-
* - `dataUrl` (string) - URL to table data on the server, including all select, filter, and search query
|
|
587
|
-
* parameters
|
|
588
|
-
* - `serviceUrl` (string) - URL to the OData service. The parameter is required for OData batch requests.
|
|
589
|
-
*
|
|
590
|
-
* - `count` (number) - Count of available records on the server
|
|
591
|
-
* - `useBatch` (boolean) - Set to `true` if OData batch requests are used to fetch the spreadsheet data.
|
|
592
|
-
* In this case, `serviceUrl` and `headers` have to be specified, too.
|
|
593
|
-
* - `headers` (object) - Map of HTTP request header properties. They should correspond to the HTTP request
|
|
594
|
-
* headers that are used to obtain table data for display in the browser.
|
|
595
|
-
* - `sizeLimit` (number) - Maximum allowed number of records that can be obtained from the service in
|
|
596
|
-
* a single request
|
|
597
|
-
* - `downloadLimit` (number) - Maximum allowed number of rows that can be exported. If not specified,
|
|
598
|
-
* all rows are exported.
|
|
599
|
-
* - `count` (number) - The maximal number of records to export. If not specified, all data from the data
|
|
600
|
-
* source is fetched.
|
|
601
|
-
* - `worker` (boolean) - Run export process in a worker thread. Set to `false` to disable worker and
|
|
602
|
-
* run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
|
|
603
|
-
* data.
|
|
604
|
-
* **Note:** In case of a strict content security policy, it is not always possible to create an export
|
|
605
|
-
* worker. In this case, export runs in a main thread disregarding the `worker` value.
|
|
606
|
-
* - `fileName` (string) - Optional file name for the exported file. If not specified, the spreadsheet
|
|
607
|
-
* is exported as `export.xlsx`.
|
|
608
|
-
* - `showProgress` (boolean) - Set to `false` to suppress the progress dialog
|
|
609
|
-
*
|
|
610
748
|
* Usage: To start export, create a new `sap.ui.export.Spreadsheet` object and call the `build` method.
|
|
611
749
|
* Column configuration, data source, and export settings must be provided in the constructor. The `build`
|
|
612
750
|
* method opens a progress dialog and starts an asynchronous export process. The export process fetches
|
|
@@ -727,91 +865,7 @@ declare module "sap/ui/export/Spreadsheet" {
|
|
|
727
865
|
/**
|
|
728
866
|
* Export settings
|
|
729
867
|
*/
|
|
730
|
-
mSettings:
|
|
731
|
-
/**
|
|
732
|
-
* Spreadsheet properties
|
|
733
|
-
*/
|
|
734
|
-
workbook: {
|
|
735
|
-
/**
|
|
736
|
-
* Column configuration
|
|
737
|
-
*/
|
|
738
|
-
columns: any[];
|
|
739
|
-
/**
|
|
740
|
-
* Export context that will be applied to the exported file
|
|
741
|
-
*/
|
|
742
|
-
context?: {
|
|
743
|
-
/**
|
|
744
|
-
* Application that created this XLSX
|
|
745
|
-
*/
|
|
746
|
-
application?: string;
|
|
747
|
-
/**
|
|
748
|
-
* Application version that was used to create this XLSX
|
|
749
|
-
*/
|
|
750
|
-
version?: string;
|
|
751
|
-
/**
|
|
752
|
-
* Title of the XLSX document (NOT the file name)
|
|
753
|
-
*/
|
|
754
|
-
title?: string;
|
|
755
|
-
/**
|
|
756
|
-
* User context for the exported document
|
|
757
|
-
*/
|
|
758
|
-
modifiedBy?: string;
|
|
759
|
-
/**
|
|
760
|
-
* The name of the data sheet that will be shown in Excel
|
|
761
|
-
*/
|
|
762
|
-
sheetName?: string;
|
|
763
|
-
/**
|
|
764
|
-
* The name of the metadata sheet that will be shown in Excel
|
|
765
|
-
*/
|
|
766
|
-
metaSheetName?: string;
|
|
767
|
-
/**
|
|
768
|
-
* Optional Metadata that will be displayed in the additional Metadata Sheet
|
|
769
|
-
*/
|
|
770
|
-
metainfo?: any[];
|
|
771
|
-
};
|
|
772
|
-
/**
|
|
773
|
-
* Optional name of the property that contains hierarchy level information
|
|
774
|
-
*/
|
|
775
|
-
hierarchyLevel?: string;
|
|
776
|
-
};
|
|
777
|
-
/**
|
|
778
|
-
* Source of spreadsheet data. A JSON array, data source properties map, `sap.ui.model.ListBinding`, `sap.ui.model.TreeBinding`
|
|
779
|
-
* or URL to an OData source can be provided. For example, `"someUrl"` is an equivalent to `{dataUrl:"someUrl",
|
|
780
|
-
* type:"OData"}`. An instance of `sap.ui.model.ListBinding` or `sap.ui.model.TreeBinding` either has to
|
|
781
|
-
* implement a `#getDownloadUrl` function or needs to be a ClientListBinding. **Note:** `sap.ui.model.ClientTreeBinding`
|
|
782
|
-
* is not supported.
|
|
783
|
-
*/
|
|
784
|
-
dataSource:
|
|
785
|
-
| string
|
|
786
|
-
| {
|
|
787
|
-
/**
|
|
788
|
-
* Maximal allowed number of records that can be obtained from the service in a single request
|
|
789
|
-
*/
|
|
790
|
-
sizeLimit: int;
|
|
791
|
-
}
|
|
792
|
-
| any[]
|
|
793
|
-
| ListBinding
|
|
794
|
-
| TreeBinding;
|
|
795
|
-
/**
|
|
796
|
-
* The maximal number of records to export
|
|
797
|
-
*/
|
|
798
|
-
count?: int;
|
|
799
|
-
/**
|
|
800
|
-
* Run export process in a worker thread. Set to `false` to disable worker and run export in a main thread.
|
|
801
|
-
* This is needed, for example, if a mock server is used to provide spreadsheet data.
|
|
802
|
-
* **Note:** In case of a strict content security policy, it is not always possible to create an export
|
|
803
|
-
* worker. In this case, export runs in a main thread disregarding the `worker` value.
|
|
804
|
-
*/
|
|
805
|
-
worker?: boolean;
|
|
806
|
-
/**
|
|
807
|
-
* Optional file name for the exported file
|
|
808
|
-
*/
|
|
809
|
-
fileName?: string;
|
|
810
|
-
/**
|
|
811
|
-
* Set to `false` to suppress the progress dialog
|
|
812
|
-
*/
|
|
813
|
-
showProgress?: boolean;
|
|
814
|
-
}
|
|
868
|
+
mSettings: SpreadsheetSettings
|
|
815
869
|
);
|
|
816
870
|
|
|
817
871
|
/**
|
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
@@ -1647,8 +1647,6 @@ declare namespace sap {
|
|
|
1647
1647
|
|
|
1648
1648
|
"sap/ui/fl/changeHandler/BaseRename": undefined;
|
|
1649
1649
|
|
|
1650
|
-
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
1651
|
-
|
|
1652
1650
|
"sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
|
|
1653
1651
|
|
|
1654
1652
|
"sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
|
|
@@ -1657,8 +1655,6 @@ declare namespace sap {
|
|
|
1657
1655
|
|
|
1658
1656
|
"sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory": undefined;
|
|
1659
1657
|
|
|
1660
|
-
"sap/ui/fl/FlexControllerFactory": undefined;
|
|
1661
|
-
|
|
1662
1658
|
"sap/ui/fl/initial/_internal/connectors/BackendConnector": undefined;
|
|
1663
1659
|
|
|
1664
1660
|
"sap/ui/fl/initial/_internal/connectors/BtpServiceConnector": undefined;
|
|
@@ -1675,6 +1671,8 @@ declare namespace sap {
|
|
|
1675
1671
|
|
|
1676
1672
|
"sap/ui/fl/initial/_internal/connectors/Utils": undefined;
|
|
1677
1673
|
|
|
1674
|
+
"sap/ui/fl/initial/_internal/Settings": undefined;
|
|
1675
|
+
|
|
1678
1676
|
"sap/ui/fl/initial/_internal/Storage": undefined;
|
|
1679
1677
|
|
|
1680
1678
|
"sap/ui/fl/initial/_internal/StorageUtils": undefined;
|
|
@@ -1687,8 +1685,6 @@ declare namespace sap {
|
|
|
1687
1685
|
|
|
1688
1686
|
"sap/ui/fl/library": undefined;
|
|
1689
1687
|
|
|
1690
|
-
"sap/ui/fl/registry/Settings": undefined;
|
|
1691
|
-
|
|
1692
1688
|
"sap/ui/fl/support/_internal/getAllUIChanges": undefined;
|
|
1693
1689
|
|
|
1694
1690
|
"sap/ui/fl/support/_internal/getChangeDependencies": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -1718,12 +1718,11 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Gets translated text from the i18n properties files configured for this card.
|
|
1720
1720
|
*
|
|
1721
|
-
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1721
|
+
* This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1722
1722
|
*
|
|
1723
|
-
* @experimental As of version 1.83. The API might change.
|
|
1724
1723
|
*
|
|
1725
|
-
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined`
|
|
1726
|
-
* on `bIgnoreKeyFallback`.
|
|
1724
|
+
* @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
|
|
1725
|
+
* depending on `bIgnoreKeyFallback`.
|
|
1727
1726
|
*/
|
|
1728
1727
|
getTranslatedText(
|
|
1729
1728
|
/**
|
|
@@ -1742,7 +1741,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1742
1741
|
* fallback bundle.
|
|
1743
1742
|
*/
|
|
1744
1743
|
bIgnoreKeyFallback?: boolean
|
|
1745
|
-
): string;
|
|
1744
|
+
): string | undefined;
|
|
1746
1745
|
/**
|
|
1747
1746
|
* Gets current value of property {@link #getUseProgressiveDisclosure useProgressiveDisclosure}.
|
|
1748
1747
|
*
|
|
@@ -1899,15 +1898,26 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1899
1898
|
*/
|
|
1900
1899
|
method?: string;
|
|
1901
1900
|
/**
|
|
1902
|
-
* The request parameters
|
|
1903
|
-
*
|
|
1901
|
+
* The request parameters to be sent to the server. They are sent as follows:
|
|
1902
|
+
* - When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
1903
|
+
* object - Sent as part of the URL, appended as key/value pairs in the query string
|
|
1904
|
+
* - FormData - Not sent
|
|
1905
|
+
* - string - Not sent
|
|
1906
|
+
* - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
|
|
1907
|
+
* request body, encoded based on the `Content-Type` header and parameters type:
|
|
1908
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
1904
1909
|
*
|
|
1905
|
-
*
|
|
1906
|
-
*
|
|
1910
|
+
* `application/x-www-form-urlencoded` - Default
|
|
1911
|
+
* - `application/json`
|
|
1912
|
+
* - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
|
|
1913
|
+
* set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
|
|
1914
|
+
* be sent as it is. Added since version 1.130
|
|
1915
|
+
* - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
|
|
1916
|
+
* version 1.138
|
|
1907
1917
|
*/
|
|
1908
|
-
parameters?: object | FormData;
|
|
1918
|
+
parameters?: object | FormData | string;
|
|
1909
1919
|
/**
|
|
1910
|
-
* Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
|
|
1920
|
+
* Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
|
|
1911
1921
|
*/
|
|
1912
1922
|
dataType?: string;
|
|
1913
1923
|
/**
|
|
@@ -2358,12 +2368,11 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2358
2368
|
/**
|
|
2359
2369
|
* Gets translated text from the i18n properties files configured for this card.
|
|
2360
2370
|
*
|
|
2361
|
-
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
2371
|
+
* This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
2362
2372
|
*
|
|
2363
|
-
* @experimental As of version 1.83. The API might change.
|
|
2364
2373
|
*
|
|
2365
|
-
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined`
|
|
2366
|
-
* on `bIgnoreKeyFallback`.
|
|
2374
|
+
* @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
|
|
2375
|
+
* depending on `bIgnoreKeyFallback`.
|
|
2367
2376
|
*/
|
|
2368
2377
|
getTranslatedText(
|
|
2369
2378
|
/**
|
|
@@ -2382,7 +2391,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2382
2391
|
* fallback bundle.
|
|
2383
2392
|
*/
|
|
2384
2393
|
bIgnoreKeyFallback?: boolean
|
|
2385
|
-
): string;
|
|
2394
|
+
): string | undefined;
|
|
2386
2395
|
/**
|
|
2387
2396
|
* Hide the blocking message that is shown in the card by `showBlockingMessage` call.
|
|
2388
2397
|
*
|
|
@@ -2494,15 +2503,26 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2494
2503
|
*/
|
|
2495
2504
|
method?: string;
|
|
2496
2505
|
/**
|
|
2497
|
-
* The request parameters
|
|
2498
|
-
*
|
|
2506
|
+
* The request parameters to be sent to the server. They are sent as follows:
|
|
2507
|
+
* - When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
2508
|
+
* object - Sent as part of the URL, appended as key/value pairs in the query string
|
|
2509
|
+
* - FormData - Not sent
|
|
2510
|
+
* - string - Not sent
|
|
2511
|
+
* - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
|
|
2512
|
+
* request body, encoded based on the `Content-Type` header and parameters type:
|
|
2513
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
2499
2514
|
*
|
|
2500
|
-
*
|
|
2501
|
-
*
|
|
2515
|
+
* `application/x-www-form-urlencoded` - Default
|
|
2516
|
+
* - `application/json`
|
|
2517
|
+
* - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
|
|
2518
|
+
* set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
|
|
2519
|
+
* be sent as it is. Added since version 1.130
|
|
2520
|
+
* - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
|
|
2521
|
+
* version 1.138
|
|
2502
2522
|
*/
|
|
2503
|
-
parameters?: object | FormData;
|
|
2523
|
+
parameters?: object | FormData | string;
|
|
2504
2524
|
/**
|
|
2505
|
-
* Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
|
|
2525
|
+
* Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
|
|
2506
2526
|
*/
|
|
2507
2527
|
dataType?: string;
|
|
2508
2528
|
/**
|
|
@@ -3706,7 +3726,7 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3706
3726
|
*
|
|
3707
3727
|
* @returns Value of property `formatters`
|
|
3708
3728
|
*/
|
|
3709
|
-
getFormatters(): Record<string,
|
|
3729
|
+
getFormatters(): Record<string, Function> | undefined;
|
|
3710
3730
|
/**
|
|
3711
3731
|
* Override this method to lazy load dependencies for the extension.
|
|
3712
3732
|
*
|
package/types/sap.ui.layout.d.ts
CHANGED