@sapui5/ts-types-esm 1.147.2 → 1.148.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/index.d.ts +7 -7
  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 +51 -11
  7. package/types/sap.esh.search.ui.d.ts +175 -34
  8. package/types/sap.f.d.ts +1 -1
  9. package/types/sap.fe.ariba.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +52 -1
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +18 -1
  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 +3 -1
  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 +19 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/{mobile-1.147.0-esm-d.ts → sap.m.d.ts} +193 -36
  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 +2 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +1 -1
  30. package/types/sap.suite.ui.commons.d.ts +1 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  32. package/types/sap.suite.ui.microchart.d.ts +1 -1
  33. package/types/{tnt-1.147.0-esm-d.ts → sap.tnt.d.ts} +1 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/{commons-1.147.0-esm-d.ts → sap.ui.commons.d.ts} +1 -1
  36. package/types/sap.ui.comp.d.ts +198 -4
  37. package/types/{core-1.147.0-esm-d.ts → sap.ui.core.d.ts} +264 -20
  38. package/types/{dt-1.147.0-esm-d.ts → sap.ui.dt.d.ts} +1 -1
  39. package/types/sap.ui.export.d.ts +150 -1
  40. package/types/sap.ui.fl.d.ts +25 -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 +6 -3
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/{mdc-1.147.0-esm-d.ts → sap.ui.mdc.d.ts} +237 -3
  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 +4 -4
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +1 -1
  54. package/types/{ux3-1.147.0-esm-d.ts → 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 +3 -3
  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.147.1
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/comp/library" {
4
4
  /**
@@ -21229,6 +21229,14 @@ declare module "sap/ui/comp/smartfilterbar/SmartFilterBar" {
21229
21229
  * @returns Value of property `defaultSelectionVariantName`
21230
21230
  */
21231
21231
  getDefaultSelectionVariantName(): string;
21232
+ /**
21233
+ * Returns the currently configured default values as a map of property names to condition ranges.
21234
+ *
21235
+ * @since 1.148
21236
+ *
21237
+ * @returns Map of property names to their condition ranges
21238
+ */
21239
+ getDefaultValues(): Object;
21232
21240
  /**
21233
21241
  * Reads the descriptions for given filters and value keys.
21234
21242
  *
@@ -21768,6 +21776,38 @@ declare module "sap/ui/comp/smartfilterbar/SmartFilterBar" {
21768
21776
  */
21769
21777
  sDefaultSelectionVariantName?: string
21770
21778
  ): this;
21779
+ /**
21780
+ * Configures which filter fields support the DefaultValues operation and sets their predefined conditions.
21781
+ * Only the listed fields will have DefaultValues support enabled. Can be called before the SmartFilterBar
21782
+ * is initialized; the configuration will be applied once initialization completes.
21783
+ *
21784
+ * @since 1.148
21785
+ */
21786
+ setDefaultValues(
21787
+ /**
21788
+ * Map of property names to their condition ranges, e.g.
21789
+ * ```javascript
21790
+ *
21791
+ * {
21792
+ * "Field1": [
21793
+ * { Sign: "I", Option: "EQ", Low: "value", High: null }
21794
+ * ],
21795
+ * "Field2": [
21796
+ * { Sign: "I", Option: "BT", Low: "low", High: "high" }
21797
+ * ]
21798
+ * }
21799
+ * ```
21800
+ * Each key is a filter field property name. Each value is an array of condition objects with:
21801
+ * - `Sign` - "I" (include) or "E" (exclude)
21802
+ * - `Option` - Operator such as "EQ", "BT", "CP", "GT", "LT", etc.
21803
+ * - `Low` - The low value of the condition
21804
+ * - `High` - The high value (used with "BT" operator, otherwise `null`)
21805
+ */
21806
+ oFieldConditions: Record<
21807
+ string,
21808
+ /* was: sap.ui.comp.smartfilterbar.SelectOptionType */ any[]
21809
+ >
21810
+ ): void;
21771
21811
  /**
21772
21812
  * Sets a new value for property {@link #getEnableBasicSearch enableBasicSearch}.
21773
21813
  *
@@ -31017,6 +31057,8 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
31017
31057
 
31018
31058
  import DataStateIndicator from "sap/m/plugins/DataStateIndicator";
31019
31059
 
31060
+ import TableExportSettings from "sap/ui/export/TableExportSettings";
31061
+
31020
31062
  import { Priority, TitleLevel, ID } from "sap/ui/core/library";
31021
31063
 
31022
31064
  import { smarttable } from "sap/ui/comp/library";
@@ -31034,6 +31076,8 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
31034
31076
  AggregationBindingInfo,
31035
31077
  } from "sap/ui/base/ManagedObject";
31036
31078
 
31079
+ import Filter from "sap/ui/export/util/Filter";
31080
+
31037
31081
  /**
31038
31082
  * Paste-related column information
31039
31083
  *
@@ -32052,6 +32096,14 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
32052
32096
  * @returns Reference to `this` in order to allow method chaining
32053
32097
  */
