@eox/feedback 1.0.1 → 1.1.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/dist/eox-feedback.js +2478 -2404
- package/dist/eox-feedback.umd.cjs +49 -56
- package/package.json +10 -3
- package/src/feedback-button.js +28 -1
- package/src/main.js +196 -26
- package/types/drawtools/src/components/controller.d.ts +108 -0
- package/types/drawtools/src/components/controller.d.ts.map +1 -0
- package/types/drawtools/src/components/list.d.ts +144 -0
- package/types/drawtools/src/components/list.d.ts.map +1 -0
- package/types/drawtools/src/enums/draw.d.ts +9 -0
- package/types/drawtools/src/enums/draw.d.ts.map +1 -0
- package/types/drawtools/src/enums/index.d.ts +4 -0
- package/types/drawtools/src/enums/index.d.ts.map +1 -0
- package/types/drawtools/src/enums/stories.d.ts +26 -0
- package/types/drawtools/src/enums/stories.d.ts.map +1 -0
- package/types/drawtools/src/enums/test.d.ts +11 -0
- package/types/drawtools/src/enums/test.d.ts.map +1 -0
- package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts +7 -0
- package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts.map +1 -0
- package/types/drawtools/src/helpers/features-to-geojson.d.ts +12 -0
- package/types/drawtools/src/helpers/features-to-geojson.d.ts.map +1 -0
- package/types/drawtools/src/helpers/features-to-wkt.d.ts +9 -0
- package/types/drawtools/src/helpers/features-to-wkt.d.ts.map +1 -0
- package/types/drawtools/src/helpers/generate-upload-events.d.ts +19 -0
- package/types/drawtools/src/helpers/generate-upload-events.d.ts.map +1 -0
- package/types/drawtools/src/helpers/index.d.ts +4 -0
- package/types/drawtools/src/helpers/index.d.ts.map +1 -0
- package/types/drawtools/src/main.d.ts +270 -0
- package/types/drawtools/src/main.d.ts.map +1 -0
- package/types/drawtools/src/methods/controller/index.d.ts +2 -0
- package/types/drawtools/src/methods/controller/index.d.ts.map +1 -0
- package/types/drawtools/src/methods/controller/update-button-states.d.ts +12 -0
- package/types/drawtools/src/methods/controller/update-button-states.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/create-select-handler.d.ts +6 -0
- package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/discard-drawing.d.ts +9 -0
- package/types/drawtools/src/methods/draw/discard-drawing.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts +20 -0
- package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/handle-layer-id.d.ts +12 -0
- package/types/drawtools/src/methods/draw/handle-layer-id.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/index.d.ts +9 -0
- package/types/drawtools/src/methods/draw/index.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/init-layer.d.ts +13 -0
- package/types/drawtools/src/methods/draw/init-layer.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/init-selection.d.ts +10 -0
- package/types/drawtools/src/methods/draw/init-selection.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/on-draw-end.d.ts +9 -0
- package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +1 -0
- package/types/drawtools/src/methods/draw/start-drawing.d.ts +9 -0
- package/types/drawtools/src/methods/draw/start-drawing.d.ts.map +1 -0
- package/types/drawtools/src/methods/list/delete-feature.d.ts +11 -0
- package/types/drawtools/src/methods/list/delete-feature.d.ts.map +1 -0
- package/types/drawtools/src/methods/list/first-update.d.ts +8 -0
- package/types/drawtools/src/methods/list/first-update.d.ts.map +1 -0
- package/types/drawtools/src/methods/list/hover-feature.d.ts +10 -0
- package/types/drawtools/src/methods/list/hover-feature.d.ts.map +1 -0
- package/types/drawtools/src/methods/list/index.d.ts +5 -0
- package/types/drawtools/src/methods/list/index.d.ts.map +1 -0
- package/types/drawtools/src/methods/list/select-deselect-feature.d.ts +9 -0
- package/types/drawtools/src/methods/list/select-deselect-feature.d.ts.map +1 -0
- package/types/drawtools/src/style.eox.d.ts.map +1 -0
- package/types/{enums → feedback/src/enums}/index.d.ts.map +1 -1
- package/types/{enums → feedback/src/enums}/test.d.ts.map +1 -1
- package/types/{feedback-button.d.ts → feedback/src/feedback-button.d.ts} +13 -1
- package/types/feedback/src/feedback-button.d.ts.map +1 -0
- package/types/feedback/src/main.d.ts +67 -0
- package/types/feedback/src/main.d.ts.map +1 -0
- package/types/{style.d.ts.map → feedback/src/style.d.ts.map} +1 -1
- package/types/feedback/src/style.eox.d.ts +2 -0
- package/types/{style.eox.d.ts.map → feedback/src/style.eox.d.ts.map} +1 -1
- package/types/jsonform/src/custom-inputs/buttons.d.ts +20 -0
- package/types/jsonform/src/custom-inputs/buttons.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/index.d.ts +5 -0
- package/types/jsonform/src/custom-inputs/index.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/minmax.d.ts +16 -0
- package/types/jsonform/src/custom-inputs/minmax.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/spatial/editor.d.ts +19 -0
- package/types/jsonform/src/custom-inputs/spatial/editor.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/spatial/index.d.ts +3 -0
- package/types/jsonform/src/custom-inputs/spatial/index.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/spatial/utils.d.ts +22 -0
- package/types/jsonform/src/custom-inputs/spatial/utils.d.ts.map +1 -0
- package/types/jsonform/src/custom-inputs/spatial/validator.d.ts +16 -0
- package/types/jsonform/src/custom-inputs/spatial/validator.d.ts.map +1 -0
- package/types/jsonform/src/enums/editor.d.ts +11 -0
- package/types/jsonform/src/enums/editor.d.ts.map +1 -0
- package/types/jsonform/src/enums/index.d.ts +4 -0
- package/types/jsonform/src/enums/index.d.ts.map +1 -0
- package/types/jsonform/src/enums/stories.d.ts +38 -0
- package/types/jsonform/src/enums/stories.d.ts.map +1 -0
- package/types/jsonform/src/enums/test.d.ts +4 -0
- package/types/jsonform/src/enums/test.d.ts.map +1 -0
- package/types/jsonform/src/helpers/editor.d.ts +18 -0
- package/types/jsonform/src/helpers/editor.d.ts.map +1 -0
- package/types/jsonform/src/helpers/index.d.ts +2 -0
- package/types/jsonform/src/helpers/index.d.ts.map +1 -0
- package/types/jsonform/src/main.d.ts +157 -0
- package/types/jsonform/src/main.d.ts.map +1 -0
- package/types/jsonform/src/style.d.ts +2 -0
- package/types/jsonform/src/style.d.ts.map +1 -0
- package/types/jsonform/src/style.eox.d.ts +2 -0
- package/types/jsonform/src/style.eox.d.ts.map +1 -0
- package/types/map/src/components/compare.d.ts +31 -0
- package/types/map/src/components/compare.d.ts.map +1 -0
- package/types/map/src/components/tooltip.d.ts +41 -0
- package/types/map/src/components/tooltip.d.ts.map +1 -0
- package/types/map/src/controls/controls.d.ts +21 -0
- package/types/map/src/controls/controls.d.ts.map +1 -0
- package/types/map/src/controls/geo-location.d.ts +41 -0
- package/types/map/src/controls/geo-location.d.ts.map +1 -0
- package/types/map/src/controls/loading-indicator.d.ts +20 -0
- package/types/map/src/controls/loading-indicator.d.ts.map +1 -0
- package/types/map/src/custom/layers/MapboxStyle.d.ts +13 -0
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +1 -0
- package/types/map/src/custom/sources/Cluster.d.ts +20 -0
- package/types/map/src/custom/sources/Cluster.d.ts.map +1 -0
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +28 -0
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
- package/types/map/src/enums/index.d.ts +2 -0
- package/types/map/src/enums/index.d.ts.map +1 -0
- package/types/map/src/enums/map.d.ts +5 -0
- package/types/map/src/enums/map.d.ts.map +1 -0
- package/types/map/src/helpers/add-new-feature.d.ts +15 -0
- package/types/map/src/helpers/add-new-feature.d.ts.map +1 -0
- package/types/map/src/helpers/cancel-animation.d.ts +7 -0
- package/types/map/src/helpers/cancel-animation.d.ts.map +1 -0
- package/types/map/src/helpers/center.d.ts +12 -0
- package/types/map/src/helpers/center.d.ts.map +1 -0
- package/types/map/src/helpers/cluster-explode.d.ts +38 -0
- package/types/map/src/helpers/cluster-explode.d.ts.map +1 -0
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts +12 -0
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -0
- package/types/map/src/helpers/draw.d.ts +22 -0
- package/types/map/src/helpers/draw.d.ts.map +1 -0
- package/types/map/src/helpers/generate.d.ts +32 -0
- package/types/map/src/helpers/generate.d.ts.map +1 -0
- package/types/map/src/helpers/index.d.ts +17 -0
- package/types/map/src/helpers/index.d.ts.map +1 -0
- package/types/map/src/helpers/interactions.d.ts +16 -0
- package/types/map/src/helpers/interactions.d.ts.map +1 -0
- package/types/map/src/helpers/layer.d.ts +24 -0
- package/types/map/src/helpers/layer.d.ts.map +1 -0
- package/types/map/src/helpers/parse-feature.d.ts +8 -0
- package/types/map/src/helpers/parse-feature.d.ts.map +1 -0
- package/types/map/src/helpers/parse-text.d.ts +45 -0
- package/types/map/src/helpers/parse-text.d.ts.map +1 -0
- package/types/map/src/helpers/register-projection-from-code.d.ts +8 -0
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -0
- package/types/map/src/helpers/register-projection.d.ts +11 -0
- package/types/map/src/helpers/register-projection.d.ts.map +1 -0
- package/types/map/src/helpers/select.d.ts +95 -0
- package/types/map/src/helpers/select.d.ts.map +1 -0
- package/types/map/src/helpers/tile-grid.d.ts +10 -0
- package/types/map/src/helpers/tile-grid.d.ts.map +1 -0
- package/types/map/src/helpers/transform.d.ts +19 -0
- package/types/map/src/helpers/transform.d.ts.map +1 -0
- package/types/map/src/layers.d.ts +125 -0
- package/types/map/src/layers.d.ts.map +1 -0
- package/types/map/src/main.d.ts +459 -0
- package/types/map/src/main.d.ts.map +1 -0
- package/types/map/src/methods/map/add-update-layer.d.ts +13 -0
- package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -0
- package/types/map/src/methods/map/animate-to-state.d.ts +7 -0
- package/types/map/src/methods/map/animate-to-state.d.ts.map +1 -0
- package/types/map/src/methods/map/first-updated.d.ts +9 -0
- package/types/map/src/methods/map/first-updated.d.ts.map +1 -0
- package/types/map/src/methods/map/getters.d.ts +22 -0
- package/types/map/src/methods/map/getters.d.ts.map +1 -0
- package/types/map/src/methods/map/index.d.ts +7 -0
- package/types/map/src/methods/map/index.d.ts.map +1 -0
- package/types/map/src/methods/map/remove.d.ts +22 -0
- package/types/map/src/methods/map/remove.d.ts.map +1 -0
- package/types/map/src/methods/map/setters.d.ts +82 -0
- package/types/map/src/methods/map/setters.d.ts.map +1 -0
- package/types/map/src/plugins/globe/index.d.ts +6 -0
- package/types/map/src/plugins/globe/index.d.ts.map +1 -0
- package/types/map/src/plugins/globe/methods.d.ts +8 -0
- package/types/map/src/plugins/globe/methods.d.ts.map +1 -0
- package/types/map/src/plugins/globe/openglobus.d.ts +16 -0
- package/types/map/src/plugins/globe/openglobus.d.ts.map +1 -0
- package/types/map/src/types.d.ts +178 -0
- package/types/map/src/types.d.ts.map +1 -0
- package/types/feedback-button.d.ts.map +0 -1
- package/types/main.d.ts +0 -25
- package/types/main.d.ts.map +0 -1
- /package/types/{style.eox.d.ts → drawtools/src/style.eox.d.ts} +0 -0
- /package/types/{enums → feedback/src/enums}/index.d.ts +0 -0
- /package/types/{enums → feedback/src/enums}/test.d.ts +0 -0
- /package/types/{style.d.ts → feedback/src/style.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/index.js"],"names":[],"mappings":"AAKO;;;mCAYN;8BAda,OAAO,SAAS,EAAE,eAAe"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function distributeTileToIdealMap(mapPool: any, layerId: any, tile: any, callback: any): any;
|
|
2
|
+
export function createMapPool(maxMaps: any, EOxMap: any, target: any): {
|
|
3
|
+
tileMap: import("../../main").EOxMap;
|
|
4
|
+
tileQueue: any[];
|
|
5
|
+
loadNextTile(): void;
|
|
6
|
+
}[];
|
|
7
|
+
export type ExtendedOLLayer = import("./types").ExtendedOLLayer;
|
|
8
|
+
//# sourceMappingURL=methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/methods.js"],"names":[],"mappings":"AAgIA,oGA6BC;AAxJM;;;;IAoCN;8BAtCa,OAAO,SAAS,EAAE,eAAe"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function createGlobe({ EOxMap, target, mapPool }: {
|
|
2
|
+
EOxMap: any;
|
|
3
|
+
target: any;
|
|
4
|
+
mapPool: any;
|
|
5
|
+
}): OgGlobe;
|
|
6
|
+
export function refreshGlobe(): void;
|
|
7
|
+
export function createGlobusLayer(olLayer: any, mapPool: any): XYZ | CanvasTiles;
|
|
8
|
+
export function enableGlobe(map: any): void;
|
|
9
|
+
export function disableGlobe(map: any): void;
|
|
10
|
+
export function setupLayerListeners(olLayer: ExtendedOLLayer, globe: import("@openglobus/og").Globe, mapPool: Array<any>): void;
|
|
11
|
+
export function processLayers(layers: import("ol/Collection").default<import("ol/layer/Base").default>, globe: import("@openglobus/og").Globe, mapPool: Array<any>): void;
|
|
12
|
+
export type ExtendedOLLayer = import("./types").ExtendedOLLayer;
|
|
13
|
+
import { Globe as OgGlobe } from "@openglobus/og";
|
|
14
|
+
import { XYZ } from "@openglobus/og";
|
|
15
|
+
import { CanvasTiles } from "@openglobus/og";
|
|
16
|
+
//# sourceMappingURL=openglobus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openglobus.d.ts","sourceRoot":"","sources":["../../../../../../map/src/plugins/globe/openglobus.js"],"names":[],"mappings":"AAwBO;;;;YAuCN;AAEM,qCAWN;AAEM,iFA4HN;AAEM,4CAyBN;AAEM,6CAgEN;AA0BM,6CAJI,eAAe,SACf,OAAO,gBAAgB,EAAE,KAAK,WAC9B,KAAK,CAAC,GAAG,CAAC,QAyCpB;AAOM,sCAJI,OAAO,eAAe,EAAE,OAAO,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,SAChE,OAAO,gBAAgB,EAAE,KAAK,WAC9B,KAAK,CAAC,GAAG,CAAC,QAmBpB;8BA5Wa,OAAO,SAAS,EAAE,eAAe;iCAVxC,gBAAgB;oBAAhB,gBAAgB;4BAAhB,gBAAgB"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { OLBasicLayers, OLAdvancedLayers, OLBasicSources, OLAdvancedSources, OLAdvancedFormats } from "./layers";
|
|
2
|
+
export type DrawOptions = Omit<import("ol/interaction/Draw").Options, "type"> & {
|
|
3
|
+
id: string | number;
|
|
4
|
+
type: "Point" | "LineString" | "Polygon" | "Circle" | "Box";
|
|
5
|
+
modify?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
geometryFunction?: import("ol/interaction/Draw").GeometryFunction;
|
|
8
|
+
};
|
|
9
|
+
export type layerType = keyof OLBasicLayers | keyof OLAdvancedLayers;
|
|
10
|
+
export type sourceType = keyof OLBasicSources | keyof OLAdvancedSources;
|
|
11
|
+
export type VectorOrVectorTileLayer = import("ol/layer").Vector | import("ol/layer").VectorTile;
|
|
12
|
+
export type AnyLayerWithSource = import("ol/layer/Base").default | import("ol/layer/BaseImage").default<import("ol/source/Image").default, import("ol/renderer/canvas/ImageLayer").default> | import("ol/layer/Tile").default<import("ol/source/Tile").default> | VectorOrVectorTileLayer;
|
|
13
|
+
export type AnyLayer = AnyLayerWithSource | import("ol/layer/Group").default;
|
|
14
|
+
export type EOxInteraction = {
|
|
15
|
+
active?: boolean;
|
|
16
|
+
type: "draw" | "select" | "clusterExplode";
|
|
17
|
+
options: DrawOptions | SelectOptions | {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type EoxLayer = import("./layers").EoxLayer;
|
|
22
|
+
export type EoxLayers = import("./layers").EoxLayer[];
|
|
23
|
+
export type SelectLayer = import("ol/layer/Vector").default | import("ol/layer/VectorTile").default | import("ol/layer/Tile").default | import("ol/layer/WebGLTile").default;
|
|
24
|
+
export type SelectLayerWithFeatures = InstanceType<typeof import("ol/layer/VectorTile").default> | InstanceType<typeof import("ol/layer/Vector").default>;
|
|
25
|
+
export type SelectOptions = Omit<import("ol/interaction/Select").Options, "condition"> & {
|
|
26
|
+
id: string | number;
|
|
27
|
+
idProperty?: string;
|
|
28
|
+
condition: "click" | "pointermove";
|
|
29
|
+
layer?: EoxLayer;
|
|
30
|
+
style?: import("ol/style/flat.js").FlatStyleLike;
|
|
31
|
+
overlay?: import("ol/Overlay").Options;
|
|
32
|
+
/**
|
|
33
|
+
* @property {boolean} [tooltip = true] if true, will display a tooltip when hovering over a feature.
|
|
34
|
+
*/
|
|
35
|
+
tooltip?: boolean;
|
|
36
|
+
active?: boolean;
|
|
37
|
+
panIn?: boolean;
|
|
38
|
+
modify?: boolean;
|
|
39
|
+
type?: string;
|
|
40
|
+
geometryFunction?: import("ol/interaction/Draw").GeometryFunction;
|
|
41
|
+
cursor?: "string";
|
|
42
|
+
atPixelOptions?: import("ol/Map").AtPixelOptions;
|
|
43
|
+
coordinates?: boolean;
|
|
44
|
+
projection?: {
|
|
45
|
+
name: string;
|
|
46
|
+
proj4_string: string;
|
|
47
|
+
};
|
|
48
|
+
precision?: number;
|
|
49
|
+
};
|
|
50
|
+
export type ClusterExplodeOptions = import("ol/interaction/Interaction").InteractionOptions & {
|
|
51
|
+
id: string | number;
|
|
52
|
+
layer?: EoxLayer;
|
|
53
|
+
style?: import("ol/style/flat.js").FlatStyleLike;
|
|
54
|
+
active?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* @property {number} [maxZoom=20] maximum zoom level after which the cluster will always be exploded.
|
|
57
|
+
*/
|
|
58
|
+
maxZoom?: number;
|
|
59
|
+
atPixelOptions?: import("ol/Map").AtPixelOptions;
|
|
60
|
+
fitOptions?: import("ol/View").FitOptions;
|
|
61
|
+
};
|
|
62
|
+
export type ControlOptions = import("ol/control/Control").Options;
|
|
63
|
+
export type GeolocationOptions = import("ol/control/Control").Options & {
|
|
64
|
+
/**
|
|
65
|
+
* @property {import("ol/style/flat.js").FlatStyleLike} style style definition of the position feature.
|
|
66
|
+
*/
|
|
67
|
+
style?: import("ol/style/flat.js").FlatStyleLike;
|
|
68
|
+
/**
|
|
69
|
+
* @property {boolean} centerWhenReady will pan the view to the user-location on the first position update.
|
|
70
|
+
*/
|
|
71
|
+
centerWhenReady?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* @property {boolean} highAccuracy enables high accuracy of geolocator. Required for tracking the heading.
|
|
74
|
+
*/
|
|
75
|
+
highAccuracy?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* @property {boolean} trackAccuracy tracks accuracy and displays it as a circle underneath the position feature.
|
|
78
|
+
*/
|
|
79
|
+
trackAccuracy?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* @property {boolean} trackHeading tracks heading and sets it as 'heading'-property on the position feature.
|
|
82
|
+
* "highAccuracy" must be set in order to track heading.
|
|
83
|
+
*/
|
|
84
|
+
trackHeading?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* @property {string} buttonIcon image src of control element icon
|
|
87
|
+
*/
|
|
88
|
+
buttonIcon?: string;
|
|
89
|
+
};
|
|
90
|
+
export type EOxClusterOptions = Omit<import("ol/source/Cluster").Options, "geometryFunction" | "createCluster">;
|
|
91
|
+
export type LoadingIndicatorType = "small" | "fullscreen";
|
|
92
|
+
export type LoadingIndicatorOptions = import("ol/control/Control").Options & {
|
|
93
|
+
/**
|
|
94
|
+
* @property {string} spinnerSvg svg to be used as spinner icon
|
|
95
|
+
*/
|
|
96
|
+
spinnerSvg?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @property {Number} opacity opacity, defaults to 1
|
|
99
|
+
*/
|
|
100
|
+
opacity?: number;
|
|
101
|
+
/**
|
|
102
|
+
* @property {LoadingIndicatorType} type type of appearance. Small button style of fullscreen style. Defaults to button style.
|
|
103
|
+
*/
|
|
104
|
+
type?: LoadingIndicatorType;
|
|
105
|
+
};
|
|
106
|
+
export type ControlType = keyof ControlDictionary;
|
|
107
|
+
type Override<T, V> = Omit<T, keyof V> & V;
|
|
108
|
+
export type ControlDictionary = {
|
|
109
|
+
Zoom?: ConstructorParameters<typeof import("ol/control/Zoom").default>[0];
|
|
110
|
+
ScaleLine?: ConstructorParameters<typeof import("ol/control/ScaleLine").default>[0];
|
|
111
|
+
Rotate?: ConstructorParameters<typeof import("ol/control/Rotate").default>[0];
|
|
112
|
+
FullScreen?: ConstructorParameters<typeof import("ol/control/FullScreen").default>[0];
|
|
113
|
+
ZoomSlider?: ConstructorParameters<typeof import("ol/control/ZoomSlider").default>[0];
|
|
114
|
+
Attribution?: ConstructorParameters<typeof import("ol/control/Attribution").default>[0];
|
|
115
|
+
OverviewMap?: Override<ConstructorParameters<typeof import("ol/control/OverviewMap").default>[0], {
|
|
116
|
+
layers?: EoxLayer[] | AnyLayer[];
|
|
117
|
+
}>;
|
|
118
|
+
ZoomToExtent?: ConstructorParameters<typeof import("ol/control/ZoomToExtent").default>[0];
|
|
119
|
+
MousePosition?: ConstructorParameters<typeof import("ol/control/MousePosition").default>[0];
|
|
120
|
+
Geolocation?: ConstructorParameters<typeof import("./controls/geo-location").default>[0];
|
|
121
|
+
LoadingIndicator?: ConstructorParameters<typeof import("./controls/loading-indicator").default>[0];
|
|
122
|
+
};
|
|
123
|
+
export type AttributionLike = import("ol/source/Source").AttributionLike | string | Array<string>;
|
|
124
|
+
export type ProjectionLike = import("ol/proj").ProjectionLike;
|
|
125
|
+
export type FlatGeoBufOptions = {
|
|
126
|
+
url: string;
|
|
127
|
+
attributions?: import("ol/source/Source").AttributionLike;
|
|
128
|
+
wrapX?: boolean;
|
|
129
|
+
projection?: ProjectionLike;
|
|
130
|
+
};
|
|
131
|
+
export type WMTSCapabilitiesOptions = {
|
|
132
|
+
url: string;
|
|
133
|
+
layer: string;
|
|
134
|
+
attributions?: import("ol/source/Source").AttributionLike;
|
|
135
|
+
attributionsCollapsible?: boolean;
|
|
136
|
+
cacheSize?: number;
|
|
137
|
+
crossOrigin?: null | string;
|
|
138
|
+
interpolate?: boolean;
|
|
139
|
+
projection?: ProjectionLike;
|
|
140
|
+
transition?: number;
|
|
141
|
+
key?: string;
|
|
142
|
+
tilePixelRatio?: number;
|
|
143
|
+
zDirection?: number;
|
|
144
|
+
wrapX?: boolean;
|
|
145
|
+
dimensions: object;
|
|
146
|
+
version: string;
|
|
147
|
+
};
|
|
148
|
+
export type HTMLElementEvent<T extends HTMLElement> = Event & {
|
|
149
|
+
target: T;
|
|
150
|
+
};
|
|
151
|
+
export type EOxAnimationOptions = import("ol/View").AnimationOptions & import("ol/View").FitOptions;
|
|
152
|
+
export type ConfigObject = {
|
|
153
|
+
controls: ControlDictionary;
|
|
154
|
+
layers: EoxLayers;
|
|
155
|
+
view: {
|
|
156
|
+
center: Array<number>;
|
|
157
|
+
zoom: number;
|
|
158
|
+
zoomExtent?: import("ol/extent").Extent;
|
|
159
|
+
projection?: ProjectionLike;
|
|
160
|
+
minZoom?: number;
|
|
161
|
+
maxZoom?: number;
|
|
162
|
+
};
|
|
163
|
+
preventScroll: boolean;
|
|
164
|
+
animationOptions?: EOxAnimationOptions;
|
|
165
|
+
};
|
|
166
|
+
declare global {
|
|
167
|
+
interface Window {
|
|
168
|
+
eoxMapAdvancedOlFormats: OLAdvancedFormats;
|
|
169
|
+
eoxMapAdvancedOlLayers: OLAdvancedLayers;
|
|
170
|
+
eoxMapAdvancedOlSources: OLAdvancedSources;
|
|
171
|
+
eoxMapGlobe: {
|
|
172
|
+
create: typeof import("./plugins/globe/index").create;
|
|
173
|
+
refresh: typeof import("./plugins/globe/openglobus").refreshGlobe;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
export {};
|
|
178
|
+
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AA2B;IAG7B,wEAOC;IAED,0BAKC;IAED,6BAIC;IAED,sBAYC;IAED,eAuBC;CACF"}
|
package/types/main.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @attr {string} endpoint - The endpoint to send the feedback to as POST message.
|
|
3
|
-
* @attr {string|null} [unstyled=undefined] - If provided, the element will not be styled with EOX styles.
|
|
4
|
-
*
|
|
5
|
-
* @fires close - The modal was closed.
|
|
6
|
-
* @fires submit - The feedback was submitted. The `CustomEvent.detail` contains the FormData object.
|
|
7
|
-
*/
|
|
8
|
-
export class EOxFeedback extends HTMLElement {
|
|
9
|
-
static observedAttributes: string[];
|
|
10
|
-
includeScreenshot: any;
|
|
11
|
-
areaSelection: any;
|
|
12
|
-
regionScreenshot: any;
|
|
13
|
-
screenShotFile: File;
|
|
14
|
-
endpoint: string;
|
|
15
|
-
connectedCallback(): void;
|
|
16
|
-
disconnectedCallback(): void;
|
|
17
|
-
onKeyboardInput(e: any): void;
|
|
18
|
-
onOverlayDraw(e: any): void;
|
|
19
|
-
onTextInput(e: any): void;
|
|
20
|
-
onToggleScreenshot(e: any): Promise<void>;
|
|
21
|
-
onSubmit(): Promise<void>;
|
|
22
|
-
onCancel(): void;
|
|
23
|
-
render(): void;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=main.d.ts.map
|
package/types/main.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH;IACE,oCAAqD;IAMnD,uBAA6B;IAC7B,mBAAyB;IAEzB,sBAA4B;IAE5B,qBAA0B;IAE1B,iBAEyE;IAG3E,0BAeC;IAED,6BAcC;IAED,8BASC;IAED,4BAEC;IAED,0BAOC;IAED,0CAyDC;IAED,0BAkDC;IAED,iBAMC;IAED,eAuEC;CACF"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|