@sapui5/types 1.118.1 → 1.119.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 (64) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +9 -9
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +16 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +35 -1
  7. package/types/sap.f.d.ts +121 -3
  8. package/types/sap.fe.core.d.ts +91 -83
  9. package/types/sap.fe.macros.d.ts +130 -25
  10. package/types/sap.fe.navigation.d.ts +92 -87
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.templates.d.ts +32 -22
  13. package/types/sap.fe.test.d.ts +1 -1
  14. package/types/sap.fe.tools.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +64 -50
  17. package/types/sap.insights.d.ts +133 -28
  18. package/types/sap.landvisz.d.ts +1 -1
  19. package/types/sap.m.d.ts +483 -80
  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.rules.ui.d.ts +1 -1
  25. package/types/sap.sac.df.d.ts +555 -274
  26. package/types/sap.suite.ui.commons.d.ts +48 -6
  27. package/types/sap.suite.ui.generic.template.d.ts +16 -11
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +17 -15
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +1 -1
  32. package/types/sap.ui.comp.d.ts +41 -59
  33. package/types/sap.ui.core.d.ts +517 -173
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +1 -1
  36. package/types/sap.ui.fl.d.ts +1 -51
  37. package/types/sap.ui.generic.app.d.ts +1 -1
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +11 -1
  40. package/types/sap.ui.layout.d.ts +1 -1
  41. package/types/sap.ui.mdc.d.ts +1017 -246
  42. package/types/sap.ui.richtexteditor.d.ts +1 -1
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +915 -1
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +1 -1
  49. package/types/sap.ui.ux3.d.ts +1 -1
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +387 -9
  52. package/types/sap.ui.vtm.d.ts +78 -66
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +85 -85
  55. package/types/sap.ui.webc.main.d.ts +225 -225
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +566 -42
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +1 -1
  60. package/types/sap.viz.d.ts +1 -1
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.111.0
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare module "sap/fe/macros/library" {}
4
4
 