32054
32098
  destroyDataStateIndicator(): this;
32099
+ /**
32100
+ * Destroys the defaultExportSettings in the aggregation {@link #getDefaultExportSettings defaultExportSettings}.
32101
+ *
32102
+ * @since 1.148
32103
+ *
32104
+ * @returns Reference to `this` in order to allow method chaining
32105
+ */
32106
+ destroyDefaultExportSettings(): this;
32055
32107
  /**
32056
32108
  * Destroys all the filterControlConfiguration in the aggregation {@link #getFilterControlConfiguration filterControlConfiguration}.
32057
32109
  *
@@ -32751,6 +32803,22 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
32751
32803
  * @returns array of column keys
32752
32804
  */
32753
32805
  getDeactivatedColumns(): string[];
32806
+ /**
32807
+ * Gets content of aggregation {@link #getDefaultExportSettings defaultExportSettings}.
32808
+ *
32809
+ * Defines default values shown in the export dialog.
32810
+ *
32811
+ * Configure default values that are displayed in the export dialog. For example, the `fileName` property
32812
+ * of {@link sap.ui.export.TableExportSettings} defines the default file name shown in the export dialog.
32813
+ * If not specified, the table header is used.
32814
+ *
32815
+ * **Note:** These values are defaults shown to the user. The user can still modify them before export.
32816
+ * If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
32817
+ * event handlers.
32818
+ *
32819
+ * @since 1.148
32820
+ */
32821
+ getDefaultExportSettings(): TableExportSettings;
32754
32822
  /**
32755
32823
  * Gets current value of property {@link #getDemandPopin demandPopin}.
32756
32824
  *
@@ -33688,6 +33756,19 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
33688
33756
  */
33689
33757
  oDataStateIndicator: DataStateIndicator
33690
33758
  ): this;
33759
+ /**
33760
+ * Sets the aggregated {@link #getDefaultExportSettings defaultExportSettings}.
33761
+ *
33762
+ * @since 1.148
33763
+ *
33764
+ * @returns Reference to `this` in order to allow method chaining
33765
+ */
33766
+ setDefaultExportSettings(
33767
+ /**
33768
+ * The defaultExportSettings to set
33769
+ */
33770
+ oDefaultExportSettings: TableExportSettings
33771
+ ): this;
33691
33772
  /**
33692
33773
  * Sets a new value for property {@link #getDemandPopin demandPopin}.
33693
33774
  *
@@ -34020,10 +34101,10 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
34020
34101
  sLevel: string
34021
34102
  ): SmartTable;
34022
34103
  /**
34023
- * Sets the value for the `headerSty;e` property.
34104
+ * Sets the value for the `headerStyle` property.
34024
34105
  *
34025
34106
  *
34026
- * @returns Reference to this in order to allow method chaining
34107
+ * @returns Reference to `this` in order to allow method chaining
34027
34108
  */
34028
34109
  setHeaderStyle(
34029
34110
  /**
@@ -35220,6 +35301,21 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
35220
35301
  */
35221
35302
  useDateRangeType?: boolean | PropertyBindingInfo | `{${string}}`;
35222
35303
 
35304
+ /**
35305
+ * Defines default values shown in the export dialog.
35306
+ *
35307
+ * Configure default values that are displayed in the export dialog. For example, the `fileName` property
35308
+ * of {@link sap.ui.export.TableExportSettings} defines the default file name shown in the export dialog.
35309
+ * If not specified, the table header is used.
35310
+ *
35311
+ * **Note:** These values are defaults shown to the user. The user can still modify them before export.
35312
+ * If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
35313
+ * event handlers.
35314
+ *
35315
+ * @since 1.148
35316
+ */
35317
+ defaultExportSettings?: TableExportSettings;
35318
+
35223
35319
  /**
35224
35320
  * A toolbar that can be added by the user to define their own custom buttons, icons, etc. If this is specified,
35225
35321
  * the SmartTable control does not create an additional toolbar, but makes use of this one.
@@ -35511,7 +35607,7 @@ declare module "sap/ui/comp/smarttable/SmartTable" {
35511
35607
  /**
35512
35608
  * Filter settings that will be contained in the exported file
35513
35609
  */
35514
- filterSettings?: /* was: sap.ui.export.util.Filter */ any[];
35610
+ filterSettings?: Filter[];
35515
35611
  }
