@sapui5/ts-types 1.136.1 → 1.136.2

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 (59) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -1
  3. package/types/sap.chart.d.ts +1 -1
  4. package/types/sap.esh.search.ui.d.ts +1 -1
  5. package/types/sap.f.d.ts +1 -1
  6. package/types/sap.fe.base.d.ts +1 -1
  7. package/types/sap.fe.controls.d.ts +1 -1
  8. package/types/sap.fe.core.d.ts +5 -3
  9. package/types/sap.fe.ina.d.ts +1 -1
  10. package/types/sap.fe.macros.d.ts +17 -15
  11. package/types/sap.fe.navigation.d.ts +1 -1
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  14. package/types/sap.fe.templates.d.ts +1 -1
  15. package/types/sap.fe.test.d.ts +1 -1
  16. package/types/sap.fe.tools.d.ts +1 -1
  17. package/types/sap.gantt.d.ts +1 -1
  18. package/types/sap.insights.d.ts +1 -1
  19. package/types/sap.m.d.ts +19 -8
  20. package/types/sap.makit.d.ts +1 -1
  21. package/types/sap.me.d.ts +1 -1
  22. package/types/sap.ndc.d.ts +1 -1
  23. package/types/sap.ovp.d.ts +1 -1
  24. package/types/sap.sac.df.d.ts +69 -18
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +31 -1
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/sap.tnt.d.ts +1 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +2 -2321
  32. package/types/sap.ui.core.d.ts +2 -2
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +1 -1
  35. package/types/sap.ui.fl.d.ts +1 -1
  36. package/types/sap.ui.generic.app.d.ts +1 -1
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +1 -1
  39. package/types/sap.ui.layout.d.ts +1 -1
  40. package/types/sap.ui.richtexteditor.d.ts +1 -1
  41. package/types/sap.ui.rta.d.ts +1 -1
  42. package/types/sap.ui.suite.d.ts +1 -1
  43. package/types/sap.ui.support.d.ts +1 -1
  44. package/types/sap.ui.table.d.ts +1 -1
  45. package/types/sap.ui.testrecorder.d.ts +1 -1
  46. package/types/sap.ui.unified.d.ts +1 -1
  47. package/types/sap.ui.ux3.d.ts +1 -1
  48. package/types/sap.ui.webc.common.d.ts +1 -1
  49. package/types/sap.ui.webc.fiori.d.ts +1 -1
  50. package/types/sap.ui.webc.main.d.ts +1 -1
  51. package/types/sap.uiext.inbox.d.ts +1 -1
  52. package/types/sap.ushell.d.ts +3 -31
  53. package/types/sap.ushell_abap.d.ts +1 -1
  54. package/types/sap.uxap.d.ts +1 -1
  55. package/types/sap.viz.d.ts +1 -1
  56. package/types/sap.zen.commons.d.ts +1 -1
  57. package/types/sap.zen.crosstab.d.ts +1 -1
  58. package/types/sap.zen.dsh.d.ts +1 -1
  59. /package/types/{sap.ui.mdc.d.ts → mdc-1.136.0-d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.0
1
+ // For Library Version: 1.136.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -9797,166 +9797,6 @@ declare namespace sap {
9797
9797
  }
9798
9798
 
