@sapui5/ts-types-esm 1.128.1 → 1.129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) 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 +40 -0
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +10 -10
  11. package/types/sap.fe.ina.d.ts +1 -1
  12. package/types/sap.fe.macros.d.ts +105 -38
  13. package/types/sap.fe.navigation.d.ts +9 -2
  14. package/types/sap.fe.placeholder.d.ts +1 -1
  15. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  16. package/types/sap.fe.templates.d.ts +1 -1
  17. package/types/sap.fe.test.d.ts +1 -1
  18. package/types/sap.fe.tools.d.ts +1 -1
  19. package/types/sap.feedback.ui.d.ts +1 -1
  20. package/types/sap.gantt.d.ts +19 -4
  21. package/types/sap.insights.d.ts +7 -1
  22. package/types/sap.m.d.ts +199 -30
  23. package/types/sap.makit.d.ts +1 -1
  24. package/types/sap.me.d.ts +1 -1
  25. package/types/sap.ndc.d.ts +1 -1
  26. package/types/sap.ovp.d.ts +1 -1
  27. package/types/sap.rules.ui.d.ts +1 -1
  28. package/types/sap.sac.df.d.ts +362 -20
  29. package/types/sap.suite.ui.commons.d.ts +112 -2
  30. package/types/sap.suite.ui.generic.template.d.ts +24 -1
  31. package/types/sap.suite.ui.microchart.d.ts +1 -1
  32. package/types/sap.tnt.d.ts +1 -1
  33. package/types/sap.ui.codeeditor.d.ts +1 -1
  34. package/types/sap.ui.commons.d.ts +1 -1
  35. package/types/sap.ui.comp.d.ts +446 -998
  36. package/types/sap.ui.core.d.ts +59 -65
  37. package/types/sap.ui.dt.d.ts +1 -1
  38. package/types/sap.ui.export.d.ts +7 -1
  39. package/types/sap.ui.fl.d.ts +13 -1
  40. package/types/sap.ui.generic.app.d.ts +1 -1
  41. package/types/sap.ui.generic.template.d.ts +1 -1
  42. package/types/sap.ui.integration.d.ts +37 -1
  43. package/types/sap.ui.layout.d.ts +1 -1
  44. package/types/sap.ui.mdc.d.ts +575 -28
  45. package/types/sap.ui.richtexteditor.d.ts +1 -1
  46. package/types/sap.ui.rta.d.ts +1 -1
  47. package/types/sap.ui.suite.d.ts +1 -1
  48. package/types/sap.ui.support.d.ts +1 -1
  49. package/types/sap.ui.table.d.ts +68 -18
  50. package/types/sap.ui.testrecorder.d.ts +1 -1
  51. package/types/sap.ui.unified.d.ts +102 -3
  52. package/types/sap.ui.ux3.d.ts +1 -1
  53. package/types/sap.ui.vbm.d.ts +1 -1
  54. package/types/sap.ui.vk.d.ts +1 -1
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.ui.webc.common.d.ts +1 -1
  57. package/types/sap.ui.webc.fiori.d.ts +1 -1
  58. package/types/sap.ui.webc.main.d.ts +1 -1
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +182 -169
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +1 -1
  63. package/types/sap.viz.d.ts +1 -1
  64. package/types/sap.webanalytics.core.d.ts +1 -1
  65. package/types/sap.zen.commons.d.ts +1 -1
  66. package/types/sap.zen.crosstab.d.ts +1 -1
  67. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -875,6 +875,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
875
875
  ): undefined | object;
