@sapui5/ts-types-esm 1.139.0 → 1.141.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 (69) 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.cux.home.d.ts +0 -1623
  7. package/types/sap.esh.search.ui.d.ts +384 -1
  8. package/types/sap.f.d.ts +102 -13
  9. package/types/sap.fe.ariba.d.ts +1 -1
  10. package/types/sap.fe.base.d.ts +1 -5
  11. package/types/sap.fe.controls.d.ts +1 -1
  12. package/types/sap.fe.core.d.ts +98 -8
  13. package/types/sap.fe.ina.d.ts +1 -1
  14. package/types/sap.fe.macros.d.ts +369 -51
  15. package/types/sap.fe.navigation.d.ts +13 -15
  16. package/types/sap.fe.placeholder.d.ts +1 -1
  17. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  18. package/types/sap.fe.templates.d.ts +1 -1
  19. package/types/sap.fe.test.d.ts +1 -1
  20. package/types/sap.fe.tools.d.ts +1 -1
  21. package/types/sap.feedback.ui.d.ts +1 -1
  22. package/types/sap.gantt.d.ts +47 -11
  23. package/types/sap.insights.d.ts +130 -2
  24. package/types/sap.m.d.ts +722 -282
  25. package/types/sap.makit.d.ts +1 -1
  26. package/types/sap.me.d.ts +1 -1
  27. package/types/sap.ndc.d.ts +1 -1
  28. package/types/sap.ovp.d.ts +1 -1
  29. package/types/sap.rules.ui.d.ts +1 -1
  30. package/types/sap.sac.df.d.ts +118 -5
  31. package/types/sap.suite.ui.commons.d.ts +1 -1
  32. package/types/sap.suite.ui.generic.template.d.ts +41 -5
  33. package/types/sap.suite.ui.microchart.d.ts +1 -1
  34. package/types/sap.tnt.d.ts +5 -1
  35. package/types/sap.ui.codeeditor.d.ts +1 -1
  36. package/types/sap.ui.commons.d.ts +1 -1
  37. package/types/sap.ui.comp.d.ts +16 -1
  38. package/types/sap.ui.core.d.ts +531 -163
  39. package/types/sap.ui.dt.d.ts +202 -1
  40. package/types/sap.ui.export.d.ts +1 -1
  41. package/types/sap.ui.fl.d.ts +8 -13
  42. package/types/sap.ui.generic.app.d.ts +1 -1
  43. package/types/sap.ui.generic.template.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +13 -13
  45. package/types/sap.ui.layout.d.ts +63 -47
  46. package/types/sap.ui.mdc.d.ts +77 -25
  47. package/types/sap.ui.richtexteditor.d.ts +309 -9
  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 +585 -4
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +55 -3
  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 +438 -6
  57. package/types/sap.ui.vtm.d.ts +1 -1
  58. package/types/sap.ui.webc.common.d.ts +1 -1
  59. package/types/sap.ui.webc.fiori.d.ts +1 -1
  60. package/types/sap.ui.webc.main.d.ts +1 -1
  61. package/types/sap.uiext.inbox.d.ts +1 -1
  62. package/types/sap.ushell.d.ts +41 -8
  63. package/types/sap.ushell_abap.d.ts +7 -1
  64. package/types/sap.uxap.d.ts +1 -1
  65. package/types/sap.viz.d.ts +1 -1
  66. package/types/sap.webanalytics.core.d.ts +1 -1
  67. package/types/sap.zen.commons.d.ts +1 -1
  68. package/types/sap.zen.crosstab.d.ts +1 -1
  69. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.139.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -619,9 +619,11 @@ declare module "sap/ui/table/AnalyticalTable" {
619
619
  import Event from "sap/ui/base/Event";
620
620
 
621
621
  /**
622
- * Table that handles analytical OData back-end scenarios. The `AnalyticalTable` only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding }
622
+ * Table that handles analytical OData V2 back-end scenarios. The `AnalyticalTable` only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding }
623
623
  * and correctly annotated OData services. Please check out the functionality of analytical binding and
624
- * the SAP Annotations for OData Version 2.0 documentation for further details.
624
+ * the SAP Annotations for OData Version 2.0 documentation for further details. For an analytical-table-like
625
+ * behavior with OData V4 services, use the {@link sap.ui.table.Table Table} control with the {@link sap.ui.table.plugins.ODataV4Aggregation ODataV4Aggregation }
626
+ * plugin.
625
627
  */
626
628
  export default class AnalyticalTable extends Table {
627
629
  /**
@@ -632,6 +634,7 @@ declare module "sap/ui/table/AnalyticalTable" {
632
634
  * of the syntax of the settings object.
633
635
  * See:
634
636
  * https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
637
+ * {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
635
638
  * {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
636
639
  * {@link fiori:/analytical-table-alv/ Analytical Table}
637
640
  */
@@ -649,6 +652,7 @@ declare module "sap/ui/table/AnalyticalTable" {
649
652
  * of the syntax of the settings object.
650
653
  * See:
651
654
  * https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
655
+ * {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
652
656
  * {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
653
657
  * {@link fiori:/analytical-table-alv/ Analytical Table}
654
658
  */
@@ -3073,6 +3077,10 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
3073
3077
  * Select All, only work properly if the count is known. Make sure the model/binding is configured to request
3074
3078
  * the count from the service. For ease of use, client-side models and single selection are also supported.
3075
3079
  *
3080
+ * With ODataV4, use the {@link sap.ui.table.plugins.ODataV4MultiSelection ODataV4MultiSelection} plugin
3081
+ * or the {@link sap.ui.table.plugins.ODataV4SingleSelection ODataV4SingleSelection} plugin instead of this
3082
+ * one.
3083
+ *
3076
3084
  * @since 1.64
3077
3085
  */
3078
3086
  export default class MultiSelectionPlugin extends SelectionPlugin {
@@ -3564,6 +3572,568 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
3564
3572
  >;
3565
3573
  }
3566
3574
 
3575
+ declare module "sap/ui/table/plugins/ODataV4Aggregation" {
3576
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
3577
+
3578
+ import Table from "sap/ui/table/Table";
3579
+
3580
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
3581
+
3582
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
3583
+
3584
+ /**
3585
+ * Integrates the information about the data structure of the {@link sap.ui.model.odata.v4.ODataListBinding }
3586
+ * and the table. The table is enabled to visualize grouped data with summary rows. Works only in combination
3587
+ * with a {@link sap.ui.model.odata.v4.ODataModel}.
3588
+ *
3589
+ * For details about data aggregation, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}.
3590
+ *
3591
+ * In combination with the {@link sap.ui.table.Table Table} control, this plugin offers a UI for OData V4
3592
+ * that is similar to the one the {@link sap.ui.table.AnalyticalTable AnalyticalTable} offers for OData
3593
+ * V2.
3594
+ *
3595
+ * @since 1.140
3596
+ */
3597
+ export default class ODataV4Aggregation extends UI5Element {
3598
+ /**
3599
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3600
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3601
+ * of the syntax of the settings object.
3602
+ * See:
3603
+ * {@link https://ui5.sap.com/#/topic/7d914317c0b64c23824bf932cc8a4ae1 OData V4: Data Aggregation and Recursive Hierarchy}
3604
+ */
3605
+ constructor();
3606
+
3607
+ /**
3608
+ * Creates a new subclass of class sap.ui.table.plugins.ODataV4Aggregation with name `sClassName` and enriches
3609
+ * it with the information contained in `oClassInfo`.
3610
+ *
3611
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
3612
+ *
3613
+ *
3614
+ * @returns Created class / constructor function
3615
+ */
3616
+ static extend<T extends Record<string, unknown>>(
3617
+ /**
3618
+ * Name of the class being created
3619
+ */
3620
+ sClassName: string,
3621
+ /**
3622
+ * Object literal with information about the class
3623
+ */
3624
+ oClassInfo?: sap.ClassInfo<T, ODataV4Aggregation>,
3625
+ /**
3626
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3627
+ * used by this class
3628
+ */
3629
+ FNMetaImpl?: Function
3630
+ ): Function;
3631
+ /**
3632
+ * Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
3633
+ * plugin that is found is returned.
3634
+ *
3635
+ *
3636
+ * @returns The found plugin instance or `undefined` if not found
3637
+ */
3638
+ static findOn(
3639
+ /**
3640
+ * The `Table` instance to check for
3641
+ */
3642
+ oTable: Table
3643
+ ): UI5Element | undefined;
3644
+ /**
3645
+ * Returns a metadata object for class sap.ui.table.plugins.ODataV4Aggregation.
3646
+ *
3647
+ *
3648
+ * @returns Metadata object describing this class
3649
+ */
3650
+ static getMetadata(): ElementMetadata;
3651
+ /**
3652
+ * Gets current value of property {@link #getEnabled enabled}.
3653
+ *
3654
+ * Indicates whether this plugin is enabled.
3655
+ *
3656
+ * Default value is `true`.
3657
+ *
3658
+ *
3659
+ * @returns Value of property `enabled`
3660
+ */
3661
+ getEnabled(): boolean;
3662
+ /**
3663
+ * Gets current value of property {@link #getGroupHeaderFormatter groupHeaderFormatter}.
3664
+ *
3665
+ * Provides a custom group header title.
3666
+ *
3667
+ * This function is called for each group header row in the table. It receives the binding context of the
3668
+ * row and the group level property path according to `groupLevels` in {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
3669
+ * The function must return a string that is used as the title of the group header row.
3670
+ *
3671
+ * Function signature: `groupHeaderFormatter(oContext: sap.ui.model.odata.v4.Context, sPropertyPath: string):
3672
+ * string`
3673
+ *
3674
+ *
3675
+ * @returns Value of property `groupHeaderFormatter`
3676
+ */
3677
+ getGroupHeaderFormatter(): Function;
3678
+ /**
3679
+ * Sets a new value for property {@link #getEnabled enabled}.
3680
+ *
3681
+ * Indicates whether this plugin is enabled.
3682
+ *
3683
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3684
+ *
3685
+ * Default value is `true`.
3686
+ *
3687
+ *
3688
+ * @returns Reference to `this` in order to allow method chaining
3689
+ */
3690
+ setEnabled(
3691
+ /**
3692
+ * New value for property `enabled`
3693
+ */
3694
+ bEnabled?: boolean
3695
+ ): this;
3696
+ /**
3697
+ * Sets a new value for property {@link #getGroupHeaderFormatter groupHeaderFormatter}.
3698
+ *
3699
+ * Provides a custom group header title.
3700
+ *
3701
+ * This function is called for each group header row in the table. It receives the binding context of the
3702
+ * row and the group level property path according to `groupLevels` in {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
3703
+ * The function must return a string that is used as the title of the group header row.
3704
+ *
3705
+ * Function signature: `groupHeaderFormatter(oContext: sap.ui.model.odata.v4.Context, sPropertyPath: string):
3706
+ * string`
3707
+ *
3708
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3709
+ *
3710
+ *
3711
+ * @returns Reference to `this` in order to allow method chaining
3712
+ */
3713
+ setGroupHeaderFormatter(
3714
+ /**
3715
+ * New value for property `groupHeaderFormatter`
3716
+ */
3717
+ fnGroupHeaderFormatter: Function
3718
+ ): this;
3719
+ }
3720
+ /**
3721
+ * Describes the settings that can be provided to the ODataV4Aggregation constructor.
3722
+ */
3723
+ export interface $ODataV4AggregationSettings extends $ElementSettings {
3724
+ /**
3725
+ * Indicates whether this plugin is enabled.
3726
+ */
3727
+ enabled?: boolean | PropertyBindingInfo | `{${string}}`;
3728
+
3729
+ /**
3730
+ * Provides a custom group header title.
3731
+ *
3732
+ * This function is called for each group header row in the table. It receives the binding context of the
3733
+ * row and the group level property path according to `groupLevels` in {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
3734
+ * The function must return a string that is used as the title of the group header row.
3735
+ *
3736
+ * Function signature: `groupHeaderFormatter(oContext: sap.ui.model.odata.v4.Context, sPropertyPath: string):
3737
+ * string`
3738
+ */
3739
+ groupHeaderFormatter?: Function | PropertyBindingInfo | `{${string}}`;
3740
+ }
3741
+ }
3742
+
3743
+ declare module "sap/ui/table/plugins/ODataV4Hierarchy" {
3744
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
3745
+
3746
+ import Table from "sap/ui/table/Table";
3747
+
3748
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
3749
+
3750
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
3751
+
3752
+ /**
3753
+ * Integrates the information about the data structure of the {@link sap.ui.model.odata.v4.ODataListBinding }
3754
+ * and the table. The table is enabled to visualize hierarchical data. Works only in combination with a
3755
+ * {@link sap.ui.model.odata.v4.ODataModel}.
3756
+ *
3757
+ * For details about hierarchies, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}.
3758
+ *
3759
+ * In combination with the {@link sap.ui.table.Table Table} control, this plugin offers a UI for OData V4
3760
+ * that is similar to the one the {@link sap.ui.table.TreeTable TreeTable} offers for other models.
3761
+ *
3762
+ * @since 1.140
3763
+ */
3764
+ export default class ODataV4Hierarchy extends UI5Element {
3765
+ /**
3766
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3767
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3768
+ * of the syntax of the settings object.
3769
+ * See:
3770
+ * {@link https://ui5.sap.com/#/topic/7d914317c0b64c23824bf932cc8a4ae1 OData V4: Data Aggregation and Recursive Hierarchy}
3771
+ */
3772
+ constructor();
3773
+
3774
+ /**
3775
+ * Creates a new subclass of class sap.ui.table.plugins.ODataV4Hierarchy with name `sClassName` and enriches
3776
+ * it with the information contained in `oClassInfo`.
3777
+ *
3778
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
3779
+ *
3780
+ *
3781
+ * @returns Created class / constructor function
3782
+ */
3783
+ static extend<T extends Record<string, unknown>>(
3784
+ /**
3785
+ * Name of the class being created
3786
+ */
3787
+ sClassName: string,
3788
+ /**
3789
+ * Object literal with information about the class
3790
+ */
3791
+ oClassInfo?: sap.ClassInfo<T, ODataV4Hierarchy>,
3792
+ /**
3793
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3794
+ * used by this class
3795
+ */
3796
+ FNMetaImpl?: Function
3797
+ ): Function;
3798
+ /**
3799
+ * Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
3800
+ * plugin that is found is returned.
3801
+ *
3802
+ *
3803
+ * @returns The found plugin instance or `undefined` if not found
3804
+ */
3805
+ static findOn(
3806
+ /**
3807
+ * The `Table` instance to check for
3808
+ */
3809
+ oTable: Table
3810
+ ): UI5Element | undefined;
3811
+ /**
3812
+ * Returns a metadata object for class sap.ui.table.plugins.ODataV4Hierarchy.
3813
+ *
3814
+ *
3815
+ * @returns Metadata object describing this class
3816
+ */
3817
+ static getMetadata(): ElementMetadata;
3818
+ /**
3819
+ * Gets current value of property {@link #getEnabled enabled}.
3820
+ *
3821
+ * Indicates whether this plugin is enabled.
3822
+ *
3823
+ * Default value is `true`.
3824
+ *
3825
+ *
3826
+ * @returns Value of property `enabled`
3827
+ */
3828
+ getEnabled(): boolean;
3829
+ /**
3830
+ * Sets a new value for property {@link #getEnabled enabled}.
3831
+ *
3832
+ * Indicates whether this plugin is enabled.
3833
+ *
3834
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3835
+ *
3836
+ * Default value is `true`.
3837
+ *
3838
+ *
3839
+ * @returns Reference to `this` in order to allow method chaining
3840
+ */
3841
+ setEnabled(
3842
+ /**
3843
+ * New value for property `enabled`
3844
+ */
3845
+ bEnabled?: boolean
3846
+ ): this;
3847
+ }
3848
+ /**
3849
+ * Describes the settings that can be provided to the ODataV4Hierarchy constructor.
3850
+ */
3851
+ export interface $ODataV4HierarchySettings extends $ElementSettings {
3852
+ /**
3853
+ * Indicates whether this plugin is enabled.
3854
+ */
3855
+ enabled?: boolean | PropertyBindingInfo | `{${string}}`;
3856
+ }
3857
+ }
3858
+
3859
+ declare module "sap/ui/table/plugins/ODataV4MultiSelection" {
3860
+ import {
3861
+ default as SelectionPlugin,
3862
+ $SelectionPluginSettings,
3863
+ } from "sap/ui/table/plugins/SelectionPlugin";
3864
+
3865
+ import Table from "sap/ui/table/Table";
3866
+
3867
+ import UI5Element from "sap/ui/core/Element";
3868
+
3869
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
3870
+
3871
+ import Context from "sap/ui/model/odata/v4/Context";
3872
+
3873
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
3874
+
3875
+ /**
3876
+ * Integrates the selection of the {@link sap.ui.model.odata.v4.ODataListBinding} and the table. Works only
3877
+ * in combination with a {@link sap.ui.model.odata.v4.ODataModel}.
3878
+ *
3879
+ * The selection of a context that is not selectable is not allowed. The following contexts are not selectable:
3880
+ *
3881
+ * - Header context
3882
+ * - Contexts that represent group headers
3883
+ * - Contexts that contain totals
3884
+ *
3885
+ * All binding-related limitations also apply in the context of this plugin. For details, see {@link sap.ui.model.odata.v4.Context#setSelected }
3886
+ * and {@link sap.ui.model.odata.v4.ODataModel#bindList}.
3887
+ *
3888
+ * @since 1.140
3889
+ */
3890
+ export default class ODataV4MultiSelection extends SelectionPlugin {
3891
+ /**
3892
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3893
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3894
+ * of the syntax of the settings object.
3895
+ * See:
3896
+ * {@link https://ui5.sap.com/#/topic/ec55312f796f45e8883810af3b68b46c OData V4: Selection}
3897
+ */
3898
+ constructor();
3899
+
3900
+ /**
3901
+ * Creates a new subclass of class sap.ui.table.plugins.ODataV4MultiSelection with name `sClassName` and
3902
+ * enriches it with the information contained in `oClassInfo`.
3903
+ *
3904
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.plugins.SelectionPlugin.extend}.
3905
+ *
3906
+ *
3907
+ * @returns Created class / constructor function
3908
+ */
3909
+ static extend<T extends Record<string, unknown>>(
3910
+ /**
3911
+ * Name of the class being created
3912
+ */
3913
+ sClassName: string,
3914
+ /**
3915
+ * Object literal with information about the class
3916
+ */
3917
+ oClassInfo?: sap.ClassInfo<T, ODataV4MultiSelection>,
3918
+ /**
3919
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3920
+ * used by this class
3921
+ */
3922
+ FNMetaImpl?: Function
3923
+ ): Function;
3924
+ /**
3925
+ * Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
3926
+ * plugin that is found is returned.
3927
+ *
3928
+ *
3929
+ * @returns The found plugin instance or `undefined` if not found
3930
+ */
3931
+ static findOn(
3932
+ /**
3933
+ * The `Table` instance to check for
3934
+ */
3935
+ oTable: Table
3936
+ ): UI5Element | undefined;
3937
+ /**
3938
+ * Returns a metadata object for class sap.ui.table.plugins.ODataV4MultiSelection.
3939
+ *
3940
+ *
3941
+ * @returns Metadata object describing this class
3942
+ */
3943
+ static getMetadata(): ElementMetadata;
3944
+ /**
3945
+ * Clears the selection.
3946
+ */
3947
+ clearSelection(): void;
3948
+ /**
3949
+ * Gets current value of property {@link #getEnableNotification enableNotification}.
3950
+ *
3951
+ * Enables notifications that are displayed once a selection has been limited.
3952
+ *
3953
+ * Default value is `false`.
3954
+ *
3955
+ *
3956
+ * @returns Value of property `enableNotification`
3957
+ */
3958
+ getEnableNotification(): boolean;
3959
+ /**
3960
+ * Gets current value of property {@link #getHideHeaderSelector hideHeaderSelector}.
3961
+ *
3962
+ * Hide the header selector.
3963
+ *
3964
+ * Default value is `false`.
3965
+ *
3966
+ *
3967
+ * @returns Value of property `hideHeaderSelector`
3968
+ */
3969
+ getHideHeaderSelector(): boolean;
3970
+ /**
3971
+ * Returns the selected contexts.
3972
+ *
3973
+ *
3974
+ * @returns The selected contexts
3975
+ */
3976
+ getSelectedContexts(): Context[];
3977
+ /**
3978
+ * Sets a new value for property {@link #getEnableNotification enableNotification}.
3979
+ *
3980
+ * Enables notifications that are displayed once a selection has been limited.
3981
+ *
3982
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3983
+ *
3984
+ * Default value is `false`.
3985
+ *
3986
+ *
3987
+ * @returns Reference to `this` in order to allow method chaining
3988
+ */
3989
+ setEnableNotification(
3990
+ /**
3991
+ * New value for property `enableNotification`
3992
+ */
3993
+ bEnableNotification?: boolean
3994
+ ): this;
3995
+ /**
3996
+ * Sets a new value for property {@link #getHideHeaderSelector hideHeaderSelector}.
3997
+ *
3998
+ * Hide the header selector.
3999
+ *
4000
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4001
+ *
4002
+ * Default value is `false`.
4003
+ *
4004
+ *
4005
+ * @returns Reference to `this` in order to allow method chaining
4006
+ */
4007
+ setHideHeaderSelector(
4008
+ /**
4009
+ * New value for property `hideHeaderSelector`
4010
+ */
4011
+ bHideHeaderSelector?: boolean
4012
+ ): this;
4013
+ }
4014
+ /**
4015
+ * Describes the settings that can be provided to the ODataV4MultiSelection constructor.
4016
+ */
4017
+ export interface $ODataV4MultiSelectionSettings
4018
+ extends $SelectionPluginSettings {
4019
+ /**
4020
+ * Enables notifications that are displayed once a selection has been limited.
4021
+ */
4022
+ enableNotification?: boolean | PropertyBindingInfo | `{${string}}`;
4023
+
4024
+ /**
4025
+ * Hide the header selector.
4026
+ */
4027
+ hideHeaderSelector?: boolean | PropertyBindingInfo | `{${string}}`;
4028
+ }
4029
+ }
4030
+
4031
+ declare module "sap/ui/table/plugins/ODataV4SingleSelection" {
4032
+ import {
4033
+ default as SelectionPlugin,
4034
+ $SelectionPluginSettings,
4035
+ } from "sap/ui/table/plugins/SelectionPlugin";
4036
+
4037
+ import Table from "sap/ui/table/Table";
4038
+
4039
+ import UI5Element from "sap/ui/core/Element";
4040
+
4041
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
4042
+
4043
+ import Context from "sap/ui/model/odata/v4/Context";
4044
+
4045
+ /**
4046
+ * Integrates the selection of the {@link sap.ui.model.odata.v4.ODataListBinding} and the table. Works only
4047
+ * in combination with a {@link sap.ui.model.odata.v4.ODataModel}. The selection of multiple contexts is
4048
+ * not allowed. Only one context can be selected at a time.
4049
+ *
4050
+ * The selection of a context that is not selectable is not allowed. The following contexts are not selectable:
4051
+ *
4052
+ * - Header context
4053
+ * - Contexts that represent group headers
4054
+ * - Contexts that contain totals
4055
+ *
4056
+ * All binding-related limitations also apply in the context of this plugin. For details, see {@link sap.ui.model.odata.v4.Context#setSelected }
4057
+ * and {@link sap.ui.model.odata.v4.ODataModel#bindList}.
4058
+ *
4059
+ * @since 1.140
4060
+ */
4061
+ export default class ODataV4SingleSelection extends SelectionPlugin {
4062
+ /**
4063
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
4064
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
4065
+ * of the syntax of the settings object.
4066
+ *
4067
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.table.plugins.SelectionPlugin#constructor sap.ui.table.plugins.SelectionPlugin }
4068
+ * can be used.
4069
+ * See:
4070
+ * {@link https://ui5.sap.com/#/topic/ec55312f796f45e8883810af3b68b46c OData V4: Selection}
4071
+ */
4072
+ constructor();
4073
+
4074
+ /**
4075
+ * Creates a new subclass of class sap.ui.table.plugins.ODataV4SingleSelection with name `sClassName` and
4076
+ * enriches it with the information contained in `oClassInfo`.
4077
+ *
4078
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.plugins.SelectionPlugin.extend}.
4079
+ *
4080
+ *
4081
+ * @returns Created class / constructor function
4082
+ */
4083
+ static extend<T extends Record<string, unknown>>(
4084
+ /**
4085
+ * Name of the class being created
4086
+ */
4087
+ sClassName: string,
4088
+ /**
4089
+ * Object literal with information about the class
4090
+ */
4091
+ oClassInfo?: sap.ClassInfo<T, ODataV4SingleSelection>,
4092
+ /**
4093
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
4094
+ * used by this class
4095
+ */
4096
+ FNMetaImpl?: Function
4097
+ ): Function;
4098
+ /**
4099
+ * Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
4100
+ * plugin that is found is returned.
4101
+ *
4102
+ *
4103
+ * @returns The found plugin instance or `undefined` if not found
4104
+ */
4105
+ static findOn(
4106
+ /**
4107
+ * The `Table` instance to check for
4108
+ */
4109
+ oTable: Table
4110
+ ): UI5Element | undefined;
4111
+ /**
4112
+ * Returns a metadata object for class sap.ui.table.plugins.ODataV4SingleSelection.
4113
+ *
4114
+ *
4115
+ * @returns Metadata object describing this class
4116
+ */
4117
+ static getMetadata(): ElementMetadata;
4118
+ /**
4119
+ * Clears the selection.
4120
+ */
4121
+ clearSelection(): void;
4122
+ /**
4123
+ * Returns the selected context.
4124
+ *
4125
+ *
4126
+ * @returns The selected context
4127
+ */
4128
+ getSelectedContext(): Context;
4129
+ }
4130
+ /**
4131
+ * Describes the settings that can be provided to the ODataV4SingleSelection constructor.
4132
+ */
4133
+ export interface $ODataV4SingleSelectionSettings
4134
+ extends $SelectionPluginSettings {}
4135
+ }
4136
+
3567
4137
  declare module "sap/ui/table/plugins/SelectionPlugin" {
3568
4138
  import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
3569
4139
 
@@ -10672,7 +11242,10 @@ declare module "sap/ui/table/TreeTable" {
10672
11242
  import Event from "sap/ui/base/Event";
10673
11243
 
10674
11244
  /**
10675
- * The TreeTable control provides a comprehensive set of features to display hierarchical data.
11245
+ * The TreeTable control provides a comprehensive set of features to display hierarchical data. The control
11246
+ * can be used in combination with {@link sap.ui.model.json.JSONModel JSONModel} and {@link sap.ui.model.odata.v2.ODataModel ODataModel V2}.
11247
+ * For a tree-table-like behavior with OData V4 services, use the {@link sap.ui.table.Table Table} control
11248
+ * with the {@link sap.ui.table.plugins.ODataV4Hierarchy ODataV4Hierarchy} plugin.
10676
11249
  */
10677
11250
  export default class TreeTable extends Table {
10678
11251
  /**
@@ -11435,6 +12008,14 @@ declare namespace sap {
11435
12008
 
11436
12009
  "sap/ui/table/plugins/MultiSelectionPlugin": undefined;
11437
12010
 
12011
+ "sap/ui/table/plugins/ODataV4Aggregation": undefined;
12012
+
12013
+ "sap/ui/table/plugins/ODataV4Hierarchy": undefined;
12014
+
12015
+ "sap/ui/table/plugins/ODataV4MultiSelection": undefined;
12016
+
12017
+ "sap/ui/table/plugins/ODataV4SingleSelection": undefined;
12018
+
11438
12019
  "sap/ui/table/plugins/SelectionPlugin": undefined;
11439
12020
 
11440
12021
  "sap/ui/table/Row": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.139.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4