@@ -52,6 +52,7 @@ declare module "sap/fe/macros/chart/ChartAPI" {
52
52
  *
53
53
  *
54
54
  * Usually, a contextPath and metaPath is expected.
55
+ *
55
56
  * Usage example:
56
57
  *
57
58
  * ```javascript
@@ -111,7 +112,7 @@ declare module "sap/fe/macros/chart/ChartAPI" {
111
112
  /**
112
113
  * Defines nested actions
113
114
  */
114
- actions: undefined[];
115
+ actions: Action[];
115
116
  /**
116
117
  * Reference to the key of another action or action group already displayed in the toolbar to properly place
117
118
  * this one
@@ -235,6 +236,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
235
236
  *
236
237
  * Usually, a DataField or DataPoint annotation is expected, but the field can also be used to display a
237
238
  * property from the entity type.
239
+ *
238
240
  * Usage example:
239
241
  *
240
242
  * ```javascript
@@ -252,7 +254,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
252
254
  */
253
255
  addMessage(
254
256
  /**
255
- * undefined
257
+ * The parameters to create message
256
258
  */
257
259
  parameters: {
258
260
  /**
@@ -294,9 +296,9 @@ declare module "sap/fe/macros/field/FieldAPI" {
294
296
  */
295
297
  export type FieldFormatOptions = {
296
298
  /**
297
- * Defines how the field value and associated text will be displayed together.
299
+ * Defines how the field value and associated text will be displayed together.
298
300
  *
299
- * Allowed values are "Value", "Description", "DescriptionValue" and "ValueDescription"
301
+ * Allowed values are "Value", "Description", "DescriptionValue" and "ValueDescription"
300
302
  */
301
303
  displayMode: string;
302
304
  /**
@@ -309,7 +311,6 @@ declare module "sap/fe/macros/field/FieldAPI" {
309
311
  * Defines if the date part of a date time with timezone field should be shown.
310
312
  *
311
313
  * The dateTimeOffset field must have a timezone annotation.
312
- *
313
314
  * The default value is true.
314
315
  */
315
316
  showDate: boolean;
@@ -317,7 +318,6 @@ declare module "sap/fe/macros/field/FieldAPI" {
317
318
  * Defines if the time part of a date time with timezone field should be shown.
318
319
  *
319
320
  * The dateTimeOffset field must have a timezone annotation.
320
- *
321
321
  * The default value is true.
322
322
  */
323
323
  showTime: boolean;
@@ -325,7 +325,6 @@ declare module "sap/fe/macros/field/FieldAPI" {
325
325
  * Defines if the timezone part of a date time with timezone field should be shown.
326
326
  *
327
327
  * The dateTimeOffset field must have a timezone annotation.
328
- *
329
328
  * The default value is true.
330
329
  */
331
330
  showTimezone: boolean;
@@ -438,6 +437,7 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
438
437
  *
439
438
  *
440
439
  * Usually, a SelectionFields annotation is expected.
440
+ *
441
441
  * Usage example:
442
442
  *
443
443
  * ```javascript
@@ -464,7 +464,7 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
464
464
  /**
465
465
  * Get the selection variant from the filter bar.
466
466
  *
467
- * @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant}
467
+ * @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant }
468
468
  */
469
469
  getSelectionVariant(): Promise<SelectionVariant>;
470
470
  /**
@@ -480,23 +480,30 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
480
480
  */
481
481
  sConditionPath: string,
482
482
  /**
483
- * undefined
483
+ * The operator to be used (optional) - if not set, the default operator (EQ) will be used
484
484
  */
485
485
  sOperator: string | undefined,
486
486
  /**
487
487
  * The values to be applied
488
488
  */
489
- vValues?: boolean | boolean[] | number | number[] | string | string[]
489
+ vValues?:
490
+ | boolean
491
+ | boolean[]
492
+ | number
493
+ | number[]
494
+ | string
495
+ | string[]
496
+ | undefined
490
497
  ): Promise<void>;
491
498
  /**
492
- * Sets {@link sap.fe.navigation.SelectionVariant} to the filter bar. Note: setSelectionVariant will clear
499
+ * Sets {@link sap.fe.navigation.SelectionVariant } to the filter bar. Note: setSelectionVariant will clear
493
500
  * existing filters and then apply the SelectionVariant values.
494
501
  *
495
502
  * @returns A promise for asynchronous handling
496
503
  */
497
504
  setSelectionVariant(
498
505
  /**
499
- * The {@link sap.fe.navigation.SelectionVariant} to apply to the filter bar
506
+ * The {@link sap.fe.navigation.SelectionVariant } to apply to the filter bar
500
507
  */
501
508
  selectionVariant: SelectionVariant
502
509
  ): Promise<unknown>;
@@ -617,6 +624,7 @@ declare module "sap/fe/macros/form/Form.block" {
617
624
  *
618
625
  * It is designed to work based on a FieldGroup annotation but can also work if you provide a ReferenceFacet
619
626
  * or a CollectionFacet
627
+ *
620
628
  * Usage example:
621
629
  *
622
630
  * ```javascript
@@ -804,6 +812,10 @@ declare module "sap/fe/macros/paginator/Paginator.block" {
804
812
  }
805
813
 
806
814
  declare module "sap/fe/macros/richtexteditor/RichTextEditor.block" {
815
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
816
+
817
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
818
+
807
819
  /**
808
820
  * @since 1.117.0
809
821
  * @experimental (since 1.117.0)
@@ -811,13 +823,47 @@ declare module "sap/fe/macros/richtexteditor/RichTextEditor.block" {
811
823
  * Building block that exposes the RichTextEditor UI5 control.
812
824
  * It's used to enter formatted text, and uses the third-party component called TinyMCE.
813
825
  */
814
- export default class RichTextEditor
815
- /* was: sap.fe.core.buildingBlocks.RuntimeBuildingBlock */ extends Object {
826
+ export default class RichTextEditor extends Control {
816
827
  constructor();
817
828
  }
829
+
830
+ export interface $RichTextEditorSettings extends $ControlSettings {
831
+ /**
832
+ * With the 'buttonGroups' attribute you can customize the buttons that are displayed on the toolbar of
833
+ * the editor.
834
+ */
835
+ buttonGroups?: any[] | PropertyBindingInfo | `{${string}}`;
836
+
837
+ /**
838
+ * ID of the editor
839
+ */
840
+ id?: string | PropertyBindingInfo;
841
+
842
+ /**
843
+ * Use the readOnly attribute to override the edit flow of the page.
844
+ * By setting 'readOnly' to true, a FormattedText will be displayed instead of the editor.
845
+ */
846
+ readOnly?: boolean | PropertyBindingInfo | `{${string}}`;
847
+
848
+ /**
849
+ * Use the 'required' attribute to make sure that the editor is filled with some text.
850
+ */
851
+ required?: boolean | PropertyBindingInfo | `{${string}}`;
852
+
853
+ /**
854
+ * The value contained in the editor. You can use this attribute to set a default value.
855
+ */
856
+ value?: string | PropertyBindingInfo;
857
+ }
818
858
  }
819
859
 
820
860
  declare module "sap/fe/macros/richtexteditor/RichTextEditorWithMetadata.block" {
861
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
862
+
863
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
864
+
865
+ import Context from "sap/ui/model/Context";
866
+
821
867
  /**
822
868
  * @since 1.117.0
823
869
  * @experimental (since 1.117.0)
@@ -825,13 +871,51 @@ declare module "sap/fe/macros/richtexteditor/RichTextEditorWithMetadata.block" {
825
871
  * Metadata-driven building block that exposes the RichTextEditor UI5 control.
826
872
  * It's used to enter formatted text and uses the third-party component called TinyMCE.
827
873
  */
828
- export default class RichTextEditorWithMetadata
829
- /* was: sap.fe.core.buildingBlocks.RuntimeBuildingBlock */ extends Object {
874
+ export default class RichTextEditorWithMetadata extends Control {
830
875
  constructor();
831
876
  }
877
+
878
+ export interface $RichTextEditorWithMetadataSettings
879
+ extends $ControlSettings {
880
+ /**
881
+ * With the 'buttonGroups' attribute, you can customize the buttons that are displayed on the toolbar of
882
+ * the editor.
883
+ */
884
+ buttonGroups?: any[] | PropertyBindingInfo | `{${string}}`;
885
+
886
+ /**
887
+ * The context path of the property displayed
888
+ */
889
+ contextPath?: Context | PropertyBindingInfo | `{${string}}`;
890
+
891
+ /**
892
+ * ID of the editor
893
+ */
894
+ id?: string | PropertyBindingInfo;
895
+
896
+ /**
897
+ * The metaPath of the displayed property
898
+ */
899
+ metaPath?: Context | PropertyBindingInfo | `{${string}}`;
900
+
901
+ /**
902
+ * Use the readOnly attribute to override the edit flow of the page.
903
+ * By setting 'readOnly' to true, a FormattedText is displayed instead of the editor.
904
+ */
905
+ readOnly?: boolean | PropertyBindingInfo | `{${string}}`;
906
+
907
+ /**
908
+ * Use the 'required' attribute, to make sure that the editor is filled with some text.
909
+ */
910
+ required?: boolean | PropertyBindingInfo | `{${string}}`;
911
+ }
832
912
  }
833
913
 
834
914
  declare module "sap/fe/macros/share/Share.block" {
915
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
916
+
917
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
918
+
835
919
  /**
836
920
  * @since 1.93.0
837
921
  *
@@ -844,20 +928,32 @@ declare module "sap/fe/macros/share/Share.block" {
844
928
  *
845
929
  * If you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then
846
930
  * the 'Save as Tile' option is not visible.
931
+ *
847
932
  * Usage example:
848
933
  *
849
934
  * ```javascript
850
935
  *
851
936
  * <macro:Share
852
937
  * id="someID"
853
- * visible="true"
938
+ * visible="true"
854
939
  * />
855
940
  * ```
856
941
  */
857
- export default class Share
858
- /* was: sap.fe.core.buildingBlocks.RuntimeBuildingBlock */ extends Object {
942
+ export default class Share extends Control {
859
943
  constructor();
860
944
  }
945
+
946
+ export interface $ShareSettings extends $ControlSettings {
947
+ /**
948
+ * The identifier of the Share control.
949
+ */
950
+ id?: string | PropertyBindingInfo;
951
+
952
+ /**
953
+ * Whether the share control should be visible on the screen.
954
+ */
955
+ visible?: boolean | PropertyBindingInfo | `{${string}}`;
956
+ }
861
957
  }
862
958
 
863
959
  declare module "sap/fe/macros/table/TableAPI" {
@@ -883,6 +979,7 @@ declare module "sap/fe/macros/table/TableAPI" {
883
979
  *
884
980
  * Usually, a LineItem or PresentationVariant annotation is expected, but the Table building block can also
885
981
  * be used to display an EntitySet.
982
+ *
886
983
  * Usage example:
887
984
  *
888
985
  * ```javascript
@@ -902,7 +999,7 @@ declare module "sap/fe/macros/table/TableAPI" {
902
999
  */
903
1000
  addMessage(
904
1001
  /**
905
- * undefined
1002
+ * The parameters to create the message
906
1003
  */
907
1004
  parameters: {
908
1005
  /**
@@ -985,7 +1082,7 @@ declare module "sap/fe/macros/table/TableAPI" {
985
1082
  /**
986
1083
  * Defines nested actions
987
1084
  */
988
- actions: undefined[];
1085
+ actions: Action[];
989
1086
  /**
990
1087
  * Reference to the key of another action or action group already displayed in the toolbar to properly place
991
1088
  * this one
@@ -1039,9 +1136,13 @@ declare module "sap/fe/macros/table/TableAPI" {
1039
1136
  placement: string;
1040
1137
  /**
1041
1138
  * Defines the column's width.
1042
- * Allowed values are `auto`, `value` and `inherit` according to {@link sap.ui.core.CSSSize}
1139
+ * Allowed values are `auto`, `value` and `inherit` according to {@link sap.ui.core.CSSSize }
1043
1140
  */
1044
1141
  width: string;
1142
+ /**
1143
+ * Indicates if the column header should be a part of the width calculation.
1144
+ */
1145
+ widthIncludingColumnHeader: boolean;
1045
1146
  };
1046
1147
 
1047
1148
  /**
@@ -1076,7 +1177,6 @@ declare module "sap/fe/macros/table/TableAPI" {
1076
1177
  * InlineCreationsRows - The creation is done inline with an empty row
1077
1178
  *
1078
1179
  * External - The creation is done in a different application specified via the parameter 'outbound'
1079
- *
1080
1180
  * If not set with any value:
1081
1181
  *
1082
1182
  * if navigation is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
@@ -1195,7 +1295,7 @@ declare module "sap/fe/macros/table/TableAPI" {
1195
1295
  rowCount?: number | PropertyBindingInfo | `{${string}}`;
1196
1296
 
1197
1297
  /**
1198
- * Defines how the table handles the visible rows. Does not apply to responsive tables.
1298
+ * Defines how the table handles the visible rows. Does not apply to Responsive tables.
1199
1299
  * Allowed values are `Auto`, `Fixed`.
1200
1300
  *
1201
1301
  * - If set to `Fixed`, the table always has as many rows as defined in the rowCount property.
@@ -1230,6 +1330,11 @@ declare module "sap/fe/macros/table/TableAPI" {
1230
1330
  */
1231
1331
  variantManagement?: string | PropertyBindingInfo;
1232
1332
 
1333
+ /**
1334
+ * Indicates if the column header should be a part of the width calculation.
1335
+ */
1336
+ widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
1337
+
1233
1338
  /**
1234
1339
  * Aggregate actions of the table.
1235
1340
  */