876
876
  /**
877
877
  * Provides the possibility to customize / replace the internal content of a field
878
+ * By default, this method returns suitable controls for the given {@link sap.ui.mdc.enums.BaseType BaseType},
879
+ * {@link sap.ui.mdc.field.FieldBase#setMaxConditions maxConditions} and {@link sap.ui.mdc.enums.ContentMode ContentMode}.
878
880
  *
879
881
  * @since 1.124.0
880
882
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -907,7 +909,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
907
909
  *
908
910
  * The returned text will be shown as selected after the user input ends.
909
911
  *
910
- * By Default this method uses the {@link sap.ui.mdc.field.FieldBase#getDisplay display} property of the
912
+ * By default this method uses the {@link sap.ui.mdc.field.FieldBase#getDisplay display} property of the
911
913
  * {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField}, or {@link sap.ui.mdc.MultiValueField MultiValueField }
912
914
  * control to determine what text (key or description) is used as autocomplete-text. A text is only used
913
915
  * if it matches the user input. If set to `Value`, the key is used. If set to `Description`, the description
@@ -3013,6 +3015,17 @@ declare module "sap/ui/mdc/library" {
3013
3015
 
3014
3016
  import BaseType from "sap/ui/mdc/enums/BaseType";
3015
3017
 
3018
+ import Control from "sap/ui/core/Control";
3019
+
3020
+ import {
3021
+ ItemForValueConfiguration,
3022
+ ValueHelpItem,
3023
+ } from "sap/ui/mdc/ValueHelp";
3024
+
3025
+ import FormatException from "sap/ui/model/FormatException";
3026
+
3027
+ import ParseException from "sap/ui/model/ParseException";
3028
+
3016
3029
  /**
3017
3030
  * Interface for controls or entities which can serve as filters in the `sap.ui.mdc.Table` & `sap.ui.mdc.Chart`.
3018
3031
  *
@@ -3235,6 +3248,291 @@ declare module "sap/ui/mdc/library" {
3235
3248
  baseType?: BaseType | keyof typeof BaseType;
3236
3249
  };
3237
3250
  }
3251
+
3252
+ export namespace valuehelp {
3253
+ namespace base {
3254
+ /**
3255
+ * Interface for valuehelp containers shown on a dialog
3256
+ *
3257
+ * @since 1.95
3258
+ */
3259
+ interface IDialogContainer {
3260
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
3261
+
3262
+ /**
3263
+ * Closes the container
3264
+ */
3265
+ close(): void;
3266
+ /**
3267
+ * Opens the container
3268
+ *
3269
+ *
3270
+ * @returns This promise resolves after the container completely opened.
3271
+ */
3272
+ open(
3273
+ /**
3274
+ * Promise for content request
3275
+ */
3276
+ oValueHelpContentPromise: Promise<any>,
3277
+ /**
3278
+ * Flag indicating whether the container is opened as type-ahead or dialog-like help
3279
+ */
3280
+ bTypeahead: boolean
3281
+ ): Promise<any>;
3282
+ }
3283
+
3284
+ /**
3285
+ * Interface for valuehelp containers / contents supporting dialog functionality
3286
+ *
3287
+ * @since 1.95
3288
+ */
3289
+ interface IDialogContent {
3290
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
3291
+
3292
+ /**
3293
+ * Returns number of relevant conditions for this content
3294
+ *
3295
+ *
3296
+ * @returns Number of relevant conditions
3297
+ */
3298
+ getCount(
3299
+ /**
3300
+ * Array of conditions
3301
+ */
3302
+ aConditions: ConditionObject[]
3303
+ ): number;
3304
+ /**
3305
+ * Loads additional dependencies, creates and returns displayed content.
3306
+ *
3307
+ *
3308
+ * @returns Promise resolving in displayed content
3309
+ */
3310
+ getContent(): Promise<Control>;
3311
+ /**
3312
+ * Returns a title for the given Content
3313
+ *
3314
+ *
3315
+ * @returns Content title as string
3316
+ */
3317
+ getTitle(): string;
3318
+ /**
3319
+ * Returns info if the given content is in multi select mode
3320
+ *
3321
+ *
3322
+ * @returns `true` if multi-selection is active.
3323
+ */
3324
+ isMultiSelect(): boolean;
3325
+ }
3326
+
3327
+ /**
3328
+ * Interface for valuehelp {@link sap.ui.mdc.valuehelp.base.Container Containers} supporting typeahead functionality
3329
+ *
3330
+ * @since 1.95
3331
+ */
3332
+ interface ITypeaheadContainer {
3333
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContainer: boolean;
3334
+
3335
+ /**
3336
+ * Closes the container
3337
+ */
3338
+ close(): void;
3339
+ /**
3340
+ * Determines the item (key and description) for a given value.
3341
+ *
3342
+ * The value help checks if there is an item with a key or description that fits this value.
3343
+ *
3344
+ * **Note:** This function must only be called by the control the `ValuedHelp` element belongs to, not by
3345
+ * the application.
3346
+ *
3347
+ *
3348
+ * @returns Promise returning object containing description, key and payload.
3349
+ */
3350
+ getItemForValue(
3351
+ /**
3352
+ * Configuration
3353
+ */
3354
+ oConfig: ItemForValueConfiguration
3355
+ ): Promise<ValueHelpItem>;
3356
+ /**
3357
+ * If the container is used for type-ahead it might be wanted that the same content should also be shown
3358
+ * as valuehelp. If not, the field should not show a valuehelp icon.
3359
+ *
3360
+ *
3361
+ * @returns `true` if the typeahead content can be used as value help
3362
+ */
3363
+ getUseAsValueHelp(): boolean;
3364
+ /**
3365
+ * Defines if the typeahead can be used for input validation.
3366
+ *
3367
+ *
3368
+ * @returns True if the typeahead container can be used for input validation
3369
+ */
3370
+ isValidationSupported(): boolean;
3371
+ /**
3372
+ * Navigates the typeaheads values (optional)
3373
+ *
3374
+ * As this could be asyncronous as data might be loaded a promise is returned.
3375
+ *
3376
+ *
3377
+ * @returns Promise fulfilled after navigation is evecuted
3378
+ */
3379
+ navigate(
3380
+ /**
3381
+ * Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
3382
+ */
3383
+ iStep: int
3384
+ ): Promise<object>;
3385
+ /**
3386
+ * Opens the container
3387
+ *
3388
+ *
3389
+ * @returns This promise resolves after the container completely opened.
3390
+ */
3391
+ open(
3392
+ /**
3393
+ * Promise for content request
3394
+ */
3395
+ oValueHelpContentPromise: Promise<any>,
3396
+ /**
3397
+ * Flag indicating whether the container is opened as type-ahead or dialog-like help
3398
+ */
3399
+ bTypeahead: boolean
3400
+ ): Promise<any>;
3401
+ /**
3402
+ * The focus visualization of the field help needs to be removed as the user starts typing into the source
3403
+ * control.
3404
+ */
3405
+ removeVisualFocus(): void;
3406
+ /**
3407
+ * The focus visualization of the field help needs to be set as the user starts naigation into the value
3408
+ * help items.
3409
+ *
3410
+ * @since 1.127.0
3411
+ */
3412
+ setVisualFocus(): void;
3413
+ /**
3414
+ * Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
3415
+ *
3416
+ *
3417
+ * @returns If `true`, the value help should open when user clicks into the connected field control
3418
+ */
3419
+ shouldOpenOnClick(): Promise<boolean>;
3420
+ /**
3421
+ * Defines if the typeahead container desires to be opened whenever a user focuses a connected control
3422
+ *
3423
+ *
3424
+ * @returns If `true`, the value help should open when user focuses the connected field control
3425
+ */
3426
+ shouldOpenOnFocus(): Promise<boolean>;
3427
+ /**
3428
+ * Defines if the typeahead containers values can be navigated without visibly opening the help
3429
+ *
3430
+ *
3431
+ * @returns If `true`, the value help should open when user used the arrow keys in the connected field control
3432
+ */
3433
+ shouldOpenOnNavigate(): boolean;
3434
+ }
3435
+
3436
+ /**
3437
+ * Interface for valuehelp {@link sap.ui.mdc.valuehelp.base.Container Containers} / {@link sap.ui.mdc.valuehelp.base.Content Contents }
3438
+ * supporting typeahead functionality
3439
+ *
3440
+ * @since 1.95
3441
+ */
3442
+ interface ITypeaheadContent {
3443
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
3444
+
3445
+ /**
3446
+ * Loads additional dependencies, creates and returns displayed content.
3447
+ *
3448
+ *
3449
+ * @returns Promise resolving in displayed content
3450
+ */
3451
+ getContent(): Promise<Control>;
3452
+ /**
3453
+ * Determines the item (key and description) for a given value.
3454
+ *
3455
+ * The content checks if there is an item with a key or description that fits this value.
3456
+ *
3457
+ * **Note:** This function must only be called by the `Container` element.
3458
+ *
3459
+ *
3460
+ * @returns Promise returning object containing description, key and payload.
3461
+ */
3462
+ getItemForValue(
3463
+ /**
3464
+ * Configuration
3465
+ */
3466
+ oConfig: ItemForValueConfiguration
3467
+ ): Promise<ValueHelpItem>;
3468
+ /**
3469
+ * Returns a title for the given Content
3470
+ *
3471
+ *
3472
+ * @returns Content title as string
3473
+ */
3474
+ getTitle(): string;
3475
+ /**
3476
+ * If the container is used for typeahead it might be wanted that the same content should also be shown
3477
+ * as valuehelp. If not, the field should not show a valuehelp icon.
3478
+ *
3479
+ *
3480
+ * @returns `true` if the typeahead content can be used as value help
3481
+ */
3482
+ getUseAsValueHelp(): boolean;
3483
+ /**
3484
+ * Returns info if the given content is in multi select mode
3485
+ *
3486
+ *
3487
+ * @returns `true` if multi-selection is active.
3488
+ */
3489
+ isMultiSelect(): boolean;
3490
+ /**
3491
+ * Defines if the typeahead can be used for input validation.
3492
+ *
3493
+ *
3494
+ * @returns True if the typeahead container can be used for input validation
3495
+ */
3496
+ isValidationSupported(): boolean;
3497
+ /**
3498
+ * Navigates the typeaheads values (optional)
3499
+ */
3500
+ navigate(
3501
+ /**
3502
+ * Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
3503
+ */
3504
+ iStep: int
3505
+ ): void;
3506
+ /**
3507
+ * The focus visualization of the field help needs to be removed as the user starts typing into the source
3508
+ * control.
3509
+ */
3510
+ removeVisualFocus(): void;
3511
+ /**
3512
+ * The focus visualization of the field help needs to be set as the user starts naigation into the value
3513
+ * help items.
3514
+ *
3515
+ * @since 1.127.0
3516
+ */
3517
+ setVisualFocus(): void;
3518
+ /**
3519
+ * Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
3520
+ * control
3521
+ *
3522
+ *
3523
+ * @returns If `true`, the value help should open when user clicks into the connected field control
3524
+ */
3525
+ shouldOpenOnClick(): boolean;
3526
+ /**
3527
+ * Defines if the typeahead containers values can be navigated without visibly opening the help
3528
+ *
3529
+ *
3530
+ * @returns If `true`, the value help should open when user used the arrow keys in the connected field control
3531
+ */
3532
+ shouldOpenOnNavigate(): boolean;
3533
+ }
3534
+ }
3535
+ }
3238
3536
  }
