@openui5/types 1.117.1 → 1.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.f.d.ts +536 -4
- package/types/sap.m.d.ts +696 -169
- package/types/sap.tnt.d.ts +17 -15
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1406 -228
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -4
- package/types/sap.ui.integration.d.ts +78 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1586 -533
- package/types/sap.ui.rta.d.ts +1 -4
- 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 +1183 -128
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- package/types/sap.ui.webc.fiori.d.ts +85 -85
- package/types/sap.ui.webc.main.d.ts +225 -225
- package/types/sap.uxap.d.ts +116 -1
package/package.json
CHANGED
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.119.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -1517,9 +1517,14 @@ declare module "sap/f/CardBase" {
|
|
|
1517
1517
|
declare module "sap/f/cards/BaseHeader" {
|
|
1518
1518
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
1519
1519
|
|
|
1520
|
+
import Text from "sap/m/Text";
|
|
1521
|
+
|
|
1520
1522
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1521
1523
|
|
|
1522
|
-
import {
|
|
1524
|
+
import {
|
|
1525
|
+
PropertyBindingInfo,
|
|
1526
|
+
AggregationBindingInfo,
|
|
1527
|
+
} from "sap/ui/base/ManagedObject";
|
|
1523
1528
|
|
|
1524
1529
|
/**
|
|
1525
1530
|
* @since 1.86
|
|
@@ -1587,6 +1592,29 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1587
1592
|
* @returns Metadata object describing this class
|
|
1588
1593
|
*/
|
|
1589
1594
|
static getMetadata(): ElementMetadata;
|
|
1595
|
+
/**
|
|
1596
|
+
* @since 1.118
|
|
1597
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1598
|
+
*
|
|
1599
|
+
* Adds some bannerLine to the aggregation {@link #getBannerLines bannerLines}.
|
|
1600
|
+
*
|
|
1601
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1602
|
+
*/
|
|
1603
|
+
addBannerLine(
|
|
1604
|
+
/**
|
|
1605
|
+
* The bannerLine to add; if empty, nothing is inserted
|
|
1606
|
+
*/
|
|
1607
|
+
oBannerLine: Text
|
|
1608
|
+
): this;
|
|
1609
|
+
/**
|
|
1610
|
+
* @since 1.118
|
|
1611
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1612
|
+
*
|
|
1613
|
+
* Destroys all the bannerLines in the aggregation {@link #getBannerLines bannerLines}.
|
|
1614
|
+
*
|
|
1615
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1616
|
+
*/
|
|
1617
|
+
destroyBannerLines(): this;
|
|
1590
1618
|
/**
|
|
1591
1619
|
* @since 1.86
|
|
1592
1620
|
* @experimental (since 1.86)
|
|
@@ -1596,6 +1624,15 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1596
1624
|
* @returns Reference to `this` in order to allow method chaining
|
|
1597
1625
|
*/
|
|
1598
1626
|
destroyToolbar(): this;
|
|
1627
|
+
/**
|
|
1628
|
+
* @since 1.118
|
|
1629
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1630
|
+
*
|
|
1631
|
+
* Gets content of aggregation {@link #getBannerLines bannerLines}.
|
|
1632
|
+
*
|
|
1633
|
+
* Show as a banner in the header area. Use for example for system info and application shortcut.
|
|
1634
|
+
*/
|
|
1635
|
+
getBannerLines(): Text[];
|
|
1599
1636
|
/**
|
|
1600
1637
|
* @experimental (since 1.89) - this feature is experimental and the API may change.
|
|
1601
1638
|
*
|
|
@@ -1634,6 +1671,66 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1634
1671
|
* Defines the toolbar.
|
|
1635
1672
|
*/
|
|
1636
1673
|
getToolbar(): Control;
|
|
1674
|
+
/**
|
|
1675
|
+
* @since 1.118
|
|
1676
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1677
|
+
*
|
|
1678
|
+
* Checks for the provided `sap.m.Text` in the aggregation {@link #getBannerLines bannerLines}. and returns
|
|
1679
|
+
* its index if found or -1 otherwise.
|
|
1680
|
+
*
|
|
1681
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
1682
|
+
*/
|
|
1683
|
+
indexOfBannerLine(
|
|
1684
|
+
/**
|
|
1685
|
+
* The bannerLine whose index is looked for
|
|
1686
|
+
*/
|
|
1687
|
+
oBannerLine: Text
|
|
1688
|
+
): int;
|
|
1689
|
+
/**
|
|
1690
|
+
* @since 1.118
|
|
1691
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1692
|
+
*
|
|
1693
|
+
* Inserts a bannerLine into the aggregation {@link #getBannerLines bannerLines}.
|
|
1694
|
+
*
|
|
1695
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1696
|
+
*/
|
|
1697
|
+
insertBannerLine(
|
|
1698
|
+
/**
|
|
1699
|
+
* The bannerLine to insert; if empty, nothing is inserted
|
|
1700
|
+
*/
|
|
1701
|
+
oBannerLine: Text,
|
|
1702
|
+
/**
|
|
1703
|
+
* The `0`-based index the bannerLine should be inserted at; for a negative value of `iIndex`, the bannerLine
|
|
1704
|
+
* is inserted at position 0; for a value greater than the current size of the aggregation, the bannerLine
|
|
1705
|
+
* is inserted at the last position
|
|
1706
|
+
*/
|
|
1707
|
+
iIndex: int
|
|
1708
|
+
): this;
|
|
1709
|
+
/**
|
|
1710
|
+
* @since 1.118
|
|
1711
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1712
|
+
*
|
|
1713
|
+
* Removes all the controls from the aggregation {@link #getBannerLines bannerLines}.
|
|
1714
|
+
*
|
|
1715
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
1716
|
+
*
|
|
1717
|
+
* @returns An array of the removed elements (might be empty)
|
|
1718
|
+
*/
|
|
1719
|
+
removeAllBannerLines(): Text[];
|
|
1720
|
+
/**
|
|
1721
|
+
* @since 1.118
|
|
1722
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1723
|
+
*
|
|
1724
|
+
* Removes a bannerLine from the aggregation {@link #getBannerLines bannerLines}.
|
|
1725
|
+
*
|
|
1726
|
+
* @returns The removed bannerLine or `null`
|
|
1727
|
+
*/
|
|
1728
|
+
removeBannerLine(
|
|
1729
|
+
/**
|
|
1730
|
+
* The bannerLine to remove or its index or id
|
|
1731
|
+
*/
|
|
1732
|
+
vBannerLine: int | string | Text
|
|
1733
|
+
): Text | null;
|
|
1637
1734
|
/**
|
|
1638
1735
|
* @experimental (since 1.116) - this feature is experimental and the API may change.
|
|
1639
1736
|
*
|
|
@@ -1696,6 +1793,14 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1696
1793
|
* Defines the toolbar.
|
|
1697
1794
|
*/
|
|
1698
1795
|
toolbar?: Control;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* @since 1.118
|
|
1799
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
1800
|
+
*
|
|
1801
|
+
* Show as a banner in the header area. Use for example for system info and application shortcut.
|
|
1802
|
+
*/
|
|
1803
|
+
bannerLines?: Text[] | Text | AggregationBindingInfo | `{${string}}`;
|
|
1699
1804
|
}
|
|
1700
1805
|
}
|
|
1701
1806
|
|
|
@@ -1715,6 +1820,8 @@ declare module "sap/f/cards/Header" {
|
|
|
1715
1820
|
|
|
1716
1821
|
import AvatarShape from "sap/m/AvatarShape";
|
|
1717
1822
|
|
|
1823
|
+
import AvatarSize from "sap/m/AvatarSize";
|
|
1824
|
+
|
|
1718
1825
|
import { URI } from "sap/ui/core/library";
|
|
1719
1826
|
|
|
1720
1827
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -1933,6 +2040,18 @@ declare module "sap/f/cards/Header" {
|
|
|
1933
2040
|
* @returns Value of property `iconInitials`
|
|
1934
2041
|
*/
|
|
1935
2042
|
getIconInitials(): string;
|
|
2043
|
+
/**
|
|
2044
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
2045
|
+
*
|
|
2046
|
+
* Gets current value of property {@link #getIconSize iconSize}.
|
|
2047
|
+
*
|
|
2048
|
+
* Defines the size of the icon.
|
|
2049
|
+
*
|
|
2050
|
+
* Default value is `S`.
|
|
2051
|
+
*
|
|
2052
|
+
* @returns Value of property `iconSize`
|
|
2053
|
+
*/
|
|
2054
|
+
getIconSize(): AvatarSize | keyof typeof AvatarSize;
|
|
1936
2055
|
/**
|
|
1937
2056
|
* Gets current value of property {@link #getIconSrc iconSrc}.
|
|
1938
2057
|
*
|
|
@@ -2081,6 +2200,25 @@ declare module "sap/f/cards/Header" {
|
|
|
2081
2200
|
*/
|
|
2082
2201
|
sIconInitials?: string
|
|
2083
2202
|
): this;
|
|
2203
|
+
/**
|
|
2204
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
2205
|
+
*
|
|
2206
|
+
* Sets a new value for property {@link #getIconSize iconSize}.
|
|
2207
|
+
*
|
|
2208
|
+
* Defines the size of the icon.
|
|
2209
|
+
*
|
|
2210
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2211
|
+
*
|
|
2212
|
+
* Default value is `S`.
|
|
2213
|
+
*
|
|
2214
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2215
|
+
*/
|
|
2216
|
+
setIconSize(
|
|
2217
|
+
/**
|
|
2218
|
+
* New value for property `iconSize`
|
|
2219
|
+
*/
|
|
2220
|
+
sIconSize?: AvatarSize | keyof typeof AvatarSize
|
|
2221
|
+
): this;
|
|
2084
2222
|
/**
|
|
2085
2223
|
* Sets a new value for property {@link #getIconSrc iconSrc}.
|
|
2086
2224
|
*
|
|
@@ -2287,6 +2425,16 @@ declare module "sap/f/cards/Header" {
|
|
|
2287
2425
|
*/
|
|
2288
2426
|
iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2289
2427
|
|
|
2428
|
+
/**
|
|
2429
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
2430
|
+
*
|
|
2431
|
+
* Defines the size of the icon.
|
|
2432
|
+
*/
|
|
2433
|
+
iconSize?:
|
|
2434
|
+
| (AvatarSize | keyof typeof AvatarSize)
|
|
2435
|
+
| PropertyBindingInfo
|
|
2436
|
+
| `{${string}}`;
|
|
2437
|
+
|
|
2290
2438
|
/**
|
|
2291
2439
|
* Fires when the user presses the control.
|
|
2292
2440
|
*/
|
|
@@ -2356,6 +2504,14 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2356
2504
|
|
|
2357
2505
|
import Control from "sap/ui/core/Control";
|
|
2358
2506
|
|
|
2507
|
+
import { ValueState, URI } from "sap/ui/core/library";
|
|
2508
|
+
|
|
2509
|
+
import AvatarColor from "sap/m/AvatarColor";
|
|
2510
|
+
|
|
2511
|
+
import AvatarShape from "sap/m/AvatarShape";
|
|
2512
|
+
|
|
2513
|
+
import AvatarSize from "sap/m/AvatarSize";
|
|
2514
|
+
|
|
2359
2515
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2360
2516
|
|
|
2361
2517
|
import { ValueColor, DeviationIndicator } from "sap/m/library";
|
|
@@ -2575,6 +2731,109 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2575
2731
|
* @returns Value of property `detailsMaxLines`
|
|
2576
2732
|
*/
|
|
2577
2733
|
getDetailsMaxLines(): int;
|
|
2734
|
+
/**
|
|
2735
|
+
* @since 1.118
|
|
2736
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2737
|
+
*
|
|
2738
|
+
* Gets current value of property {@link #getDetailsState detailsState}.
|
|
2739
|
+
*
|
|
2740
|
+
* The semantic color which represents the state of the details text.
|
|
2741
|
+
*
|
|
2742
|
+
* Default value is `None`.
|
|
2743
|
+
*
|
|
2744
|
+
* @returns Value of property `detailsState`
|
|
2745
|
+
*/
|
|
2746
|
+
getDetailsState(): ValueState | keyof typeof ValueState;
|
|
2747
|
+
/**
|
|
2748
|
+
* @since 1.118
|
|
2749
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2750
|
+
*
|
|
2751
|
+
* Gets current value of property {@link #getIconAlt iconAlt}.
|
|
2752
|
+
*
|
|
2753
|
+
* Defines an alt text for the avatar or icon.
|
|
2754
|
+
*
|
|
2755
|
+
* Default value is `empty string`.
|
|
2756
|
+
*
|
|
2757
|
+
* @returns Value of property `iconAlt`
|
|
2758
|
+
*/
|
|
2759
|
+
getIconAlt(): string;
|
|
2760
|
+
/**
|
|
2761
|
+
* @since 1.118
|
|
2762
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2763
|
+
*
|
|
2764
|
+
* Gets current value of property {@link #getIconBackgroundColor iconBackgroundColor}.
|
|
2765
|
+
*
|
|
2766
|
+
* Defines a background color for the avatar or icon.
|
|
2767
|
+
*
|
|
2768
|
+
* Default value is `Transparent`.
|
|
2769
|
+
*
|
|
2770
|
+
* @returns Value of property `iconBackgroundColor`
|
|
2771
|
+
*/
|
|
2772
|
+
getIconBackgroundColor(): AvatarColor | keyof typeof AvatarColor;
|
|
2773
|
+
/**
|
|
2774
|
+
* @since 1.118
|
|
2775
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2776
|
+
*
|
|
2777
|
+
* Gets current value of property {@link #getIconDisplayShape iconDisplayShape}.
|
|
2778
|
+
*
|
|
2779
|
+
* Defines the shape of the icon.
|
|
2780
|
+
*
|
|
2781
|
+
* Default value is `Circle`.
|
|
2782
|
+
*
|
|
2783
|
+
* @returns Value of property `iconDisplayShape`
|
|
2784
|
+
*/
|
|
2785
|
+
getIconDisplayShape(): AvatarShape | keyof typeof AvatarShape;
|
|
2786
|
+
/**
|
|
2787
|
+
* @since 1.118
|
|
2788
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2789
|
+
*
|
|
2790
|
+
* Gets current value of property {@link #getIconInitials iconInitials}.
|
|
2791
|
+
*
|
|
2792
|
+
* Defines the initials of the icon.
|
|
2793
|
+
*
|
|
2794
|
+
* Default value is `empty string`.
|
|
2795
|
+
*
|
|
2796
|
+
* @returns Value of property `iconInitials`
|
|
2797
|
+
*/
|
|
2798
|
+
getIconInitials(): string;
|
|
2799
|
+
/**
|
|
2800
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
2801
|
+
*
|
|
2802
|
+
* Gets current value of property {@link #getIconSize iconSize}.
|
|
2803
|
+
*
|
|
2804
|
+
* Defines the size of the icon.
|
|
2805
|
+
*
|
|
2806
|
+
* Default value is `S`.
|
|
2807
|
+
*
|
|
2808
|
+
* @returns Value of property `iconSize`
|
|
2809
|
+
*/
|
|
2810
|
+
getIconSize(): AvatarSize | keyof typeof AvatarSize;
|
|
2811
|
+
/**
|
|
2812
|
+
* @since 1.118
|
|
2813
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2814
|
+
*
|
|
2815
|
+
* Gets current value of property {@link #getIconSrc iconSrc}.
|
|
2816
|
+
*
|
|
2817
|
+
* Defines the icon source.
|
|
2818
|
+
*
|
|
2819
|
+
* Default value is `empty string`.
|
|
2820
|
+
*
|
|
2821
|
+
* @returns Value of property `iconSrc`
|
|
2822
|
+
*/
|
|
2823
|
+
getIconSrc(): URI;
|
|
2824
|
+
/**
|
|
2825
|
+
* @since 1.118
|
|
2826
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2827
|
+
*
|
|
2828
|
+
* Gets current value of property {@link #getIconVisible iconVisible}.
|
|
2829
|
+
*
|
|
2830
|
+
* Defines whether the card icon is visible.
|
|
2831
|
+
*
|
|
2832
|
+
* Default value is `true`.
|
|
2833
|
+
*
|
|
2834
|
+
* @returns Value of property `iconVisible`
|
|
2835
|
+
*/
|
|
2836
|
+
getIconVisible(): boolean;
|
|
2578
2837
|
/**
|
|
2579
2838
|
* Gets current value of property {@link #getNumber number}.
|
|
2580
2839
|
*
|
|
@@ -2584,6 +2843,16 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2584
2843
|
* @returns Value of property `number`
|
|
2585
2844
|
*/
|
|
2586
2845
|
getNumber(): string;
|
|
2846
|
+
/**
|
|
2847
|
+
* Gets current value of property {@link #getNumberSize numberSize}.
|
|
2848
|
+
*
|
|
2849
|
+
* The size of the of the main indicator. Possible values are "S" and "L".
|
|
2850
|
+
*
|
|
2851
|
+
* Default value is `"L"`.
|
|
2852
|
+
*
|
|
2853
|
+
* @returns Value of property `numberSize`
|
|
2854
|
+
*/
|
|
2855
|
+
getNumberSize(): string;
|
|
2587
2856
|
/**
|
|
2588
2857
|
* @since 1.109
|
|
2589
2858
|
*
|
|
@@ -2788,6 +3057,165 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2788
3057
|
*/
|
|
2789
3058
|
iDetailsMaxLines?: int
|
|
2790
3059
|
): this;
|
|
3060
|
+
/**
|
|
3061
|
+
* @since 1.118
|
|
3062
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3063
|
+
*
|
|
3064
|
+
* Sets a new value for property {@link #getDetailsState detailsState}.
|
|
3065
|
+
*
|
|
3066
|
+
* The semantic color which represents the state of the details text.
|
|
3067
|
+
*
|
|
3068
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3069
|
+
*
|
|
3070
|
+
* Default value is `None`.
|
|
3071
|
+
*
|
|
3072
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3073
|
+
*/
|
|
3074
|
+
setDetailsState(
|
|
3075
|
+
/**
|
|
3076
|
+
* New value for property `detailsState`
|
|
3077
|
+
*/
|
|
3078
|
+
sDetailsState?: ValueState | keyof typeof ValueState
|
|
3079
|
+
): this;
|
|
3080
|
+
/**
|
|
3081
|
+
* @since 1.118
|
|
3082
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3083
|
+
*
|
|
3084
|
+
* Sets a new value for property {@link #getIconAlt iconAlt}.
|
|
3085
|
+
*
|
|
3086
|
+
* Defines an alt text for the avatar or icon.
|
|
3087
|
+
*
|
|
3088
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3089
|
+
*
|
|
3090
|
+
* Default value is `empty string`.
|
|
3091
|
+
*
|
|
3092
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3093
|
+
*/
|
|
3094
|
+
setIconAlt(
|
|
3095
|
+
/**
|
|
3096
|
+
* New value for property `iconAlt`
|
|
3097
|
+
*/
|
|
3098
|
+
sIconAlt?: string
|
|
3099
|
+
): this;
|
|
3100
|
+
/**
|
|
3101
|
+
* @since 1.118
|
|
3102
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3103
|
+
*
|
|
3104
|
+
* Sets a new value for property {@link #getIconBackgroundColor iconBackgroundColor}.
|
|
3105
|
+
*
|
|
3106
|
+
* Defines a background color for the avatar or icon.
|
|
3107
|
+
*
|
|
3108
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3109
|
+
*
|
|
3110
|
+
* Default value is `Transparent`.
|
|
3111
|
+
*
|
|
3112
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3113
|
+
*/
|
|
3114
|
+
setIconBackgroundColor(
|
|
3115
|
+
/**
|
|
3116
|
+
* New value for property `iconBackgroundColor`
|
|
3117
|
+
*/
|
|
3118
|
+
sIconBackgroundColor?: AvatarColor | keyof typeof AvatarColor
|
|
3119
|
+
): this;
|
|
3120
|
+
/**
|
|
3121
|
+
* @since 1.118
|
|
3122
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3123
|
+
*
|
|
3124
|
+
* Sets a new value for property {@link #getIconDisplayShape iconDisplayShape}.
|
|
3125
|
+
*
|
|
3126
|
+
* Defines the shape of the icon.
|
|
3127
|
+
*
|
|
3128
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3129
|
+
*
|
|
3130
|
+
* Default value is `Circle`.
|
|
3131
|
+
*
|
|
3132
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3133
|
+
*/
|
|
3134
|
+
setIconDisplayShape(
|
|
3135
|
+
/**
|
|
3136
|
+
* New value for property `iconDisplayShape`
|
|
3137
|
+
*/
|
|
3138
|
+
sIconDisplayShape?: AvatarShape | keyof typeof AvatarShape
|
|
3139
|
+
): this;
|
|
3140
|
+
/**
|
|
3141
|
+
* @since 1.118
|
|
3142
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3143
|
+
*
|
|
3144
|
+
* Sets a new value for property {@link #getIconInitials iconInitials}.
|
|
3145
|
+
*
|
|
3146
|
+
* Defines the initials of the icon.
|
|
3147
|
+
*
|
|
3148
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3149
|
+
*
|
|
3150
|
+
* Default value is `empty string`.
|
|
3151
|
+
*
|
|
3152
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3153
|
+
*/
|
|
3154
|
+
setIconInitials(
|
|
3155
|
+
/**
|
|
3156
|
+
* New value for property `iconInitials`
|
|
3157
|
+
*/
|
|
3158
|
+
sIconInitials?: string
|
|
3159
|
+
): this;
|
|
3160
|
+
/**
|
|
3161
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
3162
|
+
*
|
|
3163
|
+
* Sets a new value for property {@link #getIconSize iconSize}.
|
|
3164
|
+
*
|
|
3165
|
+
* Defines the size of the icon.
|
|
3166
|
+
*
|
|
3167
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3168
|
+
*
|
|
3169
|
+
* Default value is `S`.
|
|
3170
|
+
*
|
|
3171
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3172
|
+
*/
|
|
3173
|
+
setIconSize(
|
|
3174
|
+
/**
|
|
3175
|
+
* New value for property `iconSize`
|
|
3176
|
+
*/
|
|
3177
|
+
sIconSize?: AvatarSize | keyof typeof AvatarSize
|
|
3178
|
+
): this;
|
|
3179
|
+
/**
|
|
3180
|
+
* @since 1.118
|
|
3181
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3182
|
+
*
|
|
3183
|
+
* Sets a new value for property {@link #getIconSrc iconSrc}.
|
|
3184
|
+
*
|
|
3185
|
+
* Defines the icon source.
|
|
3186
|
+
*
|
|
3187
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3188
|
+
*
|
|
3189
|
+
* Default value is `empty string`.
|
|
3190
|
+
*
|
|
3191
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3192
|
+
*/
|
|
3193
|
+
setIconSrc(
|
|
3194
|
+
/**
|
|
3195
|
+
* New value for property `iconSrc`
|
|
3196
|
+
*/
|
|
3197
|
+
sIconSrc?: URI
|
|
3198
|
+
): this;
|
|
3199
|
+
/**
|
|
3200
|
+
* @since 1.118
|
|
3201
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3202
|
+
*
|
|
3203
|
+
* Sets a new value for property {@link #getIconVisible iconVisible}.
|
|
3204
|
+
*
|
|
3205
|
+
* Defines whether the card icon is visible.
|
|
3206
|
+
*
|
|
3207
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3208
|
+
*
|
|
3209
|
+
* Default value is `true`.
|
|
3210
|
+
*
|
|
3211
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3212
|
+
*/
|
|
3213
|
+
setIconVisible(
|
|
3214
|
+
/**
|
|
3215
|
+
* New value for property `iconVisible`
|
|
3216
|
+
*/
|
|
3217
|
+
bIconVisible?: boolean
|
|
3218
|
+
): this;
|
|
2791
3219
|
/**
|
|
2792
3220
|
* Sets a new value for property {@link #getNumber number}.
|
|
2793
3221
|
*
|
|
@@ -2804,6 +3232,23 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2804
3232
|
*/
|
|
2805
3233
|
sNumber: string
|
|
2806
3234
|
): this;
|
|
3235
|
+
/**
|
|
3236
|
+
* Sets a new value for property {@link #getNumberSize numberSize}.
|
|
3237
|
+
*
|
|
3238
|
+
* The size of the of the main indicator. Possible values are "S" and "L".
|
|
3239
|
+
*
|
|
3240
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3241
|
+
*
|
|
3242
|
+
* Default value is `"L"`.
|
|
3243
|
+
*
|
|
3244
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3245
|
+
*/
|
|
3246
|
+
setNumberSize(
|
|
3247
|
+
/**
|
|
3248
|
+
* New value for property `numberSize`
|
|
3249
|
+
*/
|
|
3250
|
+
sNumberSize?: string
|
|
3251
|
+
): this;
|
|
2807
3252
|
/**
|
|
2808
3253
|
* @since 1.109
|
|
2809
3254
|
*
|
|
@@ -2996,6 +3441,13 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2996
3441
|
*/
|
|
2997
3442
|
sUnitOfMeasurement: string
|
|
2998
3443
|
): this;
|
|
3444
|
+
/**
|
|
3445
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3446
|
+
*
|
|
3447
|
+
*
|
|
3448
|
+
* @returns If the icon should be shown.
|
|
3449
|
+
*/
|
|
3450
|
+
shouldShowIcon(): boolean;
|
|
2999
3451
|
}
|
|
3000
3452
|
|
|
3001
3453
|
export interface $NumericHeaderSettings extends $BaseHeaderSettings {
|
|
@@ -3028,6 +3480,70 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
3028
3480
|
*/
|
|
3029
3481
|
statusText?: string | PropertyBindingInfo;
|
|
3030
3482
|
|
|
3483
|
+
/**
|
|
3484
|
+
* @since 1.118
|
|
3485
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3486
|
+
*
|
|
3487
|
+
* Defines the shape of the icon.
|
|
3488
|
+
*/
|
|
3489
|
+
iconDisplayShape?:
|
|
3490
|
+
| (AvatarShape | keyof typeof AvatarShape)
|
|
3491
|
+
| PropertyBindingInfo
|
|
3492
|
+
| `{${string}}`;
|
|
3493
|
+
|
|
3494
|
+
/**
|
|
3495
|
+
* @since 1.118
|
|
3496
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3497
|
+
*
|
|
3498
|
+
* Defines the icon source.
|
|
3499
|
+
*/
|
|
3500
|
+
iconSrc?: URI | PropertyBindingInfo | `{${string}}`;
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* @since 1.118
|
|
3504
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3505
|
+
*
|
|
3506
|
+
* Defines the initials of the icon.
|
|
3507
|
+
*/
|
|
3508
|
+
iconInitials?: string | PropertyBindingInfo;
|
|
3509
|
+
|
|
3510
|
+
/**
|
|
3511
|
+
* @since 1.118
|
|
3512
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3513
|
+
*
|
|
3514
|
+
* Defines an alt text for the avatar or icon.
|
|
3515
|
+
*/
|
|
3516
|
+
iconAlt?: string | PropertyBindingInfo;
|
|
3517
|
+
|
|
3518
|
+
/**
|
|
3519
|
+
* @since 1.118
|
|
3520
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3521
|
+
*
|
|
3522
|
+
* Defines a background color for the avatar or icon.
|
|
3523
|
+
*/
|
|
3524
|
+
iconBackgroundColor?:
|
|
3525
|
+
| (AvatarColor | keyof typeof AvatarColor)
|
|
3526
|
+
| PropertyBindingInfo
|
|
3527
|
+
| `{${string}}`;
|
|
3528
|
+
|
|
3529
|
+
/**
|
|
3530
|
+
* @since 1.118
|
|
3531
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3532
|
+
*
|
|
3533
|
+
* Defines whether the card icon is visible.
|
|
3534
|
+
*/
|
|
3535
|
+
iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* @experimental (since 1.119) - this feature is experimental and the API may change.
|
|
3539
|
+
*
|
|
3540
|
+
* Defines the size of the icon.
|
|
3541
|
+
*/
|
|
3542
|
+
iconSize?:
|
|
3543
|
+
| (AvatarSize | keyof typeof AvatarSize)
|
|
3544
|
+
| PropertyBindingInfo
|
|
3545
|
+
| `{${string}}`;
|
|
3546
|
+
|
|
3031
3547
|
/**
|
|
3032
3548
|
* General unit of measurement for the header. Displayed as side information to the subtitle.
|
|
3033
3549
|
*/
|
|
@@ -3039,6 +3555,11 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
3039
3555
|
*/
|
|
3040
3556
|
number?: string | PropertyBindingInfo;
|
|
3041
3557
|
|
|
3558
|
+
/**
|
|
3559
|
+
* The size of the of the main indicator. Possible values are "S" and "L".
|
|
3560
|
+
*/
|
|
3561
|
+
numberSize?: string | PropertyBindingInfo;
|
|
3562
|
+
|
|
3042
3563
|
/**
|
|
3043
3564
|
* @since 1.109
|
|
3044
3565
|
*
|
|
@@ -3077,6 +3598,17 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
3077
3598
|
*/
|
|
3078
3599
|
details?: string | PropertyBindingInfo;
|
|
3079
3600
|
|
|
3601
|
+
/**
|
|
3602
|
+
* @since 1.118
|
|
3603
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3604
|
+
*
|
|
3605
|
+
* The semantic color which represents the state of the details text.
|
|
3606
|
+
*/
|
|
3607
|
+
detailsState?:
|
|
3608
|
+
| (ValueState | keyof typeof ValueState)
|
|
3609
|
+
| PropertyBindingInfo
|
|
3610
|
+
| `{${string}}`;
|
|
3611
|
+
|
|
3080
3612
|
/**
|
|
3081
3613
|
* @experimental (since 1.101)
|
|
3082
3614
|
*
|
|
@@ -9054,7 +9586,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
9054
9586
|
* for the first two pages, all other pages will open in fullscreen), and `SingleColumn` (one page at a
|
|
9055
9587
|
* time only).
|
|
9056
9588
|
*/
|
|
9057
|
-
mode
|
|
9589
|
+
mode?: string;
|
|
9058
9590
|
}
|
|
9059
9591
|
);
|
|
9060
9592
|
|
|
@@ -9264,7 +9796,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
9264
9796
|
/**
|
|
9265
9797
|
* The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
|
|
9266
9798
|
*/
|
|
9267
|
-
layout?:
|
|
9799
|
+
layout?: LayoutType | keyof typeof LayoutType;
|
|
9268
9800
|
/**
|
|
9269
9801
|
* The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
|
|
9270
9802
|
*/
|