@sapui5/types 1.118.0 → 1.119.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 (64) 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 +1 -1
  4. package/types/sap.chart.d.ts +16 -1
  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 +121 -3
  8. package/types/sap.fe.core.d.ts +91 -83
  9. package/types/sap.fe.macros.d.ts +130 -25
  10. package/types/sap.fe.navigation.d.ts +92 -87
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.templates.d.ts +32 -22
  13. package/types/sap.fe.test.d.ts +1 -1
  14. package/types/sap.fe.tools.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +64 -50
  17. package/types/sap.insights.d.ts +133 -28
  18. package/types/sap.landvisz.d.ts +1 -1
  19. package/types/sap.m.d.ts +483 -80
  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 +555 -274
  26. package/types/sap.suite.ui.commons.d.ts +48 -6
  27. package/types/sap.suite.ui.generic.template.d.ts +16 -11
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +17 -15
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +1 -1
  32. package/types/sap.ui.comp.d.ts +41 -59
  33. package/types/sap.ui.core.d.ts +517 -173
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +1 -1
  36. package/types/sap.ui.fl.d.ts +1 -51
  37. package/types/sap.ui.generic.app.d.ts +1 -1
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +11 -1
  40. package/types/sap.ui.layout.d.ts +1 -1
  41. package/types/sap.ui.mdc.d.ts +1017 -246
  42. package/types/sap.ui.richtexteditor.d.ts +1 -1
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +915 -1
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +1 -1
  49. package/types/sap.ui.ux3.d.ts +1 -1
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +387 -9
  52. package/types/sap.ui.vtm.d.ts +78 -66
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +85 -85
  55. package/types/sap.ui.webc.main.d.ts +225 -225
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +566 -42
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +1 -1
  60. package/types/sap.viz.d.ts +1 -1
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare module "sap/gantt/library" {
4
4
  import ChartScheme from "sap/gantt/config/ChartScheme";
@@ -343,10 +343,19 @@ declare module "sap/gantt/library" {
343
343
  */
344
344
  export const DEFAULT_INIT_HORIZON: TimeHorizon;
345
345
 
346
+ /**
347
+ * Defines the default configuration object Locale. The configured time zone is considered as the default
348
+ * time zone for the locale, see {@link sap.ui.core.Configuration#getTimezone}.. **Note:** Adjusting the
349
+ * time zone in a running application can lead to unexpected data inconsistencies. For more information,
350
+ * see {@link sap.ui.core.Configuration#setTimezone}. Default values
351
+ * - timeZoine - `null`
352
+ */
353
+ export const DEFAULT_LOCALE: Locale;
354
+
346
355
  /**
347
356
  * @deprecated (since 1.63) - Using these constants may result in errors in your application.
348
357
  *
349
- * Defines the default configuration object Locale.
358
+ * Defines the default configuration object locale.
350
359
  *
351
360
  * Default values
352
361
  * - timeZoine - `"CET"`
@@ -4980,6 +4989,8 @@ declare module "sap/gantt/config/Locale" {
4980
4989
  */
4981
4990
  static getMetadata(): ElementMetadata;
4982
4991
  /**
4992
+ * @deprecated (since 1.119)
4993
+ *
4983
4994
  * Gets current value of property {@link #getDstHorizons dstHorizons}.
4984
4995
  *
4985
4996
  * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu,
@@ -4991,16 +5002,8 @@ declare module "sap/gantt/config/Locale" {
4991
5002
  */
4992
5003
  getDstHorizons(): object[];
4993
5004
  /**
4994
- * Gets current value of property {@link #getTimeZone timeZone}.
5005
+ * @deprecated (since 1.119)
4995
5006
  *
4996
- * User time zone
4997
- *
4998
- * Default value is `"UTC"`.
4999
- *
5000
- * @returns Value of property `timeZone`
5001
- */
5002
- getTimeZone(): string;
5003
- /**
5004
5007
  * Gets current value of property {@link #getUtcdiff utcdiff}.
5005
5008
  *
5006
5009
  * Gap value to the UTC time in the format hhmmss
@@ -5011,6 +5014,8 @@ declare module "sap/gantt/config/Locale" {
5011
5014
  */
5012
5015
  getUtcdiff(): string;
5013
5016
  /**
5017
+ * @deprecated (since 1.119)
5018
+ *
5014
5019
  * Gets current value of property {@link #getUtcsign utcsign}.
5015
5020
  *
5016
5021
  * Sign of the gap to the UTC time. Two valid values: "+" or "-".
@@ -5021,6 +5026,8 @@ declare module "sap/gantt/config/Locale" {
5021
5026
  */
5022
5027
  getUtcsign(): string;
5023
5028
  /**
5029
+ * @deprecated (since 1.119)
5030
+ *
5024
5031
  * Sets a new value for property {@link #getDstHorizons dstHorizons}.
5025
5032
  *
5026
5033
  * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu,
@@ -5041,21 +5048,22 @@ declare module "sap/gantt/config/Locale" {
5041
5048
  /**
5042
5049
  * Sets a new value for property {@link #getTimeZone timeZone}.
5043
5050
  *
5044
- * User time zone
5051
+ * Custom timezone for Gantt. The configured time zone is considered as the default time zone for the locale,
5052
+ * see {@link sap.ui.core.Configuration#getTimezone}
5045
5053
  *
5046
5054
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5047
5055
  *
5048
- * Default value is `"UTC"`.
5049
- *
5050
5056
  * @returns Reference to `this` in order to allow method chaining
5051
5057
  */
5052
5058
  setTimeZone(
5053
5059
  /**
5054
5060
  * New value for property `timeZone`
5055
5061
  */
5056
- sTimeZone?: string
5062
+ sTimeZone: string
5057
5063
  ): this;
5058
5064
  /**
5065
+ * @deprecated (since 1.119)
5066
+ *
5059
5067
  * Sets a new value for property {@link #getUtcdiff utcdiff}.
5060
5068
  *
5061
5069
  * Gap value to the UTC time in the format hhmmss
@@ -5073,6 +5081,8 @@ declare module "sap/gantt/config/Locale" {
5073
5081
  sUtcdiff?: string
5074
5082
  ): this;
5075
5083
  /**
5084
+ * @deprecated (since 1.119)
5085
+ *
5076
5086
  * Sets a new value for property {@link #getUtcsign utcsign}.
5077
5087
  *
5078
5088
  * Sign of the gap to the UTC time. Two valid values: "+" or "-".
@@ -5093,21 +5103,28 @@ declare module "sap/gantt/config/Locale" {
5093
5103
 
5094
5104
  export interface $LocaleSettings extends $ElementSettings {
5095
5105
  /**
5096
- * User time zone
5106
+ * Custom timezone for Gantt. The configured time zone is considered as the default time zone for the locale,
5107
+ * see {@link sap.ui.core.Configuration#getTimezone}
5097
5108
  */
5098
5109
  timeZone?: string | PropertyBindingInfo;
5099
5110
 
5100
5111
  /**
5112
+ * @deprecated (since 1.119)
5113
+ *
5101
5114
  * Gap value to the UTC time in the format hhmmss
5102
5115
  */
5103
5116
  utcdiff?: string | PropertyBindingInfo;
5104
5117
 
5105
5118
  /**
5119
+ * @deprecated (since 1.119)
5120
+ *
5106
5121
  * Sign of the gap to the UTC time. Two valid values: "+" or "-".
5107
5122
  */
5108
5123
  utcsign?: string | PropertyBindingInfo;
5109
5124
 
5110
5125
  /**
5126
+ * @deprecated (since 1.119)
5127
+ *
5111
5128
  * Day-light saving time periods. Array of {@link sap.gantt.config.TimeHorizon} other locale info like langu,
5112
5129
  * dateFormat, timeFormat and numberFormat, please use UI5 standard configuration object.
5113
5130
  */
@@ -12837,7 +12854,7 @@ declare module "sap/gantt/GanttChartBase" {
12837
12854
  *
12838
12855
  * Restriction: It is defined as a property, and hence cannot be used in an XML view.
12839
12856
  *
12840
- * Default value is `library.config.DEFAULT_LOCALE_CET`.
12857
+ * Default value is `library.config.DEFAULT_LOCALE`.
12841
12858
  *
12842
12859
  * @returns Value of property `locale`
12843
12860
  */
@@ -13627,7 +13644,7 @@ declare module "sap/gantt/GanttChartBase" {
13627
13644
  *
13628
13645
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
13629
13646
  *
13630
- * Default value is `library.config.DEFAULT_LOCALE_CET`.
13647
+ * Default value is `library.config.DEFAULT_LOCALE`.
13631
13648
  *
13632
13649
  * @returns Reference to `this` in order to allow method chaining
13633
13650
  */
@@ -40973,6 +40990,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
40973
40990
  */
40974
40991
  getEnableCursorLine(): boolean;
40975
40992
  /**
40993
+ * @deprecated (since 1.119)
40976
40994
  * @experimental (since 1.115)
40977
40995
  *
40978
40996
  * Gets current value of property {@link #getEnableDateTimezoneFormatter enableDateTimezoneFormatter}.
@@ -42286,22 +42304,28 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
42286
42304
  bEnableCursorLine?: boolean
42287
42305
  ): this;
42288
42306
  /**
42289
- * @since 1.115
42290
- * @experimental
42307
+ * @deprecated (since 1.119)
42308
+ * @experimental (since 1.115)
42309
+ *
42310
+ * Sets a new value for property {@link #getEnableDateTimezoneFormatter enableDateTimezoneFormatter}.
42311
+ *
42312
+ * Flag to check whether the DateFormat should be used for Fiori launchpad timezone support. This flag is
42313
+ * experimental, and it might be removed in a future release. When the flag is enabled, the start and end
42314
+ * time for the shapes that are created outside of the `GanttChartWithTable` scope are not formatted to
42315
+ * the Fiori launchpad timezone, unless those property values are binded again.
42291
42316
  *
42292
- * Sets EnableDateTimezoneFormatter property of the Gantt. This method is experimental, and it might be
42293
- * removed in a future release.
42317
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
42318
+ *
42319
+ * Default value is `false`.
42320
+ *
42321
+ * @returns Reference to `this` in order to allow method chaining
42294
42322
  */
42295
42323
  setEnableDateTimezoneFormatter(
42296
42324
  /**
42297
- * A value to be set for EnableDateTimezoneFormatter property of Gantt.
42298
- */
42299
- bValue: boolean,
42300
- /**
42301
- * Flag to suppress re-rendering of the control.
42325
+ * New value for property `enableDateTimezoneFormatter`
42302
42326
  */
42303
- bSuppressInvalidate: boolean
42304
- ): void;
42327
+ bEnableDateTimezoneFormatter?: boolean
42328
+ ): this;
42305
42329
  /**
42306
42330
  * @since 1.84
42307
42331
  *
@@ -42630,17 +42654,6 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
42630
42654
  */
42631
42655
  oLayoutData: LayoutData
42632
42656
  ): this;
42633
- /**
42634
- * Sets the aggregated {@link #getLocale locale}.
42635
- *
42636
- * @returns Reference to `this` in order to allow method chaining
42637
- */
42638
- setLocale(
42639
- /**
42640
- * The locale to set
42641
- */
42642
- oLocale: Locale
42643
- ): this;
42644
42657
  /**
42645
42658
  * @since 1.68
42646
42659
  *
@@ -43689,16 +43702,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
43689
43702
  shapeMouseLeaveDelay?: int | PropertyBindingInfo | `{${string}}`;
43690
43703
 
43691
43704
  /**
43692
- * @experimental (since 1.113)
43693
- *
43694
- * Comma-separated value of shape aggregations to decide the rendering order The aggregations first in the
43695
- * array are rendered first. Aggregations not mentioned in the array will be rendered at the very first
43696
- * Example: "shapes3,shapes2,shapes1" means shapes3 will be rendered at the bottom, and shapes1 will be
43697
- * rendered at the top
43698
- */
43699
- shapeRenderOrder?: string[] | PropertyBindingInfo | `{${string}}`;
43700
-
43701
- /**
43705
+ * @deprecated (since 1.119)
43702
43706
  * @experimental (since 1.115)
43703
43707
  *
43704
43708
  * Flag to check whether the DateFormat should be used for Fiori launchpad timezone support. This flag is
@@ -43708,6 +43712,16 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
43708
43712
  */
43709
43713
  enableDateTimezoneFormatter?: boolean | PropertyBindingInfo | `{${string}}`;
43710
43714
 
43715
+ /**
43716
+ * @experimental (since 1.113)
43717
+ *
43718
+ * Comma-separated value of shape aggregations to decide the rendering order The aggregations first in the
43719
+ * array are rendered first. Aggregations not mentioned in the array will be rendered at the very first
43720
+ * Example: "shapes3,shapes2,shapes1" means shapes3 will be rendered at the bottom, and shapes1 will be
43721
+ * rendered at the top
43722
+ */
43723
+ shapeRenderOrder?: string[] | PropertyBindingInfo | `{${string}}`;
43724
+
43711
43725
  /**
43712
43726
  * Table of the Gantt Chart
43713
43727
  *
@@ -1,10 +1,8 @@
1
- // For Library Version: 1.118.1
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare module "sap/insights/library" {}
4
4
 
5
5
  declare module "sap/insights/CardHelper" {
6
- import CardsChannel from "sap/insights/CardsChannel";
7
-
8
6
  /**
9
7
  * @since 1.102
10
8
  * @experimental (since 1.102)
@@ -18,46 +16,35 @@ declare module "sap/insights/CardHelper" {
18
16
  /**
19
17
  * @experimental
20
18
  *
21
- * Public (experimental) interface of the sap.insights.UIService
19
+ * Public (experimental) interface of the sap.insights.CardHelperService
22
20
  */
23
- export interface UIService {
24
- __implements__sap_insights_UIService: boolean;
21
+ export interface CardHelperService {
22
+ __implements__sap_insights_CardHelperService: boolean;
25
23
 
26
- /**
27
- * @experimental
28
- *
29
- * Get a promise for the singleton instance of the cards channel.
30
- */
31
- getCardsChannel(): Promise<CardsChannel>;
32
24
  /**
33
25
  * @experimental
34
26
  *
35
27
  * Show preview for a given card
28
+ *
29
+ * @returns Returns promise, which generates preview for the passed card manifest
36
30
  */
37
31
  showCardPreview(
38
- card: object,
39
-
32
+ /**
33
+ * card manifest for which preview will be generated
34
+ */
35
+ oCard: object,
36
+ /**
37
+ * boolean to determine whether card can be transfrormed
38
+ */
40
39
  bTransform: boolean,
41
40
  /**
42
41
  * object which includes type and message text related to Message
43
42
  */
44
43
  oCardMessageInfo: object,
45
-
46
- calledInternally?: boolean
47
- ): Promise<void>;
48
- /**
49
- * @experimental
50
- *
51
- * Show preview for a given card
52
- */
53
- showCardPreview(
54
- card: object,
55
44
  /**
56
- * object which includes type and message text related to Message
45
+ * boolean to determine if the method called within insights
57
46
  */
58
- oCardMessageInfo: object,
59
-
60
- calledInternally?: boolean
47
+ bCalledInternally: boolean
61
48
  ): Promise<void>;
62
49
  }
63
50
  }
@@ -276,6 +263,122 @@ declare module "sap/insights/CardsChannel" {
276
263
  }
277
264
  }
278
265
 
266
+ declare module "sap/insights/ManageCards" {
267
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
268
+
269
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
270
+
271
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
272
+
273
+ /**
274
+ * @since 1.119
275
+ *
276
+ * This control shows list of all user cards and allows perform actions like change visibility, change order.
277
+ * It also allows user to get preview of particular card, delete or copy.
278
+ */
279
+ export default class ManageCards extends Control {
280
+ /**
281
+ * Constructor for ManageCards.
282
+ */
283
+ constructor();
284
+
285
+ /**
286
+ * Creates a new subclass of class sap.insights.ManageCards with name `sClassName` and enriches it with
287
+ * the information contained in `oClassInfo`.
288
+ *
289
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
290
+ *
291
+ * @returns Created class / constructor function
292
+ */
293
+ static extend<T extends Record<string, unknown>>(
294
+ /**
295
+ * Name of the class being created
296
+ */
297
+ sClassName: string,
298
+ /**
299
+ * Object literal with information about the class
300
+ */
301
+ oClassInfo?: sap.ClassInfo<T, ManageCards>,
302
+ /**
303
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
304
+ * used by this class
305
+ */
306
+ FNMetaImpl?: Function
307
+ ): Function;
308
+ /**
309
+ * Returns a metadata object for class sap.insights.ManageCards.
310
+ *
311
+ * @returns Metadata object describing this class
312
+ */
313
+ static getMetadata(): ElementMetadata;
314
+ /**
315
+ * Gets current value of property {@link #getCardId cardId}.
316
+ *
317
+ * Sets the cardId property which decides whether to render the details page or cardlist page, if cardId
318
+ * is provided , cardDetails page is rendered
319
+ *
320
+ * @returns Value of property `cardId`
321
+ */
322
+ getCardId(): string;
323
+ /**
324
+ * Gets current value of property {@link #getEnableResetAllCards enableResetAllCards}.
325
+ *
326
+ * Sets enableResetAllCards property
327
+ *
328
+ * Default value is `false`.
329
+ *
330
+ * @returns Value of property `enableResetAllCards`
331
+ */
332
+ getEnableResetAllCards(): boolean;
333
+ /**
334
+ * Sets a new value for property {@link #getCardId cardId}.
335
+ *
336
+ * Sets the cardId property which decides whether to render the details page or cardlist page, if cardId
337
+ * is provided , cardDetails page is rendered
338
+ *
339
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
340
+ *
341
+ * @returns Reference to `this` in order to allow method chaining
342
+ */
343
+ setCardId(
344
+ /**
345
+ * New value for property `cardId`
346
+ */
347
+ sCardId?: string
348
+ ): this;
349
+ /**
350
+ * Sets a new value for property {@link #getEnableResetAllCards enableResetAllCards}.
351
+ *
352
+ * Sets enableResetAllCards property
353
+ *
354
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
355
+ *
356
+ * Default value is `false`.
357
+ *
358
+ * @returns Reference to `this` in order to allow method chaining
359
+ */
360
+ setEnableResetAllCards(
361
+ /**
362
+ * New value for property `enableResetAllCards`
363
+ */
364
+ bEnableResetAllCards?: boolean
365
+ ): this;
366
+ }
367
+
368
+ export interface $ManageCardsSettings extends $ControlSettings {
369
+ /**
370
+ * Sets enableResetAllCards property
371
+ */
372
+ enableResetAllCards?: boolean | PropertyBindingInfo | `{${string}}`;
373
+
374
+ /**
375
+ * Sets the cardId property which decides whether to render the details page or cardlist page, if cardId
376
+ * is provided , cardDetails page is rendered
377
+ */
378
+ cardId?: string | PropertyBindingInfo;
379
+ }
380
+ }
381
+
279
382
  declare namespace sap {
280
383
  interface IUI5DefineDependencyNames {
281
384
  "sap/insights/CardHelper": undefined;
@@ -283,5 +386,7 @@ declare namespace sap {
283
386
  "sap/insights/CardsChannel": undefined;
284
387
 
285
388
  "sap/insights/library": undefined;
389
+
390
+ "sap/insights/ManageCards": undefined;
286
391
  }
287
392
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare module "sap/landvisz/library" {
4
4
  /**