@sapui5/ts-types 1.98.0 → 1.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +2 -2
  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.esh.search.ui.d.ts +2 -652
  7. package/types/sap.f.d.ts +156 -64
  8. package/types/sap.fe.common.d.ts +1 -1
  9. package/types/sap.fe.core.d.ts +19 -2
  10. package/types/sap.fe.macros.d.ts +13 -1
  11. package/types/sap.fe.navigation.d.ts +1 -1
  12. package/types/sap.fe.templates.d.ts +1 -1
  13. package/types/sap.fe.test.d.ts +11 -12
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +71 -1
  16. package/types/sap.landvisz.d.ts +1 -1
  17. package/types/sap.m.d.ts +1024 -66
  18. package/types/sap.makit.d.ts +1 -1
  19. package/types/sap.me.d.ts +1 -1
  20. package/types/sap.ndc.d.ts +1 -1
  21. package/types/sap.ovp.d.ts +1 -1
  22. package/types/sap.rules.ui.d.ts +1 -1
  23. package/types/sap.sac.grid.d.ts +1 -1
  24. package/types/sap.suite.ui.commons.d.ts +1 -1
  25. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  26. package/types/sap.suite.ui.microchart.d.ts +1 -1
  27. package/types/sap.tnt.d.ts +1 -1
  28. package/types/sap.ui.codeeditor.d.ts +1 -1
  29. package/types/sap.ui.commons.d.ts +1 -1
  30. package/types/sap.ui.comp.d.ts +201 -6
  31. package/types/sap.ui.core.d.ts +564 -190
  32. package/types/sap.ui.dt.d.ts +1 -1
  33. package/types/sap.ui.export.d.ts +3 -3
  34. package/types/sap.ui.fl.d.ts +7 -5
  35. package/types/sap.ui.generic.app.d.ts +1 -1
  36. package/types/sap.ui.generic.template.d.ts +1 -1
  37. package/types/sap.ui.integration.d.ts +9 -9
  38. package/types/sap.ui.layout.d.ts +4 -1
  39. package/types/sap.ui.mdc.d.ts +5 -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 +6 -6
  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.vbm.d.ts +1 -1
  49. package/types/sap.ui.vk.d.ts +41 -12
  50. package/types/sap.ui.vtm.d.ts +4 -4
  51. package/types/sap.uiext.inbox.d.ts +1 -1
  52. package/types/sap.ushell.d.ts +468 -76
  53. package/types/sap.ushell_abap.d.ts +1 -495
  54. package/types/sap.uxap.d.ts +1 -1
  55. package/types/sap.viz.d.ts +1 -1
  56. package/types/sap.webanalytics.core.d.ts +1 -1
  57. package/types/sap.zen.commons.d.ts +1 -1
  58. package/types/sap.zen.crosstab.d.ts +1 -1
  59. package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1335,6 +1335,158 @@ declare namespace sap {
1335
1335
  }
1336
1336
  }
1337
1337
 
