@sapui5/ts-types-esm 1.110.1 → 1.111.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 (63) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +9 -9
  3. package/types/sap.ca.ui.d.ts +13 -30
  4. package/types/sap.chart.d.ts +1 -47
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +35 -1
  7. package/types/sap.f.d.ts +8 -11
  8. package/types/sap.fe.core.d.ts +47 -51
  9. package/types/sap.fe.macros.d.ts +164 -78
  10. package/types/sap.fe.navigation.d.ts +21 -53
  11. package/types/sap.fe.templates.d.ts +13 -13
  12. package/types/sap.fe.test.d.ts +63 -3
  13. package/types/sap.feedback.ui.d.ts +1 -1
  14. package/types/sap.gantt.d.ts +42 -597
  15. package/types/sap.insights.d.ts +1 -1
  16. package/types/sap.landvisz.d.ts +1 -1
  17. package/types/sap.m.d.ts +1019 -663
  18. package/types/sap.makit.d.ts +1 -1
  19. package/types/sap.me.d.ts +1 -1
  20. package/types/sap.ndc.d.ts +1 -1
  21. package/types/sap.ovp.d.ts +5 -22
  22. package/types/sap.rules.ui.d.ts +1 -1
  23. package/types/sap.sac.df.d.ts +32 -1
  24. package/types/sap.sac.grid.d.ts +1 -1
  25. package/types/sap.suite.ui.commons.d.ts +64 -2
  26. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/sap.tnt.d.ts +1 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +13 -15
  32. package/types/sap.ui.core.d.ts +1426 -978
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +5 -1
  35. package/types/sap.ui.fl.d.ts +1 -1
  36. package/types/sap.ui.generic.app.d.ts +9 -13
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +3 -8
  39. package/types/sap.ui.layout.d.ts +4 -4
  40. package/types/sap.ui.mdc.d.ts +33 -34
  41. package/types/sap.ui.richtexteditor.d.ts +8 -8
  42. package/types/sap.ui.rta.d.ts +1 -1
  43. package/types/sap.ui.suite.d.ts +1 -1
  44. package/types/sap.ui.support.d.ts +1 -1
  45. package/types/sap.ui.table.d.ts +4 -4
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +76 -21
  48. package/types/sap.ui.ux3.d.ts +20 -26
  49. package/types/sap.ui.vbm.d.ts +1 -1
  50. package/types/sap.ui.vk.d.ts +52 -17
  51. package/types/sap.ui.vtm.d.ts +66 -98
  52. package/types/sap.ui.webc.common.d.ts +1 -1
  53. package/types/sap.ui.webc.fiori.d.ts +1 -1
  54. package/types/sap.ui.webc.main.d.ts +1 -1
  55. package/types/sap.uiext.inbox.d.ts +1 -1
  56. package/types/sap.ushell.d.ts +12 -8
  57. package/types/sap.ushell_abap.d.ts +1 -1
  58. package/types/sap.uxap.d.ts +1 -1
  59. package/types/sap.viz.d.ts +1 -1
  60. package/types/sap.webanalytics.core.d.ts +1 -1
  61. package/types/sap.zen.commons.d.ts +1 -1
  62. package/types/sap.zen.crosstab.d.ts +1 -1
  63. package/types/sap.zen.dsh.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types-esm",
3
- "version": "1.110.1",
3
+ "version": "1.111.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,6 +1,13 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
- declare module "sap/apf/library" {}
3
+ declare module "sap/apf/library" {
4
+ /**
5
+ * @deprecated (since 1.23.1) - Use sap.apf.core.constants instead.
6
+ *
7
+ * Constants to be used by APF consumers.
8
+ */
9
+ export const constants: Object;
10
+ }
4
11
 
