@sapui5/ts-types 1.148.1 → 1.149.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 (66) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +4 -4
  7. package/types/sap.f.d.ts +1 -1
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +1 -1
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +17 -17
  14. package/types/sap.fe.navigation.d.ts +1 -1
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +19 -5
  18. package/types/sap.fe.test.d.ts +1 -1
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +1 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +56 -2
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +26 -4
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +3 -1
  30. package/types/sap.suite.ui.commons.d.ts +48 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  32. package/types/sap.suite.ui.microchart.d.ts +45 -1
  33. package/types/sap.tnt.d.ts +83 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +41 -10
  37. package/types/sap.ui.core.d.ts +308 -387
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +1 -1
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.geomap.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +1 -1
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +39 -2
  47. package/types/sap.ui.richtexteditor.d.ts +1 -1
  48. package/types/sap.ui.rta.d.ts +1 -1
  49. package/types/sap.ui.suite.d.ts +1 -1
  50. package/types/sap.ui.support.d.ts +1 -1
  51. package/types/sap.ui.table.d.ts +10 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +687 -1
  54. package/types/sap.ui.ux3.d.ts +1 -1
  55. package/types/sap.ui.vbm.d.ts +1 -1
  56. package/types/sap.ui.vk.d.ts +1 -1
  57. package/types/sap.ui.vtm.d.ts +1 -1
  58. package/types/sap.uiext.inbox.d.ts +1 -1
  59. package/types/sap.ushell.d.ts +337 -1
  60. package/types/sap.ushell_abap.d.ts +1 -1
  61. package/types/sap.uxap.d.ts +1 -1
  62. package/types/sap.viz.d.ts +1 -1
  63. package/types/sap.webanalytics.core.d.ts +1 -1
  64. package/types/sap.zen.commons.d.ts +1 -1
  65. package/types/sap.zen.crosstab.d.ts +1 -1
  66. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1121,6 +1121,17 @@ declare namespace sap {
1121
1121
  | sap.ui.base.ManagedObject.PropertyBindingInfo
1122
1122
  | `{${string}}`;
1123
1123
 
1124
+ /**
1125
+ * If set to true, the new XS width dimensions are applied to the chart, the width is increased, and the
1126
+ * font size is reduced. The default value is false, preserving the original XS dimensions.
1127
+ *
1128
+ * @since 1.149
1129
+ */
1130
+ xsWidth?:
1131
+ | boolean
1132
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
1133
+ | `{${string}}`;
1134
+
1124
1135
  /**
1125
1136
  * The set of items. Currently only a single item is supported.
1126
1137
  */
@@ -7797,6 +7808,19 @@ declare namespace sap {
7797
7808
  * @returns Value of property `width`
7798
7809
  */
7799
7810
  getWidth(): sap.ui.core.CSSSize;
7811
+ /**
7812
+ * Gets current value of property {@link #getXsWidth xsWidth}.
7813
+ *
7814
+ * If set to true, the new XS width dimensions are applied to the chart, the width is increased, and the
7815
+ * font size is reduced. The default value is false, preserving the original XS dimensions.
7816
+ *
7817
+ * Default value is `false`.
7818
+ *
7819
+ * @since 1.149
7820
+ *
7821
+ * @returns Value of property `xsWidth`
7822
+ */
7823
+ getXsWidth(): boolean;
7800
7824
  /**
7801
7825
  * Checks for the provided `sap.suite.ui.microchart.HarveyBallMicroChartItem` in the aggregation {@link #getItems items}.
7802
7826
  * and returns its index if found or -1 otherwise.
@@ -8109,6 +8133,26 @@ declare namespace sap {
8109
8133
  */
8110
8134
  sWidth: sap.ui.core.CSSSize
8111
8135
  ): this;
8136
+ /**
8137
+ * Sets a new value for property {@link #getXsWidth xsWidth}.
8138
+ *
8139
+ * If set to true, the new XS width dimensions are applied to the chart, the width is increased, and the
8140
+ * font size is reduced. The default value is false, preserving the original XS dimensions.
8141
+ *
8142
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
8143
+ *
8144
+ * Default value is `false`.
8145
+ *
8146
+ * @since 1.149
8147
+ *
8148
+ * @returns Reference to `this` in order to allow method chaining
8149
+ */
8150
+ setXsWidth(
8151
+ /**
8152
+ * New value for property `xsWidth`
8153
+ */
8154
+ bXsWidth?: boolean
8155
+ ): this;
8112
8156
  /**
8113
8157
  * Unbinds aggregation {@link #getItems items} from model data.
8114
8158
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -265,6 +265,36 @@ declare namespace sap {
265
265
  | sap.ui.base.ManagedObject.AggregationBindingInfo
266
266
  | `{${string}}`;
267
267
 
268
+ /**
269
+ * A tag that uses Indication states to visually mark a navigation item.
270
+ *
271
+ * Use tags to display status information, counters, or metadata that helps users quickly identify the state
272
+ * or importance of a navigation item.
273
+ *
274
+ * Tags can be added to:
275
+ * - Single-click items without children
276
+ * - Two-click items with children and expander arrow
277
+ * - Child items nested under a parent item
278
+ *
279
+ * **Note:** Tags are visible when the `NavigationList` is in expanded mode, and hidden when collapsed,
280
+ * but they are visible in the overflow of the collapsed mode.
281
+ *
282
+ * Usage: Common use cases include:
283
+ * - Status indicators: "Beta", "New", "Deprecated"
284
+ * - Counters: "5 Pending", "12 Items"
285
+ * - Versions: "v2.0"
286
+ * - Alerts: "Low Stock", "Critical"
287
+ *
288
+ * **Important:** Always set the `inverted` property to `true` for consistent styling. Use Indication states
289
+ * (`Indication15` – `Indication20`) for consistent theming.
290
+ *
291
+ * **Important:** The `ObjectStatus` must never be interactive (i.e., `active` must not be set to `true`),
292
+ * as this would lead to nesting of interactive elements, which is not allowed.
293
+ *
294
+ * @since 1.149
295
+ */
296
+ tag?: sap.m.ObjectStatus;
297
+
268
298
  /**
269
299
  * Fired when this item is selected.
270
300
  */
@@ -1680,6 +1710,14 @@ declare namespace sap {
1680
1710
  * @returns Reference to `this` in order to allow method chaining
1681
1711
  */
1682
1712
  destroyItems(): this;
1713
+ /**
1714
+ * Destroys the tag in the aggregation {@link #getTag tag}.
1715
+ *
1716
+ * @since 1.149
1717
+ *
1718
+ * @returns Reference to `this` in order to allow method chaining
1719
+ */
1720
+ destroyTag(): this;
1683
1721
  /**
1684
1722
  * Detaches event handler `fnFunction` from the {@link #event:select select} event of this `sap.tnt.NavigationListItem`.
1685
1723
  *
@@ -1787,6 +1825,37 @@ declare namespace sap {
1787
1825
  * @returns Value of property `selectable`
1788
1826
  */
1789
1827
  getSelectable(): boolean;
1828
+ /**
1829
+ * Gets content of aggregation {@link #getTag tag}.
1830
+ *
1831
+ * A tag that uses Indication states to visually mark a navigation item.
1832
+ *
1833
+ * Use tags to display status information, counters, or metadata that helps users quickly identify the state
1834
+ * or importance of a navigation item.
1835
+ *
1836
+ * Tags can be added to:
1837
+ * - Single-click items without children
1838
+ * - Two-click items with children and expander arrow
1839
+ * - Child items nested under a parent item
1840
+ *
1841
+ * **Note:** Tags are visible when the `NavigationList` is in expanded mode, and hidden when collapsed,
1842
+ * but they are visible in the overflow of the collapsed mode.
1843
+ *
1844
+ * Usage: Common use cases include:
1845
+ * - Status indicators: "Beta", "New", "Deprecated"
1846
+ * - Counters: "5 Pending", "12 Items"
1847
+ * - Versions: "v2.0"
1848
+ * - Alerts: "Low Stock", "Critical"
1849
+ *
1850
+ * **Important:** Always set the `inverted` property to `true` for consistent styling. Use Indication states
1851
+ * (`Indication15` – `Indication20`) for consistent theming.
1852
+ *
1853
+ * **Important:** The `ObjectStatus` must never be interactive (i.e., `active` must not be set to `true`),
1854
+ * as this would lead to nesting of interactive elements, which is not allowed.
1855
+ *
1856
+ * @since 1.149
1857
+ */
1858
+ getTag(): sap.m.ObjectStatus;
1790
1859
  /**
1791
1860
  * Gets current value of property {@link #getTarget target}.
1792
1861
  *
@@ -1973,6 +2042,19 @@ declare namespace sap {
1973
2042
  */
1974
2043
  bSelectable?: boolean
1975
2044
  ): this;
2045
+ /**
2046
+ * Sets the aggregated {@link #getTag tag}.
2047
+ *
2048
+ * @since 1.149
2049
+ *
2050
+ * @returns Reference to `this` in order to allow method chaining
2051
+ */
2052
+ setTag(
2053
+ /**
2054
+ * The tag to set
2055
+ */
2056
+ oTag: sap.m.ObjectStatus
2057
+ ): this;
1976
2058
  /**
1977
2059
  * Sets a new value for property {@link #getTarget target}.
1978
2060
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1109,21 +1109,29 @@ declare namespace sap {
1109
1109
  * the content displayed in the custom view
1110
1110
  */
1111
1111
  content: sap.ui.core.Control;
1112
+ /**
1113
+ * Title to be displayed in the overflow toolbar for the custom view
1114
+ */
1115
+ title?: string;
1112
1116
  /**
1113
1117
  * callback triggered by search - executed with the string as parameter
1114
1118
  */
1115
1119
  search?: Function;
1116
1120
  /**
1117
- * callback triggered by the `Select` control in the header area - executed with the selected key as parameter
1121
+ * not used any more
1118
1122
  */
1119
1123
  filterSelect?: Function;
1120
1124
  /**
1121
1125
  * callback triggered by selecting a view - executed with the key as parameter
1126
+ */
1127
+ selectionChange?: Function;
1128
+ /**
1129
+ * callback triggered when restoreDefaults is called - allows custom views to reset their state
1122
1130
  *
1123
1131
  * Note: This API is designed to fulfill the need of adding visual filters to "Adapt Filters" dialog so
1124
1132
  * applications can achieve the ALP scenario in free style. Other usages are not encouraged.
1125
1133
  */
1126
- selectionChange?: Function;
1134
+ reset?: Function;
1127
1135
  }
