@openui5/types 1.141.2 → 1.142.1
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 +1 -1
- package/types/sap.m.d.ts +440 -57
- 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.core.d.ts +1160 -639
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +100 -94
- package/types/sap.ui.mdc.d.ts +1518 -167
- 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 +13 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +34 -78
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.142.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -1442,6 +1442,7 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
|
|
|
1442
1442
|
* Items can be removed, updated, or added. Use the binding information of the `MultiValueField` control
|
|
1443
1443
|
* to update the data in the related model.
|
|
1444
1444
|
*
|
|
1445
|
+
* @deprecated As of version 1.142. replaced by {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItemsFromConditions updateItemsFromConditions}.
|
|
1445
1446
|
* @experimental
|
|
1446
1447
|
*/
|
|
1447
1448
|
updateItems(
|
|
@@ -1459,6 +1460,26 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
|
|
|
1459
1460
|
*/
|
|
1460
1461
|
oMultiValueField: MultiValueField
|
|
1461
1462
|
): void;
|
|
1463
|
+
/**
|
|
1464
|
+
* Implements the model-specific logic to update items after conditions have been updated.
|
|
1465
|
+
*
|
|
1466
|
+
* Items can be removed, updated, or added. Use the binding information of the `MultiValueField` control
|
|
1467
|
+
* to update the data in the related model.
|
|
1468
|
+
*
|
|
1469
|
+
* @since 1.142
|
|
1470
|
+
* @experimental
|
|
1471
|
+
*/
|
|
1472
|
+
updateItemsFromConditions(
|
|
1473
|
+
/**
|
|
1474
|
+
* Current `MultiValueField` control to determine binding information to update the values of the related
|
|
1475
|
+
* model
|
|
1476
|
+
*/
|
|
1477
|
+
oMultiValueField: MultiValueField,
|
|
1478
|
+
/**
|
|
1479
|
+
* Current conditions of the `MultiValueField` control
|
|
1480
|
+
*/
|
|
1481
|
+
aConditions: ConditionObject[]
|
|
1482
|
+
): void;
|
|
1462
1483
|
}
|
|
1463
1484
|
const MultiValueFieldDelegate: MultiValueFieldDelegate;
|
|
1464
1485
|
export default MultiValueFieldDelegate;
|
|
@@ -1654,6 +1675,330 @@ declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
|
1654
1675
|
export default FilterBarDelegate;
|
|
1655
1676
|
}
|
|
1656
1677
|
|
|
1678
|
+
declare module "sap/ui/mdc/GeomapDelegate" {
|
|
1679
|
+
import AggregationBaseDelegate from "sap/ui/mdc/AggregationBaseDelegate";
|
|
1680
|
+
|
|
1681
|
+
import Geomap from "sap/ui/mdc/Geomap";
|
|
1682
|
+
|
|
1683
|
+
import Control from "sap/ui/core/Control";
|
|
1684
|
+
|
|
1685
|
+
import { AggregationBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1686
|
+
|
|
1687
|
+
import { URI } from "sap/ui/core/library";
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* Base Delegate for {@link sap.ui.mdc.Geomap Geomap}. Extend this object in your project to use all functionalities
|
|
1691
|
+
* of the {@link sap.ui.mdc.GeoMap GeoMap}.
|
|
1692
|
+
* This class provides method calls, that are called by the `geomap` for specific operations and overwrite
|
|
1693
|
+
* the internal behavior.
|
|
1694
|
+
*
|
|
1695
|
+
* @experimental As of version 1.142.
|
|
1696
|
+
*/
|
|
1697
|
+
interface GeomapDelegate extends AggregationBaseDelegate {
|
|
1698
|
+
/**
|
|
1699
|
+
* Returns the instance of the inner geomap.
|
|
1700
|
+
*
|
|
1701
|
+
*
|
|
1702
|
+
* @returns Instance of the inner geomap
|
|
1703
|
+
*/
|
|
1704
|
+
_getInnerGeomap(
|
|
1705
|
+
/**
|
|
1706
|
+
* Reference to the MDC geomap
|
|
1707
|
+
*/
|
|
1708
|
+
oGeomap: Geomap
|
|
1709
|
+
): Control;
|
|
1710
|
+
/**
|
|
1711
|
+
* Creates a new geomap item for a given property name and updates the inner geomap.
|
|
1712
|
+
* **Note:** This does **not** add the geomap item to the `Items` aggregation of the geomap. Called and
|
|
1713
|
+
* used by `p13n`.
|
|
1714
|
+
*
|
|
1715
|
+
*
|
|
1716
|
+
* @returns `Promise` that resolves with new geomap `Item` as parameter
|
|
1717
|
+
*/
|
|
1718
|
+
addItem(
|
|
1719
|
+
/**
|
|
1720
|
+
* Reference to the MDC geomap to add the property to
|
|
1721
|
+
*/
|
|
1722
|
+
oGeomap: Geomap,
|
|
1723
|
+
/**
|
|
1724
|
+
* The name of the property added
|
|
1725
|
+
*/
|
|
1726
|
+
sPropertyName: string,
|
|
1727
|
+
/**
|
|
1728
|
+
* The property bag containing useful information about the change
|
|
1729
|
+
*/
|
|
1730
|
+
mPropertyBag: object,
|
|
1731
|
+
/**
|
|
1732
|
+
* New role for given item
|
|
1733
|
+
*/
|
|
1734
|
+
sRole?: string
|
|
1735
|
+
): Promise<object>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Creates the initial content for the geomap before the metadata is retrieved.
|
|
1738
|
+
* This can be used by geomap libraries that can already show some information without the actual data
|
|
1739
|
+
* (for example, axis labels, legend, ...).
|
|
1740
|
+
*/
|
|
1741
|
+
createInitialGeomapContent(
|
|
1742
|
+
/**
|
|
1743
|
+
* Reference to the geomap
|
|
1744
|
+
*/
|
|
1745
|
+
oGeomap: Geomap
|
|
1746
|
+
): void;
|
|
1747
|
+
/**
|
|
1748
|
+
* Binds the inner geomap to the back-end data and creates the inner geomap content.
|
|
1749
|
+
*/
|
|
1750
|
+
createInnerGeomapContent(
|
|
1751
|
+
/**
|
|
1752
|
+
* Reference to the geomap
|
|
1753
|
+
*/
|
|
1754
|
+
oGeomap: Geomap,
|
|
1755
|
+
/**
|
|
1756
|
+
* Callback function when data is loaded
|
|
1757
|
+
*/
|
|
1758
|
+
fnCallbackDataLoaded: Function
|
|
1759
|
+
): void;
|
|
1760
|
+
/**
|
|
1761
|
+
* Returns the relevant property info based on the metadata used with the geomap instance.
|
|
1762
|
+
*
|
|
1763
|
+
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
1764
|
+
* Any changes of the returned values might result in undesired effects.
|
|
1765
|
+
*
|
|
1766
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.GeoMap#setPropertyInfo`) must not be removed and their
|
|
1767
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
1768
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
1769
|
+
* as the opening of any personalization dialog) are activated.
|
|
1770
|
+
*
|
|
1771
|
+
*
|
|
1772
|
+
* @returns Array of the property infos that is used within the geomap
|
|
1773
|
+
*/
|
|
1774
|
+
fetchProperties(
|
|
1775
|
+
/**
|
|
1776
|
+
* Reference to the geomap
|
|
1777
|
+
*/
|
|
1778
|
+
oGeomap: Geomap
|
|
1779
|
+
): Promise</* was: sap.ui.mdc.GeoMap.PropertyInfo */ any[]>;
|
|
1780
|
+
/**
|
|
1781
|
+
* Returns the binding info for given geomap.
|
|
1782
|
+
*
|
|
1783
|
+
*
|
|
1784
|
+
* @returns BindingInfo object
|
|
1785
|
+
*/
|
|
1786
|
+
getBindingInfo(
|
|
1787
|
+
/**
|
|
1788
|
+
* Reference to the geomap
|
|
1789
|
+
*/
|
|
1790
|
+
oGeomap: Geomap
|
|
1791
|
+
): AggregationBindingInfo;
|
|
1792
|
+
/**
|
|
1793
|
+
* Returns the information for control positions on the map.
|
|
1794
|
+
*
|
|
1795
|
+
*
|
|
1796
|
+
* @returns with defined control positions
|
|
1797
|
+
*/
|
|
1798
|
+
getControlPositions(): object;
|
|
1799
|
+
/**
|
|
1800
|
+
* Gets the information whether the inner geomap is currently bound.
|
|
1801
|
+
*
|
|
1802
|
+
*
|
|
1803
|
+
* @returns `true` if inner geomap is bound; `false` if not
|
|
1804
|
+
*/
|
|
1805
|
+
getGeomapBound(
|
|
1806
|
+
/**
|
|
1807
|
+
* Reference to the geomap
|
|
1808
|
+
*/
|
|
1809
|
+
oGeomap: Geomap
|
|
1810
|
+
): boolean;
|
|
1811
|
+
/**
|
|
1812
|
+
* Returns the current geomap type.
|
|
1813
|
+
*
|
|
1814
|
+
*
|
|
1815
|
+
* @returns Information about the current geomap type
|
|
1816
|
+
*/
|
|
1817
|
+
getGeomapTypeInfo(
|
|
1818
|
+
/**
|
|
1819
|
+
* Reference to the MDC geomap
|
|
1820
|
+
*/
|
|
1821
|
+
oGeomap: Geomap
|
|
1822
|
+
): /* was: sap.ui.mdc.GeoMap.GeomapTypeObject */ any[];
|
|
1823
|
+
/**
|
|
1824
|
+
* Gets the current zooming information for the geomap.
|
|
1825
|
+
*
|
|
1826
|
+
*
|
|
1827
|
+
* @returns Current `zoom` level of the inner geomap
|
|
1828
|
+
*/
|
|
1829
|
+
getZoomLevel(
|
|
1830
|
+
/**
|
|
1831
|
+
* Reference to the geomap
|
|
1832
|
+
*/
|
|
1833
|
+
oGeomap: Geomap
|
|
1834
|
+
): float;
|
|
1835
|
+
/**
|
|
1836
|
+
* Loads the required libraries and creates the inner geomap.
|
|
1837
|
+
* By default, the method returns `Promise.reject()`.
|
|
1838
|
+
*
|
|
1839
|
+
*
|
|
1840
|
+
* @returns Resolved once the inner geomap has been initialized
|
|
1841
|
+
*/
|
|
1842
|
+
initializeGeomap(
|
|
1843
|
+
/**
|
|
1844
|
+
* Reference to the geomap
|
|
1845
|
+
*/
|
|
1846
|
+
oGeomap: Geomap
|
|
1847
|
+
): Promise<any>;
|
|
1848
|
+
/**
|
|
1849
|
+
* Inserts a geomap item (spot / circle for `sap.geomap.geomap`) into the inner geomap.
|
|
1850
|
+
* This function is called by the geomap for a change of the `Items` aggregation.
|
|
1851
|
+
* **Note:** Do not call this yourself, as it would not be synced with the geomap, but insert the item
|
|
1852
|
+
* into the geomap instead.
|
|
1853
|
+
*/
|
|
1854
|
+
insertItemToGeomap(
|
|
1855
|
+
/**
|
|
1856
|
+
* geomap into which the item is insert
|
|
1857
|
+
*/
|
|
1858
|
+
oGeomap: Geomap,
|
|
1859
|
+
/**
|
|
1860
|
+
* geomap item (spot, container, circle & etc. )that is inserted into the inner geomap
|
|
1861
|
+
*/
|
|
1862
|
+
oGeomapItem: object,
|
|
1863
|
+
/**
|
|
1864
|
+
* The index into which the geomap item is inserted
|
|
1865
|
+
*/
|
|
1866
|
+
iIndex: int,
|
|
1867
|
+
/**
|
|
1868
|
+
* the type of item which should be added to the geomap
|
|
1869
|
+
*/
|
|
1870
|
+
sType: string
|
|
1871
|
+
): void;
|
|
1872
|
+
/**
|
|
1873
|
+
* Checks the binding of the geomap and rebinds it if required.
|
|
1874
|
+
*/
|
|
1875
|
+
rebind(
|
|
1876
|
+
/**
|
|
1877
|
+
* Reference to the geomap
|
|
1878
|
+
*/
|
|
1879
|
+
oGeomap: Geomap,
|
|
1880
|
+
/**
|
|
1881
|
+
* BindingInfo of the geomap
|
|
1882
|
+
*/
|
|
1883
|
+
oBindingInfo: AggregationBindingInfo
|
|
1884
|
+
): void;
|
|
1885
|
+
/**
|
|
1886
|
+
* Removes an existing geomap item for a given property name and updates the inner geomap..
|
|
1887
|
+
*
|
|
1888
|
+
*
|
|
1889
|
+
* @returns `Promise` containing information whether the item was deleted
|
|
1890
|
+
*/
|
|
1891
|
+
removeItem(
|
|
1892
|
+
/**
|
|
1893
|
+
* Reference to the MDC geomap from which property is removed
|
|
1894
|
+
*/
|
|
1895
|
+
oGeomap: Geomap,
|
|
1896
|
+
/**
|
|
1897
|
+
* The `item` that is removed from the geomap
|
|
1898
|
+
*/
|
|
1899
|
+
oItem: object,
|
|
1900
|
+
/**
|
|
1901
|
+
* The property bag containing useful information about the change
|
|
1902
|
+
*/
|
|
1903
|
+
mPropertyBag: object
|
|
1904
|
+
): Promise<boolean>;
|
|
1905
|
+
/**
|
|
1906
|
+
* Removes a geomap item (spot / circle for `sap.geomap.geomap`) from the inner geomap.
|
|
1907
|
+
* This function is called by the geomap for a change of the `Items` aggregation.
|
|
1908
|
+
* **Note:** Do not call this yourself, as it would not be synced with the geomap, but remove the item
|
|
1909
|
+
* from the geomap instead.
|
|
1910
|
+
*/
|
|
1911
|
+
removeItemFromGeomap(
|
|
1912
|
+
/**
|
|
1913
|
+
* geomap from which the item is removed
|
|
1914
|
+
*/
|
|
1915
|
+
oGeoap: Geomap,
|
|
1916
|
+
/**
|
|
1917
|
+
* geomap item that is removed from the geomap
|
|
1918
|
+
*/
|
|
1919
|
+
oGeomapItem: object,
|
|
1920
|
+
/**
|
|
1921
|
+
* geomap item type that should be removed from the geomap
|
|
1922
|
+
*/
|
|
1923
|
+
sType: string
|
|
1924
|
+
): void;
|
|
1925
|
+
/**
|
|
1926
|
+
* Updates the binding info with the relevant information.
|
|
1927
|
+
* By default, this method updates a given {@link sap.ui.base.ManagedObject.AggregationBindingInfo AggregationBindingInfo}.
|
|
1928
|
+
*/
|
|
1929
|
+
updateBindingInfo(
|
|
1930
|
+
/**
|
|
1931
|
+
* Reference to the geomap
|
|
1932
|
+
*/
|
|
1933
|
+
oGeomap: Geomap,
|
|
1934
|
+
/**
|
|
1935
|
+
* Binding info of the geomap
|
|
1936
|
+
*/
|
|
1937
|
+
oBindingInfo: AggregationBindingInfo
|
|
1938
|
+
): void;
|
|
1939
|
+
/**
|
|
1940
|
+
* Notifies the inner geomap to zoom in.
|
|
1941
|
+
*/
|
|
1942
|
+
zoomIn(
|
|
1943
|
+
/**
|
|
1944
|
+
* Reference to the geomap
|
|
1945
|
+
*/
|
|
1946
|
+
oGeomap: Geomap
|
|
1947
|
+
): void;
|
|
1948
|
+
/**
|
|
1949
|
+
* Notifies the inner geomap to zoom out.
|
|
1950
|
+
*/
|
|
1951
|
+
zoomOut(
|
|
1952
|
+
/**
|
|
1953
|
+
* Reference to the geomap
|
|
1954
|
+
*/
|
|
1955
|
+
oGeoMap: /* was: sap.ui.mdc.GeoMap */ any
|
|
1956
|
+
): void;
|
|
1957
|
+
}
|
|
1958
|
+
const GeomapDelegate: GeomapDelegate;
|
|
1959
|
+
export default GeomapDelegate;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Geomap `GeomapTypeObject` type.
|
|
1963
|
+
*
|
|
1964
|
+
* @experimental As of version 1.142.
|
|
1965
|
+
*/
|
|
1966
|
+
export type GeomapTypeObject = {
|
|
1967
|
+
/**
|
|
1968
|
+
* Unique key of the geomap type
|
|
1969
|
+
*/
|
|
1970
|
+
key: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* URI for the icon for the current geomap type
|
|
1973
|
+
*/
|
|
1974
|
+
icon: URI;
|
|
1975
|
+
/**
|
|
1976
|
+
* Name of the current geomap type
|
|
1977
|
+
*/
|
|
1978
|
+
text: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* Whether the geomap type is the one currently used
|
|
1981
|
+
*/
|
|
1982
|
+
selected: boolean;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* geomap `ZoomState` type.
|
|
1987
|
+
*
|
|
1988
|
+
* @experimental As of version 1.142.
|
|
1989
|
+
*/
|
|
1990
|
+
export type ZoomState = {
|
|
1991
|
+
/**
|
|
1992
|
+
* Zooming is enabled if set to `true`
|
|
1993
|
+
*/
|
|
1994
|
+
enabled: boolean;
|
|
1995
|
+
/**
|
|
1996
|
+
* Current zoom level of the geomap in percent (between 0 and 1)
|
|
1997
|
+
*/
|
|
1998
|
+
currentZoomLevel: number;
|
|
1999
|
+
};
|
|
2000
|
+
}
|
|
2001
|
+
|
|
1657
2002
|
declare module "sap/ui/mdc/LinkDelegate" {
|
|
1658
2003
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
1659
2004
|
|
|
@@ -2989,9 +3334,8 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2989
3334
|
/**
|
|
2990
3335
|
* Returns filters that are used when updating the binding of the `ValueHelp`.
|
|
2991
3336
|
* By default, this method returns a set of {@link sap.ui.model.Filter Filters} originating from an available
|
|
2992
|
-
* {@link sap.ui.mdc.FilterBar FilterBar}
|
|
2993
|
-
*
|
|
2994
|
-
* of the given {@link sap.ui.mdc.valuehelp.base.FilterableListContent FilterableListContent}.
|
|
3337
|
+
* {@link sap.ui.mdc.FilterBar FilterBar} or the delegate's own {@link module:sap/ui/mdc/ValueHelpDelegate.getFilterConditions getFilterConditions }
|
|
3338
|
+
* implementation.
|
|
2995
3339
|
*
|
|
2996
3340
|
* @since 1.121
|
|
2997
3341
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -7744,6 +8088,16 @@ declare module "sap/ui/mdc/enums/FilterBarValidationStatus" {
|
|
|
7744
8088
|
export default FilterBarValidationStatus;
|
|
7745
8089
|
}
|
|
7746
8090
|
|
|
8091
|
+
declare module "sap/ui/mdc/enums/GeomapControlPosition" {
|
|
8092
|
+
/**
|
|
8093
|
+
* Enumeration of the `position` property of the Geomap controls
|
|
8094
|
+
*
|
|
8095
|
+
* @experimental As of version 1.142.
|
|
8096
|
+
*/
|
|
8097
|
+
enum GeomapControlPosition {}
|
|
8098
|
+
export default GeomapControlPosition;
|
|
8099
|
+
}
|
|
8100
|
+
|
|
7747
8101
|
declare module "sap/ui/mdc/enums/LinkType" {
|
|
7748
8102
|
/**
|
|
7749
8103
|
* Defines the behavior of the {@link sap.ui.mdc.Link}.
|
|
@@ -8994,6 +9348,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
8994
9348
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
8995
9349
|
* property.
|
|
8996
9350
|
*
|
|
9351
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9352
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9353
|
+
*
|
|
8997
9354
|
*
|
|
8998
9355
|
* @returns Value of property `additionalValue`
|
|
8999
9356
|
*/
|
|
@@ -9058,6 +9415,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9058
9415
|
*
|
|
9059
9416
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
9060
9417
|
*
|
|
9418
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9419
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9420
|
+
*
|
|
9061
9421
|
*
|
|
9062
9422
|
* @returns Value of property `value`
|
|
9063
9423
|
*/
|
|
@@ -9070,6 +9430,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9070
9430
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
9071
9431
|
* property.
|
|
9072
9432
|
*
|
|
9433
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9434
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9435
|
+
*
|
|
9073
9436
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9074
9437
|
*
|
|
9075
9438
|
*
|
|
@@ -9174,6 +9537,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9174
9537
|
*
|
|
9175
9538
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
9176
9539
|
*
|
|
9540
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9541
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9542
|
+
*
|
|
9177
9543
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9178
9544
|
*
|
|
9179
9545
|
*
|
|
@@ -9219,6 +9585,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9219
9585
|
* The value of the field.
|
|
9220
9586
|
*
|
|
9221
9587
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
9588
|
+
*
|
|
9589
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9590
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9222
9591
|
*/
|
|
9223
9592
|
value?: any | PropertyBindingInfo | `{${string}}`;
|
|
9224
9593
|
|
|
@@ -9227,6 +9596,9 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9227
9596
|
*
|
|
9228
9597
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
9229
9598
|
* property.
|
|
9599
|
+
*
|
|
9600
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
9601
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
9230
9602
|
*/
|
|
9231
9603
|
additionalValue?: any | PropertyBindingInfo | `{${string}}`;
|
|
9232
9604
|
|
|
@@ -11562,6 +11934,23 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11562
11934
|
*/
|
|
11563
11935
|
sWidth?: CSSSize
|
|
11564
11936
|
): this;
|
|
11937
|
+
/**
|
|
11938
|
+
* Checks if a condition update needs to fire a `ValidationSuccess` event.
|
|
11939
|
+
*
|
|
11940
|
+
* This is required in {@link sap.ui.mdc.field.Field Field} if the condition update doesn't lead to an update
|
|
11941
|
+
* of the {@link sap.ui.mdc.field.Field#setValue value} property. (If only description or payload is changed.)
|
|
11942
|
+
*
|
|
11943
|
+
* @since 1.142.0
|
|
11944
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11945
|
+
*
|
|
11946
|
+
* @returns `true` if the `ValidationSuccess` event is fired
|
|
11947
|
+
*/
|
|
11948
|
+
shouldFireValidationSuccessOnConditionUpdate(
|
|
11949
|
+
/**
|
|
11950
|
+
* Current conditions
|
|
11951
|
+
*/
|
|
11952
|
+
aConditions: ConditionObject[]
|
|
11953
|
+
): boolean;
|
|
11565
11954
|
/**
|
|
11566
11955
|
* Triggers a check if all relevant properties are set to create the internal content control.
|
|
11567
11956
|
*
|
|
@@ -12695,6 +13084,8 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12695
13084
|
|
|
12696
13085
|
import { IFilterSource, IFilter, IxState, State } from "sap/ui/mdc/library";
|
|
12697
13086
|
|
|
13087
|
+
import InvisibleText from "sap/ui/core/InvisibleText";
|
|
13088
|
+
|
|
12698
13089
|
import FilterBarValidationStatus from "sap/ui/mdc/enums/FilterBarValidationStatus";
|
|
12699
13090
|
|
|
12700
13091
|
import FilterField from "sap/ui/mdc/FilterField";
|
|
@@ -12788,6 +13179,18 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12788
13179
|
* @returns Metadata object describing this class
|
|
12789
13180
|
*/
|
|
12790
13181
|
static getMetadata(): ElementMetadata;
|
|
13182
|
+
/**
|
|
13183
|
+
* Adds an `InvisibleText` to the `FilterBar` that can be used for accessibility purposes.
|
|
13184
|
+
*
|
|
13185
|
+
* @since 1.142
|
|
13186
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13187
|
+
*/
|
|
13188
|
+
addInvisibleText(
|
|
13189
|
+
/**
|
|
13190
|
+
* The invisible text to be added
|
|
13191
|
+
*/
|
|
13192
|
+
oInvisibleText: InvisibleText
|
|
13193
|
+
): void;
|
|
12791
13194
|
/**
|
|
12792
13195
|
* Attaches event handler `fnFunction` to the {@link #event:filtersChanged filtersChanged} event of this
|
|
12793
13196
|
* `sap.ui.mdc.filterbar.FilterBarBase`.
|
|
@@ -12975,9 +13378,22 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12975
13378
|
mParameters?: FilterBarBase$SearchEventParameters
|
|
12976
13379
|
): this;
|
|
12977
13380
|
/**
|
|
12978
|
-
*
|
|
13381
|
+
* Updates the Adapt Filters button text based on the number of assigned filters.
|
|
12979
13382
|
*
|
|
12980
|
-
*
|
|
13383
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13384
|
+
*
|
|
13385
|
+
* @returns text for the Adapt Filters button
|
|
13386
|
+
*/
|
|
13387
|
+
getAdaptFiltersButtonText(
|
|
13388
|
+
/**
|
|
13389
|
+
* number of assigned filters
|
|
13390
|
+
*/
|
|
13391
|
+
iFilterCount: int
|
|
13392
|
+
): string;
|
|
13393
|
+
/**
|
|
13394
|
+
* Gets the labels of all filters with a value assignment.
|
|
13395
|
+
*
|
|
13396
|
+
* **Note:** Filters annotated with `hiddenFilters` will not be considered.
|
|
12981
13397
|
*
|
|
12982
13398
|
*
|
|
12983
13399
|
* @returns Array of labels of filters with value assignment
|
|
@@ -13051,6 +13467,20 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
13051
13467
|
* Also, the `conditions` property of `filterItems` is managed by the control.
|
|
13052
13468
|
*/
|
|
13053
13469
|
getFilterItems(): FilterField[];
|
|
13470
|
+
/**
|
|
13471
|
+
* Retrieves an `InvisibleText` by ID.
|
|
13472
|
+
*
|
|
13473
|
+
* @since 1.142
|
|
13474
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13475
|
+
*
|
|
13476
|
+
* @returns The invisible text with the given ID
|
|
13477
|
+
*/
|
|
13478
|
+
getInvisibleText(
|
|
13479
|
+
/**
|
|
13480
|
+
* ID of the invisible text to be retrieved
|
|
13481
|
+
*/
|
|
13482
|
+
sId: string
|
|
13483
|
+
): InvisibleText;
|
|
13054
13484
|
/**
|
|
13055
13485
|
* Gets current value of property {@link #getLiveMode liveMode}.
|
|
13056
13486
|
*
|
|
@@ -13966,125 +14396,1112 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
13966
14396
|
*
|
|
13967
14397
|
* @since 1.73.0
|
|
13968
14398
|
*
|
|
13969
|
-
* @returns Value of property `operators`
|
|
14399
|
+
* @returns Value of property `operators`
|
|
14400
|
+
*/
|
|
14401
|
+
getOperators(): string[];
|
|
14402
|
+
/**
|
|
14403
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
14404
|
+
*
|
|
14405
|
+
* Key of the property the `FilterField` represents.
|
|
14406
|
+
*
|
|
14407
|
+
* Default value is `empty string`.
|
|
14408
|
+
*
|
|
14409
|
+
* @since 1.115.0
|
|
14410
|
+
*
|
|
14411
|
+
* @returns Value of property `propertyKey`
|
|
14412
|
+
*/
|
|
14413
|
+
getPropertyKey(): string;
|
|
14414
|
+
/**
|
|
14415
|
+
* Removes all operators from the list of known operators.
|
|
14416
|
+
*/
|
|
14417
|
+
removeAllOperators(): void;
|
|
14418
|
+
/**
|
|
14419
|
+
* Removes an operator from the list of known operators. The standard operators can are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14420
|
+
*/
|
|
14421
|
+
removeOperator(
|
|
14422
|
+
/**
|
|
14423
|
+
* The operator instance or operator name
|
|
14424
|
+
*/
|
|
14425
|
+
vOperator: Operator | string
|
|
14426
|
+
): void;
|
|
14427
|
+
/**
|
|
14428
|
+
* Removes all given operators from the list of known operators.
|
|
14429
|
+
*
|
|
14430
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
14431
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14432
|
+
*/
|
|
14433
|
+
removeOperators(
|
|
14434
|
+
/**
|
|
14435
|
+
* Array of operators
|
|
14436
|
+
*/
|
|
14437
|
+
aOperators: Operator[]
|
|
14438
|
+
): void;
|
|
14439
|
+
/**
|
|
14440
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
14441
|
+
*
|
|
14442
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
14443
|
+
* and validate the value.
|
|
14444
|
+
*
|
|
14445
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
14446
|
+
*
|
|
14447
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14448
|
+
*
|
|
14449
|
+
* @since 1.118.0
|
|
14450
|
+
*
|
|
14451
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14452
|
+
*/
|
|
14453
|
+
setAdditionalDataType(
|
|
14454
|
+
/**
|
|
14455
|
+
* New value for property `additionalDataType`
|
|
14456
|
+
*/
|
|
14457
|
+
oAdditionalDataType?: object
|
|
14458
|
+
): this;
|
|
14459
|
+
/**
|
|
14460
|
+
* Sets a new value for property {@link #getDefaultOperator defaultOperator}.
|
|
14461
|
+
*
|
|
14462
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14463
|
+
* used is taken.
|
|
14464
|
+
*
|
|
14465
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14466
|
+
* instance itself.
|
|
14467
|
+
*
|
|
14468
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14469
|
+
*
|
|
14470
|
+
* @since 1.88.0
|
|
14471
|
+
*
|
|
14472
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14473
|
+
*/
|
|
14474
|
+
setDefaultOperator(
|
|
14475
|
+
/**
|
|
14476
|
+
* New value for property `defaultOperator`
|
|
14477
|
+
*/
|
|
14478
|
+
sDefaultOperator?: string
|
|
14479
|
+
): this;
|
|
14480
|
+
/**
|
|
14481
|
+
* Sets a new value for property {@link #getOperators operators}.
|
|
14482
|
+
*
|
|
14483
|
+
* Supported operator names for conditions.
|
|
14484
|
+
*
|
|
14485
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
14486
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14487
|
+
*
|
|
14488
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
14489
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
14490
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
14491
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
14492
|
+
* provides the value the custom control needs.
|
|
14493
|
+
*
|
|
14494
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14495
|
+
*
|
|
14496
|
+
* Default value is `[]`.
|
|
14497
|
+
*
|
|
14498
|
+
* @since 1.73.0
|
|
14499
|
+
*
|
|
14500
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14501
|
+
*/
|
|
14502
|
+
setOperators(
|
|
14503
|
+
/**
|
|
14504
|
+
* New value for property `operators`
|
|
14505
|
+
*/
|
|
14506
|
+
sOperators?: string[]
|
|
14507
|
+
): this;
|
|
14508
|
+
/**
|
|
14509
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
14510
|
+
*
|
|
14511
|
+
* Key of the property the `FilterField` represents.
|
|
14512
|
+
*
|
|
14513
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14514
|
+
*
|
|
14515
|
+
* Default value is `empty string`.
|
|
14516
|
+
*
|
|
14517
|
+
* @since 1.115.0
|
|
14518
|
+
*
|
|
14519
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14520
|
+
*/
|
|
14521
|
+
setPropertyKey(
|
|
14522
|
+
/**
|
|
14523
|
+
* New value for property `propertyKey`
|
|
14524
|
+
*/
|
|
14525
|
+
sPropertyKey?: string
|
|
14526
|
+
): this;
|
|
14527
|
+
}
|
|
14528
|
+
/**
|
|
14529
|
+
* Describes the settings that can be provided to the FilterField constructor.
|
|
14530
|
+
*/
|
|
14531
|
+
export interface $FilterFieldSettings extends $FieldBaseSettings {
|
|
14532
|
+
/**
|
|
14533
|
+
* Supported operator names for conditions.
|
|
14534
|
+
*
|
|
14535
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
14536
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14537
|
+
*
|
|
14538
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
14539
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
14540
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
14541
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
14542
|
+
* provides the value the custom control needs.
|
|
14543
|
+
*
|
|
14544
|
+
* @since 1.73.0
|
|
14545
|
+
*/
|
|
14546
|
+
operators?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
14547
|
+
|
|
14548
|
+
/**
|
|
14549
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14550
|
+
* used is taken.
|
|
14551
|
+
*
|
|
14552
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14553
|
+
* instance itself.
|
|
14554
|
+
*
|
|
14555
|
+
* @since 1.88.0
|
|
14556
|
+
*/
|
|
14557
|
+
defaultOperator?: string | PropertyBindingInfo;
|
|
14558
|
+
|
|
14559
|
+
/**
|
|
14560
|
+
* Key of the property the `FilterField` represents.
|
|
14561
|
+
*
|
|
14562
|
+
* @since 1.115.0
|
|
14563
|
+
*/
|
|
14564
|
+
propertyKey?: string | PropertyBindingInfo;
|
|
14565
|
+
|
|
14566
|
+
/**
|
|
14567
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
14568
|
+
* and validate the value.
|
|
14569
|
+
*
|
|
14570
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
14571
|
+
*
|
|
14572
|
+
* @since 1.118.0
|
|
14573
|
+
*/
|
|
14574
|
+
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
14575
|
+
|
|
14576
|
+
/**
|
|
14577
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
14578
|
+
*
|
|
14579
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
14580
|
+
*/
|
|
14581
|
+
change?: (oEvent: FilterField$ChangeEvent) => void;
|
|
14582
|
+
}
|
|
14583
|
+
|
|
14584
|
+
/**
|
|
14585
|
+
* Parameters of the FilterField#change event.
|
|
14586
|
+
*/
|
|
14587
|
+
export interface FilterField$ChangeEventParameters {
|
|
14588
|
+
/**
|
|
14589
|
+
* The new value of the `control`
|
|
14590
|
+
*/
|
|
14591
|
+
value?: string;
|
|
14592
|
+
|
|
14593
|
+
/**
|
|
14594
|
+
* Flag that indicates if the entered `value` is valid
|
|
14595
|
+
*/
|
|
14596
|
+
valid?: boolean;
|
|
14597
|
+
|
|
14598
|
+
/**
|
|
14599
|
+
* Conditions of the field. This includes all conditions, not only the changed ones.
|
|
14600
|
+
*
|
|
14601
|
+
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
14602
|
+
*/
|
|
14603
|
+
conditions?: object[];
|
|
14604
|
+
|
|
14605
|
+
/**
|
|
14606
|
+
* Returns a `Promise` for the change. The `Promise` returns the value if it is resolved. If the `change`
|
|
14607
|
+
* event is synchronous, the `Promise` has already been resolved. If it is asynchronous, it will be resolved
|
|
14608
|
+
* after the value has been updated.
|
|
14609
|
+
*
|
|
14610
|
+
* The `FilterField` should be set to busy during the parsing to prevent user input. As there might be a
|
|
14611
|
+
* whole group of fields that needs to be busy, this cannot be done automatically.
|
|
14612
|
+
*/
|
|
14613
|
+
promise?: boolean;
|
|
14614
|
+
}
|
|
14615
|
+
|
|
14616
|
+
/**
|
|
14617
|
+
* Event object of the FilterField#change event.
|
|
14618
|
+
*/
|
|
14619
|
+
export type FilterField$ChangeEvent = Event<
|
|
14620
|
+
FilterField$ChangeEventParameters,
|
|
14621
|
+
FilterField
|
|
14622
|
+
>;
|
|
14623
|
+
}
|
|
14624
|
+
|
|
14625
|
+
declare module "sap/ui/mdc/Geomap" {
|
|
14626
|
+
import { default as Control, $ControlSettings } from "sap/ui/mdc/Control";
|
|
14627
|
+
|
|
14628
|
+
import { IFilterSource, IxState } from "sap/ui/mdc/library";
|
|
14629
|
+
|
|
14630
|
+
import Event from "sap/ui/base/Event";
|
|
14631
|
+
|
|
14632
|
+
import { CSSSize } from "sap/ui/core/library";
|
|
14633
|
+
|
|
14634
|
+
import Item from "sap/ui/mdc/geomap/Item";
|
|
14635
|
+
|
|
14636
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
14637
|
+
|
|
14638
|
+
import { PropertyInfo as PropertyInfo1 } from "sap/ui/mdc/util/PropertyHelper";
|
|
14639
|
+
|
|
14640
|
+
import {
|
|
14641
|
+
PropertyBindingInfo,
|
|
14642
|
+
AggregationBindingInfo,
|
|
14643
|
+
} from "sap/ui/base/ManagedObject";
|
|
14644
|
+
|
|
14645
|
+
/**
|
|
14646
|
+
* The `Geomap` control creates a geomap based on metadata and the configuration specified.
|
|
14647
|
+
* **Note:** The geomap needs to be created inside the `GeomapDelegate`.
|
|
14648
|
+
*
|
|
14649
|
+
* @experimental As of version 1.142.
|
|
14650
|
+
*/
|
|
14651
|
+
export default class Geomap
|
|
14652
|
+
extends Control
|
|
14653
|
+
implements IFilterSource, IxState
|
|
14654
|
+
{
|
|
14655
|
+
__implements__sap_ui_mdc_IFilterSource: boolean;
|
|
14656
|
+
__implements__sap_ui_mdc_IxState: boolean;
|
|
14657
|
+
/**
|
|
14658
|
+
* Constructor for a new GeoMap.
|
|
14659
|
+
*
|
|
14660
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
14661
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
14662
|
+
* of the syntax of the settings object.
|
|
14663
|
+
* See:
|
|
14664
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
14665
|
+
*/
|
|
14666
|
+
constructor(
|
|
14667
|
+
/**
|
|
14668
|
+
* Initial settings for the new control
|
|
14669
|
+
*/
|
|
14670
|
+
mSettings?: $GeomapSettings
|
|
14671
|
+
);
|
|
14672
|
+
/**
|
|
14673
|
+
* Constructor for a new GeoMap.
|
|
14674
|
+
*
|
|
14675
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
14676
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
14677
|
+
* of the syntax of the settings object.
|
|
14678
|
+
* See:
|
|
14679
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
14680
|
+
*/
|
|
14681
|
+
constructor(
|
|
14682
|
+
/**
|
|
14683
|
+
* ID for the new control, generated automatically if no id is given
|
|
14684
|
+
*/
|
|
14685
|
+
sId?: string,
|
|
14686
|
+
/**
|
|
14687
|
+
* Initial settings for the new control
|
|
14688
|
+
*/
|
|
14689
|
+
mSettings?: $GeomapSettings
|
|
14690
|
+
);
|
|
14691
|
+
|
|
14692
|
+
/**
|
|
14693
|
+
* Creates a new subclass of class sap.ui.mdc.Geomap with name `sClassName` and enriches it with the information
|
|
14694
|
+
* contained in `oClassInfo`.
|
|
14695
|
+
*
|
|
14696
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.Control.extend}.
|
|
14697
|
+
*
|
|
14698
|
+
*
|
|
14699
|
+
* @returns Created class / constructor function
|
|
14700
|
+
*/
|
|
14701
|
+
static extend<T extends Record<string, unknown>>(
|
|
14702
|
+
/**
|
|
14703
|
+
* Name of the class being created
|
|
14704
|
+
*/
|
|
14705
|
+
sClassName: string,
|
|
14706
|
+
/**
|
|
14707
|
+
* Object literal with information about the class
|
|
14708
|
+
*/
|
|
14709
|
+
oClassInfo?: sap.ClassInfo<T, Geomap>,
|
|
14710
|
+
/**
|
|
14711
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
14712
|
+
* used by this class
|
|
14713
|
+
*/
|
|
14714
|
+
FNMetaImpl?: Function
|
|
14715
|
+
): Function;
|
|
14716
|
+
/**
|
|
14717
|
+
* Returns a metadata object for class sap.ui.mdc.Geomap.
|
|
14718
|
+
*
|
|
14719
|
+
*
|
|
14720
|
+
* @returns Metadata object describing this class
|
|
14721
|
+
*/
|
|
14722
|
+
static getMetadata(): ElementMetadata;
|
|
14723
|
+
/**
|
|
14724
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14725
|
+
*
|
|
14726
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14727
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
14728
|
+
*
|
|
14729
|
+
* This event is fired when zooming is performed on the map.
|
|
14730
|
+
*
|
|
14731
|
+
*
|
|
14732
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14733
|
+
*/
|
|
14734
|
+
attachZoomChange(
|
|
14735
|
+
/**
|
|
14736
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
14737
|
+
* object when firing the event
|
|
14738
|
+
*/
|
|
14739
|
+
oData: object,
|
|
14740
|
+
/**
|
|
14741
|
+
* The function to be called when the event occurs
|
|
14742
|
+
*/
|
|
14743
|
+
fnFunction: (p1: Event) => void,
|
|
14744
|
+
/**
|
|
14745
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
14746
|
+
*/
|
|
14747
|
+
oListener?: object
|
|
14748
|
+
): this;
|
|
14749
|
+
/**
|
|
14750
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14751
|
+
*
|
|
14752
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14753
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
14754
|
+
*
|
|
14755
|
+
* This event is fired when zooming is performed on the map.
|
|
14756
|
+
*
|
|
14757
|
+
*
|
|
14758
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14759
|
+
*/
|
|
14760
|
+
attachZoomChange(
|
|
14761
|
+
/**
|
|
14762
|
+
* The function to be called when the event occurs
|
|
14763
|
+
*/
|
|
14764
|
+
fnFunction: (p1: Event) => void,
|
|
14765
|
+
/**
|
|
14766
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
14767
|
+
*/
|
|
14768
|
+
oListener?: object
|
|
14769
|
+
): this;
|
|
14770
|
+
/**
|
|
14771
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
14772
|
+
*
|
|
14773
|
+
*
|
|
14774
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14775
|
+
*/
|
|
14776
|
+
destroyItems(): this;
|
|
14777
|
+
/**
|
|
14778
|
+
* Detaches event handler `fnFunction` from the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14779
|
+
*
|
|
14780
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
14781
|
+
*
|
|
14782
|
+
*
|
|
14783
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14784
|
+
*/
|
|
14785
|
+
detachZoomChange(
|
|
14786
|
+
/**
|
|
14787
|
+
* The function to be called, when the event occurs
|
|
14788
|
+
*/
|
|
14789
|
+
fnFunction: (p1: Event) => void,
|
|
14790
|
+
/**
|
|
14791
|
+
* Context object on which the given function had to be called
|
|
14792
|
+
*/
|
|
14793
|
+
oListener?: object
|
|
14794
|
+
): this;
|
|
14795
|
+
/**
|
|
14796
|
+
* Fires event {@link #event:zoomChange zoomChange} to attached listeners.
|
|
14797
|
+
*
|
|
14798
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
14799
|
+
*
|
|
14800
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14801
|
+
*/
|
|
14802
|
+
fireZoomChange(
|
|
14803
|
+
/**
|
|
14804
|
+
* Parameters to pass along with the event
|
|
14805
|
+
*/
|
|
14806
|
+
mParameters?: object
|
|
14807
|
+
): this;
|
|
14808
|
+
/**
|
|
14809
|
+
* Gets current value of property {@link #getCenterLat centerLat}.
|
|
14810
|
+
*
|
|
14811
|
+
* Latitude of the point where the map is centered
|
|
14812
|
+
*
|
|
14813
|
+
*
|
|
14814
|
+
* @returns Value of property `centerLat`
|
|
14815
|
+
*/
|
|
14816
|
+
getCenterLat(): float;
|
|
14817
|
+
/**
|
|
14818
|
+
* Gets current value of property {@link #getCenterLng centerLng}.
|
|
14819
|
+
*
|
|
14820
|
+
* Longitude of the point where the map is centered
|
|
14821
|
+
*
|
|
14822
|
+
*
|
|
14823
|
+
* @returns Value of property `centerLng`
|
|
14824
|
+
*/
|
|
14825
|
+
getCenterLng(): float;
|
|
14826
|
+
/**
|
|
14827
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
14828
|
+
*
|
|
14829
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
14830
|
+
* The object has the following properties:
|
|
14831
|
+
* - `name` defines the path to the `Delegate` module
|
|
14832
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
14833
|
+
* Sample delegate object:
|
|
14834
|
+
* ```javascript
|
|
14835
|
+
* {
|
|
14836
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
14837
|
+
* payload: {}
|
|
14838
|
+
* }```
|
|
14839
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
14840
|
+
* that).
|
|
14841
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
14842
|
+
*
|
|
14843
|
+
* Default value is `...see text or source`.
|
|
14844
|
+
*
|
|
14845
|
+
* @experimental
|
|
14846
|
+
*
|
|
14847
|
+
* @returns Value of property `delegate`
|
|
14848
|
+
*/
|
|
14849
|
+
getDelegate(): object;
|
|
14850
|
+
/**
|
|
14851
|
+
* Gets current value of property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
14852
|
+
*
|
|
14853
|
+
* Enables the copyright control for the map
|
|
14854
|
+
*
|
|
14855
|
+
* Default value is `false`.
|
|
14856
|
+
*
|
|
14857
|
+
*
|
|
14858
|
+
* @returns Value of property `enableCopyrightControl`
|
|
14859
|
+
*/
|
|
14860
|
+
getEnableCopyrightControl(): boolean;
|
|
14861
|
+
/**
|
|
14862
|
+
* Gets current value of property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
14863
|
+
*
|
|
14864
|
+
* Enables the full screen control for the map
|
|
14865
|
+
*
|
|
14866
|
+
* Default value is `true`.
|
|
14867
|
+
*
|
|
14868
|
+
*
|
|
14869
|
+
* @returns Value of property `enableFullscreenControl`
|
|
14870
|
+
*/
|
|
14871
|
+
getEnableFullscreenControl(): boolean;
|
|
14872
|
+
/**
|
|
14873
|
+
* Gets current value of property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
14874
|
+
*
|
|
14875
|
+
* Enables the navigation & compas control for the map
|
|
14876
|
+
*
|
|
14877
|
+
* Default value is `true`.
|
|
14878
|
+
*
|
|
14879
|
+
*
|
|
14880
|
+
* @returns Value of property `enableNavigationControl`
|
|
14881
|
+
*/
|
|
14882
|
+
getEnableNavigationControl(): boolean;
|
|
14883
|
+
/**
|
|
14884
|
+
* Gets current value of property {@link #getEnableScaleControl enableScaleControl}.
|
|
14885
|
+
*
|
|
14886
|
+
* Enables the scale control for the map
|
|
14887
|
+
*
|
|
14888
|
+
* Default value is `true`.
|
|
14889
|
+
*
|
|
14890
|
+
*
|
|
14891
|
+
* @returns Value of property `enableScaleControl`
|
|
14892
|
+
*/
|
|
14893
|
+
getEnableScaleControl(): boolean;
|
|
14894
|
+
/**
|
|
14895
|
+
* Gets current value of property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
14896
|
+
*
|
|
14897
|
+
* Enables the selection control for the map
|
|
14898
|
+
*
|
|
14899
|
+
* Default value is `false`.
|
|
14900
|
+
*
|
|
14901
|
+
*
|
|
14902
|
+
* @returns Value of property `enableSelectionControl`
|
|
14903
|
+
*/
|
|
14904
|
+
getEnableSelectionControl(): boolean;
|
|
14905
|
+
/**
|
|
14906
|
+
* Gets current value of property {@link #getHeader header}.
|
|
14907
|
+
*
|
|
14908
|
+
* Header text that appears in the geomap
|
|
14909
|
+
*
|
|
14910
|
+
* Default value is `empty string`.
|
|
14911
|
+
*
|
|
14912
|
+
*
|
|
14913
|
+
* @returns Value of property `header`
|
|
14914
|
+
*/
|
|
14915
|
+
getHeader(): string;
|
|
14916
|
+
/**
|
|
14917
|
+
* Gets current value of property {@link #getHeight height}.
|
|
14918
|
+
*
|
|
14919
|
+
* Defines the height of the geomap.
|
|
14920
|
+
*
|
|
14921
|
+
* Default value is `"700px"`.
|
|
14922
|
+
*
|
|
14923
|
+
*
|
|
14924
|
+
* @returns Value of property `height`
|
|
14925
|
+
*/
|
|
14926
|
+
getHeight(): CSSSize;
|
|
14927
|
+
/**
|
|
14928
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
14929
|
+
*
|
|
14930
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
14931
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
14932
|
+
* are limited to those supported by the webc library.
|
|
14933
|
+
*/
|
|
14934
|
+
getItems(): Item[];
|
|
14935
|
+
/**
|
|
14936
|
+
* Gets current value of property {@link #getWidth width}.
|
|
14937
|
+
*
|
|
14938
|
+
* Defines the width of the geomap.
|
|
14939
|
+
*
|
|
14940
|
+
* Default value is `"700px"`.
|
|
14941
|
+
*
|
|
14942
|
+
*
|
|
14943
|
+
* @returns Value of property `width`
|
|
14944
|
+
*/
|
|
14945
|
+
getWidth(): CSSSize;
|
|
14946
|
+
/**
|
|
14947
|
+
* Gets current value of property {@link #getZoom zoom}.
|
|
14948
|
+
*
|
|
14949
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
14950
|
+
*
|
|
14951
|
+
*
|
|
14952
|
+
* @returns Value of property `zoom`
|
|
14953
|
+
*/
|
|
14954
|
+
getZoom(): float;
|
|
14955
|
+
/**
|
|
14956
|
+
* Checks for the provided `sap.ui.mdc.geomap.Item` in the aggregation {@link #getItems items}. and returns
|
|
14957
|
+
* its index if found or -1 otherwise.
|
|
14958
|
+
*
|
|
14959
|
+
*
|
|
14960
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
14961
|
+
*/
|
|
14962
|
+
indexOfItem(
|
|
14963
|
+
/**
|
|
14964
|
+
* The item whose index is looked for
|
|
14965
|
+
*/
|
|
14966
|
+
oItem: Item
|
|
14967
|
+
): int;
|
|
14968
|
+
/**
|
|
14969
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
14970
|
+
*
|
|
14971
|
+
*
|
|
14972
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14973
|
+
*/
|
|
14974
|
+
insertItem(
|
|
14975
|
+
/**
|
|
14976
|
+
* The item to insert; if empty, nothing is inserted
|
|
14977
|
+
*/
|
|
14978
|
+
oItem: Item,
|
|
14979
|
+
/**
|
|
14980
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
14981
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
14982
|
+
* the last position
|
|
14983
|
+
*/
|
|
14984
|
+
iIndex: int
|
|
14985
|
+
): this;
|
|
14986
|
+
/**
|
|
14987
|
+
* Executes a rebind considering the provided external and inbuilt filtering.
|
|
14988
|
+
*
|
|
14989
|
+
* @since 1.98
|
|
14990
|
+
*
|
|
14991
|
+
* @returns A `Promise` that resolves after rebind is executed, and rejects if rebind cannot be executed,
|
|
14992
|
+
* for example because there are invalid filters.
|
|
14993
|
+
*/
|
|
14994
|
+
rebind(): Promise<any>;
|
|
14995
|
+
/**
|
|
14996
|
+
* Sets a new value for property {@link #getCenterLat centerLat}.
|
|
14997
|
+
*
|
|
14998
|
+
* Latitude of the point where the map is centered
|
|
14999
|
+
*
|
|
15000
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15001
|
+
*
|
|
15002
|
+
*
|
|
15003
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15004
|
+
*/
|
|
15005
|
+
setCenterLat(
|
|
15006
|
+
/**
|
|
15007
|
+
* New value for property `centerLat`
|
|
15008
|
+
*/
|
|
15009
|
+
fCenterLat: float
|
|
15010
|
+
): this;
|
|
15011
|
+
/**
|
|
15012
|
+
* Sets a new value for property {@link #getCenterLng centerLng}.
|
|
15013
|
+
*
|
|
15014
|
+
* Longitude of the point where the map is centered
|
|
15015
|
+
*
|
|
15016
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15017
|
+
*
|
|
15018
|
+
*
|
|
15019
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15020
|
+
*/
|
|
15021
|
+
setCenterLng(
|
|
15022
|
+
/**
|
|
15023
|
+
* New value for property `centerLng`
|
|
15024
|
+
*/
|
|
15025
|
+
fCenterLng: float
|
|
15026
|
+
): this;
|
|
15027
|
+
/**
|
|
15028
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
15029
|
+
*
|
|
15030
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
15031
|
+
* The object has the following properties:
|
|
15032
|
+
* - `name` defines the path to the `Delegate` module
|
|
15033
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
15034
|
+
* Sample delegate object:
|
|
15035
|
+
* ```javascript
|
|
15036
|
+
* {
|
|
15037
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
15038
|
+
* payload: {}
|
|
15039
|
+
* }```
|
|
15040
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
15041
|
+
* that).
|
|
15042
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
15043
|
+
*
|
|
15044
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15045
|
+
*
|
|
15046
|
+
* Default value is `...see text or source`.
|
|
15047
|
+
*
|
|
15048
|
+
* @experimental
|
|
15049
|
+
*
|
|
15050
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15051
|
+
*/
|
|
15052
|
+
setDelegate(
|
|
15053
|
+
/**
|
|
15054
|
+
* New value for property `delegate`
|
|
15055
|
+
*/
|
|
15056
|
+
oDelegate?: object
|
|
15057
|
+
): this;
|
|
15058
|
+
/**
|
|
15059
|
+
* Sets a new value for property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
15060
|
+
*
|
|
15061
|
+
* Enables the copyright control for the map
|
|
15062
|
+
*
|
|
15063
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15064
|
+
*
|
|
15065
|
+
* Default value is `false`.
|
|
15066
|
+
*
|
|
15067
|
+
*
|
|
15068
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15069
|
+
*/
|
|
15070
|
+
setEnableCopyrightControl(
|
|
15071
|
+
/**
|
|
15072
|
+
* New value for property `enableCopyrightControl`
|
|
15073
|
+
*/
|
|
15074
|
+
bEnableCopyrightControl?: boolean
|
|
15075
|
+
): this;
|
|
15076
|
+
/**
|
|
15077
|
+
* Sets a new value for property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
15078
|
+
*
|
|
15079
|
+
* Enables the full screen control for the map
|
|
15080
|
+
*
|
|
15081
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15082
|
+
*
|
|
15083
|
+
* Default value is `true`.
|
|
15084
|
+
*
|
|
15085
|
+
*
|
|
15086
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15087
|
+
*/
|
|
15088
|
+
setEnableFullscreenControl(
|
|
15089
|
+
/**
|
|
15090
|
+
* New value for property `enableFullscreenControl`
|
|
15091
|
+
*/
|
|
15092
|
+
bEnableFullscreenControl?: boolean
|
|
15093
|
+
): this;
|
|
15094
|
+
/**
|
|
15095
|
+
* Sets a new value for property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
15096
|
+
*
|
|
15097
|
+
* Enables the navigation & compas control for the map
|
|
15098
|
+
*
|
|
15099
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15100
|
+
*
|
|
15101
|
+
* Default value is `true`.
|
|
15102
|
+
*
|
|
15103
|
+
*
|
|
15104
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15105
|
+
*/
|
|
15106
|
+
setEnableNavigationControl(
|
|
15107
|
+
/**
|
|
15108
|
+
* New value for property `enableNavigationControl`
|
|
15109
|
+
*/
|
|
15110
|
+
bEnableNavigationControl?: boolean
|
|
15111
|
+
): this;
|
|
15112
|
+
/**
|
|
15113
|
+
* Sets a new value for property {@link #getEnableScaleControl enableScaleControl}.
|
|
15114
|
+
*
|
|
15115
|
+
* Enables the scale control for the map
|
|
15116
|
+
*
|
|
15117
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15118
|
+
*
|
|
15119
|
+
* Default value is `true`.
|
|
15120
|
+
*
|
|
15121
|
+
*
|
|
15122
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15123
|
+
*/
|
|
15124
|
+
setEnableScaleControl(
|
|
15125
|
+
/**
|
|
15126
|
+
* New value for property `enableScaleControl`
|
|
15127
|
+
*/
|
|
15128
|
+
bEnableScaleControl?: boolean
|
|
15129
|
+
): this;
|
|
15130
|
+
/**
|
|
15131
|
+
* Sets a new value for property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
15132
|
+
*
|
|
15133
|
+
* Enables the selection control for the map
|
|
15134
|
+
*
|
|
15135
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15136
|
+
*
|
|
15137
|
+
* Default value is `false`.
|
|
15138
|
+
*
|
|
15139
|
+
*
|
|
15140
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15141
|
+
*/
|
|
15142
|
+
setEnableSelectionControl(
|
|
15143
|
+
/**
|
|
15144
|
+
* New value for property `enableSelectionControl`
|
|
15145
|
+
*/
|
|
15146
|
+
bEnableSelectionControl?: boolean
|
|
15147
|
+
): this;
|
|
15148
|
+
/**
|
|
15149
|
+
* Sets a new value for property {@link #getHeader header}.
|
|
15150
|
+
*
|
|
15151
|
+
* Header text that appears in the geomap
|
|
15152
|
+
*
|
|
15153
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15154
|
+
*
|
|
15155
|
+
* Default value is `empty string`.
|
|
15156
|
+
*
|
|
15157
|
+
*
|
|
15158
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15159
|
+
*/
|
|
15160
|
+
setHeader(
|
|
15161
|
+
/**
|
|
15162
|
+
* New value for property `header`
|
|
15163
|
+
*/
|
|
15164
|
+
sHeader?: string
|
|
15165
|
+
): this;
|
|
15166
|
+
/**
|
|
15167
|
+
* Sets a new value for property {@link #getHeight height}.
|
|
15168
|
+
*
|
|
15169
|
+
* Defines the height of the geomap.
|
|
15170
|
+
*
|
|
15171
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15172
|
+
*
|
|
15173
|
+
* Default value is `"700px"`.
|
|
15174
|
+
*
|
|
15175
|
+
*
|
|
15176
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15177
|
+
*/
|
|
15178
|
+
setHeight(
|
|
15179
|
+
/**
|
|
15180
|
+
* New value for property `height`
|
|
15181
|
+
*/
|
|
15182
|
+
sHeight?: CSSSize
|
|
15183
|
+
): this;
|
|
15184
|
+
/**
|
|
15185
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
15186
|
+
*
|
|
15187
|
+
* Defines the width of the geomap.
|
|
15188
|
+
*
|
|
15189
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15190
|
+
*
|
|
15191
|
+
* Default value is `"700px"`.
|
|
15192
|
+
*
|
|
15193
|
+
*
|
|
15194
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15195
|
+
*/
|
|
15196
|
+
setWidth(
|
|
15197
|
+
/**
|
|
15198
|
+
* New value for property `width`
|
|
15199
|
+
*/
|
|
15200
|
+
sWidth?: CSSSize
|
|
15201
|
+
): this;
|
|
15202
|
+
/**
|
|
15203
|
+
* Sets a new value for property {@link #getZoom zoom}.
|
|
15204
|
+
*
|
|
15205
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
15206
|
+
*
|
|
15207
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15208
|
+
*
|
|
15209
|
+
*
|
|
15210
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15211
|
+
*/
|
|
15212
|
+
setZoom(
|
|
15213
|
+
/**
|
|
15214
|
+
* New value for property `zoom`
|
|
15215
|
+
*/
|
|
15216
|
+
fZoom: float
|
|
15217
|
+
): this;
|
|
15218
|
+
}
|
|
15219
|
+
/**
|
|
15220
|
+
* An object literal describing a data property in the context of a {@link sap.ui.mdc.GeoMap}.
|
|
15221
|
+
*
|
|
15222
|
+
* When specifying the `PropertyInfo` objects in the {@link sap.ui.mdc.GeoMap#getPropertyInfo propertyInfo }
|
|
15223
|
+
* property, the following attributes need to be specified:
|
|
15224
|
+
* - `key`
|
|
15225
|
+
* - `label`
|
|
15226
|
+
* - `visible`
|
|
15227
|
+
* - `path`
|
|
15228
|
+
* - `dataType`
|
|
15229
|
+
* - `formatOptions`
|
|
15230
|
+
* - `constraints`
|
|
15231
|
+
*
|
|
15232
|
+
* @experimental As of version 1.142.
|
|
15233
|
+
*/
|
|
15234
|
+
export type PropertyInfo = PropertyInfo1 & {
|
|
15235
|
+
/**
|
|
15236
|
+
* Defines the key that the property is related to
|
|
15237
|
+
*/
|
|
15238
|
+
key?: string;
|
|
15239
|
+
/**
|
|
15240
|
+
* Defines the label of the property associated with the key.
|
|
15241
|
+
*/
|
|
15242
|
+
label?: string;
|
|
15243
|
+
/**
|
|
15244
|
+
* Defines the visibility of the property.
|
|
15245
|
+
*/
|
|
15246
|
+
visible?: boolean;
|
|
15247
|
+
/**
|
|
15248
|
+
* The path of the property in the data source.
|
|
15249
|
+
*/
|
|
15250
|
+
path?: string;
|
|
15251
|
+
/**
|
|
15252
|
+
* Defines the data type associated to the property.
|
|
15253
|
+
*/
|
|
15254
|
+
dataType?: string;
|
|
15255
|
+
/**
|
|
15256
|
+
* Defines if any format options are applied to the property.
|
|
15257
|
+
*/
|
|
15258
|
+
formatOptions?: object;
|
|
15259
|
+
/**
|
|
15260
|
+
* Defines if any constraints are applied to the property.
|
|
15261
|
+
*/
|
|
15262
|
+
constraints?: object;
|
|
15263
|
+
};
|
|
15264
|
+
|
|
15265
|
+
/**
|
|
15266
|
+
* Describes the settings that can be provided to the Geomap constructor.
|
|
15267
|
+
*
|
|
15268
|
+
* @experimental As of version 1.142.
|
|
15269
|
+
*/
|
|
15270
|
+
export interface $GeomapSettings extends $ControlSettings {
|
|
15271
|
+
/**
|
|
15272
|
+
* Defines the width of the geomap.
|
|
15273
|
+
*/
|
|
15274
|
+
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
15275
|
+
|
|
15276
|
+
/**
|
|
15277
|
+
* Defines the height of the geomap.
|
|
15278
|
+
*/
|
|
15279
|
+
height?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
15280
|
+
|
|
15281
|
+
/**
|
|
15282
|
+
* Header text that appears in the geomap
|
|
15283
|
+
*/
|
|
15284
|
+
header?: string | PropertyBindingInfo;
|
|
15285
|
+
|
|
15286
|
+
/**
|
|
15287
|
+
* Latitude of the point where the map is centered
|
|
15288
|
+
*/
|
|
15289
|
+
centerLat?: float | PropertyBindingInfo | `{${string}}`;
|
|
15290
|
+
|
|
15291
|
+
/**
|
|
15292
|
+
* Longitude of the point where the map is centered
|
|
15293
|
+
*/
|
|
15294
|
+
centerLng?: float | PropertyBindingInfo | `{${string}}`;
|
|
15295
|
+
|
|
15296
|
+
/**
|
|
15297
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
15298
|
+
*/
|
|
15299
|
+
zoom?: float | PropertyBindingInfo | `{${string}}`;
|
|
15300
|
+
|
|
15301
|
+
/**
|
|
15302
|
+
* Enables the selection control for the map
|
|
15303
|
+
*/
|
|
15304
|
+
enableSelectionControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15305
|
+
|
|
15306
|
+
/**
|
|
15307
|
+
* Enables the navigation & compas control for the map
|
|
15308
|
+
*/
|
|
15309
|
+
enableNavigationControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15310
|
+
|
|
15311
|
+
/**
|
|
15312
|
+
* Enables the full screen control for the map
|
|
15313
|
+
*/
|
|
15314
|
+
enableFullscreenControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15315
|
+
|
|
15316
|
+
/**
|
|
15317
|
+
* Enables the scale control for the map
|
|
15318
|
+
*/
|
|
15319
|
+
enableScaleControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15320
|
+
|
|
15321
|
+
/**
|
|
15322
|
+
* Enables the copyright control for the map
|
|
15323
|
+
*/
|
|
15324
|
+
enableCopyrightControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15325
|
+
|
|
15326
|
+
/**
|
|
15327
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
15328
|
+
* The object has the following properties:
|
|
15329
|
+
* - `name` defines the path to the `Delegate` module
|
|
15330
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
15331
|
+
* Sample delegate object:
|
|
15332
|
+
* ```javascript
|
|
15333
|
+
* {
|
|
15334
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
15335
|
+
* payload: {}
|
|
15336
|
+
* }```
|
|
15337
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
15338
|
+
* that).
|
|
15339
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
15340
|
+
*
|
|
15341
|
+
* @experimental
|
|
15342
|
+
*/
|
|
15343
|
+
delegate?: object | PropertyBindingInfo | `{${string}}`;
|
|
15344
|
+
|
|
15345
|
+
/**
|
|
15346
|
+
* Specifies the geomap metadata.
|
|
15347
|
+
* **Note:** This property must not be bound.
|
|
15348
|
+
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
15349
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Geomap#setPropertyInfo`) must not be removed and
|
|
15350
|
+
* their attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
15351
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
15352
|
+
* as the opening of any personalization dialog) are activated.
|
|
15353
|
+
*
|
|
15354
|
+
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.geomap.PropertyInfo PropertyInfo}.
|
|
13970
15355
|
*/
|
|
13971
|
-
|
|
15356
|
+
propertyInfo?: object | PropertyBindingInfo | `{${string}}`;
|
|
15357
|
+
|
|
13972
15358
|
/**
|
|
13973
|
-
*
|
|
13974
|
-
*
|
|
13975
|
-
*
|
|
13976
|
-
*
|
|
13977
|
-
* Default value is `empty string`.
|
|
13978
|
-
*
|
|
13979
|
-
* @since 1.115.0
|
|
13980
|
-
*
|
|
13981
|
-
* @returns Value of property `propertyKey`
|
|
15359
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
15360
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
15361
|
+
* are limited to those supported by the webc library.
|
|
13982
15362
|
*/
|
|
13983
|
-
|
|
15363
|
+
items?: Item[] | Item | AggregationBindingInfo | `{${string}}`;
|
|
15364
|
+
|
|
13984
15365
|
/**
|
|
13985
|
-
*
|
|
15366
|
+
* This event is fired when zooming is performed on the map.
|
|
13986
15367
|
*/
|
|
13987
|
-
|
|
15368
|
+
zoomChange?: (oEvent: Event) => void;
|
|
15369
|
+
}
|
|
15370
|
+
|
|
15371
|
+
/**
|
|
15372
|
+
* Parameters of the Geomap#zoomChange event.
|
|
15373
|
+
*/
|
|
15374
|
+
export interface Geomap$ZoomChangeEventParameters {}
|
|
15375
|
+
|
|
15376
|
+
/**
|
|
15377
|
+
* Event object of the Geomap#zoomChange event.
|
|
15378
|
+
*/
|
|
15379
|
+
export type Geomap$ZoomChangeEvent = Event<
|
|
15380
|
+
Geomap$ZoomChangeEventParameters,
|
|
15381
|
+
Geomap
|
|
15382
|
+
>;
|
|
15383
|
+
}
|
|
15384
|
+
|
|
15385
|
+
declare module "sap/ui/mdc/geomap/Item" {
|
|
15386
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
15387
|
+
|
|
15388
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
15389
|
+
|
|
15390
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
15391
|
+
|
|
15392
|
+
/**
|
|
15393
|
+
* The `Item` element for the geomap/property metadata used within MDC Geomap.
|
|
15394
|
+
*
|
|
15395
|
+
* @experimental As of version 1.142.
|
|
15396
|
+
*/
|
|
15397
|
+
export default class Item extends UI5Element {
|
|
13988
15398
|
/**
|
|
13989
|
-
*
|
|
15399
|
+
* Constructor for a new `Item`.
|
|
15400
|
+
*
|
|
15401
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15402
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15403
|
+
* of the syntax of the settings object.
|
|
13990
15404
|
*/
|
|
13991
|
-
|
|
15405
|
+
constructor(
|
|
13992
15406
|
/**
|
|
13993
|
-
*
|
|
15407
|
+
* initial settings for the new element
|
|
13994
15408
|
*/
|
|
13995
|
-
|
|
13996
|
-
)
|
|
15409
|
+
mSettings?: $ItemSettings
|
|
15410
|
+
);
|
|
13997
15411
|
/**
|
|
13998
|
-
*
|
|
15412
|
+
* Constructor for a new `Item`.
|
|
13999
15413
|
*
|
|
14000
|
-
*
|
|
14001
|
-
*
|
|
15414
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15415
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15416
|
+
* of the syntax of the settings object.
|
|
14002
15417
|
*/
|
|
14003
|
-
|
|
15418
|
+
constructor(
|
|
14004
15419
|
/**
|
|
14005
|
-
*
|
|
15420
|
+
* ID for the new element, generated automatically if no ID is given
|
|
14006
15421
|
*/
|
|
14007
|
-
|
|
14008
|
-
|
|
15422
|
+
sId?: string,
|
|
15423
|
+
/**
|
|
15424
|
+
* initial settings for the new element
|
|
15425
|
+
*/
|
|
15426
|
+
mSettings?: $ItemSettings
|
|
15427
|
+
);
|
|
15428
|
+
|
|
14009
15429
|
/**
|
|
14010
|
-
*
|
|
14011
|
-
*
|
|
14012
|
-
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
14013
|
-
* and validate the value.
|
|
14014
|
-
*
|
|
14015
|
-
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
15430
|
+
* Creates a new subclass of class sap.ui.mdc.geomap.Item with name `sClassName` and enriches it with the
|
|
15431
|
+
* information contained in `oClassInfo`.
|
|
14016
15432
|
*
|
|
14017
|
-
*
|
|
15433
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
14018
15434
|
*
|
|
14019
|
-
* @since 1.118.0
|
|
14020
15435
|
*
|
|
14021
|
-
* @returns
|
|
15436
|
+
* @returns Created class / constructor function
|
|
14022
15437
|
*/
|
|
14023
|
-
|
|
15438
|
+
static extend<T extends Record<string, unknown>>(
|
|
14024
15439
|
/**
|
|
14025
|
-
*
|
|
15440
|
+
* Name of the class being created
|
|
14026
15441
|
*/
|
|
14027
|
-
|
|
14028
|
-
|
|
15442
|
+
sClassName: string,
|
|
15443
|
+
/**
|
|
15444
|
+
* Object literal with information about the class
|
|
15445
|
+
*/
|
|
15446
|
+
oClassInfo?: sap.ClassInfo<T, Item>,
|
|
15447
|
+
/**
|
|
15448
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15449
|
+
* used by this class
|
|
15450
|
+
*/
|
|
15451
|
+
FNMetaImpl?: Function
|
|
15452
|
+
): Function;
|
|
14029
15453
|
/**
|
|
14030
|
-
*
|
|
15454
|
+
* Returns a metadata object for class sap.ui.mdc.geomap.Item.
|
|
14031
15455
|
*
|
|
14032
|
-
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14033
|
-
* used is taken.
|
|
14034
15456
|
*
|
|
14035
|
-
*
|
|
14036
|
-
|
|
15457
|
+
* @returns Metadata object describing this class
|
|
15458
|
+
*/
|
|
15459
|
+
static getMetadata(): ElementMetadata;
|
|
15460
|
+
/**
|
|
15461
|
+
* Gets current value of property {@link #getLabel label}.
|
|
14037
15462
|
*
|
|
14038
|
-
*
|
|
15463
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15464
|
+
* the label.
|
|
14039
15465
|
*
|
|
14040
|
-
* @since 1.88.0
|
|
14041
15466
|
*
|
|
14042
|
-
* @returns
|
|
15467
|
+
* @returns Value of property `label`
|
|
14043
15468
|
*/
|
|
14044
|
-
|
|
14045
|
-
/**
|
|
14046
|
-
* New value for property `defaultOperator`
|
|
14047
|
-
*/
|
|
14048
|
-
sDefaultOperator?: string
|
|
14049
|
-
): this;
|
|
15469
|
+
getLabel(): string;
|
|
14050
15470
|
/**
|
|
14051
|
-
*
|
|
15471
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
14052
15472
|
*
|
|
14053
|
-
*
|
|
15473
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14054
15474
|
*
|
|
14055
|
-
*
|
|
14056
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
15475
|
+
* @since 1.142
|
|
14057
15476
|
*
|
|
14058
|
-
*
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
*
|
|
15477
|
+
* @returns Value of property `propertyKey`
|
|
15478
|
+
*/
|
|
15479
|
+
getPropertyKey(): string;
|
|
15480
|
+
/**
|
|
15481
|
+
* Sets a new value for property {@link #getLabel label}.
|
|
14063
15482
|
*
|
|
14064
|
-
*
|
|
15483
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15484
|
+
* the label.
|
|
14065
15485
|
*
|
|
14066
|
-
*
|
|
15486
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14067
15487
|
*
|
|
14068
|
-
* @since 1.73.0
|
|
14069
15488
|
*
|
|
14070
15489
|
* @returns Reference to `this` in order to allow method chaining
|
|
14071
15490
|
*/
|
|
14072
|
-
|
|
15491
|
+
setLabel(
|
|
14073
15492
|
/**
|
|
14074
|
-
* New value for property `
|
|
15493
|
+
* New value for property `label`
|
|
14075
15494
|
*/
|
|
14076
|
-
|
|
15495
|
+
sLabel: string
|
|
14077
15496
|
): this;
|
|
14078
15497
|
/**
|
|
14079
15498
|
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
14080
15499
|
*
|
|
14081
|
-
*
|
|
15500
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14082
15501
|
*
|
|
14083
15502
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14084
15503
|
*
|
|
14085
|
-
*
|
|
14086
|
-
*
|
|
14087
|
-
* @since 1.115.0
|
|
15504
|
+
* @since 1.142
|
|
14088
15505
|
*
|
|
14089
15506
|
* @returns Reference to `this` in order to allow method chaining
|
|
14090
15507
|
*/
|
|
@@ -14092,104 +15509,28 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14092
15509
|
/**
|
|
14093
15510
|
* New value for property `propertyKey`
|
|
14094
15511
|
*/
|
|
14095
|
-
sPropertyKey
|
|
15512
|
+
sPropertyKey: string
|
|
14096
15513
|
): this;
|
|
14097
15514
|
}
|
|
14098
15515
|
/**
|
|
14099
|
-
* Describes the settings that can be provided to the
|
|
15516
|
+
* Describes the settings that can be provided to the Item constructor.
|
|
15517
|
+
*
|
|
15518
|
+
* @experimental As of version 1.142.
|
|
14100
15519
|
*/
|
|
14101
|
-
export interface $
|
|
14102
|
-
/**
|
|
14103
|
-
* Supported operator names for conditions.
|
|
14104
|
-
*
|
|
14105
|
-
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
14106
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14107
|
-
*
|
|
14108
|
-
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
14109
|
-
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
14110
|
-
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
14111
|
-
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
14112
|
-
* provides the value the custom control needs.
|
|
14113
|
-
*
|
|
14114
|
-
* @since 1.73.0
|
|
14115
|
-
*/
|
|
14116
|
-
operators?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
14117
|
-
|
|
14118
|
-
/**
|
|
14119
|
-
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14120
|
-
* used is taken.
|
|
14121
|
-
*
|
|
14122
|
-
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14123
|
-
* instance itself.
|
|
14124
|
-
*
|
|
14125
|
-
* @since 1.88.0
|
|
14126
|
-
*/
|
|
14127
|
-
defaultOperator?: string | PropertyBindingInfo;
|
|
14128
|
-
|
|
15520
|
+
export interface $ItemSettings extends $ElementSettings {
|
|
14129
15521
|
/**
|
|
14130
|
-
*
|
|
15522
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14131
15523
|
*
|
|
14132
|
-
* @since 1.
|
|
15524
|
+
* @since 1.142
|
|
14133
15525
|
*/
|
|
14134
15526
|
propertyKey?: string | PropertyBindingInfo;
|
|
14135
15527
|
|
|
14136
15528
|
/**
|
|
14137
|
-
*
|
|
14138
|
-
*
|
|
14139
|
-
*
|
|
14140
|
-
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
14141
|
-
*
|
|
14142
|
-
* @since 1.118.0
|
|
14143
|
-
*/
|
|
14144
|
-
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
14145
|
-
|
|
14146
|
-
/**
|
|
14147
|
-
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
14148
|
-
*
|
|
14149
|
-
* **Note** This event is only triggered if the used content control has a change event.
|
|
14150
|
-
*/
|
|
14151
|
-
change?: (oEvent: FilterField$ChangeEvent) => void;
|
|
14152
|
-
}
|
|
14153
|
-
|
|
14154
|
-
/**
|
|
14155
|
-
* Parameters of the FilterField#change event.
|
|
14156
|
-
*/
|
|
14157
|
-
export interface FilterField$ChangeEventParameters {
|
|
14158
|
-
/**
|
|
14159
|
-
* The new value of the `control`
|
|
14160
|
-
*/
|
|
14161
|
-
value?: string;
|
|
14162
|
-
|
|
14163
|
-
/**
|
|
14164
|
-
* Flag that indicates if the entered `value` is valid
|
|
14165
|
-
*/
|
|
14166
|
-
valid?: boolean;
|
|
14167
|
-
|
|
14168
|
-
/**
|
|
14169
|
-
* Conditions of the field. This includes all conditions, not only the changed ones.
|
|
14170
|
-
*
|
|
14171
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
14172
|
-
*/
|
|
14173
|
-
conditions?: object[];
|
|
14174
|
-
|
|
14175
|
-
/**
|
|
14176
|
-
* Returns a `Promise` for the change. The `Promise` returns the value if it is resolved. If the `change`
|
|
14177
|
-
* event is synchronous, the `Promise` has already been resolved. If it is asynchronous, it will be resolved
|
|
14178
|
-
* after the value has been updated.
|
|
14179
|
-
*
|
|
14180
|
-
* The `FilterField` should be set to busy during the parsing to prevent user input. As there might be a
|
|
14181
|
-
* whole group of fields that needs to be busy, this cannot be done automatically.
|
|
15529
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15530
|
+
* the label.
|
|
14182
15531
|
*/
|
|
14183
|
-
|
|
15532
|
+
label?: string | PropertyBindingInfo;
|
|
14184
15533
|
}
|
|
14185
|
-
|
|
14186
|
-
/**
|
|
14187
|
-
* Event object of the FilterField#change event.
|
|
14188
|
-
*/
|
|
14189
|
-
export type FilterField$ChangeEvent = Event<
|
|
14190
|
-
FilterField$ChangeEventParameters,
|
|
14191
|
-
FilterField
|
|
14192
|
-
>;
|
|
14193
15534
|
}
|
|
14194
15535
|
|
|
14195
15536
|
declare module "sap/ui/mdc/Link" {
|
|
@@ -15181,7 +16522,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
15181
16522
|
* Items of the `MultiValueField` control.
|
|
15182
16523
|
*
|
|
15183
16524
|
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
15184
|
-
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.
|
|
16525
|
+
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItemsFromConditions MultiValueFieldDelegate.updateItemsFromConditions }
|
|
15185
16526
|
* function needs to be implemented to update the items after a user interaction.
|
|
15186
16527
|
*/
|
|
15187
16528
|
getItems(): MultiValueFieldItem[];
|
|
@@ -15422,7 +16763,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
15422
16763
|
* Items of the `MultiValueField` control.
|
|
15423
16764
|
*
|
|
15424
16765
|
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
15425
|
-
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.
|
|
16766
|
+
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItemsFromConditions MultiValueFieldDelegate.updateItemsFromConditions }
|
|
15426
16767
|
* function needs to be implemented to update the items after a user interaction.
|
|
15427
16768
|
*/
|
|
15428
16769
|
items?:
|
|
@@ -15569,7 +16910,7 @@ declare module "sap/ui/mdc/p13n/StateUtil" {
|
|
|
15569
16910
|
* Retrieves the externalized state for a given control instance. The retrieved state is equivalent to the
|
|
15570
16911
|
* `getCurrentState` API for the given control, after all necessary changes have been applied (for example,
|
|
15571
16912
|
* variant appliance and `p13n, StateUtil` changes). After the returned `Promise` has been resolved, the
|
|
15572
|
-
* returned state is in sync with the
|
|
16913
|
+
* returned state is in sync with the corresponding state object of the MDC control (for example, `filterConditions`
|
|
15573
16914
|
* for the `FilterBar` control).
|
|
15574
16915
|
*
|
|
15575
16916
|
*
|
|
@@ -25918,6 +27259,8 @@ declare namespace sap {
|
|
|
25918
27259
|
|
|
25919
27260
|
"sap/ui/mdc/enums/FilterBarValidationStatus": undefined;
|
|
25920
27261
|
|
|
27262
|
+
"sap/ui/mdc/enums/GeomapControlPosition": undefined;
|
|
27263
|
+
|
|
25921
27264
|
"sap/ui/mdc/enums/LinkType": undefined;
|
|
25922
27265
|
|
|
25923
27266
|
"sap/ui/mdc/enums/OperatorName": undefined;
|
|
@@ -26018,6 +27361,12 @@ declare namespace sap {
|
|
|
26018
27361
|
|
|
26019
27362
|
"sap/ui/mdc/FilterField": undefined;
|
|
26020
27363
|
|
|
27364
|
+
"sap/ui/mdc/Geomap": undefined;
|
|
27365
|
+
|
|
27366
|
+
"sap/ui/mdc/geomap/Item": undefined;
|
|
27367
|
+
|
|
27368
|
+
"sap/ui/mdc/GeomapDelegate": undefined;
|
|
27369
|
+
|
|
26021
27370
|
"sap/ui/mdc/library": undefined;
|
|
26022
27371
|
|
|
26023
27372
|
"sap/ui/mdc/Link": undefined;
|
|
@@ -26044,6 +27393,8 @@ declare namespace sap {
|
|
|
26044
27393
|
|
|
26045
27394
|
"sap/ui/mdc/odata/v4/ChartDelegate": undefined;
|
|
26046
27395
|
|
|
27396
|
+
"sap/ui/mdc/odata/v4/GeomapDelegate": undefined;
|
|
27397
|
+
|
|
26047
27398
|
"sap/ui/mdc/odata/v4/TableDelegate": undefined;
|
|
26048
27399
|
|
|
26049
27400
|
"sap/ui/mdc/odata/v4/TypeMap": undefined;
|