@openui5/types 1.118.0 → 1.119.1

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.
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.1
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -1416,6 +1416,15 @@ declare module "sap/m/library" {
1416
1416
  ): void;
1417
1417
  }
1418
1418
 
1419
+ /**
1420
+ * @since 1.119
1421
+ *
1422
+ * Common interface for sap.m.ColumnListItem and sap.m.GroupHeaderListItem
1423
+ */
1424
+ export interface ITableItem {
1425
+ __implements__sap_m_ITableItem: boolean;
1426
+ }
1427
+
1419
1428
  /**
1420
1429
  * Available label display modes.
1421
1430
  */
@@ -3396,6 +3405,26 @@ declare module "sap/m/library" {
3396
3405
  }
3397
3406
  }
3398
3407
 
3408
+ export namespace plugins {
3409
+ /**
3410
+ * @since 1.119
3411
+ *
3412
+ * Enumeration of the `copyPreference` in `CopyProvider`. Determines what is copied during a copy operation.
3413
+ */
3414
+ enum CopyPreference {
3415
+ /**
3416
+ * If cells are selected, only the content of the selected cells is copied, regardless of any other rows
3417
+ * or elements that might also be selected. If no cells are selected, the copy operation will default to
3418
+ * copying the selected rows.
3419
+ */
3420
+ Cells = "Cells",
3421
+ /**
3422
+ * The entire selected scope is copied, including both row and cell selection.
3423
+ */
3424
+ Full = "Full",
3425
+ }
3426
+ }
3427
+
3399
3428
  export namespace semantic {
3400
3429
  /**
3401
3430
  * Marker interface for controls which are suitable as items of the filter aggregation of sap.m.Semantic.MasterPage.
@@ -13632,6 +13661,8 @@ declare module "sap/m/ColumnListItem" {
13632
13661
  $ListItemBaseSettings,
13633
13662
  } from "sap/m/ListItemBase";
13634
13663
 
13664
+ import { ITableItem } from "sap/m/library";
13665
+
13635
13666
  import Control from "sap/ui/core/Control";
13636
13667
 
13637
13668
  import {
@@ -13652,7 +13683,10 @@ declare module "sap/m/ColumnListItem" {
13652
13683
  * **Note:** This control should only be used within the `sap.m.Table` control. The inherited `counter`
13653
13684
  * property of `sap.m.ListItemBase` is not supported.
13654
13685
  */
13655
- export default class ColumnListItem extends ListItemBase {
13686
+ export default class ColumnListItem
13687
+ extends ListItemBase
13688
+ implements ITableItem {
13689
+ __implements__sap_m_ITableItem: boolean;
13656
13690
  /**
13657
13691
  * Constructor for a new ColumnListItem.
13658
13692
  *
@@ -25623,11 +25657,12 @@ declare module "sap/m/FeedInput" {
25623
25657
  mParameters?: FeedInput$PostEventParameters
25624
25658
  ): this;
25625
25659
  /**
25660
+ * @deprecated (since 1.88) - This will not have any effect in code now.
25661
+ *
25626
25662
  * Gets current value of property {@link #getAriaLabelForPicture ariaLabelForPicture}.
25627
25663
  *
25628
25664
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
25629
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
25630
- * in code now.
25665
+ * set ariaLabelForPicture is deactivated.
25631
25666
  *
25632
25667
  * @returns Value of property `ariaLabelForPicture`
25633
25668
  */
@@ -25688,6 +25723,8 @@ declare module "sap/m/FeedInput" {
25688
25723
  */
25689
25724
  getIcon(): URI;
25690
25725
  /**
25726
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
25727
+ *
25691
25728
  * Gets current value of property {@link #getIconDensityAware iconDensityAware}.
25692
25729
  *
25693
25730
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
@@ -25700,8 +25737,6 @@ declare module "sap/m/FeedInput" {
25700
25737
  *
25701
25738
  * Please be aware that this property is relevant only for images and not for icons.
25702
25739
  *
25703
- * Deprecated as of version 1.88. Image is replaced by avatar.
25704
- *
25705
25740
  * Default value is `true`.
25706
25741
  *
25707
25742
  * @returns Value of property `iconDensityAware`
@@ -25810,11 +25845,12 @@ declare module "sap/m/FeedInput" {
25810
25845
  */
25811
25846
  getValue(): string;
25812
25847
  /**
25848
+ * @deprecated (since 1.88) - This will not have any effect in code now.
25849
+ *
25813
25850
  * Sets a new value for property {@link #getAriaLabelForPicture ariaLabelForPicture}.
25814
25851
  *
25815
25852
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
25816
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
25817
- * in code now.
25853
+ * set ariaLabelForPicture is deactivated.
25818
25854
  *
25819
25855
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25820
25856
  *
@@ -25917,6 +25953,8 @@ declare module "sap/m/FeedInput" {
25917
25953
  sIcon?: URI
25918
25954
  ): this;
25919
25955
  /**
25956
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
25957
+ *
25920
25958
  * Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
25921
25959
  *
25922
25960
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
@@ -25929,8 +25967,6 @@ declare module "sap/m/FeedInput" {
25929
25967
  *
25930
25968
  * Please be aware that this property is relevant only for images and not for icons.
25931
25969
  *
25932
- * Deprecated as of version 1.88. Image is replaced by avatar.
25933
- *
25934
25970
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25935
25971
  *
25936
25972
  * Default value is `true`.
@@ -26200,6 +26236,8 @@ declare module "sap/m/FeedInput" {
26200
26236
  showIcon?: boolean | PropertyBindingInfo | `{${string}}`;
26201
26237
 
26202
26238
  /**
26239
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
26240
+ *
26203
26241
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
26204
26242
  * image resources for all relevant densities. If the property is set to "true", one or more requests are
26205
26243
  * sent to the server to try and get the perfect density version of an image. If an image of a certain density
@@ -26209,8 +26247,6 @@ declare module "sap/m/FeedInput" {
26209
26247
  * round-trips.
26210
26248
  *
26211
26249
  * Please be aware that this property is relevant only for images and not for icons.
26212
- *
26213
- * Deprecated as of version 1.88. Image is replaced by avatar.
26214
26250
  */
26215
26251
  iconDensityAware?: boolean | PropertyBindingInfo | `{${string}}`;
26216
26252
 
@@ -26224,9 +26260,10 @@ declare module "sap/m/FeedInput" {
26224
26260
  buttonTooltip?: TooltipBase | PropertyBindingInfo | `{${string}}`;
26225
26261
 
26226
26262
  /**
26263
+ * @deprecated (since 1.88) - This will not have any effect in code now.
26264
+ *
26227
26265
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
26228
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
26229
- * in code now.
26266
+ * set ariaLabelForPicture is deactivated.
26230
26267
  */
26231
26268
  ariaLabelForPicture?: string | PropertyBindingInfo;
26232
26269
 
@@ -26578,6 +26615,8 @@ declare module "sap/m/FeedListItem" {
26578
26615
  */
26579
26616
  getIconActive(): boolean;
26580
26617
  /**
26618
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
26619
+ *
26581
26620
  * Gets current value of property {@link #getIconDensityAware iconDensityAware}.
26582
26621
  *
26583
26622
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
@@ -26585,8 +26624,6 @@ declare module "sap/m/FeedListItem" {
26585
26624
  *
26586
26625
  * If bandwidth is the key for the application, set this value to false.
26587
26626
  *
26588
- * Deprecated as of version 1.88. Image is replaced by avatar.
26589
- *
26590
26627
  * Default value is `true`.
26591
26628
  *
26592
26629
  * @returns Value of property `iconDensityAware`
@@ -26864,6 +26901,8 @@ declare module "sap/m/FeedListItem" {
26864
26901
  bIconActive?: boolean
26865
26902
  ): this;
26866
26903
  /**
26904
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
26905
+ *
26867
26906
  * Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
26868
26907
  *
26869
26908
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
@@ -26871,8 +26910,6 @@ declare module "sap/m/FeedListItem" {
26871
26910
  *
26872
26911
  * If bandwidth is the key for the application, set this value to false.
26873
26912
  *
26874
- * Deprecated as of version 1.88. Image is replaced by avatar.
26875
- *
26876
26913
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
26877
26914
  *
26878
26915
  * Default value is `true`.
@@ -27198,12 +27235,12 @@ declare module "sap/m/FeedListItem" {
27198
27235
  iconActive?: boolean | PropertyBindingInfo | `{${string}}`;
27199
27236
 
27200
27237
  /**
27238
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
27239
+ *
27201
27240
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
27202
27241
  * version of image if this version of image doesn't exist on the server.
27203
27242
  *
27204
27243
  * If bandwidth is the key for the application, set this value to false.
27205
- *
27206
- * Deprecated as of version 1.88. Image is replaced by avatar.
27207
27244
  */
27208
27245
  iconDensityAware?: boolean | PropertyBindingInfo | `{${string}}`;
27209
27246
 
@@ -31188,6 +31225,8 @@ declare module "sap/m/GroupHeaderListItem" {
31188
31225
  $ListItemBaseSettings,
31189
31226
  } from "sap/m/ListItemBase";
31190
31227
 
31228
+ import { ITableItem } from "sap/m/library";
31229
+
31191
31230
  import ElementMetadata from "sap/ui/core/ElementMetadata";
31192
31231
 
31193
31232
  import { TextDirection } from "sap/ui/core/library";
@@ -31201,7 +31240,10 @@ declare module "sap/m/GroupHeaderListItem" {
31201
31240
  * in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`
31202
31241
  * and `press` event from `sap.m.ListItemBase` are not supported.
31203
31242
  */
31204
- export default class GroupHeaderListItem extends ListItemBase {
31243
+ export default class GroupHeaderListItem
31244
+ extends ListItemBase
31245
+ implements ITableItem {
31246
+ __implements__sap_m_ITableItem: boolean;
31205
31247
  /**
31206
31248
  * Constructor for a new GroupHeaderListItem.
31207
31249
  *
@@ -37960,9 +38002,7 @@ declare module "sap/m/Input" {
37960
38002
 
37961
38003
  import Item from "sap/ui/core/Item";
37962
38004
 
37963
- import ColumnListItem from "sap/m/ColumnListItem";
37964
-
37965
- import GroupHeaderListItem from "sap/m/GroupHeaderListItem";
38005
+ import { ITableItem, InputTextFormatMode, InputType } from "sap/m/library";
37966
38006
 
37967
38007
  import {
37968
38008
  AggregationBindingInfo,
@@ -37971,7 +38011,7 @@ declare module "sap/m/Input" {
37971
38011
 
37972
38012
  import ElementMetadata from "sap/ui/core/ElementMetadata";
37973
38013
 
37974
- import { InputTextFormatMode, InputType } from "sap/m/library";
38014
+ import ColumnListItem from "sap/m/ColumnListItem";
37975
38015
 
37976
38016
  import Event from "sap/ui/base/Event";
37977
38017
 
@@ -38143,7 +38183,7 @@ declare module "sap/m/Input" {
38143
38183
  /**
38144
38184
  * The suggestionRow to add; if empty, nothing is inserted
38145
38185
  */
38146
- vSuggestionRow: ColumnListItem | GroupHeaderListItem
38186
+ oSuggestionRow: ITableItem
38147
38187
  ): this;
38148
38188
  /**
38149
38189
  * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.m.Input`.
@@ -38941,7 +38981,7 @@ declare module "sap/m/Input" {
38941
38981
  * event method. **Note:** If `suggestionItems` & `suggestionRows` are set in parallel, the last aggeragtion
38942
38982
  * to come would overwrite the previous ones.
38943
38983
  */
38944
- getSuggestionRows(): Array<ColumnListItem | GroupHeaderListItem>;
38984
+ getSuggestionRows(): ITableItem[];
38945
38985
  /**
38946
38986
  * @since 1.44
38947
38987
  *
@@ -39011,6 +39051,7 @@ declare module "sap/m/Input" {
39011
39051
  getValueHelpIconSrc(): URI;
39012
39052
  /**
39013
39053
  * @since 1.21.0
39054
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
39014
39055
  *
39015
39056
  * Gets current value of property {@link #getValueHelpOnly valueHelpOnly}.
39016
39057
  *
@@ -39083,7 +39124,7 @@ declare module "sap/m/Input" {
39083
39124
  /**
39084
39125
  * @since 1.21.1
39085
39126
  *
39086
- * Checks for the provided `sap.m.ColumnListItem` in the aggregation {@link #getSuggestionRows suggestionRows}.
39127
+ * Checks for the provided `sap.m.ITableItem` in the aggregation {@link #getSuggestionRows suggestionRows}.
39087
39128
  * and returns its index if found or -1 otherwise.
39088
39129
  *
39089
39130
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
@@ -39092,7 +39133,7 @@ declare module "sap/m/Input" {
39092
39133
  /**
39093
39134
  * The suggestionRow whose index is looked for
39094
39135
  */
39095
- vSuggestionRow: ColumnListItem | GroupHeaderListItem
39136
+ oSuggestionRow: ITableItem
39096
39137
  ): int;
39097
39138
  /**
39098
39139
  * @since 1.21.1
@@ -39139,7 +39180,7 @@ declare module "sap/m/Input" {
39139
39180
  /**
39140
39181
  * The suggestionRow to insert; if empty, nothing is inserted
39141
39182
  */
39142
- vSuggestionRow: ColumnListItem | GroupHeaderListItem,
39183
+ oSuggestionRow: ITableItem,
39143
39184
  /**
39144
39185
  * The `0`-based index the suggestionRow should be inserted at; for a negative value of `iIndex`, the suggestionRow
39145
39186
  * is inserted at position 0; for a value greater than the current size of the aggregation, the suggestionRow
@@ -39162,6 +39203,7 @@ declare module "sap/m/Input" {
39162
39203
  */
39163
39204
  isMobileDevice(): boolean;
39164
39205
  /**
39206
+ * @deprecated (since 1.119) - the property valueHelpOnly should not be used anymore
39165
39207
  * @ui5-protected Do not call from applications (only from related classes in the framework)
39166
39208
  *
39167
39209
  * Gets the supported openers for the valueHelpOnly. In the context of the Input, all targets are valid.
@@ -39297,7 +39339,7 @@ declare module "sap/m/Input" {
39297
39339
  *
39298
39340
  * @returns An array of the removed elements (might be empty)
39299
39341
  */
39300
- removeAllSuggestionRows(): Array<ColumnListItem | GroupHeaderListItem>;
39342
+ removeAllSuggestionRows(): ITableItem[];
39301
39343
  /**
39302
39344
  * @since 1.21.1
39303
39345
  *
@@ -39333,8 +39375,8 @@ declare module "sap/m/Input" {
39333
39375
  /**
39334
39376
  * The suggestionRow to remove or its index or id
39335
39377
  */
39336
- vSuggestionRow: int | string | ColumnListItem | GroupHeaderListItem
39337
- ): ColumnListItem | GroupHeaderListItem | null;
39378
+ vSuggestionRow: int | string | ITableItem
39379
+ ): ITableItem | null;
39338
39380
  /**
39339
39381
  * @since 1.61
39340
39382
  *
@@ -39841,6 +39883,7 @@ declare module "sap/m/Input" {
39841
39883
  ): this;
39842
39884
  /**
39843
39885
  * @since 1.21.0
39886
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
39844
39887
  *
39845
39888
  * Sets a new value for property {@link #getValueHelpOnly valueHelpOnly}.
39846
39889
  *
@@ -40015,6 +40058,7 @@ declare module "sap/m/Input" {
40015
40058
 
40016
40059
  /**
40017
40060
  * @since 1.21.0
40061
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
40018
40062
  *
40019
40063
  * If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest"
40020
40064
  * for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true,
@@ -40198,9 +40242,8 @@ declare module "sap/m/Input" {
40198
40242
  * to come would overwrite the previous ones.
40199
40243
  */
40200
40244
  suggestionRows?:
40201
- | Array<GroupHeaderListItem | ColumnListItem>
40202
- | GroupHeaderListItem
40203
- | ColumnListItem
40245
+ | ITableItem[]
40246
+ | ITableItem
40204
40247
  | AggregationBindingInfo
40205
40248
  | `{${string}}`;
40206
40249
 
@@ -56750,6 +56793,7 @@ declare module "sap/m/MultiInput" {
56750
56793
  iIndex: int
56751
56794
  ): this;
56752
56795
  /**
56796
+ * @deprecated (since 1.119) - the property valueHelpOnly should not be used anymore
56753
56797
  * @ui5-protected Do not call from applications (only from related classes in the framework)
56754
56798
  *
56755
56799
  * Gets the supported openers for the valueHelpOnly.
@@ -68424,6 +68468,8 @@ declare module "sap/m/p13n/SelectionPanel" {
68424
68468
 
68425
68469
  import ElementMetadata from "sap/ui/core/ElementMetadata";
68426
68470
 
68471
+ import { MultiSelectMode } from "sap/m/library";
68472
+
68427
68473
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
68428
68474
 
68429
68475
  /**
@@ -68536,6 +68582,16 @@ declare module "sap/m/p13n/SelectionPanel" {
68536
68582
  * @returns Value of property `itemFactory`
68537
68583
  */
68538
68584
  getItemFactory(): Function;
68585
+ /**
68586
+ * Gets current value of property {@link #getMultiSelectMode multiSelectMode}.
68587
+ *
68588
+ * Defines the multi-selection mode for the inner list control.
68589
+ *
68590
+ * Default value is `ClearAll`.
68591
+ *
68592
+ * @returns Value of property `multiSelectMode`
68593
+ */
68594
+ getMultiSelectMode(): MultiSelectMode | keyof typeof MultiSelectMode;
68539
68595
  /**
68540
68596
  * Gets current value of property {@link #getShowHeader showHeader}.
68541
68597
  *
@@ -68628,6 +68684,23 @@ declare module "sap/m/p13n/SelectionPanel" {
68628
68684
  */
68629
68685
  fnItemFactory: Function
68630
68686
  ): this;
68687
+ /**
68688
+ * Sets a new value for property {@link #getMultiSelectMode multiSelectMode}.
68689
+ *
68690
+ * Defines the multi-selection mode for the inner list control.
68691
+ *
68692
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
68693
+ *
68694
+ * Default value is `ClearAll`.
68695
+ *
68696
+ * @returns Reference to `this` in order to allow method chaining
68697
+ */
68698
+ setMultiSelectMode(
68699
+ /**
68700
+ * New value for property `multiSelectMode`
68701
+ */
68702
+ sMultiSelectMode?: MultiSelectMode | keyof typeof MultiSelectMode
68703
+ ): this;
68631
68704
  /**
68632
68705
  * Sets the personalization state of the panel instance.
68633
68706
  *
@@ -68712,6 +68785,14 @@ declare module "sap/m/p13n/SelectionPanel" {
68712
68785
  * a focusable children control to provide the `labelFor` reference for the associated text.
68713
68786
  */
68714
68787
  itemFactory?: Function | PropertyBindingInfo | `{${string}}`;
68788
+
68789
+ /**
68790
+ * Defines the multi-selection mode for the inner list control.
68791
+ */
68792
+ multiSelectMode?:
68793
+ | (MultiSelectMode | keyof typeof MultiSelectMode)
68794
+ | PropertyBindingInfo
68795
+ | `{${string}}`;
68715
68796
  }
68716
68797
  }
68717
68798
 
@@ -79458,6 +79539,7 @@ declare module "sap/m/PlanningCalendar" {
79458
79539
  ): this;
79459
79540
  /**
79460
79541
  * @since 1.46.0
79542
+ * @deprecated (since 1.119)
79461
79543
  *
79462
79544
  * Attaches event handler `fnFunction` to the {@link #event:rowHeaderClick rowHeaderClick} event of this
79463
79545
  * `sap.m.PlanningCalendar`.
@@ -79486,6 +79568,7 @@ declare module "sap/m/PlanningCalendar" {
79486
79568
  ): this;
79487
79569
  /**
79488
79570
  * @since 1.46.0
79571
+ * @deprecated (since 1.119)
79489
79572
  *
79490
79573
  * Attaches event handler `fnFunction` to the {@link #event:rowHeaderClick rowHeaderClick} event of this
79491
79574
  * `sap.m.PlanningCalendar`.
@@ -79507,6 +79590,57 @@ declare module "sap/m/PlanningCalendar" {
79507
79590
  */
79508
79591
  oListener?: object
79509
79592
  ): this;
79593
+ /**
79594
+ * @since 1.119.0
79595
+ *
79596
+ * Attaches event handler `fnFunction` to the {@link #event:rowHeaderPress rowHeaderPress} event of this
79597
+ * `sap.m.PlanningCalendar`.
79598
+ *
79599
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
79600
+ * otherwise it will be bound to this `sap.m.PlanningCalendar` itself.
79601
+ *
79602
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
79603
+ *
79604
+ * @returns Reference to `this` in order to allow method chaining
79605
+ */
79606
+ attachRowHeaderPress(
79607
+ /**
79608
+ * An application-specific payload object that will be passed to the event handler along with the event
79609
+ * object when firing the event
79610
+ */
79611
+ oData: object,
79612
+ /**
79613
+ * The function to be called when the event occurs
79614
+ */
79615
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
79616
+ /**
79617
+ * Context object to call the event handler with. Defaults to this `sap.m.PlanningCalendar` itself
79618
+ */
79619
+ oListener?: object
79620
+ ): this;
79621
+ /**
79622
+ * @since 1.119.0
79623
+ *
79624
+ * Attaches event handler `fnFunction` to the {@link #event:rowHeaderPress rowHeaderPress} event of this
79625
+ * `sap.m.PlanningCalendar`.
79626
+ *
79627
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
79628
+ * otherwise it will be bound to this `sap.m.PlanningCalendar` itself.
79629
+ *
79630
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
79631
+ *
79632
+ * @returns Reference to `this` in order to allow method chaining
79633
+ */
79634
+ attachRowHeaderPress(
79635
+ /**
79636
+ * The function to be called when the event occurs
79637
+ */
79638
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
79639
+ /**
79640
+ * Context object to call the event handler with. Defaults to this `sap.m.PlanningCalendar` itself
79641
+ */
79642
+ oListener?: object
79643
+ ): this;
79510
79644
  /**
79511
79645
  * Attaches event handler `fnFunction` to the {@link #event:rowSelectionChange rowSelectionChange} event
79512
79646
  * of this `sap.m.PlanningCalendar`.
@@ -79714,6 +79848,7 @@ declare module "sap/m/PlanningCalendar" {
79714
79848
  ): this;
79715
79849
  /**
79716
79850
  * @since 1.46.0
79851
+ * @deprecated (since 1.119)
79717
79852
  *
79718
79853
  * Detaches event handler `fnFunction` from the {@link #event:rowHeaderClick rowHeaderClick} event of this
79719
79854
  * `sap.m.PlanningCalendar`.
@@ -79732,6 +79867,26 @@ declare module "sap/m/PlanningCalendar" {
79732
79867
  */
79733
79868
  oListener?: object
79734
79869
  ): this;