3239
3537
 
3240
3538
  declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
@@ -4290,7 +4588,7 @@ declare module "sap/ui/mdc/Chart" {
4290
4588
  /**
4291
4589
  * The aggregation method used if the property is aggregatable
4292
4590
  */
4293
- aggregationMethod: string;
4591
+ aggregationMethod?: string;
4294
4592
  /**
4295
4593
  * Defines the role that the property visualizes inside the chart
4296
4594
  */
@@ -9643,14 +9941,6 @@ declare module "sap/ui/mdc/field/FieldBase" {
9643
9941
  * @since 1.61.0
9644
9942
  */
9645
9943
  getContentEdit(): Control1;
9646
- /**
9647
- * Returns the `ContentFactory` used to manage the internal content control.
9648
- *
9649
- * @ui5-protected Do not call from applications (only from related classes in the framework)
9650
- *
9651
- * @returns oContentFactory the ContentFactory of the Field
9652
- */
9653
- getContentFactory(): /* was: sap.ui.mdc.field.content.ContentFactory */ any;
9654
9944
  /**
9655
9945
  * Gets the currently used content controls.
9656
9946
  *
@@ -19983,6 +20273,8 @@ declare module "sap/ui/mdc/ValueHelp" {
19983
20273
 
19984
20274
  import Event from "sap/ui/base/Event";
19985
20275
 
20276
+ import { valuehelp } from "sap/ui/mdc/library";
20277
+
19986
20278
  import ElementMetadata from "sap/ui/core/ElementMetadata";
19987
20279
 
19988
20280
  import Context from "sap/ui/model/Context";
@@ -20341,13 +20633,13 @@ declare module "sap/ui/mdc/ValueHelp" {
20341
20633
  *
20342
20634
  * Container that is used and opened if the value help icon of the input field is pressed.
20343
20635
  */
20344
- getDialog(): /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any;
20636
+ getDialog(): valuehelp.base.IDialogContainer;
20345
20637
  /**
20346
20638
  * Gets content of aggregation {@link #getTypeahead typeahead}.
20347
20639
  *
20348
20640
  * Container that is used and opened in typeahead
20349
20641
  */
20350
- getTypeahead(): /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any;
20642
+ getTypeahead(): valuehelp.base.ITypeaheadContainer;
20351
20643
  /**
20352
20644
  * Gets current value of property {@link #getValidateInput validateInput}.
20353
20645
  *
@@ -20408,7 +20700,7 @@ declare module "sap/ui/mdc/ValueHelp" {
20408
20700
  /**
20409
20701
  * The dialog to set
20410
20702
  */
20411
- oDialog: /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any
20703
+ oDialog: valuehelp.base.IDialogContainer
20412
20704
  ): this;
20413
20705
  /**
20414
20706
  * Sets the aggregated {@link #getTypeahead typeahead}.
@@ -20420,7 +20712,7 @@ declare module "sap/ui/mdc/ValueHelp" {
20420
20712
  /**
20421
20713
  * The typeahead to set
20422
20714
  */
20423
- oTypeahead: /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any
20715
+ oTypeahead: valuehelp.base.ITypeaheadContainer
20424
20716
  ): this;
