@sapui5/ts-types 1.141.2 → 1.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +8 -7
- 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 +152 -3
- 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 +50 -32
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +2646 -125
- 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 +23 -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/{mobile-1.141.0-d.ts → sap.m.d.ts} +401 -54
- 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 -3587
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +30 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/{tnt-1.141.0-d.ts → sap.tnt.d.ts} +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/{commons-1.141.0-d.ts → sap.ui.commons.d.ts} +1 -1
- package/types/sap.ui.comp.d.ts +78 -9
- package/types/{core-1.141.0-d.ts → sap.ui.core.d.ts} +712 -187
- package/types/{dt-1.141.0-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +56 -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/{mdc-1.141.0-d.ts → sap.ui.mdc.d.ts} +1600 -260
- 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/{ux3-1.141.0-d.ts → 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 +326 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -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";
|
|
@@ -1340,6 +1340,7 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
|
|
|
1340
1340
|
* Items can be removed, updated, or added. Use the binding information of the `MultiValueField` control
|
|
1341
1341
|
* to update the data in the related model.
|
|
1342
1342
|
*
|
|
1343
|
+
* @deprecated As of version 1.142. replaced by {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItemsFromConditions updateItemsFromConditions}.
|
|
1343
1344
|
* @experimental
|
|
1344
1345
|
*/
|
|
1345
1346
|
updateItems(
|
|
@@ -1357,6 +1358,26 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
|
|
|
1357
1358
|
*/
|
|
1358
1359
|
oMultiValueField: sap.ui.mdc.MultiValueField
|
|
1359
1360
|
): void;
|
|
1361
|
+
/**
|
|
1362
|
+
* Implements the model-specific logic to update items after conditions have been updated.
|
|
1363
|
+
*
|
|
1364
|
+
* Items can be removed, updated, or added. Use the binding information of the `MultiValueField` control
|
|
1365
|
+
* to update the data in the related model.
|
|
1366
|
+
*
|
|
1367
|
+
* @since 1.142
|
|
1368
|
+
* @experimental
|
|
1369
|
+
*/
|
|
1370
|
+
updateItemsFromConditions(
|
|
1371
|
+
/**
|
|
1372
|
+
* Current `MultiValueField` control to determine binding information to update the values of the related
|
|
1373
|
+
* model
|
|
1374
|
+
*/
|
|
1375
|
+
oMultiValueField: sap.ui.mdc.MultiValueField,
|
|
1376
|
+
/**
|
|
1377
|
+
* Current conditions of the `MultiValueField` control
|
|
1378
|
+
*/
|
|
1379
|
+
aConditions: sap.ui.mdc.condition.ConditionObject[]
|
|
1380
|
+
): void;
|
|
1360
1381
|
}
|
|
1361
1382
|
const MultiValueFieldDelegate: MultiValueFieldDelegate;
|
|
1362
1383
|
export default MultiValueFieldDelegate;
|
|
@@ -1546,6 +1567,282 @@ declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
|
1546
1567
|
export default FilterBarDelegate;
|
|
1547
1568
|
}
|
|
1548
1569
|
|
|
1570
|
+
declare module "sap/ui/mdc/GeomapDelegate" {
|
|
1571
|
+
import AggregationBaseDelegate from "sap/ui/mdc/AggregationBaseDelegate";
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Base Delegate for {@link sap.ui.mdc.Geomap Geomap}. Extend this object in your project to use all functionalities
|
|
1575
|
+
* of the {@link sap.ui.mdc.GeoMap GeoMap}.
|
|
1576
|
+
* This class provides method calls, that are called by the `geomap` for specific operations and overwrite
|
|
1577
|
+
* the internal behavior.
|
|
1578
|
+
*
|
|
1579
|
+
* @experimental As of version 1.142.
|
|
1580
|
+
*/
|
|
1581
|
+
interface GeomapDelegate extends AggregationBaseDelegate {
|
|
1582
|
+
/**
|
|
1583
|
+
* Returns the instance of the inner geomap.
|
|
1584
|
+
*
|
|
1585
|
+
*
|
|
1586
|
+
* @returns Instance of the inner geomap
|
|
1587
|
+
*/
|
|
1588
|
+
_getInnerGeomap(
|
|
1589
|
+
/**
|
|
1590
|
+
* Reference to the MDC geomap
|
|
1591
|
+
*/
|
|
1592
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1593
|
+
): sap.ui.core.Control;
|
|
1594
|
+
/**
|
|
1595
|
+
* Creates a new geomap item for a given property name and updates the inner geomap.
|
|
1596
|
+
* **Note:** This does **not** add the geomap item to the `Items` aggregation of the geomap. Called and
|
|
1597
|
+
* used by `p13n`.
|
|
1598
|
+
*
|
|
1599
|
+
*
|
|
1600
|
+
* @returns `Promise` that resolves with new geomap `Item` as parameter
|
|
1601
|
+
*/
|
|
1602
|
+
addItem(
|
|
1603
|
+
/**
|
|
1604
|
+
* Reference to the MDC geomap to add the property to
|
|
1605
|
+
*/
|
|
1606
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1607
|
+
/**
|
|
1608
|
+
* The name of the property added
|
|
1609
|
+
*/
|
|
1610
|
+
sPropertyName: string,
|
|
1611
|
+
/**
|
|
1612
|
+
* The property bag containing useful information about the change
|
|
1613
|
+
*/
|
|
1614
|
+
mPropertyBag: object,
|
|
1615
|
+
/**
|
|
1616
|
+
* New role for given item
|
|
1617
|
+
*/
|
|
1618
|
+
sRole?: string
|
|
1619
|
+
): Promise<object>;
|
|
1620
|
+
/**
|
|
1621
|
+
* Creates the initial content for the geomap before the metadata is retrieved.
|
|
1622
|
+
* This can be used by geomap libraries that can already show some information without the actual data
|
|
1623
|
+
* (for example, axis labels, legend, ...).
|
|
1624
|
+
*/
|
|
1625
|
+
createInitialGeomapContent(
|
|
1626
|
+
/**
|
|
1627
|
+
* Reference to the geomap
|
|
1628
|
+
*/
|
|
1629
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1630
|
+
): void;
|
|
1631
|
+
/**
|
|
1632
|
+
* Binds the inner geomap to the back-end data and creates the inner geomap content.
|
|
1633
|
+
*/
|
|
1634
|
+
createInnerGeomapContent(
|
|
1635
|
+
/**
|
|
1636
|
+
* Reference to the geomap
|
|
1637
|
+
*/
|
|
1638
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1639
|
+
/**
|
|
1640
|
+
* Callback function when data is loaded
|
|
1641
|
+
*/
|
|
1642
|
+
fnCallbackDataLoaded: Function
|
|
1643
|
+
): void;
|
|
1644
|
+
/**
|
|
1645
|
+
* Returns the relevant property info based on the metadata used with the geomap instance.
|
|
1646
|
+
*
|
|
1647
|
+
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
1648
|
+
* Any changes of the returned values might result in undesired effects.
|
|
1649
|
+
*
|
|
1650
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.GeoMap#setPropertyInfo`) must not be removed and their
|
|
1651
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
1652
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
1653
|
+
* as the opening of any personalization dialog) are activated.
|
|
1654
|
+
*
|
|
1655
|
+
*
|
|
1656
|
+
* @returns Array of the property infos that is used within the geomap
|
|
1657
|
+
*/
|
|
1658
|
+
fetchProperties(
|
|
1659
|
+
/**
|
|
1660
|
+
* Reference to the geomap
|
|
1661
|
+
*/
|
|
1662
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1663
|
+
): Promise</* was: sap.ui.mdc.GeoMap.PropertyInfo */ any[]>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Returns the binding info for given geomap.
|
|
1666
|
+
*
|
|
1667
|
+
*
|
|
1668
|
+
* @returns BindingInfo object
|
|
1669
|
+
*/
|
|
1670
|
+
getBindingInfo(
|
|
1671
|
+
/**
|
|
1672
|
+
* Reference to the geomap
|
|
1673
|
+
*/
|
|
1674
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1675
|
+
): sap.ui.base.ManagedObject.AggregationBindingInfo;
|
|
1676
|
+
/**
|
|
1677
|
+
* Returns the information for control positions on the map.
|
|
1678
|
+
*
|
|
1679
|
+
*
|
|
1680
|
+
* @returns with defined control positions
|
|
1681
|
+
*/
|
|
1682
|
+
getControlPositions(): object;
|
|
1683
|
+
/**
|
|
1684
|
+
* Gets the information whether the inner geomap is currently bound.
|
|
1685
|
+
*
|
|
1686
|
+
*
|
|
1687
|
+
* @returns `true` if inner geomap is bound; `false` if not
|
|
1688
|
+
*/
|
|
1689
|
+
getGeomapBound(
|
|
1690
|
+
/**
|
|
1691
|
+
* Reference to the geomap
|
|
1692
|
+
*/
|
|
1693
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1694
|
+
): boolean;
|
|
1695
|
+
/**
|
|
1696
|
+
* Returns the current geomap type.
|
|
1697
|
+
*
|
|
1698
|
+
*
|
|
1699
|
+
* @returns Information about the current geomap type
|
|
1700
|
+
*/
|
|
1701
|
+
getGeomapTypeInfo(
|
|
1702
|
+
/**
|
|
1703
|
+
* Reference to the MDC geomap
|
|
1704
|
+
*/
|
|
1705
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1706
|
+
): /* was: sap.ui.mdc.GeoMap.GeomapTypeObject */ any[];
|
|
1707
|
+
/**
|
|
1708
|
+
* Gets the current zooming information for the geomap.
|
|
1709
|
+
*
|
|
1710
|
+
*
|
|
1711
|
+
* @returns Current `zoom` level of the inner geomap
|
|
1712
|
+
*/
|
|
1713
|
+
getZoomLevel(
|
|
1714
|
+
/**
|
|
1715
|
+
* Reference to the geomap
|
|
1716
|
+
*/
|
|
1717
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1718
|
+
): float;
|
|
1719
|
+
/**
|
|
1720
|
+
* Loads the required libraries and creates the inner geomap.
|
|
1721
|
+
* By default, the method returns `Promise.reject()`.
|
|
1722
|
+
*
|
|
1723
|
+
*
|
|
1724
|
+
* @returns Resolved once the inner geomap has been initialized
|
|
1725
|
+
*/
|
|
1726
|
+
initializeGeomap(
|
|
1727
|
+
/**
|
|
1728
|
+
* Reference to the geomap
|
|
1729
|
+
*/
|
|
1730
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1731
|
+
): Promise<any>;
|
|
1732
|
+
/**
|
|
1733
|
+
* Inserts a geomap item (spot / circle for `sap.geomap.geomap`) into the inner geomap.
|
|
1734
|
+
* This function is called by the geomap for a change of the `Items` aggregation.
|
|
1735
|
+
* **Note:** Do not call this yourself, as it would not be synced with the geomap, but insert the item
|
|
1736
|
+
* into the geomap instead.
|
|
1737
|
+
*/
|
|
1738
|
+
insertItemToGeomap(
|
|
1739
|
+
/**
|
|
1740
|
+
* geomap into which the item is insert
|
|
1741
|
+
*/
|
|
1742
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1743
|
+
/**
|
|
1744
|
+
* geomap item (spot, container, circle & etc. )that is inserted into the inner geomap
|
|
1745
|
+
*/
|
|
1746
|
+
oGeomapItem: object,
|
|
1747
|
+
/**
|
|
1748
|
+
* The index into which the geomap item is inserted
|
|
1749
|
+
*/
|
|
1750
|
+
iIndex: int,
|
|
1751
|
+
/**
|
|
1752
|
+
* the type of item which should be added to the geomap
|
|
1753
|
+
*/
|
|
1754
|
+
sType: string
|
|
1755
|
+
): void;
|
|
1756
|
+
/**
|
|
1757
|
+
* Checks the binding of the geomap and rebinds it if required.
|
|
1758
|
+
*/
|
|
1759
|
+
rebind(
|
|
1760
|
+
/**
|
|
1761
|
+
* Reference to the geomap
|
|
1762
|
+
*/
|
|
1763
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1764
|
+
/**
|
|
1765
|
+
* BindingInfo of the geomap
|
|
1766
|
+
*/
|
|
1767
|
+
oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
1768
|
+
): void;
|
|
1769
|
+
/**
|
|
1770
|
+
* Removes an existing geomap item for a given property name and updates the inner geomap..
|
|
1771
|
+
*
|
|
1772
|
+
*
|
|
1773
|
+
* @returns `Promise` containing information whether the item was deleted
|
|
1774
|
+
*/
|
|
1775
|
+
removeItem(
|
|
1776
|
+
/**
|
|
1777
|
+
* Reference to the MDC geomap from which property is removed
|
|
1778
|
+
*/
|
|
1779
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1780
|
+
/**
|
|
1781
|
+
* The `item` that is removed from the geomap
|
|
1782
|
+
*/
|
|
1783
|
+
oItem: object,
|
|
1784
|
+
/**
|
|
1785
|
+
* The property bag containing useful information about the change
|
|
1786
|
+
*/
|
|
1787
|
+
mPropertyBag: object
|
|
1788
|
+
): Promise<boolean>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Removes a geomap item (spot / circle for `sap.geomap.geomap`) from the inner geomap.
|
|
1791
|
+
* This function is called by the geomap for a change of the `Items` aggregation.
|
|
1792
|
+
* **Note:** Do not call this yourself, as it would not be synced with the geomap, but remove the item
|
|
1793
|
+
* from the geomap instead.
|
|
1794
|
+
*/
|
|
1795
|
+
removeItemFromGeomap(
|
|
1796
|
+
/**
|
|
1797
|
+
* geomap from which the item is removed
|
|
1798
|
+
*/
|
|
1799
|
+
oGeoap: sap.ui.mdc.Geomap,
|
|
1800
|
+
/**
|
|
1801
|
+
* geomap item that is removed from the geomap
|
|
1802
|
+
*/
|
|
1803
|
+
oGeomapItem: object,
|
|
1804
|
+
/**
|
|
1805
|
+
* geomap item type that should be removed from the geomap
|
|
1806
|
+
*/
|
|
1807
|
+
sType: string
|
|
1808
|
+
): void;
|
|
1809
|
+
/**
|
|
1810
|
+
* Updates the binding info with the relevant information.
|
|
1811
|
+
* By default, this method updates a given {@link sap.ui.base.ManagedObject.AggregationBindingInfo AggregationBindingInfo}.
|
|
1812
|
+
*/
|
|
1813
|
+
updateBindingInfo(
|
|
1814
|
+
/**
|
|
1815
|
+
* Reference to the geomap
|
|
1816
|
+
*/
|
|
1817
|
+
oGeomap: sap.ui.mdc.Geomap,
|
|
1818
|
+
/**
|
|
1819
|
+
* Binding info of the geomap
|
|
1820
|
+
*/
|
|
1821
|
+
oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
1822
|
+
): void;
|
|
1823
|
+
/**
|
|
1824
|
+
* Notifies the inner geomap to zoom in.
|
|
1825
|
+
*/
|
|
1826
|
+
zoomIn(
|
|
1827
|
+
/**
|
|
1828
|
+
* Reference to the geomap
|
|
1829
|
+
*/
|
|
1830
|
+
oGeomap: sap.ui.mdc.Geomap
|
|
1831
|
+
): void;
|
|
1832
|
+
/**
|
|
1833
|
+
* Notifies the inner geomap to zoom out.
|
|
1834
|
+
*/
|
|
1835
|
+
zoomOut(
|
|
1836
|
+
/**
|
|
1837
|
+
* Reference to the geomap
|
|
1838
|
+
*/
|
|
1839
|
+
oGeoMap: /* was: sap.ui.mdc.GeoMap */ any
|
|
1840
|
+
): void;
|
|
1841
|
+
}
|
|
1842
|
+
const GeomapDelegate: GeomapDelegate;
|
|
1843
|
+
export default GeomapDelegate;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1549
1846
|
declare module "sap/ui/mdc/LinkDelegate" {
|
|
1550
1847
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
1551
1848
|
|
|
@@ -2723,9 +3020,8 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2723
3020
|
/**
|
|
2724
3021
|
* Returns filters that are used when updating the binding of the `ValueHelp`.
|
|
2725
3022
|
* By default, this method returns a set of {@link sap.ui.model.Filter Filters} originating from an available
|
|
2726
|
-
* {@link sap.ui.mdc.FilterBar FilterBar}
|
|
2727
|
-
*
|
|
2728
|
-
* of the given {@link sap.ui.mdc.valuehelp.base.FilterableListContent FilterableListContent}.
|
|
3023
|
+
* {@link sap.ui.mdc.FilterBar FilterBar} or the delegate's own {@link module:sap/ui/mdc/ValueHelpDelegate.getFilterConditions getFilterConditions }
|
|
3024
|
+
* implementation.
|
|
2729
3025
|
*
|
|
2730
3026
|
* @since 1.121
|
|
2731
3027
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -5149,6 +5445,12 @@ declare namespace sap {
|
|
|
5149
5445
|
*/
|
|
5150
5446
|
RequiredHasNoValue = "RequiredHasNoValue",
|
|
5151
5447
|
}
|
|
5448
|
+
/**
|
|
5449
|
+
* Enumeration of the `position` property of the Geomap controls
|
|
5450
|
+
*
|
|
5451
|
+
* @experimental As of version 1.142.
|
|
5452
|
+
*/
|
|
5453
|
+
enum GeomapControlPosition {}
|
|
5152
5454
|
/**
|
|
5153
5455
|
* Defines the behavior of the {@link sap.ui.mdc.Link}.
|
|
5154
5456
|
*
|
|
@@ -8713,6 +9015,23 @@ declare namespace sap {
|
|
|
8713
9015
|
*/
|
|
8714
9016
|
sWidth?: sap.ui.core.CSSSize
|
|
8715
9017
|
): this;
|
|
9018
|
+
/**
|
|
9019
|
+
* Checks if a condition update needs to fire a `ValidationSuccess` event.
|
|
9020
|
+
*
|
|
9021
|
+
* This is required in {@link sap.ui.mdc.field.Field Field} if the condition update doesn't lead to an update
|
|
9022
|
+
* of the {@link sap.ui.mdc.field.Field#setValue value} property. (If only description or payload is changed.)
|
|
9023
|
+
*
|
|
9024
|
+
* @since 1.142.0
|
|
9025
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
9026
|
+
*
|
|
9027
|
+
* @returns `true` if the `ValidationSuccess` event is fired
|
|
9028
|
+
*/
|
|
9029
|
+
shouldFireValidationSuccessOnConditionUpdate(
|
|
9030
|
+
/**
|
|
9031
|
+
* Current conditions
|
|
9032
|
+
*/
|
|
9033
|
+
aConditions: sap.ui.mdc.condition.ConditionObject[]
|
|
9034
|
+
): boolean;
|
|
8716
9035
|
/**
|
|
8717
9036
|
* Triggers a check if all relevant properties are set to create the internal content control.
|
|
8718
9037
|
*
|
|
@@ -9563,6 +9882,18 @@ declare namespace sap {
|
|
|
9563
9882
|
* @returns Metadata object describing this class
|
|
9564
9883
|
*/
|
|
9565
9884
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
9885
|
+
/**
|
|
9886
|
+
* Adds an `InvisibleText` to the `FilterBar` that can be used for accessibility purposes.
|
|
9887
|
+
*
|
|
9888
|
+
* @since 1.142
|
|
9889
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
9890
|
+
*/
|
|
9891
|
+
addInvisibleText(
|
|
9892
|
+
/**
|
|
9893
|
+
* The invisible text to be added
|
|
9894
|
+
*/
|
|
9895
|
+
oInvisibleText: sap.ui.core.InvisibleText
|
|
9896
|
+
): void;
|
|
9566
9897
|
/**
|
|
9567
9898
|
* Attaches event handler `fnFunction` to the {@link #event:filtersChanged filtersChanged} event of this
|
|
9568
9899
|
* `sap.ui.mdc.filterbar.FilterBarBase`.
|
|
@@ -9826,6 +10157,20 @@ declare namespace sap {
|
|
|
9826
10157
|
* Also, the `conditions` property of `filterItems` is managed by the control.
|
|
9827
10158
|
*/
|
|
9828
10159
|
getFilterItems(): sap.ui.mdc.FilterField[];
|
|
10160
|
+
/**
|
|
10161
|
+
* Retrieves an `InvisibleText` by ID.
|
|
10162
|
+
*
|
|
10163
|
+
* @since 1.142
|
|
10164
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10165
|
+
*
|
|
10166
|
+
* @returns The invisible text with the given ID
|
|
10167
|
+
*/
|
|
10168
|
+
getInvisibleText(
|
|
10169
|
+
/**
|
|
10170
|
+
* ID of the invisible text to be retrieved
|
|
10171
|
+
*/
|
|
10172
|
+
sId: string
|
|
10173
|
+
): sap.ui.core.InvisibleText;
|
|
9829
10174
|
/**
|
|
9830
10175
|
* Gets current value of property {@link #getLiveMode liveMode}.
|
|
9831
10176
|
*
|
|
@@ -14603,48 +14948,282 @@ declare namespace sap {
|
|
|
14603
14948
|
};
|
|
14604
14949
|
}
|
|
14605
14950
|
|
|
14606
|
-
namespace
|
|
14951
|
+
namespace Geomap {
|
|
14607
14952
|
/**
|
|
14608
|
-
*
|
|
14953
|
+
* Geomap `GeomapTypeObject` type.
|
|
14954
|
+
*
|
|
14955
|
+
* @experimental As of version 1.142.
|
|
14609
14956
|
*/
|
|
14610
|
-
|
|
14957
|
+
type GeomapTypeObject = {
|
|
14611
14958
|
/**
|
|
14612
|
-
* Unique key of the
|
|
14959
|
+
* Unique key of the geomap type
|
|
14613
14960
|
*/
|
|
14614
|
-
key
|
|
14615
|
-
|
|
14961
|
+
key: string;
|
|
14616
14962
|
/**
|
|
14617
|
-
*
|
|
14963
|
+
* URI for the icon for the current geomap type
|
|
14618
14964
|
*/
|
|
14619
|
-
|
|
14620
|
-
|
|
14965
|
+
icon: sap.ui.core.URI;
|
|
14621
14966
|
/**
|
|
14622
|
-
*
|
|
14967
|
+
* Name of the current geomap type
|
|
14623
14968
|
*/
|
|
14624
|
-
|
|
14625
|
-
|
|
14969
|
+
text: string;
|
|
14626
14970
|
/**
|
|
14627
|
-
*
|
|
14628
|
-
* `hrefForExternal` method of the CrossApplicationNavigation service.
|
|
14971
|
+
* Whether the geomap type is the one currently used
|
|
14629
14972
|
*/
|
|
14630
|
-
|
|
14973
|
+
selected: boolean;
|
|
14974
|
+
};
|
|
14975
|
+
}
|
|
14631
14976
|
|
|
14977
|
+
namespace geomap {
|
|
14978
|
+
/**
|
|
14979
|
+
* Describes the settings that can be provided to the Item constructor.
|
|
14980
|
+
*
|
|
14981
|
+
* @experimental As of version 1.142.
|
|
14982
|
+
*/
|
|
14983
|
+
interface $ItemSettings extends sap.ui.core.$ElementSettings {
|
|
14632
14984
|
/**
|
|
14633
|
-
*
|
|
14634
|
-
* when navigation happens programmatically). Only for internal use
|
|
14985
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14635
14986
|
*
|
|
14636
|
-
* @
|
|
14987
|
+
* @since 1.142
|
|
14637
14988
|
*/
|
|
14638
|
-
|
|
14989
|
+
propertyKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14639
14990
|
|
|
14640
14991
|
/**
|
|
14641
|
-
*
|
|
14642
|
-
*
|
|
14643
|
-
* can be entered. This property is only used if the `href` property is set.
|
|
14992
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
14993
|
+
* the label.
|
|
14644
14994
|
*/
|
|
14645
|
-
|
|
14995
|
+
label?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14996
|
+
}
|
|
14646
14997
|
|
|
14647
|
-
|
|
14998
|
+
/**
|
|
14999
|
+
* The `Item` element for the geomap/property metadata used within MDC Geomap.
|
|
15000
|
+
*
|
|
15001
|
+
* @experimental As of version 1.142.
|
|
15002
|
+
*/
|
|
15003
|
+
class Item extends sap.ui.core.Element {
|
|
15004
|
+
/**
|
|
15005
|
+
* Constructor for a new `Item`.
|
|
15006
|
+
*
|
|
15007
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15008
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15009
|
+
* of the syntax of the settings object.
|
|
15010
|
+
*/
|
|
15011
|
+
constructor(
|
|
15012
|
+
/**
|
|
15013
|
+
* initial settings for the new element
|
|
15014
|
+
*/
|
|
15015
|
+
mSettings?: sap.ui.mdc.geomap.$ItemSettings
|
|
15016
|
+
);
|
|
15017
|
+
/**
|
|
15018
|
+
* Constructor for a new `Item`.
|
|
15019
|
+
*
|
|
15020
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15021
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15022
|
+
* of the syntax of the settings object.
|
|
15023
|
+
*/
|
|
15024
|
+
constructor(
|
|
15025
|
+
/**
|
|
15026
|
+
* ID for the new element, generated automatically if no ID is given
|
|
15027
|
+
*/
|
|
15028
|
+
sId?: string,
|
|
15029
|
+
/**
|
|
15030
|
+
* initial settings for the new element
|
|
15031
|
+
*/
|
|
15032
|
+
mSettings?: sap.ui.mdc.geomap.$ItemSettings
|
|
15033
|
+
);
|
|
15034
|
+
|
|
15035
|
+
/**
|
|
15036
|
+
* Creates a new subclass of class sap.ui.mdc.geomap.Item with name `sClassName` and enriches it with the
|
|
15037
|
+
* information contained in `oClassInfo`.
|
|
15038
|
+
*
|
|
15039
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
15040
|
+
*
|
|
15041
|
+
*
|
|
15042
|
+
* @returns Created class / constructor function
|
|
15043
|
+
*/
|
|
15044
|
+
static extend<T extends Record<string, unknown>>(
|
|
15045
|
+
/**
|
|
15046
|
+
* Name of the class being created
|
|
15047
|
+
*/
|
|
15048
|
+
sClassName: string,
|
|
15049
|
+
/**
|
|
15050
|
+
* Object literal with information about the class
|
|
15051
|
+
*/
|
|
15052
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.geomap.Item>,
|
|
15053
|
+
/**
|
|
15054
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15055
|
+
* used by this class
|
|
15056
|
+
*/
|
|
15057
|
+
FNMetaImpl?: Function
|
|
15058
|
+
): Function;
|
|
15059
|
+
/**
|
|
15060
|
+
* Returns a metadata object for class sap.ui.mdc.geomap.Item.
|
|
15061
|
+
*
|
|
15062
|
+
*
|
|
15063
|
+
* @returns Metadata object describing this class
|
|
15064
|
+
*/
|
|
15065
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
15066
|
+
/**
|
|
15067
|
+
* Gets current value of property {@link #getLabel label}.
|
|
15068
|
+
*
|
|
15069
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15070
|
+
* the label.
|
|
15071
|
+
*
|
|
15072
|
+
*
|
|
15073
|
+
* @returns Value of property `label`
|
|
15074
|
+
*/
|
|
15075
|
+
getLabel(): string;
|
|
15076
|
+
/**
|
|
15077
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
15078
|
+
*
|
|
15079
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
15080
|
+
*
|
|
15081
|
+
* @since 1.142
|
|
15082
|
+
*
|
|
15083
|
+
* @returns Value of property `propertyKey`
|
|
15084
|
+
*/
|
|
15085
|
+
getPropertyKey(): string;
|
|
15086
|
+
/**
|
|
15087
|
+
* Sets a new value for property {@link #getLabel label}.
|
|
15088
|
+
*
|
|
15089
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15090
|
+
* the label.
|
|
15091
|
+
*
|
|
15092
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15093
|
+
*
|
|
15094
|
+
*
|
|
15095
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15096
|
+
*/
|
|
15097
|
+
setLabel(
|
|
15098
|
+
/**
|
|
15099
|
+
* New value for property `label`
|
|
15100
|
+
*/
|
|
15101
|
+
sLabel: string
|
|
15102
|
+
): this;
|
|
15103
|
+
/**
|
|
15104
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
15105
|
+
*
|
|
15106
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
15107
|
+
*
|
|
15108
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15109
|
+
*
|
|
15110
|
+
* @since 1.142
|
|
15111
|
+
*
|
|
15112
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15113
|
+
*/
|
|
15114
|
+
setPropertyKey(
|
|
15115
|
+
/**
|
|
15116
|
+
* New value for property `propertyKey`
|
|
15117
|
+
*/
|
|
15118
|
+
sPropertyKey: string
|
|
15119
|
+
): this;
|
|
15120
|
+
}
|
|
15121
|
+
|
|
15122
|
+
/**
|
|
15123
|
+
* An object literal describing a data property in the context of a {@link sap.ui.mdc.GeoMap}.
|
|
15124
|
+
*
|
|
15125
|
+
* When specifying the `PropertyInfo` objects in the {@link sap.ui.mdc.GeoMap#getPropertyInfo propertyInfo }
|
|
15126
|
+
* property, the following attributes need to be specified:
|
|
15127
|
+
* - `key`
|
|
15128
|
+
* - `label`
|
|
15129
|
+
* - `visible`
|
|
15130
|
+
* - `path`
|
|
15131
|
+
* - `dataType`
|
|
15132
|
+
* - `formatOptions`
|
|
15133
|
+
* - `constraints`
|
|
15134
|
+
*
|
|
15135
|
+
* @experimental As of version 1.142.
|
|
15136
|
+
*/
|
|
15137
|
+
type PropertyInfo = sap.ui.mdc.util.PropertyInfo & {
|
|
15138
|
+
/**
|
|
15139
|
+
* Defines the key that the property is related to
|
|
15140
|
+
*/
|
|
15141
|
+
key?: string;
|
|
15142
|
+
/**
|
|
15143
|
+
* Defines the label of the property associated with the key.
|
|
15144
|
+
*/
|
|
15145
|
+
label?: string;
|
|
15146
|
+
/**
|
|
15147
|
+
* Defines the visibility of the property.
|
|
15148
|
+
*/
|
|
15149
|
+
visible?: boolean;
|
|
15150
|
+
/**
|
|
15151
|
+
* The path of the property in the data source.
|
|
15152
|
+
*/
|
|
15153
|
+
path?: string;
|
|
15154
|
+
/**
|
|
15155
|
+
* Defines the data type associated to the property.
|
|
15156
|
+
*/
|
|
15157
|
+
dataType?: string;
|
|
15158
|
+
/**
|
|
15159
|
+
* Defines if any format options are applied to the property.
|
|
15160
|
+
*/
|
|
15161
|
+
formatOptions?: object;
|
|
15162
|
+
/**
|
|
15163
|
+
* Defines if any constraints are applied to the property.
|
|
15164
|
+
*/
|
|
15165
|
+
constraints?: object;
|
|
15166
|
+
};
|
|
15167
|
+
|
|
15168
|
+
/**
|
|
15169
|
+
* geomap `ZoomState` type.
|
|
15170
|
+
*
|
|
15171
|
+
* @experimental As of version 1.142.
|
|
15172
|
+
*/
|
|
15173
|
+
type ZoomState = {
|
|
15174
|
+
/**
|
|
15175
|
+
* Zooming is enabled if set to `true`
|
|
15176
|
+
*/
|
|
15177
|
+
enabled: boolean;
|
|
15178
|
+
/**
|
|
15179
|
+
* Current zoom level of the geomap in percent (between 0 and 1)
|
|
15180
|
+
*/
|
|
15181
|
+
currentZoomLevel: number;
|
|
15182
|
+
};
|
|
15183
|
+
}
|
|
15184
|
+
|
|
15185
|
+
namespace link {
|
|
15186
|
+
/**
|
|
15187
|
+
* Describes the settings that can be provided to the LinkItem constructor.
|
|
15188
|
+
*/
|
|
15189
|
+
interface $LinkItemSettings extends sap.ui.core.$ElementSettings {
|
|
15190
|
+
/**
|
|
15191
|
+
* Unique key of the `LinkItem` that is used for personalization.
|
|
15192
|
+
*/
|
|
15193
|
+
key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15194
|
+
|
|
15195
|
+
/**
|
|
15196
|
+
* Text of the `Link` that is displayed.
|
|
15197
|
+
*/
|
|
15198
|
+
text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15199
|
+
|
|
15200
|
+
/**
|
|
15201
|
+
* Defines the additional text of the item.
|
|
15202
|
+
*/
|
|
15203
|
+
description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15204
|
+
|
|
15205
|
+
/**
|
|
15206
|
+
* Destination link for a navigation operation in external format (used when opening in new tab) using the
|
|
15207
|
+
* `hrefForExternal` method of the CrossApplicationNavigation service.
|
|
15208
|
+
*/
|
|
15209
|
+
href?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15210
|
+
|
|
15211
|
+
/**
|
|
15212
|
+
* Destination link for a navigation operation in internal format provided by the SAP Fiori launchpad (used
|
|
15213
|
+
* when navigation happens programmatically). Only for internal use
|
|
15214
|
+
*
|
|
15215
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
15216
|
+
*/
|
|
15217
|
+
internalHref?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15218
|
+
|
|
15219
|
+
/**
|
|
15220
|
+
* Determines the target of the `Link` and has to be used as the `target` of an html anchor. The standard
|
|
15221
|
+
* values for the `target` property are: _self, _top, _blank, _parent, _search. Alternatively, a frame name
|
|
15222
|
+
* can be entered. This property is only used if the `href` property is set.
|
|
15223
|
+
*/
|
|
15224
|
+
target?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15225
|
+
|
|
15226
|
+
/**
|
|
14648
15227
|
* Defines the icon of the item.
|
|
14649
15228
|
*/
|
|
14650
15229
|
icon?:
|
|
@@ -15168,7 +15747,7 @@ declare namespace sap {
|
|
|
15168
15747
|
* Retrieves the externalized state for a given control instance. The retrieved state is equivalent to the
|
|
15169
15748
|
* `getCurrentState` API for the given control, after all necessary changes have been applied (for example,
|
|
15170
15749
|
* variant appliance and `p13n, StateUtil` changes). After the returned `Promise` has been resolved, the
|
|
15171
|
-
* returned state is in sync with the
|
|
15750
|
+
* returned state is in sync with the corresponding state object of the MDC control (for example, `filterConditions`
|
|
15172
15751
|
* for the `FilterBar` control).
|
|
15173
15752
|
*
|
|
15174
15753
|
*
|
|
@@ -18984,6 +19563,9 @@ declare namespace sap {
|
|
|
18984
19563
|
* The value of the field.
|
|
18985
19564
|
*
|
|
18986
19565
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
19566
|
+
*
|
|
19567
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
19568
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
18987
19569
|
*/
|
|
18988
19570
|
value?:
|
|
18989
19571
|
| any
|
|
@@ -18995,6 +19577,9 @@ declare namespace sap {
|
|
|
18995
19577
|
*
|
|
18996
19578
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
18997
19579
|
* property.
|
|
19580
|
+
*
|
|
19581
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
19582
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
18998
19583
|
*/
|
|
18999
19584
|
additionalValue?:
|
|
19000
19585
|
| any
|
|
@@ -19110,81 +19695,227 @@ declare namespace sap {
|
|
|
19110
19695
|
}
|
|
19111
19696
|
|
|
19112
19697
|
/**
|
|
19113
|
-
* Describes the settings that can be provided to the
|
|
19698
|
+
* Describes the settings that can be provided to the Geomap constructor.
|
|
19699
|
+
*
|
|
19700
|
+
* @experimental As of version 1.142.
|
|
19114
19701
|
*/
|
|
19115
|
-
interface $
|
|
19702
|
+
interface $GeomapSettings extends sap.ui.mdc.$ControlSettings {
|
|
19116
19703
|
/**
|
|
19117
|
-
*
|
|
19704
|
+
* Defines the width of the geomap.
|
|
19118
19705
|
*/
|
|
19119
|
-
|
|
19120
|
-
|
|
|
19706
|
+
width?:
|
|
19707
|
+
| sap.ui.core.CSSSize
|
|
19121
19708
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19122
19709
|
| `{${string}}`;
|
|
19123
19710
|
|
|
19124
19711
|
/**
|
|
19125
|
-
*
|
|
19126
|
-
* logic.
|
|
19127
|
-
* The object has the following properties:
|
|
19128
|
-
* - `name` defines the path to the `LinkDelegate` module
|
|
19129
|
-
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19130
|
-
* Sample delegate object:
|
|
19131
|
-
* ```javascript
|
|
19132
|
-
* {
|
|
19133
|
-
* name: "sap/ui/mdc/LinkDelegate",
|
|
19134
|
-
* payload: {}
|
|
19135
|
-
* }```
|
|
19136
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19137
|
-
* that).
|
|
19138
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19712
|
+
* Defines the height of the geomap.
|
|
19139
19713
|
*/
|
|
19140
|
-
|
|
19141
|
-
|
|
|
19714
|
+
height?:
|
|
19715
|
+
| sap.ui.core.CSSSize
|
|
19142
19716
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19143
19717
|
| `{${string}}`;
|
|
19144
19718
|
|
|
19145
19719
|
/**
|
|
19146
|
-
*
|
|
19147
|
-
* binding context.
|
|
19720
|
+
* Header text that appears in the geomap
|
|
19148
19721
|
*/
|
|
19149
|
-
|
|
19150
|
-
}
|
|
19722
|
+
header?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
19151
19723
|
|
|
19152
|
-
/**
|
|
19153
|
-
* Describes the settings that can be provided to the MultiValueField constructor.
|
|
19154
|
-
*/
|
|
19155
|
-
interface $MultiValueFieldSettings
|
|
19156
|
-
extends sap.ui.mdc.field.$FieldBaseSettings {
|
|
19157
19724
|
/**
|
|
19158
|
-
*
|
|
19159
|
-
* The object has the following properties:
|
|
19160
|
-
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/field/MultiValueFieldDelegate MultiValueFieldDelegate}.
|
|
19161
|
-
*
|
|
19162
|
-
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19163
|
-
* Sample delegate object:
|
|
19164
|
-
* ```javascript
|
|
19165
|
-
* {
|
|
19166
|
-
* name: "sap/ui/mdc/field/MultiValueFieldDelegate",
|
|
19167
|
-
* payload: {}
|
|
19168
|
-
* }```
|
|
19169
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19170
|
-
* that).
|
|
19171
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19172
|
-
*
|
|
19173
|
-
* @experimental
|
|
19725
|
+
* Latitude of the point where the map is centered
|
|
19174
19726
|
*/
|
|
19175
|
-
|
|
19176
|
-
|
|
|
19727
|
+
centerLat?:
|
|
19728
|
+
| float
|
|
19177
19729
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19178
19730
|
| `{${string}}`;
|
|
19179
19731
|
|
|
19180
19732
|
/**
|
|
19181
|
-
*
|
|
19182
|
-
*
|
|
19183
|
-
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
19184
|
-
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.updateItems MultiValueFieldDelegate.updateItems }
|
|
19185
|
-
* function needs to be implemented to update the items after a user interaction.
|
|
19733
|
+
* Longitude of the point where the map is centered
|
|
19186
19734
|
*/
|
|
19187
|
-
|
|
19735
|
+
centerLng?:
|
|
19736
|
+
| float
|
|
19737
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19738
|
+
| `{${string}}`;
|
|
19739
|
+
|
|
19740
|
+
/**
|
|
19741
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
19742
|
+
*/
|
|
19743
|
+
zoom?:
|
|
19744
|
+
| float
|
|
19745
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19746
|
+
| `{${string}}`;
|
|
19747
|
+
|
|
19748
|
+
/**
|
|
19749
|
+
* Enables the selection control for the map
|
|
19750
|
+
*/
|
|
19751
|
+
enableSelectionControl?:
|
|
19752
|
+
| boolean
|
|
19753
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19754
|
+
| `{${string}}`;
|
|
19755
|
+
|
|
19756
|
+
/**
|
|
19757
|
+
* Enables the navigation & compas control for the map
|
|
19758
|
+
*/
|
|
19759
|
+
enableNavigationControl?:
|
|
19760
|
+
| boolean
|
|
19761
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19762
|
+
| `{${string}}`;
|
|
19763
|
+
|
|
19764
|
+
/**
|
|
19765
|
+
* Enables the full screen control for the map
|
|
19766
|
+
*/
|
|
19767
|
+
enableFullscreenControl?:
|
|
19768
|
+
| boolean
|
|
19769
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19770
|
+
| `{${string}}`;
|
|
19771
|
+
|
|
19772
|
+
/**
|
|
19773
|
+
* Enables the scale control for the map
|
|
19774
|
+
*/
|
|
19775
|
+
enableScaleControl?:
|
|
19776
|
+
| boolean
|
|
19777
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19778
|
+
| `{${string}}`;
|
|
19779
|
+
|
|
19780
|
+
/**
|
|
19781
|
+
* Enables the copyright control for the map
|
|
19782
|
+
*/
|
|
19783
|
+
enableCopyrightControl?:
|
|
19784
|
+
| boolean
|
|
19785
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19786
|
+
| `{${string}}`;
|
|
19787
|
+
|
|
19788
|
+
/**
|
|
19789
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
19790
|
+
* The object has the following properties:
|
|
19791
|
+
* - `name` defines the path to the `Delegate` module
|
|
19792
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19793
|
+
* Sample delegate object:
|
|
19794
|
+
* ```javascript
|
|
19795
|
+
* {
|
|
19796
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
19797
|
+
* payload: {}
|
|
19798
|
+
* }```
|
|
19799
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19800
|
+
* that).
|
|
19801
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19802
|
+
*
|
|
19803
|
+
* @experimental
|
|
19804
|
+
*/
|
|
19805
|
+
delegate?:
|
|
19806
|
+
| object
|
|
19807
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19808
|
+
| `{${string}}`;
|
|
19809
|
+
|
|
19810
|
+
/**
|
|
19811
|
+
* Specifies the geomap metadata.
|
|
19812
|
+
* **Note:** This property must not be bound.
|
|
19813
|
+
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
19814
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Geomap#setPropertyInfo`) must not be removed and
|
|
19815
|
+
* their attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
19816
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
19817
|
+
* as the opening of any personalization dialog) are activated.
|
|
19818
|
+
*
|
|
19819
|
+
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.geomap.PropertyInfo PropertyInfo}.
|
|
19820
|
+
*/
|
|
19821
|
+
propertyInfo?:
|
|
19822
|
+
| object
|
|
19823
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19824
|
+
| `{${string}}`;
|
|
19825
|
+
|
|
19826
|
+
/**
|
|
19827
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
19828
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
19829
|
+
* are limited to those supported by the webc library.
|
|
19830
|
+
*/
|
|
19831
|
+
items?:
|
|
19832
|
+
| sap.ui.mdc.geomap.Item[]
|
|
19833
|
+
| sap.ui.mdc.geomap.Item
|
|
19834
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
19835
|
+
| `{${string}}`;
|
|
19836
|
+
|
|
19837
|
+
/**
|
|
19838
|
+
* This event is fired when zooming is performed on the map.
|
|
19839
|
+
*/
|
|
19840
|
+
zoomChange?: (oEvent: sap.ui.base.Event) => void;
|
|
19841
|
+
}
|
|
19842
|
+
|
|
19843
|
+
/**
|
|
19844
|
+
* Describes the settings that can be provided to the Link constructor.
|
|
19845
|
+
*/
|
|
19846
|
+
interface $LinkSettings extends sap.ui.mdc.field.$FieldInfoBaseSettings {
|
|
19847
|
+
/**
|
|
19848
|
+
* Enables/disables the personalization settings for users and key users.
|
|
19849
|
+
*/
|
|
19850
|
+
enablePersonalization?:
|
|
19851
|
+
| boolean
|
|
19852
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19853
|
+
| `{${string}}`;
|
|
19854
|
+
|
|
19855
|
+
/**
|
|
19856
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
19857
|
+
* logic.
|
|
19858
|
+
* The object has the following properties:
|
|
19859
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
19860
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19861
|
+
* Sample delegate object:
|
|
19862
|
+
* ```javascript
|
|
19863
|
+
* {
|
|
19864
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
19865
|
+
* payload: {}
|
|
19866
|
+
* }```
|
|
19867
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19868
|
+
* that).
|
|
19869
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19870
|
+
*/
|
|
19871
|
+
delegate?:
|
|
19872
|
+
| object
|
|
19873
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19874
|
+
| `{${string}}`;
|
|
19875
|
+
|
|
19876
|
+
/**
|
|
19877
|
+
* Gets the app component required for link personalization. Also, the source control is used to get the
|
|
19878
|
+
* binding context.
|
|
19879
|
+
*/
|
|
19880
|
+
sourceControl?: sap.ui.core.Control | string;
|
|
19881
|
+
}
|
|
19882
|
+
|
|
19883
|
+
/**
|
|
19884
|
+
* Describes the settings that can be provided to the MultiValueField constructor.
|
|
19885
|
+
*/
|
|
19886
|
+
interface $MultiValueFieldSettings
|
|
19887
|
+
extends sap.ui.mdc.field.$FieldBaseSettings {
|
|
19888
|
+
/**
|
|
19889
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
19890
|
+
* The object has the following properties:
|
|
19891
|
+
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/field/MultiValueFieldDelegate MultiValueFieldDelegate}.
|
|
19892
|
+
*
|
|
19893
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19894
|
+
* Sample delegate object:
|
|
19895
|
+
* ```javascript
|
|
19896
|
+
* {
|
|
19897
|
+
* name: "sap/ui/mdc/field/MultiValueFieldDelegate",
|
|
19898
|
+
* payload: {}
|
|
19899
|
+
* }```
|
|
19900
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19901
|
+
* that).
|
|
19902
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19903
|
+
*
|
|
19904
|
+
* @experimental
|
|
19905
|
+
*/
|
|
19906
|
+
delegate?:
|
|
19907
|
+
| object
|
|
19908
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19909
|
+
| `{${string}}`;
|
|
19910
|
+
|
|
19911
|
+
/**
|
|
19912
|
+
* Items of the `MultiValueField` control.
|
|
19913
|
+
*
|
|
19914
|
+
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
19915
|
+
* 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 }
|
|
19916
|
+
* function needs to be implemented to update the items after a user interaction.
|
|
19917
|
+
*/
|
|
19918
|
+
items?:
|
|
19188
19919
|
| sap.ui.mdc.field.MultiValueFieldItem[]
|
|
19189
19920
|
| sap.ui.mdc.field.MultiValueFieldItem
|
|
19190
19921
|
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
@@ -19850,6 +20581,11 @@ declare namespace sap {
|
|
|
19850
20581
|
promise?: boolean;
|
|
19851
20582
|
}
|
|
19852
20583
|
|
|
20584
|
+
/**
|
|
20585
|
+
* Parameters of the Geomap#zoomChange event.
|
|
20586
|
+
*/
|
|
20587
|
+
interface Geomap$ZoomChangeEventParameters {}
|
|
20588
|
+
|
|
19853
20589
|
/**
|
|
19854
20590
|
* Parameters of the MultiValueField#change event.
|
|
19855
20591
|
*/
|
|
@@ -21531,6 +22267,9 @@ declare namespace sap {
|
|
|
21531
22267
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
21532
22268
|
* property.
|
|
21533
22269
|
*
|
|
22270
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22271
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22272
|
+
*
|
|
21534
22273
|
*
|
|
21535
22274
|
* @returns Value of property `additionalValue`
|
|
21536
22275
|
*/
|
|
@@ -21595,6 +22334,9 @@ declare namespace sap {
|
|
|
21595
22334
|
*
|
|
21596
22335
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
21597
22336
|
*
|
|
22337
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22338
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22339
|
+
*
|
|
21598
22340
|
*
|
|
21599
22341
|
* @returns Value of property `value`
|
|
21600
22342
|
*/
|
|
@@ -21607,6 +22349,9 @@ declare namespace sap {
|
|
|
21607
22349
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
21608
22350
|
* property.
|
|
21609
22351
|
*
|
|
22352
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22353
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22354
|
+
*
|
|
21610
22355
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21611
22356
|
*
|
|
21612
22357
|
*
|
|
@@ -21711,6 +22456,9 @@ declare namespace sap {
|
|
|
21711
22456
|
*
|
|
21712
22457
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
21713
22458
|
*
|
|
22459
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22460
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22461
|
+
*
|
|
21714
22462
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21715
22463
|
*
|
|
21716
22464
|
*
|
|
@@ -22019,304 +22767,878 @@ declare namespace sap {
|
|
|
22019
22767
|
/**
|
|
22020
22768
|
* Object literal with information about the class
|
|
22021
22769
|
*/
|
|
22022
|
-
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.FilterField>,
|
|
22770
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.FilterField>,
|
|
22771
|
+
/**
|
|
22772
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
22773
|
+
* used by this class
|
|
22774
|
+
*/
|
|
22775
|
+
FNMetaImpl?: Function
|
|
22776
|
+
): Function;
|
|
22777
|
+
/**
|
|
22778
|
+
* Returns a metadata object for class sap.ui.mdc.FilterField.
|
|
22779
|
+
*
|
|
22780
|
+
*
|
|
22781
|
+
* @returns Metadata object describing this class
|
|
22782
|
+
*/
|
|
22783
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
22784
|
+
/**
|
|
22785
|
+
* Adds an operator to the list of known operators.
|
|
22786
|
+
*
|
|
22787
|
+
* **Note**: If no operator is set, the used `datatType` of the `FilterField` defines the set of default
|
|
22788
|
+
* operators. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22789
|
+
*
|
|
22790
|
+
*
|
|
22791
|
+
* @returns Reference to `this` to allow method chaining
|
|
22792
|
+
*/
|
|
22793
|
+
addOperator(
|
|
22794
|
+
/**
|
|
22795
|
+
* The operator instance or operator name
|
|
22796
|
+
*/
|
|
22797
|
+
vOperator: sap.ui.mdc.condition.Operator | string
|
|
22798
|
+
): this;
|
|
22799
|
+
/**
|
|
22800
|
+
* Adds an array of operators to the list of known operators.
|
|
22801
|
+
*
|
|
22802
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
22803
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22804
|
+
*
|
|
22805
|
+
*
|
|
22806
|
+
* @returns Reference to `this` to allow method chaining
|
|
22807
|
+
*/
|
|
22808
|
+
addOperators(
|
|
22809
|
+
/**
|
|
22810
|
+
* Array of operators
|
|
22811
|
+
*/
|
|
22812
|
+
aOperators: sap.ui.mdc.condition.Operator[]
|
|
22813
|
+
): this;
|
|
22814
|
+
/**
|
|
22815
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22816
|
+
*
|
|
22817
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22818
|
+
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
22819
|
+
*
|
|
22820
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
22821
|
+
*
|
|
22822
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
22823
|
+
*
|
|
22824
|
+
*
|
|
22825
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22826
|
+
*/
|
|
22827
|
+
attachChange(
|
|
22828
|
+
/**
|
|
22829
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22830
|
+
* object when firing the event
|
|
22831
|
+
*/
|
|
22832
|
+
oData: object,
|
|
22833
|
+
/**
|
|
22834
|
+
* The function to be called when the event occurs
|
|
22835
|
+
*/
|
|
22836
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22837
|
+
/**
|
|
22838
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.FilterField` itself
|
|
22839
|
+
*/
|
|
22840
|
+
oListener?: object
|
|
22841
|
+
): this;
|
|
22842
|
+
/**
|
|
22843
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22844
|
+
*
|
|
22845
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22846
|
+
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
22847
|
+
*
|
|
22848
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
22849
|
+
*
|
|
22850
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
22851
|
+
*
|
|
22852
|
+
*
|
|
22853
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22854
|
+
*/
|
|
22855
|
+
attachChange(
|
|
22856
|
+
/**
|
|
22857
|
+
* The function to be called when the event occurs
|
|
22858
|
+
*/
|
|
22859
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22860
|
+
/**
|
|
22861
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.FilterField` itself
|
|
22862
|
+
*/
|
|
22863
|
+
oListener?: object
|
|
22864
|
+
): this;
|
|
22865
|
+
/**
|
|
22866
|
+
* Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22867
|
+
*
|
|
22868
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
22869
|
+
*
|
|
22870
|
+
*
|
|
22871
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22872
|
+
*/
|
|
22873
|
+
detachChange(
|
|
22874
|
+
/**
|
|
22875
|
+
* The function to be called, when the event occurs
|
|
22876
|
+
*/
|
|
22877
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22878
|
+
/**
|
|
22879
|
+
* Context object on which the given function had to be called
|
|
22880
|
+
*/
|
|
22881
|
+
oListener?: object
|
|
22882
|
+
): this;
|
|
22883
|
+
/**
|
|
22884
|
+
* Fires event {@link #event:change change} to attached listeners.
|
|
22885
|
+
*
|
|
22886
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22887
|
+
*
|
|
22888
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22889
|
+
*/
|
|
22890
|
+
fireChange(
|
|
22891
|
+
/**
|
|
22892
|
+
* Parameters to pass along with the event
|
|
22893
|
+
*/
|
|
22894
|
+
mParameters?: sap.ui.mdc.FilterField$ChangeEventParameters
|
|
22895
|
+
): this;
|
|
22896
|
+
/**
|
|
22897
|
+
* Gets current value of property {@link #getAdditionalDataType additionalDataType}.
|
|
22898
|
+
*
|
|
22899
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
22900
|
+
* and validate the value.
|
|
22901
|
+
*
|
|
22902
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
22903
|
+
*
|
|
22904
|
+
* @since 1.118.0
|
|
22905
|
+
*
|
|
22906
|
+
* @returns Value of property `additionalDataType`
|
|
22907
|
+
*/
|
|
22908
|
+
getAdditionalDataType(): object;
|
|
22909
|
+
/**
|
|
22910
|
+
* Gets current value of property {@link #getDefaultOperator defaultOperator}.
|
|
22911
|
+
*
|
|
22912
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
22913
|
+
* used is taken.
|
|
22914
|
+
*
|
|
22915
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
22916
|
+
* instance itself.
|
|
22917
|
+
*
|
|
22918
|
+
* @since 1.88.0
|
|
22919
|
+
*
|
|
22920
|
+
* @returns Value of property `defaultOperator`
|
|
22921
|
+
*/
|
|
22922
|
+
getDefaultOperator(): string;
|
|
22923
|
+
/**
|
|
22924
|
+
* Gets current value of property {@link #getOperators operators}.
|
|
22925
|
+
*
|
|
22926
|
+
* Supported operator names for conditions.
|
|
22927
|
+
*
|
|
22928
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
22929
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22930
|
+
*
|
|
22931
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
22932
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
22933
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
22934
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
22935
|
+
* provides the value the custom control needs.
|
|
22936
|
+
*
|
|
22937
|
+
* Default value is `[]`.
|
|
22938
|
+
*
|
|
22939
|
+
* @since 1.73.0
|
|
22940
|
+
*
|
|
22941
|
+
* @returns Value of property `operators`
|
|
22942
|
+
*/
|
|
22943
|
+
getOperators(): string[];
|
|
22944
|
+
/**
|
|
22945
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
22946
|
+
*
|
|
22947
|
+
* Key of the property the `FilterField` represents.
|
|
22948
|
+
*
|
|
22949
|
+
* Default value is `empty string`.
|
|
22950
|
+
*
|
|
22951
|
+
* @since 1.115.0
|
|
22952
|
+
*
|
|
22953
|
+
* @returns Value of property `propertyKey`
|
|
22954
|
+
*/
|
|
22955
|
+
getPropertyKey(): string;
|
|
22956
|
+
/**
|
|
22957
|
+
* Removes all operators from the list of known operators.
|
|
22958
|
+
*/
|
|
22959
|
+
removeAllOperators(): void;
|
|
22960
|
+
/**
|
|
22961
|
+
* Removes an operator from the list of known operators. The standard operators can are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22962
|
+
*/
|
|
22963
|
+
removeOperator(
|
|
22964
|
+
/**
|
|
22965
|
+
* The operator instance or operator name
|
|
22966
|
+
*/
|
|
22967
|
+
vOperator: sap.ui.mdc.condition.Operator | string
|
|
22968
|
+
): void;
|
|
22969
|
+
/**
|
|
22970
|
+
* Removes all given operators from the list of known operators.
|
|
22971
|
+
*
|
|
22972
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
22973
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22974
|
+
*/
|
|
22975
|
+
removeOperators(
|
|
22976
|
+
/**
|
|
22977
|
+
* Array of operators
|
|
22978
|
+
*/
|
|
22979
|
+
aOperators: sap.ui.mdc.condition.Operator[]
|
|
22980
|
+
): void;
|
|
22981
|
+
/**
|
|
22982
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
22983
|
+
*
|
|
22984
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
22985
|
+
* and validate the value.
|
|
22986
|
+
*
|
|
22987
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
22988
|
+
*
|
|
22989
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22990
|
+
*
|
|
22991
|
+
* @since 1.118.0
|
|
22992
|
+
*
|
|
22993
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22994
|
+
*/
|
|
22995
|
+
setAdditionalDataType(
|
|
22996
|
+
/**
|
|
22997
|
+
* New value for property `additionalDataType`
|
|
22998
|
+
*/
|
|
22999
|
+
oAdditionalDataType?: object
|
|
23000
|
+
): this;
|
|
23001
|
+
/**
|
|
23002
|
+
* Sets a new value for property {@link #getDefaultOperator defaultOperator}.
|
|
23003
|
+
*
|
|
23004
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
23005
|
+
* used is taken.
|
|
23006
|
+
*
|
|
23007
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
23008
|
+
* instance itself.
|
|
23009
|
+
*
|
|
23010
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23011
|
+
*
|
|
23012
|
+
* @since 1.88.0
|
|
23013
|
+
*
|
|
23014
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23015
|
+
*/
|
|
23016
|
+
setDefaultOperator(
|
|
23017
|
+
/**
|
|
23018
|
+
* New value for property `defaultOperator`
|
|
23019
|
+
*/
|
|
23020
|
+
sDefaultOperator?: string
|
|
23021
|
+
): this;
|
|
23022
|
+
/**
|
|
23023
|
+
* Sets a new value for property {@link #getOperators operators}.
|
|
23024
|
+
*
|
|
23025
|
+
* Supported operator names for conditions.
|
|
23026
|
+
*
|
|
23027
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
23028
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23029
|
+
*
|
|
23030
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
23031
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
23032
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
23033
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
23034
|
+
* provides the value the custom control needs.
|
|
23035
|
+
*
|
|
23036
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23037
|
+
*
|
|
23038
|
+
* Default value is `[]`.
|
|
23039
|
+
*
|
|
23040
|
+
* @since 1.73.0
|
|
23041
|
+
*
|
|
23042
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23043
|
+
*/
|
|
23044
|
+
setOperators(
|
|
23045
|
+
/**
|
|
23046
|
+
* New value for property `operators`
|
|
23047
|
+
*/
|
|
23048
|
+
sOperators?: string[]
|
|
23049
|
+
): this;
|
|
23050
|
+
/**
|
|
23051
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
23052
|
+
*
|
|
23053
|
+
* Key of the property the `FilterField` represents.
|
|
23054
|
+
*
|
|
23055
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23056
|
+
*
|
|
23057
|
+
* Default value is `empty string`.
|
|
23058
|
+
*
|
|
23059
|
+
* @since 1.115.0
|
|
23060
|
+
*
|
|
23061
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23062
|
+
*/
|
|
23063
|
+
setPropertyKey(
|
|
23064
|
+
/**
|
|
23065
|
+
* New value for property `propertyKey`
|
|
23066
|
+
*/
|
|
23067
|
+
sPropertyKey?: string
|
|
23068
|
+
): this;
|
|
23069
|
+
}
|
|
23070
|
+
/**
|
|
23071
|
+
* The `Geomap` control creates a geomap based on metadata and the configuration specified.
|
|
23072
|
+
* **Note:** The geomap needs to be created inside the `GeomapDelegate`.
|
|
23073
|
+
*
|
|
23074
|
+
* @experimental As of version 1.142.
|
|
23075
|
+
*/
|
|
23076
|
+
class Geomap
|
|
23077
|
+
extends sap.ui.mdc.Control
|
|
23078
|
+
implements sap.ui.mdc.IFilterSource, sap.ui.mdc.IxState
|
|
23079
|
+
{
|
|
23080
|
+
__implements__sap_ui_mdc_IFilterSource: boolean;
|
|
23081
|
+
__implements__sap_ui_mdc_IxState: boolean;
|
|
23082
|
+
/**
|
|
23083
|
+
* Constructor for a new GeoMap.
|
|
23084
|
+
*
|
|
23085
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
23086
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
23087
|
+
* of the syntax of the settings object.
|
|
23088
|
+
* See:
|
|
23089
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
23090
|
+
*/
|
|
23091
|
+
constructor(
|
|
23092
|
+
/**
|
|
23093
|
+
* Initial settings for the new control
|
|
23094
|
+
*/
|
|
23095
|
+
mSettings?: sap.ui.mdc.$GeomapSettings
|
|
23096
|
+
);
|
|
23097
|
+
/**
|
|
23098
|
+
* Constructor for a new GeoMap.
|
|
23099
|
+
*
|
|
23100
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
23101
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
23102
|
+
* of the syntax of the settings object.
|
|
23103
|
+
* See:
|
|
23104
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
23105
|
+
*/
|
|
23106
|
+
constructor(
|
|
23107
|
+
/**
|
|
23108
|
+
* ID for the new control, generated automatically if no id is given
|
|
23109
|
+
*/
|
|
23110
|
+
sId?: string,
|
|
23111
|
+
/**
|
|
23112
|
+
* Initial settings for the new control
|
|
23113
|
+
*/
|
|
23114
|
+
mSettings?: sap.ui.mdc.$GeomapSettings
|
|
23115
|
+
);
|
|
23116
|
+
|
|
23117
|
+
/**
|
|
23118
|
+
* Creates a new subclass of class sap.ui.mdc.Geomap with name `sClassName` and enriches it with the information
|
|
23119
|
+
* contained in `oClassInfo`.
|
|
23120
|
+
*
|
|
23121
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.Control.extend}.
|
|
23122
|
+
*
|
|
23123
|
+
*
|
|
23124
|
+
* @returns Created class / constructor function
|
|
23125
|
+
*/
|
|
23126
|
+
static extend<T extends Record<string, unknown>>(
|
|
23127
|
+
/**
|
|
23128
|
+
* Name of the class being created
|
|
23129
|
+
*/
|
|
23130
|
+
sClassName: string,
|
|
23131
|
+
/**
|
|
23132
|
+
* Object literal with information about the class
|
|
23133
|
+
*/
|
|
23134
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.Geomap>,
|
|
23135
|
+
/**
|
|
23136
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
23137
|
+
* used by this class
|
|
23138
|
+
*/
|
|
23139
|
+
FNMetaImpl?: Function
|
|
23140
|
+
): Function;
|
|
23141
|
+
/**
|
|
23142
|
+
* Returns a metadata object for class sap.ui.mdc.Geomap.
|
|
23143
|
+
*
|
|
23144
|
+
*
|
|
23145
|
+
* @returns Metadata object describing this class
|
|
23146
|
+
*/
|
|
23147
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
23148
|
+
/**
|
|
23149
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23150
|
+
*
|
|
23151
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23152
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
23153
|
+
*
|
|
23154
|
+
* This event is fired when zooming is performed on the map.
|
|
23155
|
+
*
|
|
23156
|
+
*
|
|
23157
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23158
|
+
*/
|
|
23159
|
+
attachZoomChange(
|
|
23160
|
+
/**
|
|
23161
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
23162
|
+
* object when firing the event
|
|
23163
|
+
*/
|
|
23164
|
+
oData: object,
|
|
23165
|
+
/**
|
|
23166
|
+
* The function to be called when the event occurs
|
|
23167
|
+
*/
|
|
23168
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23169
|
+
/**
|
|
23170
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
23171
|
+
*/
|
|
23172
|
+
oListener?: object
|
|
23173
|
+
): this;
|
|
23174
|
+
/**
|
|
23175
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23176
|
+
*
|
|
23177
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23178
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
23179
|
+
*
|
|
23180
|
+
* This event is fired when zooming is performed on the map.
|
|
23181
|
+
*
|
|
23182
|
+
*
|
|
23183
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23184
|
+
*/
|
|
23185
|
+
attachZoomChange(
|
|
23186
|
+
/**
|
|
23187
|
+
* The function to be called when the event occurs
|
|
23188
|
+
*/
|
|
23189
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23190
|
+
/**
|
|
23191
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
23192
|
+
*/
|
|
23193
|
+
oListener?: object
|
|
23194
|
+
): this;
|
|
23195
|
+
/**
|
|
23196
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
23197
|
+
*
|
|
23198
|
+
*
|
|
23199
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23200
|
+
*/
|
|
23201
|
+
destroyItems(): this;
|
|
23202
|
+
/**
|
|
23203
|
+
* Detaches event handler `fnFunction` from the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23204
|
+
*
|
|
23205
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
23206
|
+
*
|
|
23207
|
+
*
|
|
23208
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23209
|
+
*/
|
|
23210
|
+
detachZoomChange(
|
|
23211
|
+
/**
|
|
23212
|
+
* The function to be called, when the event occurs
|
|
23213
|
+
*/
|
|
23214
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23215
|
+
/**
|
|
23216
|
+
* Context object on which the given function had to be called
|
|
23217
|
+
*/
|
|
23218
|
+
oListener?: object
|
|
23219
|
+
): this;
|
|
23220
|
+
/**
|
|
23221
|
+
* Fires event {@link #event:zoomChange zoomChange} to attached listeners.
|
|
23222
|
+
*
|
|
23223
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23224
|
+
*
|
|
23225
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23226
|
+
*/
|
|
23227
|
+
fireZoomChange(
|
|
23228
|
+
/**
|
|
23229
|
+
* Parameters to pass along with the event
|
|
23230
|
+
*/
|
|
23231
|
+
mParameters?: object
|
|
23232
|
+
): this;
|
|
23233
|
+
/**
|
|
23234
|
+
* Gets current value of property {@link #getCenterLat centerLat}.
|
|
23235
|
+
*
|
|
23236
|
+
* Latitude of the point where the map is centered
|
|
23237
|
+
*
|
|
23238
|
+
*
|
|
23239
|
+
* @returns Value of property `centerLat`
|
|
23240
|
+
*/
|
|
23241
|
+
getCenterLat(): float;
|
|
23242
|
+
/**
|
|
23243
|
+
* Gets current value of property {@link #getCenterLng centerLng}.
|
|
23244
|
+
*
|
|
23245
|
+
* Longitude of the point where the map is centered
|
|
23246
|
+
*
|
|
23247
|
+
*
|
|
23248
|
+
* @returns Value of property `centerLng`
|
|
23249
|
+
*/
|
|
23250
|
+
getCenterLng(): float;
|
|
23251
|
+
/**
|
|
23252
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
23253
|
+
*
|
|
23254
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
23255
|
+
* The object has the following properties:
|
|
23256
|
+
* - `name` defines the path to the `Delegate` module
|
|
23257
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
23258
|
+
* Sample delegate object:
|
|
23259
|
+
* ```javascript
|
|
23260
|
+
* {
|
|
23261
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
23262
|
+
* payload: {}
|
|
23263
|
+
* }```
|
|
23264
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
23265
|
+
* that).
|
|
23266
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
23267
|
+
*
|
|
23268
|
+
* Default value is `...see text or source`.
|
|
23269
|
+
*
|
|
23270
|
+
* @experimental
|
|
23271
|
+
*
|
|
23272
|
+
* @returns Value of property `delegate`
|
|
23273
|
+
*/
|
|
23274
|
+
getDelegate(): object;
|
|
23275
|
+
/**
|
|
23276
|
+
* Gets current value of property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
23277
|
+
*
|
|
23278
|
+
* Enables the copyright control for the map
|
|
23279
|
+
*
|
|
23280
|
+
* Default value is `false`.
|
|
23281
|
+
*
|
|
23282
|
+
*
|
|
23283
|
+
* @returns Value of property `enableCopyrightControl`
|
|
23284
|
+
*/
|
|
23285
|
+
getEnableCopyrightControl(): boolean;
|
|
23286
|
+
/**
|
|
23287
|
+
* Gets current value of property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
23288
|
+
*
|
|
23289
|
+
* Enables the full screen control for the map
|
|
23290
|
+
*
|
|
23291
|
+
* Default value is `true`.
|
|
23292
|
+
*
|
|
23293
|
+
*
|
|
23294
|
+
* @returns Value of property `enableFullscreenControl`
|
|
23295
|
+
*/
|
|
23296
|
+
getEnableFullscreenControl(): boolean;
|
|
23297
|
+
/**
|
|
23298
|
+
* Gets current value of property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
23299
|
+
*
|
|
23300
|
+
* Enables the navigation & compas control for the map
|
|
23301
|
+
*
|
|
23302
|
+
* Default value is `true`.
|
|
23303
|
+
*
|
|
23304
|
+
*
|
|
23305
|
+
* @returns Value of property `enableNavigationControl`
|
|
23306
|
+
*/
|
|
23307
|
+
getEnableNavigationControl(): boolean;
|
|
23308
|
+
/**
|
|
23309
|
+
* Gets current value of property {@link #getEnableScaleControl enableScaleControl}.
|
|
23310
|
+
*
|
|
23311
|
+
* Enables the scale control for the map
|
|
23312
|
+
*
|
|
23313
|
+
* Default value is `true`.
|
|
23314
|
+
*
|
|
23315
|
+
*
|
|
23316
|
+
* @returns Value of property `enableScaleControl`
|
|
23317
|
+
*/
|
|
23318
|
+
getEnableScaleControl(): boolean;
|
|
23319
|
+
/**
|
|
23320
|
+
* Gets current value of property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
23321
|
+
*
|
|
23322
|
+
* Enables the selection control for the map
|
|
23323
|
+
*
|
|
23324
|
+
* Default value is `false`.
|
|
23325
|
+
*
|
|
23326
|
+
*
|
|
23327
|
+
* @returns Value of property `enableSelectionControl`
|
|
23328
|
+
*/
|
|
23329
|
+
getEnableSelectionControl(): boolean;
|
|
23330
|
+
/**
|
|
23331
|
+
* Gets current value of property {@link #getHeader header}.
|
|
23332
|
+
*
|
|
23333
|
+
* Header text that appears in the geomap
|
|
23334
|
+
*
|
|
23335
|
+
* Default value is `empty string`.
|
|
23336
|
+
*
|
|
23337
|
+
*
|
|
23338
|
+
* @returns Value of property `header`
|
|
23339
|
+
*/
|
|
23340
|
+
getHeader(): string;
|
|
23341
|
+
/**
|
|
23342
|
+
* Gets current value of property {@link #getHeight height}.
|
|
23343
|
+
*
|
|
23344
|
+
* Defines the height of the geomap.
|
|
23345
|
+
*
|
|
23346
|
+
* Default value is `"700px"`.
|
|
23347
|
+
*
|
|
23348
|
+
*
|
|
23349
|
+
* @returns Value of property `height`
|
|
23350
|
+
*/
|
|
23351
|
+
getHeight(): sap.ui.core.CSSSize;
|
|
23352
|
+
/**
|
|
23353
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
23354
|
+
*
|
|
23355
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
23356
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
23357
|
+
* are limited to those supported by the webc library.
|
|
23358
|
+
*/
|
|
23359
|
+
getItems(): sap.ui.mdc.geomap.Item[];
|
|
23360
|
+
/**
|
|
23361
|
+
* Gets current value of property {@link #getWidth width}.
|
|
23362
|
+
*
|
|
23363
|
+
* Defines the width of the geomap.
|
|
23364
|
+
*
|
|
23365
|
+
* Default value is `"700px"`.
|
|
23366
|
+
*
|
|
23367
|
+
*
|
|
23368
|
+
* @returns Value of property `width`
|
|
23369
|
+
*/
|
|
23370
|
+
getWidth(): sap.ui.core.CSSSize;
|
|
23371
|
+
/**
|
|
23372
|
+
* Gets current value of property {@link #getZoom zoom}.
|
|
23373
|
+
*
|
|
23374
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
23375
|
+
*
|
|
23376
|
+
*
|
|
23377
|
+
* @returns Value of property `zoom`
|
|
23378
|
+
*/
|
|
23379
|
+
getZoom(): float;
|
|
23380
|
+
/**
|
|
23381
|
+
* Checks for the provided `sap.ui.mdc.geomap.Item` in the aggregation {@link #getItems items}. and returns
|
|
23382
|
+
* its index if found or -1 otherwise.
|
|
23383
|
+
*
|
|
23384
|
+
*
|
|
23385
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
23386
|
+
*/
|
|
23387
|
+
indexOfItem(
|
|
23388
|
+
/**
|
|
23389
|
+
* The item whose index is looked for
|
|
23390
|
+
*/
|
|
23391
|
+
oItem: sap.ui.mdc.geomap.Item
|
|
23392
|
+
): int;
|
|
23393
|
+
/**
|
|
23394
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
23395
|
+
*
|
|
23396
|
+
*
|
|
23397
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23398
|
+
*/
|
|
23399
|
+
insertItem(
|
|
23400
|
+
/**
|
|
23401
|
+
* The item to insert; if empty, nothing is inserted
|
|
23402
|
+
*/
|
|
23403
|
+
oItem: sap.ui.mdc.geomap.Item,
|
|
22023
23404
|
/**
|
|
22024
|
-
*
|
|
22025
|
-
*
|
|
23405
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
23406
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
23407
|
+
* the last position
|
|
22026
23408
|
*/
|
|
22027
|
-
|
|
22028
|
-
):
|
|
23409
|
+
iIndex: int
|
|
23410
|
+
): this;
|
|
22029
23411
|
/**
|
|
22030
|
-
*
|
|
23412
|
+
* Executes a rebind considering the provided external and inbuilt filtering.
|
|
22031
23413
|
*
|
|
23414
|
+
* @since 1.98
|
|
22032
23415
|
*
|
|
22033
|
-
* @returns
|
|
23416
|
+
* @returns A `Promise` that resolves after rebind is executed, and rejects if rebind cannot be executed,
|
|
23417
|
+
* for example because there are invalid filters.
|
|
22034
23418
|
*/
|
|
22035
|
-
|
|
23419
|
+
rebind(): Promise<any>;
|
|
22036
23420
|
/**
|
|
22037
|
-
*
|
|
23421
|
+
* Sets a new value for property {@link #getCenterLat centerLat}.
|
|
22038
23422
|
*
|
|
22039
|
-
*
|
|
22040
|
-
*
|
|
23423
|
+
* Latitude of the point where the map is centered
|
|
23424
|
+
*
|
|
23425
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22041
23426
|
*
|
|
22042
23427
|
*
|
|
22043
|
-
* @returns Reference to `this` to allow method chaining
|
|
23428
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22044
23429
|
*/
|
|
22045
|
-
|
|
23430
|
+
setCenterLat(
|
|
22046
23431
|
/**
|
|
22047
|
-
*
|
|
23432
|
+
* New value for property `centerLat`
|
|
22048
23433
|
*/
|
|
22049
|
-
|
|
23434
|
+
fCenterLat: float
|
|
22050
23435
|
): this;
|
|
22051
23436
|
/**
|
|
22052
|
-
*
|
|
23437
|
+
* Sets a new value for property {@link #getCenterLng centerLng}.
|
|
22053
23438
|
*
|
|
22054
|
-
*
|
|
22055
|
-
*
|
|
23439
|
+
* Longitude of the point where the map is centered
|
|
23440
|
+
*
|
|
23441
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22056
23442
|
*
|
|
22057
23443
|
*
|
|
22058
|
-
* @returns Reference to `this` to allow method chaining
|
|
23444
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22059
23445
|
*/
|
|
22060
|
-
|
|
23446
|
+
setCenterLng(
|
|
22061
23447
|
/**
|
|
22062
|
-
*
|
|
23448
|
+
* New value for property `centerLng`
|
|
22063
23449
|
*/
|
|
22064
|
-
|
|
23450
|
+
fCenterLng: float
|
|
22065
23451
|
): this;
|
|
22066
23452
|
/**
|
|
22067
|
-
*
|
|
23453
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
22068
23454
|
*
|
|
22069
|
-
*
|
|
22070
|
-
*
|
|
23455
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
23456
|
+
* The object has the following properties:
|
|
23457
|
+
* - `name` defines the path to the `Delegate` module
|
|
23458
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
23459
|
+
* Sample delegate object:
|
|
23460
|
+
* ```javascript
|
|
23461
|
+
* {
|
|
23462
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
23463
|
+
* payload: {}
|
|
23464
|
+
* }```
|
|
23465
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
23466
|
+
* that).
|
|
23467
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
22071
23468
|
*
|
|
22072
|
-
*
|
|
23469
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22073
23470
|
*
|
|
22074
|
-
*
|
|
23471
|
+
* Default value is `...see text or source`.
|
|
22075
23472
|
*
|
|
23473
|
+
* @experimental
|
|
22076
23474
|
*
|
|
22077
23475
|
* @returns Reference to `this` in order to allow method chaining
|
|
22078
23476
|
*/
|
|
22079
|
-
|
|
22080
|
-
/**
|
|
22081
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22082
|
-
* object when firing the event
|
|
22083
|
-
*/
|
|
22084
|
-
oData: object,
|
|
22085
|
-
/**
|
|
22086
|
-
* The function to be called when the event occurs
|
|
22087
|
-
*/
|
|
22088
|
-
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
23477
|
+
setDelegate(
|
|
22089
23478
|
/**
|
|
22090
|
-
*
|
|
23479
|
+
* New value for property `delegate`
|
|
22091
23480
|
*/
|
|
22092
|
-
|
|
23481
|
+
oDelegate?: object
|
|
22093
23482
|
): this;
|
|
22094
23483
|
/**
|
|
22095
|
-
*
|
|
23484
|
+
* Sets a new value for property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
22096
23485
|
*
|
|
22097
|
-
*
|
|
22098
|
-
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
23486
|
+
* Enables the copyright control for the map
|
|
22099
23487
|
*
|
|
22100
|
-
*
|
|
23488
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22101
23489
|
*
|
|
22102
|
-
*
|
|
23490
|
+
* Default value is `false`.
|
|
22103
23491
|
*
|
|
22104
23492
|
*
|
|
22105
23493
|
* @returns Reference to `this` in order to allow method chaining
|
|
22106
23494
|
*/
|
|
22107
|
-
|
|
22108
|
-
/**
|
|
22109
|
-
* The function to be called when the event occurs
|
|
22110
|
-
*/
|
|
22111
|
-
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
23495
|
+
setEnableCopyrightControl(
|
|
22112
23496
|
/**
|
|
22113
|
-
*
|
|
23497
|
+
* New value for property `enableCopyrightControl`
|
|
22114
23498
|
*/
|
|
22115
|
-
|
|
23499
|
+
bEnableCopyrightControl?: boolean
|
|
22116
23500
|
): this;
|
|
22117
23501
|
/**
|
|
22118
|
-
*
|
|
23502
|
+
* Sets a new value for property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
22119
23503
|
*
|
|
22120
|
-
*
|
|
23504
|
+
* Enables the full screen control for the map
|
|
22121
23505
|
*
|
|
23506
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22122
23507
|
*
|
|
22123
|
-
*
|
|
22124
|
-
*/
|
|
22125
|
-
detachChange(
|
|
22126
|
-
/**
|
|
22127
|
-
* The function to be called, when the event occurs
|
|
22128
|
-
*/
|
|
22129
|
-
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22130
|
-
/**
|
|
22131
|
-
* Context object on which the given function had to be called
|
|
22132
|
-
*/
|
|
22133
|
-
oListener?: object
|
|
22134
|
-
): this;
|
|
22135
|
-
/**
|
|
22136
|
-
* Fires event {@link #event:change change} to attached listeners.
|
|
23508
|
+
* Default value is `true`.
|
|
22137
23509
|
*
|
|
22138
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22139
23510
|
*
|
|
22140
23511
|
* @returns Reference to `this` in order to allow method chaining
|
|
22141
23512
|
*/
|
|
22142
|
-
|
|
23513
|
+
setEnableFullscreenControl(
|
|
22143
23514
|
/**
|
|
22144
|
-
*
|
|
23515
|
+
* New value for property `enableFullscreenControl`
|
|
22145
23516
|
*/
|
|
22146
|
-
|
|
23517
|
+
bEnableFullscreenControl?: boolean
|
|
22147
23518
|
): this;
|
|
22148
23519
|
/**
|
|
22149
|
-
*
|
|
23520
|
+
* Sets a new value for property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
22150
23521
|
*
|
|
22151
|
-
*
|
|
22152
|
-
* and validate the value.
|
|
22153
|
-
*
|
|
22154
|
-
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
22155
|
-
*
|
|
22156
|
-
* @since 1.118.0
|
|
22157
|
-
*
|
|
22158
|
-
* @returns Value of property `additionalDataType`
|
|
22159
|
-
*/
|
|
22160
|
-
getAdditionalDataType(): object;
|
|
22161
|
-
/**
|
|
22162
|
-
* Gets current value of property {@link #getDefaultOperator defaultOperator}.
|
|
23522
|
+
* Enables the navigation & compas control for the map
|
|
22163
23523
|
*
|
|
22164
|
-
*
|
|
22165
|
-
* used is taken.
|
|
23524
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22166
23525
|
*
|
|
22167
|
-
*
|
|
22168
|
-
* instance itself.
|
|
23526
|
+
* Default value is `true`.
|
|
22169
23527
|
*
|
|
22170
|
-
* @since 1.88.0
|
|
22171
23528
|
*
|
|
22172
|
-
* @returns
|
|
23529
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22173
23530
|
*/
|
|
22174
|
-
|
|
23531
|
+
setEnableNavigationControl(
|
|
23532
|
+
/**
|
|
23533
|
+
* New value for property `enableNavigationControl`
|
|
23534
|
+
*/
|
|
23535
|
+
bEnableNavigationControl?: boolean
|
|
23536
|
+
): this;
|
|
22175
23537
|
/**
|
|
22176
|
-
*
|
|
22177
|
-
*
|
|
22178
|
-
* Supported operator names for conditions.
|
|
23538
|
+
* Sets a new value for property {@link #getEnableScaleControl enableScaleControl}.
|
|
22179
23539
|
*
|
|
22180
|
-
*
|
|
22181
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23540
|
+
* Enables the scale control for the map
|
|
22182
23541
|
*
|
|
22183
|
-
*
|
|
22184
|
-
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
22185
|
-
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
22186
|
-
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
22187
|
-
* provides the value the custom control needs.
|
|
23542
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22188
23543
|
*
|
|
22189
|
-
* Default value is `
|
|
23544
|
+
* Default value is `true`.
|
|
22190
23545
|
*
|
|
22191
|
-
* @since 1.73.0
|
|
22192
23546
|
*
|
|
22193
|
-
* @returns
|
|
23547
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22194
23548
|
*/
|
|
22195
|
-
|
|
23549
|
+
setEnableScaleControl(
|
|
23550
|
+
/**
|
|
23551
|
+
* New value for property `enableScaleControl`
|
|
23552
|
+
*/
|
|
23553
|
+
bEnableScaleControl?: boolean
|
|
23554
|
+
): this;
|
|
22196
23555
|
/**
|
|
22197
|
-
*
|
|
23556
|
+
* Sets a new value for property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
22198
23557
|
*
|
|
22199
|
-
*
|
|
23558
|
+
* Enables the selection control for the map
|
|
22200
23559
|
*
|
|
22201
|
-
*
|
|
23560
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22202
23561
|
*
|
|
22203
|
-
*
|
|
23562
|
+
* Default value is `false`.
|
|
22204
23563
|
*
|
|
22205
|
-
* @returns Value of property `propertyKey`
|
|
22206
|
-
*/
|
|
22207
|
-
getPropertyKey(): string;
|
|
22208
|
-
/**
|
|
22209
|
-
* Removes all operators from the list of known operators.
|
|
22210
|
-
*/
|
|
22211
|
-
removeAllOperators(): void;
|
|
22212
|
-
/**
|
|
22213
|
-
* Removes an operator from the list of known operators. The standard operators can are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22214
|
-
*/
|
|
22215
|
-
removeOperator(
|
|
22216
|
-
/**
|
|
22217
|
-
* The operator instance or operator name
|
|
22218
|
-
*/
|
|
22219
|
-
vOperator: sap.ui.mdc.condition.Operator | string
|
|
22220
|
-
): void;
|
|
22221
|
-
/**
|
|
22222
|
-
* Removes all given operators from the list of known operators.
|
|
22223
23564
|
*
|
|
22224
|
-
*
|
|
22225
|
-
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23565
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22226
23566
|
*/
|
|
22227
|
-
|
|
23567
|
+
setEnableSelectionControl(
|
|
22228
23568
|
/**
|
|
22229
|
-
*
|
|
23569
|
+
* New value for property `enableSelectionControl`
|
|
22230
23570
|
*/
|
|
22231
|
-
|
|
22232
|
-
):
|
|
23571
|
+
bEnableSelectionControl?: boolean
|
|
23572
|
+
): this;
|
|
22233
23573
|
/**
|
|
22234
|
-
* Sets a new value for property {@link #
|
|
22235
|
-
*
|
|
22236
|
-
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
22237
|
-
* and validate the value.
|
|
23574
|
+
* Sets a new value for property {@link #getHeader header}.
|
|
22238
23575
|
*
|
|
22239
|
-
*
|
|
23576
|
+
* Header text that appears in the geomap
|
|
22240
23577
|
*
|
|
22241
23578
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22242
23579
|
*
|
|
22243
|
-
*
|
|
23580
|
+
* Default value is `empty string`.
|
|
23581
|
+
*
|
|
22244
23582
|
*
|
|
22245
23583
|
* @returns Reference to `this` in order to allow method chaining
|
|
22246
23584
|
*/
|
|
22247
|
-
|
|
23585
|
+
setHeader(
|
|
22248
23586
|
/**
|
|
22249
|
-
* New value for property `
|
|
23587
|
+
* New value for property `header`
|
|
22250
23588
|
*/
|
|
22251
|
-
|
|
23589
|
+
sHeader?: string
|
|
22252
23590
|
): this;
|
|
22253
23591
|
/**
|
|
22254
|
-
* Sets a new value for property {@link #
|
|
22255
|
-
*
|
|
22256
|
-
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
22257
|
-
* used is taken.
|
|
23592
|
+
* Sets a new value for property {@link #getHeight height}.
|
|
22258
23593
|
*
|
|
22259
|
-
*
|
|
22260
|
-
* instance itself.
|
|
23594
|
+
* Defines the height of the geomap.
|
|
22261
23595
|
*
|
|
22262
23596
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22263
23597
|
*
|
|
22264
|
-
*
|
|
23598
|
+
* Default value is `"700px"`.
|
|
23599
|
+
*
|
|
22265
23600
|
*
|
|
22266
23601
|
* @returns Reference to `this` in order to allow method chaining
|
|
22267
23602
|
*/
|
|
22268
|
-
|
|
23603
|
+
setHeight(
|
|
22269
23604
|
/**
|
|
22270
|
-
* New value for property `
|
|
23605
|
+
* New value for property `height`
|
|
22271
23606
|
*/
|
|
22272
|
-
|
|
23607
|
+
sHeight?: sap.ui.core.CSSSize
|
|
22273
23608
|
): this;
|
|
22274
23609
|
/**
|
|
22275
|
-
* Sets a new value for property {@link #
|
|
22276
|
-
*
|
|
22277
|
-
* Supported operator names for conditions.
|
|
22278
|
-
*
|
|
22279
|
-
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
22280
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23610
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
22281
23611
|
*
|
|
22282
|
-
*
|
|
22283
|
-
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
22284
|
-
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
22285
|
-
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
22286
|
-
* provides the value the custom control needs.
|
|
23612
|
+
* Defines the width of the geomap.
|
|
22287
23613
|
*
|
|
22288
23614
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22289
23615
|
*
|
|
22290
|
-
* Default value is `
|
|
23616
|
+
* Default value is `"700px"`.
|
|
22291
23617
|
*
|
|
22292
|
-
* @since 1.73.0
|
|
22293
23618
|
*
|
|
22294
23619
|
* @returns Reference to `this` in order to allow method chaining
|
|
22295
23620
|
*/
|
|
22296
|
-
|
|
23621
|
+
setWidth(
|
|
22297
23622
|
/**
|
|
22298
|
-
* New value for property `
|
|
23623
|
+
* New value for property `width`
|
|
22299
23624
|
*/
|
|
22300
|
-
|
|
23625
|
+
sWidth?: sap.ui.core.CSSSize
|
|
22301
23626
|
): this;
|
|
22302
23627
|
/**
|
|
22303
|
-
* Sets a new value for property {@link #
|
|
23628
|
+
* Sets a new value for property {@link #getZoom zoom}.
|
|
22304
23629
|
*
|
|
22305
|
-
*
|
|
23630
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
22306
23631
|
*
|
|
22307
23632
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22308
23633
|
*
|
|
22309
|
-
* Default value is `empty string`.
|
|
22310
|
-
*
|
|
22311
|
-
* @since 1.115.0
|
|
22312
23634
|
*
|
|
22313
23635
|
* @returns Reference to `this` in order to allow method chaining
|
|
22314
23636
|
*/
|
|
22315
|
-
|
|
23637
|
+
setZoom(
|
|
22316
23638
|
/**
|
|
22317
|
-
* New value for property `
|
|
23639
|
+
* New value for property `zoom`
|
|
22318
23640
|
*/
|
|
22319
|
-
|
|
23641
|
+
fZoom: float
|
|
22320
23642
|
): this;
|
|
22321
23643
|
}
|
|
22322
23644
|
/**
|
|
@@ -22820,7 +24142,7 @@ declare namespace sap {
|
|
|
22820
24142
|
* Items of the `MultiValueField` control.
|
|
22821
24143
|
*
|
|
22822
24144
|
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
22823
|
-
* binding can only be updated by the model, not by the bound aggregation. Therefore, the {@link module:sap/ui/mdc/field/MultiValueFieldDelegate.
|
|
24145
|
+
* 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 }
|
|
22824
24146
|
* function needs to be implemented to update the items after a user interaction.
|
|
22825
24147
|
*/
|
|
22826
24148
|
getItems(): sap.ui.mdc.field.MultiValueFieldItem[];
|
|
@@ -25226,6 +26548,14 @@ declare namespace sap {
|
|
|
25226
26548
|
FilterField
|
|
25227
26549
|
>;
|
|
25228
26550
|
|
|
26551
|
+
/**
|
|
26552
|
+
* Event object of the Geomap#zoomChange event.
|
|
26553
|
+
*/
|
|
26554
|
+
type Geomap$ZoomChangeEvent = sap.ui.base.Event<
|
|
26555
|
+
Geomap$ZoomChangeEventParameters,
|
|
26556
|
+
Geomap
|
|
26557
|
+
>;
|
|
26558
|
+
|
|
25229
26559
|
/**
|
|
25230
26560
|
* Event object of the MultiValueField#change event.
|
|
25231
26561
|
*/
|
|
@@ -25441,6 +26771,8 @@ declare namespace sap {
|
|
|
25441
26771
|
|
|
25442
26772
|
"sap/ui/mdc/enums/FilterBarValidationStatus": undefined;
|
|
25443
26773
|
|
|
26774
|
+
"sap/ui/mdc/enums/GeomapControlPosition": undefined;
|
|
26775
|
+
|
|
25444
26776
|
"sap/ui/mdc/enums/LinkType": undefined;
|
|
25445
26777
|
|
|
25446
26778
|
"sap/ui/mdc/enums/OperatorName": undefined;
|
|
@@ -25541,6 +26873,12 @@ declare namespace sap {
|
|
|
25541
26873
|
|
|
25542
26874
|
"sap/ui/mdc/FilterField": undefined;
|
|
25543
26875
|
|
|
26876
|
+
"sap/ui/mdc/Geomap": undefined;
|
|
26877
|
+
|
|
26878
|
+
"sap/ui/mdc/geomap/Item": undefined;
|
|
26879
|
+
|
|
26880
|
+
"sap/ui/mdc/GeomapDelegate": undefined;
|
|
26881
|
+
|
|
25544
26882
|
"sap/ui/mdc/library": undefined;
|
|
25545
26883
|
|
|
25546
26884
|
"sap/ui/mdc/Link": undefined;
|
|
@@ -25567,6 +26905,8 @@ declare namespace sap {
|
|
|
25567
26905
|
|
|
25568
26906
|
"sap/ui/mdc/odata/v4/ChartDelegate": undefined;
|
|
25569
26907
|
|
|
26908
|
+
"sap/ui/mdc/odata/v4/GeomapDelegate": undefined;
|
|
26909
|
+
|
|
25570
26910
|
"sap/ui/mdc/odata/v4/TableDelegate": undefined;
|
|
25571
26911
|
|
|
25572
26912
|
"sap/ui/mdc/odata/v4/TypeMap": undefined;
|