@sapui5/types 1.117.1 → 1.118.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 +0 -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 +1 -1
- package/types/sap.f.d.ts +416 -2
- package/types/sap.fe.core.d.ts +47 -48
- package/types/sap.fe.macros.d.ts +70 -10
- package/types/sap.fe.navigation.d.ts +109 -4
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +9 -5
- 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.insights.d.ts +20 -2
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +214 -90
- 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 +1426 -209
- package/types/sap.suite.ui.commons.d.ts +77 -23
- package/types/sap.suite.ui.generic.template.d.ts +64 -107
- 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 +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +150 -20
- package/types/sap.ui.core.d.ts +1026 -192
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +7 -1
- package/types/sap.ui.fl.d.ts +51 -4
- package/types/sap.ui.generic.app.d.ts +3 -3
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +68 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +423 -141
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- 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 +180 -39
- 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.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +38 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- 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 +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +116 -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.fe.plugins.optimisticBatch.d.ts +0 -3
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
/// <reference path="./sap.fe.macros.d.ts"/>
|
|
45
45
|
/// <reference path="./sap.fe.navigation.d.ts"/>
|
|
46
46
|
/// <reference path="./sap.fe.placeholder.d.ts"/>
|
|
47
|
-
/// <reference path="./sap.fe.plugins.optimisticBatch.d.ts"/>
|
|
48
47
|
/// <reference path="./sap.fe.templates.d.ts"/>
|
|
49
48
|
/// <reference path="./sap.fe.test.d.ts"/>
|
|
50
49
|
/// <reference path="./sap.fe.tools.d.ts"/>
|
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.118.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
|
|
|
@@ -2356,6 +2461,12 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2356
2461
|
|
|
2357
2462
|
import Control from "sap/ui/core/Control";
|
|
2358
2463
|
|
|
2464
|
+
import { ValueState, URI } from "sap/ui/core/library";
|
|
2465
|
+
|
|
2466
|
+
import AvatarColor from "sap/m/AvatarColor";
|
|
2467
|
+
|
|
2468
|
+
import AvatarShape from "sap/m/AvatarShape";
|
|
2469
|
+
|
|
2359
2470
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2360
2471
|
|
|
2361
2472
|
import { ValueColor, DeviationIndicator } from "sap/m/library";
|
|
@@ -2575,6 +2686,97 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2575
2686
|
* @returns Value of property `detailsMaxLines`
|
|
2576
2687
|
*/
|
|
2577
2688
|
getDetailsMaxLines(): int;
|
|
2689
|
+
/**
|
|
2690
|
+
* @since 1.118
|
|
2691
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2692
|
+
*
|
|
2693
|
+
* Gets current value of property {@link #getDetailsState detailsState}.
|
|
2694
|
+
*
|
|
2695
|
+
* The semantic color which represents the state of the details text.
|
|
2696
|
+
*
|
|
2697
|
+
* Default value is `None`.
|
|
2698
|
+
*
|
|
2699
|
+
* @returns Value of property `detailsState`
|
|
2700
|
+
*/
|
|
2701
|
+
getDetailsState(): ValueState | keyof typeof ValueState;
|
|
2702
|
+
/**
|
|
2703
|
+
* @since 1.118
|
|
2704
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2705
|
+
*
|
|
2706
|
+
* Gets current value of property {@link #getIconAlt iconAlt}.
|
|
2707
|
+
*
|
|
2708
|
+
* Defines an alt text for the avatar or icon.
|
|
2709
|
+
*
|
|
2710
|
+
* Default value is `empty string`.
|
|
2711
|
+
*
|
|
2712
|
+
* @returns Value of property `iconAlt`
|
|
2713
|
+
*/
|
|
2714
|
+
getIconAlt(): string;
|
|
2715
|
+
/**
|
|
2716
|
+
* @since 1.118
|
|
2717
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2718
|
+
*
|
|
2719
|
+
* Gets current value of property {@link #getIconBackgroundColor iconBackgroundColor}.
|
|
2720
|
+
*
|
|
2721
|
+
* Defines a background color for the avatar or icon.
|
|
2722
|
+
*
|
|
2723
|
+
* Default value is `Transparent`.
|
|
2724
|
+
*
|
|
2725
|
+
* @returns Value of property `iconBackgroundColor`
|
|
2726
|
+
*/
|
|
2727
|
+
getIconBackgroundColor(): AvatarColor | keyof typeof AvatarColor;
|
|
2728
|
+
/**
|
|
2729
|
+
* @since 1.118
|
|
2730
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2731
|
+
*
|
|
2732
|
+
* Gets current value of property {@link #getIconDisplayShape iconDisplayShape}.
|
|
2733
|
+
*
|
|
2734
|
+
* Defines the shape of the icon.
|
|
2735
|
+
*
|
|
2736
|
+
* Default value is `Circle`.
|
|
2737
|
+
*
|
|
2738
|
+
* @returns Value of property `iconDisplayShape`
|
|
2739
|
+
*/
|
|
2740
|
+
getIconDisplayShape(): AvatarShape | keyof typeof AvatarShape;
|
|
2741
|
+
/**
|
|
2742
|
+
* @since 1.118
|
|
2743
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2744
|
+
*
|
|
2745
|
+
* Gets current value of property {@link #getIconInitials iconInitials}.
|
|
2746
|
+
*
|
|
2747
|
+
* Defines the initials of the icon.
|
|
2748
|
+
*
|
|
2749
|
+
* Default value is `empty string`.
|
|
2750
|
+
*
|
|
2751
|
+
* @returns Value of property `iconInitials`
|
|
2752
|
+
*/
|
|
2753
|
+
getIconInitials(): string;
|
|
2754
|
+
/**
|
|
2755
|
+
* @since 1.118
|
|
2756
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2757
|
+
*
|
|
2758
|
+
* Gets current value of property {@link #getIconSrc iconSrc}.
|
|
2759
|
+
*
|
|
2760
|
+
* Defines the icon source.
|
|
2761
|
+
*
|
|
2762
|
+
* Default value is `empty string`.
|
|
2763
|
+
*
|
|
2764
|
+
* @returns Value of property `iconSrc`
|
|
2765
|
+
*/
|
|
2766
|
+
getIconSrc(): URI;
|
|
2767
|
+
/**
|
|
2768
|
+
* @since 1.118
|
|
2769
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2770
|
+
*
|
|
2771
|
+
* Gets current value of property {@link #getIconVisible iconVisible}.
|
|
2772
|
+
*
|
|
2773
|
+
* Defines whether the card icon is visible.
|
|
2774
|
+
*
|
|
2775
|
+
* Default value is `true`.
|
|
2776
|
+
*
|
|
2777
|
+
* @returns Value of property `iconVisible`
|
|
2778
|
+
*/
|
|
2779
|
+
getIconVisible(): boolean;
|
|
2578
2780
|
/**
|
|
2579
2781
|
* Gets current value of property {@link #getNumber number}.
|
|
2580
2782
|
*
|
|
@@ -2788,6 +2990,146 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2788
2990
|
*/
|
|
2789
2991
|
iDetailsMaxLines?: int
|
|
2790
2992
|
): this;
|
|
2993
|
+
/**
|
|
2994
|
+
* @since 1.118
|
|
2995
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
2996
|
+
*
|
|
2997
|
+
* Sets a new value for property {@link #getDetailsState detailsState}.
|
|
2998
|
+
*
|
|
2999
|
+
* The semantic color which represents the state of the details text.
|
|
3000
|
+
*
|
|
3001
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3002
|
+
*
|
|
3003
|
+
* Default value is `None`.
|
|
3004
|
+
*
|
|
3005
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3006
|
+
*/
|
|
3007
|
+
setDetailsState(
|
|
3008
|
+
/**
|
|
3009
|
+
* New value for property `detailsState`
|
|
3010
|
+
*/
|
|
3011
|
+
sDetailsState?: ValueState | keyof typeof ValueState
|
|
3012
|
+
): this;
|
|
3013
|
+
/**
|
|
3014
|
+
* @since 1.118
|
|
3015
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3016
|
+
*
|
|
3017
|
+
* Sets a new value for property {@link #getIconAlt iconAlt}.
|
|
3018
|
+
*
|
|
3019
|
+
* Defines an alt text for the avatar or icon.
|
|
3020
|
+
*
|
|
3021
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3022
|
+
*
|
|
3023
|
+
* Default value is `empty string`.
|
|
3024
|
+
*
|
|
3025
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3026
|
+
*/
|
|
3027
|
+
setIconAlt(
|
|
3028
|
+
/**
|
|
3029
|
+
* New value for property `iconAlt`
|
|
3030
|
+
*/
|
|
3031
|
+
sIconAlt?: string
|
|
3032
|
+
): this;
|
|
3033
|
+
/**
|
|
3034
|
+
* @since 1.118
|
|
3035
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3036
|
+
*
|
|
3037
|
+
* Sets a new value for property {@link #getIconBackgroundColor iconBackgroundColor}.
|
|
3038
|
+
*
|
|
3039
|
+
* Defines a background color for the avatar or icon.
|
|
3040
|
+
*
|
|
3041
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3042
|
+
*
|
|
3043
|
+
* Default value is `Transparent`.
|
|
3044
|
+
*
|
|
3045
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3046
|
+
*/
|
|
3047
|
+
setIconBackgroundColor(
|
|
3048
|
+
/**
|
|
3049
|
+
* New value for property `iconBackgroundColor`
|
|
3050
|
+
*/
|
|
3051
|
+
sIconBackgroundColor?: AvatarColor | keyof typeof AvatarColor
|
|
3052
|
+
): this;
|
|
3053
|
+
/**
|
|
3054
|
+
* @since 1.118
|
|
3055
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3056
|
+
*
|
|
3057
|
+
* Sets a new value for property {@link #getIconDisplayShape iconDisplayShape}.
|
|
3058
|
+
*
|
|
3059
|
+
* Defines the shape of the icon.
|
|
3060
|
+
*
|
|
3061
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3062
|
+
*
|
|
3063
|
+
* Default value is `Circle`.
|
|
3064
|
+
*
|
|
3065
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3066
|
+
*/
|
|
3067
|
+
setIconDisplayShape(
|
|
3068
|
+
/**
|
|
3069
|
+
* New value for property `iconDisplayShape`
|
|
3070
|
+
*/
|
|
3071
|
+
sIconDisplayShape?: AvatarShape | keyof typeof AvatarShape
|
|
3072
|
+
): this;
|
|
3073
|
+
/**
|
|
3074
|
+
* @since 1.118
|
|
3075
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3076
|
+
*
|
|
3077
|
+
* Sets a new value for property {@link #getIconInitials iconInitials}.
|
|
3078
|
+
*
|
|
3079
|
+
* Defines the initials of the icon.
|
|
3080
|
+
*
|
|
3081
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3082
|
+
*
|
|
3083
|
+
* Default value is `empty string`.
|
|
3084
|
+
*
|
|
3085
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3086
|
+
*/
|
|
3087
|
+
setIconInitials(
|
|
3088
|
+
/**
|
|
3089
|
+
* New value for property `iconInitials`
|
|
3090
|
+
*/
|
|
3091
|
+
sIconInitials?: string
|
|
3092
|
+
): this;
|
|
3093
|
+
/**
|
|
3094
|
+
* @since 1.118
|
|
3095
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3096
|
+
*
|
|
3097
|
+
* Sets a new value for property {@link #getIconSrc iconSrc}.
|
|
3098
|
+
*
|
|
3099
|
+
* Defines the icon source.
|
|
3100
|
+
*
|
|
3101
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3102
|
+
*
|
|
3103
|
+
* Default value is `empty string`.
|
|
3104
|
+
*
|
|
3105
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3106
|
+
*/
|
|
3107
|
+
setIconSrc(
|
|
3108
|
+
/**
|
|
3109
|
+
* New value for property `iconSrc`
|
|
3110
|
+
*/
|
|
3111
|
+
sIconSrc?: URI
|
|
3112
|
+
): this;
|
|
3113
|
+
/**
|
|
3114
|
+
* @since 1.118
|
|
3115
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3116
|
+
*
|
|
3117
|
+
* Sets a new value for property {@link #getIconVisible iconVisible}.
|
|
3118
|
+
*
|
|
3119
|
+
* Defines whether the card icon is visible.
|
|
3120
|
+
*
|
|
3121
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3122
|
+
*
|
|
3123
|
+
* Default value is `true`.
|
|
3124
|
+
*
|
|
3125
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3126
|
+
*/
|
|
3127
|
+
setIconVisible(
|
|
3128
|
+
/**
|
|
3129
|
+
* New value for property `iconVisible`
|
|
3130
|
+
*/
|
|
3131
|
+
bIconVisible?: boolean
|
|
3132
|
+
): this;
|
|
2791
3133
|
/**
|
|
2792
3134
|
* Sets a new value for property {@link #getNumber number}.
|
|
2793
3135
|
*
|
|
@@ -2996,6 +3338,13 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2996
3338
|
*/
|
|
2997
3339
|
sUnitOfMeasurement: string
|
|
2998
3340
|
): this;
|
|
3341
|
+
/**
|
|
3342
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3343
|
+
*
|
|
3344
|
+
*
|
|
3345
|
+
* @returns If the icon should be shown.
|
|
3346
|
+
*/
|
|
3347
|
+
shouldShowIcon(): boolean;
|
|
2999
3348
|
}
|
|
3000
3349
|
|
|
3001
3350
|
export interface $NumericHeaderSettings extends $BaseHeaderSettings {
|
|
@@ -3028,6 +3377,60 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
3028
3377
|
*/
|
|
3029
3378
|
statusText?: string | PropertyBindingInfo;
|
|
3030
3379
|
|
|
3380
|
+
/**
|
|
3381
|
+
* @since 1.118
|
|
3382
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3383
|
+
*
|
|
3384
|
+
* Defines the shape of the icon.
|
|
3385
|
+
*/
|
|
3386
|
+
iconDisplayShape?:
|
|
3387
|
+
| (AvatarShape | keyof typeof AvatarShape)
|
|
3388
|
+
| PropertyBindingInfo
|
|
3389
|
+
| `{${string}}`;
|
|
3390
|
+
|
|
3391
|
+
/**
|
|
3392
|
+
* @since 1.118
|
|
3393
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3394
|
+
*
|
|
3395
|
+
* Defines the icon source.
|
|
3396
|
+
*/
|
|
3397
|
+
iconSrc?: URI | PropertyBindingInfo | `{${string}}`;
|
|
3398
|
+
|
|
3399
|
+
/**
|
|
3400
|
+
* @since 1.118
|
|
3401
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3402
|
+
*
|
|
3403
|
+
* Defines the initials of the icon.
|
|
3404
|
+
*/
|
|
3405
|
+
iconInitials?: string | PropertyBindingInfo;
|
|
3406
|
+
|
|
3407
|
+
/**
|
|
3408
|
+
* @since 1.118
|
|
3409
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3410
|
+
*
|
|
3411
|
+
* Defines an alt text for the avatar or icon.
|
|
3412
|
+
*/
|
|
3413
|
+
iconAlt?: string | PropertyBindingInfo;
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* @since 1.118
|
|
3417
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3418
|
+
*
|
|
3419
|
+
* Defines a background color for the avatar or icon.
|
|
3420
|
+
*/
|
|
3421
|
+
iconBackgroundColor?:
|
|
3422
|
+
| (AvatarColor | keyof typeof AvatarColor)
|
|
3423
|
+
| PropertyBindingInfo
|
|
3424
|
+
| `{${string}}`;
|
|
3425
|
+
|
|
3426
|
+
/**
|
|
3427
|
+
* @since 1.118
|
|
3428
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3429
|
+
*
|
|
3430
|
+
* Defines whether the card icon is visible.
|
|
3431
|
+
*/
|
|
3432
|
+
iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3433
|
+
|
|
3031
3434
|
/**
|
|
3032
3435
|
* General unit of measurement for the header. Displayed as side information to the subtitle.
|
|
3033
3436
|
*/
|
|
@@ -3077,6 +3480,17 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
3077
3480
|
*/
|
|
3078
3481
|
details?: string | PropertyBindingInfo;
|
|
3079
3482
|
|
|
3483
|
+
/**
|
|
3484
|
+
* @since 1.118
|
|
3485
|
+
* @experimental (since 1.118) - For usage only by Work Zone.
|
|
3486
|
+
*
|
|
3487
|
+
* The semantic color which represents the state of the details text.
|
|
3488
|
+
*/
|
|
3489
|
+
detailsState?:
|
|
3490
|
+
| (ValueState | keyof typeof ValueState)
|
|
3491
|
+
| PropertyBindingInfo
|
|
3492
|
+
| `{${string}}`;
|
|
3493
|
+
|
|
3080
3494
|
/**
|
|
3081
3495
|
* @experimental (since 1.101)
|
|
3082
3496
|
*
|
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -270,6 +270,28 @@ declare module "sap/fe/core/ExtensionAPI" {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
+
declare module "sap/fe/core/library" {
|
|
274
|
+
/**
|
|
275
|
+
* @since 1.86.0
|
|
276
|
+
*
|
|
277
|
+
* Possible initial load (first app startup) modes for a ListReport.
|
|
278
|
+
*/
|
|
279
|
+
export enum InitialLoadMode {
|
|
280
|
+
/**
|
|
281
|
+
* Data will be loaded initially if filters are set.
|
|
282
|
+
*/
|
|
283
|
+
Auto = "undefined",
|
|
284
|
+
/**
|
|
285
|
+
* Data will not be loaded initially.
|
|
286
|
+
*/
|
|
287
|
+
Disabled = "undefined",
|
|
288
|
+
/**
|
|
289
|
+
* Data will be loaded initially.
|
|
290
|
+
*/
|
|
291
|
+
Enabled = "undefined",
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
273
295
|
declare module "sap/fe/core/PageController" {
|
|
274
296
|
import BaseController from "sap/fe/core/BaseController";
|
|
275
297
|
|
|
@@ -819,8 +841,6 @@ declare module "sap/fe/core/controllerextensions/IntentBasedNavigation" {
|
|
|
819
841
|
*
|
|
820
842
|
* Provides a hook to customize the {@link sap.fe.navigation.SelectionVariant} related to the intent-based
|
|
821
843
|
* navigation.
|
|
822
|
-
*
|
|
823
|
-
* @returns Promise for async handling
|
|
824
844
|
*/
|
|
825
845
|
adaptNavigationContext(
|
|
826
846
|
/**
|
|
@@ -840,7 +860,7 @@ declare module "sap/fe/core/controllerextensions/IntentBasedNavigation" {
|
|
|
840
860
|
*/
|
|
841
861
|
semanticObject: string;
|
|
842
862
|
}
|
|
843
|
-
):
|
|
863
|
+
): void;
|
|
844
864
|
/**
|
|
845
865
|
* @since 1.86.0
|
|
846
866
|
*
|
|
@@ -975,7 +995,7 @@ declare module "sap/fe/core/controllerextensions/Routing" {
|
|
|
975
995
|
/**
|
|
976
996
|
* Parameters to be used with route to create the target hash
|
|
977
997
|
*/
|
|
978
|
-
oParameters?:
|
|
998
|
+
oParameters?: object
|
|
979
999
|
): Promise<boolean>;
|
|
980
1000
|
/**
|
|
981
1001
|
* @since 1.90.0
|
|
@@ -1147,6 +1167,28 @@ declare module "sap/fe/core/controllerextensions/ViewState" {
|
|
|
1147
1167
|
|
|
1148
1168
|
import ManagedObject from "sap/ui/base/ManagedObject";
|
|
1149
1169
|
|
|
1170
|
+
/**
|
|
1171
|
+
* Definition of a custom action to be used inside the table toolbar
|
|
1172
|
+
*/
|
|
1173
|
+
export type NavigationParameter = {
|
|
1174
|
+
/**
|
|
1175
|
+
* The actual navigation type.
|
|
1176
|
+
*/
|
|
1177
|
+
navigationType: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Defines whether the standard variant must be used in variant management
|
|
1180
|
+
*/
|
|
1181
|
+
requiresStandardVariant: boolean;
|
|
1182
|
+
/**
|
|
1183
|
+
* The selectionVariant from the navigation.
|
|
1184
|
+
*/
|
|
1185
|
+
selectionVariant: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
|
|
1186
|
+
/**
|
|
1187
|
+
* The selectionVariant defaults from the navigation
|
|
1188
|
+
*/
|
|
1189
|
+
selectionVariantDefaults: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1150
1192
|
/**
|
|
1151
1193
|
* @since 1.85.0
|
|
1152
1194
|
*
|
|
@@ -1361,29 +1403,8 @@ declare module "sap/fe/core/controllerextensions/ViewState" {
|
|
|
1361
1403
|
*
|
|
1362
1404
|
* @returns A promise resolving the view state
|
|
1363
1405
|
*/
|
|
1364
|
-
retrieveViewState(): Promise<
|
|
1406
|
+
retrieveViewState(): Promise<object | undefined>;
|
|
1365
1407
|
}
|
|
1366
|
-
/**
|
|
1367
|
-
* Definition of a custom action to be used inside the table toolbar
|
|
1368
|
-
*/
|
|
1369
|
-
export type NavigationParameter = {
|
|
1370
|
-
/**
|
|
1371
|
-
* The actual navigation type.
|
|
1372
|
-
*/
|
|
1373
|
-
navigationType: string;
|
|
1374
|
-
/**
|
|
1375
|
-
* Defines whether the standard variant must be used in variant management
|
|
1376
|
-
*/
|
|
1377
|
-
requiresStandardVariant: boolean;
|
|
1378
|
-
/**
|
|
1379
|
-
* The selectionVariant from the navigation.
|
|
1380
|
-
*/
|
|
1381
|
-
selectionVariant: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
|
|
1382
|
-
/**
|
|
1383
|
-
* The selectionVariant defaults from the navigation
|
|
1384
|
-
*/
|
|
1385
|
-
selectionVariantDefaults: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
|
|
1386
|
-
};
|
|
1387
1408
|
}
|
|
1388
1409
|
|
|
1389
1410
|
declare module "sap/fe/core/fpm/Component" {
|
|
@@ -1420,28 +1441,6 @@ declare module "sap/fe/core/fpm/Component" {
|
|
|
1420
1441
|
}
|
|
1421
1442
|
}
|
|
1422
1443
|
|
|
1423
|
-
declare module "sap/fe/core/library" {
|
|
1424
|
-
/**
|
|
1425
|
-
* @since 1.86.0
|
|
1426
|
-
*
|
|
1427
|
-
* Possible initial load (first app startup) modes for a ListReport.
|
|
1428
|
-
*/
|
|
1429
|
-
export enum InitialLoadMode {
|
|
1430
|
-
/**
|
|
1431
|
-
* Data will be loaded initially if filters are set.
|
|
1432
|
-
*/
|
|
1433
|
-
Auto = "undefined",
|
|
1434
|
-
/**
|
|
1435
|
-
* Data will not be loaded initially.
|
|
1436
|
-
*/
|
|
1437
|
-
Disabled = "undefined",
|
|
1438
|
-
/**
|
|
1439
|
-
* Data will be loaded initially.
|
|
1440
|
-
*/
|
|
1441
|
-
Enabled = "undefined",
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
1444
|
declare module "sap/fe/core/rootView/Fcl.controller" {
|
|
1446
1445
|
/**
|
|
1447
1446
|
* @since 1.110.0
|