@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.
Files changed (65) hide show
  1. package/README.md +4 -1
  2. package/package.json +1 -1
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +60 -25
  8. package/types/sap.f.d.ts +841 -185
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +49 -47
  11. package/types/sap.fe.macros.d.ts +81 -5
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +53 -4
  14. package/types/sap.fe.test.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +9 -1
  17. package/types/sap.insights.d.ts +1 -1
  18. package/types/sap.landvisz.d.ts +1 -1
  19. package/types/sap.m.d.ts +146 -99
  20. package/types/sap.makit.d.ts +1 -1
  21. package/types/sap.me.d.ts +1 -1
  22. package/types/sap.ndc.d.ts +1 -1
  23. package/types/sap.ovp.d.ts +1 -1
  24. package/types/sap.rules.ui.d.ts +1 -1
  25. package/types/sap.sac.df.d.ts +313 -2
  26. package/types/sap.sac.grid.d.ts +1 -1
  27. package/types/sap.suite.ui.commons.d.ts +2 -34
  28. package/types/sap.suite.ui.generic.template.d.ts +17 -2
  29. package/types/sap.suite.ui.microchart.d.ts +1 -1
  30. package/types/sap.tnt.d.ts +1 -1
  31. package/types/sap.ui.codeeditor.d.ts +1 -1
  32. package/types/sap.ui.commons.d.ts +1 -1
  33. package/types/sap.ui.comp.d.ts +61 -1
  34. package/types/sap.ui.core.d.ts +445 -150
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +1 -1
  37. package/types/sap.ui.fl.d.ts +3 -1
  38. package/types/sap.ui.generic.app.d.ts +1 -1
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +195 -23
  41. package/types/sap.ui.layout.d.ts +1 -1
  42. package/types/sap.ui.mdc.d.ts +167 -1
  43. package/types/sap.ui.richtexteditor.d.ts +36 -17
  44. package/types/sap.ui.rta.d.ts +1 -1
  45. package/types/sap.ui.suite.d.ts +1 -1
  46. package/types/sap.ui.support.d.ts +1 -1
  47. package/types/sap.ui.table.d.ts +7 -7
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +1 -1
  50. package/types/sap.ui.ux3.d.ts +1 -1
  51. package/types/sap.ui.vbm.d.ts +1 -1
  52. package/types/sap.ui.vk.d.ts +1 -1
  53. package/types/sap.ui.vtm.d.ts +1 -1
  54. package/types/sap.ui.webc.common.d.ts +1 -1
  55. package/types/sap.ui.webc.fiori.d.ts +1 -1
  56. package/types/sap.ui.webc.main.d.ts +1 -1
  57. package/types/sap.uiext.inbox.d.ts +1 -1
  58. package/types/sap.ushell.d.ts +1 -1
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +33 -1
  61. package/types/sap.viz.d.ts +1 -1
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +1 -1
  64. package/types/sap.zen.crosstab.d.ts +1 -1
  65. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types-esm",
3
- "version": "1.106.0",
3
+ "version": "1.107.0",
4
4
  "description": "SAPUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare module "sap/apf/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare module "sap/ca/ui/library" {
4
4
  export namespace charts {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.1
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare module "sap/collaboration/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
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, Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
384
- * not switchable. Case 2.1, Search in All or other Category (configuration.isUshell !== true): result is
385
- * switchable between different view types. Possible values for the array items are `"searchResultList"`
386
- * and `"searchResultGrid"`. Case 2.2, Search in All or other Category (configuration.isUshell === true):
387
- * result is displayed in a mandatory view type `["searchResultList"]`. Case 3, Search in Business Object:
388
- * result is switchable between different view types. Possible values for the array items are `"searchResultList"`,
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, Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
667
- * not switchable. Case 2.1, Search in All or other Category (configuration.isUshell !== true): result is
668
- * switchable between different view types. Possible values for the array items are `"searchResultList"`
669
- * and `"searchResultGrid"`. Case 2.2, Search in All or other Category (configuration.isUshell === true):
670
- * result is displayed in a mandatory view type `["searchResultList"]`. Case 3, Search in Business Object:
671
- * result is switchable between different view types. Possible values for the array items are `"searchResultList"`,
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, Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
815
- * not switchable. Case 2.1, Search in All or other Category (configuration.isUshell !== true): result is
816
- * switchable between different view types. Possible values for the array items are `"searchResultList"`
817
- * and `"searchResultGrid"`. Case 2.2, Search in All or other Category (configuration.isUshell === true):
818
- * result is displayed in a mandatory view type `["searchResultList"]`. Case 3, Search in Business Object:
819
- * result is switchable between different view types. Possible values for the array items are `"searchResultList"`,
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
  */