@sapui5/types 1.141.4 → 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/index.d.ts +1 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.base.d.ts +3 -0
- package/types/sap.esh.search.ui.d.ts +159 -4
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +471 -32
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +2616 -95
- package/types/sap.fe.navigation.d.ts +2 -2
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +79 -11
- package/types/sap.fe.test.d.ts +8 -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 +4 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +401 -55
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +106 -2
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +13 -3735
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +28 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +77 -9
- package/types/sap.ui.core.d.ts +1160 -639
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +63 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +100 -94
- package/types/sap.ui.mdc.d.ts +1505 -167
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +13 -41
- 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.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +13 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +335 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.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.0
|
|
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`.
|
|
@@ -13052,9 +13455,23 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
13052
13455
|
*/
|
|
13053
13456
|
getFilterItems(): FilterField[];
|
|
13054
13457
|
/**
|
|
13055
|
-
*
|
|
13458
|
+
* Retrieves an `InvisibleText` by ID.
|
|
13056
13459
|
*
|
|
13057
|
-
*
|
|
13460
|
+
* @since 1.142
|
|
13461
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13462
|
+
*
|
|
13463
|
+
* @returns The invisible text with the given ID
|
|
13464
|
+
*/
|
|
13465
|
+
getInvisibleText(
|
|
13466
|
+
/**
|
|
13467
|
+
* ID of the invisible text to be retrieved
|
|
13468
|
+
*/
|
|
13469
|
+
sId: string
|
|
13470
|
+
): InvisibleText;
|
|
13471
|
+
/**
|
|
13472
|
+
* Gets current value of property {@link #getLiveMode liveMode}.
|
|
13473
|
+
*
|
|
13474
|
+
* Triggers a search automatically after a filter value has been changed.
|
|
13058
13475
|
* **Note:** The `liveMode` property only operates in non-mobile scenarios.
|
|
13059
13476
|
* Additionally, if the `liveMode` property is active, the following applies:
|
|
13060
13477
|
* The error message box is not displayed, and the `showMessages` property is ignored.
|
|
@@ -13966,125 +14383,1112 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
13966
14383
|
*
|
|
13967
14384
|
* @since 1.73.0
|
|
13968
14385
|
*
|
|
13969
|
-
* @returns Value of property `operators`
|
|
14386
|
+
* @returns Value of property `operators`
|
|
14387
|
+
*/
|
|
14388
|
+
getOperators(): string[];
|
|
14389
|
+
/**
|
|
14390
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
14391
|
+
*
|
|
14392
|
+
* Key of the property the `FilterField` represents.
|
|
14393
|
+
*
|
|
14394
|
+
* Default value is `empty string`.
|
|
14395
|
+
*
|
|
14396
|
+
* @since 1.115.0
|
|
14397
|
+
*
|
|
14398
|
+
* @returns Value of property `propertyKey`
|
|
14399
|
+
*/
|
|
14400
|
+
getPropertyKey(): string;
|
|
14401
|
+
/**
|
|
14402
|
+
* Removes all operators from the list of known operators.
|
|
14403
|
+
*/
|
|
14404
|
+
removeAllOperators(): void;
|
|
14405
|
+
/**
|
|
14406
|
+
* Removes an operator from the list of known operators. The standard operators can are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14407
|
+
*/
|
|
14408
|
+
removeOperator(
|
|
14409
|
+
/**
|
|
14410
|
+
* The operator instance or operator name
|
|
14411
|
+
*/
|
|
14412
|
+
vOperator: Operator | string
|
|
14413
|
+
): void;
|
|
14414
|
+
/**
|
|
14415
|
+
* Removes all given operators from the list of known operators.
|
|
14416
|
+
*
|
|
14417
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
14418
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14419
|
+
*/
|
|
14420
|
+
removeOperators(
|
|
14421
|
+
/**
|
|
14422
|
+
* Array of operators
|
|
14423
|
+
*/
|
|
14424
|
+
aOperators: Operator[]
|
|
14425
|
+
): void;
|
|
14426
|
+
/**
|
|
14427
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
14428
|
+
*
|
|
14429
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
14430
|
+
* and validate the value.
|
|
14431
|
+
*
|
|
14432
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
14433
|
+
*
|
|
14434
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14435
|
+
*
|
|
14436
|
+
* @since 1.118.0
|
|
14437
|
+
*
|
|
14438
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14439
|
+
*/
|
|
14440
|
+
setAdditionalDataType(
|
|
14441
|
+
/**
|
|
14442
|
+
* New value for property `additionalDataType`
|
|
14443
|
+
*/
|
|
14444
|
+
oAdditionalDataType?: object
|
|
14445
|
+
): this;
|
|
14446
|
+
/**
|
|
14447
|
+
* Sets a new value for property {@link #getDefaultOperator defaultOperator}.
|
|
14448
|
+
*
|
|
14449
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14450
|
+
* used is taken.
|
|
14451
|
+
*
|
|
14452
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14453
|
+
* instance itself.
|
|
14454
|
+
*
|
|
14455
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14456
|
+
*
|
|
14457
|
+
* @since 1.88.0
|
|
14458
|
+
*
|
|
14459
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14460
|
+
*/
|
|
14461
|
+
setDefaultOperator(
|
|
14462
|
+
/**
|
|
14463
|
+
* New value for property `defaultOperator`
|
|
14464
|
+
*/
|
|
14465
|
+
sDefaultOperator?: string
|
|
14466
|
+
): this;
|
|
14467
|
+
/**
|
|
14468
|
+
* Sets a new value for property {@link #getOperators operators}.
|
|
14469
|
+
*
|
|
14470
|
+
* Supported operator names for conditions.
|
|
14471
|
+
*
|
|
14472
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
14473
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14474
|
+
*
|
|
14475
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
14476
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
14477
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
14478
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
14479
|
+
* provides the value the custom control needs.
|
|
14480
|
+
*
|
|
14481
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14482
|
+
*
|
|
14483
|
+
* Default value is `[]`.
|
|
14484
|
+
*
|
|
14485
|
+
* @since 1.73.0
|
|
14486
|
+
*
|
|
14487
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14488
|
+
*/
|
|
14489
|
+
setOperators(
|
|
14490
|
+
/**
|
|
14491
|
+
* New value for property `operators`
|
|
14492
|
+
*/
|
|
14493
|
+
sOperators?: string[]
|
|
14494
|
+
): this;
|
|
14495
|
+
/**
|
|
14496
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
14497
|
+
*
|
|
14498
|
+
* Key of the property the `FilterField` represents.
|
|
14499
|
+
*
|
|
14500
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14501
|
+
*
|
|
14502
|
+
* Default value is `empty string`.
|
|
14503
|
+
*
|
|
14504
|
+
* @since 1.115.0
|
|
14505
|
+
*
|
|
14506
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14507
|
+
*/
|
|
14508
|
+
setPropertyKey(
|
|
14509
|
+
/**
|
|
14510
|
+
* New value for property `propertyKey`
|
|
14511
|
+
*/
|
|
14512
|
+
sPropertyKey?: string
|
|
14513
|
+
): this;
|
|
14514
|
+
}
|
|
14515
|
+
/**
|
|
14516
|
+
* Describes the settings that can be provided to the FilterField constructor.
|
|
14517
|
+
*/
|
|
14518
|
+
export interface $FilterFieldSettings extends $FieldBaseSettings {
|
|
14519
|
+
/**
|
|
14520
|
+
* Supported operator names for conditions.
|
|
14521
|
+
*
|
|
14522
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
14523
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14524
|
+
*
|
|
14525
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
14526
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
14527
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
14528
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
14529
|
+
* provides the value the custom control needs.
|
|
14530
|
+
*
|
|
14531
|
+
* @since 1.73.0
|
|
14532
|
+
*/
|
|
14533
|
+
operators?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
14534
|
+
|
|
14535
|
+
/**
|
|
14536
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14537
|
+
* used is taken.
|
|
14538
|
+
*
|
|
14539
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14540
|
+
* instance itself.
|
|
14541
|
+
*
|
|
14542
|
+
* @since 1.88.0
|
|
14543
|
+
*/
|
|
14544
|
+
defaultOperator?: string | PropertyBindingInfo;
|
|
14545
|
+
|
|
14546
|
+
/**
|
|
14547
|
+
* Key of the property the `FilterField` represents.
|
|
14548
|
+
*
|
|
14549
|
+
* @since 1.115.0
|
|
14550
|
+
*/
|
|
14551
|
+
propertyKey?: string | PropertyBindingInfo;
|
|
14552
|
+
|
|
14553
|
+
/**
|
|
14554
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
14555
|
+
* and validate the value.
|
|
14556
|
+
*
|
|
14557
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
14558
|
+
*
|
|
14559
|
+
* @since 1.118.0
|
|
14560
|
+
*/
|
|
14561
|
+
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
14562
|
+
|
|
14563
|
+
/**
|
|
14564
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
14565
|
+
*
|
|
14566
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
14567
|
+
*/
|
|
14568
|
+
change?: (oEvent: FilterField$ChangeEvent) => void;
|
|
14569
|
+
}
|
|
14570
|
+
|
|
14571
|
+
/**
|
|
14572
|
+
* Parameters of the FilterField#change event.
|
|
14573
|
+
*/
|
|
14574
|
+
export interface FilterField$ChangeEventParameters {
|
|
14575
|
+
/**
|
|
14576
|
+
* The new value of the `control`
|
|
14577
|
+
*/
|
|
14578
|
+
value?: string;
|
|
14579
|
+
|
|
14580
|
+
/**
|
|
14581
|
+
* Flag that indicates if the entered `value` is valid
|
|
14582
|
+
*/
|
|
14583
|
+
valid?: boolean;
|
|
14584
|
+
|
|
14585
|
+
/**
|
|
14586
|
+
* Conditions of the field. This includes all conditions, not only the changed ones.
|
|
14587
|
+
*
|
|
14588
|
+
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
14589
|
+
*/
|
|
14590
|
+
conditions?: object[];
|
|
14591
|
+
|
|
14592
|
+
/**
|
|
14593
|
+
* Returns a `Promise` for the change. The `Promise` returns the value if it is resolved. If the `change`
|
|
14594
|
+
* event is synchronous, the `Promise` has already been resolved. If it is asynchronous, it will be resolved
|
|
14595
|
+
* after the value has been updated.
|
|
14596
|
+
*
|
|
14597
|
+
* The `FilterField` should be set to busy during the parsing to prevent user input. As there might be a
|
|
14598
|
+
* whole group of fields that needs to be busy, this cannot be done automatically.
|
|
14599
|
+
*/
|
|
14600
|
+
promise?: boolean;
|
|
14601
|
+
}
|
|
14602
|
+
|
|
14603
|
+
/**
|
|
14604
|
+
* Event object of the FilterField#change event.
|
|
14605
|
+
*/
|
|
14606
|
+
export type FilterField$ChangeEvent = Event<
|
|
14607
|
+
FilterField$ChangeEventParameters,
|
|
14608
|
+
FilterField
|
|
14609
|
+
>;
|
|
14610
|
+
}
|
|
14611
|
+
|
|
14612
|
+
declare module "sap/ui/mdc/Geomap" {
|
|
14613
|
+
import { default as Control, $ControlSettings } from "sap/ui/mdc/Control";
|
|
14614
|
+
|
|
14615
|
+
import { IFilterSource, IxState } from "sap/ui/mdc/library";
|
|
14616
|
+
|
|
14617
|
+
import Event from "sap/ui/base/Event";
|
|
14618
|
+
|
|
14619
|
+
import { CSSSize } from "sap/ui/core/library";
|
|
14620
|
+
|
|
14621
|
+
import Item from "sap/ui/mdc/geomap/Item";
|
|
14622
|
+
|
|
14623
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
14624
|
+
|
|
14625
|
+
import { PropertyInfo as PropertyInfo1 } from "sap/ui/mdc/util/PropertyHelper";
|
|
14626
|
+
|
|
14627
|
+
import {
|
|
14628
|
+
PropertyBindingInfo,
|
|
14629
|
+
AggregationBindingInfo,
|
|
14630
|
+
} from "sap/ui/base/ManagedObject";
|
|
14631
|
+
|
|
14632
|
+
/**
|
|
14633
|
+
* The `Geomap` control creates a geomap based on metadata and the configuration specified.
|
|
14634
|
+
* **Note:** The geomap needs to be created inside the `GeomapDelegate`.
|
|
14635
|
+
*
|
|
14636
|
+
* @experimental As of version 1.142.
|
|
14637
|
+
*/
|
|
14638
|
+
export default class Geomap
|
|
14639
|
+
extends Control
|
|
14640
|
+
implements IFilterSource, IxState
|
|
14641
|
+
{
|
|
14642
|
+
__implements__sap_ui_mdc_IFilterSource: boolean;
|
|
14643
|
+
__implements__sap_ui_mdc_IxState: boolean;
|
|
14644
|
+
/**
|
|
14645
|
+
* Constructor for a new GeoMap.
|
|
14646
|
+
*
|
|
14647
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
14648
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
14649
|
+
* of the syntax of the settings object.
|
|
14650
|
+
* See:
|
|
14651
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
14652
|
+
*/
|
|
14653
|
+
constructor(
|
|
14654
|
+
/**
|
|
14655
|
+
* Initial settings for the new control
|
|
14656
|
+
*/
|
|
14657
|
+
mSettings?: $GeomapSettings
|
|
14658
|
+
);
|
|
14659
|
+
/**
|
|
14660
|
+
* Constructor for a new GeoMap.
|
|
14661
|
+
*
|
|
14662
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
14663
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
14664
|
+
* of the syntax of the settings object.
|
|
14665
|
+
* See:
|
|
14666
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
14667
|
+
*/
|
|
14668
|
+
constructor(
|
|
14669
|
+
/**
|
|
14670
|
+
* ID for the new control, generated automatically if no id is given
|
|
14671
|
+
*/
|
|
14672
|
+
sId?: string,
|
|
14673
|
+
/**
|
|
14674
|
+
* Initial settings for the new control
|
|
14675
|
+
*/
|
|
14676
|
+
mSettings?: $GeomapSettings
|
|
14677
|
+
);
|
|
14678
|
+
|
|
14679
|
+
/**
|
|
14680
|
+
* Creates a new subclass of class sap.ui.mdc.Geomap with name `sClassName` and enriches it with the information
|
|
14681
|
+
* contained in `oClassInfo`.
|
|
14682
|
+
*
|
|
14683
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.Control.extend}.
|
|
14684
|
+
*
|
|
14685
|
+
*
|
|
14686
|
+
* @returns Created class / constructor function
|
|
14687
|
+
*/
|
|
14688
|
+
static extend<T extends Record<string, unknown>>(
|
|
14689
|
+
/**
|
|
14690
|
+
* Name of the class being created
|
|
14691
|
+
*/
|
|
14692
|
+
sClassName: string,
|
|
14693
|
+
/**
|
|
14694
|
+
* Object literal with information about the class
|
|
14695
|
+
*/
|
|
14696
|
+
oClassInfo?: sap.ClassInfo<T, Geomap>,
|
|
14697
|
+
/**
|
|
14698
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
14699
|
+
* used by this class
|
|
14700
|
+
*/
|
|
14701
|
+
FNMetaImpl?: Function
|
|
14702
|
+
): Function;
|
|
14703
|
+
/**
|
|
14704
|
+
* Returns a metadata object for class sap.ui.mdc.Geomap.
|
|
14705
|
+
*
|
|
14706
|
+
*
|
|
14707
|
+
* @returns Metadata object describing this class
|
|
14708
|
+
*/
|
|
14709
|
+
static getMetadata(): ElementMetadata;
|
|
14710
|
+
/**
|
|
14711
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14712
|
+
*
|
|
14713
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14714
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
14715
|
+
*
|
|
14716
|
+
* This event is fired when zooming is performed on the map.
|
|
14717
|
+
*
|
|
14718
|
+
*
|
|
14719
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14720
|
+
*/
|
|
14721
|
+
attachZoomChange(
|
|
14722
|
+
/**
|
|
14723
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
14724
|
+
* object when firing the event
|
|
14725
|
+
*/
|
|
14726
|
+
oData: object,
|
|
14727
|
+
/**
|
|
14728
|
+
* The function to be called when the event occurs
|
|
14729
|
+
*/
|
|
14730
|
+
fnFunction: (p1: Event) => void,
|
|
14731
|
+
/**
|
|
14732
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
14733
|
+
*/
|
|
14734
|
+
oListener?: object
|
|
14735
|
+
): this;
|
|
14736
|
+
/**
|
|
14737
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14738
|
+
*
|
|
14739
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14740
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
14741
|
+
*
|
|
14742
|
+
* This event is fired when zooming is performed on the map.
|
|
14743
|
+
*
|
|
14744
|
+
*
|
|
14745
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14746
|
+
*/
|
|
14747
|
+
attachZoomChange(
|
|
14748
|
+
/**
|
|
14749
|
+
* The function to be called when the event occurs
|
|
14750
|
+
*/
|
|
14751
|
+
fnFunction: (p1: Event) => void,
|
|
14752
|
+
/**
|
|
14753
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
14754
|
+
*/
|
|
14755
|
+
oListener?: object
|
|
14756
|
+
): this;
|
|
14757
|
+
/**
|
|
14758
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
14759
|
+
*
|
|
14760
|
+
*
|
|
14761
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14762
|
+
*/
|
|
14763
|
+
destroyItems(): this;
|
|
14764
|
+
/**
|
|
14765
|
+
* Detaches event handler `fnFunction` from the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
14766
|
+
*
|
|
14767
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
14768
|
+
*
|
|
14769
|
+
*
|
|
14770
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14771
|
+
*/
|
|
14772
|
+
detachZoomChange(
|
|
14773
|
+
/**
|
|
14774
|
+
* The function to be called, when the event occurs
|
|
14775
|
+
*/
|
|
14776
|
+
fnFunction: (p1: Event) => void,
|
|
14777
|
+
/**
|
|
14778
|
+
* Context object on which the given function had to be called
|
|
14779
|
+
*/
|
|
14780
|
+
oListener?: object
|
|
14781
|
+
): this;
|
|
14782
|
+
/**
|
|
14783
|
+
* Fires event {@link #event:zoomChange zoomChange} to attached listeners.
|
|
14784
|
+
*
|
|
14785
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
14786
|
+
*
|
|
14787
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14788
|
+
*/
|
|
14789
|
+
fireZoomChange(
|
|
14790
|
+
/**
|
|
14791
|
+
* Parameters to pass along with the event
|
|
14792
|
+
*/
|
|
14793
|
+
mParameters?: object
|
|
14794
|
+
): this;
|
|
14795
|
+
/**
|
|
14796
|
+
* Gets current value of property {@link #getCenterLat centerLat}.
|
|
14797
|
+
*
|
|
14798
|
+
* Latitude of the point where the map is centered
|
|
14799
|
+
*
|
|
14800
|
+
*
|
|
14801
|
+
* @returns Value of property `centerLat`
|
|
14802
|
+
*/
|
|
14803
|
+
getCenterLat(): float;
|
|
14804
|
+
/**
|
|
14805
|
+
* Gets current value of property {@link #getCenterLng centerLng}.
|
|
14806
|
+
*
|
|
14807
|
+
* Longitude of the point where the map is centered
|
|
14808
|
+
*
|
|
14809
|
+
*
|
|
14810
|
+
* @returns Value of property `centerLng`
|
|
14811
|
+
*/
|
|
14812
|
+
getCenterLng(): float;
|
|
14813
|
+
/**
|
|
14814
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
14815
|
+
*
|
|
14816
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
14817
|
+
* The object has the following properties:
|
|
14818
|
+
* - `name` defines the path to the `Delegate` module
|
|
14819
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
14820
|
+
* Sample delegate object:
|
|
14821
|
+
* ```javascript
|
|
14822
|
+
* {
|
|
14823
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
14824
|
+
* payload: {}
|
|
14825
|
+
* }```
|
|
14826
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
14827
|
+
* that).
|
|
14828
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
14829
|
+
*
|
|
14830
|
+
* Default value is `...see text or source`.
|
|
14831
|
+
*
|
|
14832
|
+
* @experimental
|
|
14833
|
+
*
|
|
14834
|
+
* @returns Value of property `delegate`
|
|
14835
|
+
*/
|
|
14836
|
+
getDelegate(): object;
|
|
14837
|
+
/**
|
|
14838
|
+
* Gets current value of property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
14839
|
+
*
|
|
14840
|
+
* Enables the copyright control for the map
|
|
14841
|
+
*
|
|
14842
|
+
* Default value is `false`.
|
|
14843
|
+
*
|
|
14844
|
+
*
|
|
14845
|
+
* @returns Value of property `enableCopyrightControl`
|
|
14846
|
+
*/
|
|
14847
|
+
getEnableCopyrightControl(): boolean;
|
|
14848
|
+
/**
|
|
14849
|
+
* Gets current value of property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
14850
|
+
*
|
|
14851
|
+
* Enables the full screen control for the map
|
|
14852
|
+
*
|
|
14853
|
+
* Default value is `true`.
|
|
14854
|
+
*
|
|
14855
|
+
*
|
|
14856
|
+
* @returns Value of property `enableFullscreenControl`
|
|
14857
|
+
*/
|
|
14858
|
+
getEnableFullscreenControl(): boolean;
|
|
14859
|
+
/**
|
|
14860
|
+
* Gets current value of property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
14861
|
+
*
|
|
14862
|
+
* Enables the navigation & compas control for the map
|
|
14863
|
+
*
|
|
14864
|
+
* Default value is `true`.
|
|
14865
|
+
*
|
|
14866
|
+
*
|
|
14867
|
+
* @returns Value of property `enableNavigationControl`
|
|
14868
|
+
*/
|
|
14869
|
+
getEnableNavigationControl(): boolean;
|
|
14870
|
+
/**
|
|
14871
|
+
* Gets current value of property {@link #getEnableScaleControl enableScaleControl}.
|
|
14872
|
+
*
|
|
14873
|
+
* Enables the scale control for the map
|
|
14874
|
+
*
|
|
14875
|
+
* Default value is `true`.
|
|
14876
|
+
*
|
|
14877
|
+
*
|
|
14878
|
+
* @returns Value of property `enableScaleControl`
|
|
14879
|
+
*/
|
|
14880
|
+
getEnableScaleControl(): boolean;
|
|
14881
|
+
/**
|
|
14882
|
+
* Gets current value of property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
14883
|
+
*
|
|
14884
|
+
* Enables the selection control for the map
|
|
14885
|
+
*
|
|
14886
|
+
* Default value is `false`.
|
|
14887
|
+
*
|
|
14888
|
+
*
|
|
14889
|
+
* @returns Value of property `enableSelectionControl`
|
|
14890
|
+
*/
|
|
14891
|
+
getEnableSelectionControl(): boolean;
|
|
14892
|
+
/**
|
|
14893
|
+
* Gets current value of property {@link #getHeader header}.
|
|
14894
|
+
*
|
|
14895
|
+
* Header text that appears in the geomap
|
|
14896
|
+
*
|
|
14897
|
+
* Default value is `empty string`.
|
|
14898
|
+
*
|
|
14899
|
+
*
|
|
14900
|
+
* @returns Value of property `header`
|
|
14901
|
+
*/
|
|
14902
|
+
getHeader(): string;
|
|
14903
|
+
/**
|
|
14904
|
+
* Gets current value of property {@link #getHeight height}.
|
|
14905
|
+
*
|
|
14906
|
+
* Defines the height of the geomap.
|
|
14907
|
+
*
|
|
14908
|
+
* Default value is `"700px"`.
|
|
14909
|
+
*
|
|
14910
|
+
*
|
|
14911
|
+
* @returns Value of property `height`
|
|
14912
|
+
*/
|
|
14913
|
+
getHeight(): CSSSize;
|
|
14914
|
+
/**
|
|
14915
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
14916
|
+
*
|
|
14917
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
14918
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
14919
|
+
* are limited to those supported by the webc library.
|
|
14920
|
+
*/
|
|
14921
|
+
getItems(): Item[];
|
|
14922
|
+
/**
|
|
14923
|
+
* Gets current value of property {@link #getWidth width}.
|
|
14924
|
+
*
|
|
14925
|
+
* Defines the width of the geomap.
|
|
14926
|
+
*
|
|
14927
|
+
* Default value is `"700px"`.
|
|
14928
|
+
*
|
|
14929
|
+
*
|
|
14930
|
+
* @returns Value of property `width`
|
|
14931
|
+
*/
|
|
14932
|
+
getWidth(): CSSSize;
|
|
14933
|
+
/**
|
|
14934
|
+
* Gets current value of property {@link #getZoom zoom}.
|
|
14935
|
+
*
|
|
14936
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
14937
|
+
*
|
|
14938
|
+
*
|
|
14939
|
+
* @returns Value of property `zoom`
|
|
14940
|
+
*/
|
|
14941
|
+
getZoom(): float;
|
|
14942
|
+
/**
|
|
14943
|
+
* Checks for the provided `sap.ui.mdc.geomap.Item` in the aggregation {@link #getItems items}. and returns
|
|
14944
|
+
* its index if found or -1 otherwise.
|
|
14945
|
+
*
|
|
14946
|
+
*
|
|
14947
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
14948
|
+
*/
|
|
14949
|
+
indexOfItem(
|
|
14950
|
+
/**
|
|
14951
|
+
* The item whose index is looked for
|
|
14952
|
+
*/
|
|
14953
|
+
oItem: Item
|
|
14954
|
+
): int;
|
|
14955
|
+
/**
|
|
14956
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
14957
|
+
*
|
|
14958
|
+
*
|
|
14959
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14960
|
+
*/
|
|
14961
|
+
insertItem(
|
|
14962
|
+
/**
|
|
14963
|
+
* The item to insert; if empty, nothing is inserted
|
|
14964
|
+
*/
|
|
14965
|
+
oItem: Item,
|
|
14966
|
+
/**
|
|
14967
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
14968
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
14969
|
+
* the last position
|
|
14970
|
+
*/
|
|
14971
|
+
iIndex: int
|
|
14972
|
+
): this;
|
|
14973
|
+
/**
|
|
14974
|
+
* Executes a rebind considering the provided external and inbuilt filtering.
|
|
14975
|
+
*
|
|
14976
|
+
* @since 1.98
|
|
14977
|
+
*
|
|
14978
|
+
* @returns A `Promise` that resolves after rebind is executed, and rejects if rebind cannot be executed,
|
|
14979
|
+
* for example because there are invalid filters.
|
|
14980
|
+
*/
|
|
14981
|
+
rebind(): Promise<any>;
|
|
14982
|
+
/**
|
|
14983
|
+
* Sets a new value for property {@link #getCenterLat centerLat}.
|
|
14984
|
+
*
|
|
14985
|
+
* Latitude of the point where the map is centered
|
|
14986
|
+
*
|
|
14987
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14988
|
+
*
|
|
14989
|
+
*
|
|
14990
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14991
|
+
*/
|
|
14992
|
+
setCenterLat(
|
|
14993
|
+
/**
|
|
14994
|
+
* New value for property `centerLat`
|
|
14995
|
+
*/
|
|
14996
|
+
fCenterLat: float
|
|
14997
|
+
): this;
|
|
14998
|
+
/**
|
|
14999
|
+
* Sets a new value for property {@link #getCenterLng centerLng}.
|
|
15000
|
+
*
|
|
15001
|
+
* Longitude of the point where the map is centered
|
|
15002
|
+
*
|
|
15003
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15004
|
+
*
|
|
15005
|
+
*
|
|
15006
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15007
|
+
*/
|
|
15008
|
+
setCenterLng(
|
|
15009
|
+
/**
|
|
15010
|
+
* New value for property `centerLng`
|
|
15011
|
+
*/
|
|
15012
|
+
fCenterLng: float
|
|
15013
|
+
): this;
|
|
15014
|
+
/**
|
|
15015
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
15016
|
+
*
|
|
15017
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
15018
|
+
* The object has the following properties:
|
|
15019
|
+
* - `name` defines the path to the `Delegate` module
|
|
15020
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
15021
|
+
* Sample delegate object:
|
|
15022
|
+
* ```javascript
|
|
15023
|
+
* {
|
|
15024
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
15025
|
+
* payload: {}
|
|
15026
|
+
* }```
|
|
15027
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
15028
|
+
* that).
|
|
15029
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
15030
|
+
*
|
|
15031
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15032
|
+
*
|
|
15033
|
+
* Default value is `...see text or source`.
|
|
15034
|
+
*
|
|
15035
|
+
* @experimental
|
|
15036
|
+
*
|
|
15037
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15038
|
+
*/
|
|
15039
|
+
setDelegate(
|
|
15040
|
+
/**
|
|
15041
|
+
* New value for property `delegate`
|
|
15042
|
+
*/
|
|
15043
|
+
oDelegate?: object
|
|
15044
|
+
): this;
|
|
15045
|
+
/**
|
|
15046
|
+
* Sets a new value for property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
15047
|
+
*
|
|
15048
|
+
* Enables the copyright control for the map
|
|
15049
|
+
*
|
|
15050
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15051
|
+
*
|
|
15052
|
+
* Default value is `false`.
|
|
15053
|
+
*
|
|
15054
|
+
*
|
|
15055
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15056
|
+
*/
|
|
15057
|
+
setEnableCopyrightControl(
|
|
15058
|
+
/**
|
|
15059
|
+
* New value for property `enableCopyrightControl`
|
|
15060
|
+
*/
|
|
15061
|
+
bEnableCopyrightControl?: boolean
|
|
15062
|
+
): this;
|
|
15063
|
+
/**
|
|
15064
|
+
* Sets a new value for property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
15065
|
+
*
|
|
15066
|
+
* Enables the full screen control for the map
|
|
15067
|
+
*
|
|
15068
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15069
|
+
*
|
|
15070
|
+
* Default value is `true`.
|
|
15071
|
+
*
|
|
15072
|
+
*
|
|
15073
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15074
|
+
*/
|
|
15075
|
+
setEnableFullscreenControl(
|
|
15076
|
+
/**
|
|
15077
|
+
* New value for property `enableFullscreenControl`
|
|
15078
|
+
*/
|
|
15079
|
+
bEnableFullscreenControl?: boolean
|
|
15080
|
+
): this;
|
|
15081
|
+
/**
|
|
15082
|
+
* Sets a new value for property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
15083
|
+
*
|
|
15084
|
+
* Enables the navigation & compas control for the map
|
|
15085
|
+
*
|
|
15086
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15087
|
+
*
|
|
15088
|
+
* Default value is `true`.
|
|
15089
|
+
*
|
|
15090
|
+
*
|
|
15091
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15092
|
+
*/
|
|
15093
|
+
setEnableNavigationControl(
|
|
15094
|
+
/**
|
|
15095
|
+
* New value for property `enableNavigationControl`
|
|
15096
|
+
*/
|
|
15097
|
+
bEnableNavigationControl?: boolean
|
|
15098
|
+
): this;
|
|
15099
|
+
/**
|
|
15100
|
+
* Sets a new value for property {@link #getEnableScaleControl enableScaleControl}.
|
|
15101
|
+
*
|
|
15102
|
+
* Enables the scale control for the map
|
|
15103
|
+
*
|
|
15104
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15105
|
+
*
|
|
15106
|
+
* Default value is `true`.
|
|
15107
|
+
*
|
|
15108
|
+
*
|
|
15109
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15110
|
+
*/
|
|
15111
|
+
setEnableScaleControl(
|
|
15112
|
+
/**
|
|
15113
|
+
* New value for property `enableScaleControl`
|
|
15114
|
+
*/
|
|
15115
|
+
bEnableScaleControl?: boolean
|
|
15116
|
+
): this;
|
|
15117
|
+
/**
|
|
15118
|
+
* Sets a new value for property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
15119
|
+
*
|
|
15120
|
+
* Enables the selection control for the map
|
|
15121
|
+
*
|
|
15122
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15123
|
+
*
|
|
15124
|
+
* Default value is `false`.
|
|
15125
|
+
*
|
|
15126
|
+
*
|
|
15127
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15128
|
+
*/
|
|
15129
|
+
setEnableSelectionControl(
|
|
15130
|
+
/**
|
|
15131
|
+
* New value for property `enableSelectionControl`
|
|
15132
|
+
*/
|
|
15133
|
+
bEnableSelectionControl?: boolean
|
|
15134
|
+
): this;
|
|
15135
|
+
/**
|
|
15136
|
+
* Sets a new value for property {@link #getHeader header}.
|
|
15137
|
+
*
|
|
15138
|
+
* Header text that appears in the geomap
|
|
15139
|
+
*
|
|
15140
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15141
|
+
*
|
|
15142
|
+
* Default value is `empty string`.
|
|
15143
|
+
*
|
|
15144
|
+
*
|
|
15145
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15146
|
+
*/
|
|
15147
|
+
setHeader(
|
|
15148
|
+
/**
|
|
15149
|
+
* New value for property `header`
|
|
15150
|
+
*/
|
|
15151
|
+
sHeader?: string
|
|
15152
|
+
): this;
|
|
15153
|
+
/**
|
|
15154
|
+
* Sets a new value for property {@link #getHeight height}.
|
|
15155
|
+
*
|
|
15156
|
+
* Defines the height of the geomap.
|
|
15157
|
+
*
|
|
15158
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15159
|
+
*
|
|
15160
|
+
* Default value is `"700px"`.
|
|
15161
|
+
*
|
|
15162
|
+
*
|
|
15163
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15164
|
+
*/
|
|
15165
|
+
setHeight(
|
|
15166
|
+
/**
|
|
15167
|
+
* New value for property `height`
|
|
15168
|
+
*/
|
|
15169
|
+
sHeight?: CSSSize
|
|
15170
|
+
): this;
|
|
15171
|
+
/**
|
|
15172
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
15173
|
+
*
|
|
15174
|
+
* Defines the width of the geomap.
|
|
15175
|
+
*
|
|
15176
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15177
|
+
*
|
|
15178
|
+
* Default value is `"700px"`.
|
|
15179
|
+
*
|
|
15180
|
+
*
|
|
15181
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15182
|
+
*/
|
|
15183
|
+
setWidth(
|
|
15184
|
+
/**
|
|
15185
|
+
* New value for property `width`
|
|
15186
|
+
*/
|
|
15187
|
+
sWidth?: CSSSize
|
|
15188
|
+
): this;
|
|
15189
|
+
/**
|
|
15190
|
+
* Sets a new value for property {@link #getZoom zoom}.
|
|
15191
|
+
*
|
|
15192
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
15193
|
+
*
|
|
15194
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15195
|
+
*
|
|
15196
|
+
*
|
|
15197
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15198
|
+
*/
|
|
15199
|
+
setZoom(
|
|
15200
|
+
/**
|
|
15201
|
+
* New value for property `zoom`
|
|
15202
|
+
*/
|
|
15203
|
+
fZoom: float
|
|
15204
|
+
): this;
|
|
15205
|
+
}
|
|
15206
|
+
/**
|
|
15207
|
+
* An object literal describing a data property in the context of a {@link sap.ui.mdc.GeoMap}.
|
|
15208
|
+
*
|
|
15209
|
+
* When specifying the `PropertyInfo` objects in the {@link sap.ui.mdc.GeoMap#getPropertyInfo propertyInfo }
|
|
15210
|
+
* property, the following attributes need to be specified:
|
|
15211
|
+
* - `key`
|
|
15212
|
+
* - `label`
|
|
15213
|
+
* - `visible`
|
|
15214
|
+
* - `path`
|
|
15215
|
+
* - `dataType`
|
|
15216
|
+
* - `formatOptions`
|
|
15217
|
+
* - `constraints`
|
|
15218
|
+
*
|
|
15219
|
+
* @experimental As of version 1.142.
|
|
15220
|
+
*/
|
|
15221
|
+
export type PropertyInfo = PropertyInfo1 & {
|
|
15222
|
+
/**
|
|
15223
|
+
* Defines the key that the property is related to
|
|
15224
|
+
*/
|
|
15225
|
+
key?: string;
|
|
15226
|
+
/**
|
|
15227
|
+
* Defines the label of the property associated with the key.
|
|
15228
|
+
*/
|
|
15229
|
+
label?: string;
|
|
15230
|
+
/**
|
|
15231
|
+
* Defines the visibility of the property.
|
|
15232
|
+
*/
|
|
15233
|
+
visible?: boolean;
|
|
15234
|
+
/**
|
|
15235
|
+
* The path of the property in the data source.
|
|
15236
|
+
*/
|
|
15237
|
+
path?: string;
|
|
15238
|
+
/**
|
|
15239
|
+
* Defines the data type associated to the property.
|
|
15240
|
+
*/
|
|
15241
|
+
dataType?: string;
|
|
15242
|
+
/**
|
|
15243
|
+
* Defines if any format options are applied to the property.
|
|
15244
|
+
*/
|
|
15245
|
+
formatOptions?: object;
|
|
15246
|
+
/**
|
|
15247
|
+
* Defines if any constraints are applied to the property.
|
|
15248
|
+
*/
|
|
15249
|
+
constraints?: object;
|
|
15250
|
+
};
|
|
15251
|
+
|
|
15252
|
+
/**
|
|
15253
|
+
* Describes the settings that can be provided to the Geomap constructor.
|
|
15254
|
+
*
|
|
15255
|
+
* @experimental As of version 1.142.
|
|
15256
|
+
*/
|
|
15257
|
+
export interface $GeomapSettings extends $ControlSettings {
|
|
15258
|
+
/**
|
|
15259
|
+
* Defines the width of the geomap.
|
|
15260
|
+
*/
|
|
15261
|
+
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
15262
|
+
|
|
15263
|
+
/**
|
|
15264
|
+
* Defines the height of the geomap.
|
|
15265
|
+
*/
|
|
15266
|
+
height?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
15267
|
+
|
|
15268
|
+
/**
|
|
15269
|
+
* Header text that appears in the geomap
|
|
15270
|
+
*/
|
|
15271
|
+
header?: string | PropertyBindingInfo;
|
|
15272
|
+
|
|
15273
|
+
/**
|
|
15274
|
+
* Latitude of the point where the map is centered
|
|
15275
|
+
*/
|
|
15276
|
+
centerLat?: float | PropertyBindingInfo | `{${string}}`;
|
|
15277
|
+
|
|
15278
|
+
/**
|
|
15279
|
+
* Longitude of the point where the map is centered
|
|
15280
|
+
*/
|
|
15281
|
+
centerLng?: float | PropertyBindingInfo | `{${string}}`;
|
|
15282
|
+
|
|
15283
|
+
/**
|
|
15284
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
15285
|
+
*/
|
|
15286
|
+
zoom?: float | PropertyBindingInfo | `{${string}}`;
|
|
15287
|
+
|
|
15288
|
+
/**
|
|
15289
|
+
* Enables the selection control for the map
|
|
15290
|
+
*/
|
|
15291
|
+
enableSelectionControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15292
|
+
|
|
15293
|
+
/**
|
|
15294
|
+
* Enables the navigation & compas control for the map
|
|
15295
|
+
*/
|
|
15296
|
+
enableNavigationControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15297
|
+
|
|
15298
|
+
/**
|
|
15299
|
+
* Enables the full screen control for the map
|
|
15300
|
+
*/
|
|
15301
|
+
enableFullscreenControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15302
|
+
|
|
15303
|
+
/**
|
|
15304
|
+
* Enables the scale control for the map
|
|
15305
|
+
*/
|
|
15306
|
+
enableScaleControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* Enables the copyright control for the map
|
|
15310
|
+
*/
|
|
15311
|
+
enableCopyrightControl?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15312
|
+
|
|
15313
|
+
/**
|
|
15314
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
15315
|
+
* The object has the following properties:
|
|
15316
|
+
* - `name` defines the path to the `Delegate` module
|
|
15317
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
15318
|
+
* Sample delegate object:
|
|
15319
|
+
* ```javascript
|
|
15320
|
+
* {
|
|
15321
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
15322
|
+
* payload: {}
|
|
15323
|
+
* }```
|
|
15324
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
15325
|
+
* that).
|
|
15326
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
15327
|
+
*
|
|
15328
|
+
* @experimental
|
|
15329
|
+
*/
|
|
15330
|
+
delegate?: object | PropertyBindingInfo | `{${string}}`;
|
|
15331
|
+
|
|
15332
|
+
/**
|
|
15333
|
+
* Specifies the geomap metadata.
|
|
15334
|
+
* **Note:** This property must not be bound.
|
|
15335
|
+
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
15336
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Geomap#setPropertyInfo`) must not be removed and
|
|
15337
|
+
* their attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
15338
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
15339
|
+
* as the opening of any personalization dialog) are activated.
|
|
15340
|
+
*
|
|
15341
|
+
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.geomap.PropertyInfo PropertyInfo}.
|
|
13970
15342
|
*/
|
|
13971
|
-
|
|
15343
|
+
propertyInfo?: object | PropertyBindingInfo | `{${string}}`;
|
|
15344
|
+
|
|
13972
15345
|
/**
|
|
13973
|
-
*
|
|
13974
|
-
*
|
|
13975
|
-
*
|
|
13976
|
-
*
|
|
13977
|
-
* Default value is `empty string`.
|
|
13978
|
-
*
|
|
13979
|
-
* @since 1.115.0
|
|
13980
|
-
*
|
|
13981
|
-
* @returns Value of property `propertyKey`
|
|
15346
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
15347
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
15348
|
+
* are limited to those supported by the webc library.
|
|
13982
15349
|
*/
|
|
13983
|
-
|
|
15350
|
+
items?: Item[] | Item | AggregationBindingInfo | `{${string}}`;
|
|
15351
|
+
|
|
13984
15352
|
/**
|
|
13985
|
-
*
|
|
15353
|
+
* This event is fired when zooming is performed on the map.
|
|
13986
15354
|
*/
|
|
13987
|
-
|
|
15355
|
+
zoomChange?: (oEvent: Event) => void;
|
|
15356
|
+
}
|
|
15357
|
+
|
|
15358
|
+
/**
|
|
15359
|
+
* Parameters of the Geomap#zoomChange event.
|
|
15360
|
+
*/
|
|
15361
|
+
export interface Geomap$ZoomChangeEventParameters {}
|
|
15362
|
+
|
|
15363
|
+
/**
|
|
15364
|
+
* Event object of the Geomap#zoomChange event.
|
|
15365
|
+
*/
|
|
15366
|
+
export type Geomap$ZoomChangeEvent = Event<
|
|
15367
|
+
Geomap$ZoomChangeEventParameters,
|
|
15368
|
+
Geomap
|
|
15369
|
+
>;
|
|
15370
|
+
}
|
|
15371
|
+
|
|
15372
|
+
declare module "sap/ui/mdc/geomap/Item" {
|
|
15373
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
15374
|
+
|
|
15375
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
15376
|
+
|
|
15377
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
15378
|
+
|
|
15379
|
+
/**
|
|
15380
|
+
* The `Item` element for the geomap/property metadata used within MDC Geomap.
|
|
15381
|
+
*
|
|
15382
|
+
* @experimental As of version 1.142.
|
|
15383
|
+
*/
|
|
15384
|
+
export default class Item extends UI5Element {
|
|
13988
15385
|
/**
|
|
13989
|
-
*
|
|
15386
|
+
* Constructor for a new `Item`.
|
|
15387
|
+
*
|
|
15388
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15389
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15390
|
+
* of the syntax of the settings object.
|
|
13990
15391
|
*/
|
|
13991
|
-
|
|
15392
|
+
constructor(
|
|
13992
15393
|
/**
|
|
13993
|
-
*
|
|
15394
|
+
* initial settings for the new element
|
|
13994
15395
|
*/
|
|
13995
|
-
|
|
13996
|
-
)
|
|
15396
|
+
mSettings?: $ItemSettings
|
|
15397
|
+
);
|
|
13997
15398
|
/**
|
|
13998
|
-
*
|
|
15399
|
+
* Constructor for a new `Item`.
|
|
13999
15400
|
*
|
|
14000
|
-
*
|
|
14001
|
-
*
|
|
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.
|
|
14002
15404
|
*/
|
|
14003
|
-
|
|
15405
|
+
constructor(
|
|
14004
15406
|
/**
|
|
14005
|
-
*
|
|
15407
|
+
* ID for the new element, generated automatically if no ID is given
|
|
14006
15408
|
*/
|
|
14007
|
-
|
|
14008
|
-
|
|
15409
|
+
sId?: string,
|
|
15410
|
+
/**
|
|
15411
|
+
* initial settings for the new element
|
|
15412
|
+
*/
|
|
15413
|
+
mSettings?: $ItemSettings
|
|
15414
|
+
);
|
|
15415
|
+
|
|
14009
15416
|
/**
|
|
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`.
|
|
15417
|
+
* Creates a new subclass of class sap.ui.mdc.geomap.Item with name `sClassName` and enriches it with the
|
|
15418
|
+
* information contained in `oClassInfo`.
|
|
14016
15419
|
*
|
|
14017
|
-
*
|
|
15420
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
14018
15421
|
*
|
|
14019
|
-
* @since 1.118.0
|
|
14020
15422
|
*
|
|
14021
|
-
* @returns
|
|
15423
|
+
* @returns Created class / constructor function
|
|
14022
15424
|
*/
|
|
14023
|
-
|
|
15425
|
+
static extend<T extends Record<string, unknown>>(
|
|
14024
15426
|
/**
|
|
14025
|
-
*
|
|
15427
|
+
* Name of the class being created
|
|
14026
15428
|
*/
|
|
14027
|
-
|
|
14028
|
-
|
|
15429
|
+
sClassName: string,
|
|
15430
|
+
/**
|
|
15431
|
+
* Object literal with information about the class
|
|
15432
|
+
*/
|
|
15433
|
+
oClassInfo?: sap.ClassInfo<T, Item>,
|
|
15434
|
+
/**
|
|
15435
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15436
|
+
* used by this class
|
|
15437
|
+
*/
|
|
15438
|
+
FNMetaImpl?: Function
|
|
15439
|
+
): Function;
|
|
14029
15440
|
/**
|
|
14030
|
-
*
|
|
15441
|
+
* Returns a metadata object for class sap.ui.mdc.geomap.Item.
|
|
14031
15442
|
*
|
|
14032
|
-
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14033
|
-
* used is taken.
|
|
14034
15443
|
*
|
|
14035
|
-
*
|
|
14036
|
-
|
|
15444
|
+
* @returns Metadata object describing this class
|
|
15445
|
+
*/
|
|
15446
|
+
static getMetadata(): ElementMetadata;
|
|
15447
|
+
/**
|
|
15448
|
+
* Gets current value of property {@link #getLabel label}.
|
|
14037
15449
|
*
|
|
14038
|
-
*
|
|
15450
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15451
|
+
* the label.
|
|
14039
15452
|
*
|
|
14040
|
-
* @since 1.88.0
|
|
14041
15453
|
*
|
|
14042
|
-
* @returns
|
|
15454
|
+
* @returns Value of property `label`
|
|
14043
15455
|
*/
|
|
14044
|
-
|
|
14045
|
-
/**
|
|
14046
|
-
* New value for property `defaultOperator`
|
|
14047
|
-
*/
|
|
14048
|
-
sDefaultOperator?: string
|
|
14049
|
-
): this;
|
|
15456
|
+
getLabel(): string;
|
|
14050
15457
|
/**
|
|
14051
|
-
*
|
|
15458
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
14052
15459
|
*
|
|
14053
|
-
*
|
|
15460
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14054
15461
|
*
|
|
14055
|
-
*
|
|
14056
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
15462
|
+
* @since 1.142
|
|
14057
15463
|
*
|
|
14058
|
-
*
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
*
|
|
15464
|
+
* @returns Value of property `propertyKey`
|
|
15465
|
+
*/
|
|
15466
|
+
getPropertyKey(): string;
|
|
15467
|
+
/**
|
|
15468
|
+
* Sets a new value for property {@link #getLabel label}.
|
|
14063
15469
|
*
|
|
14064
|
-
*
|
|
15470
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15471
|
+
* the label.
|
|
14065
15472
|
*
|
|
14066
|
-
*
|
|
15473
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14067
15474
|
*
|
|
14068
|
-
* @since 1.73.0
|
|
14069
15475
|
*
|
|
14070
15476
|
* @returns Reference to `this` in order to allow method chaining
|
|
14071
15477
|
*/
|
|
14072
|
-
|
|
15478
|
+
setLabel(
|
|
14073
15479
|
/**
|
|
14074
|
-
* New value for property `
|
|
15480
|
+
* New value for property `label`
|
|
14075
15481
|
*/
|
|
14076
|
-
|
|
15482
|
+
sLabel: string
|
|
14077
15483
|
): this;
|
|
14078
15484
|
/**
|
|
14079
15485
|
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
14080
15486
|
*
|
|
14081
|
-
*
|
|
15487
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14082
15488
|
*
|
|
14083
15489
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14084
15490
|
*
|
|
14085
|
-
*
|
|
14086
|
-
*
|
|
14087
|
-
* @since 1.115.0
|
|
15491
|
+
* @since 1.142
|
|
14088
15492
|
*
|
|
14089
15493
|
* @returns Reference to `this` in order to allow method chaining
|
|
14090
15494
|
*/
|
|
@@ -14092,104 +15496,28 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14092
15496
|
/**
|
|
14093
15497
|
* New value for property `propertyKey`
|
|
14094
15498
|
*/
|
|
14095
|
-
sPropertyKey
|
|
15499
|
+
sPropertyKey: string
|
|
14096
15500
|
): this;
|
|
14097
15501
|
}
|
|
14098
15502
|
/**
|
|
14099
|
-
* Describes the settings that can be provided to the
|
|
15503
|
+
* Describes the settings that can be provided to the Item constructor.
|
|
15504
|
+
*
|
|
15505
|
+
* @experimental As of version 1.142.
|
|
14100
15506
|
*/
|
|
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
|
-
|
|
15507
|
+
export interface $ItemSettings extends $ElementSettings {
|
|
14129
15508
|
/**
|
|
14130
|
-
*
|
|
15509
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14131
15510
|
*
|
|
14132
|
-
* @since 1.
|
|
15511
|
+
* @since 1.142
|
|
14133
15512
|
*/
|
|
14134
15513
|
propertyKey?: string | PropertyBindingInfo;
|
|
14135
15514
|
|
|
14136
15515
|
/**
|
|
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.
|
|
15516
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15517
|
+
* the label.
|
|
14182
15518
|
*/
|
|
14183
|
-
|
|
15519
|
+
label?: string | PropertyBindingInfo;
|
|
14184
15520
|
}
|
|
14185
|
-
|
|
14186
|
-
/**
|
|
14187
|
-
* Event object of the FilterField#change event.
|
|
14188
|
-
*/
|
|
14189
|
-
export type FilterField$ChangeEvent = Event<
|
|
14190
|
-
FilterField$ChangeEventParameters,
|
|
14191
|
-
FilterField
|
|
14192
|
-
>;
|
|
14193
15521
|
}
|
|
14194
15522
|
|
|
14195
15523
|
declare module "sap/ui/mdc/Link" {
|
|
@@ -15181,7 +16509,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
15181
16509
|
* Items of the `MultiValueField` control.
|
|
15182
16510
|
*
|
|
15183
16511
|
* 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.
|
|
16512
|
+
* 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
16513
|
* function needs to be implemented to update the items after a user interaction.
|
|
15186
16514
|
*/
|
|
15187
16515
|
getItems(): MultiValueFieldItem[];
|
|
@@ -15422,7 +16750,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
15422
16750
|
* Items of the `MultiValueField` control.
|
|
15423
16751
|
*
|
|
15424
16752
|
* 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.
|
|
16753
|
+
* 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
16754
|
* function needs to be implemented to update the items after a user interaction.
|
|
15427
16755
|
*/
|
|
15428
16756
|
items?:
|
|
@@ -15569,7 +16897,7 @@ declare module "sap/ui/mdc/p13n/StateUtil" {
|
|
|
15569
16897
|
* Retrieves the externalized state for a given control instance. The retrieved state is equivalent to the
|
|
15570
16898
|
* `getCurrentState` API for the given control, after all necessary changes have been applied (for example,
|
|
15571
16899
|
* variant appliance and `p13n, StateUtil` changes). After the returned `Promise` has been resolved, the
|
|
15572
|
-
* returned state is in sync with the
|
|
16900
|
+
* returned state is in sync with the corresponding state object of the MDC control (for example, `filterConditions`
|
|
15573
16901
|
* for the `FilterBar` control).
|
|
15574
16902
|
*
|
|
15575
16903
|
*
|
|
@@ -25918,6 +27246,8 @@ declare namespace sap {
|
|
|
25918
27246
|
|
|
25919
27247
|
"sap/ui/mdc/enums/FilterBarValidationStatus": undefined;
|
|
25920
27248
|
|
|
27249
|
+
"sap/ui/mdc/enums/GeomapControlPosition": undefined;
|
|
27250
|
+
|
|
25921
27251
|
"sap/ui/mdc/enums/LinkType": undefined;
|
|
25922
27252
|
|
|
25923
27253
|
"sap/ui/mdc/enums/OperatorName": undefined;
|
|
@@ -26018,6 +27348,12 @@ declare namespace sap {
|
|
|
26018
27348
|
|
|
26019
27349
|
"sap/ui/mdc/FilterField": undefined;
|
|
26020
27350
|
|
|
27351
|
+
"sap/ui/mdc/Geomap": undefined;
|
|
27352
|
+
|
|
27353
|
+
"sap/ui/mdc/geomap/Item": undefined;
|
|
27354
|
+
|
|
27355
|
+
"sap/ui/mdc/GeomapDelegate": undefined;
|
|
27356
|
+
|
|
26021
27357
|
"sap/ui/mdc/library": undefined;
|
|
26022
27358
|
|
|
26023
27359
|
"sap/ui/mdc/Link": undefined;
|
|
@@ -26044,6 +27380,8 @@ declare namespace sap {
|
|
|
26044
27380
|
|
|
26045
27381
|
"sap/ui/mdc/odata/v4/ChartDelegate": undefined;
|
|
26046
27382
|
|
|
27383
|
+
"sap/ui/mdc/odata/v4/GeomapDelegate": undefined;
|
|
27384
|
+
|
|
26047
27385
|
"sap/ui/mdc/odata/v4/TableDelegate": undefined;
|
|
26048
27386
|
|
|
26049
27387
|
"sap/ui/mdc/odata/v4/TypeMap": undefined;
|