1338
+ namespace FlexibleColumnLayoutSemanticHelper {
1339
+ /**
1340
+ * The configuration of the navigation actions in the columns.
1341
+ */
1342
+ type ColumnsNavigationActions = {
1343
+ /**
1344
+ * Configuration of the navigation actions of the mid column.
1345
+ */
1346
+ midColumn?: sap.f.FlexibleColumnLayoutSemanticHelper.NavigationActionsTargets;
1347
+ /**
1348
+ * Configuration of the navigation actions of the end column.
1349
+ */
1350
+ endColumn?: sap.f.FlexibleColumnLayoutSemanticHelper.NavigationActionsTargets;
1351
+ };
1352
+
1353
+ /**
1354
+ * Represents the relative percentage sizes of all columns as integers.
1355
+ */
1356
+ type ColumnsSizes = {
1357
+ /**
1358
+ * The relative percentage width of the begin column as integer.
1359
+ */
1360
+ beginColumn?: number;
1361
+ /**
1362
+ * The relative percentage width of the mid column as integer.
1363
+ */
1364
+ midColumn?: number;
1365
+ /**
1366
+ * The relative percentage width of the end column as integer.
1367
+ */
1368
+ endColumn?: number;
1369
+ };
1370
+
1371
+ /**
1372
+ * Represents the visibility of the columns.
1373
+ */
1374
+ type ColumnsVisibility = {
1375
+ /**
1376
+ * The visibility of the begin column.
1377
+ */
1378
+ beginColumn?: boolean;
1379
+ /**
1380
+ * The visibility of the mid column.
1381
+ */
1382
+ midColumn?: boolean;
1383
+ /**
1384
+ * The visibility of the end column.
1385
+ */
1386
+ endColumn?: boolean;
1387
+ };
1388
+
1389
+ /**
1390
+ * Configures the target layouts of the navigation acion buttons in a column.
1391
+ */
1392
+ type NavigationActionsTargets = {
1393
+ /**
1394
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `fullscreen` navigation action
1395
+ * button is pressed. If null, then the respective action button should not be shown.
1396
+ */
1397
+ fullScreen?: string | null;
1398
+ /**
1399
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `exitFullScreen` navigation action
1400
+ * button is pressed. If null, then the respective action button should not be shown.
1401
+ */
1402
+ exitFullScreen?: string | null;
1403
+ /**
1404
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `closeColumn` navigation action
1405
+ * button is pressed. If null, then the respective action button should not be shown.
1406
+ */
1407
+ closeColumn?: string | null;
1408
+ };
1409
+
1410
+ /**
1411
+ * Configuration of the state of the `FlexibleColumnLayout` control and the expected action buttons for
1412
+ * each column.
1413
+ *
1414
+ * Example value:
1415
+ *
1416
+ *
1417
+ * ```javascript
1418
+ *
1419
+ *
1420
+ * {
1421
+ * "layout":"ThreeColumnsMidExpanded",
1422
+ * "maxColumnsCount":3,
1423
+ * "columnsSizes":{
1424
+ * "beginColumn":25,
1425
+ * "midColumn":50,
1426
+ * "endColumn":25
1427
+ * },
1428
+ * "columnsVisibility":{
1429
+ * "beginColumn":true,
1430
+ * "midColumn":true,
1431
+ * "endColumn":true
1432
+ * },
1433
+ * "isFullScreen":false,
1434
+ * "isLogicallyFullScreen":false,
1435
+ * "actionButtonsInfo":{
1436
+ * "midColumn":{
1437
+ * "fullScreen":null,
1438
+ * "exitFullScreen":null,
1439
+ * "closeColumn":null
1440
+ * },
1441
+ * "endColumn":{
1442
+ * "fullScreen":"EndColumnFullScreen",
1443
+ * "exitFullScreen":null,
1444
+ * "closeColumn":"TwoColumnsBeginExpanded"
1445
+ * }
1446
+ * }
1447
+ * }
1448
+ *
1449
+ * ```
1450
+ */
1451
+ type UIState = {
1452
+ /**
1453
+ * The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
1454
+ */
1455
+ layout?: string;
1456
+ /**
1457
+ * The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
1458
+ */
1459
+ maxColumnsCount?: number;
1460
+ /**
1461
+ * Represents the relative percentage sizes of all columns as integers.
1462
+ */
1463
+ columnsSizes?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsSizes;
1464
+ /**
1465
+ * Represents the visibility of the columns.
1466
+ */
1467
+ columnsVisibility?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsVisibility;
1468
+ /**
1469
+ * The value is `true` if only one column is visible at the moment, `false` otherwise.
1470
+ *
1471
+ * **Note:** This may be due to small screen size (phone) or due to a layout, for which a single column
1472
+ * takes up the whole width.
1473
+ */
1474
+ isFullScreen?: boolean;
1475
+ /**
1476
+ * The value is `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn, sap.f.LayoutType.MidColumnFullScreen,
1477
+ * sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise.
1478
+ *
1479
+ * **Note:** While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
1480
+ * will only be `true` for the layout values, listed above.
1481
+ */
1482
+ isLogicallyFullScreen?: boolean;
1483
+ /**
1484
+ * The configuration of the navigation actions in the columns.
1485
+ */
1486
+ actionButtonsInfo?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsNavigationActions;
1487
+ };
1488
+ }
1489
+
1338
1490
  namespace routing {
1339
1491
  /**
1340
1492
  * @SINCE 1.46
@@ -11991,72 +12143,14 @@ declare namespace sap {
11991
12143
  oSettings?: object
11992
12144
  ): sap.f.FlexibleColumnLayoutSemanticHelper;
11993
12145
  /**
11994
- * Returns an object, describing the current state of the control and the expected action buttons for each
12146
+ * Returns an object describing the current state of the control and the expected action buttons for each
11995
12147
  * column.
11996
12148
  *
11997
- * The returned object has the following structure:
11998
- * - layout - the value of the `layout` property
11999
- * - maxColumnsCount - the maximum number of columns that can be displayed at once based on the control
12000
- * width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
12001
- * - columnsSizes - an object with fields `beginColumn, midColumn, endColumn`, representing the relative
12002
- * percentage sizes of the three columns as integers
12003
- * - columnsVisibility - an object with fields `beginColumn, midColumn, endColumn`, representing the visibility
12004
- * of the three columns
12005
- * - isFullScreen - `true` if only one column is visible at the moment, `false` otherwise **Note:** This
12006
- * may be due to small screen size (phone) or due to a layout, for which a single column takes up the whole
12007
- * width
12008
- * - isLogicallyFullScreen - `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn,
12009
- * sap.f.LayoutType.MidColumnFullScreen, sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise **Note:**
12010
- * While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
12011
- * will only be `true` for the layout values, listed above.
12012
- * - actionButtonsInfo - an object with fields `midColumn, endColumn`, each containing an object, telling
12013
- * whether action buttons should be shown in the `mid` and `end` columns, and what value of the `layout`
12014
- * property should be set upon clicking these buttons. Each of these objects has the following fields: `closeColumn,
12015
- * fullScreen, exitFullScreen`. If `null`, then the respective action button should not be shown, otherwise
12016
- * provides the value of `layout` property for the action button.
12017
- *
12018
12149
  * **Note:** This method relies on the internal `FlexibleColumnLayout` reference to be rendered in the DOM
12019
12150
  * tree. For convenience, use methods {@link sap.f.FlexibleColumnLayoutSemanticHelper#isDOMReady} and {@link
12020
12151
  * sap.f.FlexibleColumnLayoutSemanticHelper#whenDOMReady}.
12021
- *
12022
- * Example value:
12023
- *
12024
- *
12025
- * ```javascript
12026
- *
12027
- *
12028
- * {
12029
- * "layout":"ThreeColumnsMidExpanded",
12030
- * "maxColumnsCount":3,
12031
- * "columnsSizes":{
12032
- * "beginColumn":25,
12033
- * "midColumn":50,
12034
- * "endColumn":25
12035
- * },
12036
- * "columnsVisibility":{
12037
- * "beginColumn":true,
12038
- * "midColumn":true,
12039
- * "endColumn":true
12040
- * },
12041
- * "isFullScreen":false,
12042
- * "isLogicallyFullScreen":false,
12043
- * "actionButtonsInfo":{
12044
- * "midColumn":{
12045
- * "fullScreen":null,
12046
- * "exitFullScreen":null,
12047
- * "closeColumn":null
12048
- * },
12049
- * "endColumn":{
12050
- * "fullScreen":"EndColumnFullScreen",
12051
- * "exitFullScreen":null,
12052
- * "closeColumn":"TwoColumnsBeginExpanded"
12053
- * }
12054
- * }
12055
- * }
12056
- *
12057
- * ```
12058
12152
  */
12059
- getCurrentUIState(): object;
12153
+ getCurrentUIState(): sap.f.FlexibleColumnLayoutSemanticHelper.UIState;
12060
12154
  /**
12061
12155
  * Returns the default layout types for the different numbers of columns.
12062
12156
  *
@@ -12072,8 +12166,6 @@ declare namespace sap {
12072
12166
  /**
12073
12167
  * Returns an object, describing the state that the control will have after navigating to a different view
12074
12168
  * level.
12075
- *
12076
- * About the format of return value, see: {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState}
12077
12169
  */
12078
12170
  getNextUIState(
12079
12171
  /**
@@ -12081,7 +12173,7 @@ declare namespace sap {
12081
12173
  * 3 and above - subsequent views
12082
12174
  */
12083
12175
  iNextLevel: int
12084
- ): object;
12176
+ ): sap.f.FlexibleColumnLayoutSemanticHelper.UIState;
12085
12177
  /**
12086
12178
  * @SINCE 1.72
12087
12179
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -219,9 +219,13 @@ declare namespace sap {
219
219
  */
