@sapui5/ts-types-esm 1.106.0 → 1.107.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/README.md +4 -1
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- 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.esh.search.ui.d.ts +60 -25
- package/types/sap.f.d.ts +841 -185
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +49 -47
- package/types/sap.fe.macros.d.ts +81 -5
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +53 -4
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +9 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +146 -99
- 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 +313 -2
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +2 -34
- package/types/sap.suite.ui.generic.template.d.ts +17 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- 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 +61 -1
- package/types/sap.ui.core.d.ts +445 -150
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -1
- 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 +195 -23
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +167 -1
- package/types/sap.ui.richtexteditor.d.ts +36 -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 +7 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- 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 +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +33 -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/README.md
CHANGED
|
@@ -14,9 +14,10 @@ These two capabilities are available both for SAPUI5 apps written in TypeScript
|
|
|
14
14
|
<b>NOTE:</b> "based on ES modules" means that the code needs to load UI5 modules using the ES6 modules syntax and then needs to be transformed to standard UI5 require/define syntax. Nevertheless, this is the recommended approach!<br>
|
|
15
15
|
See the "Usage" section below for links to detailed documentation about this setup.
|
|
16
16
|
|
|
17
|
-
|
|
18
17
|
## Usage
|
|
19
18
|
|
|
19
|
+
The central entry point for all information about using UI5 with TypeScript (incl. sample apps and templates) is at https://sap.github.io/ui5-typescript.
|
|
20
|
+
|
|
20
21
|
To see the suggested project setup for TypeScript development, please check out the [TypeScript Hello World app](https://github.com/SAP-samples/ui5-typescript-helloworld). It not only can serve as copy template, but also includes a [detailed step-by-step guide](https://github.com/SAP-samples/ui5-typescript-helloworld/blob/main/step-by-step.md) for creating this setup from scratch.
|
|
21
22
|
|
|
22
23
|
The [TypeScript branch of the "UI5 CAP Event App"](https://github.com/SAP-samples/ui5-cap-event-app/tree/typescript) sample demonstrates a slightly more complex application, using the same setup. It comes with an [explanation](https://github.com/SAP-samples/ui5-cap-event-app/blob/typescript/docs/typescript.md) of what UI5 TypeScript code usually looks like and what to consider when writing such code.
|
|
@@ -28,5 +29,7 @@ For quick and easy scaffolding of a new UI5 app written in TypeScript, you can a
|
|
|
28
29
|
This project is in an experimental **_Beta State_**. Significant changes are likely to occur,
|
|
29
30
|
including potential **breaking changes**.
|
|
30
31
|
|
|
32
|
+
For information on changes in the type definitions, in particular ones which require adaptation, please refer to the [Release Notes](https://sap.github.io/ui5-typescript/releasenotes.html).
|
|
33
|
+
|
|
31
34
|
## License
|
|
32
35
|
This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3.1.txt).
|
package/package.json
CHANGED
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.107.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/esh/search/ui/library" {}
|
|
4
4
|
|
|
@@ -303,6 +303,19 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
303
303
|
* @returns Value of property `dataSource`
|
|
304
304
|
*/
|
|
305
305
|
getDataSource(): string;
|
|
306
|
+
/**
|
|
307
|
+
* @SINCE 1.107.0
|
|
308
|
+
*
|
|
309
|
+
* Gets current value of property {@link #getEnableQueryLanguage enableQueryLanguage}.
|
|
310
|
+
*
|
|
311
|
+
* Enables the query language for the hana_odata provider. With query language it is possible for the end
|
|
312
|
+
* user to enter complex search queries with logical operators.
|
|
313
|
+
*
|
|
314
|
+
* Default value is `false`.
|
|
315
|
+
*
|
|
316
|
+
* @returns Value of property `enableQueryLanguage`
|
|
317
|
+
*/
|
|
318
|
+
getEnableQueryLanguage(): boolean;
|
|
306
319
|
/**
|
|
307
320
|
* @SINCE 1.98.0
|
|
308
321
|
*
|
|
@@ -380,14 +393,12 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
380
393
|
* Gets current value of property {@link #getResultViewTypes resultViewTypes}.
|
|
381
394
|
*
|
|
382
395
|
* Defines selectable search result view types. The value can be set/get in attach event "searchFinished".
|
|
383
|
-
* Case 1
|
|
384
|
-
* not switchable. Case 2
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* `"searchResultTable"` and `"searchResultGrid"`. Note: The value of `resultViewTypes` and `resultViewType`
|
|
390
|
-
* must be compatible to each other.
|
|
396
|
+
* Case 1: Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
|
|
397
|
+
* not switchable. Case 2: Search in All or other Category: result is switchable between different view
|
|
398
|
+
* types. Possible values for the array items are `"searchResultList"` and `"searchResultGrid"`. Case 3,
|
|
399
|
+
* Search in Business Object: result is switchable between different view types. Possible values for the
|
|
400
|
+
* array items are `"searchResultList"`, `"searchResultTable"` and `"searchResultGrid"`. Note: The value
|
|
401
|
+
* of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
391
402
|
*
|
|
392
403
|
* Default value is `["searchResultList", "searchResultTable"]`.
|
|
393
404
|
*
|
|
@@ -560,6 +571,26 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
560
571
|
*/
|
|
561
572
|
sDataSource: string
|
|
562
573
|
): this;
|
|
574
|
+
/**
|
|
575
|
+
* @SINCE 1.107.0
|
|
576
|
+
*
|
|
577
|
+
* Sets a new value for property {@link #getEnableQueryLanguage enableQueryLanguage}.
|
|
578
|
+
*
|
|
579
|
+
* Enables the query language for the hana_odata provider. With query language it is possible for the end
|
|
580
|
+
* user to enter complex search queries with logical operators.
|
|
581
|
+
*
|
|
582
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
583
|
+
*
|
|
584
|
+
* Default value is `false`.
|
|
585
|
+
*
|
|
586
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
587
|
+
*/
|
|
588
|
+
setEnableQueryLanguage(
|
|
589
|
+
/**
|
|
590
|
+
* New value for property `enableQueryLanguage`
|
|
591
|
+
*/
|
|
592
|
+
bEnableQueryLanguage?: boolean
|
|
593
|
+
): this;
|
|
563
594
|
/**
|
|
564
595
|
* @SINCE 1.98.0
|
|
565
596
|
*
|
|
@@ -663,14 +694,12 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
663
694
|
* Sets a new value for property {@link #getResultViewTypes resultViewTypes}.
|
|
664
695
|
*
|
|
665
696
|
* Defines selectable search result view types. The value can be set/get in attach event "searchFinished".
|
|
666
|
-
* Case 1
|
|
667
|
-
* not switchable. Case 2
|
|
668
|
-
*
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
* `"searchResultTable"` and `"searchResultGrid"`. Note: The value of `resultViewTypes` and `resultViewType`
|
|
673
|
-
* must be compatible to each other.
|
|
697
|
+
* Case 1: Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
|
|
698
|
+
* not switchable. Case 2: Search in All or other Category: result is switchable between different view
|
|
699
|
+
* types. Possible values for the array items are `"searchResultList"` and `"searchResultGrid"`. Case 3,
|
|
700
|
+
* Search in Business Object: result is switchable between different view types. Possible values for the
|
|
701
|
+
* array items are `"searchResultList"`, `"searchResultTable"` and `"searchResultGrid"`. Note: The value
|
|
702
|
+
* of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
674
703
|
*
|
|
675
704
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
676
705
|
*
|
|
@@ -811,14 +840,12 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
811
840
|
* @SINCE 1.98.0
|
|
812
841
|
*
|
|
813
842
|
* Defines selectable search result view types. The value can be set/get in attach event "searchFinished".
|
|
814
|
-
* Case 1
|
|
815
|
-
* not switchable. Case 2
|
|
816
|
-
*
|
|
817
|
-
*
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
* `"searchResultTable"` and `"searchResultGrid"`. Note: The value of `resultViewTypes` and `resultViewType`
|
|
821
|
-
* must be compatible to each other.
|
|
843
|
+
* Case 1: Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
|
|
844
|
+
* not switchable. Case 2: Search in All or other Category: result is switchable between different view
|
|
845
|
+
* types. Possible values for the array items are `"searchResultList"` and `"searchResultGrid"`. Case 3,
|
|
846
|
+
* Search in Business Object: result is switchable between different view types. Possible values for the
|
|
847
|
+
* array items are `"searchResultList"`, `"searchResultTable"` and `"searchResultGrid"`. Note: The value
|
|
848
|
+
* of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
822
849
|
*/
|
|
823
850
|
resultViewTypes?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
824
851
|
|
|
@@ -895,6 +922,14 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
895
922
|
| PropertyBindingInfo
|
|
896
923
|
| `{${string}}`;
|
|
897
924
|
|
|
925
|
+
/**
|
|
926
|
+
* @SINCE 1.107.0
|
|
927
|
+
*
|
|
928
|
+
* Enables the query language for the hana_odata provider. With query language it is possible for the end
|
|
929
|
+
* user to enter complex search queries with logical operators.
|
|
930
|
+
*/
|
|
931
|
+
enableQueryLanguage?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
932
|
+
|
|
898
933
|
/**
|
|
899
934
|
* Control instances which are part of this composite control.
|
|
900
935
|
*/
|