@sapui5/ts-types 1.118.0 → 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 +1 -1
  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 +117 -3
  8. package/types/sap.fe.core.d.ts +87 -61
  9. package/types/sap.fe.macros.d.ts +164 -21
  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 +25 -21
  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 +67 -53
  17. package/types/sap.insights.d.ts +141 -40
  18. package/types/sap.landvisz.d.ts +1 -1
  19. package/types/sap.m.d.ts +458 -82
  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 +519 -272
  26. package/types/sap.suite.ui.commons.d.ts +50 -6
  27. package/types/sap.suite.ui.generic.template.d.ts +22 -17
  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 -62
  33. package/types/sap.ui.core.d.ts +504 -162
  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 -54
  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 +1023 -262
  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 +913 -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 +367 -1
  52. package/types/sap.ui.vtm.d.ts +1 -1
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +113 -115
  55. package/types/sap.ui.webc.main.d.ts +299 -306
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +534 -14
  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 namespace sap {
4
4
  namespace fe {
@@ -49,7 +49,7 @@ declare namespace sap {
49
49
  /**
50
50
  * Defines nested actions
51
51
  */
52
- actions: undefined[];
52
+ actions: sap.fe.macros.chart.Action[];
53
53
  /**
54
54
  * Reference to the key of another action or action group already displayed in the toolbar to properly place
55
55
  * this one
@@ -125,7 +125,7 @@ declare namespace sap {
125
125
  /**
126
126
  * Defines nested actions
127
127
  */
128
- actions: undefined[];
128
+ actions: sap.fe.macros.table.Action[];
129
129
  /**
130
130
  * Reference to the key of another action or action group already displayed in the toolbar to properly place
131
131
  * this one
@@ -179,9 +179,13 @@ declare namespace sap {
179
179
  placement: string;
180
180
  /**
181
181
  * Defines the column's width.
182
- * Allowed values are `auto`, `value` and `inherit` according to {@link sap.ui.core.CSSSize}
182
+ * Allowed values are `auto`, `value` and `inherit` according to {@link sap.ui.core.CSSSize }
183
183
  */
184
184
  width: string;
185
+ /**
186
+ * Indicates if the column header should be a part of the width calculation.
187
+ */
188
+ widthIncludingColumnHeader: boolean;
185
189
  };
186
190
 
187
191
  /**
@@ -216,7 +220,6 @@ declare namespace sap {
216
220
  * InlineCreationsRows - The creation is done inline with an empty row
217
221
  *
218
222
  * External - The creation is done in a different application specified via the parameter 'outbound'
219
- *
220
223
  * If not set with any value:
221
224
  *
222
225
  * if navigation is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
@@ -547,6 +550,109 @@ declare namespace sap {
547
550
  id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
548
551
  }
549
552
 
553
+ interface $RichTextEditorSettings extends sap.ui.core.$ControlSettings {
554
+ /**
555
+ * With the 'buttonGroups' attribute you can customize the buttons that are displayed on the toolbar of
556
+ * the editor.
557
+ */
558
+ buttonGroups?:
559
+ | any[]
560
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
561
+ | `{${string}}`;
562
+
563
+ /**
564
+ * ID of the editor
565
+ */
566
+ id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
567
+
568
+ /**
569
+ * Use the readOnly attribute to override the edit flow of the page.
570
+ * By setting 'readOnly' to true, a FormattedText will be displayed instead of the editor.
571
+ */
572
+ readOnly?:
573
+ | boolean
574
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
575
+ | `{${string}}`;
576
+
577
+ /**
578
+ * Use the 'required' attribute to make sure that the editor is filled with some text.
579
+ */
580
+ required?:
581
+ | boolean
582
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
583
+ | `{${string}}`;
584
+
585
+ /**
586
+ * The value contained in the editor. You can use this attribute to set a default value.
587
+ */
588
+ value?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
589
+ }
590
+
591
+ interface $RichTextEditorWithMetadataSettings
592
+ extends sap.ui.core.$ControlSettings {
593
+ /**
594
+ * With the 'buttonGroups' attribute, you can customize the buttons that are displayed on the toolbar of
595
+ * the editor.
596
+ */
597
+ buttonGroups?:
598
+ | any[]
599
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
600
+ | `{${string}}`;
601
+
602
+ /**
603
+ * The context path of the property displayed
604
+ */
605
+ contextPath?:
606
+ | sap.ui.model.Context
607
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
608
+ | `{${string}}`;
609
+
610
+ /**
611
+ * ID of the editor
612
+ */
613
+ id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
614
+
615
+ /**
616
+ * The metaPath of the displayed property
617
+ */
618
+ metaPath?:
619
+ | sap.ui.model.Context
620
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
621
+ | `{${string}}`;
622
+
623
+ /**
624
+ * Use the readOnly attribute to override the edit flow of the page.
625
+ * By setting 'readOnly' to true, a FormattedText is displayed instead of the editor.
626
+ */
627
+ readOnly?:
628
+ | boolean
629
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
630
+ | `{${string}}`;
631
+
632
+ /**
633
+ * Use the 'required' attribute, to make sure that the editor is filled with some text.
634
+ */
635
+ required?:
636
+ | boolean
637
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
638
+ | `{${string}}`;
639
+ }
640
+
641
+ interface $ShareSettings extends sap.ui.core.$ControlSettings {
642
+ /**
643
+ * The identifier of the Share control.
644
+ */
645
+ id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
646
+
647
+ /**
648
+ * Whether the share control should be visible on the screen.
649
+ */
650
+ visible?:
651
+ | boolean
652
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
653
+ | `{${string}}`;
654
+ }
655
+
550
656
  interface $TableSettings extends sap.fe.macros.$MacroAPISettings {
551
657
  /**
552
658
  * An expression that allows you to control the 'busy' state of the table.
@@ -691,7 +797,7 @@ declare namespace sap {
691
797
  | `{${string}}`;
692
798
 
693
799
  /**
694
- * Defines how the table handles the visible rows. Does not apply to responsive tables.
800
+ * Defines how the table handles the visible rows. Does not apply to Responsive tables.
695
801
  * Allowed values are `Auto`, `Fixed`.
696
802
  *
697
803
  * - If set to `Fixed`, the table always has as many rows as defined in the rowCount property.
@@ -728,6 +834,14 @@ declare namespace sap {
728
834
  | string
729
835
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
730
836
 
837
+ /**
838
+ * Indicates if the column header should be a part of the width calculation.
839
+ */
840
+ widthIncludingColumnHeader?:
841
+ | boolean
842
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
843
+ | `{${string}}`;
844
+
731
845
  /**
732
846
  * Aggregate actions of the table.
733
847
  */
@@ -778,6 +892,7 @@ declare namespace sap {
778
892
  *
779
893
  *
780
894
  * Usually, a contextPath and metaPath is expected.
895
+ *
781
896
  * Usage example:
782
897
  *
783
898
  * ```javascript
@@ -801,6 +916,7 @@ declare namespace sap {
801
916
  *
802
917
  * Usually, a DataField or DataPoint annotation is expected, but the field can also be used to display a
803
918
  * property from the entity type.
919
+ *
804
920
  * Usage example:
805
921
  *
806
922
  * ```javascript
@@ -818,7 +934,7 @@ declare namespace sap {
818
934
  */
819
935
  addMessage(
820
936
  /**
821
- * undefined
937
+ * The parameters to create message
822
938
  */
823
939
  parameters: {
824
940
  /**
@@ -860,6 +976,7 @@ declare namespace sap {
860
976
  *
861
977
  *
862
978
  * Usually, a SelectionFields annotation is expected.
979
+ *
863
980
  * Usage example:
864
981
  *
865
982
  * ```javascript
@@ -886,7 +1003,7 @@ declare namespace sap {
886
1003
  /**
887
1004
  * Get the selection variant from the filter bar.
888
1005
  *
889
- * @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant}
1006
+ * @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant }
890
1007
  */
891
1008
  getSelectionVariant(): Promise<sap.fe.navigation.SelectionVariant>;
892
1009
  /**
@@ -902,23 +1019,30 @@ declare namespace sap {
902
1019
  */
903
1020
  sConditionPath: string,
904
1021
  /**
905
- * undefined
1022
+ * The operator to be used (optional) - if not set, the default operator (EQ) will be used
906
1023
  */
907
1024
  sOperator: string | undefined,
908
1025
  /**
909
1026
  * The values to be applied
910
1027
  */
911
- vValues?: boolean | boolean[] | number | number[] | string | string[]
1028
+ vValues?:
1029
+ | boolean
1030
+ | boolean[]
1031
+ | number
1032
+ | number[]
1033
+ | string
1034
+ | string[]
1035
+ | undefined
912
1036
  ): Promise<void>;
913
1037
  /**
914
- * Sets {@link sap.fe.navigation.SelectionVariant} to the filter bar. Note: setSelectionVariant will clear
1038
+ * Sets {@link sap.fe.navigation.SelectionVariant } to the filter bar. Note: setSelectionVariant will clear
915
1039
  * existing filters and then apply the SelectionVariant values.
916
1040
  *
917
1041
  * @returns A promise for asynchronous handling
918
1042
  */
919
1043
  setSelectionVariant(
920
1044
  /**
921
- * The {@link sap.fe.navigation.SelectionVariant} to apply to the filter bar
1045
+ * The {@link sap.fe.navigation.SelectionVariant } to apply to the filter bar
922
1046
  */
923
1047
  selectionVariant: sap.fe.navigation.SelectionVariant
924
1048
  ): Promise<unknown>;
@@ -935,6 +1059,7 @@ declare namespace sap {
935
1059
  *
936
1060
  * It is designed to work based on a FieldGroup annotation but can also work if you provide a ReferenceFacet
937
1061
  * or a CollectionFacet
1062
+ *
938
1063
  * Usage example:
939
1064
  *
940
1065
  * ```javascript
@@ -1000,6 +1125,26 @@ declare namespace sap {
1000
1125
  class Paginator extends sap.ui.core.Control {
1001
1126
  constructor();
1002
1127
  }
1128
+ /**
1129
+ * @since 1.117.0
1130
+ * @experimental (since 1.117.0)
1131
+ *
1132
+ * Building block that exposes the RichTextEditor UI5 control.
1133
+ * It's used to enter formatted text, and uses the third-party component called TinyMCE.
1134
+ */
1135
+ class RichTextEditor extends sap.ui.core.Control {
1136
+ constructor();
1137
+ }
1138
+ /**
1139
+ * @since 1.117.0
1140
+ * @experimental (since 1.117.0)
1141
+ *
1142
+ * Metadata-driven building block that exposes the RichTextEditor UI5 control.
1143
+ * It's used to enter formatted text and uses the third-party component called TinyMCE.
1144
+ */
1145
+ class RichTextEditorWithMetadata extends sap.ui.core.Control {
1146
+ constructor();
1147
+ }
1003
1148
  /**
1004
1149
  * @since 1.93.0
1005
1150
  *
@@ -1012,18 +1157,18 @@ declare namespace sap {
1012
1157
  *
1013
1158
  * If you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then
1014
1159
  * the 'Save as Tile' option is not visible.
1160
+ *
1015
1161
  * Usage example:
1016
1162
  *
1017
1163
  * ```javascript
1018
1164
  *
1019
1165
  * <macro:Share
1020
1166
  * id="someID"
1021
- * visible="true"
1167
+ * visible="true"
1022
1168
  * />
1023
1169
  * ```
1024
1170
  */
1025
- class Share
1026
- /* was: sap.fe.core.buildingBlocks.RuntimeBuildingBlock */ extends Object {
1171
+ class Share extends sap.ui.core.Control {
1027
1172
  constructor();
1028
1173
  }
1029
1174
  /**
@@ -1032,6 +1177,7 @@ declare namespace sap {
1032
1177
  *
1033
1178
  * Usually, a LineItem or PresentationVariant annotation is expected, but the Table building block can also
1034
1179
  * be used to display an EntitySet.
1180
+ *
1035
1181
  * Usage example:
1036
1182
  *
1037
1183
  * ```javascript
@@ -1051,7 +1197,7 @@ declare namespace sap {
1051
1197
  */
1052
1198
  addMessage(
1053
1199
  /**
1054
- * undefined
1200
+ * The parameters to create the message
1055
1201
  */
1056
1202
  parameters: {
1057
1203
  /**
@@ -1098,9 +1244,9 @@ declare namespace sap {
1098
1244
  */
1099
1245
  type FieldFormatOptions = {
1100
1246
  /**
1101
- * Defines how the field value and associated text will be displayed together.
1247
+ * Defines how the field value and associated text will be displayed together.
1102
1248
  *
1103
- * Allowed values are "Value", "Description", "DescriptionValue" and "ValueDescription"
1249
+ * Allowed values are "Value", "Description", "DescriptionValue" and "ValueDescription"
1104
1250
  */
1105
1251
  displayMode: string;
1106
1252
  /**
@@ -1113,7 +1259,6 @@ declare namespace sap {
1113
1259
  * Defines if the date part of a date time with timezone field should be shown.
1114
1260
  *
1115
1261
  * The dateTimeOffset field must have a timezone annotation.
1116
- *
1117
1262
  * The default value is true.
1118
1263
  */
1119
1264
  showDate: boolean;
@@ -1121,7 +1266,6 @@ declare namespace sap {
1121
1266
  * Defines if the time part of a date time with timezone field should be shown.
1122
1267
  *
1123
1268
  * The dateTimeOffset field must have a timezone annotation.
1124
- *
1125
1269
  * The default value is true.
1126
1270
  */
1127
1271
  showTime: boolean;
@@ -1129,7 +1273,6 @@ declare namespace sap {
1129
1273
  * Defines if the timezone part of a date time with timezone field should be shown.
1130
1274
  *
1131
1275
  * The dateTimeOffset field must have a timezone annotation.
1132
- *
1133
1276
  * The default value is true.
1134
1277
  */
1135
1278
  showTimezone: boolean;