79870
+ /**
79871
+ * @since 1.119.0
79872
+ *
79873
+ * Detaches event handler `fnFunction` from the {@link #event:rowHeaderPress rowHeaderPress} event of this
79874
+ * `sap.m.PlanningCalendar`.
79875
+ *
79876
+ * The passed function and listener object must match the ones used for event registration.
79877
+ *
79878
+ * @returns Reference to `this` in order to allow method chaining
79879
+ */
79880
+ detachRowHeaderPress(
79881
+ /**
79882
+ * The function to be called, when the event occurs
79883
+ */
79884
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
79885
+ /**
79886
+ * Context object on which the given function had to be called
79887
+ */
79888
+ oListener?: object
79889
+ ): this;
79735
79890
  /**
79736
79891
  * Detaches event handler `fnFunction` from the {@link #event:rowSelectionChange rowSelectionChange} event
79737
79892
  * of this `sap.m.PlanningCalendar`.
@@ -79813,6 +79968,7 @@ declare module "sap/m/PlanningCalendar" {
79813
79968
  ): this;
79814
79969
  /**
79815
79970
  * @since 1.46.0
79971
+ * @deprecated (since 1.119)
79816
79972
  * @ui5-protected Do not call from applications (only from related classes in the framework)
79817
79973
  *
79818
79974
  * Fires event {@link #event:rowHeaderClick rowHeaderClick} to attached listeners.
@@ -79825,6 +79981,20 @@ declare module "sap/m/PlanningCalendar" {
79825
79981
  */
