@openremote/or-map 1.20.0 → 1.20.2
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/custom-elements-jsx.d.ts +9 -4
- package/custom-elements.json +2008 -1008
- package/dist/umd/index.bundle.js +69 -69
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +70 -70
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.orbundle.js +64 -64
- package/dist/umd/index.orbundle.js.map +1 -1
- package/lib/asset-map.d.ts +60 -0
- package/lib/asset-map.d.ts.map +1 -0
- package/lib/asset-map.js +1 -0
- package/lib/asset-map.js.map +1 -0
- package/lib/{mapwidget.d.ts → base-map.d.ts} +6 -29
- package/lib/base-map.d.ts.map +1 -0
- package/lib/base-map.js +1 -0
- package/lib/base-map.js.map +1 -0
- package/lib/index.d.ts +12 -34
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -10
- package/lib/index.js.map +1 -1
- package/lib/markers/or-cluster-marker.d.ts +7 -4
- package/lib/markers/or-cluster-marker.d.ts.map +1 -1
- package/lib/markers/or-cluster-marker.js +6 -6
- package/lib/markers/or-cluster-marker.js.map +1 -1
- package/lib/or-map-legend.d.ts +1 -1
- package/lib/or-map-legend.d.ts.map +1 -1
- package/lib/or-map-legend.js +6 -6
- package/lib/or-map-legend.js.map +1 -1
- package/lib/types.d.ts +39 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -0
- package/lib/util/index.d.ts +1 -0
- package/lib/util/index.d.ts.map +1 -1
- package/lib/util/index.js +1 -1
- package/lib/util/index.js.map +1 -1
- package/package.json +6 -6
- package/lib/mapwidget.d.ts.map +0 -1
- package/lib/mapwidget.js +0 -1
- package/lib/mapwidget.js.map +0 -1
package/custom-elements-jsx.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import type { Util, LngLatLike, LngLat,
|
|
2
|
+
import type { Util, LngLatLike, LngLat, *, IControl, OrMapLoadedEvent, OrMapClickedEvent, OrMapLongPressEvent, OrMapGeocoderChangeEvent, OrMapMarkersChangedEvent, geoJsonPointInputTemplateProvider, OrMap } from "./lib/index.d.ts";
|
|
3
3
|
import type { OrMapAssetCardLoadAssetEvent, DefaultConfig, OrMapAssetCard } from "./lib/or-map-asset-card.d.ts";
|
|
4
4
|
import type { OrMapLegendEvent, OrMapLegend } from "./lib/or-map-legend.d.ts";
|
|
5
5
|
|
|
@@ -128,6 +128,8 @@ export type OrMapAssetCardProps = {
|
|
|
128
128
|
export type OrMapLegendProps = {
|
|
129
129
|
/** */
|
|
130
130
|
"assetTypes"?: OrMapLegend['assetTypes'];
|
|
131
|
+
/** */
|
|
132
|
+
"excludedTypes"?: OrMapLegend['excludedTypes'];
|
|
131
133
|
|
|
132
134
|
/** */
|
|
133
135
|
"onundefined"?: (e: CustomEvent<OrMapLegendEvent>) => void;
|
|
@@ -158,9 +160,11 @@ export type OrMapLegendProps = {
|
|
|
158
160
|
*
|
|
159
161
|
* Methods that can be called to access component functionality.
|
|
160
162
|
*
|
|
161
|
-
* - `
|
|
162
|
-
* - `
|
|
163
|
-
* - `
|
|
163
|
+
* - `addAsset(asset: AssetWithLocation) => void`: undefined
|
|
164
|
+
* - `addAssets(assets: AssetWithLocation[]) => void`: undefined
|
|
165
|
+
* - `updateAttribute(event: AttributeEvent) => void`: undefined
|
|
166
|
+
* - `removeAssets(ids: string[]) => void`: undefined
|
|
167
|
+
* - `removeAllAssets() => void`: undefined
|
|
164
168
|
* - `refresh() => void`: undefined
|
|
165
169
|
* - `loadMap() => void`: undefined
|
|
166
170
|
* - `resize() => void`: undefined
|
|
@@ -206,6 +210,7 @@ export type OrMapLegendProps = {
|
|
|
206
210
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
207
211
|
*
|
|
208
212
|
* - `assetTypes`: undefined
|
|
213
|
+
* - `excludedTypes`: undefined
|
|
209
214
|
*
|
|
210
215
|
* ## Events
|
|
211
216
|
*
|