220
220
  mParameters?: {
221
221
  /**
222
- * Path pointing to the context on which 'Create' action is triggered
222
+ * Path pointing to the context on which Create action is triggered
223
223
  */
224
224
  contextPath?: string;
225
+ /**
226
+ * Array of values that are filled in the Action Parameter Dialog
227
+ */
228
+ createParameters?: any[];
225
229
  }
226
230
  ): Promise<any>;
227
231
  /**
@@ -516,6 +520,19 @@ declare namespace sap {
516
520
  */
517
521
  oContext: sap.ui.model.odata.v4.Context
518
522
  ): void;
523
+ /**
524
+ * Navigate to another target.
525
+ */
526
+ navigateToRoute(
527
+ /**
528
+ * Name of the target route
529
+ */
530
+ sTargetRouteName: string,
531
+ /**
532
+ * Parameters to be used with route to create the target hash
533
+ */
534
+ oParameters?: object
535
+ ): Promise<any>;
519
536
  /**
520
537
  * @SINCE 1.90.0
521
538
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -31,6 +31,18 @@ declare namespace sap {
31
31
  */
32
32
  export const Field: undefined;
33
33
 
34
+ /**
35
+ * Building block for creating a Form based on the metadata provided by OData V4.
36
+ * Usually, a ReferenceFacet or CollectionFacet is expected
37
+ *
38
+ * Usage example:
39
+ * ```javascript
40
+ *
41
+ * <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.Facets/0" />
42
+ * ```
43
+ */
44
+ export const Form: undefined;
45
+
34
46
  /**
35
47
  * Building block used to create a table based on the metadata provided by OData V4.
36
48
  * Usually, a LineItem or PresentationVariant annotation is expected, but the Table building block can
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -162,6 +162,10 @@ declare namespace sap {
162
162
  class DialogMessageActions extends sap.fe.test.api.DialogActions {
163
163
  constructor();
164
164
 
165
+ /**
166
+ * Confirms the draft message with Discard Draft when navigating back to the list-report.
167
+ */
168
+ iConfirmDiscardDraft(): object;
165
169
  /**
166
170
  * Executes the `Back` action on the message dialog.
167
171
  */
