@sapui5/ts-types 1.142.4 → 1.142.5

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 (51) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +3 -3
  3. package/types/sap.chart.d.ts +1 -1
  4. package/types/sap.f.d.ts +1 -1
  5. package/types/sap.fe.ariba.d.ts +1 -1
  6. package/types/sap.fe.base.d.ts +1 -1
  7. package/types/sap.fe.controls-1.142.4-d.ts +3 -0
  8. package/types/sap.fe.core.d.ts +1 -1
  9. package/types/sap.fe.ina.d.ts +1 -1
  10. package/types/sap.fe.macros.d.ts +1 -1
  11. package/types/sap.fe.navigation.d.ts +1 -1
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  14. package/types/sap.fe.templates.d.ts +1 -1
  15. package/types/sap.fe.test.d.ts +1 -1
  16. package/types/sap.fe.tools.d.ts +1 -1
  17. package/types/sap.gantt.d.ts +1 -1
  18. package/types/sap.insights.d.ts +1 -1
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +1 -1
  22. package/types/sap.suite.ui.commons.d.ts +1 -1
  23. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  24. package/types/sap.suite.ui.microchart.d.ts +1 -1
  25. package/types/{tnt-1.142.1-d.ts → sap.tnt.d.ts} +1 -1
  26. package/types/sap.ui.codeeditor.d.ts +1 -1
  27. package/types/sap.ui.commons.d.ts +1 -1
  28. package/types/sap.ui.comp.d.ts +1 -1
  29. package/types/{dt-1.142.1-d.ts → sap.ui.dt.d.ts} +1 -1
  30. package/types/sap.ui.export.d.ts +1 -1
  31. package/types/sap.ui.fl.d.ts +1 -1
  32. package/types/sap.ui.integration.d.ts +1 -1
  33. package/types/sap.ui.layout.d.ts +1 -1
  34. package/types/sap.ui.richtexteditor.d.ts +22 -7
  35. package/types/sap.ui.rta.d.ts +1 -1
  36. package/types/sap.ui.suite.d.ts +3 -1
  37. package/types/sap.ui.support.d.ts +1 -1
  38. package/types/sap.ui.table.d.ts +1 -1
  39. package/types/sap.ui.testrecorder.d.ts +1 -1
  40. package/types/sap.ui.unified.d.ts +1 -1
  41. package/types/sap.ui.ux3.d.ts +1 -1
  42. package/types/sap.ui.vk.d.ts +69 -1
  43. package/types/sap.ui.webc.common.d.ts +3 -1
  44. package/types/sap.ui.webc.fiori.d.ts +31 -1
  45. package/types/sap.ui.webc.main.d.ts +70 -1
  46. package/types/sap.uiext.inbox.d.ts +1 -1
  47. package/types/sap.ushell.d.ts +3 -1
  48. package/types/sap.ushell_abap.d.ts +1 -1
  49. package/types/sap.uxap.d.ts +1 -1
  50. package/types/sap.viz.d.ts +1 -1
  51. package/types/sap.fe.controls-1.142.2-d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.142.4",
3
+ "version": "1.142.5",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/index.d.ts CHANGED
@@ -20,7 +20,7 @@
20
20
  /// <reference path="./sap.ui.commons.d.ts"/>
21
21
  /// <reference path="./sap.ui.comp.d.ts"/>
22
22
  /// <reference path="./core-1.142.0-d.ts"/>
23
- /// <reference path="./dt-1.142.1-d.ts"/>
23
+ /// <reference path="./sap.ui.dt.d.ts"/>
24
24
  /// <reference path="./sap.ui.export.d.ts"/>
25
25
  /// <reference path="./sap.f.d.ts"/>
26
26
  /// <reference path="./sap.ui.fl.d.ts"/>
@@ -47,7 +47,7 @@
47
47
  /// <reference path="./sap.esh.search.ui.d.ts"/>
48
48
  /// <reference path="./sap.fe.ariba.d.ts"/>
49
49
  /// <reference path="./sap.fe.base.d.ts"/>
50
- /// <reference path="./sap.fe.controls-1.142.2-d.ts"/>
50
+ /// <reference path="./sap.fe.controls-1.142.4-d.ts"/>
51
51
  /// <reference path="./sap.fe.core.d.ts"/>
52
52
  /// <reference path="./sap.fe.ina.d.ts"/>
53
53
  /// <reference path="./sap.fe.macros.d.ts"/>
@@ -69,7 +69,7 @@
69
69
  /// <reference path="./sap.ui.support.d.ts"/>