1128
1136
  ): void;
1129
1137
  /**
@@ -3844,6 +3852,11 @@ declare namespace sap {
3844
3852
  * Sets the current UI state of the `FilterBar` control.
3845
3853
  * The current UI state represents the data suite format.
3846
3854
  *
3855
+ * **Note:** When this method is called, any "Default Values" entries from the current filter state are
3856
+ * removed before the new UI state is applied. The values passed via the SelectionVariant are always displayed
3857
+ * as regular filter tokens. This means that after calling `setUiState`, the filter bar will never show
3858
+ * "Default Values" tokens — only the concrete values from the SelectionVariant are shown.
3859
+ *
3847
3860
  * @since 1.48
3848
3861
  */
3849
3862
  setUiState(
@@ -21721,6 +21734,11 @@ declare namespace sap {
21721
21734
  * Only the listed fields will have DefaultValues support enabled. Can be called before the SmartFilterBar
21722
21735
  * is initialized; the configuration will be applied once initialization completes.
21723
21736
  *
21737
+ * **Note:** When {@link sap.ui.comp.filterbar.FilterBar#setUiState} is called (e.g. during iAppState restore),
21738
+ * DefaultValues tokens are never displayed. Instead, only the concrete values from the SelectionVariant
21739
+ * are shown as regular filter tokens. This ensures that the externally provided state always takes precedence
21740
+ * over DefaultValues.
21741
+ *
21724
21742
  * @since 1.148
21725
21743
  */
21726
21744
  setDefaultValues(
@@ -21739,7 +21757,7 @@ declare namespace sap {
21739
21757
  * ```
21740
21758
  * Each key is a filter field property name. Each value is an array of condition objects with:
21741
21759
  * - `Sign` - "I" (include) or "E" (exclude)
21742
- * - `Option` - Operator such as "EQ", "BT", "CP", "GT", "LT", etc.
21760
+ * - `Option` - Operator such as "EQ", "BT", "GT", "LT", "Contains", etc.
21743
21761
  * - `Low` - The low value of the condition
21744
21762
  * - `High` - The high value (used with "BT" operator, otherwise `null`)
21745
21763
  */
@@ -36124,8 +36142,13 @@ declare namespace sap {
36124
36142
  | `{${string}}`;
36125
36143
 
36126
36144
  /**
36127
- * Overwrites the default Standard variant title. **Note**: This property has to be set during the `applySettings`
36128
- * method; it will be ignored otherwise.
36145
+ * Overwrites the default standard variant title. By default, the standard variant displays the text "Standard".
36146
+ * Use this property to customize the text displayed for the standard variant in the variant management
36147
+ * dropdown. The property supports data binding, for example, to i18n models for translation. **Note:**
36148
+ * This property must be set during control initialization (in the constructor or XML view declaration).
36149
+ * Setting it later via `setStandardItemText()` will have no effect.
36150
+ *
36151
+ * @since 1.28.0
36129
36152
  */
36130
36153
  standardItemText?:
36131
36154
  | string
@@ -38110,9 +38133,13 @@ declare namespace sap {
38110
38133
  /**
38111
38134
  * Gets current value of property {@link #getStandardItemText standardItemText}.
38112
38135
  *
38113
- * Overwrites the default Standard variant title. **Note**: This property has to be set during the `applySettings`
38114
- * method; it will be ignored otherwise.
38136
+ * Overwrites the default standard variant title. By default, the standard variant displays the text "Standard".
38137
+ * Use this property to customize the text displayed for the standard variant in the variant management
38138
+ * dropdown. The property supports data binding, for example, to i18n models for translation. **Note:**
38139
+ * This property must be set during control initialization (in the constructor or XML view declaration).
38140
+ * Setting it later via `setStandardItemText()` will have no effect.
38115
38141
  *
38142
+ * @since 1.28.0
38116
38143
  *
38117
38144
  * @returns Value of property `standardItemText`
38118
38145
  */
@@ -38465,11 +38492,15 @@ declare namespace sap {
38465
38492
  /**
38466
38493
  * Sets a new value for property {@link #getStandardItemText standardItemText}.
38467
38494
  *
38468
- * Overwrites the default Standard variant title. **Note**: This property has to be set during the `applySettings`
38469
- * method; it will be ignored otherwise.
38495
+ * Overwrites the default standard variant title. By default, the standard variant displays the text "Standard".
38496
+ * Use this property to customize the text displayed for the standard variant in the variant management
38497
+ * dropdown. The property supports data binding, for example, to i18n models for translation. **Note:**
38498
+ * This property must be set during control initialization (in the constructor or XML view declaration).
38499
+ * Setting it later via `setStandardItemText()` will have no effect.
38470
38500
  *
38471
38501
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
38472
38502
  *
38503
+ * @since 1.28.0
38473
38504
  *
38474
38505
  * @returns Reference to `this` in order to allow method chaining
38475
38506
  */