@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.
Files changed (192) hide show
  1. package/dist/eox-feedback.js +2478 -2404
  2. package/dist/eox-feedback.umd.cjs +49 -56
  3. package/package.json +10 -3
  4. package/src/feedback-button.js +28 -1
  5. package/src/main.js +196 -26
  6. package/types/drawtools/src/components/controller.d.ts +108 -0
  7. package/types/drawtools/src/components/controller.d.ts.map +1 -0
  8. package/types/drawtools/src/components/list.d.ts +144 -0
  9. package/types/drawtools/src/components/list.d.ts.map +1 -0
  10. package/types/drawtools/src/enums/draw.d.ts +9 -0
  11. package/types/drawtools/src/enums/draw.d.ts.map +1 -0
  12. package/types/drawtools/src/enums/index.d.ts +4 -0
  13. package/types/drawtools/src/enums/index.d.ts.map +1 -0
  14. package/types/drawtools/src/enums/stories.d.ts +26 -0
  15. package/types/drawtools/src/enums/stories.d.ts.map +1 -0
  16. package/types/drawtools/src/enums/test.d.ts +11 -0
  17. package/types/drawtools/src/enums/test.d.ts.map +1 -0
  18. package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts +7 -0
  19. package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts.map +1 -0
  20. package/types/drawtools/src/helpers/features-to-geojson.d.ts +12 -0
  21. package/types/drawtools/src/helpers/features-to-geojson.d.ts.map +1 -0
  22. package/types/drawtools/src/helpers/features-to-wkt.d.ts +9 -0
  23. package/types/drawtools/src/helpers/features-to-wkt.d.ts.map +1 -0
  24. package/types/drawtools/src/helpers/generate-upload-events.d.ts +19 -0
  25. package/types/drawtools/src/helpers/generate-upload-events.d.ts.map +1 -0
  26. package/types/drawtools/src/helpers/index.d.ts +4 -0
  27. package/types/drawtools/src/helpers/index.d.ts.map +1 -0
  28. package/types/drawtools/src/main.d.ts +270 -0
  29. package/types/drawtools/src/main.d.ts.map +1 -0
  30. package/types/drawtools/src/methods/controller/index.d.ts +2 -0
  31. package/types/drawtools/src/methods/controller/index.d.ts.map +1 -0
  32. package/types/drawtools/src/methods/controller/update-button-states.d.ts +12 -0
  33. package/types/drawtools/src/methods/controller/update-button-states.d.ts.map +1 -0
  34. package/types/drawtools/src/methods/draw/create-select-handler.d.ts +6 -0
  35. package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +1 -0
  36. package/types/drawtools/src/methods/draw/discard-drawing.d.ts +9 -0
  37. package/types/drawtools/src/methods/draw/discard-drawing.d.ts.map +1 -0
  38. package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts +20 -0
  39. package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts.map +1 -0
  40. package/types/drawtools/src/methods/draw/handle-layer-id.d.ts +12 -0
  41. package/types/drawtools/src/methods/draw/handle-layer-id.d.ts.map +1 -0
  42. package/types/drawtools/src/methods/draw/index.d.ts +9 -0
  43. package/types/drawtools/src/methods/draw/index.d.ts.map +1 -0
  44. package/types/drawtools/src/methods/draw/init-layer.d.ts +13 -0
  45. package/types/drawtools/src/methods/draw/init-layer.d.ts.map +1 -0
  46. package/types/drawtools/src/methods/draw/init-selection.d.ts +10 -0
  47. package/types/drawtools/src/methods/draw/init-selection.d.ts.map +1 -0
  48. package/types/drawtools/src/methods/draw/on-draw-end.d.ts +9 -0
  49. package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +1 -0
  50. package/types/drawtools/src/methods/draw/start-drawing.d.ts +9 -0
  51. package/types/drawtools/src/methods/draw/start-drawing.d.ts.map +1 -0
  52. package/types/drawtools/src/methods/list/delete-feature.d.ts +11 -0
  53. package/types/drawtools/src/methods/list/delete-feature.d.ts.map +1 -0
  54. package/types/drawtools/src/methods/list/first-update.d.ts +8 -0
  55. package/types/drawtools/src/methods/list/first-update.d.ts.map +1 -0
  56. package/types/drawtools/src/methods/list/hover-feature.d.ts +10 -0
  57. package/types/drawtools/src/methods/list/hover-feature.d.ts.map +1 -0
  58. package/types/drawtools/src/methods/list/index.d.ts +5 -0
  59. package/types/drawtools/src/methods/list/index.d.ts.map +1 -0
  60. package/types/drawtools/src/methods/list/select-deselect-feature.d.ts +9 -0
  61. package/types/drawtools/src/methods/list/select-deselect-feature.d.ts.map +1 -0
  62. package/types/drawtools/src/style.eox.d.ts.map +1 -0
  63. package/types/{enums → feedback/src/enums}/index.d.ts.map +1 -1
  64. package/types/{enums → feedback/src/enums}/test.d.ts.map +1 -1
  65. package/types/{feedback-button.d.ts → feedback/src/feedback-button.d.ts} +13 -1
  66. package/types/feedback/src/feedback-button.d.ts.map +1 -0
  67. package/types/feedback/src/main.d.ts +67 -0
  68. package/types/feedback/src/main.d.ts.map +1 -0
  69. package/types/{style.d.ts.map → feedback/src/style.d.ts.map} +1 -1
  70. package/types/feedback/src/style.eox.d.ts +2 -0
  71. package/types/{style.eox.d.ts.map → feedback/src/style.eox.d.ts.map} +1 -1
  72. package/types/jsonform/src/custom-inputs/buttons.d.ts +20 -0
  73. package/types/jsonform/src/custom-inputs/buttons.d.ts.map +1 -0
  74. package/types/jsonform/src/custom-inputs/index.d.ts +5 -0
  75. package/types/jsonform/src/custom-inputs/index.d.ts.map +1 -0
  76. package/types/jsonform/src/custom-inputs/minmax.d.ts +16 -0
  77. package/types/jsonform/src/custom-inputs/minmax.d.ts.map +1 -0
  78. package/types/jsonform/src/custom-inputs/spatial/editor.d.ts +19 -0
  79. package/types/jsonform/src/custom-inputs/spatial/editor.d.ts.map +1 -0
  80. package/types/jsonform/src/custom-inputs/spatial/index.d.ts +3 -0
  81. package/types/jsonform/src/custom-inputs/spatial/index.d.ts.map +1 -0
  82. package/types/jsonform/src/custom-inputs/spatial/utils.d.ts +22 -0
  83. package/types/jsonform/src/custom-inputs/spatial/utils.d.ts.map +1 -0
  84. package/types/jsonform/src/custom-inputs/spatial/validator.d.ts +16 -0
  85. package/types/jsonform/src/custom-inputs/spatial/validator.d.ts.map +1 -0
  86. package/types/jsonform/src/enums/editor.d.ts +11 -0
  87. package/types/jsonform/src/enums/editor.d.ts.map +1 -0
  88. package/types/jsonform/src/enums/index.d.ts +4 -0
  89. package/types/jsonform/src/enums/index.d.ts.map +1 -0
  90. package/types/jsonform/src/enums/stories.d.ts +38 -0
  91. package/types/jsonform/src/enums/stories.d.ts.map +1 -0
  92. package/types/jsonform/src/enums/test.d.ts +4 -0
  93. package/types/jsonform/src/enums/test.d.ts.map +1 -0
  94. package/types/jsonform/src/helpers/editor.d.ts +18 -0
  95. package/types/jsonform/src/helpers/editor.d.ts.map +1 -0
  96. package/types/jsonform/src/helpers/index.d.ts +2 -0
  97. package/types/jsonform/src/helpers/index.d.ts.map +1 -0
  98. package/types/jsonform/src/main.d.ts +157 -0
  99. package/types/jsonform/src/main.d.ts.map +1 -0
  100. package/types/jsonform/src/style.d.ts +2 -0
  101. package/types/jsonform/src/style.d.ts.map +1 -0
  102. package/types/jsonform/src/style.eox.d.ts +2 -0
  103. package/types/jsonform/src/style.eox.d.ts.map +1 -0
  104. package/types/map/src/components/compare.d.ts +31 -0
  105. package/types/map/src/components/compare.d.ts.map +1 -0
  106. package/types/map/src/components/tooltip.d.ts +41 -0
  107. package/types/map/src/components/tooltip.d.ts.map +1 -0
  108. package/types/map/src/controls/controls.d.ts +21 -0
  109. package/types/map/src/controls/controls.d.ts.map +1 -0
  110. package/types/map/src/controls/geo-location.d.ts +41 -0
  111. package/types/map/src/controls/geo-location.d.ts.map +1 -0
  112. package/types/map/src/controls/loading-indicator.d.ts +20 -0
  113. package/types/map/src/controls/loading-indicator.d.ts.map +1 -0
  114. package/types/map/src/custom/layers/MapboxStyle.d.ts +13 -0
  115. package/types/map/src/custom/layers/MapboxStyle.d.ts.map +1 -0
  116. package/types/map/src/custom/sources/Cluster.d.ts +20 -0
  117. package/types/map/src/custom/sources/Cluster.d.ts.map +1 -0
  118. package/types/map/src/custom/sources/FlatGeoBuf.d.ts +28 -0
  119. package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +1 -0
  120. package/types/map/src/custom/sources/WMTSCapabilities.d.ts +35 -0
  121. package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +1 -0
  122. package/types/map/src/enums/index.d.ts +2 -0
  123. package/types/map/src/enums/index.d.ts.map +1 -0
  124. package/types/map/src/enums/map.d.ts +5 -0
  125. package/types/map/src/enums/map.d.ts.map +1 -0
  126. package/types/map/src/helpers/add-new-feature.d.ts +15 -0
  127. package/types/map/src/helpers/add-new-feature.d.ts.map +1 -0
  128. package/types/map/src/helpers/cancel-animation.d.ts +7 -0
  129. package/types/map/src/helpers/cancel-animation.d.ts.map +1 -0
  130. package/types/map/src/helpers/center.d.ts +12 -0
  131. package/types/map/src/helpers/center.d.ts.map +1 -0
  132. package/types/map/src/helpers/cluster-explode.d.ts +38 -0
  133. package/types/map/src/helpers/cluster-explode.d.ts.map +1 -0
  134. package/types/map/src/helpers/coordinates-roughly-equals.d.ts +12 -0
  135. package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +1 -0
  136. package/types/map/src/helpers/draw.d.ts +22 -0
  137. package/types/map/src/helpers/draw.d.ts.map +1 -0
  138. package/types/map/src/helpers/generate.d.ts +32 -0
  139. package/types/map/src/helpers/generate.d.ts.map +1 -0
  140. package/types/map/src/helpers/index.d.ts +17 -0
  141. package/types/map/src/helpers/index.d.ts.map +1 -0
  142. package/types/map/src/helpers/interactions.d.ts +16 -0
  143. package/types/map/src/helpers/interactions.d.ts.map +1 -0
  144. package/types/map/src/helpers/layer.d.ts +24 -0
  145. package/types/map/src/helpers/layer.d.ts.map +1 -0
  146. package/types/map/src/helpers/parse-feature.d.ts +8 -0
  147. package/types/map/src/helpers/parse-feature.d.ts.map +1 -0
  148. package/types/map/src/helpers/parse-text.d.ts +45 -0
  149. package/types/map/src/helpers/parse-text.d.ts.map +1 -0
  150. package/types/map/src/helpers/register-projection-from-code.d.ts +8 -0
  151. package/types/map/src/helpers/register-projection-from-code.d.ts.map +1 -0
  152. package/types/map/src/helpers/register-projection.d.ts +11 -0
  153. package/types/map/src/helpers/register-projection.d.ts.map +1 -0
  154. package/types/map/src/helpers/select.d.ts +95 -0
  155. package/types/map/src/helpers/select.d.ts.map +1 -0
  156. package/types/map/src/helpers/tile-grid.d.ts +10 -0
  157. package/types/map/src/helpers/tile-grid.d.ts.map +1 -0
  158. package/types/map/src/helpers/transform.d.ts +19 -0
  159. package/types/map/src/helpers/transform.d.ts.map +1 -0
  160. package/types/map/src/layers.d.ts +125 -0
  161. package/types/map/src/layers.d.ts.map +1 -0
  162. package/types/map/src/main.d.ts +459 -0
  163. package/types/map/src/main.d.ts.map +1 -0
  164. package/types/map/src/methods/map/add-update-layer.d.ts +13 -0
  165. package/types/map/src/methods/map/add-update-layer.d.ts.map +1 -0
  166. package/types/map/src/methods/map/animate-to-state.d.ts +7 -0
  167. package/types/map/src/methods/map/animate-to-state.d.ts.map +1 -0
  168. package/types/map/src/methods/map/first-updated.d.ts +9 -0
  169. package/types/map/src/methods/map/first-updated.d.ts.map +1 -0
  170. package/types/map/src/methods/map/getters.d.ts +22 -0
  171. package/types/map/src/methods/map/getters.d.ts.map +1 -0
  172. package/types/map/src/methods/map/index.d.ts +7 -0
  173. package/types/map/src/methods/map/index.d.ts.map +1 -0
  174. package/types/map/src/methods/map/remove.d.ts +22 -0
  175. package/types/map/src/methods/map/remove.d.ts.map +1 -0
  176. package/types/map/src/methods/map/setters.d.ts +82 -0
  177. package/types/map/src/methods/map/setters.d.ts.map +1 -0
  178. package/types/map/src/plugins/globe/index.d.ts +6 -0
  179. package/types/map/src/plugins/globe/index.d.ts.map +1 -0
  180. package/types/map/src/plugins/globe/methods.d.ts +8 -0
  181. package/types/map/src/plugins/globe/methods.d.ts.map +1 -0
  182. package/types/map/src/plugins/globe/openglobus.d.ts +16 -0
  183. package/types/map/src/plugins/globe/openglobus.d.ts.map +1 -0
  184. package/types/map/src/types.d.ts +178 -0
  185. package/types/map/src/types.d.ts.map +1 -0
  186. package/types/feedback-button.d.ts.map +0 -1
  187. package/types/main.d.ts +0 -25
  188. package/types/main.d.ts.map +0 -1
  189. /package/types/{style.eox.d.ts → drawtools/src/style.eox.d.ts} +0 -0
  190. /package/types/{enums → feedback/src/enums}/index.d.ts +0 -0
  191. /package/types/{enums → feedback/src/enums}/test.d.ts +0 -0
  192. /package/types/{style.d.ts → feedback/src/style.d.ts} +0 -0