@@ -1345,10 +1349,6 @@ declare namespace sap {
1345
1349
  */
1346
1350
  vAction: string | object
1347
1351
  ): object;
1348
- /**
1349
- * Executes the `Paste` action on the table.
1350
- */
1351
- iExecutePaste(): object;
1352
1352
  /**
1353
1353
  * Executes the `Show/Hide details` action on the table.
1354
1354
  */
@@ -1788,14 +1788,9 @@ declare namespace sap {
1788
1788
  mProperty?: object
1789
1789
  ): object;
1790
1790
  /**
1791
- * Checks the `Paste` action of the table.
1791
+ * Checks whether the paste button is available for the table.
1792
1792
  */
1793
- iCheckPaste(
1794
- /**
1795
- * Defines the expected state of the button
1796
- */
1797
- mState?: object
1798
- ): object;
1793
+ iCheckPaste(): object;
1799
1794
  /**
1800
1795
  * Checks the quick filter action of the table.
1801
1796
  */
@@ -2097,6 +2092,10 @@ declare namespace sap {
2097
2092
  * The name of the navigation property used for the table
2098
2093
  */
2099
2094
  property: string;
2095
+ /**
2096
+ * The name of a qualifier for the table
2097
+ */
2098
+ qualifier?: string;
2100
2099
  };