20425
20717
  /**
20426
20718
  * Sets a new value for property {@link #getValidateInput validateInput}.
@@ -20571,12 +20863,12 @@ declare module "sap/ui/mdc/ValueHelp" {
20571
20863
  /**
20572
20864
  * Container that is used and opened if the value help icon of the input field is pressed.
20573
20865
  */
20574
- dialog?: /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any;
20866
+ dialog?: valuehelp.base.IDialogContainer;
20575
20867
 
20576
20868
  /**
20577
20869
  * Container that is used and opened in typeahead
20578
20870
  */
20579
- typeahead?: /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any;
20871
+ typeahead?: valuehelp.base.ITypeaheadContainer;
20580
20872
 
20581
20873
  /**
20582
20874
  * This event is fired after the value help has been closed.
@@ -20801,6 +21093,15 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
20801
21093
 
20802
21094
  import Control from "sap/ui/core/Control";
20803
21095
 
21096
+ import {
21097
+ ItemForValueConfiguration,
21098
+ ValueHelpItem,
21099
+ } from "sap/ui/mdc/ValueHelp";
21100
+
21101
+ import FormatException from "sap/ui/model/FormatException";
21102
+
21103
+ import ParseException from "sap/ui/model/ParseException";
21104
+
20804
21105
  import ElementMetadata from "sap/ui/core/ElementMetadata";
20805
21106
 
20806
21107
  import UIArea from "sap/ui/core/UIArea";
@@ -20909,6 +21210,10 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
20909
21210
  */