5
12
  declare module "sap/apf/api" {
6
13
  import MessageObject from "sap/apf/core/messageObject";
@@ -619,13 +626,6 @@ declare namespace sap {
619
626
  * Analysis Path Framework
620
627
  */
621
628
  namespace apf {
622
- /**
623
- * @deprecated (since 1.23.1) - Use sap.apf.core.constants instead.
624
- *
625
- * Constants to be used by APF consumers.
626
- */
627
- export const constants: Object;
628
-
629
629
  namespace core {
630
630
  /**
631
631
  * Facade for sap.apf.core.Request for getting data via the OData protocol. This corresponds to a normal
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare module "sap/ca/ui/library" {
4
4
  export namespace charts {
@@ -137,18 +137,6 @@ declare module "sap/ca/ui/library" {
137
137
  NeutralLight = "NeutralLight",
138
138
  }
139
139
  }
140
-
141
- export namespace model {
142
- namespace format {
143
- /**
144
- * @deprecated (since 1.28) - This control has been made available in sap.ui.core. Please use classes from
145
- * package {@link sap.ui.core.format} instead! This control will not be supported anymore.
146
- *
147
- * Constructor for FormattingLibrary
148
- */
149
- export const FormattingLibrary: undefined;
150
- }
151
- }
152
140
  }
153
141
 
154
142
  declare module "sap/ca/ui/AddPicture" {
@@ -10616,6 +10604,18 @@ declare module "sap/ca/ui/InPlaceEdit" {
10616
10604
  }
10617
10605
  }
10618
10606
 
10607
+ declare module "sap/ca/ui/model/format/FormattingLibrary" {
10608
+ /**
10609
+ * @deprecated (since 1.28) - This control has been made available in sap.ui.core. Please use classes from
10610
+ * package {@link sap.ui.core.format} instead! This control will not be supported anymore.
10611
+ *
10612
+ * Constructor for FormattingLibrary
10613
+ */
10614
+ const FormattingLibrary: undefined;
10615
+
10616
+ export default FormattingLibrary;
10617
+ }
10618
+
10619
10619
  declare module "sap/ca/ui/model/format/AmountFormat" {
10620
10620
  import Locale from "sap/ui/core/Locale";
10621
10621
 
@@ -13853,23 +13853,6 @@ declare namespace sap {
13853
13853
  */
13854
13854
  enum Type {}
13855
13855
  }
13856
- /**
13857
- * @deprecated (since 1.28)
13858
- */
13859
- namespace model {
13860
- /**
13861
- * @deprecated (since 1.28) - Please refer to the individual formatters to learn about their replacement.
13862
- */
13863
- namespace format {
13864
- /**
13865
- * @deprecated (since 1.28) - This control has been made available in sap.ui.core. Please use classes from
13866
- * package {@link sap.ui.core.format} instead! This control will not be supported anymore.
13867
- *
13868
- * Constructor for FormattingLibrary
13869
- */
13870
- export const FormattingLibrary: undefined;
13871
- }
13872
- }
13873
13856
  }
13874
13857
  }
13875
13858
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
@@ -4767,52 +4767,6 @@ declare module "sap/chart/TimeUnitType" {
4767
4767
  }
4768
4768
 
