@sapui5/ts-types 1.136.3 → 1.138.1
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 +263 -63
- 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 +46 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +197 -65
- 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 +1206 -541
- 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 +2 -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 +70 -9
- package/types/sap.ui.core.d.ts +69 -70
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +216 -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-d.ts → sap.ui.mdc.d.ts} +597 -293
- 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 +65 -29
- package/types/sap.ui.vk.d.ts +387 -100
- package/types/sap.ui.vtm.d.ts +7 -4
- 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 +55 -43
- 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,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -564,87 +564,6 @@ declare namespace sap {
|
|
|
564
564
|
* - Suppress worker and run the document generation process in a main thread.
|
|
565
565
|
* - Configure the exported file name.
|
|
566
566
|
*
|
|
567
|
-
* Export settings object: Export settings should be provided in the constructor as an `mSettings` property
|
|
568
|
-
* map with the following fields:
|
|
569
|
-
* - `workbook` - Spreadsheet properties object
|
|
570
|
-
* `workbook.columns` - Array of column configurations. Each column configuration is an object with the
|
|
571
|
-
* following fields:
|
|
572
|
-
* `label` (string) - Column header text
|
|
573
|
-
* - `property` (string) - Field name or Array of field names in the data source feed
|
|
574
|
-
* - `type` (string) - Optional data type of the field. See {@link sap.ui.export.EdmType} for the list
|
|
575
|
-
* of supported types. If this property is omitted, the property is processed as a string field.
|
|
576
|
-
* - `width` (number) - Optional width of the column in characters. There is no 1:1 correspondence between
|
|
577
|
-
* character widths in the exported spreadsheet and CSS units.The width of one character is approximately
|
|
578
|
-
* 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
|
|
579
|
-
* The default value is 10 characters.
|
|
580
|
-
* - `textAlign` (string) - Horizontal alignment of cell contents. The following values of the CSS `text-align`
|
|
581
|
-
* property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
|
|
582
|
-
* aligned based on the property type.
|
|
583
|
-
* - `scale` (number) - Number of digits after decimal point for numeric values
|
|
584
|
-
* - `autoScale` (boolean) - Allows automatic scale assignment based on unit of measure
|
|
585
|
-
* - `delimiter` (boolean) - Set to `true` to display thousands separators in numeric values. The default
|
|
586
|
-
* value is `false`.
|
|
587
|
-
* - `unit` (string) - Text to display as the unit of measurement or currency next to the numeric value.
|
|
588
|
-
* It is treated as a string and has no influence on the value itself. For example, a value of 150 with
|
|
589
|
-
* the unit "%" is still 150 and not 1.5, as a user may expect.
|
|
590
|
-
* - `unitProperty` (string) - Name of the data source field that contains the unit/currency text
|
|
591
|
-
* - `displayUnit` (boolean) - The property applies to currency values only and defines if the currency
|
|
592
|
-
* is shown in the column. The default value is `true`.
|
|
593
|
-
* - `trueValue` (string) - Textual representation of a boolean type that has the value `true`
|
|
594
|
-
* - `falseValue` (string) - Textual representation of a boolean type that has the value `false`
|
|
595
|
-
* - `template` (string) - Formatting template that supports indexed placeholders within curly brackets
|
|
596
|
-
*
|
|
597
|
-
* - `format` (string) - Output format for columns of type Date/DateTime/Time
|
|
598
|
-
* - `inputFormat` (string) - Formatting template for string formatted dates
|
|
599
|
-
* - `utc` (boolean) - Defines whether the `DateTime` is displayed as UTC or local time
|
|
600
|
-
* - `timezone` (string) - Defines a fixed IANA time zone
|
|
601
|
-
* - `timezoneProperty` (string) - References an OData property that contains the specific IANA time zone
|
|
602
|
-
*
|
|
603
|
-
* - `displayTimezone` (boolean) - Defines whether the IANA time zone is displayed within a cell
|
|
604
|
-
* - `valueMap` (string) - Mapping object or Map containing the values that should be mapped to a particular
|
|
605
|
-
* key
|
|
606
|
-
* - `wrap` (boolean) - Indicates if wrapping is enabled for this particular column
|
|
607
|
-
* - `workbook.context` - Context object that will be applied to the generated file. It may contain the
|
|
608
|
-
* following fields:
|
|
609
|
-
* - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
|
|
610
|
-
* - `version` (string) - Application version that creates the XLSX document (default: "${version}")
|
|
611
|
-
* - `title` (string) - Title of the XLSX document (NOT the filename)
|
|
612
|
-
* - `modifiedBy` (string) - User context for the XLSX document
|
|
613
|
-
* - `sheetName` (string) - The label of the data sheet
|
|
614
|
-
* - `metaSheetName` (string) - The label of the metadata sheet. The sheet will not be shown unless metadata
|
|
615
|
-
* entries are provided
|
|
616
|
-
* - `metainfo` (Array) - An Array of metadata groups. Each group has a name property and an items Array
|
|
617
|
-
* which contains key/value pairs
|
|
618
|
-
* - `workbook.hierarchyLevel` - Name of the property that contains the hierarchy level information of
|
|
619
|
-
* each line item
|
|
620
|
-
* - `dataSource` - Source of spreadsheet data. It can be a JSON array with row data, an URL or an OData
|
|
621
|
-
* properties object with the following fields:
|
|
622
|
-
* `type` (string) - Type of the data source. Currently, only OData is supported and the value have to
|
|
623
|
-
* be set to `"odata"`.
|
|
624
|
-
* - `dataUrl` (string) - URL to table data on the server, including all select, filter, and search query
|
|
625
|
-
* parameters
|
|
626
|
-
* - `serviceUrl` (string) - URL to the OData service. The parameter is required for OData batch requests.
|
|
627
|
-
*
|
|
628
|
-
* - `count` (number) - Count of available records on the server
|
|
629
|
-
* - `useBatch` (boolean) - Set to `true` if OData batch requests are used to fetch the spreadsheet data.
|
|
630
|
-
* In this case, `serviceUrl` and `headers` have to be specified, too.
|
|
631
|
-
* - `headers` (object) - Map of HTTP request header properties. They should correspond to the HTTP request
|
|
632
|
-
* headers that are used to obtain table data for display in the browser.
|
|
633
|
-
* - `sizeLimit` (number) - Maximum allowed number of records that can be obtained from the service in
|
|
634
|
-
* a single request
|
|
635
|
-
* - `downloadLimit` (number) - Maximum allowed number of rows that can be exported. If not specified,
|
|
636
|
-
* all rows are exported.
|
|
637
|
-
* - `count` (number) - The maximal number of records to export. If not specified, all data from the data
|
|
638
|
-
* source is fetched.
|
|
639
|
-
* - `worker` (boolean) - Run export process in a worker thread. Set to `false` to disable worker and
|
|
640
|
-
* run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
|
|
641
|
-
* data.
|
|
642
|
-
* **Note:** In case of a strict content security policy, it is not always possible to create an export
|
|
643
|
-
* worker. In this case, export runs in a main thread disregarding the `worker` value.
|
|
644
|
-
* - `fileName` (string) - Optional file name for the exported file. If not specified, the spreadsheet
|
|
645
|
-
* is exported as `export.xlsx`.
|
|
646
|
-
* - `showProgress` (boolean) - Set to `false` to suppress the progress dialog
|
|
647
|
-
*
|
|
648
567
|
* Usage: To start export, create a new `sap.ui.export.Spreadsheet` object and call the `build` method.
|
|
649
568
|
* Column configuration, data source, and export settings must be provided in the constructor. The `build`
|
|
650
569
|
* method opens a progress dialog and starts an asynchronous export process. The export process fetches
|
|
@@ -765,91 +684,7 @@ declare namespace sap {
|
|
|
765
684
|
/**
|
|
766
685
|
* Export settings
|
|
767
686
|
*/
|
|
768
|
-
mSettings:
|
|
769
|
-
/**
|
|
770
|
-
* Spreadsheet properties
|
|
771
|
-
*/
|
|
772
|
-
workbook: {
|
|
773
|
-
/**
|
|
774
|
-
* Column configuration
|
|
775
|
-
*/
|
|
776
|
-
columns: any[];
|
|
777
|
-
/**
|
|
778
|
-
* Export context that will be applied to the exported file
|
|
779
|
-
*/
|
|
780
|
-
context?: {
|
|
781
|
-
/**
|
|
782
|
-
* Application that created this XLSX
|
|
783
|
-
*/
|
|
784
|
-
application?: string;
|
|
785
|
-
/**
|
|
786
|
-
* Application version that was used to create this XLSX
|
|
787
|
-
*/
|
|
788
|
-
version?: string;
|
|
789
|
-
/**
|
|
790
|
-
* Title of the XLSX document (NOT the file name)
|
|
791
|
-
*/
|
|
792
|
-
title?: string;
|
|
793
|
-
/**
|
|
794
|
-
* User context for the exported document
|
|
795
|
-
*/
|
|
796
|
-
modifiedBy?: string;
|
|
797
|
-
/**
|
|
798
|
-
* The name of the data sheet that will be shown in Excel
|
|
799
|
-
*/
|
|
800
|
-
sheetName?: string;
|
|
801
|
-
/**
|
|
802
|
-
* The name of the metadata sheet that will be shown in Excel
|
|
803
|
-
*/
|
|
804
|
-
metaSheetName?: string;
|
|
805
|
-
/**
|
|
806
|
-
* Optional Metadata that will be displayed in the additional Metadata Sheet
|
|
807
|
-
*/
|
|
808
|
-
metainfo?: any[];
|
|
809
|
-
};
|
|
810
|
-
/**
|
|
811
|
-
* Optional name of the property that contains hierarchy level information
|
|
812
|
-
*/
|
|
813
|
-
hierarchyLevel?: string;
|
|
814
|
-
};
|
|
815
|
-
/**
|
|
816
|
-
* Source of spreadsheet data. A JSON array, data source properties map, `sap.ui.model.ListBinding`, `sap.ui.model.TreeBinding`
|
|
817
|
-
* or URL to an OData source can be provided. For example, `"someUrl"` is an equivalent to `{dataUrl:"someUrl",
|
|
818
|
-
* type:"OData"}`. An instance of `sap.ui.model.ListBinding` or `sap.ui.model.TreeBinding` either has to
|
|
819
|
-
* implement a `#getDownloadUrl` function or needs to be a ClientListBinding. **Note:** `sap.ui.model.ClientTreeBinding`
|
|
820
|
-
* is not supported.
|
|
821
|
-
*/
|
|
822
|
-
dataSource:
|
|
823
|
-
| string
|
|
824
|
-
| {
|
|
825
|
-
/**
|
|
826
|
-
* Maximal allowed number of records that can be obtained from the service in a single request
|
|
827
|
-
*/
|
|
828
|
-
sizeLimit: int;
|
|
829
|
-
}
|
|
830
|
-
| any[]
|
|
831
|
-
| sap.ui.model.ListBinding
|
|
832
|
-
| sap.ui.model.TreeBinding;
|
|
833
|
-
/**
|
|
834
|
-
* The maximal number of records to export
|
|
835
|
-
*/
|
|
836
|
-
count?: int;
|
|
837
|
-
/**
|
|
838
|
-
* Run export process in a worker thread. Set to `false` to disable worker and run export in a main thread.
|
|
839
|
-
* This is needed, for example, if a mock server is used to provide spreadsheet data.
|
|
840
|
-
* **Note:** In case of a strict content security policy, it is not always possible to create an export
|
|
841
|
-
* worker. In this case, export runs in a main thread disregarding the `worker` value.
|
|
842
|
-
*/
|
|
843
|
-
worker?: boolean;
|
|
844
|
-
/**
|
|
845
|
-
* Optional file name for the exported file
|
|
846
|
-
*/
|
|
847
|
-
fileName?: string;
|
|
848
|
-
/**
|
|
849
|
-
* Set to `false` to suppress the progress dialog
|
|
850
|
-
*/
|
|
851
|
-
showProgress?: boolean;
|
|
852
|
-
}
|
|
687
|
+
mSettings: sap.ui.export.SpreadsheetSettings
|
|
853
688
|
);
|
|
854
689
|
|
|
855
690
|
/**
|
|
@@ -1035,6 +870,220 @@ declare namespace sap {
|
|
|
1035
870
|
*/
|
|
1036
871
|
XLSX = "XLSX",
|
|
1037
872
|
}
|
|
873
|
+
|
|
874
|
+
type Column = {
|
|
875
|
+
/**
|
|
876
|
+
* Column header text.
|
|
877
|
+
*/
|
|
878
|
+
label?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Field name or array of field names in the data source feed.
|
|
881
|
+
*/
|
|
882
|
+
property?: string | string[];
|
|
883
|
+
/**
|
|
884
|
+
* Data type of the field.
|
|
885
|
+
*/
|
|
886
|
+
type?: sap.ui.export.EdmType;
|
|
887
|
+
/**
|
|
888
|
+
* Width of the column in characters. There is no 1:1 correspondence between character widths in the exported
|
|
889
|
+
* spreadsheet and CSS units. The width of one character is approximately 0.5em in CSS units, depending
|
|
890
|
+
* on the fonts that are used in the table and in the resulting spreadsheet.
|
|
891
|
+
*/
|
|
892
|
+
width?: number;
|
|
893
|
+
/**
|
|
894
|
+
* Horizontal alignment of cell contents. Accepted values: `left`, `right`, `center`, `begin`, `end`. If
|
|
895
|
+
* not specified, the columns are aligned based on the type.
|
|
896
|
+
*/
|
|
897
|
+
textAlign?: string;
|
|
898
|
+
/**
|
|
899
|
+
* Number of digits after the decimal point for numeric values.
|
|
900
|
+
*/
|
|
901
|
+
scale?: number;
|
|
902
|
+
/**
|
|
903
|
+
* Allows automatic scale assignment based on unit of measure.
|
|
904
|
+
*/
|
|
905
|
+
autoScale?: boolean;
|
|
906
|
+
/**
|
|
907
|
+
* Whether to display thousands separators in numeric values.
|
|
908
|
+
*/
|
|
909
|
+
delimiter?: boolean;
|
|
910
|
+
/**
|
|
911
|
+
* Text to display as the unit of measurement or currency next to the numeric value. It is treated as a
|
|
912
|
+
* string and has no influence on the value itself. For example, a value of 150 with the unit "%" is still
|
|
913
|
+
* 150 and not 1.5, as a user may expect.
|
|
914
|
+
*/
|
|
915
|
+
unit?: string;
|
|
916
|
+
/**
|
|
917
|
+
* Name of the data source field that contains the unit/currency text.
|
|
918
|
+
*/
|
|
919
|
+
unitProperty?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Defines if the currency is shown in the column (applies to currency values only).
|
|
922
|
+
*/
|
|
923
|
+
displayUnit?: boolean;
|
|
924
|
+
/**
|
|
925
|
+
* Textual representation of a boolean type that has the value `true`.
|
|
926
|
+
*/
|
|
927
|
+
trueValue?: string;
|
|
928
|
+
/**
|
|
929
|
+
* Textual representation of a boolean type that has the value `false`.
|
|
930
|
+
*/
|
|
931
|
+
falseValue?: string;
|
|
932
|
+
/**
|
|
933
|
+
* Formatting template that supports indexed placeholders within curly brackets.
|
|
934
|
+
*/
|
|
935
|
+
template?: string;
|
|
936
|
+
/**
|
|
937
|
+
* Output format for columns of type Date/DateTime/Time.
|
|
938
|
+
*/
|
|
939
|
+
format?: string;
|
|
940
|
+
/**
|
|
941
|
+
* Formatting template for string-formatted dates.
|
|
942
|
+
*/
|
|
943
|
+
inputFormat?: string;
|
|
944
|
+
/**
|
|
945
|
+
* Whether the `DateTime` is displayed as UTC or local time.
|
|
946
|
+
*/
|
|
947
|
+
utc?: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* Defines a fixed IANA time zone.
|
|
950
|
+
*/
|
|
951
|
+
timezone?: string;
|
|
952
|
+
/**
|
|
953
|
+
* References an OData property that contains the specific IANA time zone.
|
|
954
|
+
*/
|
|
955
|
+
timezoneProperty?: string;
|
|
956
|
+
/**
|
|
957
|
+
* Whether the IANA time zone is displayed within a cell.
|
|
958
|
+
*/
|
|
959
|
+
displayTimezone?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* Mapping object or Map containing the values that should be mapped to a particular key.
|
|
962
|
+
*/
|
|
963
|
+
valueMap?: object;
|
|
964
|
+
/**
|
|
965
|
+
* Indicates if wrapping is enabled for this particular column.
|
|
966
|
+
*/
|
|
967
|
+
wrap?: boolean;
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
type SpreadsheetSettings = {
|
|
971
|
+
/**
|
|
972
|
+
* Spreadsheet properties object.
|
|
973
|
+
*/
|
|
974
|
+
workbook: {
|
|
975
|
+
/**
|
|
976
|
+
* Column configurations.
|
|
977
|
+
*/
|
|
978
|
+
columns: sap.ui.export.Column[];
|
|
979
|
+
/**
|
|
980
|
+
* Export context that will be applied to the exported file.
|
|
981
|
+
*/
|
|
982
|
+
context?: {
|
|
983
|
+
/**
|
|
984
|
+
* The application that creates the XLSX document.
|
|
985
|
+
*/
|
|
986
|
+
application?: string;
|
|
987
|
+
/**
|
|
988
|
+
* Application version that creates the XLSX document.
|
|
989
|
+
*/
|
|
990
|
+
version?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Title of the XLSX document (NOT the file name).
|
|
993
|
+
*/
|
|
994
|
+
title?: string;
|
|
995
|
+
/**
|
|
996
|
+
* User context for the XLSX document.
|
|
997
|
+
*/
|
|
998
|
+
modifiedBy?: string;
|
|
999
|
+
/**
|
|
1000
|
+
* The label of the data sheet.
|
|
1001
|
+
*/
|
|
1002
|
+
sheetName?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* The label of the metadata sheet. The sheet will not be shown unless metadata entries are provided
|
|
1005
|
+
*/
|
|
1006
|
+
metaSheetName?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Metadata groups with key/value pairs.
|
|
1009
|
+
*/
|
|
1010
|
+
metainfo?: Array<{
|
|
1011
|
+
name: string;
|
|
1012
|
+
|
|
1013
|
+
items: Array<{
|
|
1014
|
+
key: string;
|
|
1015
|
+
|
|
1016
|
+
value: string;
|
|
1017
|
+
}>;
|
|
1018
|
+
}>;
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* Name of the property that contains hierarchy level information.
|
|
1022
|
+
*/
|
|
1023
|
+
hierarchyLevel?: string;
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Source of spreadsheet data. Can be an array with row data, an URL, a binding instance, or an OData properties
|
|
1027
|
+
* object.
|
|
1028
|
+
*/
|
|
1029
|
+
dataSource:
|
|
1030
|
+
| string
|
|
1031
|
+
| {
|
|
1032
|
+
/**
|
|
1033
|
+
* Type of the data source. Currently, only OData is supported and the value has to be set to "odata".
|
|
1034
|
+
*/
|
|
1035
|
+
type: "odata";
|
|
1036
|
+
/**
|
|
1037
|
+
* URL to table data on the server, including all select, filter, and search query parameters.
|
|
1038
|
+
*/
|
|
1039
|
+
dataUrl: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* URL to the OData service. Required for OData batch requests.
|
|
1042
|
+
*/
|
|
1043
|
+
serviceUrl?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Count of available records on the server.
|
|
1046
|
+
*/
|
|
1047
|
+
count?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* Whether batch requests are used to fetch the spreadsheet data. In this case, `serviceUrl` and `headers`
|
|
1050
|
+
* have to be specified, too.
|
|
1051
|
+
*/
|
|
1052
|
+
useBatch?: boolean;
|
|
1053
|
+
/**
|
|
1054
|
+
* Map of HTTP request header properties.
|
|
1055
|
+
*/
|
|
1056
|
+
headers?: Record<string, string>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Maximum allowed number of records that can be obtained from the service in a single request.
|
|
1059
|
+
*/
|
|
1060
|
+
sizeLimit?: number;
|
|
1061
|
+
/**
|
|
1062
|
+
* Maximum allowed number of rows that can be exported. If not specified, all rows are exported.
|
|
1063
|
+
*/
|
|
1064
|
+
downloadLimit?: number;
|
|
1065
|
+
}
|
|
1066
|
+
| any[]
|
|
1067
|
+
| sap.ui.model.ListBinding
|
|
1068
|
+
| sap.ui.model.TreeBinding;
|
|
1069
|
+
/**
|
|
1070
|
+
* The maximal number of records to export. If not specified, all data from the data source is fetched.
|
|
1071
|
+
*/
|
|
1072
|
+
count?: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* Whether to run the export process in a worker or the main thread.
|
|
1075
|
+
*/
|
|
1076
|
+
worker?: boolean;
|
|
1077
|
+
/**
|
|
1078
|
+
* File name for the exported file.
|
|
1079
|
+
*/
|
|
1080
|
+
fileName?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Whether to show the progress dialog.
|
|
1083
|
+
*/
|
|
1084
|
+
showProgress?: boolean;
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1038
1087
|
/**
|
|
1039
1088
|
* Event object of the ExportBase#beforeExport event.
|
|
1040
1089
|
*/
|
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 namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -1456,8 +1456,6 @@ declare namespace sap {
|
|
|
1456
1456
|
|
|
1457
1457
|
"sap/ui/fl/changeHandler/BaseRename": undefined;
|
|
1458
1458
|
|
|
1459
|
-
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
1460
|
-
|
|
1461
1459
|
"sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
|
|
1462
1460
|
|
|
1463
1461
|
"sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
|
|
@@ -1466,8 +1464,6 @@ declare namespace sap {
|
|
|
1466
1464
|
|
|
1467
1465
|
"sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory": undefined;
|
|
1468
1466
|
|
|
1469
|
-
"sap/ui/fl/FlexControllerFactory": undefined;
|
|
1470
|
-
|
|
1471
1467
|
"sap/ui/fl/initial/_internal/connectors/BackendConnector": undefined;
|
|
1472
1468
|
|
|
1473
1469
|
"sap/ui/fl/initial/_internal/connectors/BtpServiceConnector": undefined;
|
|
@@ -1484,6 +1480,8 @@ declare namespace sap {
|
|
|
1484
1480
|
|
|
1485
1481
|
"sap/ui/fl/initial/_internal/connectors/Utils": undefined;
|
|
1486
1482
|
|
|
1483
|
+
"sap/ui/fl/initial/_internal/Settings": undefined;
|
|
1484
|
+
|
|
1487
1485
|
"sap/ui/fl/initial/_internal/Storage": undefined;
|
|
1488
1486
|
|
|
1489
1487
|
"sap/ui/fl/initial/_internal/StorageUtils": undefined;
|
|
@@ -1496,8 +1494,6 @@ declare namespace sap {
|
|
|
1496
1494
|
|
|
1497
1495
|
"sap/ui/fl/library": undefined;
|
|
1498
1496
|
|
|
1499
|
-
"sap/ui/fl/registry/Settings": undefined;
|
|
1500
|
-
|
|
1501
1497
|
"sap/ui/fl/support/_internal/getAllUIChanges": undefined;
|
|
1502
1498
|
|
|
1503
1499
|
"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 namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -495,12 +495,11 @@ declare namespace sap {
|
|
|
495
495
|
/**
|
|
496
496
|
* Gets translated text from the i18n properties files configured for this card.
|
|
497
497
|
*
|
|
498
|
-
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
498
|
+
* This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
499
499
|
*
|
|
500
|
-
* @experimental As of version 1.83. The API might change.
|
|
501
500
|
*
|
|
502
|
-
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined`
|
|
503
|
-
* on `bIgnoreKeyFallback`.
|
|
501
|
+
* @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
|
|
502
|
+
* depending on `bIgnoreKeyFallback`.
|
|
504
503
|
*/
|
|
505
504
|
getTranslatedText(
|
|
506
505
|
/**
|
|
@@ -519,7 +518,7 @@ declare namespace sap {
|
|
|
519
518
|
* fallback bundle.
|
|
520
519
|
*/
|
|
521
520
|
bIgnoreKeyFallback?: boolean
|
|
522
|
-
): string;
|
|
521
|
+
): string | undefined;
|
|
523
522
|
/**
|
|
524
523
|
* Hide the blocking message that is shown in the card by `showBlockingMessage` call.
|
|
525
524
|
*
|
|
@@ -634,15 +633,26 @@ declare namespace sap {
|
|
|
634
633
|
*/
|
|
635
634
|
method?: string;
|
|
636
635
|
/**
|
|
637
|
-
* The request parameters
|
|
638
|
-
*
|
|
636
|
+
* The request parameters to be sent to the server. They are sent as follows:
|
|
637
|
+
* - When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
638
|
+
* object - Sent as part of the URL, appended as key/value pairs in the query string
|
|
639
|
+
* - FormData - Not sent
|
|
640
|
+
* - string - Not sent
|
|
641
|
+
* - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
|
|
642
|
+
* request body, encoded based on the `Content-Type` header and parameters type:
|
|
643
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
639
644
|
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
645
|
+
* `application/x-www-form-urlencoded` - Default
|
|
646
|
+
* - `application/json`
|
|
647
|
+
* - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
|
|
648
|
+
* set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
|
|
649
|
+
* be sent as it is. Added since version 1.130
|
|
650
|
+
* - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
|
|
651
|
+
* version 1.138
|
|
642
652
|
*/
|
|
643
|
-
parameters?: object | FormData;
|
|
653
|
+
parameters?: object | FormData | string;
|
|
644
654
|
/**
|
|
645
|
-
* Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
|
|
655
|
+
* Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
|
|
646
656
|
*/
|
|
647
657
|
dataType?: string;
|
|
648
658
|
/**
|
|
@@ -1779,12 +1789,11 @@ declare namespace sap {
|
|
|
1779
1789
|
/**
|
|
1780
1790
|
* Gets translated text from the i18n properties files configured for this card.
|
|
1781
1791
|
*
|
|
1782
|
-
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1792
|
+
* This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1783
1793
|
*
|
|
1784
|
-
* @experimental As of version 1.83. The API might change.
|
|
1785
1794
|
*
|
|
1786
|
-
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined`
|
|
1787
|
-
* on `bIgnoreKeyFallback`.
|
|
1795
|
+
* @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
|
|
1796
|
+
* depending on `bIgnoreKeyFallback`.
|
|
1788
1797
|
*/
|
|
1789
1798
|
getTranslatedText(
|
|
1790
1799
|
/**
|
|
@@ -1803,7 +1812,7 @@ declare namespace sap {
|
|
|
1803
1812
|
* fallback bundle.
|
|
1804
1813
|
*/
|
|
1805
1814
|
bIgnoreKeyFallback?: boolean
|
|
1806
|
-
): string;
|
|
1815
|
+
): string | undefined;
|
|
1807
1816
|
/**
|
|
1808
1817
|
* Gets current value of property {@link #getUseProgressiveDisclosure useProgressiveDisclosure}.
|
|
1809
1818
|
*
|
|
@@ -1963,15 +1972,26 @@ declare namespace sap {
|
|
|
1963
1972
|
*/
|
|
1964
1973
|
method?: string;
|
|
1965
1974
|
/**
|
|
1966
|
-
* The request parameters
|
|
1967
|
-
*
|
|
1975
|
+
* The request parameters to be sent to the server. They are sent as follows:
|
|
1976
|
+
* - When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
1977
|
+
* object - Sent as part of the URL, appended as key/value pairs in the query string
|
|
1978
|
+
* - FormData - Not sent
|
|
1979
|
+
* - string - Not sent
|
|
1980
|
+
* - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
|
|
1981
|
+
* request body, encoded based on the `Content-Type` header and parameters type:
|
|
1982
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
1968
1983
|
*
|
|
1969
|
-
*
|
|
1970
|
-
*
|
|
1984
|
+
* `application/x-www-form-urlencoded` - Default
|
|
1985
|
+
* - `application/json`
|
|
1986
|
+
* - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
|
|
1987
|
+
* set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
|
|
1988
|
+
* be sent as it is. Added since version 1.130
|
|
1989
|
+
* - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
|
|
1990
|
+
* version 1.138
|
|
1971
1991
|
*/
|
|
1972
|
-
parameters?: object | FormData;
|
|
1992
|
+
parameters?: object | FormData | string;
|
|
1973
1993
|
/**
|
|
1974
|
-
* Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
|
|
1994
|
+
* Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
|
|
1975
1995
|
*/
|
|
1976
1996
|
dataType?: string;
|
|
1977
1997
|
/**
|
|
@@ -3513,7 +3533,7 @@ declare namespace sap {
|
|
|
3513
3533
|
*
|
|
3514
3534
|
* @returns Value of property `formatters`
|
|
3515
3535
|
*/
|
|
3516
|
-
getFormatters(): Record<string,
|
|
3536
|
+
getFormatters(): Record<string, Function> | undefined;
|
|
3517
3537
|
/**
|
|
3518
3538
|
* Override this method to lazy load dependencies for the extension.
|
|
3519
3539
|
*
|
package/types/sap.ui.layout.d.ts
CHANGED