@eox/feedback 1.2.0 → 1.2.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 (202) hide show
  1. package/dist/eox-feedback.js +4193 -5309
  2. package/dist/eox-feedback.umd.cjs +66 -61
  3. package/package.json +3 -3
  4. package/src/main.js +4 -0
  5. package/types/{feedback/src/enums → enums}/index.d.ts.map +1 -1
  6. package/types/{feedback/src/enums → enums}/test.d.ts.map +1 -1
  7. package/types/{feedback/src/feedback-button.d.ts → feedback-button.d.ts} +3 -3
  8. package/types/feedback-button.d.ts.map +1 -0
  9. package/types/{feedback/src/main.d.ts → main.d.ts} +2 -2
  10. package/types/main.d.ts.map +1 -0
  11. package/types/{feedback/src/style.d.ts.map → style.d.ts.map} +1 -1
  12. package/types/{feedback/src/style.eox.d.ts.map → style.eox.d.ts.map} +1 -1
  13. package/types/drawtools/src/components/controller.d.ts +0 -108
  14. package/types/drawtools/src/components/controller.d.ts.map +0 -1
  15. package/types/drawtools/src/components/list.d.ts +0 -144
  16. package/types/drawtools/src/components/list.d.ts.map +0 -1
  17. package/types/drawtools/src/enums/draw.d.ts +0 -9
  18. package/types/drawtools/src/enums/draw.d.ts.map +0 -1
  19. package/types/drawtools/src/enums/index.d.ts +0 -4
  20. package/types/drawtools/src/enums/index.d.ts.map +0 -1
  21. package/types/drawtools/src/enums/stories.d.ts +0 -26
  22. package/types/drawtools/src/enums/stories.d.ts.map +0 -1
  23. package/types/drawtools/src/enums/test.d.ts +0 -11
  24. package/types/drawtools/src/enums/test.d.ts.map +0 -1
  25. package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts +0 -7
  26. package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts.map +0 -1
  27. package/types/drawtools/src/helpers/features-to-geojson.d.ts +0 -12
  28. package/types/drawtools/src/helpers/features-to-geojson.d.ts.map +0 -1
  29. package/types/drawtools/src/helpers/features-to-wkt.d.ts +0 -9
  30. package/types/drawtools/src/helpers/features-to-wkt.d.ts.map +0 -1
  31. package/types/drawtools/src/helpers/generate-upload-events.d.ts +0 -19
  32. package/types/drawtools/src/helpers/generate-upload-events.d.ts.map +0 -1
  33. package/types/drawtools/src/helpers/index.d.ts +0 -4
  34. package/types/drawtools/src/helpers/index.d.ts.map +0 -1
  35. package/types/drawtools/src/main.d.ts +0 -296
  36. package/types/drawtools/src/main.d.ts.map +0 -1
  37. package/types/drawtools/src/methods/controller/index.d.ts +0 -2
  38. package/types/drawtools/src/methods/controller/index.d.ts.map +0 -1
  39. package/types/drawtools/src/methods/controller/update-button-states.d.ts +0 -12
  40. package/types/drawtools/src/methods/controller/update-button-states.d.ts.map +0 -1
  41. package/types/drawtools/src/methods/draw/create-select-handler.d.ts +0 -6
  42. package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +0 -1
  43. package/types/drawtools/src/methods/draw/discard-drawing.d.ts +0 -9
  44. package/types/drawtools/src/methods/draw/discard-drawing.d.ts.map +0 -1
  45. package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts +0 -20
  46. package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts.map +0 -1
  47. package/types/drawtools/src/methods/draw/handle-layer-id.d.ts +0 -12
  48. package/types/drawtools/src/methods/draw/handle-layer-id.d.ts.map +0 -1
  49. package/types/drawtools/src/methods/draw/index.d.ts +0 -10
  50. package/types/drawtools/src/methods/draw/index.d.ts.map +0 -1
  51. package/types/drawtools/src/methods/draw/init-layer.d.ts +0 -13
  52. package/types/drawtools/src/methods/draw/init-layer.d.ts.map +0 -1
  53. package/types/drawtools/src/methods/draw/init-measuring.d.ts +0 -10
  54. package/types/drawtools/src/methods/draw/init-measuring.d.ts.map +0 -1
  55. package/types/drawtools/src/methods/draw/init-selection.d.ts +0 -10
  56. package/types/drawtools/src/methods/draw/init-selection.d.ts.map +0 -1
  57. package/types/drawtools/src/methods/draw/on-draw-end.d.ts +0 -9
  58. package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +0 -1
  59. package/types/drawtools/src/methods/draw/start-drawing.d.ts +0 -9
  60. package/types/drawtools/src/methods/draw/start-drawing.d.ts.map +0 -1
  61. package/types/drawtools/src/methods/list/delete-feature.d.ts +0 -11
  62. package/types/drawtools/src/methods/list/delete-feature.d.ts.map +0 -1
  63. package/types/drawtools/src/methods/list/first-update.d.ts +0 -8
  64. package/types/drawtools/src/methods/list/first-update.d.ts.map +0 -1
  65. package/types/drawtools/src/methods/list/hover-feature.d.ts +0 -10
  66. package/types/drawtools/src/methods/list/hover-feature.d.ts.map +0 -1
  67. package/types/drawtools/src/methods/list/index.d.ts +0 -5
  68. package/types/drawtools/src/methods/list/index.d.ts.map +0 -1
  69. package/types/drawtools/src/methods/list/select-deselect-feature.d.ts +0 -9
  70. package/types/drawtools/src/methods/list/select-deselect-feature.d.ts.map +0 -1
  71. package/types/drawtools/src/style.eox.d.ts.map +0 -1
  72. package/types/feedback/src/feedback-button.d.ts.map +0 -1
  73. package/types/feedback/src/main.d.ts.map +0 -1
  74. package/types/feedback/src/style.eox.d.ts +0 -2
  75. package/types/jsonform/src/custom-inputs/ace-custom/createMarkdownToolbar.d.ts +0 -2
  76. package/types/jsonform/src/custom-inputs/ace-custom/createMarkdownToolbar.d.ts.map +0 -1
  77. package/types/jsonform/src/custom-inputs/ace-custom/index.d.ts +0 -2
  78. package/types/jsonform/src/custom-inputs/ace-custom/index.d.ts.map +0 -1
  79. package/types/jsonform/src/custom-inputs/ace-custom.d.ts +0 -8
  80. package/types/jsonform/src/custom-inputs/ace-custom.d.ts.map +0 -1
  81. package/types/jsonform/src/custom-inputs/binarycheckbox.d.ts +0 -15
  82. package/types/jsonform/src/custom-inputs/binarycheckbox.d.ts.map +0 -1
  83. package/types/jsonform/src/custom-inputs/buttons.d.ts +0 -20
  84. package/types/jsonform/src/custom-inputs/buttons.d.ts.map +0 -1
  85. package/types/jsonform/src/custom-inputs/index.d.ts +0 -5
  86. package/types/jsonform/src/custom-inputs/index.d.ts.map +0 -1
  87. package/types/jsonform/src/custom-inputs/minmax.d.ts +0 -16
  88. package/types/jsonform/src/custom-inputs/minmax.d.ts.map +0 -1
  89. package/types/jsonform/src/custom-inputs/spatial/editor.d.ts +0 -19
  90. package/types/jsonform/src/custom-inputs/spatial/editor.d.ts.map +0 -1
  91. package/types/jsonform/src/custom-inputs/spatial/index.d.ts +0 -3
  92. package/types/jsonform/src/custom-inputs/spatial/index.d.ts.map +0 -1
  93. package/types/jsonform/src/custom-inputs/spatial/utils.d.ts +0 -22
  94. package/types/jsonform/src/custom-inputs/spatial/utils.d.ts.map +0 -1
  95. package/types/jsonform/src/custom-inputs/spatial/validator.d.ts +0 -16
  96. package/types/jsonform/src/custom-inputs/spatial/validator.d.ts.map +0 -1
  97. package/types/jsonform/src/enums/editor.d.ts +0 -11
  98. package/types/jsonform/src/enums/editor.d.ts.map +0 -1
  99. package/types/jsonform/src/enums/index.d.ts +0 -4
  100. package/types/jsonform/src/enums/index.d.ts.map +0 -1
  101. package/types/jsonform/src/enums/stories.d.ts +0 -38
  102. package/types/jsonform/src/enums/stories.d.ts.map +0 -1
  103. package/types/jsonform/src/enums/test.d.ts +0 -4
  104. package/types/jsonform/src/enums/test.d.ts.map +0 -1
  105. package/types/jsonform/src/helpers/editor.d.ts +0 -18
  106. package/types/jsonform/src/helpers/editor.d.ts.map +0 -1
  107. package/types/jsonform/src/helpers/index.d.ts +0 -2
  108. package/types/jsonform/src/helpers/index.d.ts.map +0 -1
  109. package/types/jsonform/src/main.d.ts +0 -157
  110. package/types/jsonform/src/main.d.ts.map +0 -1
  111. package/types/jsonform/src/style.d.ts +0 -2
  112. package/types/jsonform/src/style.d.ts.map +0 -1
  113. package/types/jsonform/src/style.eox.d.ts +0 -2
  114. package/types/jsonform/src/style.eox.d.ts.map +0 -1
  115. package/types/map/src/components/compare.d.ts +0 -31
  116. package/types/map/src/components/compare.d.ts.map +0 -1
  117. package/types/map/src/components/tooltip.d.ts +0 -41
  118. package/types/map/src/components/tooltip.d.ts.map +0 -1
  119. package/types/map/src/controls/GlobeSwitcher.d.ts +0 -19
  120. package/types/map/src/controls/GlobeSwitcher.d.ts.map +0 -1
  121. package/types/map/src/controls/controls.d.ts +0 -20
  122. package/types/map/src/controls/controls.d.ts.map +0 -1
  123. package/types/map/src/controls/geo-location.d.ts +0 -51
  124. package/types/map/src/controls/geo-location.d.ts.map +0 -1
  125. package/types/map/src/controls/loading-indicator.d.ts +0 -20
  126. package/types/map/src/controls/loading-indicator.d.ts.map +0 -1
  127. package/types/map/src/custom/layers/MapboxStyle.d.ts +0 -13
  128. package/types/map/src/custom/layers/MapboxStyle.d.ts.map +0 -1
  129. package/types/map/src/custom/sources/Cluster.d.ts +0 -24
  130. package/types/map/src/custom/sources/Cluster.d.ts.map +0 -1
  131. package/types/map/src/custom/sources/FlatGeoBuf.d.ts +0 -30
  132. package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +0 -1
  133. package/types/map/src/custom/sources/WMTSCapabilities.d.ts +0 -35
  134. package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +0 -1
  135. package/types/map/src/enums/index.d.ts +0 -2
  136. package/types/map/src/enums/index.d.ts.map +0 -1
  137. package/types/map/src/enums/map.d.ts +0 -5
  138. package/types/map/src/enums/map.d.ts.map +0 -1
  139. package/types/map/src/helpers/add-new-feature.d.ts +0 -15
  140. package/types/map/src/helpers/add-new-feature.d.ts.map +0 -1
  141. package/types/map/src/helpers/cancel-animation.d.ts +0 -7
  142. package/types/map/src/helpers/cancel-animation.d.ts.map +0 -1
  143. package/types/map/src/helpers/center.d.ts +0 -12
  144. package/types/map/src/helpers/center.d.ts.map +0 -1
  145. package/types/map/src/helpers/cluster-explode.d.ts +0 -42
  146. package/types/map/src/helpers/cluster-explode.d.ts.map +0 -1
  147. package/types/map/src/helpers/coordinates-roughly-equals.d.ts +0 -12
  148. package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +0 -1
  149. package/types/map/src/helpers/draw.d.ts +0 -22
  150. package/types/map/src/helpers/draw.d.ts.map +0 -1
  151. package/types/map/src/helpers/generate.d.ts +0 -32
  152. package/types/map/src/helpers/generate.d.ts.map +0 -1
  153. package/types/map/src/helpers/index.d.ts +0 -17
  154. package/types/map/src/helpers/index.d.ts.map +0 -1
  155. package/types/map/src/helpers/interactions.d.ts +0 -16
  156. package/types/map/src/helpers/interactions.d.ts.map +0 -1
  157. package/types/map/src/helpers/layer.d.ts +0 -26
  158. package/types/map/src/helpers/layer.d.ts.map +0 -1
  159. package/types/map/src/helpers/parse-feature.d.ts +0 -8
  160. package/types/map/src/helpers/parse-feature.d.ts.map +0 -1
  161. package/types/map/src/helpers/parse-text.d.ts +0 -45
  162. package/types/map/src/helpers/parse-text.d.ts.map +0 -1
  163. package/types/map/src/helpers/register-projection-from-code.d.ts +0 -8
  164. package/types/map/src/helpers/register-projection-from-code.d.ts.map +0 -1
  165. package/types/map/src/helpers/register-projection.d.ts +0 -11
  166. package/types/map/src/helpers/register-projection.d.ts.map +0 -1
  167. package/types/map/src/helpers/select.d.ts +0 -99
  168. package/types/map/src/helpers/select.d.ts.map +0 -1
  169. package/types/map/src/helpers/tile-grid.d.ts +0 -10
  170. package/types/map/src/helpers/tile-grid.d.ts.map +0 -1
  171. package/types/map/src/helpers/transform.d.ts +0 -19
  172. package/types/map/src/helpers/transform.d.ts.map +0 -1
  173. package/types/map/src/layers.d.ts +0 -126
  174. package/types/map/src/layers.d.ts.map +0 -1
  175. package/types/map/src/main.d.ts +0 -481
  176. package/types/map/src/main.d.ts.map +0 -1
  177. package/types/map/src/methods/map/add-update-layer.d.ts +0 -13
  178. package/types/map/src/methods/map/add-update-layer.d.ts.map +0 -1
  179. package/types/map/src/methods/map/animate-to-state.d.ts +0 -7
  180. package/types/map/src/methods/map/animate-to-state.d.ts.map +0 -1
  181. package/types/map/src/methods/map/first-updated.d.ts +0 -9
  182. package/types/map/src/methods/map/first-updated.d.ts.map +0 -1
  183. package/types/map/src/methods/map/getters.d.ts +0 -22
  184. package/types/map/src/methods/map/getters.d.ts.map +0 -1
  185. package/types/map/src/methods/map/index.d.ts +0 -7
  186. package/types/map/src/methods/map/index.d.ts.map +0 -1
  187. package/types/map/src/methods/map/remove.d.ts +0 -22
  188. package/types/map/src/methods/map/remove.d.ts.map +0 -1
  189. package/types/map/src/methods/map/setters.d.ts +0 -83
  190. package/types/map/src/methods/map/setters.d.ts.map +0 -1
  191. package/types/map/src/plugins/globe/index.d.ts +0 -6
  192. package/types/map/src/plugins/globe/index.d.ts.map +0 -1
  193. package/types/map/src/plugins/globe/methods.d.ts +0 -8
  194. package/types/map/src/plugins/globe/methods.d.ts.map +0 -1
  195. package/types/map/src/plugins/globe/openglobus.d.ts +0 -25
  196. package/types/map/src/plugins/globe/openglobus.d.ts.map +0 -1
  197. package/types/map/src/types.d.ts +0 -193
  198. package/types/map/src/types.d.ts.map +0 -1
  199. /package/types/{feedback/src/enums → enums}/index.d.ts +0 -0
  200. /package/types/{feedback/src/enums → enums}/test.d.ts +0 -0
  201. /package/types/{feedback/src/style.d.ts → style.d.ts} +0 -0
  202. /package/types/{drawtools/src/style.eox.d.ts → style.eox.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- export class ButtonsEditor {
2
- register(): void;
3
- unregister(): void;
4
- build(): void;
5
- header: any;
6
- label: any;
7
- description: any;
8
- infoButton: any;
9
- input: HTMLInputElement;
10
- buttonContainer: HTMLElement;
11
- buttons: any[];
12
- control: any;
13
- setValue(value: any): void;
14
- value: any;
15
- enable(): void;
16
- disable(always_disabled: any): void;
17
- always_disabled: boolean;
18
- destroy(): void;
19
- }
20
- //# sourceMappingURL=buttons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/custom-inputs/buttons.js"],"names":[],"mappings":"AAEA;IACE,iBAEC;IAED,mBAEC;IAED,cA6EC;IAvEG,YAGC;IAHa,WAGb;IAID,iBAEC;IAID,gBAEC;IAGH,wBAA4C;IAI5C,6BAAoD;IAGpD,eAAiB;IAiCjB,aAKC;IAUH,2BAqBC;IAhBC,WAAkB;IAkBpB,eAKC;IAED,oCAIC;IAHsB,yBAA2B;IAKlD,gBAMC;CACF"}
@@ -1,5 +0,0 @@
1
- export function addCustomInputs(startVals: {
2
- [key: string]: any;
3
- }, customEditorInterfaces: any[]): void;
4
- export default addCustomInputs;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/custom-inputs/index.js"],"names":[],"mappings":"AA8KO,2CAHI;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,uCAuB9B"}
@@ -1,16 +0,0 @@
1
- export class MinMaxEditor {
2
- register(): void;
3
- unregister(): void;
4
- build(): void;
5
- header: any;
6
- label: any;
7
- description: any;
8
- infoButton: any;
9
- input: HTMLInputElement;
10
- control: any;
11
- value: {
12
- [x: string]: any;
13
- };
14
- destroy(): void;
15
- }
16
- //# sourceMappingURL=minmax.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"minmax.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/custom-inputs/minmax.js"],"names":[],"mappings":"AAiBA;IACE,iBAEC;IAED,mBAEC;IAGD,cA+EC;IAtEG,YAGC;IAHa,WAGb;IAED,iBAEC;IAED,gBAEC;IAyBH,wBAAkB;IAElB,aAKC;IAiBK;;MAGC;IAUT,gBAQC;CACF"}
@@ -1,19 +0,0 @@
1
- export class SpatialEditor {
2
- register(): void;
3
- unregister(): void;
4
- build(): void;
5
- header: any;
6
- label: any;
7
- description: any;
8
- infoButton: any;
9
- input: import("@eox/drawtools").EOxDrawTools & {
10
- disabled: boolean;
11
- };
12
- control: any;
13
- value: any;
14
- refreshValue(): void;
15
- showValidationErrors(errors: any): void;
16
- previous_error_setting: any;
17
- destroy(): void;
18
- }
19
- //# sourceMappingURL=editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../../jsonform/src/custom-inputs/spatial/editor.js"],"names":[],"mappings":"AAgBA;IACE,iBAEC;IAED,mBAEC;IAGD,cA8PC;IAhPG,YAGC;IAHa,WAGb;IAED,iBAEC;IAED,gBAEC;IAwGH;;MAAwB;IAExB,aAKC;IAsCS,WAAiB;IAkF7B,qBAOC;IAED,wCAsBC;IAfC,4BAAiE;IAkBnE,gBAWC;CACF"}
@@ -1,3 +0,0 @@
1
- export { SpatialEditor } from "./editor";
2
- export { default as spatialValidatorCreator } from "./validator";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../jsonform/src/custom-inputs/spatial/index.js"],"names":[],"mappings":""}
@@ -1,22 +0,0 @@
1
- /**
2
- * Set multiple attributes to an element
3
- *
4
- * @param {Element} element - The DOM element to set attributes on
5
- * @param {{[key: string]: any}} attributes - The attributes to set on the element
6
- */
7
- export function setAttributesAndProperties(element: Element, attributes: {
8
- [key: string]: any;
9
- }): void;
10
- export function isSelection(schema: any): boolean;
11
- export function isPolygon(schema: any): boolean;
12
- export function isPoint(schema: any): boolean;
13
- export function isBox(schema: any): boolean;
14
- export function isLine(schema: any): boolean;
15
- export function isWKT(schema: any): boolean;
16
- export function isGeoJSON(schema: any): boolean;
17
- export function isMulti(schema: any): boolean;
18
- export function isSupported(schema: any): boolean;
19
- export function satisfiesType(val: any, type: string): boolean;
20
- export function bboxesToFeatures(bboxes: any): any;
21
- export function valueToFeatureCollection(value: any, schema: any): any;
22
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../jsonform/src/custom-inputs/spatial/utils.js"],"names":[],"mappings":"AA0DA;;;;;GAKG;AACH,oDAHW,OAAO,cACP;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,QAU9B;AAnEM,kDACoD;AAKpD,gDAC2C;AAK3C,8CAAwE;AAKxE,4CACsD;AAKtD,6CAAqE;AAKrE,4CAAgD;AAKhD,gDAAwD;AAKxD,8CAGJ;AAKI,kDAKS;AA0BT,mCAJI,GAAC,QACD,MAAM,GACJ,OAAO,CAwBnB;AAKM,mDAGN;AAKM,uEA2CN"}
@@ -1,16 +0,0 @@
1
- export default spatialValidatorCreator;
2
- /**
3
- * @param {{
4
- * type?: string
5
- * format: string
6
- * func: Record<string,any> & { new (): any }
7
- * }[]} inputs
8
- **/
9
- declare function spatialValidatorCreator(inputs: {
10
- type?: string;
11
- format: string;
12
- func: Record<string, any> & {
13
- new (): any;
14
- };
15
- }[]): (schema: any, value: any, path: any) => any[];
16
- //# sourceMappingURL=validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../../../../../jsonform/src/custom-inputs/spatial/validator.js"],"names":[],"mappings":";AAaA;;;;;;IAMI;AACJ,iDANY;IACP,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,GAAG;QAAE,QAAQ,GAAG,CAAA;KAAE,CAAA;CAC3C,EAAE,IAUa,QAJN,GAIY,EAAE,OAHd,GAGmB,EAAE,MAFrB,GAEyB,WAqGrC"}
@@ -1,11 +0,0 @@
1
- export namespace FALLBACK_SCHEMA {
2
- let type: string;
3
- namespace properties {
4
- namespace fallback {
5
- let format: string;
6
- let title: string;
7
- let description: string;
8
- }
9
- }
10
- }
11
- //# sourceMappingURL=editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/enums/editor.js"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export { TEST_SELECTORS } from "./test";
2
- export { FALLBACK_SCHEMA } from "./editor";
3
- export { STORIES_BlUE_VECTOR_LAYERS, STORIES_GREY_VECTOR_LAYERS, STORIES_MAP_STYLE } from "./stories";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/enums/index.js"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- export const STORIES_MAP_STYLE: "width: 100%; height: 300px; margin: 7px;";
2
- export const STORIES_GREY_VECTOR_LAYERS: {
3
- type: string;
4
- background: string;
5
- properties: {
6
- id: string;
7
- };
8
- source: {
9
- type: string;
10
- url: string;
11
- format: string;
12
- attributions: string;
13
- };
14
- style: {
15
- "stroke-color": string;
16
- "stroke-width": number;
17
- "fill-color": string;
18
- };
19
- }[];
20
- export const STORIES_BlUE_VECTOR_LAYERS: {
21
- type: string;
22
- background: string;
23
- properties: {
24
- id: string;
25
- };
26
- source: {
27
- type: string;
28
- url: string;
29
- format: string;
30
- attributions: string;
31
- };
32
- style: {
33
- "stroke-color": string;
34
- "stroke-width": number;
35
- "fill-color": string;
36
- };
37
- }[];
38
- //# sourceMappingURL=stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/enums/stories.js"],"names":[],"mappings":"AAAA,gCAAiC,0CAA0C,CAAC;AAE5E;;;;;;;;;;;;;;;;;IAmBE;AAEF;;;;;;;;;;;;;;;;;IAmBE"}
@@ -1,4 +0,0 @@
1
- export namespace TEST_SELECTORS {
2
- let jsonForm: string;
3
- }
4
- //# sourceMappingURL=test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/enums/test.js"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- /**
2
- * Fetch properties from a URL and return them
3
- *
4
- * @typedef {JSON & {properties: object}} JsonSchema
5
- * @param {JsonSchema | String} property - The property to fetch or parse
6
- * @returns {Promise<JsonSchema | String>} - The parsed property or fetched schema
7
- */
8
- export function parseProperty(property: JsonSchema | string): Promise<JsonSchema | string>;
9
- export function createEditor(element: import("../main").EOxJSONForm): JSONEditor;
10
- export function transformLinks(element: import("../main").EOxJSONForm): void;
11
- export function initShowOptInElement(element: import("../main").EOxJSONForm): void;
12
- /**
13
- * Fetch properties from a URL and return them
14
- */
15
- export type JsonSchema = JSON & {
16
- properties: object;
17
- };
18
- //# sourceMappingURL=editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/helpers/editor.js"],"names":[],"mappings":"AA8cA;;;;;;GAMG;AACH,wCAHW,UAAU,SAAS,GACjB,OAAO,CAAC,UAAU,SAAS,CAAC,CAiBxC;AAhcM,sCAHI,OAAO,SAAS,EAAE,WAAW,GAC3B,UAAU,CA0atB;AAqEM,wCAFE,OAAO,SAAS,EAAE,WAAW,QAYrC;AAsBM,8CAFI,OAAO,SAAS,EAAE,WAAW,QAiGvC;;;;yBA/LY,IAAI,GAAG;IAAC,UAAU,EAAE,MAAM,CAAA;CAAC"}
@@ -1,2 +0,0 @@
1
- export { createEditor, parseProperty, transformLinks, initShowOptInElement } from "./editor";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/helpers/index.js"],"names":[],"mappings":""}
@@ -1,157 +0,0 @@
1
- /**
2
- * `eox-jsonform` is a flexible and extensible web component for rendering dynamic forms based on JSON schema definitions.
3
- * It is based on [JSON Editor](https://github.com/json-editor/json-editor) and extends its functionality to support various advanced features.
4
- * Also check out the [JSON Editor documentation](https://github.com/json-editor/json-editor?tab=readme-ov-file#options) for more details on the available options and configurations.
5
- *
6
- * Features:
7
- * - Renders forms from JSON schema, supporting complex nested structures and custom validation.
8
- * - All properties and event handlers are passed via args, enabling dynamic configuration and integration.
9
- * - Supports custom editor interfaces for advanced input types and external editor integration (e.g., Ace, Markdown, spatial drawtools).
10
- * - Handles spatial inputs (bounding box, polygons, points, lines) and outputs in various formats (GeoJSON, WKT).
11
- * - Allows toggling and opt-in/optional properties, with dynamic visibility and value updates.
12
- * - Can load schema and values from external URLs, supporting async loading and ready events.
13
- * - Integrates with `eox-map` for spatial feature selection when required.
14
- * - Supports unstyled rendering for custom design integration.
15
- *
16
- * See the stories for usage examples covering validation, custom editors, spatial inputs, opt-in/optional properties, external loading, and more.
17
- *
18
- * @typedef {JSON & {properties: object}} JsonSchema
19
- * @element eox-jsonform
20
- */
21
- export class EOxJSONForm extends LitElement {
22
- static properties: {
23
- schema: {
24
- attribute: boolean;
25
- type: ObjectConstructor;
26
- };
27
- value: {
28
- attribute: boolean;
29
- type: ObjectConstructor;
30
- };
31
- defaults: {
32
- attribute: boolean;
33
- type: ObjectConstructor;
34
- };
35
- options: {
36
- attribute: boolean;
37
- type: ObjectConstructor;
38
- };
39
- customEditorInterfaces: {
40
- attribute: boolean;
41
- type: ArrayConstructor;
42
- };
43
- noShadow: {
44
- attribute: string;
45
- type: BooleanConstructor;
46
- };
47
- propertiesToggle: {
48
- attribute: string;
49
- type: BooleanConstructor;
50
- };
51
- unstyled: {
52
- type: BooleanConstructor;
53
- };
54
- };
55
- /**
56
- * Setter for the JSON schema used to render the form
57
- *
58
- * @param {JsonSchema} newSchema
59
- */
60
- set schema(newSchema: JsonSchema);
61
- /**
62
- * Getter for the JSON schema used to render the form
63
- *
64
- * @return {JsonSchema | String}
65
- */
66
- get schema(): JsonSchema | string;
67
- /**
68
- * Setter for the JSON value of the form
69
- *
70
- * @param {JsonSchema} newVal
71
- */
72
- set value(newVal: JsonSchema);
73
- /**
74
- * Getter for the JSON value of the form
75
- */
76
- get value(): JsonSchema;
77
- /**
78
- * Default values for the JSONEditor instance
79
- *
80
- * @type {object}
81
- */
82
- defaults: object;
83
- /**
84
- * Options for the form editor
85
- *
86
- * @type {object}
87
- */
88
- options: object;
89
- /**
90
- * Renders the element without a shadow root
91
- *
92
- * @type {Boolean}
93
- */
94
- noShadow: boolean;
95
- /**
96
- * Shows a toggle for showing/hiding object properties editing buttons
97
- * To be used in combination with `options.disable_properties = false`
98
- *
99
- * @type {Boolean}
100
- */
101
- propertiesToggle: boolean;
102
- /**
103
- * Render the element without additional styles
104
- *
105
- * @type {Boolean}
106
- */
107
- unstyled: boolean;
108
- /**
109
- * List of custom editor interface
110
- * Read more about the implementation of custom editor interfaces here:
111
- * https://github.com/json-editor/json-editor/blob/master/docs/custom-editor.html
112
- *
113
- * @type {Array}
114
- */
115
- customEditorInterfaces: any[];
116
- /**
117
- * Getter for the JSONEditor instance
118
- */
119
- get editor(): {
120
- [key: string]: any;
121
- };
122
- _schema: string | import("./helpers/editor").JsonSchema | JsonSchema;
123
- _value: any;
124
- /**
125
- * Lifecycle method called when the element is updated
126
- *
127
- * @param {import("lit").PropertyValues} changedProperties
128
- */
129
- updated(changedProperties: import("lit").PropertyValues): Promise<void>;
130
- /**
131
- * Renders the component's HTML and CSS
132
- */
133
- render(): import("lit-html").TemplateResult<1>;
134
- #private;
135
- }
136
- /**
137
- * `eox-jsonform` is a flexible and extensible web component for rendering dynamic forms based on JSON schema definitions.
138
- * It is based on [JSON Editor](https://github.com/json-editor/json-editor) and extends its functionality to support various advanced features.
139
- * Also check out the [JSON Editor documentation](https://github.com/json-editor/json-editor?tab=readme-ov-file#options) for more details on the available options and configurations.
140
- *
141
- * Features:
142
- * - Renders forms from JSON schema, supporting complex nested structures and custom validation.
143
- * - All properties and event handlers are passed via args, enabling dynamic configuration and integration.
144
- * - Supports custom editor interfaces for advanced input types and external editor integration (e.g., Ace, Markdown, spatial drawtools).
145
- * - Handles spatial inputs (bounding box, polygons, points, lines) and outputs in various formats (GeoJSON, WKT).
146
- * - Allows toggling and opt-in/optional properties, with dynamic visibility and value updates.
147
- * - Can load schema and values from external URLs, supporting async loading and ready events.
148
- * - Integrates with `eox-map` for spatial feature selection when required.
149
- * - Supports unstyled rendering for custom design integration.
150
- *
151
- * See the stories for usage examples covering validation, custom editors, spatial inputs, opt-in/optional properties, external loading, and more.
152
- */
153
- export type JsonSchema = JSON & {
154
- properties: object;
155
- };
156
- import { LitElement } from "lit";
157
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../jsonform/src/main.js"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASE;IAuFF;;;;OAIG;IACH,sBAFW,UAAU,EAOpB;IAnBD;;;;OAIG;IACH,cAFY,UAAU,SAAS,CAI9B;IAqBD;;;;OAIG;IACH,kBAFW,UAAU,EAOpB;IAjBD;;OAEG;IACH,aAOW,UAAU,CALpB;IA/EC;;;;OAIG;IACH,UAFU,MAAM,CAEE;IAElB;;;;OAIG;IACH,SAFU,MAAM,CAEC;IAEjB;;;;OAIG;IACH,kBAAqB;IAErB;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,kBAAqB;IAErB;;;;;;OAMG;IACH,8BAAgC;IAGlC;;OAEG;IACH;;MAEC;IAoBC,qEAAwB;IAmBxB,YAAoB;IAgEtB;;;;OAIG;IACH,2BAFW,OAAO,KAAK,EAAE,cAAc,iBAsBtC;IASD;;OAEG;IACH,+CAqEC;;CACF;;;;;;;;;;;;;;;;;;yBA3SY,IAAI,GAAG;IAAC,UAAU,EAAE,MAAM,CAAA;CAAC;2BA9BP,KAAK"}
@@ -1,2 +0,0 @@
1
- export const style: "\n form.hide-errors .alert-danger,\n form.hide-errors .error-msg,\n form.hide-errors .invalid-feedback,\n form.hide-errors .text-danger,\n form.hide-errors div[style*=\"color: red\"],\n form.hide-errors div[style*=\"color:red\"] {\n display: none !important;\n }\n";
2
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../jsonform/src/style.js"],"names":[],"mappings":"AAAA,ySASE"}
@@ -1,2 +0,0 @@
1
- export const styleEOX: string;
2
- //# sourceMappingURL=style.eox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["../../../../jsonform/src/style.eox.js"],"names":[],"mappings":"AAKA,8BAwTE"}
@@ -1,31 +0,0 @@
1
- /**
2
- * A custom element for comparing two map layers or images using a slider.
3
- * This component creates a split-screen view with an adjustable slider to compare two images or layers.
4
- */
5
- export class EOxMapCompare extends LitElement {
6
- static get properties(): {
7
- value: {
8
- attribute: string;
9
- type: NumberConstructor;
10
- };
11
- enabled: {
12
- attribute: string;
13
- type: StringConstructor;
14
- };
15
- };
16
- /**
17
- * The current position of the comparison slider (0 to 100).
18
- * @type {number}
19
- */
20
- value: number;
21
- /**
22
- * Whether the comparison is enabled and which part is visible.
23
- * Accepts values: "first", "second", or "true" (default).
24
- * @type {string}
25
- */
26
- enabled: string;
27
- render(): import("lit-html").TemplateResult<1>;
28
- #private;
29
- }
30
- import { LitElement } from "lit";
31
- //# sourceMappingURL=compare.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/compare.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IACE;;;;;;;;;MAKC;IAKC;;;OAGG;IACH,OAFU,MAAM,CAED;IAEf;;;;OAIG;IACH,SAFU,MAAM,CAEK;IAYvB,+CA+JC;;CACF;2BAzMgC,KAAK"}
@@ -1,41 +0,0 @@
1
- /**
2
- * A custom element that serves as a tooltip for the map.
3
- * Displays information about map features in a styled format.
4
- */
5
- export class EOxMapTooltip extends LitElement {
6
- static get properties(): {
7
- feature: {
8
- attribute: boolean;
9
- property: boolean;
10
- type: ObjectConstructor;
11
- };
12
- propertyTransform: {
13
- attribute: boolean;
14
- property: boolean;
15
- type: FunctionConstructor;
16
- };
17
- };
18
- /**
19
- * The rendered feature.
20
- *
21
- * @type {import("ol/Feature").default | import("ol/render/Feature").default}
22
- */
23
- feature: import("ol/Feature").default | import("ol/render/Feature").default;
24
- /**
25
- * A function to transform properties before rendering.
26
- *
27
- * @param {{ key: string; value: unknown }} property
28
- * @param {import("ol/Feature").default | import("ol/render/Feature").default} _feature
29
- */
30
- propertyTransform: (property: {
31
- key: string;
32
- value: unknown;
33
- }, _feature: import("ol/Feature").default | import("ol/render/Feature").default) => {
34
- key: string;
35
- value: unknown;
36
- };
37
- render(): import("lit-html").TemplateResult<1> | typeof nothing;
38
- }
39
- import { LitElement } from "lit";
40
- import { nothing } from "lit";
41
- //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../map/src/components/tooltip.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH;IACE;;;;;;;;;;;MAKC;IAKC;;;;OAIG;IACH,SAFU,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO,CAEzD;IAEnB;;;;;OAKG;IACH,8BAHW;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,YAC/B,OAAO,YAAY,EAAE,OAAO,GAAG,OAAO,mBAAmB,EAAE,OAAO;aAD3D,MAAM;eAAS,OAAO;MAGiB;IAG3D,gEA+BC;CACF;2BAjEyC,KAAK;wBAAL,KAAK"}
@@ -1,19 +0,0 @@
1
- /**
2
- * A control to switch between 2D and 3D views.
3
- * @param {Object} [opt_options] Control options.
4
- * @param {import("../main").EOxMap} opt_options.eoxMap
5
- */
6
- export class GlobeSwitcher extends Control {
7
- /**
8
- * @param {Object} [options] Control options.
9
- * @param {import("../main").EOxMap} options.eoxMap
10
- */
11
- constructor(options?: {
12
- eoxMap: import("../main").EOxMap;
13
- });
14
- eoxMap: import("../main").EOxMap;
15
- button: HTMLButtonElement;
16
- handleClick(): void;
17
- }
18
- import Control from "ol/control/Control";
19
- //# sourceMappingURL=GlobeSwitcher.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GlobeSwitcher.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/GlobeSwitcher.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;OAGG;IACH,sBAFG;QAA0C,MAAM,EAAxC,OAAO,SAAS,EAAE,MAAM;KAClC,EAoBA;IAJC,iCAA4B;IAC5B,0BAAoB;IAKtB,oBASC;CACF;oBA/CmB,oBAAoB"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Adds a control to the map and to the `mapControls` dictionary if it doesn't exist yet.
3
- * Removes and remakes the control if the options differ; otherwise, leaves the control untouched.
4
- *
5
- * @param {import("../main").EOxMap} EOxMap - The map instance.
6
- * @param {ControlDictionary} existingControls - Dictionary of existing controls.
7
- * @param {object} options - Options for the control.
8
- */
9
- export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingControls: ControlDictionary, type: any, options: object): void;
10
- /**
11
- * Adds a control to the map.
12
- *
13
- * @param {import("../main").EOxMap} EOxMap - The map instance.
14
- * @param {ControlType} type - The type of control to add.
15
- * @param {object} options - Options for the control.
16
- */
17
- export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
18
- export type ControlDictionary = import("../types").ControlDictionary;
19
- export type ControlType = import("../types").ControlType;
20
- //# sourceMappingURL=controls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAqCA;;;;;;;GAOG;AACH,2CAJW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,sBACjB,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAqBhB;gCAxEY,OAAO,UAAU,EAAE,iBAAiB;0BACpC,OAAO,UAAU,EAAE,WAAW"}
@@ -1,51 +0,0 @@
1
- /**
2
- * @typedef {import("../types").GeolocationOptions} GeolocationOptions
3
- */
4
- export default class GeolocationControl extends Control {
5
- /**
6
- * @param {GeolocationOptions} [opt_options] - Control options.
7
- */
8
- constructor(opt_options?: GeolocationOptions);
9
- _centerWhenReady: boolean;
10
- _highAccuracy: boolean;
11
- _trackAccuracy: boolean;
12
- _trackHeading: boolean;
13
- _positionFeature: Feature<Point, {
14
- [x: string]: any;
15
- }>;
16
- _source: VectorSource<Feature<Point, {
17
- [x: string]: any;
18
- }>>;
19
- _accuracyFeature: Feature<import("ol/geom").Geometry, {
20
- [x: string]: any;
21
- }>;
22
- _layer: VectorLayer<VectorSource<Feature<Point, {
23
- [x: string]: any;
24
- }>>, Feature<Point, {
25
- [x: string]: any;
26
- }>>;
27
- /**
28
- * Initializes the geolocation control.
29
- * This will prompt the user for geolocation permissions in the browser.
30
- */
31
- initGeolocation(): Promise<any>;
32
- _geolocation: Geolocation;
33
- /**
34
- * Returns the geolocation control element.
35
- *
36
- * @returns {HTMLElement} - The control element.
37
- */
38
- getElement(): HTMLElement;
39
- /**
40
- * Centers the map on the position of the geolocation, if possible.
41
- */
42
- centerOnPosition(): Promise<void>;
43
- }
44
- export type GeolocationOptions = import("../types").GeolocationOptions;
45
- import Control from "ol/control/Control.js";
46
- import Point from "ol/geom/Point";
47
- import Feature from "ol/Feature";
48
- import VectorSource from "ol/source/Vector.js";
49
- import VectorLayer from "ol/layer/Vector.js";
50
- import Geolocation from "ol/Geolocation";
51
- //# sourceMappingURL=geo-location.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/geo-location.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH;IACE;;OAEG;IACH,0BAFW,kBAAkB,EA8D5B;IAvCC,0BAA+C;IAC/C,uBAAyC;IACzC,wBAA2C;IAC3C,uBAAyC;IAGzC;;OAGE;IAGF;;QAEE;IAIA;;OAAqC;IAYvC;;;;QAAuD;IA6BzD;;;OAGG;IACH,gCA4CC;IAxCK,0BAIE;IAsCR;;;;OAIG;IACH,cAFa,WAAW,CAIvB;IAED;;OAEG;IACH,kCAUC;CACF;iCAhKY,OAAO,UAAU,EAAE,kBAAkB;oBAX9B,uBAAuB;kBAGzB,eAAe;oBAFb,YAAY;yBAGP,qBAAqB;wBACtB,oBAAoB;wBAHpB,gBAAgB"}
@@ -1,20 +0,0 @@
1
- /**
2
- * @typedef {import("../types").LoadingIndicatorOptions} LoadingIndicatorOptions
3
- */
4
- export default class LoadingIndicatorControl extends Control {
5
- /**
6
- * Creates a loading indicator control to show when map loading events occur.
7
- *
8
- * @param {LoadingIndicatorOptions} [opt_options] - Options for configuring the loading indicator control.
9
- */
10
- constructor(opt_options?: LoadingIndicatorOptions);
11
- /**
12
- * Returns the loading indicator element.
13
- *
14
- * @returns {HTMLElement} - The control element.
15
- */
16
- getElement(): HTMLElement;
17
- }
18
- export type LoadingIndicatorOptions = import("../types").LoadingIndicatorOptions;
19
- import Control from "ol/control/Control.js";
20
- //# sourceMappingURL=loading-indicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/loading-indicator.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;IACE;;;;OAIG;IACH,0BAFW,uBAAuB,EAsCjC;IAuBD;;;;OAIG;IACH,cAFa,WAAW,CAIvB;CACF;sCA5EY,OAAO,UAAU,EAAE,uBAAuB;oBAHnC,uBAAuB"}