4769
4769
  declare namespace sap {
4770
- /**
4771
- * Chart controls based on Vizframe
4772
- */
4773
- namespace chart {
4774
- /**
4775
- * Package with additional chart APIs.
4776
- */
4777
- namespace api {
4778
- /**
4779
- * Get the Dimensions and Measures layout for a certain ChartType with provided Dimensions and Measures.
4780
- *
4781
- * @returns the chart layout object of the following form:
4782
- * ```javascript
4783
- *
4784
- * {
4785
- * dimensions: [], // names of dimensions that will be rendered
4786
- * measures: [], // names of measures that will be rendered
4787
- * errors: [], // reasons of why the chart cannot be rendered with the given (chartType, dimensions, measures) combination
4788
- * }
4789
- * ```
4790
- */
4791
- function getChartTypeLayout(
4792
- /**
4793
- * chart type
4794
- */
4795
- sChartType: string,
4796
- /**
4797
- * visible Dimensions of the form {name: sName} or {@link sap.chart.data.Dimension} instance.
4798
- */
4799
- aDimensions:
4800
- | object[]
4801
- | Array<import("sap/chart/data/Dimension").default>,
4802
- /**
4803
- * visible Measures of the form {name: sName} or {@link sap.chart.data.Measure} instance.
4804
- */
4805
- aMeasures: object[] | Array<import("sap/chart/data/Measure").default>
4806
- ): object;
4807
- /**
4808
- * Returns all chart types currently supported by chart control (subset of viz types).
4809
- *
4810
- * @returns a map with chartType as key, localized chart name as value.
4811
- */
4812
- function getChartTypes(): object;
4813
- }
4814
- }
4815
-
4816
4770
  interface IUI5DefineDependencyNames {
4817
4771
  "sap/chart/AutoScaleMode": undefined;
4818
4772
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare module "sap/collaboration/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare module "sap/esh/search/ui/library" {}
4
4
 
@@ -399,6 +399,16 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
399
399
  * @returns Value of property `getCustomNoResultScreen`
400
400
  */
401
401
  getGetCustomNoResultScreen(): Function;
402
+ /**
403
+ * @SINCE 1.111.0
404
+ *
405
+ * Gets current value of property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
406
+ *
407
+ * The layout is optimized for object selection / value help (narrow view w/o facet panel).
408
+ *
409
+ * @returns Value of property `optimizeForValueHelp`
410
+ */
411
+ getOptimizeForValueHelp(): boolean;
402
412
  /**
403
413
  * @SINCE 1.93.0
404
414
  *
@@ -774,6 +784,23 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
774
784
  */
775
785
  fnGetCustomNoResultScreen: Function
776
786
  ): this;
787
+ /**
788
+ * @SINCE 1.111.0
789
+ *
790
+ * Sets a new value for property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
791
+ *
792
+ * The layout is optimized for object selection / value help (narrow view w/o facet panel).
793
+ *
794
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
795
+ *
796
+ * @returns Reference to `this` in order to allow method chaining
797
+ */
798
+ setOptimizeForValueHelp(
799
+ /**
800
+ * New value for property `optimizeForValueHelp`
801
+ */
802
+ bOptimizeForValueHelp: boolean
803
+ ): this;
777
804
  /**
778
805
  * @SINCE 1.93.0
779
806
  *
@@ -1121,6 +1148,13 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1121
1148
  */
1122
1149
  defaultDataSource?: string | PropertyBindingInfo;
1123
1150
 
1151
+ /**
1152
+ * @SINCE 1.111.0
1153
+ *
1154
+ * The layout is optimized for object selection / value help (narrow view w/o facet panel).
1155
+ */
1156
+ optimizeForValueHelp?: boolean | PropertyBindingInfo | `{${string}}`;
1157
+
1124
1158
  /**
1125
1159
  * Control instances which are part of this composite control.
1126
1160
  */
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.110.0
1
+ // For Library Version: 1.111.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -3294,8 +3294,7 @@ declare module "sap/f/dnd/GridDropInfo" {
3294
3294
  rows: int;
3295
3295
 
3296
3296
  columns: int;
3297
- })
3298
- | null
3297
+ } | null)
3299
3298
  | undefined;
3300
3299
  /**
3301
3300
  * Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
@@ -3319,15 +3318,13 @@ declare module "sap/f/dnd/GridDropInfo" {
3319
3318
  /**
3320
3319
  * New value for property `dropIndicatorSize`
3321
3320
  */
3322
- fnDropIndicatorSize?:
3323
- | ((
3324
- p1: Control
3325
- ) => {
3326
- rows: int;
3321
+ fnDropIndicatorSize?: (
3322
+ p1: Control
3323
+ ) => {
3324
+ rows: int;
3327
3325
 
3328
- columns: int;
3329
- })
3330
- | null
3326
+ columns: int;
3327
+ } | null
3331
3328
  ): this;
3332
3329
  }
3333
3330
 
@@ -1,26 +1,4 @@
1
- // For Library Version: 1.110.1
2
-
3
- declare module "sap/fe/core/library" {
4
- /**
5
- * @SINCE 1.86.0
6
- *
7
- * Possible initial load (first app startup) modes for a ListReport.
8
- */
9
- export enum InitialLoadMode {
10
- /**
11
- * Data will be loaded initially if filters are set.
12
- */
13
- Auto = "undefined",
14
- /**
15
- * Data will not be loaded initially.
16
- */
17
- Disabled = "undefined",
18
- /**
19
- * Data will be loaded initially.
20
- */
21
- Enabled = "undefined",
22
- }
23
- }
1
+ // For Library Version: 1.111.0
24
2
 