2101
2100
  }
2102
2101
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -20221,6 +20221,26 @@ declare namespace sap {
20221
20221
  * The titleSpacing property defines the space between the start of the shape and the shape title in pixels
20222
20222
  */
20223
20223
  titleSpacing?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
20224
+
20225
+ /**
20226
+ * @SINCE 1.99
20227
+ *
20228
+ * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of
20229
+ * the shape when it is selected.
20230
+ */
20231
+ selectedFill?:
20232
+ | sap.gantt.ValueSVGPaintServer
20233
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
20234
+
20235
+ /**
20236
+ * @SINCE 1.99
20237
+ *
20238
+ * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns)
20239
+ * of the shape's title when it is selected.
20240
+ */
20241
+ selectedTitleColor?:
20242
+ | sap.gantt.ValueSVGPaintServer
20243
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
20224
20244
  }
20225
20245
 
20226
20246
  interface $BaseTextSettings extends sap.gantt.simple.$BaseShapeSettings {
@@ -25135,6 +25155,24 @@ declare namespace sap {
25135
25155
  * Default value is `false`.
25136
25156
  */
25137
25157
  getSelected(): boolean;
25158
+ /**
25159
+ * @SINCE 1.99
25160
+ *
25161
+ * Gets current value of property {@link #getSelectedFill selectedFill}.
25162
+ *
25163
+ * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of
25164
+ * the shape when it is selected.
25165
+ */
25166
+ getSelectedFill(): sap.gantt.ValueSVGPaintServer;
25167
+ /**
25168
+ * @SINCE 1.99
25169
+ *
25170
+ * Gets current value of property {@link #getSelectedTitleColor selectedTitleColor}.
25171
+ *
25172
+ * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns)
25173
+ * of the shape's title when it is selected.
25174
+ */
25175
+ getSelectedTitleColor(): sap.gantt.ValueSVGPaintServer;
25138
25176
  /**
25139
25177
  * Gets current value of property {@link #getShapeId shapeId}.
25140
25178
  *
@@ -25641,6 +25679,38 @@ declare namespace sap {
25641
25679
  */
25642
25680
  bSelected?: boolean
25643
25681
  ): this;
25682
+ /**
25683
+ * @SINCE 1.99
25684
+ *
25685
+ * Sets a new value for property {@link #getSelectedFill selectedFill}.
25686
+ *
25687
+ * The selectedFill property defines the color (or any SVG paint servers like gradients or patterns) of
25688
+ * the shape when it is selected.
25689
+ *
25690
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25691
+ */
25692
+ setSelectedFill(
25693
+ /**
25694
+ * New value for property `selectedFill`
25695
+ */
25696
+ sSelectedFill: sap.gantt.ValueSVGPaintServer
25697
+ ): this;
25698
+ /**
25699
+ * @SINCE 1.99
25700
+ *
25701
+ * Sets a new value for property {@link #getSelectedTitleColor selectedTitleColor}.
25702
+ *
25703
+ * The selectedTitleColor property defines the color (or any SVG paint servers like gradients or patterns)
25704
+ * of the shape's title when it is selected.
25705
+ *
25706
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25707
+ */
25708
+ setSelectedTitleColor(
25709
+ /**
25710
+ * New value for property `selectedTitleColor`
25711
+ */
25712
+ sSelectedTitleColor: sap.gantt.ValueSVGPaintServer
25713
+ ): this;
25644
25714
  /**
25645
25715
  * Sets a new value for property {@link #getShapeId shapeId}.
25646
25716
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**