@@ -0,0 +1,4 @@
1
+ export { TEST_SELECTORS } from "./test";
2
+ export { STORIES_MAP_STYLE, STORIES_LAYERS_ARRAY, STORIES_VECTOR_LAYERS } from "./stories";
3
+ export { FIT_OPTIONS, DUMMY_GEO_JSON } from "./draw";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ export const STORIES_LAYERS_ARRAY: {
2
+ type: string;
3
+ source: {
4
+ type: string;
5
+ };
6
+ }[];
7
+ export const STORIES_VECTOR_LAYERS: {
8
+ type: string;
9
+ background: string;
10
+ properties: {
11
+ id: string;
12
+ };
13
+ source: {
14
+ type: string;
15
+ url: string;
16
+ format: string;
17
+ attributions: string;
18
+ };
19
+ style: {
20
+ "stroke-color": string;
21
+ "stroke-width": number;
22
+ "fill-color": string;
23
+ };
24
+ }[];
25
+ export const STORIES_MAP_STYLE: "width: 400px; height: 300px;";
26
+ //# sourceMappingURL=stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/stories.js"],"names":[],"mappings":"AAAA;;;;;IAOE;AAEF;;;;;;;;;;;;;;;;;IAmBE;AAEF,gCAAiC,8BAA8B,CAAC"}
@@ -0,0 +1,11 @@
1
+ export namespace TEST_SELECTORS {
2
+ let drawTools: string;
3
+ let controller: string;
4
+ let drawBtn: string;
5
+ let editorBtn: string;
6
+ let copyBtn: string;
7
+ let discardBtn: string;
8
+ let list: string;
9
+ let deleteFeatureBtn: string;
10
+ }
11
+ //# sourceMappingURL=test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/test.js"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copy a given text string to the clipboard
3
+ *
4
+ * @param {string} text - The text to be copied to the clipboard.
5
+ */
6
+ export default function copyTextToClipboard(text: string): void;
7
+ //# sourceMappingURL=copy-text-to-clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-text-to-clipboard.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/copy-text-to-clipboard.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kDAFW,MAAM,QAShB"}
@@ -0,0 +1,12 @@
1
+ export default featuresToGeoJson;
2
+ /**
3
+ * Converts features to a GeoJSON representation.
4
+ *
5
+ * @param {import("ol").Feature[]} features
6
+ * @param {(Parameters<GeoJson["writeFeaturesObject"]>)["1"]} [options]
7
+ */
8
+ declare function featuresToGeoJson(features: import("ol").Feature[], options?: Parameters<GeoJson["writeFeaturesObject"]>["1"]): import("geojson").FeatureCollection<import("geojson").Geometry, {
9
+ [name: string]: any;
10
+ }>;
11
+ import GeoJson from "ol/format/GeoJSON";
12
+ //# sourceMappingURL=features-to-geojson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features-to-geojson.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/features-to-geojson.js"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,6CAHW,OAAO,IAAI,EAAE,OAAO,EAAE,YACrB,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAE,GAAG,CAAC;;GAK3D;oBAXmB,mBAAmB"}
@@ -0,0 +1,9 @@
1
+ export default featureToWKT;
2
+ /**
3
+ * Converts features to a Well-Known Text (WKT) representation.
4
+ *
5
+ * @type {WKT["writeFeatures"]}
6
+ */
7
+ declare const featureToWKT: WKT["writeFeatures"];
8
+ import WKT from "ol/format/WKT.js";
9
+ //# sourceMappingURL=features-to-wkt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features-to-wkt.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/features-to-wkt.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH,4BAFU,GAAG,CAAC,eAAe,CAAC,CAK5B;gBAVc,kBAAkB"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Initializes upload-related event listeners for drag-and-drop interactions on a map element.
3
+ * It configures the map to react visually to drag-and-drop actions and processes dropped files.
4
+ *
5
+ * @param {import("../main.js").EOxDrawTools} EOxDrawTool - The drawing tool instance.
6
+ * @param {import("@eox/map").EOxMap} EOxMap - The EOx Map instance.
7
+ */
8
+ export function initMapDragDropImport(EOxDrawTool: import("../main.js").EOxDrawTools, EOxMap: import("@eox/map").EOxMap): void;
9
+ /**
10
+ * Handles file input from drag-and-drop or file selection events,
11
+ * forwarding each file to a specified processing function.
12
+ *
13
+ * @param {DragEvent | InputEvent & { target: HTMLInputElement }} e - The event object from the file input interaction.
14
+ * @param {import("../main.js").EOxDrawTools} EOxDrawTool - The drawing tool instance.
15
+ */
16
+ export function handleFiles(e: DragEvent | (InputEvent & {
17
+ target: HTMLInputElement;
18
+ }), EOxDrawTool: import("../main.js").EOxDrawTools): void;
19
+ //# sourceMappingURL=generate-upload-events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-upload-events.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/generate-upload-events.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,mDAHW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,QA6BnC;AAaD;;;;;;GAMG;AACH,+BAHW,SAAS,IAAG,UAAU,GAAG;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,CAAA,eACrD,OAAO,YAAY,EAAE,YAAY,QAiB3C"}
@@ -0,0 +1,4 @@
1
+ export { default as copyTextToClipboard } from "./copy-text-to-clipboard";
2
+ export { default as featuresToGeoJson } from "./features-to-geojson";
3
+ export { default as featuresToWKT } from "./features-to-wkt";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,270 @@
1
+ /**
2
+ * The `eox-drawtools` element provides a comprehensive set of drawing, editing, selection, and import tools for vector features on an `eox-map`. It supports drawing multiple feature types (Polygon, Box, Point, Circle, LineString), continuous drawing, feature modification, selection from existing layers, and import/export in various formats (GeoJSON, WKT, native OL feature).
3
+ *
4
+ * Key features:
5
+ * - Draw polygons, boxes, points, circles, and lines on the map
6
+ * - Draw multiple features at once (set `multiple-features`)
7
+ * - Continuous drawing mode (set `continuous`)
8
+ * - Modify drawn features (set `allow-modify`)
9
+ * - Select features from a specified layer (`layer-id`)
10
+ * - Display a list of drawn/selected features (`show-list`)
11
+ * - Edit features as GeoJSON in a text editor (`show-editor`)
12
+ * - Import features via drag-and-drop or file upload (`import-features`)
13
+ * - Emit drawn features in different formats (`format`: `feature`, `geojson`, `wkt`)
14
+ * - Emit features in a specified projection (`projection`)
15
+ * - Customizable feature styles (`featureStyles`)
16
+ * - Unstyled and no-shadow variants for easy integration
17
+ *
18
+ * Usage examples and visual demos are available in Storybook stories, including scenarios for multi-feature drawing, feature modification, selection, import/export, continuous drawing, format and projection control, and style customization.
19
+ *
20
+ * @element eox-drawtools
21
+ */
22
+ export class EOxDrawTools extends LitElement {
23
+ static get properties(): {
24
+ allowModify: {
25
+ attribute: string;
26
+ type: BooleanConstructor;
27
+ };
28
+ for: {
29
+ type: StringConstructor;
30
+ };
31
+ currentlyDrawing: {
32
+ attribute: boolean;
33
+ state: boolean;
34
+ type: BooleanConstructor;
35
+ };
36
+ continuous: {
37
+ type: BooleanConstructor;
38
+ };
39
+ draw: {
40
+ attribute: boolean;
41
+ state: boolean;
42
+ };
43
+ drawLayer: {
44
+ attribute: boolean;
45
+ state: boolean;
46
+ };
47
+ drawnFeatures: {
48
+ attribute: boolean;
49
+ state: boolean;
50
+ type: ArrayConstructor;
51
+ };
52
+ featureName: {
53
+ attribute: string;
54
+ type: StringConstructor;
55
+ };
56
+ featureNameKey: {
57
+ attribute: string;
58
+ type: StringConstructor;
59
+ };
60
+ layerId: {
61
+ attribute: string;
62
+ type: StringConstructor;
63
+ };
64
+ featureStyles: {
65
+ attribute: boolean;
66
+ };
67
+ modify: {
68
+ attribute: boolean;
69
+ state: boolean;
70
+ };
71
+ multipleFeatures: {
72
+ attribute: string;
73
+ type: BooleanConstructor;
74
+ };
75
+ importFeatures: {
76
+ attribute: string;
77
+ type: BooleanConstructor;
78
+ };
79
+ showEditor: {
80
+ attribute: string;
81
+ type: BooleanConstructor;
82
+ };
83
+ showList: {
84
+ attribute: string;
85
+ type: BooleanConstructor;
86
+ };
87
+ projection: {
88
+ type: StringConstructor;
89
+ };
90
+ noShadow: {
91
+ attribute: string;
92
+ type: BooleanConstructor;
93
+ };
94
+ format: {
95
+ type: StringConstructor;
96
+ };
97
+ type: {
98
+ type: StringConstructor;
99
+ };
100
+ unstyled: {
101
+ type: BooleanConstructor;
102
+ };
103
+ };
104
+ /**
105
+ * Allow modifying the drawn feature(s)
106
+ */
107
+ allowModify: boolean;
108
+ /**
109
+ * Query selector of an `eox-map` (`String`, passed as an attribute or property)
110
+ * or an `eox-map` DOM element (`HTMLElement`, passed as property)
111
+ *
112
+ * @type {String|HTMLElement}
113
+ */
114
+ for: string | HTMLElement;
115
+ /**
116
+ * Whether the user is currently in the process of drawing or not
117
+ */
118
+ currentlyDrawing: boolean;
119
+ /**
120
+ * The current native OpenLayers `draw` interaction
121
+ * @type import("ol/interaction").Draw | import("@eox/map").EOxMap["selectInteractions"][string]
122
+ */
123
+ draw: import("ol/interaction").Draw | import("@eox/map").EOxMap["selectInteractions"][string];
124
+ /**
125
+ * The current native OpenLayers draw `layer` (initialized with a `zIndex` of 100)
126
+ * @type import("ol/layer/Vector").default
127
+ */
128
+ drawLayer: import("ol/layer/Vector").default;
129
+ /**
130
+ * Enables selection mode for the passed layer
131
+ * @type {string}
132
+ */
133
+ set layerId(value: string);
134
+ get layerId(): string;
135
+ /**
136
+ * The array of drawn native OpenLayers features. Normally includes only one feature, until multiple feature drawing is enabled.
137
+ * @type Array<import("ol").Feature>
138
+ */
139
+ drawnFeatures: Array<import("ol").Feature>;
140
+ /**
141
+ * The display name of drawn features, shown e.g. in the feature list.
142
+ */
143
+ featureName: string;
144
+ /**
145
+ * The key of the property to display in the feature list.
146
+ */
147
+ featureNameKey: any;
148
+ /**
149
+ * Flat styles for the drawn/selected features
150
+ * @type {{
151
+ * layer?: import("ol/style/flat").FlatStyleLike
152
+ * hover?: import("ol/style/flat").FlatStyleLike
153
+ * click?: import("ol/style/flat").FlatStyleLike
154
+ * } | null}
155
+ */
156
+ featureStyles: {
157
+ layer?: import("ol/style/flat").FlatStyleLike;
158
+ hover?: import("ol/style/flat").FlatStyleLike;
159
+ click?: import("ol/style/flat").FlatStyleLike;
160
+ } | null;
161
+ /**
162
+ * The current native OpenLayers `modify` interaction
163
+ * @type import("ol/interaction").Modify
164
+ */
165
+ modify: import("ol/interaction").Modify;
166
+ /**
167
+ * Allow adding more than one feature at a time
168
+ */
169
+ multipleFeatures: boolean;
170
+ /**
171
+ * Allow import features using drag-drop and upload button
172
+ */
173
+ importFeatures: boolean;
174
+ /**
175
+ * Show geo-json editor for draw tool
176
+ */
177
+ showEditor: boolean;
178
+ /**
179
+ * Show list of features
180
+ */
181
+ showList: boolean;
182
+ /**
183
+ * Projection of the emitted drawn features
184
+ */
185
+ projection: string;
186
+ /**
187
+ * Type of the drawn feature
188
+ * @type {"Polygon" | "Point" | "LineString" | "Circle" | "Box"}
189
+ */
190
+ type: "Polygon" | "Point" | "LineString" | "Circle" | "Box";
191
+ /**
192
+ * @type {ReturnType<typeof import("./methods/draw/create-select-handler").default>}
193
+ */
194
+ selectionEvents: ReturnType<typeof import("./methods/draw/create-select-handler").default>;
195
+ /**
196
+ * The format in which the drawn features should be emitted
197
+ *
198
+ * @default "feature"
199
+ * @type {"feature"| "geojson" | "wkt"}
200
+ */
201
+ format: "feature" | "geojson" | "wkt";
202
+ /**
203
+ * Render the element without additional styles
204
+ */
205
+ unstyled: boolean;
206
+ /**
207
+ * Renders the element without a shadow root
208
+ *
209
+ * @type {Boolean}
210
+ */
211
+ noShadow: boolean;
212
+ /**
213
+ * Enables the user to draw continuously one feature after another
214
+ * without having to discard previous ones manually
215
+ * @type {boolean}
216
+ */
217
+ set continuous(value: boolean);
218
+ get continuous(): boolean;
219
+ /**
220
+ * @onClick Event handler triggered to start drawing on the map.
221
+ */
222
+ startDrawing(): void;
223
+ /**
224
+ * @onClick Event handler triggered to discard/stop drawing
225
+ * on the map and delete the drawn shapes.
226
+ */
227
+ discardDrawing(): void;
228
+ /**
229
+ * @param {string} text - The string representation of the features to be parsed.
230
+ * @param {boolean} replaceFeatures - A boolean flag indicating whether to replace the existing features.
231
+ * @param {boolean} animate - A boolean flag indicating whether to animate the map on feature change.
232
+ */
233
+ handleFeatureChange(text: string, replaceFeatures?: boolean, animate?: boolean): void;
234
+ /**
235
+ * @param {DragEvent | InputEvent & { target: HTMLInputElement }} evt - The event object from the file input interaction.
236
+ */
237
+ handleFilesChange(evt: DragEvent | (InputEvent & {
238
+ target: HTMLInputElement;
239
+ })): void;
240
+ /**
241
+ * @event onModifyEnd triggered when the modification of a shape is completed.
242
+ */
243
+ onModifyEnd(): void;
244
+ /**
245
+ * Update #geoJSON with stringify feature.
246
+ */
247
+ updateGeoJSON(): void;
248
+ /**
249
+ * Triggers different events when the drawing of a shape is completed.
250
+ */
251
+ emitDrawnFeatures(): void;
252
+ /**
253
+ * initializes the EOxMap and OlMap instances
254
+ * And stores them in the private properties #eoxMap and #olMap, respectively.
255
+ * It then calls requestUpdate to trigger a re-render.
256
+ */
257
+ firstUpdated(): void;
258
+ resetLayer: (EoxDrawTool: import("./main").EOxDrawTools) => void;
259
+ set eoxMap(value: import("@eox/map").EOxMap);
260
+ /**
261
+ * The eox-map instance associated with the draw tools
262
+ * @type {import("@eox/map").EOxMap}
263
+ */
264
+ get eoxMap(): import("@eox/map").EOxMap;
265
+ updated(changedProperties: any): void;
266
+ render(): import("lit-html").TemplateResult<1>;
267
+ #private;
268
+ }
269
+ import { LitElement } from "lit";
270
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../drawtools/src/main.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBC;IA6BC;;OAEG;IACH,qBAAwB;IAExB;;;;;OAKG;IACH,KAFU,SAAO,WAAW,CAER;IAEpB;;OAEG;IACH,0BAA6B;IAE7B;;;OAGG;IACH,MAFS,OAAO,gBAAgB,EAAE,IAAI,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAEhF;IAEhB;;;OAGG;IAEH,WAHS,OAAO,iBAAiB,EAAE,OAAO,CAGrB;IA6GvB;;;OAGG;IACH,2BAGC;IAED,sBAEC;IAjHC;;;OAGG;IACH,eAFS,KAAK,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,CAEb;IAEvB;;OAEG;IACH,oBAA4B;IAE5B;;OAEG;IACH,oBAA0B;IAE1B;;;;;;;OAOG;IACH,eANU;QACP,KAAK,CAAC,EAAE,OAAO,eAAe,EAAE,aAAa,CAAA;QAC7C,KAAK,CAAC,EAAE,OAAO,eAAe,EAAE,aAAa,CAAA;QAC7C,KAAK,CAAC,EAAE,OAAO,eAAe,EAAE,aAAa,CAAA;KAC5C,GAAG,IAAI,CAEc;IAEzB;;;OAGG;IACH,QAFS,OAAO,gBAAgB,EAAE,MAAM,CAEtB;IAElB;;OAEG;IACH,0BAA6B;IAE7B;;OAEG;IACH,wBAA2B;IAE3B;;OAEG;IACH,oBAAuB;IAEvB;;OAEG;IACH,kBAAqB;IACrB;;OAEG;IACH,mBAA6B;IAE7B;;;OAGG;IACH,MAFU,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,CAE1C;IAErB;;OAEG;IACH,iBAFU,UAAU,CAAC,cAAc,sCAAsC,EAAE,OAAO,CAAC,CAExD;IAE3B;;;;;OAKG;IACH,QAFU,SAAS,GAAE,SAAS,GAAG,KAAK,CAEf;IAEvB;;OAEG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAGvB;;;;OAIG;IACH,+BAGC;IAED,0BAEC;IAeD;;OAEG;IACH,qBAEC;IAED;;;OAGG;IACH,uBAEC;IAED;;;;OAIG;IACH,0BAJW,MAAM,oBACN,OAAO,YACP,OAAO,QAUjB;IAED;;OAEG;IACH,uBAFW,SAAS,IAAG,UAAU,GAAG;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,CAAA,QAI/D;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAMC;IAED;;OAEG;IACH,0BAaC;IASD;;;;OAIG;IACH,qBAcC;IATC,iEAAuB;IAmCzB,kBANU,OAAO,UAAU,EAAE,MAAM,EAUlC;IAZD;;;OAGG;IACH,cAFU,OAAO,UAAU,EAAE,MAAM,CAIlC;IAtBD,sCAcC;IA6BD,+CAqDC;;CACF;2BA3byC,KAAK"}
@@ -0,0 +1,2 @@
1
+ export { default as updateButtonStatesMethod } from "./update-button-states";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/controller/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ export default updateButtonStatesMethod;
2
+ /**
3
+ * Update button state of draw and discard buttons based on specific conditions.
4
+ *
5
+ * @param {import("../../components/controller").EOxDrawToolsController} EoxDrawToolController - The controller instance.
6
+ * @returns {{ drawDisabled: boolean | import("lit").nothing, discardDisabled: boolean | import("lit").nothing }} - The updated button states.
7
+ */
8
+ declare function updateButtonStatesMethod(EoxDrawToolController: import("../../components/controller").EOxDrawToolsController): {
9
+ drawDisabled: boolean | typeof import("lit-html").nothing;
10
+ discardDisabled: boolean | typeof import("lit-html").nothing;
11
+ };
12
+ //# sourceMappingURL=update-button-states.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-button-states.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/controller/update-button-states.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iEAHW,OAAO,6BAA6B,EAAE,sBAAsB,GAC1D;IAAE,YAAY,EAAE,OAAO,GAAG,iCAAqB,CAAC;IAAC,eAAe,EAAE,OAAO,GAAG,iCAAqB,CAAA;CAAE,CAgB/G"}
@@ -0,0 +1,6 @@
1
+ export default createSelectHandler;
2
+ declare function createSelectHandler(EoxDrawTool: any): {
3
+ addSelectionEvent: () => void;
4
+ removeSelectionEvent: () => void;
5
+ };
6
+ //# sourceMappingURL=create-select-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-select-handler.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/create-select-handler.js"],"names":[],"mappings":";AAMA;;;EAgDC"}
@@ -0,0 +1,9 @@
1
+ export default discardDrawingMethod;
2
+ /**
3
+ * Discards drawing on the map, resets drawing interactions and features,
4
+ * clears the source, and triggers updates.
5
+ *
6
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
7
+ */
8
+ declare function discardDrawingMethod(EoxDrawTool: import("../../main").EOxDrawTools): void;
9
+ //# sourceMappingURL=discard-drawing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discard-drawing.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/discard-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,mDAFW,OAAO,YAAY,EAAE,YAAY,QAyB3C"}
@@ -0,0 +1,20 @@
1
+ export default emitDrawnFeaturesMethod;
2
+ /**
3
+ * *
4
+ */
5
+ export type EmitFormat = import("ol").Feature[] | ReturnType<typeof featuresToGeoJson> | ReturnType<typeof featuresToWKT>;
6
+ /***
7
+ * @typedef {import("ol").Feature[]
8
+ * | ReturnType<typeof featuresToGeoJson>
9
+ * | ReturnType<typeof featuresToWKT>} EmitFormat
10
+ */
11
+ /**
12
+ * Emits drawn features after a timeout to allow updating drawn features.
13
+ *
14
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
15
+ * @param {(value:EmitFormat) => void} drawUpdateEvent - event to be triggered after drawFeature is updated
16
+ */
17
+ declare function emitDrawnFeaturesMethod(EoxDrawTool: import("../../main").EOxDrawTools, drawUpdateEvent: (value: EmitFormat) => void): void;
18
+ import { featuresToGeoJson } from "../../helpers";
19
+ import { featuresToWKT } from "../../helpers";
20
+ //# sourceMappingURL=emit-drawn-features.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emit-drawn-features.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/emit-drawn-features.js"],"names":[],"mappings":";;;;yBAGa,OAAO,IAAI,EAAE,OAAO,EAAE,GAC9B,UAAU,CAAC,OAAO,iBAAiB,CAAC,GACpC,UAAU,CAAC,OAAO,aAAa,CAAC;AAHrC;;;;GAIG;AAEH;;;;;GAKG;AACH,sDAHW,OAAO,YAAY,EAAE,YAAY,mBACjC,CAAC,KAAK,EAAC,UAAU,KAAK,IAAI,QA+CpC;kCA3DgD,eAAe;8BAAf,eAAe"}
@@ -0,0 +1,12 @@
1
+ export default handleLayerId;
2
+ /**
3
+ * handles switching between selection and drawing and updates of the selection layer
4
+ *
5
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool
6
+ * @param {import("@eox/map").EOxMap} EoxMap
7
+ * @param {string} oldLayerId
8
+ * @param {string} updatedLayerId
9
+ * @returns
10
+ */
11
+ declare function handleLayerId(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: import("@eox/map").EOxMap, updatedLayerId: string, oldLayerId: string): void;
12
+ //# sourceMappingURL=handle-layer-id.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-layer-id.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/handle-layer-id.js"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,4CANW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,kBAEzB,MAAM,cADN,MAAM,QAuBhB"}
@@ -0,0 +1,9 @@
1
+ export { default as onDrawEndMethod } from "./on-draw-end";
2
+ export { default as startDrawingMethod } from "./start-drawing";
3
+ export { default as initLayerMethod } from "./init-layer.js";
4
+ export { default as discardDrawingMethod } from "./discard-drawing";
5
+ export { default as emitDrawnFeaturesMethod } from "./emit-drawn-features";
6
+ export { default as createSelectHandler } from "./create-select-handler";
7
+ export { default as initSelection } from "./init-selection";
8
+ export { default as handleLayerId } from "./handle-layer-id";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export default initLayerMethod;
2
+ /**
3
+ * Initializes the draw layer, interacts with the map, and returns map instances.
4
+ *
5
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
6
+ * @param {Boolean} multipleFeatures - Allow adding more than one feature at a time
7
+ */
8
+ declare function initLayerMethod(EoxDrawTool: import("../../main").EOxDrawTools, multipleFeatures: boolean): {
9
+ EoxMap: import("@eox/map").EOxMap;
10
+ OlMap: import("ol").Map;
11
+ reset: (EoxDrawTool: import("../../main").EOxDrawTools) => void;
12
+ };
13
+ //# sourceMappingURL=init-layer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-layer.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/init-layer.js"],"names":[],"mappings":";AAIA;;;;;GAKG;AACH,8CAHW,OAAO,YAAY,EAAE,YAAY;;;yBAuG/B,OAAO,YAAY,EAAE,YAAY;EAqB7C"}
@@ -0,0 +1,10 @@
1
+ export default initSelection;
2
+ /**
3
+ * Initializes the selection interactions for the given layer ID to the DrawTool.
4
+ *
5
+ * @param {import('../../main').EOxDrawTools} EoxDrawTool - The drawing tool instance.
6
+ * @param {import("@eox/map").EOxMap} EoxMap - The map instance.
7
+ * @param {string} layerId - The ID of the layer to initialize selection for.
8
+ */
9
+ declare function initSelection(EoxDrawTool: import("../../main").EOxDrawTools, EoxMap: import("@eox/map").EOxMap, layerId: string): void;
10
+ //# sourceMappingURL=init-selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-selection.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/init-selection.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,4CAJW,OAAO,YAAY,EAAE,YAAY,UACjC,OAAO,UAAU,EAAE,MAAM,WACzB,MAAM,QA+DhB"}
@@ -0,0 +1,9 @@
1
+ export default onDrawEndMethod;
2
+ /**
3
+ * Handles actions after drawing ends -
4
+ * emits drawn features, deactivates drawing, and requests an update.
5
+ *
6
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
7
+ */
8
+ declare function onDrawEndMethod(EoxDrawTool: import("../../main").EOxDrawTools): void;
9
+ //# sourceMappingURL=on-draw-end.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"on-draw-end.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/on-draw-end.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,8CAFW,OAAO,YAAY,EAAE,YAAY,QAiC3C"}
@@ -0,0 +1,9 @@
1
+ export default startDrawingMethod;
2
+ /**
3
+ * Initiates the drawing process by initializing the draw layer,
4
+ * activating drawing, and updating the drawing status.
5
+ *
6
+ * @param {import("../../main").EOxDrawTools} EoxDrawTool - The drawing tool instance.
7
+ */
8
+ declare function startDrawingMethod(EoxDrawTool: import("../../main").EOxDrawTools): void;
9
+ //# sourceMappingURL=start-drawing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start-drawing.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/draw/start-drawing.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,iDAFW,OAAO,YAAY,EAAE,YAAY,QA8B3C"}
@@ -0,0 +1,11 @@
1
+ export default deleteFeatureMethod;
2
+ /**
3
+ * Deletes a feature when clicked on the delete button.
4
+ *
5
+ * @param {Event & { target: HTMLButtonElement }} evt - Event object containing button target.
6
+ * @param {import("../../components/list").EOxDrawToolsList} EoxDrawToolList - The list of drawn features.
7
+ */
8
+ declare function deleteFeatureMethod(evt: Event & {
9
+ target: HTMLButtonElement;
10
+ }, EoxDrawToolList: import("../../components/list").EOxDrawToolsList, EoxDrawTool: any): void;
11
+ //# sourceMappingURL=delete-feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-feature.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/list/delete-feature.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AACH,0CAHW,KAAK,GAAG;IAAE,MAAM,EAAE,iBAAiB,CAAA;CAAE,mBACrC,OAAO,uBAAuB,EAAE,gBAAgB,0BAkB1D"}
@@ -0,0 +1,8 @@
1
+ export default firstUpdatedMethod;
2
+ /**
3
+ * Handles initial settings and event triggers upon the component's first update.
4
+ *
5
+ * @param {import("../../components/list").EOxDrawToolsList} EoxDrawToolList - The list of drawn features.
6
+ */
7
+ declare function firstUpdatedMethod(EoxDrawToolList: import("../../components/list").EOxDrawToolsList): void;
8
+ //# sourceMappingURL=first-update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"first-update.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/list/first-update.js"],"names":[],"mappings":";AAAA;;;;GAIG;AACH,qDAFW,OAAO,uBAAuB,EAAE,gBAAgB,QAyB1D"}
@@ -0,0 +1,10 @@
1
+ export default hoverFeatureMethod;
2
+ /**
3
+ * Handles the hover effect on a feature within the list.
4
+ *
5
+ * @param {import("../../components/list").EOxDrawToolsList} EoxDrawToolList - The list of drawn features.
6
+ * @param {number | string | undefined} featureId - The ID of the feature to hover.
7
+ * @param {Boolean} mouseOut - Flag indicating mouse out event.
8
+ */
9
+ declare function hoverFeatureMethod(EoxDrawToolList: import("../../components/list").EOxDrawToolsList, featureId: number | string | undefined, mouseOut: boolean): void;
10
+ //# sourceMappingURL=hover-feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hover-feature.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/list/hover-feature.js"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,qDAJW,OAAO,uBAAuB,EAAE,gBAAgB,aAChD,MAAM,GAAG,MAAM,GAAG,SAAS,2BAUrC"}
@@ -0,0 +1,5 @@
1
+ export { default as firstUpdatedMethod } from "./first-update";
2
+ export { default as hoverFeatureMethod } from "./hover-feature";
3
+ export { default as deleteFeatureMethod } from "./delete-feature";
4
+ export { default as selectAndDeselectFeatureMethod } from "./select-deselect-feature";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../drawtools/src/methods/list/index.js"],"names":[],"mappings":""}