79826
79982
  mParameters?: PlanningCalendar$RowHeaderClickEventParameters
79827
79983
  ): this;
79984
+ /**
79985
+ * @since 1.119.0
79986
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
79987
+ *
79988
+ * Fires event {@link #event:rowHeaderPress rowHeaderPress} to attached listeners.
79989
+ *
79990
+ * @returns Reference to `this` in order to allow method chaining
79991
+ */
79992
+ fireRowHeaderPress(
79993
+ /**
79994
+ * Parameters to pass along with the event
79995
+ */
79996
+ mParameters?: PlanningCalendar$RowHeaderPressEventParameters
79997
+ ): this;
79828
79998
  /**
79829
79999
  * @ui5-protected Do not call from applications (only from related classes in the framework)
79830
80000
  *
@@ -79896,6 +80066,7 @@ declare module "sap/m/PlanningCalendar" {
79896
80066
  | keyof typeof CalendarAppointmentRoundWidth;
79897
80067
  /**
79898
80068
  * @since 1.38.0
80069
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
79899
80070
  *
79900
80071
  * Gets current value of property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
79901
80072
  *
@@ -80562,6 +80733,7 @@ declare module "sap/m/PlanningCalendar" {
80562
80733
  ): this;
80563
80734
  /**
80564
80735
  * @since 1.38.0
80736
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
80565
80737
  *
80566
80738
  * Sets a new value for property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
80567
80739
  *
@@ -81100,6 +81272,7 @@ declare module "sap/m/PlanningCalendar" {
81100
81272
 
81101
81273
  /**
81102
81274
  * @since 1.38.0
81275
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
81103
81276
  *
81104
81277
  * Determines whether the appointments that have only title without text are rendered with smaller height.
81105
81278
  *
@@ -81370,10 +81543,18 @@ declare module "sap/m/PlanningCalendar" {
81370
81543
 
81371
81544
  /**
81372
81545
  * @since 1.46.0
81546
+ * @deprecated (since 1.119)
81373
81547
  *
81374
81548
  * Fires when a row header is clicked.
81375
81549
  */