20910
21211
  oContent: Content
20911
21212
  ): void;
21213
+ /**
21214
+ * Closes the container
21215
+ */
21216
+ close(): void;
20912
21217
  /**
20913
21218
  * Closes the container control or element.
20914
21219
  *
@@ -20956,6 +21261,23 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
20956
21261
  * @returns connected control
20957
21262
  */
20958
21263
  getControl(): Control;
21264
+ /**
21265
+ * Determines the item (key and description) for a given value.
21266
+ *
21267
+ * The value help checks if there is an item with a key or description that fits this value.
21268
+ *
21269
+ * **Note:** This function must only be called by the control the `ValuedHelp` element belongs to, not by
21270
+ * the application.
21271
+ *
21272
+ *
21273
+ * @returns Promise returning object containing description, key and payload.
21274
+ */
21275
+ getItemForValue(
21276
+ /**
21277
+ * Configuration
21278
+ */
21279
+ oConfig: ItemForValueConfiguration
21280
+ ): Promise<ValueHelpItem>;
20959
21281
  /**
20960
21282
  * Returns the maximum allowed number of conditions, -1 if no limit is set.
20961
21283
  *
@@ -20999,6 +21321,14 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
20999
21321
  * @returns The UI area of the content or `null`
21000
21322
  */
21001
21323
  getUIAreaForContent(): UIArea | null;
21324
+ /**
21325
+ * If the container is used for type-ahead it might be wanted that the same content should also be shown
21326
+ * as valuehelp. If not, the field should not show a valuehelp icon.
21327
+ *
21328
+ *
21329
+ * @returns `true` if the typeahead content can be used as value help
21330
+ */
21331
+ getUseAsValueHelp(): boolean;
21002
21332
  /**
21003
21333
  * Handles the `cancelled` event of the content.
21004
21334
  *
@@ -21143,6 +21473,27 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
21143
21473
  * @returns `true` id single selection
21144
21474
  */
21145
21475
  isSingleSelect(): boolean;
21476
+ /**
21477
+ * Defines if the typeahead can be used for input validation.
21478
+ *
21479
+ *
21480
+ * @returns True if the typeahead container can be used for input validation
21481
+ */
21482
+ isValidationSupported(): boolean;
21483
+ /**
21484
+ * Navigates the typeaheads values (optional)
21485
+ *
21486
+ * As this could be asyncronous as data might be loaded a promise is returned.
21487
+ *
21488
+ *
21489
+ * @returns Promise fulfilled after navigation is evecuted
21490
+ */
21491
+ navigate(
21492
+ /**
21493
+ * Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
21494
+ */
21495
+ iStep: int
21496
+ ): Promise<object>;
21146
21497
  /**
21147
21498
  * Triggers navigation in the content of the container.
21148
21499
  *
@@ -21165,6 +21516,22 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
21165
21516
  */
21166
21517
  oChanges: object
21167
21518
  ): void;
21519
+ /**
21520
+ * Opens the container
21521
+ *
21522
+ *
21523
+ * @returns This promise resolves after the container completely opened.
21524
+ */
21525
+ open(
21526
+ /**
21527
+ * Promise for content request
21528
+ */
21529
+ oValueHelpContentPromise: Promise<any>,
21530
+ /**
21531
+ * Flag indicating whether the container is opened as type-ahead or dialog-like help
21532
+ */
21533
+ bTypeahead: boolean
21534
+ ): Promise<any>;
21168
21535
  /**
21169
21536
  * Opens the container control or element.
21170
21537
  *
@@ -21214,6 +21581,11 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
21214
21581
  */
21215
21582
  vContent: int | string | Content
21216
21583
  ): Content | null;
21584
+ /**
21585
+ * The focus visualization of the field help needs to be removed as the user starts typing into the source
21586
+ * control.
21587
+ */
21588
+ removeVisualFocus(): void;
21217
21589
  /**
21218
21590
  * Sets a new value for property {@link #getTitle title}.
21219
21591
  *
@@ -21232,6 +21604,34 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
21232
21604
  */
21233
21605
  sTitle?: string
21234
21606
  ): this;