25
3
  declare module "sap/fe/core/AppComponent" {
26
4
  import {
@@ -197,7 +175,7 @@ declare module "sap/fe/core/ExtensionAPI" {
197
175
  * Name of the model
198
176
  */
199
177
  sModelName?: string
200
- ): undefined | Model;
178
+ ): Model | undefined;
201
179
  /**
202
180
  * Retrieves the routing controller extension for this page.
203
181
  *
@@ -264,7 +242,7 @@ declare module "sap/fe/core/ExtensionAPI" {
264
242
  *
265
243
  * @returns A promise that resolves with the new app state object.
266
244
  */
267
- updateAppState(): Promise<void | object>;
245
+ updateAppState(): Promise<object | void>;
268
246
  }
269
247
  }
270
248
 
@@ -336,10 +314,10 @@ declare module "sap/fe/core/PageController" {
336
314
  declare module "sap/fe/core/controllerextensions/EditFlow" {
337
315
  import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
338
316
 
339
- import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
340
-
341
317
  import Context from "sap/ui/model/odata/v4/Context";
342
318
 
319
+ import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
320
+
343
321
  import ODataModel from "sap/ui/model/odata/v4/ODataModel";
344
322
 
345
323
  /**
@@ -374,7 +352,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
374
352
  /**
375
353
  * Context of the editable document
376
354
  */
377
- oContext: /* was: sap.fe.core.V4Context */ any,
355
+ oContext: Context,
378
356
  /**
379
357
  * Can contain the following attributes:
380
358
  */
@@ -400,7 +378,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
400
378
  /**
401
379
  * ODataListBinding object or the binding path for a temporary list binding
402
380
  */
403
- vListBinding: string | ODataListBinding,
381
+ vListBinding: ODataListBinding | string,
404
382
  /**
405
383
  * Contains the following attributes:
406
384
  */
@@ -462,7 +440,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
462
440
  /**
463
441
  * Context of the active document
464
442
  */
465
- oContext: /* was: sap.fe.core.V4Context */ any
443
+ oContext: Context
466
444
  ): Promise<void>;
467
445
  /**
468
446
  * @SINCE 1.90.0
@@ -542,7 +520,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
542
520
  /**
543
521
  * Object containing the parameters passed to onBeforeCreate
544
522
  */
545
- mParameters?: {
523
+ _mParameters?: {
546
524
  /**
547
525
  * Path pointing to the context on which Create action is triggered
548
526
  */
@@ -570,7 +548,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
570
548
  /**
571
549
  * Object containing the parameters passed to onBeforeDelete
572
550
  */
573
- mParameters?: {
551
+ _mParameters?: {
574
552
  /**
575
553
  * An array of contexts that are going to be deleted
576
554
  */
@@ -594,7 +572,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
594
572
  /**
595
573
  * Object containing the parameters passed to onBeforeDiscard
596
574
  */
597
- mParameters?: {
575
+ _mParameters?: {
598
576
  /**
599
577
  * Page context that is going to be discarded.
600
578
  */
@@ -618,7 +596,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
618
596
  /**
619
597
  * Object containing the parameters passed to onBeforeEdit
620
598
  */
621
- mParameters?: {
599
+ _mParameters?: {
622
600
  /**
623
601
  * Page context that is going to be edited.
624
602
  */
@@ -642,7 +620,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
642
620
  /**
643
621
  * Object containing the parameters passed to onBeforeSave
644
622
  */
645
- mParameters?: {
623
+ _mParameters?: {
646
624
  /**
647
625
  * Page context that is going to be saved.
648
626
  */
@@ -660,11 +638,7 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
660
638
  /**
661
639
  * Context of the editable document
662
640
  */
663
- oContext: /* was: sap.fe.core.V4Context */ any,
664
- /**
665
- * undefined
666
- */
667
- mParameters: any
641
+ oContext: Context
668
642
  ): Promise<void>;
669
643
  /**
670
644
  * @SINCE 1.90.0
@@ -718,12 +692,12 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
718
692
  /**
719
693
  * Context of the updated field
720
694
  */
721
- oContext: object,
695
+ updatedContext: object,
722
696
  /**
723
697
  * Promise to determine when the update operation is completed. The promise should be resolved when the
724
698
  * update operation is completed, so the draft status can be updated.
725
699
  */
726
- oPromise: Promise<any>
700
+ updatePromise: Promise<any>
727
701
  ): Promise<void>;
728
702
  }
729
703
  }
@@ -749,11 +723,11 @@ declare module "sap/fe/core/controllerextensions/IntentBasedNavigation" {
749
723
  /**
750
724
  * SelectionVariant provided by SAP Fiori elements.
751
725
  */
752
- oSelectionVariant: /* was: sap.fe.core.SelectionVariant */ any,
726
+ _oSelectionVariant: /* was: sap.fe.navigation.SelectionVariant */ any,
753
727
  /**
754
728
  * Object containing intent-based navigation-related info
755
729
  */
756
- oNavigationInfo: {
730
+ _oNavigationInfo: {
757
731
  /**
758
732
  * Action related to the intent
759
733
  */
@@ -1044,7 +1018,7 @@ declare module "sap/fe/core/controllerextensions/Share" {
1044
1018
  */
1045
1019
  url: string;
1046
1020
  }
1047
- ): object | Promise<object>;
1021
+ ): Promise<object> | object;
1048
1022
  /**
1049
1023
  * @SINCE 1.93.0
1050
1024
  *
@@ -1309,6 +1283,28 @@ declare module "sap/fe/core/fpm/Component" {
1309
1283
  }
1310
1284
  }
1311
1285
 
1286
+ declare module "sap/fe/core/library" {
1287
+ /**
1288
+ * @SINCE 1.86.0
1289
+ *
1290
+ * Possible initial load (first app startup) modes for a ListReport.
1291
+ */
1292
+ export enum InitialLoadMode {
1293
+ /**
1294
+ * Data will be loaded initially if filters are set.
1295
+ */
1296
+ Auto = "undefined",
1297
+ /**
1298
+ * Data will not be loaded initially.
1299
+ */
1300
+ Disabled = "undefined",
1301
+ /**
1302
+ * Data will be loaded initially.
1303
+ */
1304
+ Enabled = "undefined",
1305
+ }
1306
+ }
1307
+
1312
1308
  declare module "sap/fe/core/rootView/Fcl.controller" {
1313
1309
  import AppComponent from "sap/fe/core/AppComponent";
1314
1310
 
@@ -1359,9 +1355,9 @@ declare module "sap/fe/core/rootView/Fcl.controller" {
1359
1355
  *
1360
1356
  * @returns The resourceModel of the component
1361
1357
  */
1362
- getResourceBundle(): /* was: sap.base.i18n.ResourceBundle */
1363
- | any
1364
- | Promise</* was: sap.base.i18n.ResourceBundle */ any>;
1358
+ getResourceBundle():
1359
+ | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1360
+ | /* was: sap.base.i18n.ResourceBundle */ any;
1365
1361
  /**
1366
1362
  * Convenience method for setting the view model in every controller of the application.
1367
1363
  *
@@ -1430,9 +1426,9 @@ declare module "sap/fe/core/rootView/NavContainer.controller" {
1430
1426
  *
1431
1427
  * @returns The resourceModel of the component
1432
1428
  */
1433
- getResourceBundle(): /* was: sap.base.i18n.ResourceBundle */
1434
- | any
1435
- | Promise</* was: sap.base.i18n.ResourceBundle */ any>;
1429
+ getResourceBundle():
1430
+ | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1431
+ | /* was: sap.base.i18n.ResourceBundle */ any;
1436
1432
  /**
1437
1433
  * Convenience method for setting the view model in every controller of the application.
1438
1434
  *