@sapui5/ts-types-esm 1.140.0 → 1.141.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.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +2680 -1
- package/types/sap.f.d.ts +44 -3
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +84 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +367 -42
- package/types/sap.fe.navigation.d.ts +13 -15
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +7 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +78 -9
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +20 -5
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +41 -5
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1 -1
- package/types/sap.ui.core.d.ts +130 -67
- package/types/sap.ui.dt.d.ts +202 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +8 -7
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +63 -47
- package/types/sap.ui.mdc.d.ts +4 -4
- package/types/sap.ui.richtexteditor.d.ts +309 -9
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +18 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +55 -3
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +132 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +32 -3
- package/types/sap.ushell_abap.d.ts +5 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/richtexteditor/library" {
|
|
4
4
|
/**
|
|
@@ -12,10 +12,6 @@ declare module "sap/ui/richtexteditor/library" {
|
|
|
12
12
|
* Uses latest recommended TinyMCE version Current one is TinyMCE 7
|
|
13
13
|
*/
|
|
14
14
|
TinyMCE = "TinyMCE",
|
|
15
|
-
/**
|
|
16
|
-
* Uses TinyMCE version 6 as editor
|
|
17
|
-
*/
|
|
18
|
-
TinyMCE6 = "TinyMCE6",
|
|
19
15
|
/**
|
|
20
16
|
* Uses TinyMCE version 7 as editor
|
|
21
17
|
*/
|
|
@@ -36,6 +32,8 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
36
32
|
|
|
37
33
|
import { ID, CSSSize, TextDirection } from "sap/ui/core/library";
|
|
38
34
|
|
|
35
|
+
import RichTextEditorFontFamily from "sap/ui/richtexteditor/RichTextEditorFontFamily";
|
|
36
|
+
|
|
39
37
|
import Event from "sap/ui/base/Event";
|
|
40
38
|
|
|
41
39
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -263,6 +261,19 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
263
261
|
*/
|
|
264
262
|
oCustomButton: Control
|
|
265
263
|
): this;
|
|
264
|
+
/**
|
|
265
|
+
* Adds some customFont to the aggregation {@link #getCustomFonts customFonts}.
|
|
266
|
+
*
|
|
267
|
+
* @since 1.141
|
|
268
|
+
*
|
|
269
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
270
|
+
*/
|
|
271
|
+
addCustomFont(
|
|
272
|
+
/**
|
|
273
|
+
* The customFont to add; if empty, nothing is inserted
|
|
274
|
+
*/
|
|
275
|
+
oCustomFont: RichTextEditorFontFamily
|
|
276
|
+
): this;
|
|
266
277
|
/**
|
|
267
278
|
* Allows to add a plugin (that must already be installed on the server) to the RichTextEditor.
|
|
268
279
|
*
|
|
@@ -497,6 +508,14 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
497
508
|
* @returns Reference to `this` in order to allow method chaining
|
|
498
509
|
*/
|
|
499
510
|
destroyCustomButtons(): this;
|
|
511
|
+
/**
|
|
512
|
+
* Destroys all the customFonts in the aggregation {@link #getCustomFonts customFonts}.
|
|
513
|
+
*
|
|
514
|
+
* @since 1.141
|
|
515
|
+
*
|
|
516
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
517
|
+
*/
|
|
518
|
+
destroyCustomFonts(): this;
|
|
500
519
|
/**
|
|
501
520
|
* Destroys the footer in the aggregation {@link #getFooter footer}.
|
|
502
521
|
*
|
|
@@ -659,12 +678,21 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
659
678
|
* Gets content of aggregation {@link #getCustomButtons customButtons}.
|
|
660
679
|
*
|
|
661
680
|
* Custom buttons are meant to extend the `RichTextEditor`'s custom toolbar. Though type is set to sap.ui.Control,
|
|
662
|
-
* only sap.m.Button is allowed. **Note:** customButtons are available only when the customToolbar is
|
|
663
|
-
* and all the requirements are fulfilled.
|
|
681
|
+
* only sap.m.Button is allowed. **Note:** customButtons are available only when the `customToolbar` is
|
|
682
|
+
* enabled and all the requirements are fulfilled.
|
|
664
683
|
*
|
|
665
684
|
* @since 1.48
|
|
666
685
|
*/
|
|
667
686
|
getCustomButtons(): Control[];
|
|
687
|
+
/**
|
|
688
|
+
* Gets content of aggregation {@link #getCustomFonts customFonts}.
|
|
689
|
+
*
|
|
690
|
+
* Custom font families that can be used in the `RichTextEditor`. **Note:** Custom fonts are available only
|
|
691
|
+
* when the `customToolbar` is enabled.
|
|
692
|
+
*
|
|
693
|
+
* @since 1.141
|
|
694
|
+
*/
|
|
695
|
+
getCustomFonts(): RichTextEditorFontFamily[];
|
|
668
696
|
/**
|
|
669
697
|
* Gets current value of property {@link #getCustomToolbar customToolbar}.
|
|
670
698
|
*
|
|
@@ -996,6 +1024,20 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
996
1024
|
*/
|
|
997
1025
|
oCustomButton: Control
|
|
998
1026
|
): int;
|
|
1027
|
+
/**
|
|
1028
|
+
* Checks for the provided `sap.ui.richtexteditor.RichTextEditorFontFamily` in the aggregation {@link #getCustomFonts customFonts}.
|
|
1029
|
+
* and returns its index if found or -1 otherwise.
|
|
1030
|
+
*
|
|
1031
|
+
* @since 1.141
|
|
1032
|
+
*
|
|
1033
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
1034
|
+
*/
|
|
1035
|
+
indexOfCustomFont(
|
|
1036
|
+
/**
|
|
1037
|
+
* The customFont whose index is looked for
|
|
1038
|
+
*/
|
|
1039
|
+
oCustomFont: RichTextEditorFontFamily
|
|
1040
|
+
): int;
|
|
999
1041
|
/**
|
|
1000
1042
|
* Inserts a customButton into the aggregation {@link #getCustomButtons customButtons}.
|
|
1001
1043
|
*
|
|
@@ -1015,6 +1057,25 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1015
1057
|
*/
|
|
1016
1058
|
iIndex: int
|
|
1017
1059
|
): this;
|
|
1060
|
+
/**
|
|
1061
|
+
* Inserts a customFont into the aggregation {@link #getCustomFonts customFonts}.
|
|
1062
|
+
*
|
|
1063
|
+
* @since 1.141
|
|
1064
|
+
*
|
|
1065
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1066
|
+
*/
|
|
1067
|
+
insertCustomFont(
|
|
1068
|
+
/**
|
|
1069
|
+
* The customFont to insert; if empty, nothing is inserted
|
|
1070
|
+
*/
|
|
1071
|
+
oCustomFont: RichTextEditorFontFamily,
|
|
1072
|
+
/**
|
|
1073
|
+
* The `0`-based index the customFont should be inserted at; for a negative value of `iIndex`, the customFont
|
|
1074
|
+
* is inserted at position 0; for a value greater than the current size of the aggregation, the customFont
|
|
1075
|
+
* is inserted at the last position
|
|
1076
|
+
*/
|
|
1077
|
+
iIndex: int
|
|
1078
|
+
): this;
|
|
1018
1079
|
/**
|
|
1019
1080
|
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
1020
1081
|
*
|
|
@@ -1033,6 +1094,16 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1033
1094
|
* @returns An array of the removed elements (might be empty)
|
|
1034
1095
|
*/
|
|
1035
1096
|
removeAllCustomButtons(): Control[];
|
|
1097
|
+
/**
|
|
1098
|
+
* Removes all the controls from the aggregation {@link #getCustomFonts customFonts}.
|
|
1099
|
+
*
|
|
1100
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
1101
|
+
*
|
|
1102
|
+
* @since 1.141
|
|
1103
|
+
*
|
|
1104
|
+
* @returns An array of the removed elements (might be empty)
|
|
1105
|
+
*/
|
|
1106
|
+
removeAllCustomFonts(): RichTextEditorFontFamily[];
|
|
1036
1107
|
/**
|
|
1037
1108
|
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
1038
1109
|
*
|
|
@@ -1071,6 +1142,19 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1071
1142
|
*/
|
|
1072
1143
|
vCustomButton: int | string | Control
|
|
1073
1144
|
): Control | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Removes a customFont from the aggregation {@link #getCustomFonts customFonts}.
|
|
1147
|
+
*
|
|
1148
|
+
* @since 1.141
|
|
1149
|
+
*
|
|
1150
|
+
* @returns The removed customFont or `null`
|
|
1151
|
+
*/
|
|
1152
|
+
removeCustomFont(
|
|
1153
|
+
/**
|
|
1154
|
+
* The customFont to remove or its index or id
|
|
1155
|
+
*/
|
|
1156
|
+
vCustomFont: int | string | RichTextEditorFontFamily
|
|
1157
|
+
): RichTextEditorFontFamily | null;
|
|
1074
1158
|
/**
|
|
1075
1159
|
* Removes the plugin with the given name/ID from the list of plugins to load
|
|
1076
1160
|
*
|
|
@@ -1737,8 +1821,8 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1737
1821
|
|
|
1738
1822
|
/**
|
|
1739
1823
|
* Custom buttons are meant to extend the `RichTextEditor`'s custom toolbar. Though type is set to sap.ui.Control,
|
|
1740
|
-
* only sap.m.Button is allowed. **Note:** customButtons are available only when the customToolbar is
|
|
1741
|
-
* and all the requirements are fulfilled.
|
|
1824
|
+
* only sap.m.Button is allowed. **Note:** customButtons are available only when the `customToolbar` is
|
|
1825
|
+
* enabled and all the requirements are fulfilled.
|
|
1742
1826
|
*
|
|
1743
1827
|
* @since 1.48
|
|
1744
1828
|
*/
|
|
@@ -1748,6 +1832,18 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1748
1832
|
| AggregationBindingInfo
|
|
1749
1833
|
| `{${string}}`;
|
|
1750
1834
|
|
|
1835
|
+
/**
|
|
1836
|
+
* Custom font families that can be used in the `RichTextEditor`. **Note:** Custom fonts are available only
|
|
1837
|
+
* when the `customToolbar` is enabled.
|
|
1838
|
+
*
|
|
1839
|
+
* @since 1.141
|
|
1840
|
+
*/
|
|
1841
|
+
customFonts?:
|
|
1842
|
+
| RichTextEditorFontFamily[]
|
|
1843
|
+
| RichTextEditorFontFamily
|
|
1844
|
+
| AggregationBindingInfo
|
|
1845
|
+
| `{${string}}`;
|
|
1846
|
+
|
|
1751
1847
|
/**
|
|
1752
1848
|
* Association to controls / IDs which label this control (see WAI-ARIA attribute `aria-labelledby`).
|
|
1753
1849
|
*
|
|
@@ -1841,10 +1937,214 @@ declare module "sap/ui/richtexteditor/RichTextEditor" {
|
|
|
1841
1937
|
>;
|
|
1842
1938
|
}
|
|
1843
1939
|
|
|
1940
|
+
declare module "sap/ui/richtexteditor/RichTextEditorFontFamily" {
|
|
1941
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
1942
|
+
|
|
1943
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1944
|
+
|
|
1945
|
+
import { URI } from "sap/ui/core/library";
|
|
1946
|
+
|
|
1947
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Represents a font family option for `RichTextEditor`.
|
|
1951
|
+
*/
|
|
1952
|
+
export default class RichTextEditorFontFamily extends UI5Element {
|
|
1953
|
+
/**
|
|
1954
|
+
* Constructor for a new `RichTextEditorFontFamily`.
|
|
1955
|
+
*
|
|
1956
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1957
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1958
|
+
* of the syntax of the settings object.
|
|
1959
|
+
*/
|
|
1960
|
+
constructor(
|
|
1961
|
+
/**
|
|
1962
|
+
* initial settings for the new control
|
|
1963
|
+
*/
|
|
1964
|
+
mSettings?: $RichTextEditorFontFamilySettings
|
|
1965
|
+
);
|
|
1966
|
+
/**
|
|
1967
|
+
* Constructor for a new `RichTextEditorFontFamily`.
|
|
1968
|
+
*
|
|
1969
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1970
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1971
|
+
* of the syntax of the settings object.
|
|
1972
|
+
*/
|
|
1973
|
+
constructor(
|
|
1974
|
+
/**
|
|
1975
|
+
* id for the new control, generated automatically if no id is given
|
|
1976
|
+
*/
|
|
1977
|
+
sId?: string,
|
|
1978
|
+
/**
|
|
1979
|
+
* initial settings for the new control
|
|
1980
|
+
*/
|
|
1981
|
+
mSettings?: $RichTextEditorFontFamilySettings
|
|
1982
|
+
);
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* Creates a new subclass of class sap.ui.richtexteditor.RichTextEditorFontFamily with name `sClassName`
|
|
1986
|
+
* and enriches it with the information contained in `oClassInfo`.
|
|
1987
|
+
*
|
|
1988
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
1989
|
+
*
|
|
1990
|
+
*
|
|
1991
|
+
* @returns Created class / constructor function
|
|
1992
|
+
*/
|
|
1993
|
+
static extend<T extends Record<string, unknown>>(
|
|
1994
|
+
/**
|
|
1995
|
+
* Name of the class being created
|
|
1996
|
+
*/
|
|
1997
|
+
sClassName: string,
|
|
1998
|
+
/**
|
|
1999
|
+
* Object literal with information about the class
|
|
2000
|
+
*/
|
|
2001
|
+
oClassInfo?: sap.ClassInfo<T, RichTextEditorFontFamily>,
|
|
2002
|
+
/**
|
|
2003
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
2004
|
+
* used by this class
|
|
2005
|
+
*/
|
|
2006
|
+
FNMetaImpl?: Function
|
|
2007
|
+
): Function;
|
|
2008
|
+
/**
|
|
2009
|
+
* Returns a metadata object for class sap.ui.richtexteditor.RichTextEditorFontFamily.
|
|
2010
|
+
*
|
|
2011
|
+
*
|
|
2012
|
+
* @returns Metadata object describing this class
|
|
2013
|
+
*/
|
|
2014
|
+
static getMetadata(): ElementMetadata;
|
|
2015
|
+
/**
|
|
2016
|
+
* Gets current value of property {@link #getName name}.
|
|
2017
|
+
*
|
|
2018
|
+
* Used to identify the font in the editor. Names should be unique and descriptive.
|
|
2019
|
+
*
|
|
2020
|
+
*
|
|
2021
|
+
* @returns Value of property `name`
|
|
2022
|
+
*/
|
|
2023
|
+
getName(): string;
|
|
2024
|
+
/**
|
|
2025
|
+
* Gets current value of property {@link #getText text}.
|
|
2026
|
+
*
|
|
2027
|
+
* The text displayed in the font family dropdown.
|
|
2028
|
+
*
|
|
2029
|
+
*
|
|
2030
|
+
* @returns Value of property `text`
|
|
2031
|
+
*/
|
|
2032
|
+
getText(): string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Gets current value of property {@link #getUrl url}.
|
|
2035
|
+
*
|
|
2036
|
+
* Used to load the font. The URL should point to a CSS file that defines the font-face.
|
|
2037
|
+
*
|
|
2038
|
+
*
|
|
2039
|
+
* @returns Value of property `url`
|
|
2040
|
+
*/
|
|
2041
|
+
getUrl(): URI;
|
|
2042
|
+
/**
|
|
2043
|
+
* Gets current value of property {@link #getValue value}.
|
|
2044
|
+
*
|
|
2045
|
+
* The value of the font family. CSS font-family value that will be applied to the text.
|
|
2046
|
+
*
|
|
2047
|
+
*
|
|
2048
|
+
* @returns Value of property `value`
|
|
2049
|
+
*/
|
|
2050
|
+
getValue(): string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Sets a new value for property {@link #getName name}.
|
|
2053
|
+
*
|
|
2054
|
+
* Used to identify the font in the editor. Names should be unique and descriptive.
|
|
2055
|
+
*
|
|
2056
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2057
|
+
*
|
|
2058
|
+
*
|
|
2059
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2060
|
+
*/
|
|
2061
|
+
setName(
|
|
2062
|
+
/**
|
|
2063
|
+
* New value for property `name`
|
|
2064
|
+
*/
|
|
2065
|
+
sName?: string
|
|
2066
|
+
): this;
|
|
2067
|
+
/**
|
|
2068
|
+
* Sets a new value for property {@link #getText text}.
|
|
2069
|
+
*
|
|
2070
|
+
* The text displayed in the font family dropdown.
|
|
2071
|
+
*
|
|
2072
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2073
|
+
*
|
|
2074
|
+
*
|
|
2075
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2076
|
+
*/
|
|
2077
|
+
setText(
|
|
2078
|
+
/**
|
|
2079
|
+
* New value for property `text`
|
|
2080
|
+
*/
|
|
2081
|
+
sText?: string
|
|
2082
|
+
): this;
|
|
2083
|
+
/**
|
|
2084
|
+
* Sets a new value for property {@link #getUrl url}.
|
|
2085
|
+
*
|
|
2086
|
+
* Used to load the font. The URL should point to a CSS file that defines the font-face.
|
|
2087
|
+
*
|
|
2088
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2089
|
+
*
|
|
2090
|
+
*
|
|
2091
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2092
|
+
*/
|
|
2093
|
+
setUrl(
|
|
2094
|
+
/**
|
|
2095
|
+
* New value for property `url`
|
|
2096
|
+
*/
|
|
2097
|
+
sUrl?: URI
|
|
2098
|
+
): this;
|
|
2099
|
+
/**
|
|
2100
|
+
* Sets a new value for property {@link #getValue value}.
|
|
2101
|
+
*
|
|
2102
|
+
* The value of the font family. CSS font-family value that will be applied to the text.
|
|
2103
|
+
*
|
|
2104
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2105
|
+
*
|
|
2106
|
+
*
|
|
2107
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2108
|
+
*/
|
|
2109
|
+
setValue(
|
|
2110
|
+
/**
|
|
2111
|
+
* New value for property `value`
|
|
2112
|
+
*/
|
|
2113
|
+
sValue?: string
|
|
2114
|
+
): this;
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Describes the settings that can be provided to the RichTextEditorFontFamily constructor.
|
|
2118
|
+
*/
|
|
2119
|
+
export interface $RichTextEditorFontFamilySettings extends $ElementSettings {
|
|
2120
|
+
/**
|
|
2121
|
+
* Used to identify the font in the editor. Names should be unique and descriptive.
|
|
2122
|
+
*/
|
|
2123
|
+
name?: string | PropertyBindingInfo;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* The text displayed in the font family dropdown.
|
|
2127
|
+
*/
|
|
2128
|
+
text?: string | PropertyBindingInfo;
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* The value of the font family. CSS font-family value that will be applied to the text.
|
|
2132
|
+
*/
|
|
2133
|
+
value?: string | PropertyBindingInfo;
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* Used to load the font. The URL should point to a CSS file that defines the font-face.
|
|
2137
|
+
*/
|
|
2138
|
+
url?: URI | PropertyBindingInfo | `{${string}}`;
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
|
|
1844
2142
|
declare namespace sap {
|
|
1845
2143
|
interface IUI5DefineDependencyNames {
|
|
1846
2144
|
"sap/ui/richtexteditor/library": undefined;
|
|
1847
2145
|
|
|
1848
2146
|
"sap/ui/richtexteditor/RichTextEditor": undefined;
|
|
2147
|
+
|
|
2148
|
+
"sap/ui/richtexteditor/RichTextEditorFontFamily": undefined;
|
|
1849
2149
|
}
|
|
1850
2150
|
}
|
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/table/library" {
|
|
4
4
|
import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
|
|
@@ -619,9 +619,11 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
619
619
|
import Event from "sap/ui/base/Event";
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
|
-
* Table that handles analytical OData back-end scenarios. The `AnalyticalTable` only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding }
|
|
622
|
+
* Table that handles analytical OData V2 back-end scenarios. The `AnalyticalTable` only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding }
|
|
623
623
|
* and correctly annotated OData services. Please check out the functionality of analytical binding and
|
|
624
|
-
* the SAP Annotations for OData Version 2.0 documentation for further details.
|
|
624
|
+
* the SAP Annotations for OData Version 2.0 documentation for further details. For an analytical-table-like
|
|
625
|
+
* behavior with OData V4 services, use the {@link sap.ui.table.Table Table} control with the {@link sap.ui.table.plugins.ODataV4Aggregation ODataV4Aggregation }
|
|
626
|
+
* plugin.
|
|
625
627
|
*/
|
|
626
628
|
export default class AnalyticalTable extends Table {
|
|
627
629
|
/**
|
|
@@ -632,6 +634,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
632
634
|
* of the syntax of the settings object.
|
|
633
635
|
* See:
|
|
634
636
|
* https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
637
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
635
638
|
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
636
639
|
* {@link fiori:/analytical-table-alv/ Analytical Table}
|
|
637
640
|
*/
|
|
@@ -649,6 +652,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
649
652
|
* of the syntax of the settings object.
|
|
650
653
|
* See:
|
|
651
654
|
* https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
655
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
652
656
|
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
653
657
|
* {@link fiori:/analytical-table-alv/ Analytical Table}
|
|
654
658
|
*/
|
|
@@ -3584,6 +3588,10 @@ declare module "sap/ui/table/plugins/ODataV4Aggregation" {
|
|
|
3584
3588
|
*
|
|
3585
3589
|
* For details about data aggregation, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}.
|
|
3586
3590
|
*
|
|
3591
|
+
* In combination with the {@link sap.ui.table.Table Table} control, this plugin offers a UI for OData V4
|
|
3592
|
+
* that is similar to the one the {@link sap.ui.table.AnalyticalTable AnalyticalTable} offers for OData
|
|
3593
|
+
* V2.
|
|
3594
|
+
*
|
|
3587
3595
|
* @since 1.140
|
|
3588
3596
|
*/
|
|
3589
3597
|
export default class ODataV4Aggregation extends UI5Element {
|
|
@@ -3748,6 +3756,9 @@ declare module "sap/ui/table/plugins/ODataV4Hierarchy" {
|
|
|
3748
3756
|
*
|
|
3749
3757
|
* For details about hierarchies, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}.
|
|
3750
3758
|
*
|
|
3759
|
+
* In combination with the {@link sap.ui.table.Table Table} control, this plugin offers a UI for OData V4
|
|
3760
|
+
* that is similar to the one the {@link sap.ui.table.TreeTable TreeTable} offers for other models.
|
|
3761
|
+
*
|
|
3751
3762
|
* @since 1.140
|
|
3752
3763
|
*/
|
|
3753
3764
|
export default class ODataV4Hierarchy extends UI5Element {
|
|
@@ -11231,7 +11242,10 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
11231
11242
|
import Event from "sap/ui/base/Event";
|
|
11232
11243
|
|
|
11233
11244
|
/**
|
|
11234
|
-
* The TreeTable control provides a comprehensive set of features to display hierarchical data.
|
|
11245
|
+
* The TreeTable control provides a comprehensive set of features to display hierarchical data. The control
|
|
11246
|
+
* can be used in combination with {@link sap.ui.model.json.JSONModel JSONModel} and {@link sap.ui.model.odata.v2.ODataModel ODataModel V2}.
|
|
11247
|
+
* For a tree-table-like behavior with OData V4 services, use the {@link sap.ui.table.Table Table} control
|
|
11248
|
+
* with the {@link sap.ui.table.plugins.ODataV4Hierarchy ODataV4Hierarchy} plugin.
|
|
11235
11249
|
*/
|
|
11236
11250
|
export default class TreeTable extends Table {
|
|
11237
11251
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/unified/library" {
|
|
4
4
|
/**
|
|
@@ -7657,9 +7657,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7657
7657
|
$DateTypeRangeSettings,
|
|
7658
7658
|
} from "sap/ui/unified/DateTypeRange";
|
|
7659
7659
|
|
|
7660
|
-
import
|
|
7660
|
+
import { ID, CSSColor, URI } from "sap/ui/core/library";
|
|
7661
7661
|
|
|
7662
|
-
import
|
|
7662
|
+
import Control from "sap/ui/core/Control";
|
|
7663
7663
|
|
|
7664
7664
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
7665
7665
|
|
|
@@ -7739,6 +7739,18 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7739
7739
|
* @returns Metadata object describing this class
|
|
7740
7740
|
*/
|
|
7741
7741
|
static getMetadata(): ElementMetadata;
|
|
7742
|
+
/**
|
|
7743
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7744
|
+
*
|
|
7745
|
+
*
|
|
7746
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7747
|
+
*/
|
|
7748
|
+
addAriaLabelledBy(
|
|
7749
|
+
/**
|
|
7750
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
7751
|
+
*/
|
|
7752
|
+
vAriaLabelledBy: ID | Control
|
|
7753
|
+
): this;
|
|
7742
7754
|
/**
|
|
7743
7755
|
* Adds some customContent to the aggregation {@link #getCustomContent customContent}.
|
|
7744
7756
|
*
|
|
@@ -7760,6 +7772,10 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7760
7772
|
* @returns Reference to `this` in order to allow method chaining
|
|
7761
7773
|
*/
|
|
7762
7774
|
destroyCustomContent(): this;
|
|
7775
|
+
/**
|
|
7776
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7777
|
+
*/
|
|
7778
|
+
getAriaLabelledBy(): ID[];
|
|
7763
7779
|
/**
|
|
7764
7780
|
* Gets current value of property {@link #getColor color}.
|
|
7765
7781
|
*
|
|
@@ -7785,6 +7801,12 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7785
7801
|
* - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
|
|
7786
7802
|
* and may lead to unpredictable results.
|
|
7787
7803
|
*
|
|
7804
|
+
* **Note:** When using the `customContent` aggregation, it is the application developer's responsibility
|
|
7805
|
+
* to add appropriate labels to the `ariaLabelledBy` association to provide accessible information about
|
|
7806
|
+
* this appointment as the standard properties (`title`, `text`, `description`, and `icon`) are ignored,
|
|
7807
|
+
* which means screen readers will have no information about the appointment unless proper ARIA labeling
|
|
7808
|
+
* is implemented.
|
|
7809
|
+
*
|
|
7788
7810
|
* @since 1.93.0
|
|
7789
7811
|
*/
|
|
7790
7812
|
getCustomContent(): Control[];
|
|
@@ -7891,6 +7913,13 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7891
7913
|
*/
|
|
7892
7914
|
iIndex: int
|
|
7893
7915
|
): this;
|
|
7916
|
+
/**
|
|
7917
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7918
|
+
*
|
|
7919
|
+
*
|
|
7920
|
+
* @returns An array of the removed elements (might be empty)
|
|
7921
|
+
*/
|
|
7922
|
+
removeAllAriaLabelledBy(): ID[];
|
|
7894
7923
|
/**
|
|
7895
7924
|
* Removes all the controls from the aggregation {@link #getCustomContent customContent}.
|
|
7896
7925
|
*
|
|
@@ -7901,6 +7930,18 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
7901
7930
|
* @returns An array of the removed elements (might be empty)
|
|
7902
7931
|
*/
|
|
7903
7932
|
removeAllCustomContent(): Control[];
|
|
7933
|
+
/**
|
|
7934
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7935
|
+
*
|
|
7936
|
+
*
|
|
7937
|
+
* @returns The removed ariaLabelledBy or `null`
|
|
7938
|
+
*/
|
|
7939
|
+
removeAriaLabelledBy(
|
|
7940
|
+
/**
|
|
7941
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
7942
|
+
*/
|
|
7943
|
+
vAriaLabelledBy: int | ID | Control
|
|
7944
|
+
): ID | null;
|
|
7904
7945
|
/**
|
|
7905
7946
|
* Removes a customContent from the aggregation {@link #getCustomContent customContent}.
|
|
7906
7947
|
*
|
|
@@ -8115,6 +8156,12 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
8115
8156
|
* - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
|
|
8116
8157
|
* and may lead to unpredictable results.
|
|
8117
8158
|
*
|
|
8159
|
+
* **Note:** When using the `customContent` aggregation, it is the application developer's responsibility
|
|
8160
|
+
* to add appropriate labels to the `ariaLabelledBy` association to provide accessible information about
|
|
8161
|
+
* this appointment as the standard properties (`title`, `text`, `description`, and `icon`) are ignored,
|
|
8162
|
+
* which means screen readers will have no information about the appointment unless proper ARIA labeling
|
|
8163
|
+
* is implemented.
|
|
8164
|
+
*
|
|
8118
8165
|
* @since 1.93.0
|
|
8119
8166
|
*/
|
|
8120
8167
|
customContent?:
|
|
@@ -8122,6 +8169,11 @@ declare module "sap/ui/unified/CalendarAppointment" {
|
|
|
8122
8169
|
| Control
|
|
8123
8170
|
| AggregationBindingInfo
|
|
8124
8171
|
| `{${string}}`;
|
|
8172
|
+
|
|
8173
|
+
/**
|
|
8174
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy).
|
|
8175
|
+
*/
|
|
8176
|
+
ariaLabelledBy?: Array<Control | string>;
|
|
8125
8177
|
}
|
|
8126
8178
|
}
|
|
8127
8179
|
|
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.ui.vbm.d.ts
CHANGED