@openui5/ts-types 1.141.2 → 1.142.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +432 -55
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +712 -187
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +100 -94
- package/types/sap.ui.mdc.d.ts +1609 -256
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +13 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +34 -78
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.142.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -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`.
|
|
@@ -9749,6 +10080,19 @@ declare namespace sap {
|
|
|
9749
10080
|
*/
|
|
9750
10081
|
mParameters?: sap.ui.mdc.filterbar.FilterBarBase$SearchEventParameters
|
|
9751
10082
|
): this;
|
|
10083
|
+
/**
|
|
10084
|
+
* Updates the Adapt Filters button text based on the number of assigned filters.
|
|
10085
|
+
*
|
|
10086
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10087
|
+
*
|
|
10088
|
+
* @returns text for the Adapt Filters button
|
|
10089
|
+
*/
|
|
10090
|
+
getAdaptFiltersButtonText(
|
|
10091
|
+
/**
|
|
10092
|
+
* number of assigned filters
|
|
10093
|
+
*/
|
|
10094
|
+
iFilterCount: int
|
|
10095
|
+
): string;
|
|
9752
10096
|
/**
|
|
9753
10097
|
* Gets the labels of all filters with a value assignment.
|
|
9754
10098
|
*
|
|
@@ -9826,6 +10170,20 @@ declare namespace sap {
|
|
|
9826
10170
|
* Also, the `conditions` property of `filterItems` is managed by the control.
|
|
9827
10171
|
*/
|
|
9828
10172
|
getFilterItems(): sap.ui.mdc.FilterField[];
|
|
10173
|
+
/**
|
|
10174
|
+
* Retrieves an `InvisibleText` by ID.
|
|
10175
|
+
*
|
|
10176
|
+
* @since 1.142
|
|
10177
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10178
|
+
*
|
|
10179
|
+
* @returns The invisible text with the given ID
|
|
10180
|
+
*/
|
|
10181
|
+
getInvisibleText(
|
|
10182
|
+
/**
|
|
10183
|
+
* ID of the invisible text to be retrieved
|
|
10184
|
+
*/
|
|
10185
|
+
sId: string
|
|
10186
|
+
): sap.ui.core.InvisibleText;
|
|
9829
10187
|
/**
|
|
9830
10188
|
* Gets current value of property {@link #getLiveMode liveMode}.
|
|
9831
10189
|
*
|
|
@@ -14603,42 +14961,276 @@ declare namespace sap {
|
|
|
14603
14961
|
};
|
|
14604
14962
|
}
|
|
14605
14963
|
|
|
14606
|
-
namespace
|
|
14964
|
+
namespace Geomap {
|
|
14607
14965
|
/**
|
|
14608
|
-
*
|
|
14966
|
+
* Geomap `GeomapTypeObject` type.
|
|
14967
|
+
*
|
|
14968
|
+
* @experimental As of version 1.142.
|
|
14609
14969
|
*/
|
|
14610
|
-
|
|
14970
|
+
type GeomapTypeObject = {
|
|
14611
14971
|
/**
|
|
14612
|
-
* Unique key of the
|
|
14972
|
+
* Unique key of the geomap type
|
|
14613
14973
|
*/
|
|
14614
|
-
key
|
|
14615
|
-
|
|
14974
|
+
key: string;
|
|
14616
14975
|
/**
|
|
14617
|
-
*
|
|
14976
|
+
* URI for the icon for the current geomap type
|
|
14618
14977
|
*/
|
|
14619
|
-
|
|
14620
|
-
|
|
14978
|
+
icon: sap.ui.core.URI;
|
|
14621
14979
|
/**
|
|
14622
|
-
*
|
|
14980
|
+
* Name of the current geomap type
|
|
14623
14981
|
*/
|
|
14624
|
-
|
|
14625
|
-
|
|
14982
|
+
text: string;
|
|
14626
14983
|
/**
|
|
14627
|
-
*
|
|
14628
|
-
* `hrefForExternal` method of the CrossApplicationNavigation service.
|
|
14984
|
+
* Whether the geomap type is the one currently used
|
|
14629
14985
|
*/
|
|
14630
|
-
|
|
14986
|
+
selected: boolean;
|
|
14987
|
+
};
|
|
14988
|
+
}
|
|
14631
14989
|
|
|
14990
|
+
namespace geomap {
|
|
14991
|
+
/**
|
|
14992
|
+
* Describes the settings that can be provided to the Item constructor.
|
|
14993
|
+
*
|
|
14994
|
+
* @experimental As of version 1.142.
|
|
14995
|
+
*/
|
|
14996
|
+
interface $ItemSettings extends sap.ui.core.$ElementSettings {
|
|
14632
14997
|
/**
|
|
14633
|
-
*
|
|
14634
|
-
* when navigation happens programmatically). Only for internal use
|
|
14998
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
14635
14999
|
*
|
|
14636
|
-
* @
|
|
15000
|
+
* @since 1.142
|
|
14637
15001
|
*/
|
|
14638
|
-
|
|
15002
|
+
propertyKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14639
15003
|
|
|
14640
15004
|
/**
|
|
14641
|
-
*
|
|
15005
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15006
|
+
* the label.
|
|
15007
|
+
*/
|
|
15008
|
+
label?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15009
|
+
}
|
|
15010
|
+
|
|
15011
|
+
/**
|
|
15012
|
+
* The `Item` element for the geomap/property metadata used within MDC Geomap.
|
|
15013
|
+
*
|
|
15014
|
+
* @experimental As of version 1.142.
|
|
15015
|
+
*/
|
|
15016
|
+
class Item extends sap.ui.core.Element {
|
|
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
|
+
* initial settings for the new element
|
|
15027
|
+
*/
|
|
15028
|
+
mSettings?: sap.ui.mdc.geomap.$ItemSettings
|
|
15029
|
+
);
|
|
15030
|
+
/**
|
|
15031
|
+
* Constructor for a new `Item`.
|
|
15032
|
+
*
|
|
15033
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15034
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15035
|
+
* of the syntax of the settings object.
|
|
15036
|
+
*/
|
|
15037
|
+
constructor(
|
|
15038
|
+
/**
|
|
15039
|
+
* ID for the new element, generated automatically if no ID is given
|
|
15040
|
+
*/
|
|
15041
|
+
sId?: string,
|
|
15042
|
+
/**
|
|
15043
|
+
* initial settings for the new element
|
|
15044
|
+
*/
|
|
15045
|
+
mSettings?: sap.ui.mdc.geomap.$ItemSettings
|
|
15046
|
+
);
|
|
15047
|
+
|
|
15048
|
+
/**
|
|
15049
|
+
* Creates a new subclass of class sap.ui.mdc.geomap.Item with name `sClassName` and enriches it with the
|
|
15050
|
+
* information contained in `oClassInfo`.
|
|
15051
|
+
*
|
|
15052
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
15053
|
+
*
|
|
15054
|
+
*
|
|
15055
|
+
* @returns Created class / constructor function
|
|
15056
|
+
*/
|
|
15057
|
+
static extend<T extends Record<string, unknown>>(
|
|
15058
|
+
/**
|
|
15059
|
+
* Name of the class being created
|
|
15060
|
+
*/
|
|
15061
|
+
sClassName: string,
|
|
15062
|
+
/**
|
|
15063
|
+
* Object literal with information about the class
|
|
15064
|
+
*/
|
|
15065
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.geomap.Item>,
|
|
15066
|
+
/**
|
|
15067
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15068
|
+
* used by this class
|
|
15069
|
+
*/
|
|
15070
|
+
FNMetaImpl?: Function
|
|
15071
|
+
): Function;
|
|
15072
|
+
/**
|
|
15073
|
+
* Returns a metadata object for class sap.ui.mdc.geomap.Item.
|
|
15074
|
+
*
|
|
15075
|
+
*
|
|
15076
|
+
* @returns Metadata object describing this class
|
|
15077
|
+
*/
|
|
15078
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
15079
|
+
/**
|
|
15080
|
+
* Gets current value of property {@link #getLabel label}.
|
|
15081
|
+
*
|
|
15082
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15083
|
+
* the label.
|
|
15084
|
+
*
|
|
15085
|
+
*
|
|
15086
|
+
* @returns Value of property `label`
|
|
15087
|
+
*/
|
|
15088
|
+
getLabel(): string;
|
|
15089
|
+
/**
|
|
15090
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
15091
|
+
*
|
|
15092
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
15093
|
+
*
|
|
15094
|
+
* @since 1.142
|
|
15095
|
+
*
|
|
15096
|
+
* @returns Value of property `propertyKey`
|
|
15097
|
+
*/
|
|
15098
|
+
getPropertyKey(): string;
|
|
15099
|
+
/**
|
|
15100
|
+
* Sets a new value for property {@link #getLabel label}.
|
|
15101
|
+
*
|
|
15102
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing
|
|
15103
|
+
* the label.
|
|
15104
|
+
*
|
|
15105
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15106
|
+
*
|
|
15107
|
+
*
|
|
15108
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15109
|
+
*/
|
|
15110
|
+
setLabel(
|
|
15111
|
+
/**
|
|
15112
|
+
* New value for property `label`
|
|
15113
|
+
*/
|
|
15114
|
+
sLabel: string
|
|
15115
|
+
): this;
|
|
15116
|
+
/**
|
|
15117
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
15118
|
+
*
|
|
15119
|
+
* The unique identifier of the geomap item that reflects the name of property in the PropertyInfo.
|
|
15120
|
+
*
|
|
15121
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15122
|
+
*
|
|
15123
|
+
* @since 1.142
|
|
15124
|
+
*
|
|
15125
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15126
|
+
*/
|
|
15127
|
+
setPropertyKey(
|
|
15128
|
+
/**
|
|
15129
|
+
* New value for property `propertyKey`
|
|
15130
|
+
*/
|
|
15131
|
+
sPropertyKey: string
|
|
15132
|
+
): this;
|
|
15133
|
+
}
|
|
15134
|
+
|
|
15135
|
+
/**
|
|
15136
|
+
* An object literal describing a data property in the context of a {@link sap.ui.mdc.GeoMap}.
|
|
15137
|
+
*
|
|
15138
|
+
* When specifying the `PropertyInfo` objects in the {@link sap.ui.mdc.GeoMap#getPropertyInfo propertyInfo }
|
|
15139
|
+
* property, the following attributes need to be specified:
|
|
15140
|
+
* - `key`
|
|
15141
|
+
* - `label`
|
|
15142
|
+
* - `visible`
|
|
15143
|
+
* - `path`
|
|
15144
|
+
* - `dataType`
|
|
15145
|
+
* - `formatOptions`
|
|
15146
|
+
* - `constraints`
|
|
15147
|
+
*
|
|
15148
|
+
* @experimental As of version 1.142.
|
|
15149
|
+
*/
|
|
15150
|
+
type PropertyInfo = sap.ui.mdc.util.PropertyInfo & {
|
|
15151
|
+
/**
|
|
15152
|
+
* Defines the key that the property is related to
|
|
15153
|
+
*/
|
|
15154
|
+
key?: string;
|
|
15155
|
+
/**
|
|
15156
|
+
* Defines the label of the property associated with the key.
|
|
15157
|
+
*/
|
|
15158
|
+
label?: string;
|
|
15159
|
+
/**
|
|
15160
|
+
* Defines the visibility of the property.
|
|
15161
|
+
*/
|
|
15162
|
+
visible?: boolean;
|
|
15163
|
+
/**
|
|
15164
|
+
* The path of the property in the data source.
|
|
15165
|
+
*/
|
|
15166
|
+
path?: string;
|
|
15167
|
+
/**
|
|
15168
|
+
* Defines the data type associated to the property.
|
|
15169
|
+
*/
|
|
15170
|
+
dataType?: string;
|
|
15171
|
+
/**
|
|
15172
|
+
* Defines if any format options are applied to the property.
|
|
15173
|
+
*/
|
|
15174
|
+
formatOptions?: object;
|
|
15175
|
+
/**
|
|
15176
|
+
* Defines if any constraints are applied to the property.
|
|
15177
|
+
*/
|
|
15178
|
+
constraints?: object;
|
|
15179
|
+
};
|
|
15180
|
+
|
|
15181
|
+
/**
|
|
15182
|
+
* geomap `ZoomState` type.
|
|
15183
|
+
*
|
|
15184
|
+
* @experimental As of version 1.142.
|
|
15185
|
+
*/
|
|
15186
|
+
type ZoomState = {
|
|
15187
|
+
/**
|
|
15188
|
+
* Zooming is enabled if set to `true`
|
|
15189
|
+
*/
|
|
15190
|
+
enabled: boolean;
|
|
15191
|
+
/**
|
|
15192
|
+
* Current zoom level of the geomap in percent (between 0 and 1)
|
|
15193
|
+
*/
|
|
15194
|
+
currentZoomLevel: number;
|
|
15195
|
+
};
|
|
15196
|
+
}
|
|
15197
|
+
|
|
15198
|
+
namespace link {
|
|
15199
|
+
/**
|
|
15200
|
+
* Describes the settings that can be provided to the LinkItem constructor.
|
|
15201
|
+
*/
|
|
15202
|
+
interface $LinkItemSettings extends sap.ui.core.$ElementSettings {
|
|
15203
|
+
/**
|
|
15204
|
+
* Unique key of the `LinkItem` that is used for personalization.
|
|
15205
|
+
*/
|
|
15206
|
+
key?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15207
|
+
|
|
15208
|
+
/**
|
|
15209
|
+
* Text of the `Link` that is displayed.
|
|
15210
|
+
*/
|
|
15211
|
+
text?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15212
|
+
|
|
15213
|
+
/**
|
|
15214
|
+
* Defines the additional text of the item.
|
|
15215
|
+
*/
|
|
15216
|
+
description?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15217
|
+
|
|
15218
|
+
/**
|
|
15219
|
+
* Destination link for a navigation operation in external format (used when opening in new tab) using the
|
|
15220
|
+
* `hrefForExternal` method of the CrossApplicationNavigation service.
|
|
15221
|
+
*/
|
|
15222
|
+
href?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15223
|
+
|
|
15224
|
+
/**
|
|
15225
|
+
* Destination link for a navigation operation in internal format provided by the SAP Fiori launchpad (used
|
|
15226
|
+
* when navigation happens programmatically). Only for internal use
|
|
15227
|
+
*
|
|
15228
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
15229
|
+
*/
|
|
15230
|
+
internalHref?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
15231
|
+
|
|
15232
|
+
/**
|
|
15233
|
+
* Determines the target of the `Link` and has to be used as the `target` of an html anchor. The standard
|
|
14642
15234
|
* values for the `target` property are: _self, _top, _blank, _parent, _search. Alternatively, a frame name
|
|
14643
15235
|
* can be entered. This property is only used if the `href` property is set.
|
|
14644
15236
|
*/
|
|
@@ -15168,7 +15760,7 @@ declare namespace sap {
|
|
|
15168
15760
|
* Retrieves the externalized state for a given control instance. The retrieved state is equivalent to the
|
|
15169
15761
|
* `getCurrentState` API for the given control, after all necessary changes have been applied (for example,
|
|
15170
15762
|
* variant appliance and `p13n, StateUtil` changes). After the returned `Promise` has been resolved, the
|
|
15171
|
-
* returned state is in sync with the
|
|
15763
|
+
* returned state is in sync with the corresponding state object of the MDC control (for example, `filterConditions`
|
|
15172
15764
|
* for the `FilterBar` control).
|
|
15173
15765
|
*
|
|
15174
15766
|
*
|
|
@@ -18984,6 +19576,9 @@ declare namespace sap {
|
|
|
18984
19576
|
* The value of the field.
|
|
18985
19577
|
*
|
|
18986
19578
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
19579
|
+
*
|
|
19580
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
19581
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
18987
19582
|
*/
|
|
18988
19583
|
value?:
|
|
18989
19584
|
| any
|
|
@@ -18995,6 +19590,9 @@ declare namespace sap {
|
|
|
18995
19590
|
*
|
|
18996
19591
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
18997
19592
|
* property.
|
|
19593
|
+
*
|
|
19594
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
19595
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
18998
19596
|
*/
|
|
18999
19597
|
additionalValue?:
|
|
19000
19598
|
| any
|
|
@@ -19110,81 +19708,227 @@ declare namespace sap {
|
|
|
19110
19708
|
}
|
|
19111
19709
|
|
|
19112
19710
|
/**
|
|
19113
|
-
* Describes the settings that can be provided to the
|
|
19711
|
+
* Describes the settings that can be provided to the Geomap constructor.
|
|
19712
|
+
*
|
|
19713
|
+
* @experimental As of version 1.142.
|
|
19114
19714
|
*/
|
|
19115
|
-
interface $
|
|
19715
|
+
interface $GeomapSettings extends sap.ui.mdc.$ControlSettings {
|
|
19116
19716
|
/**
|
|
19117
|
-
*
|
|
19717
|
+
* Defines the width of the geomap.
|
|
19118
19718
|
*/
|
|
19119
|
-
|
|
19120
|
-
|
|
|
19719
|
+
width?:
|
|
19720
|
+
| sap.ui.core.CSSSize
|
|
19121
19721
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19122
19722
|
| `{${string}}`;
|
|
19123
19723
|
|
|
19124
19724
|
/**
|
|
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.
|
|
19725
|
+
* Defines the height of the geomap.
|
|
19139
19726
|
*/
|
|
19140
|
-
|
|
19141
|
-
|
|
|
19727
|
+
height?:
|
|
19728
|
+
| sap.ui.core.CSSSize
|
|
19142
19729
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19143
19730
|
| `{${string}}`;
|
|
19144
19731
|
|
|
19145
19732
|
/**
|
|
19146
|
-
*
|
|
19147
|
-
* binding context.
|
|
19733
|
+
* Header text that appears in the geomap
|
|
19148
19734
|
*/
|
|
19149
|
-
|
|
19150
|
-
}
|
|
19735
|
+
header?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
19151
19736
|
|
|
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
19737
|
/**
|
|
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
|
|
19738
|
+
* Latitude of the point where the map is centered
|
|
19174
19739
|
*/
|
|
19175
|
-
|
|
19176
|
-
|
|
|
19740
|
+
centerLat?:
|
|
19741
|
+
| float
|
|
19177
19742
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19178
19743
|
| `{${string}}`;
|
|
19179
19744
|
|
|
19180
19745
|
/**
|
|
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.
|
|
19746
|
+
* Longitude of the point where the map is centered
|
|
19186
19747
|
*/
|
|
19187
|
-
|
|
19748
|
+
centerLng?:
|
|
19749
|
+
| float
|
|
19750
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19751
|
+
| `{${string}}`;
|
|
19752
|
+
|
|
19753
|
+
/**
|
|
19754
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
19755
|
+
*/
|
|
19756
|
+
zoom?:
|
|
19757
|
+
| float
|
|
19758
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19759
|
+
| `{${string}}`;
|
|
19760
|
+
|
|
19761
|
+
/**
|
|
19762
|
+
* Enables the selection control for the map
|
|
19763
|
+
*/
|
|
19764
|
+
enableSelectionControl?:
|
|
19765
|
+
| boolean
|
|
19766
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19767
|
+
| `{${string}}`;
|
|
19768
|
+
|
|
19769
|
+
/**
|
|
19770
|
+
* Enables the navigation & compas control for the map
|
|
19771
|
+
*/
|
|
19772
|
+
enableNavigationControl?:
|
|
19773
|
+
| boolean
|
|
19774
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19775
|
+
| `{${string}}`;
|
|
19776
|
+
|
|
19777
|
+
/**
|
|
19778
|
+
* Enables the full screen control for the map
|
|
19779
|
+
*/
|
|
19780
|
+
enableFullscreenControl?:
|
|
19781
|
+
| boolean
|
|
19782
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19783
|
+
| `{${string}}`;
|
|
19784
|
+
|
|
19785
|
+
/**
|
|
19786
|
+
* Enables the scale control for the map
|
|
19787
|
+
*/
|
|
19788
|
+
enableScaleControl?:
|
|
19789
|
+
| boolean
|
|
19790
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19791
|
+
| `{${string}}`;
|
|
19792
|
+
|
|
19793
|
+
/**
|
|
19794
|
+
* Enables the copyright control for the map
|
|
19795
|
+
*/
|
|
19796
|
+
enableCopyrightControl?:
|
|
19797
|
+
| boolean
|
|
19798
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19799
|
+
| `{${string}}`;
|
|
19800
|
+
|
|
19801
|
+
/**
|
|
19802
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
19803
|
+
* The object has the following properties:
|
|
19804
|
+
* - `name` defines the path to the `Delegate` module
|
|
19805
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19806
|
+
* Sample delegate object:
|
|
19807
|
+
* ```javascript
|
|
19808
|
+
* {
|
|
19809
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
19810
|
+
* payload: {}
|
|
19811
|
+
* }```
|
|
19812
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19813
|
+
* that).
|
|
19814
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19815
|
+
*
|
|
19816
|
+
* @experimental
|
|
19817
|
+
*/
|
|
19818
|
+
delegate?:
|
|
19819
|
+
| object
|
|
19820
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19821
|
+
| `{${string}}`;
|
|
19822
|
+
|
|
19823
|
+
/**
|
|
19824
|
+
* Specifies the geomap metadata.
|
|
19825
|
+
* **Note:** This property must not be bound.
|
|
19826
|
+
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
19827
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Geomap#setPropertyInfo`) must not be removed and
|
|
19828
|
+
* their attributes must not be changed during the {@link module:sap/ui/mdc/GeoMapDelegate.fetchProperties fetchProperties }
|
|
19829
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
19830
|
+
* as the opening of any personalization dialog) are activated.
|
|
19831
|
+
*
|
|
19832
|
+
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.geomap.PropertyInfo PropertyInfo}.
|
|
19833
|
+
*/
|
|
19834
|
+
propertyInfo?:
|
|
19835
|
+
| object
|
|
19836
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19837
|
+
| `{${string}}`;
|
|
19838
|
+
|
|
19839
|
+
/**
|
|
19840
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
19841
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
19842
|
+
* are limited to those supported by the webc library.
|
|
19843
|
+
*/
|
|
19844
|
+
items?:
|
|
19845
|
+
| sap.ui.mdc.geomap.Item[]
|
|
19846
|
+
| sap.ui.mdc.geomap.Item
|
|
19847
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
19848
|
+
| `{${string}}`;
|
|
19849
|
+
|
|
19850
|
+
/**
|
|
19851
|
+
* This event is fired when zooming is performed on the map.
|
|
19852
|
+
*/
|
|
19853
|
+
zoomChange?: (oEvent: sap.ui.base.Event) => void;
|
|
19854
|
+
}
|
|
19855
|
+
|
|
19856
|
+
/**
|
|
19857
|
+
* Describes the settings that can be provided to the Link constructor.
|
|
19858
|
+
*/
|
|
19859
|
+
interface $LinkSettings extends sap.ui.mdc.field.$FieldInfoBaseSettings {
|
|
19860
|
+
/**
|
|
19861
|
+
* Enables/disables the personalization settings for users and key users.
|
|
19862
|
+
*/
|
|
19863
|
+
enablePersonalization?:
|
|
19864
|
+
| boolean
|
|
19865
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19866
|
+
| `{${string}}`;
|
|
19867
|
+
|
|
19868
|
+
/**
|
|
19869
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
19870
|
+
* logic.
|
|
19871
|
+
* The object has the following properties:
|
|
19872
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
19873
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19874
|
+
* Sample delegate object:
|
|
19875
|
+
* ```javascript
|
|
19876
|
+
* {
|
|
19877
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
19878
|
+
* payload: {}
|
|
19879
|
+
* }```
|
|
19880
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19881
|
+
* that).
|
|
19882
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19883
|
+
*/
|
|
19884
|
+
delegate?:
|
|
19885
|
+
| object
|
|
19886
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19887
|
+
| `{${string}}`;
|
|
19888
|
+
|
|
19889
|
+
/**
|
|
19890
|
+
* Gets the app component required for link personalization. Also, the source control is used to get the
|
|
19891
|
+
* binding context.
|
|
19892
|
+
*/
|
|
19893
|
+
sourceControl?: sap.ui.core.Control | string;
|
|
19894
|
+
}
|
|
19895
|
+
|
|
19896
|
+
/**
|
|
19897
|
+
* Describes the settings that can be provided to the MultiValueField constructor.
|
|
19898
|
+
*/
|
|
19899
|
+
interface $MultiValueFieldSettings
|
|
19900
|
+
extends sap.ui.mdc.field.$FieldBaseSettings {
|
|
19901
|
+
/**
|
|
19902
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
19903
|
+
* The object has the following properties:
|
|
19904
|
+
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/field/MultiValueFieldDelegate MultiValueFieldDelegate}.
|
|
19905
|
+
*
|
|
19906
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
19907
|
+
* Sample delegate object:
|
|
19908
|
+
* ```javascript
|
|
19909
|
+
* {
|
|
19910
|
+
* name: "sap/ui/mdc/field/MultiValueFieldDelegate",
|
|
19911
|
+
* payload: {}
|
|
19912
|
+
* }```
|
|
19913
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
19914
|
+
* that).
|
|
19915
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
19916
|
+
*
|
|
19917
|
+
* @experimental
|
|
19918
|
+
*/
|
|
19919
|
+
delegate?:
|
|
19920
|
+
| object
|
|
19921
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
19922
|
+
| `{${string}}`;
|
|
19923
|
+
|
|
19924
|
+
/**
|
|
19925
|
+
* Items of the `MultiValueField` control.
|
|
19926
|
+
*
|
|
19927
|
+
* The items are not updated by user input or value help selection automatically. That's because an aggregation
|
|
19928
|
+
* 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 }
|
|
19929
|
+
* function needs to be implemented to update the items after a user interaction.
|
|
19930
|
+
*/
|
|
19931
|
+
items?:
|
|
19188
19932
|
| sap.ui.mdc.field.MultiValueFieldItem[]
|
|
19189
19933
|
| sap.ui.mdc.field.MultiValueFieldItem
|
|
19190
19934
|
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
@@ -19850,6 +20594,11 @@ declare namespace sap {
|
|
|
19850
20594
|
promise?: boolean;
|
|
19851
20595
|
}
|
|
19852
20596
|
|
|
20597
|
+
/**
|
|
20598
|
+
* Parameters of the Geomap#zoomChange event.
|
|
20599
|
+
*/
|
|
20600
|
+
interface Geomap$ZoomChangeEventParameters {}
|
|
20601
|
+
|
|
19853
20602
|
/**
|
|
19854
20603
|
* Parameters of the MultiValueField#change event.
|
|
19855
20604
|
*/
|
|
@@ -21531,6 +22280,9 @@ declare namespace sap {
|
|
|
21531
22280
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
21532
22281
|
* property.
|
|
21533
22282
|
*
|
|
22283
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22284
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22285
|
+
*
|
|
21534
22286
|
*
|
|
21535
22287
|
* @returns Value of property `additionalValue`
|
|
21536
22288
|
*/
|
|
@@ -21595,6 +22347,9 @@ declare namespace sap {
|
|
|
21595
22347
|
*
|
|
21596
22348
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
21597
22349
|
*
|
|
22350
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22351
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22352
|
+
*
|
|
21598
22353
|
*
|
|
21599
22354
|
* @returns Value of property `value`
|
|
21600
22355
|
*/
|
|
@@ -21607,6 +22362,9 @@ declare namespace sap {
|
|
|
21607
22362
|
* To display the key and the description in one field, the description must be set on the `additionalValue`
|
|
21608
22363
|
* property.
|
|
21609
22364
|
*
|
|
22365
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22366
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22367
|
+
*
|
|
21610
22368
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21611
22369
|
*
|
|
21612
22370
|
*
|
|
@@ -21711,6 +22469,9 @@ declare namespace sap {
|
|
|
21711
22469
|
*
|
|
21712
22470
|
* To display the key and the description in one field, the key must be set on the `value` property.
|
|
21713
22471
|
*
|
|
22472
|
+
* **Warning:** Don't use a `Formatter` in the binding of this property since this only allows one-way binding.
|
|
22473
|
+
* Therefore, no parsing of user input and no model updates are possible.
|
|
22474
|
+
*
|
|
21714
22475
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21715
22476
|
*
|
|
21716
22477
|
*
|
|
@@ -22019,304 +22780,878 @@ declare namespace sap {
|
|
|
22019
22780
|
/**
|
|
22020
22781
|
* Object literal with information about the class
|
|
22021
22782
|
*/
|
|
22022
|
-
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.FilterField>,
|
|
22783
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.FilterField>,
|
|
22784
|
+
/**
|
|
22785
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
22786
|
+
* used by this class
|
|
22787
|
+
*/
|
|
22788
|
+
FNMetaImpl?: Function
|
|
22789
|
+
): Function;
|
|
22790
|
+
/**
|
|
22791
|
+
* Returns a metadata object for class sap.ui.mdc.FilterField.
|
|
22792
|
+
*
|
|
22793
|
+
*
|
|
22794
|
+
* @returns Metadata object describing this class
|
|
22795
|
+
*/
|
|
22796
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
22797
|
+
/**
|
|
22798
|
+
* Adds an operator to the list of known operators.
|
|
22799
|
+
*
|
|
22800
|
+
* **Note**: If no operator is set, the used `datatType` of the `FilterField` defines the set of default
|
|
22801
|
+
* operators. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22802
|
+
*
|
|
22803
|
+
*
|
|
22804
|
+
* @returns Reference to `this` to allow method chaining
|
|
22805
|
+
*/
|
|
22806
|
+
addOperator(
|
|
22807
|
+
/**
|
|
22808
|
+
* The operator instance or operator name
|
|
22809
|
+
*/
|
|
22810
|
+
vOperator: sap.ui.mdc.condition.Operator | string
|
|
22811
|
+
): this;
|
|
22812
|
+
/**
|
|
22813
|
+
* Adds an array of operators to the list of known operators.
|
|
22814
|
+
*
|
|
22815
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
22816
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22817
|
+
*
|
|
22818
|
+
*
|
|
22819
|
+
* @returns Reference to `this` to allow method chaining
|
|
22820
|
+
*/
|
|
22821
|
+
addOperators(
|
|
22822
|
+
/**
|
|
22823
|
+
* Array of operators
|
|
22824
|
+
*/
|
|
22825
|
+
aOperators: sap.ui.mdc.condition.Operator[]
|
|
22826
|
+
): this;
|
|
22827
|
+
/**
|
|
22828
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22829
|
+
*
|
|
22830
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22831
|
+
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
22832
|
+
*
|
|
22833
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
22834
|
+
*
|
|
22835
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
22836
|
+
*
|
|
22837
|
+
*
|
|
22838
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22839
|
+
*/
|
|
22840
|
+
attachChange(
|
|
22841
|
+
/**
|
|
22842
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22843
|
+
* object when firing the event
|
|
22844
|
+
*/
|
|
22845
|
+
oData: object,
|
|
22846
|
+
/**
|
|
22847
|
+
* The function to be called when the event occurs
|
|
22848
|
+
*/
|
|
22849
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22850
|
+
/**
|
|
22851
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.FilterField` itself
|
|
22852
|
+
*/
|
|
22853
|
+
oListener?: object
|
|
22854
|
+
): this;
|
|
22855
|
+
/**
|
|
22856
|
+
* Attaches event handler `fnFunction` to the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22857
|
+
*
|
|
22858
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22859
|
+
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
22860
|
+
*
|
|
22861
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
22862
|
+
*
|
|
22863
|
+
* **Note** This event is only triggered if the used content control has a change event.
|
|
22864
|
+
*
|
|
22865
|
+
*
|
|
22866
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22867
|
+
*/
|
|
22868
|
+
attachChange(
|
|
22869
|
+
/**
|
|
22870
|
+
* The function to be called when the event occurs
|
|
22871
|
+
*/
|
|
22872
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22873
|
+
/**
|
|
22874
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.FilterField` itself
|
|
22875
|
+
*/
|
|
22876
|
+
oListener?: object
|
|
22877
|
+
): this;
|
|
22878
|
+
/**
|
|
22879
|
+
* Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.ui.mdc.FilterField`.
|
|
22880
|
+
*
|
|
22881
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
22882
|
+
*
|
|
22883
|
+
*
|
|
22884
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22885
|
+
*/
|
|
22886
|
+
detachChange(
|
|
22887
|
+
/**
|
|
22888
|
+
* The function to be called, when the event occurs
|
|
22889
|
+
*/
|
|
22890
|
+
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
22891
|
+
/**
|
|
22892
|
+
* Context object on which the given function had to be called
|
|
22893
|
+
*/
|
|
22894
|
+
oListener?: object
|
|
22895
|
+
): this;
|
|
22896
|
+
/**
|
|
22897
|
+
* Fires event {@link #event:change change} to attached listeners.
|
|
22898
|
+
*
|
|
22899
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22900
|
+
*
|
|
22901
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22902
|
+
*/
|
|
22903
|
+
fireChange(
|
|
22904
|
+
/**
|
|
22905
|
+
* Parameters to pass along with the event
|
|
22906
|
+
*/
|
|
22907
|
+
mParameters?: sap.ui.mdc.FilterField$ChangeEventParameters
|
|
22908
|
+
): this;
|
|
22909
|
+
/**
|
|
22910
|
+
* Gets current value of property {@link #getAdditionalDataType additionalDataType}.
|
|
22911
|
+
*
|
|
22912
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
22913
|
+
* and validate the value.
|
|
22914
|
+
*
|
|
22915
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
22916
|
+
*
|
|
22917
|
+
* @since 1.118.0
|
|
22918
|
+
*
|
|
22919
|
+
* @returns Value of property `additionalDataType`
|
|
22920
|
+
*/
|
|
22921
|
+
getAdditionalDataType(): object;
|
|
22922
|
+
/**
|
|
22923
|
+
* Gets current value of property {@link #getDefaultOperator defaultOperator}.
|
|
22924
|
+
*
|
|
22925
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
22926
|
+
* used is taken.
|
|
22927
|
+
*
|
|
22928
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
22929
|
+
* instance itself.
|
|
22930
|
+
*
|
|
22931
|
+
* @since 1.88.0
|
|
22932
|
+
*
|
|
22933
|
+
* @returns Value of property `defaultOperator`
|
|
22934
|
+
*/
|
|
22935
|
+
getDefaultOperator(): string;
|
|
22936
|
+
/**
|
|
22937
|
+
* Gets current value of property {@link #getOperators operators}.
|
|
22938
|
+
*
|
|
22939
|
+
* Supported operator names for conditions.
|
|
22940
|
+
*
|
|
22941
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
22942
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22943
|
+
*
|
|
22944
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
22945
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
22946
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
22947
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
22948
|
+
* provides the value the custom control needs.
|
|
22949
|
+
*
|
|
22950
|
+
* Default value is `[]`.
|
|
22951
|
+
*
|
|
22952
|
+
* @since 1.73.0
|
|
22953
|
+
*
|
|
22954
|
+
* @returns Value of property `operators`
|
|
22955
|
+
*/
|
|
22956
|
+
getOperators(): string[];
|
|
22957
|
+
/**
|
|
22958
|
+
* Gets current value of property {@link #getPropertyKey propertyKey}.
|
|
22959
|
+
*
|
|
22960
|
+
* Key of the property the `FilterField` represents.
|
|
22961
|
+
*
|
|
22962
|
+
* Default value is `empty string`.
|
|
22963
|
+
*
|
|
22964
|
+
* @since 1.115.0
|
|
22965
|
+
*
|
|
22966
|
+
* @returns Value of property `propertyKey`
|
|
22967
|
+
*/
|
|
22968
|
+
getPropertyKey(): string;
|
|
22969
|
+
/**
|
|
22970
|
+
* Removes all operators from the list of known operators.
|
|
22971
|
+
*/
|
|
22972
|
+
removeAllOperators(): void;
|
|
22973
|
+
/**
|
|
22974
|
+
* Removes an operator from the list of known operators. The standard operators can are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22975
|
+
*/
|
|
22976
|
+
removeOperator(
|
|
22977
|
+
/**
|
|
22978
|
+
* The operator instance or operator name
|
|
22979
|
+
*/
|
|
22980
|
+
vOperator: sap.ui.mdc.condition.Operator | string
|
|
22981
|
+
): void;
|
|
22982
|
+
/**
|
|
22983
|
+
* Removes all given operators from the list of known operators.
|
|
22984
|
+
*
|
|
22985
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
22986
|
+
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
22987
|
+
*/
|
|
22988
|
+
removeOperators(
|
|
22989
|
+
/**
|
|
22990
|
+
* Array of operators
|
|
22991
|
+
*/
|
|
22992
|
+
aOperators: sap.ui.mdc.condition.Operator[]
|
|
22993
|
+
): void;
|
|
22994
|
+
/**
|
|
22995
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
22996
|
+
*
|
|
22997
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
22998
|
+
* and validate the value.
|
|
22999
|
+
*
|
|
23000
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
23001
|
+
*
|
|
23002
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23003
|
+
*
|
|
23004
|
+
* @since 1.118.0
|
|
23005
|
+
*
|
|
23006
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23007
|
+
*/
|
|
23008
|
+
setAdditionalDataType(
|
|
23009
|
+
/**
|
|
23010
|
+
* New value for property `additionalDataType`
|
|
23011
|
+
*/
|
|
23012
|
+
oAdditionalDataType?: object
|
|
23013
|
+
): this;
|
|
23014
|
+
/**
|
|
23015
|
+
* Sets a new value for property {@link #getDefaultOperator defaultOperator}.
|
|
23016
|
+
*
|
|
23017
|
+
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
23018
|
+
* used is taken.
|
|
23019
|
+
*
|
|
23020
|
+
* **Note**: `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
23021
|
+
* instance itself.
|
|
23022
|
+
*
|
|
23023
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23024
|
+
*
|
|
23025
|
+
* @since 1.88.0
|
|
23026
|
+
*
|
|
23027
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23028
|
+
*/
|
|
23029
|
+
setDefaultOperator(
|
|
23030
|
+
/**
|
|
23031
|
+
* New value for property `defaultOperator`
|
|
23032
|
+
*/
|
|
23033
|
+
sDefaultOperator?: string
|
|
23034
|
+
): this;
|
|
23035
|
+
/**
|
|
23036
|
+
* Sets a new value for property {@link #getOperators operators}.
|
|
23037
|
+
*
|
|
23038
|
+
* Supported operator names for conditions.
|
|
23039
|
+
*
|
|
23040
|
+
* If empty, default operators depending on used data type are taken. The standard operators are mentioned
|
|
23041
|
+
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23042
|
+
*
|
|
23043
|
+
* **Note:** If a custom control is used as {@link sap.ui.mdc.field.FieldBase#setContent Content}, {@link sap.ui.mdc.field.FieldBase#setContentEdit ContentEdit},
|
|
23044
|
+
* or {@link sap.ui.mdc.field.FieldBase#setContentDisplay ContentDisplay}, and the custom control only supports
|
|
23045
|
+
* one operator (as no operator can be shown), only the required operator must be set. So the user input
|
|
23046
|
+
* into the custom control creates a condition with the set operator, and a condition with this operator
|
|
23047
|
+
* provides the value the custom control needs.
|
|
23048
|
+
*
|
|
23049
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23050
|
+
*
|
|
23051
|
+
* Default value is `[]`.
|
|
23052
|
+
*
|
|
23053
|
+
* @since 1.73.0
|
|
23054
|
+
*
|
|
23055
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23056
|
+
*/
|
|
23057
|
+
setOperators(
|
|
23058
|
+
/**
|
|
23059
|
+
* New value for property `operators`
|
|
23060
|
+
*/
|
|
23061
|
+
sOperators?: string[]
|
|
23062
|
+
): this;
|
|
23063
|
+
/**
|
|
23064
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
23065
|
+
*
|
|
23066
|
+
* Key of the property the `FilterField` represents.
|
|
23067
|
+
*
|
|
23068
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23069
|
+
*
|
|
23070
|
+
* Default value is `empty string`.
|
|
23071
|
+
*
|
|
23072
|
+
* @since 1.115.0
|
|
23073
|
+
*
|
|
23074
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23075
|
+
*/
|
|
23076
|
+
setPropertyKey(
|
|
23077
|
+
/**
|
|
23078
|
+
* New value for property `propertyKey`
|
|
23079
|
+
*/
|
|
23080
|
+
sPropertyKey?: string
|
|
23081
|
+
): this;
|
|
23082
|
+
}
|
|
23083
|
+
/**
|
|
23084
|
+
* The `Geomap` control creates a geomap based on metadata and the configuration specified.
|
|
23085
|
+
* **Note:** The geomap needs to be created inside the `GeomapDelegate`.
|
|
23086
|
+
*
|
|
23087
|
+
* @experimental As of version 1.142.
|
|
23088
|
+
*/
|
|
23089
|
+
class Geomap
|
|
23090
|
+
extends sap.ui.mdc.Control
|
|
23091
|
+
implements sap.ui.mdc.IFilterSource, sap.ui.mdc.IxState
|
|
23092
|
+
{
|
|
23093
|
+
__implements__sap_ui_mdc_IFilterSource: boolean;
|
|
23094
|
+
__implements__sap_ui_mdc_IxState: boolean;
|
|
23095
|
+
/**
|
|
23096
|
+
* Constructor for a new GeoMap.
|
|
23097
|
+
*
|
|
23098
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
23099
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
23100
|
+
* of the syntax of the settings object.
|
|
23101
|
+
* See:
|
|
23102
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
23103
|
+
*/
|
|
23104
|
+
constructor(
|
|
23105
|
+
/**
|
|
23106
|
+
* Initial settings for the new control
|
|
23107
|
+
*/
|
|
23108
|
+
mSettings?: sap.ui.mdc.$GeomapSettings
|
|
23109
|
+
);
|
|
23110
|
+
/**
|
|
23111
|
+
* Constructor for a new GeoMap.
|
|
23112
|
+
*
|
|
23113
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
23114
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
23115
|
+
* of the syntax of the settings object.
|
|
23116
|
+
* See:
|
|
23117
|
+
* {@link https://ui5.sap.com/#/topic/1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
23118
|
+
*/
|
|
23119
|
+
constructor(
|
|
23120
|
+
/**
|
|
23121
|
+
* ID for the new control, generated automatically if no id is given
|
|
23122
|
+
*/
|
|
23123
|
+
sId?: string,
|
|
23124
|
+
/**
|
|
23125
|
+
* Initial settings for the new control
|
|
23126
|
+
*/
|
|
23127
|
+
mSettings?: sap.ui.mdc.$GeomapSettings
|
|
23128
|
+
);
|
|
23129
|
+
|
|
23130
|
+
/**
|
|
23131
|
+
* Creates a new subclass of class sap.ui.mdc.Geomap with name `sClassName` and enriches it with the information
|
|
23132
|
+
* contained in `oClassInfo`.
|
|
23133
|
+
*
|
|
23134
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.Control.extend}.
|
|
23135
|
+
*
|
|
23136
|
+
*
|
|
23137
|
+
* @returns Created class / constructor function
|
|
23138
|
+
*/
|
|
23139
|
+
static extend<T extends Record<string, unknown>>(
|
|
23140
|
+
/**
|
|
23141
|
+
* Name of the class being created
|
|
23142
|
+
*/
|
|
23143
|
+
sClassName: string,
|
|
23144
|
+
/**
|
|
23145
|
+
* Object literal with information about the class
|
|
23146
|
+
*/
|
|
23147
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.Geomap>,
|
|
23148
|
+
/**
|
|
23149
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
23150
|
+
* used by this class
|
|
23151
|
+
*/
|
|
23152
|
+
FNMetaImpl?: Function
|
|
23153
|
+
): Function;
|
|
23154
|
+
/**
|
|
23155
|
+
* Returns a metadata object for class sap.ui.mdc.Geomap.
|
|
23156
|
+
*
|
|
23157
|
+
*
|
|
23158
|
+
* @returns Metadata object describing this class
|
|
23159
|
+
*/
|
|
23160
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
23161
|
+
/**
|
|
23162
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23163
|
+
*
|
|
23164
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23165
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
23166
|
+
*
|
|
23167
|
+
* This event is fired when zooming is performed on the map.
|
|
23168
|
+
*
|
|
23169
|
+
*
|
|
23170
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23171
|
+
*/
|
|
23172
|
+
attachZoomChange(
|
|
23173
|
+
/**
|
|
23174
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
23175
|
+
* object when firing the event
|
|
23176
|
+
*/
|
|
23177
|
+
oData: object,
|
|
23178
|
+
/**
|
|
23179
|
+
* The function to be called when the event occurs
|
|
23180
|
+
*/
|
|
23181
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23182
|
+
/**
|
|
23183
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
23184
|
+
*/
|
|
23185
|
+
oListener?: object
|
|
23186
|
+
): this;
|
|
23187
|
+
/**
|
|
23188
|
+
* Attaches event handler `fnFunction` to the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23189
|
+
*
|
|
23190
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23191
|
+
* otherwise it will be bound to this `sap.ui.mdc.Geomap` itself.
|
|
23192
|
+
*
|
|
23193
|
+
* This event is fired when zooming is performed on the map.
|
|
23194
|
+
*
|
|
23195
|
+
*
|
|
23196
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23197
|
+
*/
|
|
23198
|
+
attachZoomChange(
|
|
23199
|
+
/**
|
|
23200
|
+
* The function to be called when the event occurs
|
|
23201
|
+
*/
|
|
23202
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23203
|
+
/**
|
|
23204
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Geomap` itself
|
|
23205
|
+
*/
|
|
23206
|
+
oListener?: object
|
|
23207
|
+
): this;
|
|
23208
|
+
/**
|
|
23209
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
23210
|
+
*
|
|
23211
|
+
*
|
|
23212
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23213
|
+
*/
|
|
23214
|
+
destroyItems(): this;
|
|
23215
|
+
/**
|
|
23216
|
+
* Detaches event handler `fnFunction` from the {@link #event:zoomChange zoomChange} event of this `sap.ui.mdc.Geomap`.
|
|
23217
|
+
*
|
|
23218
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
23219
|
+
*
|
|
23220
|
+
*
|
|
23221
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23222
|
+
*/
|
|
23223
|
+
detachZoomChange(
|
|
23224
|
+
/**
|
|
23225
|
+
* The function to be called, when the event occurs
|
|
23226
|
+
*/
|
|
23227
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
23228
|
+
/**
|
|
23229
|
+
* Context object on which the given function had to be called
|
|
23230
|
+
*/
|
|
23231
|
+
oListener?: object
|
|
23232
|
+
): this;
|
|
23233
|
+
/**
|
|
23234
|
+
* Fires event {@link #event:zoomChange zoomChange} to attached listeners.
|
|
23235
|
+
*
|
|
23236
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23237
|
+
*
|
|
23238
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23239
|
+
*/
|
|
23240
|
+
fireZoomChange(
|
|
23241
|
+
/**
|
|
23242
|
+
* Parameters to pass along with the event
|
|
23243
|
+
*/
|
|
23244
|
+
mParameters?: object
|
|
23245
|
+
): this;
|
|
23246
|
+
/**
|
|
23247
|
+
* Gets current value of property {@link #getCenterLat centerLat}.
|
|
23248
|
+
*
|
|
23249
|
+
* Latitude of the point where the map is centered
|
|
23250
|
+
*
|
|
23251
|
+
*
|
|
23252
|
+
* @returns Value of property `centerLat`
|
|
23253
|
+
*/
|
|
23254
|
+
getCenterLat(): float;
|
|
23255
|
+
/**
|
|
23256
|
+
* Gets current value of property {@link #getCenterLng centerLng}.
|
|
23257
|
+
*
|
|
23258
|
+
* Longitude of the point where the map is centered
|
|
23259
|
+
*
|
|
23260
|
+
*
|
|
23261
|
+
* @returns Value of property `centerLng`
|
|
23262
|
+
*/
|
|
23263
|
+
getCenterLng(): float;
|
|
23264
|
+
/**
|
|
23265
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
23266
|
+
*
|
|
23267
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
23268
|
+
* The object has the following properties:
|
|
23269
|
+
* - `name` defines the path to the `Delegate` module
|
|
23270
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
23271
|
+
* Sample delegate object:
|
|
23272
|
+
* ```javascript
|
|
23273
|
+
* {
|
|
23274
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
23275
|
+
* payload: {}
|
|
23276
|
+
* }```
|
|
23277
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
23278
|
+
* that).
|
|
23279
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
23280
|
+
*
|
|
23281
|
+
* Default value is `...see text or source`.
|
|
23282
|
+
*
|
|
23283
|
+
* @experimental
|
|
23284
|
+
*
|
|
23285
|
+
* @returns Value of property `delegate`
|
|
23286
|
+
*/
|
|
23287
|
+
getDelegate(): object;
|
|
23288
|
+
/**
|
|
23289
|
+
* Gets current value of property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
23290
|
+
*
|
|
23291
|
+
* Enables the copyright control for the map
|
|
23292
|
+
*
|
|
23293
|
+
* Default value is `false`.
|
|
23294
|
+
*
|
|
23295
|
+
*
|
|
23296
|
+
* @returns Value of property `enableCopyrightControl`
|
|
23297
|
+
*/
|
|
23298
|
+
getEnableCopyrightControl(): boolean;
|
|
23299
|
+
/**
|
|
23300
|
+
* Gets current value of property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
23301
|
+
*
|
|
23302
|
+
* Enables the full screen control for the map
|
|
23303
|
+
*
|
|
23304
|
+
* Default value is `true`.
|
|
23305
|
+
*
|
|
23306
|
+
*
|
|
23307
|
+
* @returns Value of property `enableFullscreenControl`
|
|
23308
|
+
*/
|
|
23309
|
+
getEnableFullscreenControl(): boolean;
|
|
23310
|
+
/**
|
|
23311
|
+
* Gets current value of property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
23312
|
+
*
|
|
23313
|
+
* Enables the navigation & compas control for the map
|
|
23314
|
+
*
|
|
23315
|
+
* Default value is `true`.
|
|
23316
|
+
*
|
|
23317
|
+
*
|
|
23318
|
+
* @returns Value of property `enableNavigationControl`
|
|
23319
|
+
*/
|
|
23320
|
+
getEnableNavigationControl(): boolean;
|
|
23321
|
+
/**
|
|
23322
|
+
* Gets current value of property {@link #getEnableScaleControl enableScaleControl}.
|
|
23323
|
+
*
|
|
23324
|
+
* Enables the scale control for the map
|
|
23325
|
+
*
|
|
23326
|
+
* Default value is `true`.
|
|
23327
|
+
*
|
|
23328
|
+
*
|
|
23329
|
+
* @returns Value of property `enableScaleControl`
|
|
23330
|
+
*/
|
|
23331
|
+
getEnableScaleControl(): boolean;
|
|
23332
|
+
/**
|
|
23333
|
+
* Gets current value of property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
23334
|
+
*
|
|
23335
|
+
* Enables the selection control for the map
|
|
23336
|
+
*
|
|
23337
|
+
* Default value is `false`.
|
|
23338
|
+
*
|
|
23339
|
+
*
|
|
23340
|
+
* @returns Value of property `enableSelectionControl`
|
|
23341
|
+
*/
|
|
23342
|
+
getEnableSelectionControl(): boolean;
|
|
23343
|
+
/**
|
|
23344
|
+
* Gets current value of property {@link #getHeader header}.
|
|
23345
|
+
*
|
|
23346
|
+
* Header text that appears in the geomap
|
|
23347
|
+
*
|
|
23348
|
+
* Default value is `empty string`.
|
|
23349
|
+
*
|
|
23350
|
+
*
|
|
23351
|
+
* @returns Value of property `header`
|
|
23352
|
+
*/
|
|
23353
|
+
getHeader(): string;
|
|
23354
|
+
/**
|
|
23355
|
+
* Gets current value of property {@link #getHeight height}.
|
|
23356
|
+
*
|
|
23357
|
+
* Defines the height of the geomap.
|
|
23358
|
+
*
|
|
23359
|
+
* Default value is `"700px"`.
|
|
23360
|
+
*
|
|
23361
|
+
*
|
|
23362
|
+
* @returns Value of property `height`
|
|
23363
|
+
*/
|
|
23364
|
+
getHeight(): sap.ui.core.CSSSize;
|
|
23365
|
+
/**
|
|
23366
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
23367
|
+
*
|
|
23368
|
+
* Aggregates the items to be displayed in the geomap. Note: As items are custom elements defined as part
|
|
23369
|
+
* of the webc library the type here could not be strictly defined or used a generic one so supported types
|
|
23370
|
+
* are limited to those supported by the webc library.
|
|
23371
|
+
*/
|
|
23372
|
+
getItems(): sap.ui.mdc.geomap.Item[];
|
|
23373
|
+
/**
|
|
23374
|
+
* Gets current value of property {@link #getWidth width}.
|
|
23375
|
+
*
|
|
23376
|
+
* Defines the width of the geomap.
|
|
23377
|
+
*
|
|
23378
|
+
* Default value is `"700px"`.
|
|
23379
|
+
*
|
|
23380
|
+
*
|
|
23381
|
+
* @returns Value of property `width`
|
|
23382
|
+
*/
|
|
23383
|
+
getWidth(): sap.ui.core.CSSSize;
|
|
23384
|
+
/**
|
|
23385
|
+
* Gets current value of property {@link #getZoom zoom}.
|
|
23386
|
+
*
|
|
23387
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
23388
|
+
*
|
|
23389
|
+
*
|
|
23390
|
+
* @returns Value of property `zoom`
|
|
23391
|
+
*/
|
|
23392
|
+
getZoom(): float;
|
|
23393
|
+
/**
|
|
23394
|
+
* Checks for the provided `sap.ui.mdc.geomap.Item` in the aggregation {@link #getItems items}. and returns
|
|
23395
|
+
* its index if found or -1 otherwise.
|
|
23396
|
+
*
|
|
23397
|
+
*
|
|
23398
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
23399
|
+
*/
|
|
23400
|
+
indexOfItem(
|
|
23401
|
+
/**
|
|
23402
|
+
* The item whose index is looked for
|
|
23403
|
+
*/
|
|
23404
|
+
oItem: sap.ui.mdc.geomap.Item
|
|
23405
|
+
): int;
|
|
23406
|
+
/**
|
|
23407
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
23408
|
+
*
|
|
23409
|
+
*
|
|
23410
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
23411
|
+
*/
|
|
23412
|
+
insertItem(
|
|
23413
|
+
/**
|
|
23414
|
+
* The item to insert; if empty, nothing is inserted
|
|
23415
|
+
*/
|
|
23416
|
+
oItem: sap.ui.mdc.geomap.Item,
|
|
22023
23417
|
/**
|
|
22024
|
-
*
|
|
22025
|
-
*
|
|
23418
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
23419
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
23420
|
+
* the last position
|
|
22026
23421
|
*/
|
|
22027
|
-
|
|
22028
|
-
):
|
|
23422
|
+
iIndex: int
|
|
23423
|
+
): this;
|
|
22029
23424
|
/**
|
|
22030
|
-
*
|
|
23425
|
+
* Executes a rebind considering the provided external and inbuilt filtering.
|
|
22031
23426
|
*
|
|
23427
|
+
* @since 1.98
|
|
22032
23428
|
*
|
|
22033
|
-
* @returns
|
|
23429
|
+
* @returns A `Promise` that resolves after rebind is executed, and rejects if rebind cannot be executed,
|
|
23430
|
+
* for example because there are invalid filters.
|
|
22034
23431
|
*/
|
|
22035
|
-
|
|
23432
|
+
rebind(): Promise<any>;
|
|
22036
23433
|
/**
|
|
22037
|
-
*
|
|
23434
|
+
* Sets a new value for property {@link #getCenterLat centerLat}.
|
|
22038
23435
|
*
|
|
22039
|
-
*
|
|
22040
|
-
*
|
|
23436
|
+
* Latitude of the point where the map is centered
|
|
23437
|
+
*
|
|
23438
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22041
23439
|
*
|
|
22042
23440
|
*
|
|
22043
|
-
* @returns Reference to `this` to allow method chaining
|
|
23441
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22044
23442
|
*/
|
|
22045
|
-
|
|
23443
|
+
setCenterLat(
|
|
22046
23444
|
/**
|
|
22047
|
-
*
|
|
23445
|
+
* New value for property `centerLat`
|
|
22048
23446
|
*/
|
|
22049
|
-
|
|
23447
|
+
fCenterLat: float
|
|
22050
23448
|
): this;
|
|
22051
23449
|
/**
|
|
22052
|
-
*
|
|
23450
|
+
* Sets a new value for property {@link #getCenterLng centerLng}.
|
|
22053
23451
|
*
|
|
22054
|
-
*
|
|
22055
|
-
*
|
|
23452
|
+
* Longitude of the point where the map is centered
|
|
23453
|
+
*
|
|
23454
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22056
23455
|
*
|
|
22057
23456
|
*
|
|
22058
|
-
* @returns Reference to `this` to allow method chaining
|
|
23457
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22059
23458
|
*/
|
|
22060
|
-
|
|
23459
|
+
setCenterLng(
|
|
22061
23460
|
/**
|
|
22062
|
-
*
|
|
23461
|
+
* New value for property `centerLng`
|
|
22063
23462
|
*/
|
|
22064
|
-
|
|
23463
|
+
fCenterLng: float
|
|
22065
23464
|
): this;
|
|
22066
23465
|
/**
|
|
22067
|
-
*
|
|
23466
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
22068
23467
|
*
|
|
22069
|
-
*
|
|
22070
|
-
*
|
|
23468
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
23469
|
+
* The object has the following properties:
|
|
23470
|
+
* - `name` defines the path to the `Delegate` module
|
|
23471
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
23472
|
+
* Sample delegate object:
|
|
23473
|
+
* ```javascript
|
|
23474
|
+
* {
|
|
23475
|
+
* name: "sap/ui/mdc/BaseDelegate",
|
|
23476
|
+
* payload: {}
|
|
23477
|
+
* }```
|
|
23478
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
23479
|
+
* that).
|
|
23480
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
22071
23481
|
*
|
|
22072
|
-
*
|
|
23482
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22073
23483
|
*
|
|
22074
|
-
*
|
|
23484
|
+
* Default value is `...see text or source`.
|
|
22075
23485
|
*
|
|
23486
|
+
* @experimental
|
|
22076
23487
|
*
|
|
22077
23488
|
* @returns Reference to `this` in order to allow method chaining
|
|
22078
23489
|
*/
|
|
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,
|
|
23490
|
+
setDelegate(
|
|
22089
23491
|
/**
|
|
22090
|
-
*
|
|
23492
|
+
* New value for property `delegate`
|
|
22091
23493
|
*/
|
|
22092
|
-
|
|
23494
|
+
oDelegate?: object
|
|
22093
23495
|
): this;
|
|
22094
23496
|
/**
|
|
22095
|
-
*
|
|
23497
|
+
* Sets a new value for property {@link #getEnableCopyrightControl enableCopyrightControl}.
|
|
22096
23498
|
*
|
|
22097
|
-
*
|
|
22098
|
-
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
23499
|
+
* Enables the copyright control for the map
|
|
22099
23500
|
*
|
|
22100
|
-
*
|
|
23501
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22101
23502
|
*
|
|
22102
|
-
*
|
|
23503
|
+
* Default value is `false`.
|
|
22103
23504
|
*
|
|
22104
23505
|
*
|
|
22105
23506
|
* @returns Reference to `this` in order to allow method chaining
|
|
22106
23507
|
*/
|
|
22107
|
-
|
|
22108
|
-
/**
|
|
22109
|
-
* The function to be called when the event occurs
|
|
22110
|
-
*/
|
|
22111
|
-
fnFunction: (p1: FilterField$ChangeEvent) => void,
|
|
23508
|
+
setEnableCopyrightControl(
|
|
22112
23509
|
/**
|
|
22113
|
-
*
|
|
23510
|
+
* New value for property `enableCopyrightControl`
|
|
22114
23511
|
*/
|
|
22115
|
-
|
|
23512
|
+
bEnableCopyrightControl?: boolean
|
|
22116
23513
|
): this;
|
|
22117
23514
|
/**
|
|
22118
|
-
*
|
|
23515
|
+
* Sets a new value for property {@link #getEnableFullscreenControl enableFullscreenControl}.
|
|
22119
23516
|
*
|
|
22120
|
-
*
|
|
23517
|
+
* Enables the full screen control for the map
|
|
22121
23518
|
*
|
|
23519
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22122
23520
|
*
|
|
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.
|
|
23521
|
+
* Default value is `true`.
|
|
22137
23522
|
*
|
|
22138
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22139
23523
|
*
|
|
22140
23524
|
* @returns Reference to `this` in order to allow method chaining
|
|
22141
23525
|
*/
|
|
22142
|
-
|
|
23526
|
+
setEnableFullscreenControl(
|
|
22143
23527
|
/**
|
|
22144
|
-
*
|
|
23528
|
+
* New value for property `enableFullscreenControl`
|
|
22145
23529
|
*/
|
|
22146
|
-
|
|
23530
|
+
bEnableFullscreenControl?: boolean
|
|
22147
23531
|
): this;
|
|
22148
23532
|
/**
|
|
22149
|
-
*
|
|
23533
|
+
* Sets a new value for property {@link #getEnableNavigationControl enableNavigationControl}.
|
|
22150
23534
|
*
|
|
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}.
|
|
23535
|
+
* Enables the navigation & compas control for the map
|
|
22163
23536
|
*
|
|
22164
|
-
*
|
|
22165
|
-
* used is taken.
|
|
23537
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22166
23538
|
*
|
|
22167
|
-
*
|
|
22168
|
-
* instance itself.
|
|
23539
|
+
* Default value is `true`.
|
|
22169
23540
|
*
|
|
22170
|
-
* @since 1.88.0
|
|
22171
23541
|
*
|
|
22172
|
-
* @returns
|
|
23542
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22173
23543
|
*/
|
|
22174
|
-
|
|
23544
|
+
setEnableNavigationControl(
|
|
23545
|
+
/**
|
|
23546
|
+
* New value for property `enableNavigationControl`
|
|
23547
|
+
*/
|
|
23548
|
+
bEnableNavigationControl?: boolean
|
|
23549
|
+
): this;
|
|
22175
23550
|
/**
|
|
22176
|
-
*
|
|
22177
|
-
*
|
|
22178
|
-
* Supported operator names for conditions.
|
|
23551
|
+
* Sets a new value for property {@link #getEnableScaleControl enableScaleControl}.
|
|
22179
23552
|
*
|
|
22180
|
-
*
|
|
22181
|
-
* in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23553
|
+
* Enables the scale control for the map
|
|
22182
23554
|
*
|
|
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.
|
|
23555
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22188
23556
|
*
|
|
22189
|
-
* Default value is `
|
|
23557
|
+
* Default value is `true`.
|
|
22190
23558
|
*
|
|
22191
|
-
* @since 1.73.0
|
|
22192
23559
|
*
|
|
22193
|
-
* @returns
|
|
23560
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22194
23561
|
*/
|
|
22195
|
-
|
|
23562
|
+
setEnableScaleControl(
|
|
23563
|
+
/**
|
|
23564
|
+
* New value for property `enableScaleControl`
|
|
23565
|
+
*/
|
|
23566
|
+
bEnableScaleControl?: boolean
|
|
23567
|
+
): this;
|
|
22196
23568
|
/**
|
|
22197
|
-
*
|
|
23569
|
+
* Sets a new value for property {@link #getEnableSelectionControl enableSelectionControl}.
|
|
22198
23570
|
*
|
|
22199
|
-
*
|
|
23571
|
+
* Enables the selection control for the map
|
|
22200
23572
|
*
|
|
22201
|
-
*
|
|
23573
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22202
23574
|
*
|
|
22203
|
-
*
|
|
23575
|
+
* Default value is `false`.
|
|
22204
23576
|
*
|
|
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
23577
|
*
|
|
22224
|
-
*
|
|
22225
|
-
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
23578
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22226
23579
|
*/
|
|
22227
|
-
|
|
23580
|
+
setEnableSelectionControl(
|
|
22228
23581
|
/**
|
|
22229
|
-
*
|
|
23582
|
+
* New value for property `enableSelectionControl`
|
|
22230
23583
|
*/
|
|
22231
|
-
|
|
22232
|
-
):
|
|
23584
|
+
bEnableSelectionControl?: boolean
|
|
23585
|
+
): this;
|
|
22233
23586
|
/**
|
|
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.
|
|
23587
|
+
* Sets a new value for property {@link #getHeader header}.
|
|
22238
23588
|
*
|
|
22239
|
-
*
|
|
23589
|
+
* Header text that appears in the geomap
|
|
22240
23590
|
*
|
|
22241
23591
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22242
23592
|
*
|
|
22243
|
-
*
|
|
23593
|
+
* Default value is `empty string`.
|
|
23594
|
+
*
|
|
22244
23595
|
*
|
|
22245
23596
|
* @returns Reference to `this` in order to allow method chaining
|
|
22246
23597
|
*/
|
|
22247
|
-
|
|
23598
|
+
setHeader(
|
|
22248
23599
|
/**
|
|
22249
|
-
* New value for property `
|
|
23600
|
+
* New value for property `header`
|
|
22250
23601
|
*/
|
|
22251
|
-
|
|
23602
|
+
sHeader?: string
|
|
22252
23603
|
): this;
|
|
22253
23604
|
/**
|
|
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.
|
|
23605
|
+
* Sets a new value for property {@link #getHeight height}.
|
|
22258
23606
|
*
|
|
22259
|
-
*
|
|
22260
|
-
* instance itself.
|
|
23607
|
+
* Defines the height of the geomap.
|
|
22261
23608
|
*
|
|
22262
23609
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22263
23610
|
*
|
|
22264
|
-
*
|
|
23611
|
+
* Default value is `"700px"`.
|
|
23612
|
+
*
|
|
22265
23613
|
*
|
|
22266
23614
|
* @returns Reference to `this` in order to allow method chaining
|
|
22267
23615
|
*/
|
|
22268
|
-
|
|
23616
|
+
setHeight(
|
|
22269
23617
|
/**
|
|
22270
|
-
* New value for property `
|
|
23618
|
+
* New value for property `height`
|
|
22271
23619
|
*/
|
|
22272
|
-
|
|
23620
|
+
sHeight?: sap.ui.core.CSSSize
|
|
22273
23621
|
): this;
|
|
22274
23622
|
/**
|
|
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}.
|
|
23623
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
22281
23624
|
*
|
|
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.
|
|
23625
|
+
* Defines the width of the geomap.
|
|
22287
23626
|
*
|
|
22288
23627
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22289
23628
|
*
|
|
22290
|
-
* Default value is `
|
|
23629
|
+
* Default value is `"700px"`.
|
|
22291
23630
|
*
|
|
22292
|
-
* @since 1.73.0
|
|
22293
23631
|
*
|
|
22294
23632
|
* @returns Reference to `this` in order to allow method chaining
|
|
22295
23633
|
*/
|
|
22296
|
-
|
|
23634
|
+
setWidth(
|
|
22297
23635
|
/**
|
|
22298
|
-
* New value for property `
|
|
23636
|
+
* New value for property `width`
|
|
22299
23637
|
*/
|
|
22300
|
-
|
|
23638
|
+
sWidth?: sap.ui.core.CSSSize
|
|
22301
23639
|
): this;
|
|
22302
23640
|
/**
|
|
22303
|
-
* Sets a new value for property {@link #
|
|
23641
|
+
* Sets a new value for property {@link #getZoom zoom}.
|
|
22304
23642
|
*
|
|
22305
|
-
*
|
|
23643
|
+
* Zoom level of the map - the bigger, the more the map is zoomed
|
|
22306
23644
|
*
|
|
22307
23645
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22308
23646
|
*
|
|
22309
|
-
* Default value is `empty string`.
|
|
22310
|
-
*
|
|
22311
|
-
* @since 1.115.0
|
|
22312
23647
|
*
|
|
22313
23648
|
* @returns Reference to `this` in order to allow method chaining
|
|
22314
23649
|
*/
|
|
22315
|
-
|
|
23650
|
+
setZoom(
|
|
22316
23651
|
/**
|
|
22317
|
-
* New value for property `
|
|
23652
|
+
* New value for property `zoom`
|
|
22318
23653
|
*/
|
|
22319
|
-
|
|
23654
|
+
fZoom: float
|
|
22320
23655
|
): this;
|
|
22321
23656
|
}
|
|
22322
23657
|
/**
|
|
@@ -22820,7 +24155,7 @@ declare namespace sap {
|
|
|
22820
24155
|
* Items of the `MultiValueField` control.
|
|
22821
24156
|
*
|
|
22822
24157
|
* 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.
|
|
24158
|
+
* 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
24159
|
* function needs to be implemented to update the items after a user interaction.
|
|
22825
24160
|
*/
|
|
22826
24161
|
getItems(): sap.ui.mdc.field.MultiValueFieldItem[];
|
|
@@ -25226,6 +26561,14 @@ declare namespace sap {
|
|
|
25226
26561
|
FilterField
|
|
25227
26562
|
>;
|
|
25228
26563
|
|
|
26564
|
+
/**
|
|
26565
|
+
* Event object of the Geomap#zoomChange event.
|
|
26566
|
+
*/
|
|
26567
|
+
type Geomap$ZoomChangeEvent = sap.ui.base.Event<
|
|
26568
|
+
Geomap$ZoomChangeEventParameters,
|
|
26569
|
+
Geomap
|
|
26570
|
+
>;
|
|
26571
|
+
|
|
25229
26572
|
/**
|
|
25230
26573
|
* Event object of the MultiValueField#change event.
|
|
25231
26574
|
*/
|
|
@@ -25441,6 +26784,8 @@ declare namespace sap {
|
|
|
25441
26784
|
|
|
25442
26785
|
"sap/ui/mdc/enums/FilterBarValidationStatus": undefined;
|
|
25443
26786
|
|
|
26787
|
+
"sap/ui/mdc/enums/GeomapControlPosition": undefined;
|
|
26788
|
+
|
|
25444
26789
|
"sap/ui/mdc/enums/LinkType": undefined;
|
|
25445
26790
|
|
|
25446
26791
|
"sap/ui/mdc/enums/OperatorName": undefined;
|
|
@@ -25541,6 +26886,12 @@ declare namespace sap {
|
|
|
25541
26886
|
|
|
25542
26887
|
"sap/ui/mdc/FilterField": undefined;
|
|
25543
26888
|
|
|
26889
|
+
"sap/ui/mdc/Geomap": undefined;
|
|
26890
|
+
|
|
26891
|
+
"sap/ui/mdc/geomap/Item": undefined;
|
|
26892
|
+
|
|
26893
|
+
"sap/ui/mdc/GeomapDelegate": undefined;
|
|
26894
|
+
|
|
25544
26895
|
"sap/ui/mdc/library": undefined;
|
|
25545
26896
|
|
|
25546
26897
|
"sap/ui/mdc/Link": undefined;
|
|
@@ -25567,6 +26918,8 @@ declare namespace sap {
|
|
|
25567
26918
|
|
|
25568
26919
|
"sap/ui/mdc/odata/v4/ChartDelegate": undefined;
|
|
25569
26920
|
|
|
26921
|
+
"sap/ui/mdc/odata/v4/GeomapDelegate": undefined;
|
|
26922
|
+
|
|
25570
26923
|
"sap/ui/mdc/odata/v4/TableDelegate": undefined;
|
|
25571
26924
|
|
|
25572
26925
|
"sap/ui/mdc/odata/v4/TypeMap": undefined;
|