21607
+ /**
21608
+ * The focus visualization of the field help needs to be set as the user starts naigation into the value
21609
+ * help items.
21610
+ *
21611
+ * @since 1.127.0
21612
+ */
21613
+ setVisualFocus(): void;
21614
+ /**
21615
+ * Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
21616
+ *
21617
+ *
21618
+ * @returns If `true`, the value help should open when user clicks into the connected field control
21619
+ */
21620
+ shouldOpenOnClick(): Promise<boolean>;
21621
+ /**
21622
+ * Defines if the typeahead container desires to be opened whenever a user focuses a connected control
21623
+ *
21624
+ *
21625
+ * @returns If `true`, the value help should open when user focuses the connected field control
21626
+ */
21627
+ shouldOpenOnFocus(): Promise<boolean>;
21628
+ /**
21629
+ * Defines if the typeahead containers values can be navigated without visibly opening the help
21630
+ *
21631
+ *
21632
+ * @returns If `true`, the value help should open when user used the arrow keys in the connected field control
21633
+ */
21634
+ shouldOpenOnNavigate(): boolean;
21235
21635
  /**
21236
21636
  * Unbinds the content from the container.
21237
21637
  *
@@ -21474,12 +21874,20 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21474
21874
 
21475
21875
  import Control from "sap/ui/core/Control";
21476
21876
 
21877
+ import {
21878
+ ItemForValueConfiguration,
21879
+ ValueHelpItem,
21880
+ default as ValueHelp,
21881
+ } from "sap/ui/mdc/ValueHelp";
21882
+
21883
+ import FormatException from "sap/ui/model/FormatException";
21884
+
21885
+ import ParseException from "sap/ui/model/ParseException";
21886
+
21477
21887
  import ElementMetadata from "sap/ui/core/ElementMetadata";
21478
21888
 
21479
21889
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
21480
21890
 
21481
- import ValueHelp from "sap/ui/mdc/ValueHelp";
21482
-
21483
21891
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
21484
21892
 
21485
21893
  import Event from "sap/ui/base/Event";
@@ -21588,6 +21996,13 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21588
21996
  */
21589
21997
  oPayload?: object
21590
21998
  ): ConditionObject;
21999
+ /**
22000
+ * Loads additional dependencies, creates and returns displayed content.
22001
+ *
22002
+ *
22003
+ * @returns Promise resolving in displayed content
22004
+ */
22005
+ getContent(): Promise<Control>;
21591
22006
  /**
21592
22007
  * Returns control connected to value help.
21593
22008
  *
@@ -21596,6 +22011,34 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21596
22011
  * @returns Connected control
21597
22012
  */
21598
22013
  getControl(): Control;
22014
+ /**
22015
+ * Returns number of relevant conditions for this content
22016
+ *
22017
+ *
22018
+ * @returns Number of relevant conditions
22019
+ */
22020
+ getCount(
22021
+ /**
22022
+ * Array of conditions
22023
+ */
22024
+ aConditions: ConditionObject[]
22025
+ ): number;
22026
+ /**
22027
+ * Determines the item (key and description) for a given value.
22028
+ *
22029
+ * The content checks if there is an item with a key or description that fits this value.
22030
+ *
22031
+ * **Note:** This function must only be called by the `Container` element.
22032
+ *
22033
+ *
22034
+ * @returns Promise returning object containing description, key and payload.
22035
+ */
22036
+ getItemForValue(
22037
+ /**
22038
+ * Configuration
22039
+ */
22040
+ oConfig: ItemForValueConfiguration
22041
+ ): Promise<ValueHelpItem>;
21599
22042
  /**
21600
22043
  * Returns the maximum allowed number of conditions, -1 if no limit is set.
21601
22044
  *
@@ -21637,6 +22080,14 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21637
22080
  * @returns Value of property `tokenizerTitle`
21638
22081
  */
21639
22082
  getTokenizerTitle(): string;
22083
+ /**
22084
+ * If the container is used for typeahead it might be wanted that the same content should also be shown
22085
+ * as valuehelp. If not, the field should not show a valuehelp icon.
22086
+ *
22087
+ *
22088
+ * @returns `true` if the typeahead content can be used as value help
22089
+ */
22090
+ getUseAsValueHelp(): boolean;
21640
22091
  /**
21641
22092
  * Returns the used `ValueHelpDelegate`.
21642
22093
  *
@@ -21702,6 +22153,13 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21702
22153
  * @returns `true` if opening
21703
22154
  */
21704
22155
  isContainerOpening(): boolean;
22156
+ /**
22157
+ * Returns info if the given content is in multi select mode
22158
+ *
22159
+ *
22160
+ * @returns `true` if multi-selection is active.
22161
+ */
22162
+ isMultiSelect(): boolean;
21705
22163
  /**
21706
22164
  * Returns if the value help is used for single selection.
21707
22165
  *
@@ -21720,6 +22178,13 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21720
22178
  * @returns `true` if used as `typeahead`
21721
22179
  */
21722
22180
  isTypeahead(): boolean;
22181
+ /**
22182
+ * Defines if the typeahead can be used for input validation.
22183
+ *
22184
+ *
22185
+ * @returns True if the typeahead container can be used for input validation
22186
+ */
22187
+ isValidationSupported(): boolean;
21723
22188
  /**
21724
22189
  * Determines if delegate of the value help has been initialized.
21725
22190
  *
@@ -21728,6 +22193,15 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21728
22193
  * @returns `true` if delegate has been initialized
21729
22194
  */