9799
9799
  namespace p13n {
9800
- namespace P13nFilterPanelBase {
9801
- type FilterConditionOperations = {
9802
- exclude: undefined | boolean;
9803
-
9804
- key: string;
9805
-
9806
- keyField: string;
9807
-
9808
- operation: /* was: sap.ui.comp.P13nConditionOperation */ any;
9809
-
9810
- showIfGrouped: boolean;
9811
-
9812
- text: string;
9813
-
9814
- value1: string;
9815
-
9816
- value2: string;
9817
- };
9818
- }
9819
- /**
9820
- * Describes the settings that can be provided to the P13nConditionPanelBase constructor.
9821
- */
9822
- interface $P13nConditionPanelBaseSettings
9823
- extends sap.ui.core.$ControlSettings {
9824
- /**
9825
- * defines the max number of conditions on the ConditionPanel
9826
- */
9827
- maxConditions?:
9828
- | string
9829
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
9830
-
9831
- /**
9832
- * exclude options for filter
9833
- */
9834
- exclude?:
9835
- | boolean
9836
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9837
- | `{${string}}`;
9838
-
9839
- /**
9840
- * defines if the mediaQuery or a ContainerResize will be used for layout update. When the `P13nConditionPanelBase`
9841
- * is used on a dialog the property should be set to `true`!
9842
- */
9843
- containerQuery?:
9844
- | boolean
9845
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9846
- | `{${string}}`;
9847
-
9848
- /**
9849
- * adds initial a new empty condition row
9850
- */
9851
- autoAddNewRow?:
9852
- | boolean
9853
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9854
- | `{${string}}`;
9855
-
9856
- /**
9857
- * makes the remove icon on the first condition row disabled when only one condition exist.
9858
- */
9859
- disableFirstRemoveIcon?:
9860
- | boolean
9861
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9862
- | `{${string}}`;
9863
-
9864
- /**
9865
- * makes the Add icon visible on each condition row. If is set to false the Add is only visible at the end
9866
- * and you can only append a new condition.
9867
- */
9868
- alwaysShowAddIcon?:
9869
- | boolean
9870
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9871
- | `{${string}}`;
9872
-
9873
- /**
9874
- * new added condition use the settings from the previous condition as default.
9875
- */
9876
- usePrevConditionSetting?:
9877
- | boolean
9878
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9879
- | `{${string}}`;
9880
-
9881
- /**
9882
- * KeyField value can only be selected once. When you set the property to `true` the ConditionPanel will
9883
- * automatically offers on the KeyField drop down only the keyFields which are not used. The default behavior
9884
- * is that in each keyField dropdown all keyfields are listed.
9885
- */
9886
- autoReduceKeyFieldItems?:
9887
- | boolean
9888
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9889
- | `{${string}}`;
9890
-
9891
- /**
9892
- * can be used to control the layout behavior. Default is "" which will automatically change the layout.
9893
- * With "Desktop", "Table" or "Phone" you can set a fixed layout.
9894
- */
9895
- layoutMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9896
-
9897
- /**
9898
- * show additional labels in the condition
9899
- */
9900
- showLabel?:
9901
- | boolean
9902
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9903
- | `{${string}}`;
9904
-
9905
- /**
9906
- * This represents the displayFormat of the condition Values. With the value "UpperCase" the entered value
9907
- * of the condition will be converted to upperCase.
9908
- */
9909
- displayFormat?:
9910
- | string
9911
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
9912
-
9913
- /**
9914
- * Calls the validation listener tbd...
9915
- */
9916
- validationExecutor?:
9917
- | object
9918
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9919
- | `{${string}}`;
9920
-
9921
- /**
9922
- * Workaround for updating the binding
9923
- */
9924
- dataChange?: (oEvent: sap.ui.base.Event) => void;
9925
- }
9926
-
9927
- /**
9928
- * Describes the settings that can be provided to the P13nFilterItem constructor.
9929
- */
9930
- interface $P13nFilterItemSettings extends sap.ui.core.$ItemSettings {
9931
- /**
9932
- * sap.ui.comp.P13nConditionOperation
9933
- */
9934
- operation?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9935
-
9936
- /**
9937
- * value of the filter
9938
- */
9939
- value1?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9940
-
9941
- /**
9942
- * to value of the between filter
9943
- */
9944
- value2?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9945
-
9946
- /**
9947
- * key of the column
9948
- */
9949
- columnKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9950
-
9951
- /**
9952
- * defines if the filter is an include or exclude filter item
9953
- */
9954
- exclude?:
9955
- | boolean
9956
- | sap.ui.base.ManagedObject.PropertyBindingInfo
9957
- | `{${string}}`;
9958
- }
9959
-
9960
9800
  /**
9961
9801
  * Describes the settings that can be provided to the P13nItem constructor.
9962
9802
  */
@@ -10113,1665 +9953,6 @@ declare namespace sap {
10113
9953
  | `{${string}}`;
10114
9954
  }
10115
9955
 
10116
- /**
10117
- * Describes the settings that can be provided to the P13nPanel constructor.
10118
- */
10119
- interface $P13nPanelSettings extends sap.ui.core.$ControlSettings {
10120
- /**
10121
- * Title text appears in the panel.
10122
- */
10123
- title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
10124
-
10125
- /**
10126
- * Large title text appears e.g. in dialog header in case that only one panel is shown.
10127
- *
10128
- * @since 1.30.0
10129
- */
10130
- titleLarge?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
10131
-
10132
- /**
10133
- * Panel type for generic use. Due to extensibility reason the type of `type` property should be `string`.
10134
- * So it is feasible to add a custom panel without expanding the type.
10135
- */
10136
- type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
10137
-
10138
- /**
10139
- * Enables the vertical Scrolling on the `P13nDialog` when the panel is shown.
10140
- */
10141
- verticalScrolling?:
10142
- | boolean
10143
- | sap.ui.base.ManagedObject.PropertyBindingInfo
10144
- | `{${string}}`;
10145
-
10146
- /**
10147
- * Callback method which is called in order to validate end user entry.
10148
- */
10149
- validationExecutor?:
10150
- | object
10151
- | sap.ui.base.ManagedObject.PropertyBindingInfo
10152
- | `{${string}}`;
10153
-
10154
- /**
10155
- * Callback method which is called in order to register for validation result.
10156
- */
10157
- validationListener?:
10158
- | object
10159
- | sap.ui.base.ManagedObject.PropertyBindingInfo
10160
- | `{${string}}`;
10161
-
10162
- /**
10163
- * Callback which notifies a change on this panel.
10164
- */
10165
- changeNotifier?:
10166
- | object
10167
- | sap.ui.base.ManagedObject.PropertyBindingInfo
10168
- | `{${string}}`;
10169
-
10170
- /**
10171
- * Defines personalization items (e.g. columns in the `P13nColumnsPanel`).
10172
- */
10173
- items?:
10174
- | sap.m.P13nItem[]
10175
- | sap.m.P13nItem
10176
- | sap.ui.base.ManagedObject.AggregationBindingInfo
10177
- | `{${string}}`;
10178
-
10179
- /**
10180
- * Due to performance the data of the panel can be requested in lazy mode e.g. when the panel is displayed
10181
- *
10182
- * @since 1.28.0
10183
- */
10184
- beforeNavigationTo?: (oEvent: sap.ui.base.Event) => void;
10185
- }
10186
-
10187
- /**
10188
- * Parameters of the P13nConditionPanelBase#dataChange event.
10189
- */
10190
- interface P13nConditionPanelBase$DataChangeEventParameters {}
10191
-
10192
- /**
10193
- * Parameters of the P13nPanel#beforeNavigationTo event.
10194
- */
10195
- interface P13nPanel$BeforeNavigationToEventParameters {}
10196
-
10197
- /**
10198
- * The ConditionPanel Control will be used to implement the Sorting, Filtering and Grouping panel of the
10199
- * new Personalization dialog.
10200
- *
10201
- * @since 1.136
10202
- */
10203
- class P13nConditionPanelBase extends sap.ui.core.Control {
10204
- /**
10205
- * Constructor for a new P13nConditionPanelBase.
10206
- *
10207
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
10208
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
10209
- * of the syntax of the settings object.
10210
- */
10211
- constructor(
10212
- /**
10213
- * initial settings for the new control
10214
- */
10215
- mSettings?: sap.ui.comp.p13n.$P13nConditionPanelBaseSettings
10216
- );
10217
- /**
10218
- * Constructor for a new P13nConditionPanelBase.
10219
- *
10220
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
10221
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
10222
- * of the syntax of the settings object.
10223
- */
10224
- constructor(
10225
- /**
10226
- * ID for the new control, generated automatically if no ID is given
10227
- */
10228
- sId?: string,
10229
- /**
10230
- * initial settings for the new control
10231
- */
10232
- mSettings?: sap.ui.comp.p13n.$P13nConditionPanelBaseSettings
10233
- );
10234
-
10235
- /**
10236
- * Creates a new subclass of class sap.ui.comp.p13n.P13nConditionPanelBase with name `sClassName` and enriches
10237
- * it with the information contained in `oClassInfo`.
10238
- *
10239
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
10240
- *
10241
- *
10242
- * @returns Created class / constructor function
10243
- */
10244
- static extend<T extends Record<string, unknown>>(
10245
- /**
10246
- * Name of the class being created
10247
- */
10248
- sClassName: string,
10249
- /**
10250
- * Object literal with information about the class
10251
- */
10252
- oClassInfo?: sap.ClassInfo<
10253
- T,
10254
- sap.ui.comp.p13n.P13nConditionPanelBase
10255
- >,
10256
- /**
10257
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10258
- * used by this class
10259
- */
10260
- FNMetaImpl?: Function
10261
- ): Function;
10262
- /**
10263
- * creates and returns a formatted text for the specified condition
10264
- *
10265
- *
10266
- * @returns the range token text. An empty string when no operation matches or the values for the operation
10267
- * are wrong
10268
- */
10269
- static getFormatedConditionText(
10270
- /**
10271
- * the operation type sap.ui.compP13nConditionOperation
10272
- */
10273
- sOperation: string,
10274
- /**
10275
- * value of the first range field
10276
- */
10277
- sValue1: string,
10278
- /**
10279
- * value of the second range field
10280
- */
10281
- sValue2: string,
10282
- /**
10283
- * indicates if the range is an Exclude range
10284
- */
10285
- bExclude: boolean
10286
- ): string;
10287
- /**
10288
- * Returns a metadata object for class sap.ui.comp.p13n.P13nConditionPanelBase.
10289
- *
10290
- *
10291
- * @returns Metadata object describing this class
10292
- */
10293
- static getMetadata(): sap.ui.core.ElementMetadata;
10294
- /**
10295
- * add a single condition.
10296
- */
10297
- addCondition(
10298
- /**
10299
- * the new condition of type `{ "key": "007", "operation": sap.ui.compP13nConditionOperation.Ascending,
10300
- * "keyField": "keyFieldKey", "value1": "", "value2": ""};`
10301
- */
10302
- oCondition: object
10303
- ): void;
10304
- /**
10305
- * add a single KeyField
10306
- */
10307
- addKeyField(
10308
- /**
10309
- * {key: "CompanyCode", text: "ID"}
10310
- */
10311
- oKeyField: object
10312
- ): void;
10313
- /**
10314
- * add a single operation
10315
- */
10316
- addOperation(
10317
- oOperation: /* was: sap.ui.compP13nConditionOperation */ any,
10318
- /**
10319
- * defines the type for which this operations will be used.
10320
- */
10321
- sType: string
10322
- ): void;
10323
- /**
10324
- * Attaches event handler `fnFunction` to the {@link #event:dataChange dataChange} event of this `sap.ui.comp.p13n.P13nConditionPanelBase`.
10325
- *
10326
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
10327
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nConditionPanelBase` itself.
10328
- *
10329
- * Workaround for updating the binding
10330
- *
10331
- *
10332
- * @returns Reference to `this` in order to allow method chaining
10333
- */
10334
- attachDataChange(
10335
- /**
10336
- * An application-specific payload object that will be passed to the event handler along with the event
10337
- * object when firing the event
10338
- */
10339
- oData: object,
10340
- /**
10341
- * The function to be called when the event occurs
10342
- */
10343
- fnFunction: (p1: sap.ui.base.Event) => void,
10344
- /**
10345
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nConditionPanelBase`
10346
- * itself
10347
- */
10348
- oListener?: object
10349
- ): this;
10350
- /**
10351
- * Attaches event handler `fnFunction` to the {@link #event:dataChange dataChange} event of this `sap.ui.comp.p13n.P13nConditionPanelBase`.
10352
- *
10353
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
10354
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nConditionPanelBase` itself.
10355
- *
10356
- * Workaround for updating the binding
10357
- *
10358
- *
10359
- * @returns Reference to `this` in order to allow method chaining
10360
- */
10361
- attachDataChange(
10362
- /**
10363
- * The function to be called when the event occurs
10364
- */
10365
- fnFunction: (p1: sap.ui.base.Event) => void,
10366
- /**
10367
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nConditionPanelBase`
10368
- * itself
10369
- */
10370
- oListener?: object
10371
- ): this;
10372
- /**
10373
- * Detaches event handler `fnFunction` from the {@link #event:dataChange dataChange} event of this `sap.ui.comp.p13n.P13nConditionPanelBase`.
10374
- *
10375
- * The passed function and listener object must match the ones used for event registration.
10376
- *
10377
- *
10378
- * @returns Reference to `this` in order to allow method chaining
10379
- */
10380
- detachDataChange(
10381
- /**
10382
- * The function to be called, when the event occurs
10383
- */
10384
- fnFunction: (p1: sap.ui.base.Event) => void,
10385
- /**
10386
- * Context object on which the given function had to be called
10387
- */
10388
- oListener?: object
10389
- ): this;
10390
- /**
10391
- * Fires event {@link #event:dataChange dataChange} to attached listeners.
10392
- *
10393
- * @ui5-protected Do not call from applications (only from related classes in the framework)
10394
- *
10395
- * @returns Reference to `this` in order to allow method chaining
10396
- */
10397
- fireDataChange(
10398
- /**
10399
- * Parameters to pass along with the event
10400
- */
10401
- mParameters?: object
10402
- ): this;
10403
- /**
10404
- * Gets current value of property {@link #getAlwaysShowAddIcon alwaysShowAddIcon}.
10405
- *
10406
- * makes the Add icon visible on each condition row. If is set to false the Add is only visible at the end
10407
- * and you can only append a new condition.
10408
- *
10409
- * Default value is `true`.
10410
- *
10411
- *
10412
- * @returns Value of property `alwaysShowAddIcon`
10413
- */
10414
- getAlwaysShowAddIcon(): boolean;
10415
- /**
10416
- * Gets current value of property {@link #getAutoAddNewRow autoAddNewRow}.
10417
- *
10418
- * adds initial a new empty condition row
10419
- *
10420
- * Default value is `false`.
10421
- *
10422
- *
10423
- * @returns Value of property `autoAddNewRow`
10424
- */
10425
- getAutoAddNewRow(): boolean;
10426
- /**
10427
- * Gets current value of property {@link #getAutoReduceKeyFieldItems autoReduceKeyFieldItems}.
10428
- *
10429
- * KeyField value can only be selected once. When you set the property to `true` the ConditionPanel will
10430
- * automatically offers on the KeyField drop down only the keyFields which are not used. The default behavior
10431
- * is that in each keyField dropdown all keyfields are listed.
10432
- *
10433
- * Default value is `false`.
10434
- *
10435
- *
10436
- * @returns Value of property `autoReduceKeyFieldItems`
10437
- */
10438
- getAutoReduceKeyFieldItems(): boolean;
10439
- /**
10440
- * returns array of all defined conditions.
10441
- *
10442
- *
10443
- * @returns array of Conditions
10444
- */
10445
- getConditions(): object[];
10446
- /**
10447
- * Gets current value of property {@link #getContainerQuery containerQuery}.
10448
- *
10449
- * defines if the mediaQuery or a ContainerResize will be used for layout update. When the `P13nConditionPanelBase`
10450
- * is used on a dialog the property should be set to `true`!
10451
- *
10452
- * Default value is `false`.
10453
- *
10454
- *
10455
- * @returns Value of property `containerQuery`
10456
- */
10457
- getContainerQuery(): boolean;
10458
- /**
10459
- * Gets current value of property {@link #getDisableFirstRemoveIcon disableFirstRemoveIcon}.
10460
- *
10461
- * makes the remove icon on the first condition row disabled when only one condition exist.
10462
- *
10463
- * Default value is `false`.
10464
- *
10465
- *
10466
- * @returns Value of property `disableFirstRemoveIcon`
10467
- */
10468
- getDisableFirstRemoveIcon(): boolean;
10469
- /**
10470
- * Gets current value of property {@link #getDisplayFormat displayFormat}.
10471
- *
10472
- * This represents the displayFormat of the condition Values. With the value "UpperCase" the entered value
10473
- * of the condition will be converted to upperCase.
10474
- *
10475
- *
10476
- * @returns Value of property `displayFormat`
10477
- */
10478
- getDisplayFormat(): string;
10479
- /**
10480
- * Gets current value of property {@link #getExclude exclude}.
10481
- *
10482
- * exclude options for filter
10483
- *
10484
- * Default value is `false`.
10485
- *
10486
- *
10487
- * @returns Value of property `exclude`
10488
- */
10489
- getExclude(): boolean;
10490
- /**
10491
- * getter for KeyFields array
10492
- *
10493
- *
10494
- * @returns array of KeyFields `[{key: "CompanyCode", text: "ID"}, {key:"CompanyName", text : "Name"}]`
10495
- */
10496
- getKeyFields(): object[];
10497
- /**
10498
- * Gets current value of property {@link #getLayoutMode layoutMode}.
10499
- *
10500
- * can be used to control the layout behavior. Default is "" which will automatically change the layout.
10501
- * With "Desktop", "Table" or "Phone" you can set a fixed layout.
10502
- *
10503
- *
10504
- * @returns Value of property `layoutMode`
10505
- */
10506
- getLayoutMode(): string;
10507
- /**
10508
- * Gets current value of property {@link #getMaxConditions maxConditions}.
10509
- *
10510
- * defines the max number of conditions on the ConditionPanel
10511
- *
10512
- * Default value is `'-1'`.
10513
- *
10514
- *
10515
- * @returns Value of property `maxConditions`
10516
- */
10517
- getMaxConditions(): string;
10518
- /**
10519
- * returns the default array of operations
10520
- *
10521
- *
10522
- * @returns array of operations
10523
- */
10524
- getOperations(
10525
- /**
10526
- * defines the type for which the operations should be returned.
10527
- */
10528
- sType?: string
10529
- ): /* was: sap.ui.compP13nConditionOperation */ any[];
10530
- /**
10531
- * Gets current value of property {@link #getShowLabel showLabel}.
10532
- *
10533
- * show additional labels in the condition
10534
- *
10535
- * Default value is `false`.
10536
- *
10537
- *
10538
- * @returns Value of property `showLabel`
10539
- */
10540
- getShowLabel(): boolean;
10541
- /**
10542
- * Gets current value of property {@link #getUsePrevConditionSetting usePrevConditionSetting}.
10543
- *
10544
- * new added condition use the settings from the previous condition as default.
10545
- *
10546
- * Default value is `true`.
10547
- *
10548
- *
10549
- * @returns Value of property `usePrevConditionSetting`
10550
- */
10551
- getUsePrevConditionSetting(): boolean;
10552
- /**
10553
- * Gets current value of property {@link #getValidationExecutor validationExecutor}.
10554
- *
10555
- * Calls the validation listener tbd...
10556
- *
10557
- *
10558
- * @returns Value of property `validationExecutor`
10559
- */
10560
- getValidationExecutor(): object;
10561
- /**
10562
- * insert a single condition.
10563
- */
10564
- insertCondition(
10565
- /**
10566
- * the new condition of type `{ "key": "007", "operation": sap.ui.compP13nConditionOperation.Ascending,
10567
- * "keyField": "keyFieldKey", "value1": "", "value2": ""};`
10568
- */
10569
- oCondition: object,
10570
- /**
10571
- * of the new condition
10572
- */
10573
- index: int
10574
- ): void;
10575
- /**
10576
- * remove all conditions.
10577
- */
10578
- removeAllConditions(): void;
10579
- /**
10580
- * removes all KeyFields
10581
- */
10582
- removeAllKeyFields(): void;
10583
- /**
10584
- * remove all operations
10585
- */
10586
- removeAllOperations(
10587
- /**
10588
- * defines the type for which all operations should be removed
10589
- */
10590
- sType: string
10591
- ): void;
10592
- /**
10593
- * remove a single condition.
10594
- */
10595
- removeCondition(
10596
- /**
10597
- * is the condition which should be removed. can be either a string with the key of the condition of the
10598
- * condition object itself.
10599
- */
10600
- vCondition: object
10601
- ): void;
10602
- /**
10603
- * removes all invalid conditions.
10604
- *
10605
- * @since 1.28.0
10606
- */
10607
- removeInvalidConditions(): void;
10608
- /**
10609
- * removes all errors/warning states from the value1/2 fields of all conditions.
10610
- *
10611
- * @since 1.28.0
10612
- */
10613
- removeValidationErrors(): void;
10614
- /**
10615
- * Sets a new value for property {@link #getAutoAddNewRow autoAddNewRow}.
10616
- *
10617
- * adds initial a new empty condition row
10618
- *
10619
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10620
- *
10621
- * Default value is `false`.
10622
- *
10623
- *
10624
- * @returns Reference to `this` in order to allow method chaining
10625
- */
10626
- setAutoAddNewRow(
10627
- /**
10628
- * New value for property `autoAddNewRow`
10629
- */
10630
- bAutoAddNewRow?: boolean
10631
- ): this;
10632
- /**
10633
- * Sets a new value for property {@link #getAutoReduceKeyFieldItems autoReduceKeyFieldItems}.
10634
- *
10635
- * KeyField value can only be selected once. When you set the property to `true` the ConditionPanel will
10636
- * automatically offers on the KeyField drop down only the keyFields which are not used. The default behavior
10637
- * is that in each keyField dropdown all keyfields are listed.
10638
- *
10639
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10640
- *
10641
- * Default value is `false`.
10642
- *
10643
- *
10644
- * @returns Reference to `this` in order to allow method chaining
10645
- */
10646
- setAutoReduceKeyFieldItems(
10647
- /**
10648
- * New value for property `autoReduceKeyFieldItems`
10649
- */
10650
- bAutoReduceKeyFieldItems?: boolean
10651
- ): this;
10652
- /**
10653
- * This method must be used to assign a list of conditions.
10654
- */
10655
- setConditions(
10656
- /**
10657
- * array of Conditions.
10658
- */
10659
- aConditions: object[]
10660
- ): void;
10661
- /**
10662
- * Sets a new value for property {@link #getDisableFirstRemoveIcon disableFirstRemoveIcon}.
10663
- *
10664
- * makes the remove icon on the first condition row disabled when only one condition exist.
10665
- *
10666
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10667
- *
10668
- * Default value is `false`.
10669
- *
10670
- *
10671
- * @returns Reference to `this` in order to allow method chaining
10672
- */
10673
- setDisableFirstRemoveIcon(
10674
- /**
10675
- * New value for property `disableFirstRemoveIcon`
10676
- */
10677
- bDisableFirstRemoveIcon?: boolean
10678
- ): this;
10679
- /**
10680
- * Sets a new value for property {@link #getDisplayFormat displayFormat}.
10681
- *
10682
- * This represents the displayFormat of the condition Values. With the value "UpperCase" the entered value
10683
- * of the condition will be converted to upperCase.
10684
- *
10685
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10686
- *
10687
- *
10688
- * @returns Reference to `this` in order to allow method chaining
10689
- */
10690
- setDisplayFormat(
10691
- /**
10692
- * New value for property `displayFormat`
10693
- */
10694
- sDisplayFormat?: string
10695
- ): this;
10696
- /**
10697
- * Sets a new value for property {@link #getExclude exclude}.
10698
- *
10699
- * exclude options for filter
10700
- *
10701
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10702
- *
10703
- * Default value is `false`.
10704
- *
10705
- *
10706
- * @returns Reference to `this` in order to allow method chaining
10707
- */
10708
- setExclude(
10709
- /**
10710
- * New value for property `exclude`
10711
- */
10712
- bExclude?: boolean
10713
- ): this;
10714
- /**
10715
- * This method allows you to specify the KeyFields for the conditions. You can set an array of object with
10716
- * Key and Text properties to define the keyfields.
10717
- */
10718
- setKeyFields(
10719
- /**
10720
- * array of KeyFields `[{key: "CompanyCode", text: "ID"}, {key:"CompanyName", text : "Name"}]`
10721
- */
10722
- aKeyFields: any[]
10723
- ): void;
10724
- /**
10725
- * Sets a new value for property {@link #getMaxConditions maxConditions}.
10726
- *
10727
- * defines the max number of conditions on the ConditionPanel
10728
- *
10729
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10730
- *
10731
- * Default value is `'-1'`.
10732
- *
10733
- *
10734
- * @returns Reference to `this` in order to allow method chaining
10735
- */
10736
- setMaxConditions(
10737
- /**
10738
- * New value for property `maxConditions`
10739
- */
10740
- sMaxConditions?: string
10741
- ): this;
10742
- /**
10743
- * setter for the supported operations which we show per condition row. This array of "default" operations
10744
- * will only be used when we do not have on the keyfield itself some specific operations and a keyfield
10745
- * is of not of type date or numeric.
10746
- */
10747
- setOperations(
10748
- /**
10749
- * array of operations `[sap.ui.compP13nConditionOperation.BT, sap.ui.compP13nConditionOperation.EQ]`
10750
- */
10751
- aOperations: /* was: sap.ui.compP13nConditionOperation */ any[],
10752
- /**
10753
- * defines the type for which this operations will be used. is `sType` is not defined the operations will
10754
- * be used as default operations.
10755
- */
10756
- sType: string
10757
- ): void;
10758
- /**
10759
- * Sets a new value for property {@link #getShowLabel showLabel}.
10760
- *
10761
- * show additional labels in the condition
10762
- *
10763
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10764
- *
10765
- * Default value is `false`.
10766
- *
10767
- *
10768
- * @returns Reference to `this` in order to allow method chaining
10769
- */
10770
- setShowLabel(
10771
- /**
10772
- * New value for property `showLabel`
10773
- */
10774
- bShowLabel?: boolean
10775
- ): this;
10776
- /**
10777
- * Sets a new value for property {@link #getUsePrevConditionSetting usePrevConditionSetting}.
10778
- *
10779
- * new added condition use the settings from the previous condition as default.
10780
- *
10781
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10782
- *
10783
- * Default value is `true`.
10784
- *
10785
- *
10786
- * @returns Reference to `this` in order to allow method chaining
10787
- */
10788
- setUsePrevConditionSetting(
10789
- /**
10790
- * New value for property `usePrevConditionSetting`
10791
- */
10792
- bUsePrevConditionSetting?: boolean
10793
- ): this;
10794
- /**
10795
- * Sets a new value for property {@link #getValidationExecutor validationExecutor}.
10796
- *
10797
- * Calls the validation listener tbd...
10798
- *
10799
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10800
- *
10801
- *
10802
- * @returns Reference to `this` in order to allow method chaining
10803
- */
10804
- setValidationExecutor(
10805
- /**
10806
- * New value for property `validationExecutor`
10807
- */
10808
- oValidationExecutor?: object
10809
- ): this;
10810
- }
10811
- /**
10812
- * Type for `filterItems` aggregation in P13nFilterPanel control.
10813
- *
10814
- * @since 1.136
10815
- */
10816
- class P13nFilterItem extends sap.ui.core.Item {
10817
- /**
10818
- * Constructor for a new P13nFilterItem.
10819
- *
10820
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
10821
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
10822
- * of the syntax of the settings object.
10823
- */
10824
- constructor(
10825
- /**
10826
- * initial settings for the new control
10827
- */
10828
- mSettings?: sap.ui.comp.p13n.$P13nFilterItemSettings
10829
- );
10830
- /**
10831
- * Constructor for a new P13nFilterItem.
10832
- *
10833
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
10834
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
10835
- * of the syntax of the settings object.
10836
- */
10837
- constructor(
10838
- /**
10839
- * ID for the new control, generated automatically if no ID is given
10840
- */
10841
- sId?: string,
10842
- /**
10843
- * initial settings for the new control
10844
- */
10845
- mSettings?: sap.ui.comp.p13n.$P13nFilterItemSettings
10846
- );
10847
-
10848
- /**
10849
- * Creates a new subclass of class sap.ui.comp.p13n.P13nFilterItem with name `sClassName` and enriches it
10850
- * with the information contained in `oClassInfo`.
10851
- *
10852
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
10853
- *
10854
- *
10855
- * @returns Created class / constructor function
10856
- */
10857
- static extend<T extends Record<string, unknown>>(
10858
- /**
10859
- * Name of the class being created
10860
- */
10861
- sClassName: string,
10862
- /**
10863
- * Object literal with information about the class
10864
- */
10865
- oClassInfo?: sap.ClassInfo<T, sap.ui.comp.p13n.P13nFilterItem>,
10866
- /**
10867
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10868
- * used by this class
10869
- */
10870
- FNMetaImpl?: Function
10871
- ): Function;
10872
- /**
10873
- * Returns a metadata object for class sap.ui.comp.p13n.P13nFilterItem.
10874
- *
10875
- *
10876
- * @returns Metadata object describing this class
10877
- */
10878
- static getMetadata(): sap.ui.core.ElementMetadata;
10879
- /**
10880
- * Gets current value of property {@link #getColumnKey columnKey}.
10881
- *
10882
- * key of the column
10883
- *
10884
- *
10885
- * @returns Value of property `columnKey`
10886
- */
10887
- getColumnKey(): string;
10888
- /**
10889
- * Gets current value of property {@link #getExclude exclude}.
10890
- *
10891
- * defines if the filter is an include or exclude filter item
10892
- *
10893
- * Default value is `false`.
10894
- *
10895
- *
10896
- * @returns Value of property `exclude`
10897
- */
10898
- getExclude(): boolean;
10899
- /**
10900
- * Gets current value of property {@link #getOperation operation}.
10901
- *
10902
- * sap.ui.comp.P13nConditionOperation
10903
- *
10904
- *
10905
- * @returns Value of property `operation`
10906
- */
10907
- getOperation(): string;
10908
- /**
10909
- * Gets current value of property {@link #getValue1 value1}.
10910
- *
10911
- * value of the filter
10912
- *
10913
- *
10914
- * @returns Value of property `value1`
10915
- */
10916
- getValue1(): string;
10917
- /**
10918
- * Gets current value of property {@link #getValue2 value2}.
10919
- *
10920
- * to value of the between filter
10921
- *
10922
- *
10923
- * @returns Value of property `value2`
10924
- */
10925
- getValue2(): string;
10926
- /**
10927
- * Sets a new value for property {@link #getColumnKey columnKey}.
10928
- *
10929
- * key of the column
10930
- *
10931
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10932
- *
10933
- *
10934
- * @returns Reference to `this` in order to allow method chaining
10935
- */
10936
- setColumnKey(
10937
- /**
10938
- * New value for property `columnKey`
10939
- */
10940
- sColumnKey?: string
10941
- ): this;
10942
- /**
10943
- * Sets a new value for property {@link #getExclude exclude}.
10944
- *
10945
- * defines if the filter is an include or exclude filter item
10946
- *
10947
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10948
- *
10949
- * Default value is `false`.
10950
- *
10951
- *
10952
- * @returns Reference to `this` in order to allow method chaining
10953
- */
10954
- setExclude(
10955
- /**
10956
- * New value for property `exclude`
10957
- */
10958
- bExclude?: boolean
10959
- ): this;
10960
- /**
10961
- * Sets a new value for property {@link #getOperation operation}.
10962
- *
10963
- * sap.ui.comp.P13nConditionOperation
10964
- *
10965
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10966
- *
10967
- *
10968
- * @returns Reference to `this` in order to allow method chaining
10969
- */
10970
- setOperation(
10971
- /**
10972
- * New value for property `operation`
10973
- */
10974
- sOperation?: string
10975
- ): this;
10976
- /**
10977
- * Sets a new value for property {@link #getValue1 value1}.
10978
- *
10979
- * value of the filter
10980
- *
10981
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10982
- *
10983
- *
10984
- * @returns Reference to `this` in order to allow method chaining
10985
- */
10986
- setValue1(
10987
- /**
10988
- * New value for property `value1`
10989
- */
10990
- sValue1?: string
10991
- ): this;
10992
- /**
10993
- * Sets a new value for property {@link #getValue2 value2}.
10994
- *
10995
- * to value of the between filter
10996
- *
10997
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10998
- *
10999
- *
11000
- * @returns Reference to `this` in order to allow method chaining
11001
- */
11002
- setValue2(
11003
- /**
11004
- * New value for property `value2`
11005
- */
11006
- sValue2?: string
11007
- ): this;
11008
- }
11009
- /**
11010
- * The P13nFilterPanelBase control is used to define filter-specific settings for table personalization.
11011
- *
11012
- * @since 1.136
11013
- */
11014
- class P13nFilterPanelBase
11015
- extends /* was: sap.ui.comp.P13nPanel */ Object
11016
- {
11017
- /**
11018
- * Constructor for a new P13nFilterPanelBase.
11019
- *
11020
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
11021
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
11022
- * of the syntax of the settings object.
11023
- */
11024
- constructor(
11025
- /**
11026
- * ID for the new control, generated automatically if no ID is given
11027
- */
11028
- sId?: string,
11029
- /**
11030
- * initial settings for the new control
11031
- */
11032
- mSettings?: object
11033
- );
11034
-
11035
- /**
11036
- * Creates a new subclass of class sap.ui.comp.p13n.P13nFilterPanelBase with name `sClassName` and enriches
11037
- * it with the information contained in `oClassInfo`.
11038
- *
11039
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.comp.P13nPanel.extend}.
11040
- *
11041
- *
11042
- * @returns Created class / constructor function
11043
- */
11044
- static extend<T extends Record<string, unknown>>(
11045
- /**
11046
- * Name of the class being created
11047
- */
11048
- sClassName: string,
11049
- /**
11050
- * Object literal with information about the class
11051
- */
11052
- oClassInfo?: sap.ClassInfo<T, sap.ui.comp.p13n.P13nFilterPanelBase>,
11053
- /**
11054
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
11055
- * used by this class
11056
- */
11057
- FNMetaImpl?: Function
11058
- ): Function;
11059
- /**
11060
- * Returns a metadata object for class sap.ui.comp.p13n.P13nFilterPanelBase.
11061
- *
11062
- *
11063
- * @returns Metadata object describing this class
11064
- */
11065
- static getMetadata(): sap.ui.base.Metadata;
11066
- /**
11067
- * Adds some filterItem to the aggregation {@link #getFilterItems filterItems}.
11068
- *
11069
- *
11070
- * @returns Reference to `this` in order to allow method chaining
11071
- */
11072
- addFilterItem(
11073
- /**
11074
- * The filterItem to add; if empty, nothing is inserted
11075
- */
11076
- oFilterItem: /* was: sap.ui.comp.P13nFilterItem */ any
11077
- ): this;
11078
- /**
11079
- * Attaches event handler `fnFunction` to the {@link #event:addFilterItem addFilterItem} event of this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11080
- *
11081
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11082
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11083
- *
11084
- * Event raised if a filter item has been added.
11085
- *
11086
- *
11087
- * @returns Reference to `this` in order to allow method chaining
11088
- */
11089
- attachAddFilterItem(
11090
- /**
11091
- * An application-specific payload object that will be passed to the event handler along with the event
11092
- * object when firing the event
11093
- */
11094
- oData: object,
11095
- /**
11096
- * The function to be called when the event occurs
11097
- */
11098
- fnFunction: (p1: sap.ui.base.Event) => void,
11099
- /**
11100
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11101
- * itself
11102
- */
11103
- oListener?: object
11104
- ): this;
11105
- /**
11106
- * Attaches event handler `fnFunction` to the {@link #event:addFilterItem addFilterItem} event of this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11107
- *
11108
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11109
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11110
- *
11111
- * Event raised if a filter item has been added.
11112
- *
11113
- *
11114
- * @returns Reference to `this` in order to allow method chaining
11115
- */
11116
- attachAddFilterItem(
11117
- /**
11118
- * The function to be called when the event occurs
11119
- */
11120
- fnFunction: (p1: sap.ui.base.Event) => void,
11121
- /**
11122
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11123
- * itself
11124
- */
11125
- oListener?: object
11126
- ): this;
11127
- /**
11128
- * Attaches event handler `fnFunction` to the {@link #event:filterItemChanged filterItemChanged} event of
11129
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11130
- *
11131
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11132
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11133
- *
11134
- * Event raised if a filter item has been changed. reason can be added, updated or removed.
11135
- *
11136
- *
11137
- * @returns Reference to `this` in order to allow method chaining
11138
- */
11139
- attachFilterItemChanged(
11140
- /**
11141
- * An application-specific payload object that will be passed to the event handler along with the event
11142
- * object when firing the event
11143
- */
11144
- oData: object,
11145
- /**
11146
- * The function to be called when the event occurs
11147
- */
11148
- fnFunction: (p1: sap.ui.base.Event) => void,
11149
- /**
11150
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11151
- * itself
11152
- */
11153
- oListener?: object
11154
- ): this;
11155
- /**
11156
- * Attaches event handler `fnFunction` to the {@link #event:filterItemChanged filterItemChanged} event of
11157
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11158
- *
11159
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11160
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11161
- *
11162
- * Event raised if a filter item has been changed. reason can be added, updated or removed.
11163
- *
11164
- *
11165
- * @returns Reference to `this` in order to allow method chaining
11166
- */
11167
- attachFilterItemChanged(
11168
- /**
11169
- * The function to be called when the event occurs
11170
- */
11171
- fnFunction: (p1: sap.ui.base.Event) => void,
11172
- /**
11173
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11174
- * itself
11175
- */
11176
- oListener?: object
11177
- ): this;
11178
- /**
11179
- * Attaches event handler `fnFunction` to the {@link #event:removeFilterItem removeFilterItem} event of
11180
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11181
- *
11182
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11183
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11184
- *
11185
- * Event raised if a filter item has been removed.
11186
- *
11187
- *
11188
- * @returns Reference to `this` in order to allow method chaining
11189
- */
11190
- attachRemoveFilterItem(
11191
- /**
11192
- * An application-specific payload object that will be passed to the event handler along with the event
11193
- * object when firing the event
11194
- */
11195
- oData: object,
11196
- /**
11197
- * The function to be called when the event occurs
11198
- */
11199
- fnFunction: (p1: sap.ui.base.Event) => void,
11200
- /**
11201
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11202
- * itself
11203
- */
11204
- oListener?: object
11205
- ): this;
11206
- /**
11207
- * Attaches event handler `fnFunction` to the {@link #event:removeFilterItem removeFilterItem} event of
11208
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11209
- *
11210
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11211
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11212
- *
11213
- * Event raised if a filter item has been removed.
11214
- *
11215
- *
11216
- * @returns Reference to `this` in order to allow method chaining
11217
- */
11218
- attachRemoveFilterItem(
11219
- /**
11220
- * The function to be called when the event occurs
11221
- */
11222
- fnFunction: (p1: sap.ui.base.Event) => void,
11223
- /**
11224
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11225
- * itself
11226
- */
11227
- oListener?: object
11228
- ): this;
11229
- /**
11230
- * Attaches event handler `fnFunction` to the {@link #event:updateFilterItem updateFilterItem} event of
11231
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11232
- *
11233
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11234
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11235
- *
11236
- * Event raised if a filter item has been updated.
11237
- *
11238
- *
11239
- * @returns Reference to `this` in order to allow method chaining
11240
- */
11241
- attachUpdateFilterItem(
11242
- /**
11243
- * An application-specific payload object that will be passed to the event handler along with the event
11244
- * object when firing the event
11245
- */
11246
- oData: object,
11247
- /**
11248
- * The function to be called when the event occurs
11249
- */
11250
- fnFunction: (p1: sap.ui.base.Event) => void,
11251
- /**
11252
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11253
- * itself
11254
- */
11255
- oListener?: object
11256
- ): this;
11257
- /**
11258
- * Attaches event handler `fnFunction` to the {@link #event:updateFilterItem updateFilterItem} event of
11259
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11260
- *
11261
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11262
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nFilterPanelBase` itself.
11263
- *
11264
- * Event raised if a filter item has been updated.
11265
- *
11266
- *
11267
- * @returns Reference to `this` in order to allow method chaining
11268
- */
11269
- attachUpdateFilterItem(
11270
- /**
11271
- * The function to be called when the event occurs
11272
- */
11273
- fnFunction: (p1: sap.ui.base.Event) => void,
11274
- /**
11275
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nFilterPanelBase`
11276
- * itself
11277
- */
11278
- oListener?: object
11279
- ): this;
11280
- /**
11281
- * Binds aggregation {@link #getFilterItems filterItems} to model data.
11282
- *
11283
- * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description
11284
- * of the possible properties of `oBindingInfo`.
11285
- *
11286
- *
11287
- * @returns Reference to `this` in order to allow method chaining
11288
- */
11289
- bindFilterItems(
11290
- /**
11291
- * The binding information
11292
- */
11293
- oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
11294
- ): this;
11295
- /**
11296
- * Destroys all the filterItems in the aggregation {@link #getFilterItems filterItems}.
11297
- *
11298
- *
11299
- * @returns Reference to `this` in order to allow method chaining
11300
- */
11301
- destroyFilterItems(): this;
11302
- /**
11303
- * Destroys the messageStrip in the aggregation {@link #getMessageStrip messageStrip}.
11304
- *
11305
- *
11306
- * @returns Reference to `this` in order to allow method chaining
11307
- */
11308
- destroyMessageStrip(): this;
11309
- /**
11310
- * Detaches event handler `fnFunction` from the {@link #event:addFilterItem addFilterItem} event of this
11311
- * `sap.ui.comp.p13n.P13nFilterPanelBase`.
11312
- *
11313
- * The passed function and listener object must match the ones used for event registration.
11314
- *
11315
- *
11316
- * @returns Reference to `this` in order to allow method chaining
11317
- */
11318
- detachAddFilterItem(
11319
- /**
11320
- * The function to be called, when the event occurs
11321
- */
11322
- fnFunction: (p1: sap.ui.base.Event) => void,
11323
- /**
11324
- * Context object on which the given function had to be called
11325
- */
11326
- oListener?: object
11327
- ): this;
11328
- /**
11329
- * Detaches event handler `fnFunction` from the {@link #event:filterItemChanged filterItemChanged} event
11330
- * of this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11331
- *
11332
- * The passed function and listener object must match the ones used for event registration.
11333
- *
11334
- *
11335
- * @returns Reference to `this` in order to allow method chaining
11336
- */
11337
- detachFilterItemChanged(
11338
- /**
11339
- * The function to be called, when the event occurs
11340
- */
11341
- fnFunction: (p1: sap.ui.base.Event) => void,
11342
- /**
11343
- * Context object on which the given function had to be called
11344
- */
11345
- oListener?: object
11346
- ): this;
11347
- /**
11348
- * Detaches event handler `fnFunction` from the {@link #event:removeFilterItem removeFilterItem} event of
11349
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11350
- *
11351
- * The passed function and listener object must match the ones used for event registration.
11352
- *
11353
- *
11354
- * @returns Reference to `this` in order to allow method chaining
11355
- */
11356
- detachRemoveFilterItem(
11357
- /**
11358
- * The function to be called, when the event occurs
11359
- */
11360
- fnFunction: (p1: sap.ui.base.Event) => void,
11361
- /**
11362
- * Context object on which the given function had to be called
11363
- */
11364
- oListener?: object
11365
- ): this;
11366
- /**
11367
- * Detaches event handler `fnFunction` from the {@link #event:updateFilterItem updateFilterItem} event of
11368
- * this `sap.ui.comp.p13n.P13nFilterPanelBase`.
11369
- *
11370
- * The passed function and listener object must match the ones used for event registration.
11371
- *
11372
- *
11373
- * @returns Reference to `this` in order to allow method chaining
11374
- */
11375
- detachUpdateFilterItem(
11376
- /**
11377
- * The function to be called, when the event occurs
11378
- */
11379
- fnFunction: (p1: sap.ui.base.Event) => void,
11380
- /**
11381
- * Context object on which the given function had to be called
11382
- */
11383
- oListener?: object
11384
- ): this;
11385
- /**
11386
- * Fires event {@link #event:addFilterItem addFilterItem} to attached listeners.
11387
- *
11388
- * @ui5-protected Do not call from applications (only from related classes in the framework)
11389
- *
11390
- * @returns Reference to `this` in order to allow method chaining
11391
- */
11392
- fireAddFilterItem(
11393
- /**
11394
- * Parameters to pass along with the event
11395
- */
11396
- mParameters?: object
11397
- ): this;
11398
- /**
11399
- * Fires event {@link #event:filterItemChanged filterItemChanged} to attached listeners.
11400
- *
11401
- * @ui5-protected Do not call from applications (only from related classes in the framework)
11402
- *
11403
- * @returns Reference to `this` in order to allow method chaining
11404
- */
11405
- fireFilterItemChanged(
11406
- /**
11407
- * Parameters to pass along with the event
11408
- */
11409
- mParameters?: {
11410
- /**
11411
- * reason for the changeFilterItem event. Value can be added, updated or removed.
11412
- */
11413
- reason?: string;
11414
- /**
11415
- * key of the changed filterItem
11416
- */
11417
- key?: string;
11418
- /**
11419
- * index of the changed filterItem
11420
- */
11421
- index?: int;
11422
- /**
11423
- * JSON object of the changed filterItem instance (in case of reason=="removed" the itemData parameter does
11424
- * not exist)
11425
- */
11426
- itemData?: object;
11427
- }
11428
- ): this;
11429
- /**
11430
- * Fires event {@link #event:removeFilterItem removeFilterItem} to attached listeners.
11431
- *
11432
- * @ui5-protected Do not call from applications (only from related classes in the framework)
11433
- *
11434
- * @returns Reference to `this` in order to allow method chaining
11435
- */
11436
- fireRemoveFilterItem(
11437
- /**
11438
- * Parameters to pass along with the event
11439
- */
11440
- mParameters?: object
11441
- ): this;
11442
- /**
11443
- * Fires event {@link #event:updateFilterItem updateFilterItem} to attached listeners.
11444
- *
11445
- * @ui5-protected Do not call from applications (only from related classes in the framework)
11446
- *
11447
- * @returns Reference to `this` in order to allow method chaining
11448
- */
11449
- fireUpdateFilterItem(
11450
- /**
11451
- * Parameters to pass along with the event
11452
- */
11453
- mParameters?: object
11454
- ): this;
11455
- /**
11456
- * Returns the array of conditions.
11457
- *
11458
- *
11459
- * @returns array with filter conditions
11460
- */
11461
- getConditions(): /* was: sap.ui.comp.P13nFilterPanelBase.FilterConditionOperations */ any[];
11462
- /**
11463
- * Gets current value of property {@link #getContainerQuery containerQuery}.
11464
- *
11465
- * Defines if the `mediaQuery` or a `ContainerResize` is used for layout update. If the `ConditionPanel`
11466
- * is used in a dialog, the property must be set to `true`.
11467
- *
11468
- * Default value is `false`.
11469
- *
11470
- *
11471
- * @returns Value of property `containerQuery`
11472
- */
11473
- getContainerQuery(): boolean;
11474
- /**
11475
- * Gets current value of property {@link #getEnableEmptyOperations enableEmptyOperations}.
11476
- *
11477
- * Should empty operation be enabled for certain data types. This is also based on their nullable setting.
11478
- *
11479
- * Default value is `false`.
11480
- *
11481
- *
11482
- * @returns Value of property `enableEmptyOperations`
11483
- */
11484
- getEnableEmptyOperations(): boolean;
11485
- /**
11486
- * Getter for the exclude operations.
11487
- *
11488
- *
11489
- * @returns array of operations [`sap.ui.comp.P13nConditionOperation.BT`, `sap.ui.comp.P13nConditionOperation.EQ`]
11490
- */
11491
- getExcludeOperations(
11492
- /**
11493
- * the type for which the operations are defined
11494
- */
11495
- sType: string
11496
- ): /* was: sap.ui.comp.P13nConditionOperation */ any[];
11497
- /**
11498
- * Gets content of aggregation {@link #getFilterItems filterItems}.
11499
- *
11500
- * Defines filter items.
11501
- */
11502
- getFilterItems(): /* was: sap.ui.comp.P13nFilterItem */ any[];
11503
- /**
11504
- * Getter for the include operations.
11505
- *
11506
- *
11507
- * @returns array of operations [`sap.ui.comp.P13nConditionOperation.BT`, `sap.ui.comp.P13nConditionOperation.EQ`]
11508
- */
11509
- getIncludeOperations(
11510
- /**
11511
- * for which the operations are defined
11512
- */
11513
- sType: string
11514
- ): /* was: sap.ui.comp.P13nConditionOperation */ any;
11515
- /**
11516
- * Gets current value of property {@link #getLayoutMode layoutMode}.
11517
- *
11518
- * Can be used to control the layout behavior. Default is "" which will automatically change the layout.
11519
- * With "Desktop", "Table" or"Phone" you can set a fixed layout.
11520
- *
11521
- *
11522
- * @returns Value of property `layoutMode`
11523
- */
11524
- getLayoutMode(): string;
11525
- /**
11526
- * Gets current value of property {@link #getMaxExcludes maxExcludes}.
11527
- *
11528
- * Defines the maximum number of exclude filters.
11529
- *
11530
- * Default value is `'-1'`.
11531
- *
11532
- *
11533
- * @returns Value of property `maxExcludes`
11534
- */
11535
- getMaxExcludes(): string;
11536
- /**
11537
- * Gets current value of property {@link #getMaxIncludes maxIncludes}.
11538
- *
11539
- * Defines the maximum number of include filters.
11540
- *
11541
- * Default value is `'-1'`.
11542
- *
11543
- *
11544
- * @returns Value of property `maxIncludes`
11545
- */
11546
- getMaxIncludes(): string;
11547
- /**
11548
- * Gets content of aggregation {@link #getMessageStrip messageStrip}.
11549
- *
11550
- * Defines an optional message strip to be displayed in the content area
11551
- */
11552
- getMessageStrip(): sap.m.MessageStrip;
11553
- /**
11554
- * Checks for the provided `sap.ui.comp.P13nFilterItem` in the aggregation {@link #getFilterItems filterItems}.
11555
- * and returns its index if found or -1 otherwise.
11556
- *
11557
- *
11558
- * @returns The index of the provided control in the aggregation if found, or -1 otherwise
11559
- */
11560
- indexOfFilterItem(
11561
- /**
11562
- * The filterItem whose index is looked for
11563
- */
11564
- oFilterItem: /* was: sap.ui.comp.P13nFilterItem */ any
11565
- ): int;
11566
- /**
11567
- * Inserts a filterItem into the aggregation {@link #getFilterItems filterItems}.
11568
- *
11569
- *
11570
- * @returns Reference to `this` in order to allow method chaining
11571
- */
11572
- insertFilterItem(
11573
- /**
11574
- * The filterItem to insert; if empty, nothing is inserted
11575
- */
11576
- oFilterItem: /* was: sap.ui.comp.P13nFilterItem */ any,
11577
- /**
11578
- * The `0`-based index the filterItem should be inserted at; for a negative value of `iIndex`, the filterItem
11579
- * is inserted at position 0; for a value greater than the current size of the aggregation, the filterItem
11580
- * is inserted at the last position
11581
- */
11582
- iIndex: int
11583
- ): this;
11584
- /**
11585
- * Removes all the controls from the aggregation {@link #getFilterItems filterItems}.
11586
- *
11587
- * Additionally, it unregisters them from the hosting UIArea.
11588
- *
11589
- *
11590
- * @returns An array of the removed elements (might be empty)
11591
- */
11592
- removeAllFilterItems(): /* was: sap.ui.comp.P13nFilterItem */ any[];
11593
- /**
11594
- * Removes a filterItem from the aggregation {@link #getFilterItems filterItems}.
11595
- *
11596
- *
11597
- * @returns The removed filterItem or `null`
11598
- */
11599
- removeFilterItem(
11600
- /**
11601
- * The filterItem to remove or its index or id
11602
- */
11603
- vFilterItem:
11604
- | int
11605
- | string
11606
- | /* was: sap.ui.comp.P13nFilterItem */ any
11607
- ): /* was: sap.ui.comp.P13nFilterItem */ any | null;
11608
- /**
11609
- * Removes all invalid conditions.
11610
- *
11611
- * @since 1.28
11612
- */
11613
- removeInvalidConditions(): void;
11614
- /**
11615
- * Removes all errors and warnings states from of all filter conditions.
11616
- *
11617
- * @since 1.28
11618
- */
11619
- removeValidationErrors(): void;
11620
- /**
11621
- * Sets the array of conditions.
11622
- *
11623
- *
11624
- * @returns this for chaining
11625
- */
11626
- setConditions(
11627
- /**
11628
- * the complete list of conditions
11629
- */
11630
- aConditions: /* was: sap.ui.comp.P13nFilterPanelBase.FilterConditionOperations */ any[]
11631
- ): this;
11632
- /**
11633
- * Sets a new value for property {@link #getContainerQuery containerQuery}.
11634
- *
11635
- * Defines if the `mediaQuery` or a `ContainerResize` is used for layout update. If the `ConditionPanel`
11636
- * is used in a dialog, the property must be set to `true`.
11637
- *
11638
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11639
- *
11640
- * Default value is `false`.
11641
- *
11642
- *
11643
- * @returns Reference to `this` in order to allow method chaining
11644
- */
11645
- setContainerQuery(
11646
- /**
11647
- * New value for property `containerQuery`
11648
- */
11649
- bContainerQuery?: boolean
11650
- ): this;
11651
- /**
11652
- * Sets a new value for property {@link #getEnableEmptyOperations enableEmptyOperations}.
11653
- *
11654
- * Should empty operation be enabled for certain data types. This is also based on their nullable setting.
11655
- *
11656
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11657
- *
11658
- * Default value is `false`.
11659
- *
11660
- *
11661
- * @returns Reference to `this` in order to allow method chaining
11662
- */
11663
- setEnableEmptyOperations(
11664
- /**
11665
- * New value for property `enableEmptyOperations`
11666
- */
11667
- bEnableEmptyOperations?: boolean
11668
- ): this;
11669
- /**
11670
- * Setter for the supported exclude operations array.
11671
- */
11672
- setExcludeOperations(
11673
- /**
11674
- * array of operations [`sap.ui.comp.P13nConditionOperation.BT`, `sap.ui.comp.P13nConditionOperation.EQ`]
11675
- */
11676
- aOperation: /* was: sap.ui.comp.P13nConditionOperation */ any[],
11677
- /**
11678
- * the type for which the operations are defined
11679
- */
11680
- sType: string
11681
- ): void;
11682
- /**
11683
- * Setter for the supported Include operations array.
11684
- */
11685
- setIncludeOperations(
11686
- /**
11687
- * array of operations [`sap.ui.comp.P13nConditionOperation.BT`, `sap.ui.comp.P13nConditionOperation.EQ`]
11688
- */
11689
- aOperation: /* was: sap.ui.comp.P13nConditionOperation */ any[],
11690
- /**
11691
- * the type for which the operations are defined
11692
- */
11693
- sType: string
11694
- ): void;
11695
- /**
11696
- * Sets a new value for property {@link #getLayoutMode layoutMode}.
11697
- *
11698
- * Can be used to control the layout behavior. Default is "" which will automatically change the layout.
11699
- * With "Desktop", "Table" or"Phone" you can set a fixed layout.
11700
- *
11701
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11702
- *
11703
- *
11704
- * @returns Reference to `this` in order to allow method chaining
11705
- */
11706
- setLayoutMode(
11707
- /**
11708
- * New value for property `layoutMode`
11709
- */
11710
- sLayoutMode?: string
11711
- ): this;
11712
- /**
11713
- * Sets a new value for property {@link #getMaxExcludes maxExcludes}.
11714
- *
11715
- * Defines the maximum number of exclude filters.
11716
- *
11717
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11718
- *
11719
- * Default value is `'-1'`.
11720
- *
11721
- *
11722
- * @returns Reference to `this` in order to allow method chaining
11723
- */
11724
- setMaxExcludes(
11725
- /**
11726
- * New value for property `maxExcludes`
11727
- */
11728
- sMaxExcludes?: string
11729
- ): this;
11730
- /**
11731
- * Sets a new value for property {@link #getMaxIncludes maxIncludes}.
11732
- *
11733
- * Defines the maximum number of include filters.
11734
- *
11735
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11736
- *
11737
- * Default value is `'-1'`.
11738
- *
11739
- *
11740
- * @returns Reference to `this` in order to allow method chaining
11741
- */
11742
- setMaxIncludes(
11743
- /**
11744
- * New value for property `maxIncludes`
11745
- */
11746
- sMaxIncludes?: string
11747
- ): this;
11748
- /**
11749
- * Sets the aggregated {@link #getMessageStrip messageStrip}.
11750
- *
11751
- *
11752
- * @returns Reference to `this` in order to allow method chaining
11753
- */
11754
- setMessageStrip(
11755
- /**
11756
- * The messageStrip to set
11757
- */
11758
- oMessageStrip: sap.m.MessageStrip
11759
- ): this;
11760
- /**
11761
- * Unbinds aggregation {@link #getFilterItems filterItems} from model data.
11762
- *
11763
- *
11764
- * @returns Reference to `this` in order to allow method chaining
11765
- */
11766
- unbindFilterItems(): this;
11767
- /**
11768
- * Checks if the entered and modified conditions are correct, marks invalid fields in yellow (warning).
11769
- *
11770
- *
11771
- * @returns `True` if all conditions are valid, `false` otherwise.
11772
- */
11773
- validateConditions(): boolean;
11774
- }
11775
9956
  /**
11776
9957
  * Base type for `items` aggregation in `P13nPanel` control.
11777
9958
  *
@@ -12382,500 +10563,6 @@ declare namespace sap {
12382
10563
  sWidth?: string
12383
10564
  ): this;
12384
10565
  }
12385
- /**
12386
- * An abstract base type for `panels` aggregation in `P13nDialog` control.
12387
- *
12388
- * @since 1.136
12389
- */
12390
- abstract class P13nPanel
12391
- extends sap.ui.core.Control
12392
- implements /* was: sap.ui.comp.p13n.IContent */ Object
12393
- {
12394
- __implements__sap_ui_comp_p13n_IContent: boolean;
12395
- /**
12396
- * Constructor for a new P13nPanel.
12397
- *
12398
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
12399
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
12400
- * of the syntax of the settings object.
12401
- */
12402
- constructor(
12403
- /**
12404
- * initial settings for the new control
12405
- */
12406
- mSettings?: sap.ui.comp.p13n.$P13nPanelSettings
12407
- );
12408
- /**
12409
- * Constructor for a new P13nPanel.
12410
- *
12411
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
12412
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
12413
- * of the syntax of the settings object.
12414
- */
12415
- constructor(
12416
- /**
12417
- * ID for the new control, generated automatically if no ID is given
12418
- */
12419
- sId?: string,
12420
- /**
12421
- * initial settings for the new control
12422
- */
12423
- mSettings?: sap.ui.comp.p13n.$P13nPanelSettings
12424
- );
12425
-
12426
- /**
12427
- * Creates a new subclass of class sap.ui.comp.p13n.P13nPanel with name `sClassName` and enriches it with
12428
- * the information contained in `oClassInfo`.
12429
- *
12430
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
12431
- *
12432
- *
12433
- * @returns Created class / constructor function
12434
- */
12435
- static extend<T extends Record<string, unknown>>(
12436
- /**
12437
- * Name of the class being created
12438
- */
12439
- sClassName: string,
12440
- /**
12441
- * Object literal with information about the class
12442
- */
12443
- oClassInfo?: sap.ClassInfo<T, sap.ui.comp.p13n.P13nPanel>,
12444
- /**
12445
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
12446
- * used by this class
12447
- */
12448
- FNMetaImpl?: Function
12449
- ): Function;
12450
- /**
12451
- * Returns a metadata object for class sap.ui.comp.p13n.P13nPanel.
12452
- *
12453
- *
12454
- * @returns Metadata object describing this class
12455
- */
12456
- static getMetadata(): sap.ui.core.ElementMetadata;
12457
- /**
12458
- * Adds some item to the aggregation {@link #getItems items}.
12459
- *
12460
- *
12461
- * @returns Reference to `this` in order to allow method chaining
12462
- */
12463
- addItem(
12464
- /**
12465
- * The item to add; if empty, nothing is inserted
12466
- */
12467
- oItem: sap.m.P13nItem
12468
- ): this;
12469
- /**
12470
- * Attaches event handler `fnFunction` to the {@link #event:beforeNavigationTo beforeNavigationTo} event
12471
- * of this `sap.ui.comp.p13n.P13nPanel`.
12472
- *
12473
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
12474
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nPanel` itself.
12475
- *
12476
- * Due to performance the data of the panel can be requested in lazy mode e.g. when the panel is displayed
12477
- *
12478
- * @since 1.28.0
12479
- *
12480
- * @returns Reference to `this` in order to allow method chaining
12481
- */
12482
- attachBeforeNavigationTo(
12483
- /**
12484
- * An application-specific payload object that will be passed to the event handler along with the event
12485
- * object when firing the event
12486
- */
12487
- oData: object,
12488
- /**
12489
- * The function to be called when the event occurs
12490
- */
12491
- fnFunction: (p1: sap.ui.base.Event) => void,
12492
- /**
12493
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nPanel` itself
12494
- */
12495
- oListener?: object
12496
- ): this;
12497
- /**
12498
- * Attaches event handler `fnFunction` to the {@link #event:beforeNavigationTo beforeNavigationTo} event
12499
- * of this `sap.ui.comp.p13n.P13nPanel`.
12500
- *
12501
- * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
12502
- * otherwise it will be bound to this `sap.ui.comp.p13n.P13nPanel` itself.
12503
- *
12504
- * Due to performance the data of the panel can be requested in lazy mode e.g. when the panel is displayed
12505
- *
12506
- * @since 1.28.0
12507
- *
12508
- * @returns Reference to `this` in order to allow method chaining
12509
- */
12510
- attachBeforeNavigationTo(
12511
- /**
12512
- * The function to be called when the event occurs
12513
- */
12514
- fnFunction: (p1: sap.ui.base.Event) => void,
12515
- /**
12516
- * Context object to call the event handler with. Defaults to this `sap.ui.comp.p13n.P13nPanel` itself
12517
- */
12518
- oListener?: object
12519
- ): this;
12520
- /**
12521
- * This method defines the point in time before the panel becomes active.
12522
- *
12523
- * @since 1.28.0
12524
- */
12525
- beforeNavigationTo(): void;
12526
- /**
12527
- * Binds aggregation {@link #getItems items} to model data.
12528
- *
12529
- * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description
12530
- * of the possible properties of `oBindingInfo`.
12531
- *
12532
- *
12533
- * @returns Reference to `this` in order to allow method chaining
12534
- */
12535
- bindItems(
12536
- /**
12537
- * The binding information
12538
- */
12539
- oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
12540
- ): this;
12541
- /**
12542
- * Destroys all the items in the aggregation {@link #getItems items}.
12543
- *
12544
- *
12545
- * @returns Reference to `this` in order to allow method chaining
12546
- */
12547
- destroyItems(): this;
12548
- /**
12549
- * Detaches event handler `fnFunction` from the {@link #event:beforeNavigationTo beforeNavigationTo} event
12550
- * of this `sap.ui.comp.p13n.P13nPanel`.
12551
- *
12552
- * The passed function and listener object must match the ones used for event registration.
12553
- *
12554
- * @since 1.28.0
12555
- *
12556
- * @returns Reference to `this` in order to allow method chaining
12557
- */
12558
- detachBeforeNavigationTo(
12559
- /**
12560
- * The function to be called, when the event occurs
12561
- */
12562
- fnFunction: (p1: sap.ui.base.Event) => void,
12563
- /**
12564
- * Context object on which the given function had to be called
12565
- */
12566
- oListener?: object
12567
- ): this;
12568
- /**
12569
- * Fires event {@link #event:beforeNavigationTo beforeNavigationTo} to attached listeners.
12570
- *
12571
- * @since 1.28.0
12572
- * @ui5-protected Do not call from applications (only from related classes in the framework)
12573
- *
12574
- * @returns Reference to `this` in order to allow method chaining
12575
- */
12576
- fireBeforeNavigationTo(
12577
- /**
12578
- * Parameters to pass along with the event
12579
- */
12580
- mParameters?: object
12581
- ): this;
12582
- /**
12583
- * Gets current value of property {@link #getChangeNotifier changeNotifier}.
12584
- *
12585
- * Callback which notifies a change on this panel.
12586
- *
12587
- *
12588
- * @returns Value of property `changeNotifier`
12589
- */
12590
- getChangeNotifier(): object;
12591
- /**
12592
- * Gets content of aggregation {@link #getItems items}.
12593
- *
12594
- * Defines personalization items (e.g. columns in the `P13nColumnsPanel`).
12595
- */
12596
- getItems(): sap.m.P13nItem[];
12597
- /**
12598
- * This method can be overwritten by subclass in order to return a payload for Ok action
12599
- *
12600
- * @since 1.26.7
12601
- * @deprecated As of version 1.50. replaced by the event of the respective inherited control, for example
12602
- * {@link sap.ui.comp.P13nColumnsPanel#event:changeColumnsItems} of `P13nColumnsPanel` control.
12603
- *
12604
- * @returns Object which describes the state after Ok has been pressed
12605
- */
12606
- getOkPayload(): object;
12607
- /**
12608
- * This method can be overwritten by subclass in order to return a payload for Reset action
12609
- *
12610
- * @since 1.28.0
12611
- */
12612
- getResetPayload(): void;
12613
- /**
12614
- * Gets current value of property {@link #getTitle title}.
12615
- *
12616
- * Title text appears in the panel.
12617
- *
12618
- *
12619
- * @returns Value of property `title`
12620
- */
12621
- getTitle(): string;
12622
- /**
12623
- * Gets current value of property {@link #getTitleLarge titleLarge}.
12624
- *
12625
- * Large title text appears e.g. in dialog header in case that only one panel is shown.
12626
- *
12627
- * @since 1.30.0
12628
- *
12629
- * @returns Value of property `titleLarge`
12630
- */
12631
- getTitleLarge(): string;
12632
- /**
12633
- * Gets current value of property {@link #getType type}.
12634
- *
12635
- * Panel type for generic use. Due to extensibility reason the type of `type` property should be `string`.
12636
- * So it is feasible to add a custom panel without expanding the type.
12637
- *
12638
- *
12639
- * @returns Value of property `type`
12640
- */
12641
- getType(): string;
12642
- /**
12643
- * Gets current value of property {@link #getValidationExecutor validationExecutor}.
12644
- *
12645
- * Callback method which is called in order to validate end user entry.
12646
- *
12647
- *
12648
- * @returns Value of property `validationExecutor`
12649
- */
12650
- getValidationExecutor(): object;
12651
- /**
12652
- * Gets current value of property {@link #getValidationListener validationListener}.
12653
- *
12654
- * Callback method which is called in order to register for validation result.
12655
- *
12656
- *
12657
- * @returns Value of property `validationListener`
12658
- */
12659
- getValidationListener(): object;
12660
- /**
12661
- * Gets current value of property {@link #getVerticalScrolling verticalScrolling}.
12662
- *
12663
- * Enables the vertical Scrolling on the `P13nDialog` when the panel is shown.
12664
- *
12665
- * Default value is `true`.
12666
- *
12667
- *
12668
- * @returns Value of property `verticalScrolling`
12669
- */
12670
- getVerticalScrolling(): boolean;
12671
- /**
12672
- * Checks for the provided `sap.m.P13nItem` in the aggregation {@link #getItems items}. and returns its
12673
- * index if found or -1 otherwise.
12674
- *
12675
- *
12676
- * @returns The index of the provided control in the aggregation if found, or -1 otherwise
12677
- */
12678
- indexOfItem(
12679
- /**
12680
- * The item whose index is looked for
12681
- */
12682
- oItem: sap.m.P13nItem
12683
- ): int;
12684
- /**
12685
- * Inserts a item into the aggregation {@link #getItems items}.
12686
- *
12687
- *
12688
- * @returns Reference to `this` in order to allow method chaining
12689
- */
12690
- insertItem(
12691
- /**
12692
- * The item to insert; if empty, nothing is inserted
12693
- */
12694
- oItem: sap.m.P13nItem,
12695
- /**
12696
- * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
12697
- * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
12698
- * the last position
12699
- */
12700
- iIndex: int
12701
- ): this;
12702
- /**
12703
- * This method can be overwritten by subclass in order to cleanup after navigation, e.g. to remove invalid
12704
- * content on the panel.
12705
- *
12706
- * @since 1.28.0
12707
- */
12708
- onAfterNavigationFrom(): void;
12709
- /**
12710
- * This method can be overwritten by subclass in order to prevent navigation to another panel. This could
12711
- * be the case if some content on the panel is considered 'invalid'.
12712
- *
12713
- * @since 1.28.0
12714
- *
12715
- * @returns true if it is allowed to navigate away from this panel, false if it is not allowed
12716
- */
12717
- onBeforeNavigationFrom(): boolean;
12718
- /**
12719
- * Removes all the controls from the aggregation {@link #getItems items}.
12720
- *
12721
- * Additionally, it unregisters them from the hosting UIArea.
12722
- *
12723
- *
12724
- * @returns An array of the removed elements (might be empty)
12725
- */
12726
- removeAllItems(): sap.m.P13nItem[];
12727
- /**
12728
- * Removes a item from the aggregation {@link #getItems items}.
12729
- *
12730
- *
12731
- * @returns The removed item or `null`
12732
- */
12733
- removeItem(
12734
- /**
12735
- * The item to remove or its index or id
12736
- */
12737
- vItem: int | string | sap.m.P13nItem
12738
- ): sap.m.P13nItem | null;
12739
- /**
12740
- * Sets a new value for property {@link #getChangeNotifier changeNotifier}.
12741
- *
12742
- * Callback which notifies a change on this panel.
12743
- *
12744
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12745
- *
12746
- *
12747
- * @returns Reference to `this` in order to allow method chaining
12748
- */
12749
- setChangeNotifier(
12750
- /**
12751
- * New value for property `changeNotifier`
12752
- */
12753
- oChangeNotifier?: object
12754
- ): this;
12755
- /**
12756
- * Sets a new value for property {@link #getTitle title}.
12757
- *
12758
- * Title text appears in the panel.
12759
- *
12760
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12761
- *
12762
- *
12763
- * @returns Reference to `this` in order to allow method chaining
12764
- */
12765
- setTitle(
12766
- /**
12767
- * New value for property `title`
12768
- */
12769
- sTitle?: string
12770
- ): this;
12771
- /**
12772
- * Sets a new value for property {@link #getTitleLarge titleLarge}.
12773
- *
12774
- * Large title text appears e.g. in dialog header in case that only one panel is shown.
12775
- *
12776
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12777
- *
12778
- * @since 1.30.0
12779
- *
12780
- * @returns Reference to `this` in order to allow method chaining
12781
- */
12782
- setTitleLarge(
12783
- /**
12784
- * New value for property `titleLarge`
12785
- */
12786
- sTitleLarge?: string
12787
- ): this;
12788
- /**
12789
- * Sets a new value for property {@link #getType type}.
12790
- *
12791
- * Panel type for generic use. Due to extensibility reason the type of `type` property should be `string`.
12792
- * So it is feasible to add a custom panel without expanding the type.
12793
- *
12794
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12795
- *
12796
- *
12797
- * @returns Reference to `this` in order to allow method chaining
12798
- */
12799
- setType(
12800
- /**
12801
- * New value for property `type`
12802
- */
12803
- sType?: string
12804
- ): this;
12805
- /**
12806
- * Sets a new value for property {@link #getValidationExecutor validationExecutor}.
12807
- *
12808
- * Callback method which is called in order to validate end user entry.
12809
- *
12810
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12811
- *
12812
- *
12813
- * @returns Reference to `this` in order to allow method chaining
12814
- */
12815
- setValidationExecutor(
12816
- /**
12817
- * New value for property `validationExecutor`
12818
- */
12819
- oValidationExecutor?: object
12820
- ): this;
12821
- /**
12822
- * Sets a new value for property {@link #getValidationListener validationListener}.
12823
- *
12824
- * Callback method which is called in order to register for validation result.
12825
- *
12826
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12827
- *
12828
- *
12829
- * @returns Reference to `this` in order to allow method chaining
12830
- */
12831
- setValidationListener(
12832
- /**
12833
- * New value for property `validationListener`
12834
- */
12835
- oValidationListener?: object
12836
- ): this;
12837
- /**
12838
- * Sets a new value for property {@link #getVerticalScrolling verticalScrolling}.
12839
- *
12840
- * Enables the vertical Scrolling on the `P13nDialog` when the panel is shown.
12841
- *
12842
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
12843
- *
12844
- * Default value is `true`.
12845
- *
12846
- *
12847
- * @returns Reference to `this` in order to allow method chaining
12848
- */
12849
- setVerticalScrolling(
12850
- /**
12851
- * New value for property `verticalScrolling`
12852
- */
12853
- bVerticalScrolling?: boolean
12854
- ): this;
12855
- /**
12856
- * Unbinds aggregation {@link #getItems items} from model data.
12857
- *
12858
- *
12859
- * @returns Reference to `this` in order to allow method chaining
12860
- */
12861
- unbindItems(): this;
12862
- }
12863
-
12864
- /**
12865
- * Event object of the P13nConditionPanelBase#dataChange event.
12866
- */
12867
- type P13nConditionPanelBase$DataChangeEvent = sap.ui.base.Event<
12868
- P13nConditionPanelBase$DataChangeEventParameters,
12869
- P13nConditionPanelBase
12870
- >;
12871
-
12872
- /**
12873
- * Event object of the P13nPanel#beforeNavigationTo event.
12874
- */
12875
- type P13nPanel$BeforeNavigationToEvent = sap.ui.base.Event<
12876
- P13nPanel$BeforeNavigationToEventParameters,
12877
- P13nPanel
12878
- >;
12879
10566
  }
12880
10567
 
12881
10568
  namespace personalization {
@@ -45793,15 +43480,9 @@ declare namespace sap {
45793
43480
 
45794
43481
  "sap/ui/comp/odata/ComboBox": undefined;
45795
43482
 
45796
- "sap/ui/comp/p13n/P13nConditionPanelBase": undefined;
45797
-
45798
- "sap/ui/comp/p13n/P13nFilterItem": undefined;
45799
-
45800
- "sap/ui/comp/p13n/P13nFilterPanelBase": undefined;
45801
-
45802
43483
  "sap/ui/comp/p13n/P13nItem": undefined;
45803
43484
 
45804
- "sap/ui/comp/p13n/P13nPanel": undefined;
43485
+ "sap/ui/comp/p13n/P13nOperationsHelperBase": undefined;
45805
43486
 
45806
43487
  "sap/ui/comp/smartchart/SmartChart": undefined;
45807
43488