@sapui5/ts-types 1.153.0 → 1.154.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/index.d.ts +1 -0
- 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 +90 -45
- package/types/sap.f.d.ts +1 -1
- 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 +25 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +24 -11
- package/types/sap.fe.navigation.d.ts +1 -1
- 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 +33 -12
- 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 +1 -1
- package/types/sap.html.d.ts +1495 -0
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +1120 -12
- 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 +1 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +28 -28
- 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 +41 -5
- package/types/sap.ui.core.d.ts +740 -134
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.joule.frontend.d.ts +4 -296
- package/types/sap.ui.layout.d.ts +14 -7
- package/types/sap.ui.mdc.d.ts +83 -18
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- 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 +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- 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 +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +3 -3
- package/types/sap.ushell_abap.d.ts +3 -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
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.154.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -2614,6 +2614,204 @@ declare module "sap/base/security/URLListValidator" {
|
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
2616
2616
|
declare module "sap/base/security/URLWhitelist" {
|
|
2617
|
+
/**
|
|
2618
|
+
* Registry to manage allowed URLs and validate against them.
|
|
2619
|
+
*
|
|
2620
|
+
* @since 1.58
|
|
2621
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator} instead. SAP strives
|
|
2622
|
+
* to replace insensitive terms with inclusive language. Since APIs cannot be renamed or immediately removed
|
|
2623
|
+
* for compatibility reasons, this API has been deprecated.
|
|
2624
|
+
*/
|
|
2625
|
+
interface URLWhitelist {
|
|
2626
|
+
/**
|
|
2627
|
+
* Adds an entry.
|
|
2628
|
+
*
|
|
2629
|
+
* Note: Adding the first entry to the list of allowed entries will disallow all URLs but the ones matching
|
|
2630
|
+
* the newly added entry.
|
|
2631
|
+
*
|
|
2632
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator.add} instead.
|
|
2633
|
+
*/
|
|
2634
|
+
add(
|
|
2635
|
+
/**
|
|
2636
|
+
* The protocol of the URL
|
|
2637
|
+
*/
|
|
2638
|
+
protocol: string,
|
|
2639
|
+
/**
|
|
2640
|
+
* The host of the URL
|
|
2641
|
+
*/
|
|
2642
|
+
host: string,
|
|
2643
|
+
/**
|
|
2644
|
+
* The port of the URL
|
|
2645
|
+
*/
|
|
2646
|
+
port: string,
|
|
2647
|
+
/**
|
|
2648
|
+
* the path of the URL
|
|
2649
|
+
*/
|
|
2650
|
+
path: string
|
|
2651
|
+
): void;
|
|
2652
|
+
/**
|
|
2653
|
+
* Clears the entries in the list.
|
|
2654
|
+
*
|
|
2655
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator.clear} instead.
|
|
2656
|
+
*/
|
|
2657
|
+
clear(): void;
|
|
2658
|
+
/**
|
|
2659
|
+
* Deletes an entry from the list.
|
|
2660
|
+
*
|
|
2661
|
+
* Note: Deleting the last entry from the list of allowed entries will allow all URLs.
|
|
2662
|
+
*
|
|
2663
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator.clear} and {@link module:sap/base/security/URLListValidator.add }
|
|
2664
|
+
* instead.
|
|
2665
|
+
*/
|
|
2666
|
+
delete(
|
|
2667
|
+
/**
|
|
2668
|
+
* The entry to be deleted
|
|
2669
|
+
*/
|
|
2670
|
+
oEntry: Entry
|
|
2671
|
+
): void;
|
|
2672
|
+
/**
|
|
2673
|
+
* Gets the list of allowed entries.
|
|
2674
|
+
*
|
|
2675
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator.entries} instead.
|
|
2676
|
+
*
|
|
2677
|
+
* @returns The allowed entries
|
|
2678
|
+
*/
|
|
2679
|
+
entries(): Entry[];
|
|
2680
|
+
/**
|
|
2681
|
+
* Validates a URL. Check if it's not a script or other security issue.
|
|
2682
|
+
*
|
|
2683
|
+
* Split URL into components and check for allowed characters according to RFC 3986:
|
|
2684
|
+
*
|
|
2685
|
+
*
|
|
2686
|
+
* ```javascript
|
|
2687
|
+
*
|
|
2688
|
+
* authority = [ userinfo "@" ] host [ ":" port ]
|
|
2689
|
+
* userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
|
|
2690
|
+
* host = IP-literal / IPv4address / reg-name
|
|
2691
|
+
*
|
|
2692
|
+
* IP-literal = "[" ( IPv6address / IPvFuture ) "]"
|
|
2693
|
+
* IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
|
|
2694
|
+
* IPv6address = 6( h16 ":" ) ls32
|
|
2695
|
+
* / "::" 5( h16 ":" ) ls32
|
|
2696
|
+
* / [ h16 ] "::" 4( h16 ":" ) ls32
|
|
2697
|
+
* / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32
|
|
2698
|
+
* / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32
|
|
2699
|
+
* / [ *3( h16 ":" ) h16 ] "::" h16 ":" ls32
|
|
2700
|
+
* / [ *4( h16 ":" ) h16 ] "::" ls32
|
|
2701
|
+
* / [ *5( h16 ":" ) h16 ] "::" h16
|
|
2702
|
+
* / [ *6( h16 ":" ) h16 ] "::"
|
|
2703
|
+
* ls32 = ( h16 ":" h16 ) / IPv4address
|
|
2704
|
+
* ; least-significant 32 bits of address
|
|
2705
|
+
* h16 = 1*4HEXDIG
|
|
2706
|
+
* ; 16 bits of address represented in hexadecimal
|
|
2707
|
+
*
|
|
2708
|
+
* IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet
|
|
2709
|
+
* dec-octet = DIGIT ; 0-9
|
|
2710
|
+
* / %x31-39 DIGIT ; 10-99
|
|
2711
|
+
* / "1" 2DIGIT ; 100-199
|
|
2712
|
+
* / "2" %x30-34 DIGIT ; 200-249
|
|
2713
|
+
* / "25" %x30-35 ; 250-255
|
|
2714
|
+
*
|
|
2715
|
+
* reg-name = *( unreserved / pct-encoded / sub-delims )
|
|
2716
|
+
*
|
|
2717
|
+
* pct-encoded = "%" HEXDIG HEXDIG
|
|
2718
|
+
* reserved = gen-delims / sub-delims
|
|
2719
|
+
* gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
|
|
2720
|
+
* sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
|
|
2721
|
+
* / "*" / "+" / "," / ";" / "="
|
|
2722
|
+
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
|
2723
|
+
* pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
|
2724
|
+
*
|
|
2725
|
+
* path = path-abempty ; begins with "/" or is empty
|
|
2726
|
+
* / path-absolute ; begins with "/" but not "//"
|
|
2727
|
+
* / path-noscheme ; begins with a non-colon segment
|
|
2728
|
+
* / path-rootless ; begins with a segment
|
|
2729
|
+
* / path-empty ; zero characters
|
|
2730
|
+
*
|
|
2731
|
+
* path-abempty = *( "/" segment )
|
|
2732
|
+
* path-absolute = "/" [ segment-nz *( "/" segment ) ]
|
|
2733
|
+
* path-noscheme = segment-nz-nc *( "/" segment )
|
|
2734
|
+
* path-rootless = segment-nz *( "/" segment )
|
|
2735
|
+
* path-empty = 0
|
|
2736
|
+
* segment = *pchar
|
|
2737
|
+
* segment-nz = 1*pchar
|
|
2738
|
+
* segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
|
|
2739
|
+
* ; non-zero-length segment without any colon ":"
|
|
2740
|
+
*
|
|
2741
|
+
* query = *( pchar / "/" / "?" )
|
|
2742
|
+
*
|
|
2743
|
+
* fragment = *( pchar / "/" / "?" )
|
|
2744
|
+
* ```
|
|
2745
|
+
*
|
|
2746
|
+
*
|
|
2747
|
+
* For the hostname component, we are checking for valid DNS hostnames according to RFC 952 / RFC 1123:
|
|
2748
|
+
*
|
|
2749
|
+
*
|
|
2750
|
+
* ```javascript
|
|
2751
|
+
*
|
|
2752
|
+
* hname = name *("." name)
|
|
2753
|
+
* name = let-or-digit ( *( let-or-digit-or-hyphen ) let-or-digit )
|
|
2754
|
+
* ```
|
|
2755
|
+
*
|
|
2756
|
+
*
|
|
2757
|
+
* When the URI uses the protocol 'mailto:', the address part is additionally checked against the most commonly
|
|
2758
|
+
* used parts of RFC 6068:
|
|
2759
|
+
*
|
|
2760
|
+
*
|
|
2761
|
+
* ```javascript
|
|
2762
|
+
*
|
|
2763
|
+
* mailtoURI = "mailto:" [ to ] [ hfields ]
|
|
2764
|
+
* to = addr-spec *("," addr-spec )
|
|
2765
|
+
* hfields = "?" hfield *( "&" hfield )
|
|
2766
|
+
* hfield = hfname "=" hfvalue
|
|
2767
|
+
* hfname = *qchar
|
|
2768
|
+
* hfvalue = *qchar
|
|
2769
|
+
* addr-spec = local-part "@" domain
|
|
2770
|
+
* local-part = dot-atom-text // not accepted: quoted-string
|
|
2771
|
+
* domain = dot-atom-text // not accepted: "[" *dtext-no-obs "]"
|
|
2772
|
+
* dtext-no-obs = %d33-90 / ; Printable US-ASCII
|
|
2773
|
+
* %d94-126 ; characters not including
|
|
2774
|
+
* ; "[", "]", or "\"
|
|
2775
|
+
* qchar = unreserved / pct-encoded / some-delims
|
|
2776
|
+
* some-delims = "!" / "$" / "'" / "(" / ")" / "*"
|
|
2777
|
+
* / "+" / "," / ";" / ":" / "@"
|
|
2778
|
+
*
|
|
2779
|
+
* Note:
|
|
2780
|
+
* A number of characters that can appear in <addr-spec> MUST be
|
|
2781
|
+
* percent-encoded. These are the characters that cannot appear in
|
|
2782
|
+
* a URI according to [STD66] as well as "%" (because it is used for
|
|
2783
|
+
* percent-encoding) and all the characters in gen-delims except "@"
|
|
2784
|
+
* and ":" (i.e., "/", "?", "#", "[", and "]"). Of the characters
|
|
2785
|
+
* in sub-delims, at least the following also have to be percent-
|
|
2786
|
+
* encoded: "&", ";", and "=". Care has to be taken both when
|
|
2787
|
+
* encoding as well as when decoding to make sure these operations
|
|
2788
|
+
* are applied only once.
|
|
2789
|
+
*
|
|
2790
|
+
* ```
|
|
2791
|
+
*
|
|
2792
|
+
*
|
|
2793
|
+
* When an allowlist has been configured using {@link #add} and {@link #delete}, any URL that passes the
|
|
2794
|
+
* syntactic checks above, additionally will be tested against the content of the allowlist.
|
|
2795
|
+
*
|
|
2796
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator.validate} instead
|
|
2797
|
+
*
|
|
2798
|
+
* @returns true if valid, false if not valid
|
|
2799
|
+
*/
|
|
2800
|
+
validate(
|
|
2801
|
+
/**
|
|
2802
|
+
* URL to be validated
|
|
2803
|
+
*/
|
|
2804
|
+
sUrl: string
|
|
2805
|
+
): boolean;
|
|
2806
|
+
}
|
|
2807
|
+
const URLWhitelist: URLWhitelist;
|
|
2808
|
+
/**
|
|
2809
|
+
* @deprecated As of version 1.85. use {@link module:sap/base/security/URLListValidator} instead. SAP strives
|
|
2810
|
+
* to replace insensitive terms with inclusive language. Since APIs cannot be renamed or immediately removed
|
|
2811
|
+
* for compatibility reasons, this API has been deprecated.
|
|
2812
|
+
*/
|
|
2813
|
+
export default URLWhitelist;
|
|
2814
|
+
|
|
2617
2815
|
/**
|
|
2618
2816
|
* Entry object of the URLWhitelist.
|
|
2619
2817
|
*
|
|
@@ -3653,87 +3851,6 @@ declare module "sap/base/util/Version" {
|
|
|
3653
3851
|
}
|
|
3654
3852
|
}
|
|
3655
3853
|
|
|
3656
|
-
declare module "sap/ui/util/XMLHelper" {
|
|
3657
|
-
/**
|
|
3658
|
-
* Error information as provided by the `DOMParser`.
|
|
3659
|
-
*
|
|
3660
|
-
* Note that the set of properties with meaningful content differs between browsers.
|
|
3661
|
-
*/
|
|
3662
|
-
export type XMLParseErrorInfo = {
|
|
3663
|
-
errorCode?: int;
|
|
3664
|
-
|
|
3665
|
-
url?: sap.ui.core.URI;
|
|
3666
|
-
|
|
3667
|
-
reason?: string;
|
|
3668
|
-
|
|
3669
|
-
srcText?: string;
|
|
3670
|
-
|
|
3671
|
-
line?: int;
|
|
3672
|
-
|
|
3673
|
-
linepos?: int;
|
|
3674
|
-
|
|
3675
|
-
filepos?: int;
|
|
3676
|
-
|
|
3677
|
-
type?: "error" | "warning";
|
|
3678
|
-
};
|
|
3679
|
-
|
|
3680
|
-
/**
|
|
3681
|
-
* Provides functionality for parsing XML formatted strings and serializing XML documents.
|
|
3682
|
-
*
|
|
3683
|
-
* @since 1.58
|
|
3684
|
-
*/
|
|
3685
|
-
interface XMLHelper {
|
|
3686
|
-
/**
|
|
3687
|
-
* Extracts parse error information from the specified document (if any).
|
|
3688
|
-
*
|
|
3689
|
-
* If an error was found, the returned object contains a browser-specific subset of the properties described
|
|
3690
|
-
* in {@link module:sap/base/util/XMLHelper.XMLParseErrorInfo XMLParseErrorInfo}. Otherwise, it just contains
|
|
3691
|
-
* an `errorCode` property with value 0.
|
|
3692
|
-
*
|
|
3693
|
-
*
|
|
3694
|
-
* @returns A browser-specific error info object if errors were found, or an object with an errorCode
|
|
3695
|
-
* of 0 only
|
|
3696
|
-
*/
|
|
3697
|
-
getParseError(
|
|
3698
|
-
/**
|
|
3699
|
-
* The parsed XML document
|
|
3700
|
-
*/
|
|
3701
|
-
oDocument: XMLDocument
|
|
3702
|
-
): XMLParseErrorInfo;
|
|
3703
|
-
/**
|
|
3704
|
-
* Parses the specified XML string into an XML document, using the native parsing functionality of the browser.
|
|
3705
|
-
* If an error occurs during parsing, a {@link module:sap/base/util/XMLHelper.XMLParseErrorInfo parse error info object }
|
|
3706
|
-
* is attached as the `parseError` property of the returned document.
|
|
3707
|
-
*
|
|
3708
|
-
*
|
|
3709
|
-
* @returns the parsed XML document with a `parseError` property as described in {@link #getParseError}.
|
|
3710
|
-
* An error occurred if the `errorCode` property of the `parseError` is not 0.
|
|
3711
|
-
*/
|
|
3712
|
-
parse(
|
|
3713
|
-
/**
|
|
3714
|
-
* An XML string
|
|
3715
|
-
*/
|
|
3716
|
-
sXMLText: string
|
|
3717
|
-
): XMLDocument;
|
|
3718
|
-
/**
|
|
3719
|
-
* Serializes the specified DOM tree into a string representation.
|
|
3720
|
-
* See:
|
|
3721
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/serializeToString}
|
|
3722
|
-
*
|
|
3723
|
-
*
|
|
3724
|
-
* @returns the serialized XML string
|
|
3725
|
-
*/
|
|
3726
|
-
serialize(
|
|
3727
|
-
/**
|
|
3728
|
-
* the XML document object to be serialized as string
|
|
3729
|
-
*/
|
|
3730
|
-
oXMLDocument: Node | Attr
|
|
3731
|
-
): string;
|
|
3732
|
-
}
|
|
3733
|
-
const XMLHelper: XMLHelper;
|
|
3734
|
-
export default XMLHelper;
|
|
3735
|
-
}
|
|
3736
|
-
|
|
3737
3854
|
declare module "sap/ui/core/AnimationMode" {
|
|
3738
3855
|
/**
|
|
3739
3856
|
* Enumerable list with available animation modes.
|
|
@@ -7504,6 +7621,13 @@ declare module "sap/ui/test/opaQunit" {
|
|
|
7504
7621
|
}
|
|
7505
7622
|
|
|
7506
7623
|
declare module "sap/ui/test/starter/config" {
|
|
7624
|
+
/**
|
|
7625
|
+
* Namespace containing test starter configuration types.
|
|
7626
|
+
*/
|
|
7627
|
+
interface config {}
|
|
7628
|
+
const config: config;
|
|
7629
|
+
export default config;
|
|
7630
|
+
|
|
7507
7631
|
/**
|
|
7508
7632
|
* Code coverage options.
|
|
7509
7633
|
*
|
|
@@ -8441,6 +8565,87 @@ declare module "sap/ui/util/Storage" {
|
|
|
8441
8565
|
}
|
|
8442
8566
|
}
|
|
8443
8567
|
|
|
8568
|
+
declare module "sap/ui/util/XMLHelper" {
|
|
8569
|
+
/**
|
|
8570
|
+
* Provides functionality for parsing XML formatted strings and serializing XML documents.
|
|
8571
|
+
*
|
|
8572
|
+
* @since 1.58
|
|
8573
|
+
*/
|
|
8574
|
+
interface XMLHelper {
|
|
8575
|
+
/**
|
|
8576
|
+
* Extracts parse error information from the specified document (if any).
|
|
8577
|
+
*
|
|
8578
|
+
* If an error was found, the returned object contains a browser-specific subset of the properties described
|
|
8579
|
+
* in {@link module:sap/base/util/XMLHelper.XMLParseErrorInfo XMLParseErrorInfo}. Otherwise, it just contains
|
|
8580
|
+
* an `errorCode` property with value 0.
|
|
8581
|
+
*
|
|
8582
|
+
*
|
|
8583
|
+
* @returns A browser-specific error info object if errors were found, or an object with an errorCode
|
|
8584
|
+
* of 0 only
|
|
8585
|
+
*/
|
|
8586
|
+
getParseError(
|
|
8587
|
+
/**
|
|
8588
|
+
* The parsed XML document
|
|
8589
|
+
*/
|
|
8590
|
+
oDocument: XMLDocument
|
|
8591
|
+
): XMLParseErrorInfo;
|
|
8592
|
+
/**
|
|
8593
|
+
* Parses the specified XML string into an XML document, using the native parsing functionality of the browser.
|
|
8594
|
+
* If an error occurs during parsing, a {@link module:sap/ui/util/XMLHelper.XMLParseErrorInfo parse error info object }
|
|
8595
|
+
* is attached as the `parseError` property of the returned document.
|
|
8596
|
+
*
|
|
8597
|
+
*
|
|
8598
|
+
* @returns the parsed XML document with a `parseError` property as described in {@link #getParseError}.
|
|
8599
|
+
* An error occurred if the `errorCode` property of the `parseError` is not 0.
|
|
8600
|
+
*/
|
|
8601
|
+
parse(
|
|
8602
|
+
/**
|
|
8603
|
+
* An XML string
|
|
8604
|
+
*/
|
|
8605
|
+
sXMLText: string
|
|
8606
|
+
): XMLDocument;
|
|
8607
|
+
/**
|
|
8608
|
+
* Serializes the specified DOM tree into a string representation.
|
|
8609
|
+
* See:
|
|
8610
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer/serializeToString}
|
|
8611
|
+
*
|
|
8612
|
+
*
|
|
8613
|
+
* @returns the serialized XML string
|
|
8614
|
+
*/
|
|
8615
|
+
serialize(
|
|
8616
|
+
/**
|
|
8617
|
+
* the XML document object to be serialized as string
|
|
8618
|
+
*/
|
|
8619
|
+
oXMLDocument: Node | Attr
|
|
8620
|
+
): string;
|
|
8621
|
+
}
|
|
8622
|
+
const XMLHelper: XMLHelper;
|
|
8623
|
+
export default XMLHelper;
|
|
8624
|
+
|
|
8625
|
+
/**
|
|
8626
|
+
* Error information as provided by the `DOMParser`.
|
|
8627
|
+
*
|
|
8628
|
+
* Note that the set of properties with meaningful content differs between browsers.
|
|
8629
|
+
*/
|
|
8630
|
+
export type XMLParseErrorInfo = {
|
|
8631
|
+
errorCode?: int;
|
|
8632
|
+
|
|
8633
|
+
url?: sap.ui.core.URI;
|
|
8634
|
+
|
|
8635
|
+
reason?: string;
|
|
8636
|
+
|
|
8637
|
+
srcText?: string;
|
|
8638
|
+
|
|
8639
|
+
line?: int;
|
|
8640
|
+
|
|
8641
|
+
linepos?: int;
|
|
8642
|
+
|
|
8643
|
+
filepos?: int;
|
|
8644
|
+
|
|
8645
|
+
type?: "error" | "warning";
|
|
8646
|
+
};
|
|
8647
|
+
}
|
|
8648
|
+
|
|
8444
8649
|
declare module "sap/ui/VersionInfo" {
|
|
8445
8650
|
/**
|
|
8446
8651
|
* @since 1.56.0
|
|
@@ -24729,6 +24934,406 @@ declare namespace sap {
|
|
|
24729
24934
|
};
|
|
24730
24935
|
}
|
|
24731
24936
|
|
|
24937
|
+
namespace html {
|
|
24938
|
+
namespace HTMLElement {
|
|
24939
|
+
namespace MetadataOptions {
|
|
24940
|
+
namespace Association {
|
|
24941
|
+
/**
|
|
24942
|
+
* An object literal describing the mapping of an association as property of a class derived from `sap.ui.core.html.HTMLElement`.
|
|
24943
|
+
*/
|
|
24944
|
+
type Mapping = {
|
|
24945
|
+
/**
|
|
24946
|
+
* Defines the mapping of the association which defaults to "property". Associations are forwarded to the
|
|
24947
|
+
* corresponding mutator of the HTMLElement.
|
|
24948
|
+
*/
|
|
24949
|
+
type?: "property";
|
|
24950
|
+
/**
|
|
24951
|
+
* Defines the target of the mapping of the association to which property it will be mapped to.
|
|
24952
|
+
*/
|
|
24953
|
+
to?: string;
|
|
24954
|
+
/**
|
|
24955
|
+
* Defines the name of the formatter function on the HTMLElement instance to format the value before its
|
|
24956
|
+
* being mapped.
|
|
24957
|
+
*/
|
|
24958
|
+
formatter?: string;
|
|
24959
|
+
};
|
|
24960
|
+
}
|
|
24961
|
+
|
|
24962
|
+
namespace Property {
|
|
24963
|
+
/**
|
|
24964
|
+
* An object literal describing the mapping of a property of a class derived from `sap.ui.core.html.HTMLElement`.
|
|
24965
|
+
*/
|
|
24966
|
+
type Mapping = {
|
|
24967
|
+
/**
|
|
24968
|
+
* Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
|
|
24969
|
+
* The default mapping of a property is "property" which either renders the value of the property into an
|
|
24970
|
+
* attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
|
|
24971
|
+
*/
|
|
24972
|
+
type?: "property" | "style" | "textContent" | "slot" | "none";
|
|
24973
|
+
/**
|
|
24974
|
+
* Defines the target of the mapping of the property (e.g. the name of the attribute/property).
|
|
24975
|
+
*/
|
|
24976
|
+
to?: string;
|
|
24977
|
+
/**
|
|
24978
|
+
* Defines the name of the formatter function on the HTMLElement instance to format the value before its
|
|
24979
|
+
* being mapped.
|
|
24980
|
+
*/
|
|
24981
|
+
formatter?: string;
|
|
24982
|
+
};
|
|
24983
|
+
}
|
|
24984
|
+
|
|
24985
|
+
/**
|
|
24986
|
+
* An object literal describing a property of a class derived from `sap.ui.core.html.HTMLElement`. See {@link sap.ui.core.html.HTMLElement.MetadataOptions MetadataOptions }
|
|
24987
|
+
* for details on its usage.
|
|
24988
|
+
*/
|
|
24989
|
+
type Aggregation =
|
|
24990
|
+
sap.ui.base.ManagedObject.MetadataOptions.Aggregation & {
|
|
24991
|
+
/**
|
|
24992
|
+
* Flag that marks the property as deprecated (defaults to false). May lead to an additional warning log
|
|
24993
|
+
* message at runtime when the property is still used. For the documentation, also add a `@deprecated` tag
|
|
24994
|
+
* in the JSDoc, describing since when it is deprecated and what any alternatives are.
|
|
24995
|
+
*/
|
|
24996
|
+
slot?: string;
|
|
24997
|
+
};
|
|
24998
|
+
|
|
24999
|
+
/**
|
|
25000
|
+
* An object literal describing an association of a class derived from `sap.ui.core.html.HTMLElement`. See
|
|
25001
|
+
* {@link sap.ui.core.html.HTMLElement.MetadataOptions MetadataOptions} for details on its usage.
|
|
25002
|
+
*/
|
|
25003
|
+
type Association =
|
|
25004
|
+
sap.ui.base.ManagedObject.MetadataOptions.Association & {
|
|
25005
|
+
/**
|
|
25006
|
+
* Defines the mapping of the association which defaults to "property". Associations are forwarded to the
|
|
25007
|
+
* corresponding mutator of the HTMLElement.
|
|
25008
|
+
*/
|
|
25009
|
+
mapping?:
|
|
25010
|
+
| "property"
|
|
25011
|
+
| sap.ui.core.html.HTMLElement.MetadataOptions.Association.Mapping;
|
|
25012
|
+
};
|
|
25013
|
+
|
|
25014
|
+
/**
|
|
25015
|
+
* An object literal describing a property of a class derived from `sap.ui.core.html.HTMLElement`. See {@link sap.ui.core.html.HTMLElement.MetadataOptions MetadataOptions }
|
|
25016
|
+
* for details on its usage.
|
|
25017
|
+
*/
|
|
25018
|
+
type Property =
|
|
25019
|
+
sap.ui.base.ManagedObject.MetadataOptions.Property & {
|
|
25020
|
+
/**
|
|
25021
|
+
* Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
|
|
25022
|
+
* The default mapping of a property is "property" which either renders the value of the property into an
|
|
25023
|
+
* attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
|
|
25024
|
+
*/
|
|
25025
|
+
mapping?:
|
|
25026
|
+
| "property"
|
|
25027
|
+
| "style"
|
|
25028
|
+
| "textContent"
|
|
25029
|
+
| "slot"
|
|
25030
|
+
| "none"
|
|
25031
|
+
| sap.ui.core.html.HTMLElement.MetadataOptions.Property.Mapping;
|
|
25032
|
+
};
|
|
25033
|
+
}
|
|
25034
|
+
|
|
25035
|
+
/**
|
|
25036
|
+
* The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Element using
|
|
25037
|
+
* its static "extend" method. See {@link sap.ui.core.Element.extend} for details on its usage.
|
|
25038
|
+
*/
|
|
25039
|
+
type MetadataOptions = sap.ui.core.Element.MetadataOptions & {
|
|
25040
|
+
/**
|
|
25041
|
+
* Tag name of the HTMLElement to be used in the renderer to render the HTML.
|
|
25042
|
+
*/
|
|
25043
|
+
tag: string;
|
|
25044
|
+
/**
|
|
25045
|
+
* An object literal whose properties each define a new managed property in the HTMLElement subclass. See
|
|
25046
|
+
* {@link sap.ui.base.ManagedObject.MetadataOptions.Property Property} for more details.
|
|
25047
|
+
*/
|
|
25048
|
+
properties?: Record<
|
|
25049
|
+
string,
|
|
25050
|
+
string | sap.ui.core.html.HTMLElement.MetadataOptions.Property
|
|
25051
|
+
>;
|
|
25052
|
+
/**
|
|
25053
|
+
* An object literal whose properties each define a new aggregation in the ManagedObject subclass. See {@link sap.ui.base.ManagedObject.MetadataOptions.Aggregation Aggregation }
|
|
25054
|
+
* for more details.
|
|
25055
|
+
*/
|
|
25056
|
+
aggregations?: Record<
|
|
25057
|
+
string,
|
|
25058
|
+
string | sap.ui.core.html.HTMLElement.MetadataOptions.Aggregation
|
|
25059
|
+
>;
|
|
25060
|
+
/**
|
|
25061
|
+
* An object literal whose properties each define a new association in the ManagedObject subclass. See {@link sap.ui.base.ManagedObject.MetadataOptions.Association Association }
|
|
25062
|
+
* for more details.
|
|
25063
|
+
*/
|
|
25064
|
+
associations?: Record<
|
|
25065
|
+
string,
|
|
25066
|
+
string | sap.ui.core.html.HTMLElement.MetadataOptions.Association
|
|
25067
|
+
>;
|
|
25068
|
+
/**
|
|
25069
|
+
* Proxied public getters of the HTMLElement which are directly accessible on the wrapper Control.
|
|
25070
|
+
*/
|
|
25071
|
+
getters?: string[];
|
|
25072
|
+
/**
|
|
25073
|
+
* Proxied public methods of the HTMLElement which are directly accessible on the wrapper Control.
|
|
25074
|
+
*/
|
|
25075
|
+
methods?: string[];
|
|
25076
|
+
};
|
|
25077
|
+
}
|
|
25078
|
+
/**
|
|
25079
|
+
* Describes the settings that can be provided to the HTMLElement constructor.
|
|
25080
|
+
*/
|
|
25081
|
+
interface $HTMLElementSettings extends sap.ui.core.$ControlSettings {
|
|
25082
|
+
/**
|
|
25083
|
+
* The text content of the HTMLElement. Natively rendered as the "textContent". Note: For void HTML elements
|
|
25084
|
+
* (e.g. `<br>`, `<input>`), this property has no effect as these elements cannot have text
|
|
25085
|
+
* content.
|
|
25086
|
+
*/
|
|
25087
|
+
text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
25088
|
+
|
|
25089
|
+
/**
|
|
25090
|
+
* Generic aggregation for child controls of HTMLElements. Every native HTMLElement can theoretically have
|
|
25091
|
+
* children.
|
|
25092
|
+
*/
|
|
25093
|
+
children?:
|
|
25094
|
+
| sap.ui.core.Control[]
|
|
25095
|
+
| sap.ui.core.Control
|
|
25096
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
25097
|
+
| `{${string}}`;
|
|
25098
|
+
}
|
|
25099
|
+
|
|
25100
|
+
/**
|
|
25101
|
+
* Base Class for HTMLElements. HTMLElements are native HTML elements which can be integrated into the UI5
|
|
25102
|
+
* programming model by using this wrapper control. This wrapper control takes care to propagate the properties,
|
|
25103
|
+
* the aggregations and the events. It also ensures to render the control and put the aggregated controls
|
|
25104
|
+
* in the dedicated slots of the HTMLElement.
|
|
25105
|
+
*
|
|
25106
|
+
* @since 1.154.0
|
|
25107
|
+
*/
|
|
25108
|
+
class HTMLElement extends sap.ui.core.Control {
|
|
25109
|
+
/**
|
|
25110
|
+
* Constructs and initializes a HTMLElement Wrapper with the given `sId` and settings.
|
|
25111
|
+
*
|
|
25112
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
25113
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
25114
|
+
* of the syntax of the settings object.
|
|
25115
|
+
*/
|
|
25116
|
+
constructor(
|
|
25117
|
+
/**
|
|
25118
|
+
* Object with initial settings for the new control
|
|
25119
|
+
*/
|
|
25120
|
+
mSettings?: sap.ui.core.html.$HTMLElementSettings
|
|
25121
|
+
);
|
|
25122
|
+
/**
|
|
25123
|
+
* Constructs and initializes a HTMLElement Wrapper with the given `sId` and settings.
|
|
25124
|
+
*
|
|
25125
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
25126
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
25127
|
+
* of the syntax of the settings object.
|
|
25128
|
+
*/
|
|
25129
|
+
constructor(
|
|
25130
|
+
/**
|
|
25131
|
+
* Optional ID for the new control; generated automatically if no non-empty ID is given Note: this can be
|
|
25132
|
+
* omitted, no matter whether `mSettings` will be given or not!
|
|
25133
|
+
*/
|
|
25134
|
+
sId?: string,
|
|
25135
|
+
/**
|
|
25136
|
+
* Object with initial settings for the new control
|
|
25137
|
+
*/
|
|
25138
|
+
mSettings?: sap.ui.core.html.$HTMLElementSettings
|
|
25139
|
+
);
|
|
25140
|
+
|
|
25141
|
+
/**
|
|
25142
|
+
* Defines a new subclass of HTMLElement with the name `sClassName` and enriches it with the information
|
|
25143
|
+
* contained in `oClassInfo`.
|
|
25144
|
+
*
|
|
25145
|
+
* **Note:** This class should not be extended manually. SAPUI5 provides a full set of predefined HTMLElements
|
|
25146
|
+
* that can be used directly! For custom Web Components, use a dedicated class that extends {@link sap.ui.core.webc.WebComponent }
|
|
25147
|
+
* instead.
|
|
25148
|
+
*
|
|
25149
|
+
* `oClassInfo` can contain the same information that {@link sap.ui.base.ManagedObject.extend} already accepts,
|
|
25150
|
+
* plus the `dnd` property in the metadata object literal to configure drag-and-drop behavior (see {@link sap.ui.core.html.HTMLElement.MetadataOptions MetadataOptions }
|
|
25151
|
+
* for details). Objects describing aggregations can also have a `dnd` property when used for a class extending
|
|
25152
|
+
* `HTMLElement` (see {@link sap.ui.base.ManagedObject.MetadataOptions.AggregationDnD AggregationDnD}).
|
|
25153
|
+
*
|
|
25154
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
25155
|
+
*
|
|
25156
|
+
* @returns Created class / constructor function
|
|
25157
|
+
*/
|
|
25158
|
+
static extend<T extends Record<string, unknown>>(
|
|
25159
|
+
/**
|
|
25160
|
+
* Name of the class to be created
|
|
25161
|
+
*/
|
|
25162
|
+
sClassName: string,
|
|
25163
|
+
/**
|
|
25164
|
+
* Object literal with information about the class
|
|
25165
|
+
*/
|
|
25166
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.core.html.HTMLElement>,
|
|
25167
|
+
/**
|
|
25168
|
+
* Constructor function for the metadata object. If not given, it defaults to `sap.ui.core.ElementMetadata`.
|
|
25169
|
+
*/
|
|
25170
|
+
FNMetaImpl?: Function
|
|
25171
|
+
): Function;
|
|
25172
|
+
/**
|
|
25173
|
+
* Returns a metadata object for class sap.ui.core.html.HTMLElement.
|
|
25174
|
+
*
|
|
25175
|
+
*
|
|
25176
|
+
* @returns Metadata object describing this class
|
|
25177
|
+
*/
|
|
25178
|
+
static getMetadata(): sap.ui.core.html.HTMLElementMetadata;
|
|
25179
|
+
/**
|
|
25180
|
+
* Adds some child to the aggregation {@link #getChildren children}.
|
|
25181
|
+
*
|
|
25182
|
+
*
|
|
25183
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25184
|
+
*/
|
|
25185
|
+
addChild(
|
|
25186
|
+
/**
|
|
25187
|
+
* The child to add; if empty, nothing is inserted
|
|
25188
|
+
*/
|
|
25189
|
+
oChild: sap.ui.core.Control
|
|
25190
|
+
): this;
|
|
25191
|
+
/**
|
|
25192
|
+
* Destroys all the children in the aggregation {@link #getChildren children}.
|
|
25193
|
+
*
|
|
25194
|
+
*
|
|
25195
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25196
|
+
*/
|
|
25197
|
+
destroyChildren(): this;
|
|
25198
|
+
/**
|
|
25199
|
+
* Gets content of aggregation {@link #getChildren children}.
|
|
25200
|
+
*
|
|
25201
|
+
* Generic aggregation for child controls of HTMLElements. Every native HTMLElement can theoretically have
|
|
25202
|
+
* children.
|
|
25203
|
+
*/
|
|
25204
|
+
getChildren(): sap.ui.core.Control[];
|
|
25205
|
+
/**
|
|
25206
|
+
* Gets current value of property {@link #getText text}.
|
|
25207
|
+
*
|
|
25208
|
+
* The text content of the HTMLElement. Natively rendered as the "textContent". Note: For void HTML elements
|
|
25209
|
+
* (e.g. `<br>`, `<input>`), this property has no effect as these elements cannot have text
|
|
25210
|
+
* content.
|
|
25211
|
+
*
|
|
25212
|
+
*
|
|
25213
|
+
* @returns Value of property `text`
|
|
25214
|
+
*/
|
|
25215
|
+
getText(): string;
|
|
25216
|
+
/**
|
|
25217
|
+
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getChildren children}. and returns
|
|
25218
|
+
* its index if found or -1 otherwise.
|
|
25219
|
+
*
|
|
25220
|
+
*
|
|
25221
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
25222
|
+
*/
|
|
25223
|
+
indexOfChild(
|
|
25224
|
+
/**
|
|
25225
|
+
* The child whose index is looked for
|
|
25226
|
+
*/
|
|
25227
|
+
oChild: sap.ui.core.Control
|
|
25228
|
+
): int;
|
|
25229
|
+
/**
|
|
25230
|
+
* Inserts a child into the aggregation {@link #getChildren children}.
|
|
25231
|
+
*
|
|
25232
|
+
*
|
|
25233
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25234
|
+
*/
|
|
25235
|
+
insertChild(
|
|
25236
|
+
/**
|
|
25237
|
+
* The child to insert; if empty, nothing is inserted
|
|
25238
|
+
*/
|
|
25239
|
+
oChild: sap.ui.core.Control,
|
|
25240
|
+
/**
|
|
25241
|
+
* The `0`-based index the child should be inserted at; for a negative value of `iIndex`, the child is inserted
|
|
25242
|
+
* at position 0; for a value greater than the current size of the aggregation, the child is inserted at
|
|
25243
|
+
* the last position
|
|
25244
|
+
*/
|
|
25245
|
+
iIndex: int
|
|
25246
|
+
): this;
|
|
25247
|
+
/**
|
|
25248
|
+
* Removes all the controls from the aggregation {@link #getChildren children}.
|
|
25249
|
+
*
|
|
25250
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
25251
|
+
*
|
|
25252
|
+
*
|
|
25253
|
+
* @returns An array of the removed elements (might be empty)
|
|
25254
|
+
*/
|
|
25255
|
+
removeAllChildren(): sap.ui.core.Control[];
|
|
25256
|
+
/**
|
|
25257
|
+
* Removes a child from the aggregation {@link #getChildren children}.
|
|
25258
|
+
*
|
|
25259
|
+
*
|
|
25260
|
+
* @returns The removed child or `null`
|
|
25261
|
+
*/
|
|
25262
|
+
removeChild(
|
|
25263
|
+
/**
|
|
25264
|
+
* The child to remove or its index or id
|
|
25265
|
+
*/
|
|
25266
|
+
vChild: int | string | sap.ui.core.Control
|
|
25267
|
+
): sap.ui.core.Control | null;
|
|
25268
|
+
/**
|
|
25269
|
+
* Sets a new value for property {@link #getText text}.
|
|
25270
|
+
*
|
|
25271
|
+
* The text content of the HTMLElement. Natively rendered as the "textContent". Note: For void HTML elements
|
|
25272
|
+
* (e.g. `<br>`, `<input>`), this property has no effect as these elements cannot have text
|
|
25273
|
+
* content.
|
|
25274
|
+
*
|
|
25275
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25276
|
+
*
|
|
25277
|
+
*
|
|
25278
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25279
|
+
*/
|
|
25280
|
+
setText(
|
|
25281
|
+
/**
|
|
25282
|
+
* New value for property `text`
|
|
25283
|
+
*/
|
|
25284
|
+
sText: string
|
|
25285
|
+
): this;
|
|
25286
|
+
}
|
|
25287
|
+
/**
|
|
25288
|
+
* @since 1.154.0
|
|
25289
|
+
*/
|
|
25290
|
+
class HTMLElementMetadata extends sap.ui.core.ElementMetadata {
|
|
25291
|
+
/**
|
|
25292
|
+
* Creates a new metadata object for a HTMLElement subclass.
|
|
25293
|
+
*/
|
|
25294
|
+
constructor(
|
|
25295
|
+
/**
|
|
25296
|
+
* fully qualified name of the class that is described by this metadata object
|
|
25297
|
+
*/
|
|
25298
|
+
sClassName: string,
|
|
25299
|
+
/**
|
|
25300
|
+
* static info to construct the metadata from
|
|
25301
|
+
*/
|
|
25302
|
+
oClassInfo: object
|
|
25303
|
+
);
|
|
25304
|
+
|
|
25305
|
+
/**
|
|
25306
|
+
* Returns the list of public getters proxied by the Component Wrapper to the component itself.
|
|
25307
|
+
*
|
|
25308
|
+
*
|
|
25309
|
+
* @returns Array of getter names.
|
|
25310
|
+
*/
|
|
25311
|
+
getGetters(): string[];
|
|
25312
|
+
/**
|
|
25313
|
+
* Returns the list of public methods proxied by the Component Wrapper to the component itself.
|
|
25314
|
+
*
|
|
25315
|
+
*
|
|
25316
|
+
* @returns Array of method names.
|
|
25317
|
+
*/
|
|
25318
|
+
getMethods(): string[];
|
|
25319
|
+
/**
|
|
25320
|
+
* Retrieves the renderer for the described HTMLElement subclasses or web component class. **Note:** HTMLElement
|
|
25321
|
+
* subclasses or Web Component wrappers must not define custom renderers. Returns the default HTMLElementRenderer.
|
|
25322
|
+
*
|
|
25323
|
+
*
|
|
25324
|
+
* @returns The default renderer instance.
|
|
25325
|
+
*/
|
|
25326
|
+
getRenderer(): object;
|
|
25327
|
+
/**
|
|
25328
|
+
* Returns the tag used to render the Component Wrapper.
|
|
25329
|
+
*
|
|
25330
|
+
*
|
|
25331
|
+
* @returns The HTML tag name.
|
|
25332
|
+
*/
|
|
25333
|
+
getTag(): string;
|
|
25334
|
+
}
|
|
25335
|
+
}
|
|
25336
|
+
|
|
24732
25337
|
namespace hyphenation {
|
|
24733
25338
|
/**
|
|
24734
25339
|
* Describes the settings that can be provided to the Hyphenation constructor.
|
|
@@ -32959,7 +33564,7 @@ declare namespace sap {
|
|
|
32959
33564
|
| "textContent"
|
|
32960
33565
|
| "slot"
|
|
32961
33566
|
| "none"
|
|
32962
|
-
| sap.ui.core.webc.WebComponent.MetadataOptionsPropertyMapping;
|
|
33567
|
+
| /* was: sap.ui.core.webc.WebComponent.MetadataOptionsPropertyMapping */ any;
|
|
32963
33568
|
};
|
|
32964
33569
|
}
|
|
32965
33570
|
|
|
@@ -33019,14 +33624,12 @@ declare namespace sap {
|
|
|
33019
33624
|
|
|
33020
33625
|
type MetadataOptionsEventMapping =
|
|
33021
33626
|
sap.ui.core.webc.WebComponent.MetadataOptions.Event.Mapping;
|
|
33022
|
-
|
|
33023
|
-
type MetadataOptionsPropertyMapping =
|
|
33024
|
-
sap.ui.core.webc.WebComponent.MetadataOptions.Property.Mapping;
|
|
33025
33627
|
}
|
|
33026
33628
|
/**
|
|
33027
33629
|
* Describes the settings that can be provided to the WebComponent constructor.
|
|
33028
33630
|
*/
|
|
33029
|
-
interface $WebComponentSettings
|
|
33631
|
+
interface $WebComponentSettings
|
|
33632
|
+
extends sap.ui.core.html.$HTMLElementSettings {}
|
|
33030
33633
|
|
|
33031
33634
|
/**
|
|
33032
33635
|
* Base Class for Web Components. Web Components are agnostic UI elements which can be integrated into the
|
|
@@ -33034,9 +33637,11 @@ declare namespace sap {
|
|
|
33034
33637
|
* properties, the aggregations and the events. It also ensures to render the control and put the aggregated
|
|
33035
33638
|
* controls in the dedicated slots of the Web Component.
|
|
33036
33639
|
*
|
|
33640
|
+
* **Note:** This class is abstract and must not be instantiated directly.
|
|
33641
|
+
*
|
|
33037
33642
|
* @since 1.138.0
|
|
33038
33643
|
*/
|
|
33039
|
-
class WebComponent extends sap.ui.core.
|
|
33644
|
+
abstract class WebComponent extends sap.ui.core.html.HTMLElement {
|
|
33040
33645
|
/**
|
|
33041
33646
|
* Constructs and initializes a Web Component Wrapper with the given `sId` and settings.
|
|
33042
33647
|
*
|
|
@@ -33133,23 +33738,13 @@ declare namespace sap {
|
|
|
33133
33738
|
* @returns Metadata object describing this class
|
|
33134
33739
|
*/
|
|
33135
33740
|
static getMetadata(): sap.ui.core.webc.WebComponentMetadata;
|
|
33136
|
-
/**
|
|
33137
|
-
* Sets the Web Components busy state
|
|
33138
|
-
*
|
|
33139
|
-
*
|
|
33140
|
-
* @returns `this` to allow method chaining
|
|
33141
|
-
*/
|
|
33142
|
-
setBusy(
|
|
33143
|
-
/**
|
|
33144
|
-
* The new busy state to be set
|
|
33145
|
-
*/
|
|
33146
|
-
bBusy: boolean
|
|
33147
|
-
): this;
|
|
33148
33741
|
}
|
|
33149
33742
|
/**
|
|
33150
33743
|
* @since 1.138.0
|
|
33151
33744
|
*/
|
|
33152
|
-
class WebComponentMetadata
|
|
33745
|
+
class WebComponentMetadata
|
|
33746
|
+
extends sap.ui.core.html.HTMLElementMetadata
|
|
33747
|
+
{
|
|
33153
33748
|
/**
|
|
33154
33749
|
* Creates a new metadata object for a WebComponent Wrapper subclass.
|
|
33155
33750
|
*/
|
|
@@ -33165,22 +33760,14 @@ declare namespace sap {
|
|
|
33165
33760
|
);
|
|
33166
33761
|
|
|
33167
33762
|
/**
|
|
33168
|
-
* Returns the
|
|
33169
|
-
|
|
33170
|
-
|
|
33171
|
-
|
|
33172
|
-
*
|
|
33173
|
-
|
|
33174
|
-
getMethods(): any[];
|
|
33175
|
-
/**
|
|
33176
|
-
* Retrieves the renderer for the described web component class. Note: this is always the default renderer
|
|
33177
|
-
* and Web Component wrappers should not define their own renderers.
|
|
33178
|
-
*/
|
|
33179
|
-
getRenderer(): void;
|
|
33180
|
-
/**
|
|
33181
|
-
* Returns the tag, used to render the Component Wrapper
|
|
33763
|
+
* Returns the renderer for the described web component class.
|
|
33764
|
+
*
|
|
33765
|
+
* **Note:** This always returns the default renderer. Web Component wrappers must not define custom renderers.
|
|
33766
|
+
*
|
|
33767
|
+
*
|
|
33768
|
+
* @returns The default renderer instance.
|
|
33182
33769
|
*/
|
|
33183
|
-
|
|
33770
|
+
getRenderer(): object;
|
|
33184
33771
|
}
|
|
33185
33772
|
}
|
|
33186
33773
|
|
|
@@ -33809,27 +34396,31 @@ declare namespace sap {
|
|
|
33809
34396
|
/**
|
|
33810
34397
|
* Implementing this interface allows a control to be accessible via access keys.
|
|
33811
34398
|
*
|
|
34399
|
+
* @deprecated As of version 1.154. The concept has been abandoned.
|
|
33812
34400
|
* @experimental As of version 1.104.
|
|
33813
34401
|
*/
|
|
33814
34402
|
interface IAccessKeySupport {
|
|
33815
34403
|
__implements__sap_ui_core_IAccessKeySupport: boolean;
|
|
33816
34404
|
|
|
33817
34405
|
/**
|
|
33818
|
-
* Returns a
|
|
34406
|
+
* Returns a reference to DOM element to be focused during Access key navigation. If not implemented getFocusDomRef()
|
|
33819
34407
|
* method is used.
|
|
33820
34408
|
*
|
|
34409
|
+
* @deprecated As of version 1.154. The concept has been abandoned.
|
|
33821
34410
|
* @experimental As of version 1.104.
|
|
33822
34411
|
*/
|
|
33823
34412
|
getAccessKeysFocusTarget?(): void;
|
|
33824
34413
|
/**
|
|
33825
34414
|
* If implemented called when access keys feature is enabled and highlighting is over
|
|
33826
34415
|
*
|
|
34416
|
+
* @deprecated As of version 1.154. The concept has been abandoned.
|
|
33827
34417
|
* @experimental As of version 1.104.
|
|
33828
34418
|
*/
|
|
33829
34419
|
onAccKeysHighlightEnd?(): void;
|
|
33830
34420
|
/**
|
|
33831
34421
|
* If implemented called when access keys feature is enabled and highlighting is ongoing
|
|
33832
34422
|
*
|
|
34423
|
+
* @deprecated As of version 1.154. The concept has been abandoned.
|
|
33833
34424
|
* @experimental As of version 1.104.
|
|
33834
34425
|
*/
|
|
33835
34426
|
onAccKeysHighlightStart?(): void;
|
|
@@ -65558,7 +66149,8 @@ declare namespace sap {
|
|
|
65558
66149
|
* Such a deletion is not a pending change.
|
|
65559
66150
|
*
|
|
65560
66151
|
* When using data aggregation without `groupLevels`, single entities can be deleted (since 1.151.0, see
|
|
65561
|
-
* {@link #isAggregated}). The group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
|
|
66152
|
+
* {@link #isAggregated}). The group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}. Since
|
|
66153
|
+
* 1.154.0, `groupLevels` are supported.
|
|
65562
66154
|
* See:
|
|
65563
66155
|
* #hasPendingChanges
|
|
65564
66156
|
* #resetChanges
|
|
@@ -65961,7 +66553,7 @@ declare namespace sap {
|
|
|
65961
66553
|
*
|
|
65962
66554
|
* When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}),
|
|
65963
66555
|
* single entities (see {@link #isAggregated}) can be refreshed and the grand total is updated accordingly
|
|
65964
|
-
* (@experimental as of version 1.145.0).
|
|
66556
|
+
* (@experimental as of version 1.145.0). Since 1.154.0, `groupLevels` are supported.
|
|
65965
66557
|
*
|
|
65966
66558
|
* @since 1.53.0
|
|
65967
66559
|
*/
|
|
@@ -66138,7 +66730,7 @@ declare namespace sap {
|
|
|
66138
66730
|
*
|
|
66139
66731
|
* When using data aggregation but no recursive hierarchy, and without `groupLevels` or `"grandTotal like
|
|
66140
66732
|
* 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}), this context can also represent
|
|
66141
|
-
* a single entity (see {@link #isAggregated}, since 1.151.0).
|
|
66733
|
+
* a single entity (see {@link #isAggregated}, since 1.151.0). Since 1.154.0, `groupLevels` are supported.
|
|
66142
66734
|
* See:
|
|
66143
66735
|
* sap.ui.model.odata.v4.ODataContextBinding#getBoundContext
|
|
66144
66736
|
* sap.ui.model.odata.v4.ODataContextBinding#invoke
|
|
@@ -66154,8 +66746,8 @@ declare namespace sap {
|
|
|
66154
66746
|
* The promise is rejected if
|
|
66155
66747
|
* the call attempts to refresh an entire list binding (via header context or an absolute path) while
|
|
66156
66748
|
* the deletion of a row context (see {@link #delete}) is pending with a different group ID, this is
|
|
66157
|
-
* the row context of a list binding with data aggregation which has `
|
|
66158
|
-
*
|
|
66749
|
+
* the row context of a list binding with data aggregation which has `"grandTotal like 1.84"`, or this
|
|
66750
|
+
* context does not represent a single entity
|
|
66159
66751
|
*/
|
|
66160
66752
|
requestSideEffects(
|
|
66161
66753
|
/**
|
|
@@ -67217,8 +67809,9 @@ declare namespace sap {
|
|
|
67217
67809
|
* is set to `undefined`. The created context always knows its {@link sap.ui.model.odata.v4.Context#getPath path},
|
|
67218
67810
|
* which can be used for {@link #getKeepAliveContext}.
|
|
67219
67811
|
*
|
|
67220
|
-
* When using data aggregation without `
|
|
67221
|
-
*
|
|
67812
|
+
* When using data aggregation without `"grandTotal like 1.84"` (see {@link #setAggregation}), single entities
|
|
67813
|
+
* can be created (since 1.151.0, see {@link sap.ui.model.odata.v4.Context#isAggregated}). Single entities
|
|
67814
|
+
* can also be created with visual grouping (@experimental as of version 1.154.0).
|
|
67222
67815
|
*
|
|
67223
67816
|
* @since 1.43.0
|
|
67224
67817
|
*
|
|
@@ -67925,13 +68518,13 @@ declare namespace sap {
|
|
|
67925
68518
|
* shared requests (since 1.108.0). `subtotals`: An optional boolean that tells whether
|
|
67926
68519
|
* subtotals for this aggregatable property are needed `with`: An optional string that provides the
|
|
67927
68520
|
* name of the method (for example "sum") used for aggregation of this aggregatable property; see "3.1.2
|
|
67928
|
-
* Keyword with"
|
|
67929
|
-
* in case a different alias is chosen as the name of the dynamic property used
|
|
67930
|
-
* aggregatable property; see "3.1.1 Keyword as"
|
|
67931
|
-
* of the custom aggregate for a currency or unit
|
|
67932
|
-
* (since 1.86.0). The custom aggregate must return
|
|
67933
|
-
* one, or `null` otherwise ("multi-unit situation").
|
|
67934
|
-
* THEN MIN(Unit) END`)
|
|
68521
|
+
* Keyword with"; cannot be combined with `expandTo` `name`: An optional string that provides the original
|
|
68522
|
+
* aggregatable property name in case a different alias is chosen as the name of the dynamic property used
|
|
68523
|
+
* for aggregation of this aggregatable property; see "3.1.1 Keyword as"; cannot be combined with `expandTo`
|
|
68524
|
+
* `unit`: An optional string that provides the name of the custom aggregate for a currency or unit
|
|
68525
|
+
* of measure corresponding to this aggregatable property (since 1.86.0). The custom aggregate must return
|
|
68526
|
+
* the single value of that unit in case there is only one, or `null` otherwise ("multi-unit situation").
|
|
68527
|
+
* (SQL suggestion: `CASE WHEN MIN(Unit) = MAX(Unit) THEN MIN(Unit) END`)
|
|
67935
68528
|
*/
|
|
67936
68529
|
aggregate?: object;
|
|
67937
68530
|
/**
|
|
@@ -67947,7 +68540,9 @@ declare namespace sap {
|
|
|
67947
68540
|
* By default, only root nodes are available; they are not yet expanded. Since 1.120.0, `expandTo >= Number.MAX_SAFE_INTEGER`
|
|
67948
68541
|
* can be used to expand all levels (`1E16` is recommended inside XML views for simplicity). Since 1.139.0,
|
|
67949
68542
|
* {@link #getAggregation} returns `expandTo : Number.MAX_SAFE_INTEGER` instead of values greater than this.
|
|
67950
|
-
* These differences do not count as changes.
|
|
68543
|
+
* These differences do not count as changes. This parameter is also supported for visual grouping (@experimental
|
|
68544
|
+
* as of version 1.154.0) and requires the "com.sap.vocabularies.Analytics.v1.MultiLevelExpand"
|
|
68545
|
+
* "$apply" transformation.
|
|
67951
68546
|
*/
|
|
67952
68547
|
expandTo?: number;
|
|
67953
68548
|
/**
|
|
@@ -68002,7 +68597,7 @@ declare namespace sap {
|
|
|
68002
68597
|
* aggregated properties while grand totals are needed. Beware that methods like "average" or "countdistinct"
|
|
68003
68598
|
* are not compatible with this approach, and it cannot be combined with group levels. Since 1.129.0, this
|
|
68004
68599
|
* property is not needed anymore and filtering by aggregated properties is supported even while grand totals
|
|
68005
|
-
* or subtotals are needed.
|
|
68600
|
+
* or subtotals are needed. Must not be combined with `expandTo`.
|
|
68006
68601
|
*/
|
|
68007
68602
|
"grandTotal like 1.84"?: boolean;
|
|
68008
68603
|
}
|
|
@@ -69293,6 +69888,9 @@ declare namespace sap {
|
|
|
69293
69888
|
* typically with string values. $count can also be given as a `boolean` value, $expand can recursively
|
|
69294
69889
|
* be given as a map, $levels can also be given as a `number` value, and $select can also be given as an
|
|
69295
69890
|
* array (but without navigation paths). An empty map can also be given as `null` or `true`. See also {@link https://ui5.sap.com/#/topic/1ab4f62de6ab467096a2a98b363a1373 Parameters}.
|
|
69891
|
+
* Since 1.154.0, this option can be combined with pure data aggregation defined via `$$aggregation` and
|
|
69892
|
+
* is then used for requests without `$apply` and for requests with an (implicit or explicit) "identity"
|
|
69893
|
+
* transformation, but silently ignored for others.
|
|
69296
69894
|
*/
|
|
69297
69895
|
$expand?: string | object;
|
|
69298
69896
|
/**
|
|
@@ -69312,7 +69910,9 @@ declare namespace sap {
|
|
|
69312
69910
|
* A comma separated list or an array of items which determine the value for the "5.1.4 System Query Option
|
|
69313
69911
|
* $select". Since 1.75.0, when using the "autoExpandSelect" model parameter (see {@link #constructor}),
|
|
69314
69912
|
* paths with navigation properties can be included and will contribute to the "5.1.3 System Query Option
|
|
69315
|
-
* $expand".
|
|
69913
|
+
* $expand". Since 1.154.0, this option can be combined with pure data aggregation defined via `$$aggregation`
|
|
69914
|
+
* and is then used for requests without `$apply` and for requests with an (implicit or explicit) "identity"
|
|
69915
|
+
* transformation, but silently ignored for others.
|
|
69316
69916
|
*/
|
|
69317
69917
|
$select?: string | string[];
|
|
69318
69918
|
/**
|
|
@@ -88864,6 +89464,12 @@ declare namespace sap {
|
|
|
88864
89464
|
|
|
88865
89465
|
"sap/ui/core/HTML": undefined;
|
|
88866
89466
|
|
|
89467
|
+
"sap/ui/core/html/HTMLElement": undefined;
|
|
89468
|
+
|
|
89469
|
+
"sap/ui/core/html/HTMLElementMetadata": undefined;
|
|
89470
|
+
|
|
89471
|
+
"sap/ui/core/html/TextContent": undefined;
|
|
89472
|
+
|
|
88867
89473
|
"sap/ui/core/hyphenation/Hyphenation": undefined;
|
|
88868
89474
|
|
|
88869
89475
|
"sap/ui/core/Icon": undefined;
|