21730
22195
  isValueHelpDelegateInitialized(): boolean;
22196
+ /**
22197
+ * Navigates the typeaheads values (optional)
22198
+ */
22199
+ navigate(
22200
+ /**
22201
+ * Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
22202
+ */
22203
+ iStep: int
22204
+ ): void;
21731
22205
  /**
21732
22206
  * Observes property and aggregation changes.
21733
22207
  *
@@ -21767,6 +22241,11 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21767
22241
  * @returns `true` if a scrolling mechanism is needed
21768
22242
  */
21769
22243
  provideScrolling(): boolean;
22244
+ /**
22245
+ * The focus visualization of the field help needs to be removed as the user starts typing into the source
22246
+ * control.
22247
+ */
22248
+ removeVisualFocus(): void;
21770
22249
  /**
21771
22250
  * Sets a new value for property {@link #getShortTitle shortTitle}.
21772
22251
  *
@@ -21839,6 +22318,28 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
21839
22318
  */
21840
22319
  bVisible?: boolean
21841
22320
  ): this;
22321
+ /**
22322
+ * The focus visualization of the field help needs to be set as the user starts naigation into the value
22323
+ * help items.
22324
+ *
22325
+ * @since 1.127.0
22326
+ */
22327
+ setVisualFocus(): void;
22328
+ /**
22329
+ * Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
22330
+ * control
22331
+ *
22332
+ *
22333
+ * @returns If `true`, the value help should open when user clicks into the connected field control
22334
+ */
22335
+ shouldOpenOnClick(): boolean;
22336
+ /**
22337
+ * Defines if the typeahead containers values can be navigated without visibly opening the help
22338
+ *
22339
+ *
22340
+ * @returns If `true`, the value help should open when user used the arrow keys in the connected field control
22341
+ */
22342
+ shouldOpenOnNavigate(): boolean;
21842
22343
  }
21843
22344
  /**
21844
22345
  * Describes the settings that can be provided to the Content constructor.
@@ -22492,7 +22993,8 @@ declare module "sap/ui/mdc/valuehelp/base/ListContent" {
22492
22993
  */
22493
22994
  getCaseSensitive(): boolean;
22494
22995
  /**
22495
- * Gets current descriptionPath of the content. **Note:** Every listcontent must implement this method.
22996
+ * Gets current descriptionPath of the content.
22997
+ * **Note:** Every listcontent must implement this method.
22496
22998
  *
22497
22999
  *
22498
23000
  * @returns Content description path
@@ -22516,14 +23018,16 @@ declare module "sap/ui/mdc/valuehelp/base/ListContent" {
22516
23018
  oOptions?: object
22517
23019
  ): object;
22518
23020
  /**
22519
- * Gets current keyPath of the content. **Note:** Every listcontent must implement this method.
23021
+ * Gets current keyPath of the content.
23022
+ * **Note:** Every listcontent must implement this method.
22520
23023
  *
22521
23024
  *
22522
23025
  * @returns Content key path
22523
23026
  */
22524
23027
  getKeyPath(): string;
22525
23028
  /**
22526
- * Gets the `ListBinding` of the content. **Note:** Every listcontent must implement this method.
23029
+ * Gets the `ListBinding` of the content.
23030
+ * **Note:** Every listcontent must implement this method.
22527
23031
  *
22528
23032
  *
22529
23033
  * @returns `ListBinding`
@@ -22659,6 +23163,8 @@ declare module "sap/ui/mdc/valuehelp/content/Conditions" {
22659
23163
  $ContentSettings,
22660
23164
  } from "sap/ui/mdc/valuehelp/base/Content";
22661
23165
 
23166
+ import { valuehelp } from "sap/ui/mdc/library";
23167
+
22662
23168
  import { ID } from "sap/ui/core/library";
22663
23169
 
22664
23170
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -22672,7 +23178,12 @@ declare module "sap/ui/mdc/valuehelp/content/Conditions" {
22672
23178
  *
22673
23179
  * @since 1.95.0
22674
23180
  */