81376
81550
  rowHeaderClick?: (oEvent: PlanningCalendar$RowHeaderClickEvent) => void;
81551
+
81552
+ /**
81553
+ * @since 1.119.0
81554
+ *
81555
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
81556
+ */
81557
+ rowHeaderPress?: (oEvent: PlanningCalendar$RowHeaderPressEvent) => void;
81377
81558
  }
81378
81559
 
81379
81560
  export interface PlanningCalendar$AppointmentSelectEventParameters {
@@ -81451,6 +81632,26 @@ declare module "sap/m/PlanningCalendar" {
81451
81632
  PlanningCalendar
81452
81633
  >;
81453
81634
 
81635
+ export interface PlanningCalendar$RowHeaderPressEventParameters {
81636
+ /**
81637
+ * The ID of the `PlanningCalendarRowHeader` of the selected appointment.
81638
+ *
81639
+ * **Note:** Intended to be used as an easy way to get an ID of a `PlanningCalendarRowHeader`. Do NOT use
81640
+ * for modification.
81641
+ */
81642
+ headerId?: string;
81643
+
81644
+ /**
81645
+ * The row user pressed.
81646
+ */
81647
+ row?: PlanningCalendarRow;
81648
+ }
81649
+
81650
+ export type PlanningCalendar$RowHeaderPressEvent = Event<
81651
+ PlanningCalendar$RowHeaderPressEventParameters,
81652
+ PlanningCalendar
81653
+ >;
81654
+
81454
81655
  export interface PlanningCalendar$RowSelectionChangeEventParameters {
81455
81656
  /**
81456
81657
  * Array of rows whose selection has changed.
@@ -83776,6 +83977,160 @@ declare module "sap/m/PlanningCalendarView" {
83776
83977
  }
83777
83978
  }
83778
83979
 
83980
+ declare module "sap/m/plugins/CellSelector" {
83981
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
83982
+
83983
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
83984
+
83985
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
83986
+
83987
+ /**
83988
+ * @since 1.119
83989
+ * @experimental (since 1.119) - This class is experimental. The API might be changed in the future.
83990
+ *
83991
+ * The `CellSelector` plugin enables cell selection inside the table when it is added as a dependent to
83992
+ * the control. It allows the user to individually select a cell block.
83993
+ *
83994
+ * The `CellSelector` plugin currently does not offer touch support.
83995
+ *
83996
+ * The `CellSelector` plugin cannot be used if the following applies:
83997
+ * - Drag for rows is active
83998
+ * - The target control is not a {@link sap.ui.table.Table}
83999
+ * - If used in combination with {@link sap.ui.table.Table#cellClick} If used in combination with
84000
+ * the following selection behavior: `sap.ui.table.SelectionBehavior.RowOnly` and `sap.ui.table.SelectionBehavior.Row`
84001
+ *
84002
+ *
84003
+ * When the `CellSelector` is used in combination with the {@link sap.ui.mdc.Table}, modifying the following
84004
+ * settings on the {@link sap.ui.mdc.Table} may lead to problems:
84005
+ * - attaching a {@link sap.ui.mdc.Table#rowPress rowPress} event to the table after initialization of
84006
+ * table and plugin
84007
+ * - changing {@link sap.ui.mdc.Table#getSelectionMode selectionMode} to something else than `Multi`
84008
+ */
84009
+ export default class CellSelector extends UI5Element {
84010
+ /**
84011
+ * Constructor for a new CellSelector plugin.
84012
+ *
84013
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
84014
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
84015
+ * of the syntax of the settings object.
84016
+ */
84017
+ constructor(
84018
+ /**
84019
+ * Initial settings for the new `CellSelector`
84020
+ */
84021
+ mSettings?: $CellSelectorSettings
84022
+ );
84023
+ /**
84024
+ * Constructor for a new CellSelector plugin.
84025
+ *
84026
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
84027
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
84028
+ * of the syntax of the settings object.
84029
+ */
84030
+ constructor(
84031
+ /**
84032
+ * ID for the new `CellSelector`, generated automatically if no id is given
84033
+ */
84034
+ sId?: string,
84035
+ /**
84036
+ * Initial settings for the new `CellSelector`
84037
+ */
84038
+ mSettings?: $CellSelectorSettings
84039
+ );
84040
+
84041
+ /**
84042
+ * Creates a new subclass of class sap.m.plugins.CellSelector with name `sClassName` and enriches it with
84043
+ * the information contained in `oClassInfo`.
84044
+ *
84045
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
84046
+ *
84047
+ * @returns Created class / constructor function
84048
+ */
84049
+ static extend<T extends Record<string, unknown>>(
84050
+ /**
84051
+ * Name of the class being created
84052
+ */
84053
+ sClassName: string,
84054
+ /**
84055
+ * Object literal with information about the class
84056
+ */
84057
+ oClassInfo?: sap.ClassInfo<T, CellSelector>,
84058
+ /**
84059
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
84060
+ * used by this class
84061
+ */
84062
+ FNMetaImpl?: Function
84063
+ ): Function;
84064
+ /**
84065
+ * Returns a metadata object for class sap.m.plugins.CellSelector.
84066
+ *
84067
+ * @returns Metadata object describing this class
84068
+ */
84069
+ static getMetadata(): ElementMetadata;
84070
+ /**
84071
+ * Gets current value of property {@link #getRangeLimit rangeLimit}.
84072
+ *
84073
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
84074
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
84075
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
84076
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
84077
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
84078
+ * value of 200 in the following cases:
84079
+ * - With client-side models
84080
+ * - With server-side models if they are used in client mode
84081
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
84082
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
84083
+ *
84084
+ * Default value is `200`.
84085
+ *
84086
+ * @returns Value of property `rangeLimit`
84087
+ */
84088
+ getRangeLimit(): int;
84089
+ /**
84090
+ * Sets a new value for property {@link #getRangeLimit rangeLimit}.
84091
+ *
84092
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
84093
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
84094
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
84095
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
84096
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
84097
+ * value of 200 in the following cases:
84098
+ * - With client-side models
84099
+ * - With server-side models if they are used in client mode
84100
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
84101
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
84102
+ *
84103
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
84104
+ *
84105
+ * Default value is `200`.
84106
+ *
84107
+ * @returns Reference to `this` in order to allow method chaining
84108
+ */
84109
+ setRangeLimit(
84110
+ /**
84111
+ * New value for property `rangeLimit`
84112
+ */
84113
+ iRangeLimit?: int
84114
+ ): this;
84115
+ }
84116
+
84117
+ export interface $CellSelectorSettings extends $ElementSettings {
84118
+ /**
84119
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
84120
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
84121
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
84122
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
84123
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
84124
+ * value of 200 in the following cases:
84125
+ * - With client-side models
84126
+ * - With server-side models if they are used in client mode
84127
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
84128
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
84129
+ */
84130
+ rangeLimit?: int | PropertyBindingInfo | `{${string}}`;
84131
+ }
84132
+ }
84133
+
83779
84134
  declare module "sap/m/plugins/ColumnResizer" {
83780
84135
  import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
83781
84136
 
@@ -83973,6 +84328,8 @@ declare module "sap/m/plugins/CopyProvider" {
83973
84328
 
83974
84329
  import OverflowToolbarButton from "sap/m/OverflowToolbarButton";
83975
84330
 
84331
+ import { plugins } from "sap/m/library";
84332
+
83976
84333
  import ElementMetadata from "sap/ui/core/ElementMetadata";
83977
84334
 
83978
84335
  import Context from "sap/ui/model/Context";
@@ -84175,6 +84532,25 @@ declare module "sap/m/plugins/CopyProvider" {
84175
84532
  */
84176
84533
  mSettings?: object
84177
84534
  ): OverflowToolbarButton;
84535
+ /**
84536
+ * @since 1.119
84537
+ *
84538
+ * Gets current value of property {@link #getCopyPreference copyPreference}.
84539
+ *
84540
+ * This property determines the copy preference when performing a copy operation.
84541
+ *
84542
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
84543
+ *
84544
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
84545
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
84546
+ *
84547
+ * Default value is `Cells`.
84548
+ *
84549
+ * @returns Value of property `copyPreference`
84550
+ */
84551
+ getCopyPreference():
84552
+ | plugins.CopyPreference
84553
+ | keyof typeof plugins.CopyPreference;
84178
84554
  /**
84179
84555
  * Gets current value of property {@link #getCopySparse copySparse}.
84180
84556
  *
@@ -84245,6 +84621,32 @@ declare module "sap/m/plugins/CopyProvider" {
84245
84621
  * @returns Value of property `visible`
84246
84622
  */
84247
84623
  getVisible(): boolean;
84624
+ /**
84625
+ * @since 1.119
84626
+ *
84627
+ * Sets a new value for property {@link #getCopyPreference copyPreference}.
84628
+ *
84629
+ * This property determines the copy preference when performing a copy operation.
84630
+ *
84631
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
84632
+ *
84633
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
84634
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
84635
+ *
84636
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
84637
+ *
84638
+ * Default value is `Cells`.
84639
+ *
84640
+ * @returns Reference to `this` in order to allow method chaining
84641
+ */
84642
+ setCopyPreference(
84643
+ /**
84644
+ * New value for property `copyPreference`
84645
+ */
84646
+ sCopyPreference?:
84647
+ | plugins.CopyPreference
84648
+ | keyof typeof plugins.CopyPreference
84649
+ ): this;
84248
84650
  /**
84249
84651
  * Sets a new value for property {@link #getCopySparse copySparse}.
84250
84652
  *
@@ -84401,6 +84803,21 @@ declare module "sap/m/plugins/CopyProvider" {
84401
84803
  */
84402
84804
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
84403
84805
 
84806
+ /**
84807
+ * @since 1.119
84808
+ *
84809
+ * This property determines the copy preference when performing a copy operation.
84810
+ *
84811
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
84812
+ *
84813
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
84814
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
84815
+ */
84816
+ copyPreference?:
84817
+ | (plugins.CopyPreference | keyof typeof plugins.CopyPreference)
84818
+ | PropertyBindingInfo
84819
+ | `{${string}}`;
84820
+
84404
84821
  /**
84405
84822
  * This event is fired if there is a selection, and the user triggers the copy action.
84406
84823
  *
@@ -121605,8 +122022,6 @@ declare module "sap/m/Switch" {
121605
122022
  declare module "sap/m/TabContainer" {
121606
122023
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
121607
122024
 
121608
- import TabContainerItem from "sap/m/TabContainerItem";
121609
-
121610
122025
  import Event from "sap/ui/base/Event";
121611
122026
 
121612
122027
  import {
@@ -121616,6 +122031,8 @@ declare module "sap/m/TabContainer" {
121616
122031
 
121617
122032
  import { PageBackgroundDesign } from "sap/m/library";
121618
122033
 
122034
+ import TabContainerItem from "sap/m/TabContainerItem";
122035
+
121619
122036
  import ElementMetadata from "sap/ui/core/ElementMetadata";
121620
122037
 
121621
122038
  import { ID } from "sap/ui/core/library";
@@ -121716,17 +122133,6 @@ declare module "sap/m/TabContainer" {
121716
122133
  * @returns Metadata object describing this class
121717
122134
  */
121718
122135
  static getMetadata(): ElementMetadata;
121719
- /**
121720
- * Adds some item to the aggregation {@link #getItems items}.
121721
- *
121722
- * @returns Reference to `this` in order to allow method chaining
121723
- */
121724
- addItem(
121725
- /**
121726
- * The item to add; if empty, nothing is inserted
121727
- */
121728
- oItem: TabContainerItem
121729
- ): this;
121730
122136
  /**
121731
122137
  * Attaches event handler `fnFunction` to the {@link #event:addNewButtonPress addNewButtonPress} event of
121732
122138
  * this `sap.m.TabContainer`.
@@ -121878,12 +122284,6 @@ declare module "sap/m/TabContainer" {
121878
122284
  */
121879
122285
  oBindingInfo: AggregationBindingInfo
121880
122286
  ): this;
121881
- /**
121882
- * Destroys all the items in the aggregation {@link #getItems items}.
121883
- *
121884
- * @returns Reference to `this` in order to allow method chaining
121885
- */
121886
- destroyItems(): this;
121887
122287
  /**
121888
122288
  * Detaches event handler `fnFunction` from the {@link #event:addNewButtonPress addNewButtonPress} event
121889
122289
  * of this `sap.m.TabContainer`.
@@ -122028,31 +122428,6 @@ declare module "sap/m/TabContainer" {
122028
122428
  */
122029
122429
  oItem: TabContainerItem
122030
122430
  ): int;
122031
- /**
122032
- * Inserts a item into the aggregation {@link #getItems items}.
122033
- *
122034
- * @returns Reference to `this` in order to allow method chaining
122035
- */
122036
- insertItem(
122037
- /**
122038
- * The item to insert; if empty, nothing is inserted
122039
- */
122040
- oItem: TabContainerItem,
122041
- /**
122042
- * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
122043
- * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
122044
- * the last position
122045
- */
122046
- iIndex: int
122047
- ): this;
122048
- /**
122049
- * Removes all the controls from the aggregation {@link #getItems items}.
122050
- *
122051
- * Additionally, it unregisters them from the hosting UIArea.
122052
- *
122053
- * @returns An array of the removed elements (might be empty)
122054
- */
122055
- removeAllItems(): TabContainerItem[];
122056
122431
  /**
122057
122432
  * Removes an item from the aggregation named `items`.
122058
122433
  *
@@ -142568,6 +142943,30 @@ declare module "sap/m/upload/UploadSetToolbarPlaceholder" {
142568
142943
  extends $ControlSettings {}
142569
142944
  }
142570
142945
 
142946
+ declare module "sap/m/upload/UploadSetwithTable" {
142947
+ /**
142948
+ * Item info object sent as paramter to {@link sap.m.upload.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
142949
+ */
142950
+ export type ItemInfo = {
142951
+ /**
142952
+ * Current item queued for upload.
142953
+ */
142954
+ oItem: /* was: sap.m.upload.UploadSetwithTableItem */ any;
142955
+ /**
142956
+ * Total count of items queued for upload.
142957
+ */
142958
+ iTotalItemsForUpload: number;
142959
+ };
142960
+
142961
+ /**
142962
+ * Callback function to perform additional validations or configurations for the item queued up for upload
142963
+ * and to finally trigger the upload.
142964
+ */
142965
+ export type itemValidationHandler = (
142966
+ oItemInfo: ItemInfo
142967
+ ) => Promise</* was: sap.m.upload.UploadSetwithTableItem */ any>;
142968
+ }
142969
+
142571
142970
  declare module "sap/m/UploadCollection" {
142572
142971
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
142573
142972
 
@@ -150402,6 +150801,8 @@ declare namespace sap {
150402
150801
 
150403
150802
  "sap/m/PlanningCalendarView": undefined;
150404
150803
 
150804
+ "sap/m/plugins/CellSelector": undefined;
150805
+
150405
150806
  "sap/m/plugins/ColumnResizer": undefined;
150406
150807
 
150407
150808
  "sap/m/plugins/CopyProvider": undefined;
@@ -150670,6 +151071,8 @@ declare namespace sap {
150670
151071
 
150671
151072
  "sap/m/upload/UploadSetToolbarPlaceholder": undefined;
150672
151073
 
151074
+ "sap/m/upload/UploadSetwithTable": undefined;
151075
+
150673
151076
  "sap/m/UploadCollection": undefined;
150674
151077
 
150675
151078
  "sap/m/UploadCollectionItem": undefined;