70
70
  /// <reference path="./sap.ui.table.d.ts"/>
71
71
  /// <reference path="./sap.ui.testrecorder.d.ts"/>
72
- /// <reference path="./tnt-1.142.1-d.ts"/>
72
+ /// <reference path="./sap.tnt.d.ts"/>
73
73
  /// <reference path="./sap.ca.ui.d.ts"/>
74
74
  /// <reference path="./sap.ui.unified.d.ts"/>
75
75
  /// <reference path="./sap.ushell.d.ts"/>
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -0,0 +1,3 @@
1
+ // For Library Version: 1.142.4
2
+
3
+ declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.142.3
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.4
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.4
1
+ // For Library Version: 1.142.5
2
2
 
3
3
  declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -60,8 +60,10 @@ declare namespace sap {
60
60
  * that may be introduced by other groups (hence this is not an enumeration).
61
61
  *
62
62
  * **Notes:**
63
- * - TinyMCE version 3 and 4 are no longer supported and cannot be used. If you set the property to TinyMCE,
64
- * it will load TinyMCE version 7.
63
+ * - Do not use TinyMCE versions that are no longer supported. We may remove such versions without notice
64
+ * in future releases if critical vulnerabilities or other serious issues are discovered in their code.
65
+ *
66
+ * - Setting the property to `TinyMCE` loads the latest TinyMCE available.
65
67
  * - Any attempts to set this property after the first rendering will not have any effect.
66
68
  * - The default value of the property will always resolve to the recommended version by UI5. Due to the
67
69
  * different support cycles, we will be constantly getting newer TinyMCE versions and update the default
@@ -401,7 +403,10 @@ declare namespace sap {
401
403
  * Restrictions:
402
404
  *
403
405
  * **Note: The `RichTextEditor` uses a third-party component and therefore some additional restrictions
404
- * apply for its proper usage and support. For more information see the Preamble section in {@link https://ui5.sap.com/#/topic/d4f3f1598373452bb73f2120930c133c sap.ui.richtexteditor}.
406
+ * apply for its proper usage and support. Use the native third-party API cautiously. Ensure you migrate
407
+ * to newer versions within 12 months of deprecation. Unsupported third-party versions, once deprecated
408
+ * by us, may be removed without notice if critical vulnerabilities or other serious issues are discovered
409
+ * in their code. For more information see the Preamble section in {@link https://ui5.sap.com/#/topic/d4f3f1598373452bb73f2120930c133c sap.ui.richtexteditor}.
405
410
  * **
406
411
  *
407
412
  * Guidelines:
@@ -1085,8 +1090,10 @@ declare namespace sap {
1085
1090
  * that may be introduced by other groups (hence this is not an enumeration).
1086
1091
  *
1087
1092
  * **Notes:**
1088
- * - TinyMCE version 3 and 4 are no longer supported and cannot be used. If you set the property to TinyMCE,
1089
- * it will load TinyMCE version 7.
1093
+ * - Do not use TinyMCE versions that are no longer supported. We may remove such versions without notice
1094
+ * in future releases if critical vulnerabilities or other serious issues are discovered in their code.
1095
+ *
1096
+ * - Setting the property to `TinyMCE` loads the latest TinyMCE available.
1090
1097
  * - Any attempts to set this property after the first rendering will not have any effect.
1091
1098
  * - The default value of the property will always resolve to the recommended version by UI5. Due to the
1092
1099
  * different support cycles, we will be constantly getting newer TinyMCE versions and update the default
@@ -1128,6 +1135,10 @@ declare namespace sap {
1128
1135
  * editor and breaks the wrapping character of the RichTextEditor control, so it should only be done in
1129
1136
  * justified cases.
1130
1137
  *
1138
+ * **Note: Use the native third-party API cautiously. Ensure you migrate to newer versions within 12 months
1139
+ * of deprecation. Unsupported third-party versions, once deprecated by us, may be removed without notice
1140
+ * if critical vulnerabilities or other serious issues are discovered in their code.**
1141
+ *
1131
1142
  *
1132
1143
  * @returns The native editor object (here: The TinyMCE editor instance)
1133
1144
  */
@@ -2135,7 +2146,11 @@ declare namespace sap {
2135
2146
  ): this;
2136
2147
  }
2137
2148
  /**
2138
- * Determines which editor component should be used for editing the text.
2149
+ * Determines which editor component should be used for editing the text. **Note: To ensure stability and
2150
+ * to access the latest features, use the most current TinyMCE version supported by your SAPUI5 version
2151
+ * by setting the property to `TinyMCE`.
2152
+ * Unsupported TinyMCE versions with critical vulnerabilities or other serious issues may be removed without
2153
+ * notice.**
2139
2154
  *
2140
2155
  * This enum is part of the 'sap/ui/richtexteditor/library' module export and must be accessed by the property
2141
2156
  * 'EditorType'.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -700,6 +700,8 @@ declare namespace sap {
700
700
  * Defined color values for the Task Circle Control
701
701
  *
702
702
  * This enum is part of the 'sap/ui/suite/library' module export and must be accessed by the property 'TaskCircleColor'.
703
+ *
704
+ * @deprecated As of version 1.108. because it is part of the deprecated package sap.ui.suite
703
705
  */
704
706
  enum TaskCircleColor {
705
707
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.0
1
+ // For Library Version: 1.142.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -4240,6 +4240,74 @@ declare namespace sap {
4240
4240
  */
4241
4241
  nodeRef: any
4242
4242
  ): this;
4243
+ /**
4244
+ * Attaches a custom text to this elements.
4245
+ *
4246
+ * @since 1.120.0
4247
+ * @experimental
4248
+ *
4249
+ * @returns `this` to allow method chaining.
4250
+ */
4251
+ setCustomText(
4252
+ /**
4253
+ * The node or array of nodes to set the custom text to.
4254
+ */
4255
+ nodeRefs: /* was: sap.ui.vk.svg.Element */
4256
+ | any
4257
+ | /* was: sap.ui.vk.svg.Element */ any[],
4258
+ /**
4259
+ * The custom text options. If not specified, the existing custom text will be removed.
4260
+ */
4261
+ options?: {
4262
+ /**
4263
+ * The text to display, it's mutually exclusive with `htmlText` option. Line breaks are not supported, use
4264
+ * `htmlText` option for multi-line text.
4265
+ */
4266
+ text?: string;
4267
+ /**
4268
+ * The HTML text to display, it's mutually exclusive with `text` option. Line breaks are supported using
4269
+ * paragraphs: `"<p>Line 1</p><p>Line 2</p>"`.
4270
+ */
4271
+ htmlText?: string;
4272
+ /**
4273
+ * The font size of the text in scene coordinate units. If not specified then the size will be automatically
4274
+ * determined based on the median text size in the scene or computed from the bounding box of the scene,
4275
+ * but better to specify it explicitly to avoid unexpected results.
4276
+ */
4277
+ size?: number;
4278
+ /**
4279
+ * The font family of the text. Default is `"Arial"`.
4280
+ */
4281
+ fontFamily?: string;
4282
+ /**
4283
+ * The font style of the text (normal | italic | oblique). Default is undefined ("normal").
4284
+ */
4285
+ fontStyle?: string;
4286
+ /**
4287
+ * The font weight of the text (normal | bold | bolder | lighter | ). Default is undefined ("normal").
4288
+ */
4289
+ fontWeight?: string;
4290
+ /**
4291
+ * The text decoration of the text (none | underline | line-through, etc). Default is undefined ("none").
4292
+ */
4293
+ textDecoration?: string;
4294
+ /**
4295
+ * The fill color of the text in CSS format. Default is "black".
4296
+ */
4297
+ fill?: string;
4298
+ /**
4299
+ * The pivot point of the custom text, relative to the text bounding box. The pivot point is used together
4300
+ * with the anchor point to position the text. Default is `[0.5, 0.5]` (middle of the custom text). `[0,
4301
+ * 0]` is top-left, `[1, 1]` is bottom-right.
4302
+ */
4303
+ pivot?: number[];
4304
+ /**
4305
+ * The anchor point of the text, relative to the bounding box of the node to which the custom text is attached.
4306
+ * Default is `[0.5, 0.5]` (center of node). `[0, 0]` is top-left, `[1, 1]` is bottom-right.
4307
+ */
4308
+ anchor?: number[];
4309
+ }
4310
+ ): this;
4243
4311
  }
4244
4312
  /**
4245
4313
  * Provides a proxy object to the node in the node hierarchy.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.2
1
+ // For Library Version: 1.142.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -24,6 +24,8 @@ declare namespace sap {
24
24
  /**
25
25
  * The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Element using
26
26
  * its static "extend" method. See {@link sap.ui.core.Element.extend} for details on its usage.
27
+ *
28
+ * @deprecated As of version 1.118.0. because it is part of the deprecated package sap.ui.webc.common.WebComponent
27
29
  */
28
30
  type MetadataOptions = sap.ui.core.webc.WebComponent.MetadataOptions;
29
31
  }