22675
- export default class Conditions extends Content {
23181
+ export default class Conditions
23182
+ extends Content
23183
+ implements valuehelp.base.ITypeaheadContent, valuehelp.base.IDialogContent
23184
+ {
23185
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
23186
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
22676
23187
  /**
22677
23188
  * Constructor for a new `Conditions` content.
22678
23189
  *
@@ -22849,6 +23360,8 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
22849
23360
  $ListContentSettings,
22850
23361
  } from "sap/ui/mdc/valuehelp/base/ListContent";
22851
23362
 
23363
+ import { valuehelp } from "sap/ui/mdc/library";
23364
+
22852
23365
  import FixedListItem from "sap/ui/mdc/valuehelp/content/FixedListItem";
22853
23366
 
22854
23367
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -22864,7 +23377,12 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
22864
23377
  *
22865
23378
  * @since 1.95.0
22866
23379
  */
22867
- export default class FixedList extends ListContent {
23380
+ export default class FixedList
23381
+ extends ListContent
23382
+ implements valuehelp.base.ITypeaheadContent, valuehelp.base.IDialogContent
23383
+ {
23384
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
23385
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
22868
23386
  /**
22869
23387
  * Constructor for a new `FixedList` content.
22870
23388
  *
@@ -23266,6 +23784,8 @@ declare module "sap/ui/mdc/valuehelp/Dialog" {
23266
23784
  $ContainerSettings,
23267
23785
  } from "sap/ui/mdc/valuehelp/base/Container";
23268
23786
 
23787
+ import { valuehelp } from "sap/ui/mdc/library";
23788
+
23269
23789
  import { PopupInterface } from "sap/ui/core/library";
23270
23790
 
23271
23791
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -23291,7 +23811,11 @@ declare module "sap/ui/mdc/valuehelp/Dialog" {
23291
23811
  *
23292
23812
  * @since 1.95.0
23293
23813
  */
23294
- export default class Dialog extends Container implements PopupInterface {
23814
+ export default class Dialog
23815
+ extends Container
23816
+ implements valuehelp.base.IDialogContainer, PopupInterface
23817
+ {
23818
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
23295
23819
  __implements__sap_ui_core_PopupInterface: boolean;
23296
23820
  /**
23297
23821
  * Constructor for a new `Dialog` container.
@@ -23454,7 +23978,11 @@ declare module "sap/ui/mdc/valuehelp/content/MDCTable" {
23454
23978
  *
23455
23979
  * @since 1.95.0
23456
23980
  */
23457
- export default class MDCTable extends FilterableListContent {
23981
+ export default class MDCTable
23982
+ extends FilterableListContent
23983
+ implements /* was: sap.ui.mdc.valuehelp.IDialogContent */ Object
23984
+ {
23985
+ __implements__sap_ui_mdc_valuehelp_IDialogContent: boolean;
23458
23986
  /**
23459
23987
  * Constructor for a new `MDCTable` content.
23460
23988
  *
@@ -23611,6 +24139,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
23611
24139
  $FilterableListContentSettings,
23612
24140
  } from "sap/ui/mdc/valuehelp/base/FilterableListContent";
23613
24141
 
24142
+ import { valuehelp } from "sap/ui/mdc/library";
24143
+
23614
24144
  import Event from "sap/ui/base/Event";
23615
24145
 
23616
24146
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -23622,7 +24152,12 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
23622
24152
  *
23623
24153
  * @since 1.95.0
23624
24154
  */
23625
- export default class MTable extends FilterableListContent {
24155
+ export default class MTable
24156
+ extends FilterableListContent
24157
+ implements valuehelp.base.ITypeaheadContent, valuehelp.base.IDialogContent
24158
+ {
24159
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
24160
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
23626
24161
  /**
23627
24162
  * Constructor for a new `MTable` content.
23628
24163
  *
@@ -24090,6 +24625,8 @@ declare module "sap/ui/mdc/valuehelp/Popover" {
24090
24625
  $ContainerSettings,
24091
24626
  } from "sap/ui/mdc/valuehelp/base/Container";
24092
24627
 
24628
+ import { valuehelp } from "sap/ui/mdc/library";
24629
+
24093
24630
  import { PopupInterface } from "sap/ui/core/library";
24094
24631
 
24095
24632
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -24101,7 +24638,15 @@ declare module "sap/ui/mdc/valuehelp/Popover" {
24101
24638
  *
24102
24639
  * @since 1.95.0
24103
24640
  */
24104
- export default class Popover extends Container implements PopupInterface {
24641
+ export default class Popover
24642
+ extends Container
24643
+ implements
24644
+ valuehelp.base.ITypeaheadContainer,
24645
+ valuehelp.base.IDialogContainer,
24646
+ PopupInterface
24647
+ {
24648
+ __implements__sap_ui_mdc_valuehelp_base_ITypeaheadContainer: boolean;
24649
+ __implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
24105
24650
  __implements__sap_ui_core_PopupInterface: boolean;
24106
24651
  /**
24107
24652
  * Constructor for a new `Popover` container.
@@ -24535,6 +25080,8 @@ declare namespace sap {
24535
25080
 
24536
25081
  "sap/ui/mdc/util/DateUtil": undefined;
24537
25082
 
25083
+ "sap/ui/mdc/util/DensityHelper": undefined;
25084
+
24538
25085
  "sap/ui/mdc/util/FilterUtil": undefined;
24539
25086
 
24540
25087
  "sap/ui/mdc/util/InfoBar": undefined;