35516
35612
 
35517
35613
  /**
@@ -39271,6 +39367,19 @@ declare module "sap/ui/comp/state/UIState" {
39271
39367
  mSettings?: $UIStateSettings
39272
39368
  );
39273
39369
 
39370
+ /**
39371
+ * Scans the filter model data for fields that have a DefaultValues range.
39372
+ *
39373
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
39374
+ *
39375
+ * @returns the defaultValues structure or null
39376
+ */
39377
+ static calcDefaultValues(
39378
+ /**
39379
+ * the filter provider model data
39380
+ */
39381
+ mData: Record<string, any>
39382
+ ): object | null;
39274
39383
  /**
39275
39384
  * Constructs the value state out of a given selection variant and the current model data
39276
39385
  *
@@ -39348,6 +39457,23 @@ declare module "sap/ui/comp/state/UIState" {
39348
39457
  */
39349
39458
  aIgnoreSelOptionNames: Object[]
39350
39459
  ): Record<string, Object[]>;
39460
+ /**
39461
+ * Enriches the internal filter bar value format with DefaultValues skeleton ranges.
39462
+ *
39463
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
39464
+ *
39465
+ * @returns enriched the filter bar inner data format
39466
+ */
39467
+ static enrichWithDefaultValues(
39468
+ /**
39469
+ * the filter bar inner data format
39470
+ */
39471
+ sPayload: string,
39472
+ /**
39473
+ * DefaultValues field information
39474
+ */
39475
+ oDefaultValues: object
39476
+ ): string;
39351
39477
  /**
39352
39478
  * Enriches the internal filter bar value format with the semantic date information.
39353
39479
  *
@@ -39413,6 +39539,28 @@ declare module "sap/ui/comp/state/UIState" {
39413
39539
  * @returns Metadata object describing this class
39414
39540
  */
39415
39541
  static getMetadata(): ManagedObjectMetadata;
39542
+ /**
39543
+ * Gets current value of property {@link #getDefaultValues defaultValues}.
39544
+ *
39545
+ * Structure containing field names that use the DefaultValues operation.
39546
+ *
39547
+ *
39548
+ * ```javascript
39549
+ *
39550
+ * {
39551
+ * Fields: [
39552
+ * {
39553
+ * PropertyName: string
39554
+ * }
39555
+ * ]
39556
+ * }
39557
+ * ```
39558
+ *
39559
+ *
39560
+ *
39561
+ * @returns Value of property `defaultValues`
39562
+ */
39563
+ getDefaultValues(): object;
39416
39564
  /**
39417
39565
  * Gets current value of property {@link #getOrderedItems orderedItems}.
39418
39566
  *
@@ -39583,6 +39731,35 @@ declare module "sap/ui/comp/state/UIState" {
39583
39731
  * @returns Value of property `variantName`
39584
39732
  */
39585
39733
  getVariantName(): string;
39734
+ /**
39735
+ * Sets a new value for property {@link #getDefaultValues defaultValues}.
39736
+ *
39737
+ * Structure containing field names that use the DefaultValues operation.
39738
+ *
39739
+ *
39740
+ * ```javascript
39741
+ *
39742
+ * {
39743
+ * Fields: [
39744
+ * {
39745
+ * PropertyName: string
39746
+ * }
39747
+ * ]
39748
+ * }
39749
+ * ```
39750
+ *
39751
+ *
39752
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
39753
+ *
39754
+ *
39755
+ * @returns Reference to `this` in order to allow method chaining
39756
+ */
39757
+ setDefaultValues(
39758
+ /**
39759
+ * New value for property `defaultValues`
39760
+ */
39761
+ oDefaultValues: object
39762
+ ): this;
39586
39763
  /**
39587
39764
  * Sets a new value for property {@link #getOrderedItems orderedItems}.
39588
39765
  *
@@ -39924,6 +40101,23 @@ declare module "sap/ui/comp/state/UIState" {
39924
40101
  */
39925
40102
  semanticDates?: object | PropertyBindingInfo | `{${string}}`;
39926
40103
 
40104
+ /**
40105
+ * Structure containing field names that use the DefaultValues operation.
40106
+ *
40107
+ *
40108
+ * ```javascript
40109
+ *
40110
+ * {
40111
+ * Fields: [
40112
+ * {
40113
+ * PropertyName: string
40114
+ * }
40115
+ * ]
40116
+ * }
40117
+ * ```
40118
+ */
40119
+ defaultValues?: object | PropertyBindingInfo | `{${string}}`;
40120
+
39927
40121
  /**
39928
40122
  * Structure containing table related settings. The properties might be related to a specific table type
39929
40123
  * and will be ignored if a different table type is used.