@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.
- package/dist/eox-feedback.js +4193 -5309
- package/dist/eox-feedback.umd.cjs +66 -61
- package/package.json +3 -3
- package/src/main.js +4 -0
- package/types/{feedback/src/enums → enums}/index.d.ts.map +1 -1
- package/types/{feedback/src/enums → enums}/test.d.ts.map +1 -1
- package/types/{feedback/src/feedback-button.d.ts → feedback-button.d.ts} +3 -3
- package/types/feedback-button.d.ts.map +1 -0
- package/types/{feedback/src/main.d.ts → main.d.ts} +2 -2
- package/types/main.d.ts.map +1 -0
- package/types/{feedback/src/style.d.ts.map → style.d.ts.map} +1 -1
- package/types/{feedback/src/style.eox.d.ts.map → style.eox.d.ts.map} +1 -1
- package/types/drawtools/src/components/controller.d.ts +0 -108
- package/types/drawtools/src/components/controller.d.ts.map +0 -1
- package/types/drawtools/src/components/list.d.ts +0 -144
- package/types/drawtools/src/components/list.d.ts.map +0 -1
- package/types/drawtools/src/enums/draw.d.ts +0 -9
- package/types/drawtools/src/enums/draw.d.ts.map +0 -1
- package/types/drawtools/src/enums/index.d.ts +0 -4
- package/types/drawtools/src/enums/index.d.ts.map +0 -1
- package/types/drawtools/src/enums/stories.d.ts +0 -26
- package/types/drawtools/src/enums/stories.d.ts.map +0 -1
- package/types/drawtools/src/enums/test.d.ts +0 -11
- package/types/drawtools/src/enums/test.d.ts.map +0 -1
- package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts +0 -7
- package/types/drawtools/src/helpers/copy-text-to-clipboard.d.ts.map +0 -1
- package/types/drawtools/src/helpers/features-to-geojson.d.ts +0 -12
- package/types/drawtools/src/helpers/features-to-geojson.d.ts.map +0 -1
- package/types/drawtools/src/helpers/features-to-wkt.d.ts +0 -9
- package/types/drawtools/src/helpers/features-to-wkt.d.ts.map +0 -1
- package/types/drawtools/src/helpers/generate-upload-events.d.ts +0 -19
- package/types/drawtools/src/helpers/generate-upload-events.d.ts.map +0 -1
- package/types/drawtools/src/helpers/index.d.ts +0 -4
- package/types/drawtools/src/helpers/index.d.ts.map +0 -1
- package/types/drawtools/src/main.d.ts +0 -296
- package/types/drawtools/src/main.d.ts.map +0 -1
- package/types/drawtools/src/methods/controller/index.d.ts +0 -2
- package/types/drawtools/src/methods/controller/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/controller/update-button-states.d.ts +0 -12
- package/types/drawtools/src/methods/controller/update-button-states.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/create-select-handler.d.ts +0 -6
- package/types/drawtools/src/methods/draw/create-select-handler.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/discard-drawing.d.ts +0 -9
- package/types/drawtools/src/methods/draw/discard-drawing.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts +0 -20
- package/types/drawtools/src/methods/draw/emit-drawn-features.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/handle-layer-id.d.ts +0 -12
- package/types/drawtools/src/methods/draw/handle-layer-id.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/index.d.ts +0 -10
- package/types/drawtools/src/methods/draw/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-layer.d.ts +0 -13
- package/types/drawtools/src/methods/draw/init-layer.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-measuring.d.ts +0 -10
- package/types/drawtools/src/methods/draw/init-measuring.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/init-selection.d.ts +0 -10
- package/types/drawtools/src/methods/draw/init-selection.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/on-draw-end.d.ts +0 -9
- package/types/drawtools/src/methods/draw/on-draw-end.d.ts.map +0 -1
- package/types/drawtools/src/methods/draw/start-drawing.d.ts +0 -9
- package/types/drawtools/src/methods/draw/start-drawing.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/delete-feature.d.ts +0 -11
- package/types/drawtools/src/methods/list/delete-feature.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/first-update.d.ts +0 -8
- package/types/drawtools/src/methods/list/first-update.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/hover-feature.d.ts +0 -10
- package/types/drawtools/src/methods/list/hover-feature.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/index.d.ts +0 -5
- package/types/drawtools/src/methods/list/index.d.ts.map +0 -1
- package/types/drawtools/src/methods/list/select-deselect-feature.d.ts +0 -9
- package/types/drawtools/src/methods/list/select-deselect-feature.d.ts.map +0 -1
- package/types/drawtools/src/style.eox.d.ts.map +0 -1
- package/types/feedback/src/feedback-button.d.ts.map +0 -1
- package/types/feedback/src/main.d.ts.map +0 -1
- package/types/feedback/src/style.eox.d.ts +0 -2
- package/types/jsonform/src/custom-inputs/ace-custom/createMarkdownToolbar.d.ts +0 -2
- package/types/jsonform/src/custom-inputs/ace-custom/createMarkdownToolbar.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/ace-custom/index.d.ts +0 -2
- package/types/jsonform/src/custom-inputs/ace-custom/index.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/ace-custom.d.ts +0 -8
- package/types/jsonform/src/custom-inputs/ace-custom.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/binarycheckbox.d.ts +0 -15
- package/types/jsonform/src/custom-inputs/binarycheckbox.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/buttons.d.ts +0 -20
- package/types/jsonform/src/custom-inputs/buttons.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/index.d.ts +0 -5
- package/types/jsonform/src/custom-inputs/index.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/minmax.d.ts +0 -16
- package/types/jsonform/src/custom-inputs/minmax.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/spatial/editor.d.ts +0 -19
- package/types/jsonform/src/custom-inputs/spatial/editor.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/spatial/index.d.ts +0 -3
- package/types/jsonform/src/custom-inputs/spatial/index.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/spatial/utils.d.ts +0 -22
- package/types/jsonform/src/custom-inputs/spatial/utils.d.ts.map +0 -1
- package/types/jsonform/src/custom-inputs/spatial/validator.d.ts +0 -16
- package/types/jsonform/src/custom-inputs/spatial/validator.d.ts.map +0 -1
- package/types/jsonform/src/enums/editor.d.ts +0 -11
- package/types/jsonform/src/enums/editor.d.ts.map +0 -1
- package/types/jsonform/src/enums/index.d.ts +0 -4
- package/types/jsonform/src/enums/index.d.ts.map +0 -1
- package/types/jsonform/src/enums/stories.d.ts +0 -38
- package/types/jsonform/src/enums/stories.d.ts.map +0 -1
- package/types/jsonform/src/enums/test.d.ts +0 -4
- package/types/jsonform/src/enums/test.d.ts.map +0 -1
- package/types/jsonform/src/helpers/editor.d.ts +0 -18
- package/types/jsonform/src/helpers/editor.d.ts.map +0 -1
- package/types/jsonform/src/helpers/index.d.ts +0 -2
- package/types/jsonform/src/helpers/index.d.ts.map +0 -1
- package/types/jsonform/src/main.d.ts +0 -157
- package/types/jsonform/src/main.d.ts.map +0 -1
- package/types/jsonform/src/style.d.ts +0 -2
- package/types/jsonform/src/style.d.ts.map +0 -1
- package/types/jsonform/src/style.eox.d.ts +0 -2
- package/types/jsonform/src/style.eox.d.ts.map +0 -1
- package/types/map/src/components/compare.d.ts +0 -31
- package/types/map/src/components/compare.d.ts.map +0 -1
- package/types/map/src/components/tooltip.d.ts +0 -41
- package/types/map/src/components/tooltip.d.ts.map +0 -1
- package/types/map/src/controls/GlobeSwitcher.d.ts +0 -19
- package/types/map/src/controls/GlobeSwitcher.d.ts.map +0 -1
- package/types/map/src/controls/controls.d.ts +0 -20
- package/types/map/src/controls/controls.d.ts.map +0 -1
- package/types/map/src/controls/geo-location.d.ts +0 -51
- package/types/map/src/controls/geo-location.d.ts.map +0 -1
- package/types/map/src/controls/loading-indicator.d.ts +0 -20
- package/types/map/src/controls/loading-indicator.d.ts.map +0 -1
- package/types/map/src/custom/layers/MapboxStyle.d.ts +0 -13
- package/types/map/src/custom/layers/MapboxStyle.d.ts.map +0 -1
- package/types/map/src/custom/sources/Cluster.d.ts +0 -24
- package/types/map/src/custom/sources/Cluster.d.ts.map +0 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +0 -30
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts.map +0 -1
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts +0 -35
- package/types/map/src/custom/sources/WMTSCapabilities.d.ts.map +0 -1
- package/types/map/src/enums/index.d.ts +0 -2
- package/types/map/src/enums/index.d.ts.map +0 -1
- package/types/map/src/enums/map.d.ts +0 -5
- package/types/map/src/enums/map.d.ts.map +0 -1
- package/types/map/src/helpers/add-new-feature.d.ts +0 -15
- package/types/map/src/helpers/add-new-feature.d.ts.map +0 -1
- package/types/map/src/helpers/cancel-animation.d.ts +0 -7
- package/types/map/src/helpers/cancel-animation.d.ts.map +0 -1
- package/types/map/src/helpers/center.d.ts +0 -12
- package/types/map/src/helpers/center.d.ts.map +0 -1
- package/types/map/src/helpers/cluster-explode.d.ts +0 -42
- package/types/map/src/helpers/cluster-explode.d.ts.map +0 -1
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts +0 -12
- package/types/map/src/helpers/coordinates-roughly-equals.d.ts.map +0 -1
- package/types/map/src/helpers/draw.d.ts +0 -22
- package/types/map/src/helpers/draw.d.ts.map +0 -1
- package/types/map/src/helpers/generate.d.ts +0 -32
- package/types/map/src/helpers/generate.d.ts.map +0 -1
- package/types/map/src/helpers/index.d.ts +0 -17
- package/types/map/src/helpers/index.d.ts.map +0 -1
- package/types/map/src/helpers/interactions.d.ts +0 -16
- package/types/map/src/helpers/interactions.d.ts.map +0 -1
- package/types/map/src/helpers/layer.d.ts +0 -26
- package/types/map/src/helpers/layer.d.ts.map +0 -1
- package/types/map/src/helpers/parse-feature.d.ts +0 -8
- package/types/map/src/helpers/parse-feature.d.ts.map +0 -1
- package/types/map/src/helpers/parse-text.d.ts +0 -45
- package/types/map/src/helpers/parse-text.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection-from-code.d.ts +0 -8
- package/types/map/src/helpers/register-projection-from-code.d.ts.map +0 -1
- package/types/map/src/helpers/register-projection.d.ts +0 -11
- package/types/map/src/helpers/register-projection.d.ts.map +0 -1
- package/types/map/src/helpers/select.d.ts +0 -99
- package/types/map/src/helpers/select.d.ts.map +0 -1
- package/types/map/src/helpers/tile-grid.d.ts +0 -10
- package/types/map/src/helpers/tile-grid.d.ts.map +0 -1
- package/types/map/src/helpers/transform.d.ts +0 -19
- package/types/map/src/helpers/transform.d.ts.map +0 -1
- package/types/map/src/layers.d.ts +0 -126
- package/types/map/src/layers.d.ts.map +0 -1
- package/types/map/src/main.d.ts +0 -481
- package/types/map/src/main.d.ts.map +0 -1
- package/types/map/src/methods/map/add-update-layer.d.ts +0 -13
- package/types/map/src/methods/map/add-update-layer.d.ts.map +0 -1
- package/types/map/src/methods/map/animate-to-state.d.ts +0 -7
- package/types/map/src/methods/map/animate-to-state.d.ts.map +0 -1
- package/types/map/src/methods/map/first-updated.d.ts +0 -9
- package/types/map/src/methods/map/first-updated.d.ts.map +0 -1
- package/types/map/src/methods/map/getters.d.ts +0 -22
- package/types/map/src/methods/map/getters.d.ts.map +0 -1
- package/types/map/src/methods/map/index.d.ts +0 -7
- package/types/map/src/methods/map/index.d.ts.map +0 -1
- package/types/map/src/methods/map/remove.d.ts +0 -22
- package/types/map/src/methods/map/remove.d.ts.map +0 -1
- package/types/map/src/methods/map/setters.d.ts +0 -83
- package/types/map/src/methods/map/setters.d.ts.map +0 -1
- package/types/map/src/plugins/globe/index.d.ts +0 -6
- package/types/map/src/plugins/globe/index.d.ts.map +0 -1
- package/types/map/src/plugins/globe/methods.d.ts +0 -8
- package/types/map/src/plugins/globe/methods.d.ts.map +0 -1
- package/types/map/src/plugins/globe/openglobus.d.ts +0 -25
- package/types/map/src/plugins/globe/openglobus.d.ts.map +0 -1
- package/types/map/src/types.d.ts +0 -193
- package/types/map/src/types.d.ts.map +0 -1
- /package/types/{feedback/src/enums → enums}/index.d.ts +0 -0
- /package/types/{feedback/src/enums → enums}/test.d.ts +0 -0
- /package/types/{feedback/src/style.d.ts → style.d.ts} +0 -0
- /package/types/{drawtools/src/style.eox.d.ts → style.eox.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eox/feedback",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git@github.com:EOX-A/EOxElements.git"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"vite": "^
|
|
10
|
+
"vite": "^8.2.2"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@eox/elements-utils": "^1.
|
|
13
|
+
"@eox/elements-utils": "^1.2.0",
|
|
14
14
|
"@eox/ui": "^1.1.0",
|
|
15
15
|
"region-screenshot-js": "^1.1.0"
|
|
16
16
|
},
|
package/src/main.js
CHANGED
|
@@ -440,6 +440,10 @@ export class EOxFeedback extends HTMLElement {
|
|
|
440
440
|
.region-screenshot_tools {
|
|
441
441
|
z-index: 10001;
|
|
442
442
|
}
|
|
443
|
+
article {
|
|
444
|
+
max-height: calc(100dvh - 2rem);
|
|
445
|
+
overflow-y: auto;
|
|
446
|
+
}
|
|
443
447
|
</style>
|
|
444
448
|
<article class="no-margin small-round">
|
|
445
449
|
<div ${!this.endpoint ? 'class="disabled"' : ""}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/enums/test.js"],"names":[],"mappings":""}
|
|
@@ -9,15 +9,15 @@ export class EOxFeedbackButton extends HTMLElement {
|
|
|
9
9
|
*/
|
|
10
10
|
modal: import("./main").EOxFeedback;
|
|
11
11
|
position: string;
|
|
12
|
-
_schema:
|
|
12
|
+
_schema: any;
|
|
13
13
|
/**
|
|
14
14
|
* @param {import("@eox/jsonform").JsonSchema|null} newSchema
|
|
15
15
|
*/
|
|
16
|
-
set schema(newSchema:
|
|
16
|
+
set schema(newSchema: any | null);
|
|
17
17
|
/**
|
|
18
18
|
* @returns {import("@eox/jsonform").JsonSchema|null}
|
|
19
19
|
*/
|
|
20
|
-
get schema():
|
|
20
|
+
get schema(): any | null;
|
|
21
21
|
attributeChangedCallback(name: any, oldValue: any, newValue: any): void;
|
|
22
22
|
connectedCallback(): void;
|
|
23
23
|
disconnectedCallback(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedback-button.d.ts","sourceRoot":"","sources":["../src/feedback-button.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH;IACE,oCAAqD;IAMnD;;OAEG;IACH,OAFU,OAAO,QAAQ,EAAE,WAAW,CAErB;IAEjB,iBAA2B;IAE3B,aAAmB;IAUrB;;OAEG;IACH,sBAFW,GAAkC,GAAC,IAAI,EAOjD;IAfD;;OAEG;IACH,cAFa,GAAkC,GAAC,IAAI,CAInD;IAYD,wEAOC;IAED,0BAKC;IAED,6BAIC;IAED,sBAiBC;IAED,eAuBC;CACF"}
|
|
@@ -60,11 +60,11 @@ export class EOxFeedback extends HTMLElement {
|
|
|
60
60
|
/**
|
|
61
61
|
* @param {import("@eox/jsonform").JsonSchema|null} newSchema
|
|
62
62
|
*/
|
|
63
|
-
set schema(newSchema:
|
|
63
|
+
set schema(newSchema: any | null);
|
|
64
64
|
/**
|
|
65
65
|
* @returns {import("@eox/jsonform").JsonSchema|null}
|
|
66
66
|
*/
|
|
67
|
-
get schema():
|
|
67
|
+
get schema(): any | null;
|
|
68
68
|
attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
|
|
69
69
|
connectedCallback(): void;
|
|
70
70
|
disconnectedCallback(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,oCAAqD;IAMnD,eAAe;IACf,0BAA6B;IAC7B,eAAe;IACf,sBAAyB;IAEzB,eAAe;IACf,yBAA4B;IAE5B,eAAe;IACf,uBAA0B;IAE1B,eAAe;IACf,kBAAqB;IAErB,eAAe;IACf,gBAAmB;IAEnB,eAAe;IACf,mBAAuB;IAUzB;;OAEG;IACH,kBAFW,MAAM,EAQhB;IAhBD;;OAEG;IACH,gBAFa,MAAM,CAIlB;IAoBD;;OAEG;IACH,sBAFW,GAAkC,GAAC,IAAI,EAKjD;IAbD;;OAEG;IACH,cAFa,GAAkC,GAAC,IAAI,CAInD;IAUD,oEAOC;IAED,0BA4BC;IAED,6BAsBC;IAED,eAAe;IACf,wBAUC;IAED,eAAe;IACf,wBAQC;IAED,eAAe;IACf,yBAYC;IAED,eAAe;IACf,2BAoEC;IAED,eAAe;IACf,iBAoFC;IAED,eAAe;IACf,iBAMC;IAED,eAAe;IACf,eA6GC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.js"],"names":[],"mappings":"AAAA,yBACE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["../src/style.eox.js"],"names":[],"mappings":"AAKA,8BAEE"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Controller component for drawing features
|
|
3
|
-
*
|
|
4
|
-
* @element eox-drawtools-controller
|
|
5
|
-
*/
|
|
6
|
-
export class EOxDrawToolsController extends LitElement {
|
|
7
|
-
static properties: {
|
|
8
|
-
multipleFeatures: {
|
|
9
|
-
attribute: boolean;
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
};
|
|
12
|
-
drawnFeatures: {
|
|
13
|
-
attribute: boolean;
|
|
14
|
-
state: boolean;
|
|
15
|
-
type: ArrayConstructor;
|
|
16
|
-
};
|
|
17
|
-
currentlyDrawing: {
|
|
18
|
-
attribute: boolean;
|
|
19
|
-
state: boolean;
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
};
|
|
22
|
-
drawFunc: {
|
|
23
|
-
attribute: boolean;
|
|
24
|
-
type: ObjectConstructor;
|
|
25
|
-
};
|
|
26
|
-
select: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
};
|
|
29
|
-
importFeatures: {
|
|
30
|
-
attribute: string;
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
};
|
|
33
|
-
showEditor: {
|
|
34
|
-
attribute: string;
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
};
|
|
37
|
-
geoJSON: {
|
|
38
|
-
attribute: string;
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
};
|
|
41
|
-
type: {
|
|
42
|
-
attribute: string;
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
};
|
|
45
|
-
unstyled: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Allow adding more than one feature at a time
|
|
51
|
-
*/
|
|
52
|
-
multipleFeatures: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* The array of drawn native OpenLayers features. Normally includes only one feature,
|
|
55
|
-
* until multiple feature drawing is enabled.
|
|
56
|
-
*
|
|
57
|
-
* @type Array<import("ol").Feature>
|
|
58
|
-
*/
|
|
59
|
-
drawnFeatures: Array<import("ol").Feature>;
|
|
60
|
-
/**
|
|
61
|
-
* Allow import features using drag-drop and upload button
|
|
62
|
-
* @type Boolean
|
|
63
|
-
*/
|
|
64
|
-
importFeatures: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Show geo-json editor for draw tool
|
|
67
|
-
* @type Boolean
|
|
68
|
-
*/
|
|
69
|
-
showEditor: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Whether the user is currently in the process of drawing or not
|
|
72
|
-
*/
|
|
73
|
-
currentlyDrawing: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* List of draw function object like start, discard etc.
|
|
76
|
-
*/
|
|
77
|
-
drawFunc: any;
|
|
78
|
-
/**
|
|
79
|
-
* Parsed and Stringify Geo JSON
|
|
80
|
-
* @type String
|
|
81
|
-
*/
|
|
82
|
-
geoJSON: string;
|
|
83
|
-
/**
|
|
84
|
-
* Type of the drawn feature
|
|
85
|
-
* @type {"Polygon" | "Point" | "LineString" | "Circle" | "Box"}
|
|
86
|
-
*/
|
|
87
|
-
type: "Polygon" | "Point" | "LineString" | "Circle" | "Box";
|
|
88
|
-
/**
|
|
89
|
-
* Render the element without additional styles
|
|
90
|
-
*/
|
|
91
|
-
unstyled: boolean;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
select: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Updates button states based on conditions
|
|
98
|
-
*/
|
|
99
|
-
updateButtonStates(): void;
|
|
100
|
-
/**
|
|
101
|
-
* Overrides createRenderRoot to handle shadow DOM
|
|
102
|
-
*/
|
|
103
|
-
createRenderRoot(): this;
|
|
104
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
105
|
-
#private;
|
|
106
|
-
}
|
|
107
|
-
import { LitElement } from "lit";
|
|
108
|
-
//# sourceMappingURL=controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/components/controller.js"],"names":[],"mappings":"AAKA;;;;GAIG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAeA;;OAEG;IACH,0BAA6B;IAE7B;;;;;OAKG;IACH,eAFS,KAAK,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,CAEb;IAEvB;;;OAGG;IACH,wBAA2B;IAE3B;;;OAGG;IACH,oBAAuB;IAEvB;;OAEG;IACH,0BAA6B;IAE7B;;OAEG;IACH,cAAoB;IAEpB;;;OAGG;IACH,gBAAiB;IAEjB;;;OAGG;IACH,MAFU,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,KAAK,CAE1C;IAErB;;OAEG;IACH,kBAAqB;IAErB;;OAEG;IACH,gBAAmB;IAGrB;;OAEG;IACH,2BAKC;IAED;;OAEG;IACH,yBAEC;IAED,+CA0NC;;CACF;2BA5UyC,KAAK"}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Display list of features
|
|
3
|
-
*
|
|
4
|
-
* @element eox-drawtools-list
|
|
5
|
-
*/
|
|
6
|
-
export class EOxDrawToolsList extends LitElement {
|
|
7
|
-
static properties: {
|
|
8
|
-
eoxDrawTools: {
|
|
9
|
-
attribute: boolean;
|
|
10
|
-
state: boolean;
|
|
11
|
-
};
|
|
12
|
-
eoxMap: {
|
|
13
|
-
attribute: boolean;
|
|
14
|
-
state: boolean;
|
|
15
|
-
};
|
|
16
|
-
olMap: {
|
|
17
|
-
attribute: boolean;
|
|
18
|
-
state: boolean;
|
|
19
|
-
};
|
|
20
|
-
draw: {
|
|
21
|
-
attribute: boolean;
|
|
22
|
-
state: boolean;
|
|
23
|
-
};
|
|
24
|
-
drawLayer: {
|
|
25
|
-
attribute: boolean;
|
|
26
|
-
state: boolean;
|
|
27
|
-
};
|
|
28
|
-
drawnFeatures: {
|
|
29
|
-
attribute: boolean;
|
|
30
|
-
state: boolean;
|
|
31
|
-
type: ArrayConstructor;
|
|
32
|
-
};
|
|
33
|
-
featureName: {
|
|
34
|
-
attribute: boolean;
|
|
35
|
-
state: boolean;
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
};
|
|
38
|
-
featureNameKey: {
|
|
39
|
-
attribute: boolean;
|
|
40
|
-
state: boolean;
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
};
|
|
43
|
-
modify: {
|
|
44
|
-
attribute: boolean;
|
|
45
|
-
state: boolean;
|
|
46
|
-
};
|
|
47
|
-
unstyled: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @type {import("@eox/map").EOxMap["selectInteractions"][string]}
|
|
53
|
-
*/
|
|
54
|
-
hoverInteraction: import("@eox/map").EOxMap["selectInteractions"][string];
|
|
55
|
-
/**
|
|
56
|
-
* @type {import("@eox/map").EOxMap["selectInteractions"][string]}
|
|
57
|
-
*/
|
|
58
|
-
clickInteraction: import("@eox/map").EOxMap["selectInteractions"][string];
|
|
59
|
-
/**
|
|
60
|
-
* @type string | number
|
|
61
|
-
*/
|
|
62
|
-
hoverId: string | number;
|
|
63
|
-
/**
|
|
64
|
-
* @type string | number
|
|
65
|
-
*/
|
|
66
|
-
clickId: string | number;
|
|
67
|
-
/**
|
|
68
|
-
* @type import("../main").EOxDrawTools;
|
|
69
|
-
*/
|
|
70
|
-
eoxDrawTools: import("../main").EOxDrawTools;
|
|
71
|
-
/**
|
|
72
|
-
* @type import("@eox/map").EOxMap
|
|
73
|
-
*/
|
|
74
|
-
eoxMap: import("@eox/map").EOxMap;
|
|
75
|
-
/**
|
|
76
|
-
* @type import("ol").Map
|
|
77
|
-
*/
|
|
78
|
-
olMap: import("ol").Map;
|
|
79
|
-
/**
|
|
80
|
-
* The current native OpenLayers `draw` interaction
|
|
81
|
-
* @type import("ol/interaction").Draw
|
|
82
|
-
*/
|
|
83
|
-
draw: import("ol/interaction").Draw;
|
|
84
|
-
/**
|
|
85
|
-
* The current native OpenLayers draw `layer`
|
|
86
|
-
* @type import("ol/layer").Vector<import("ol/source").Vector>
|
|
87
|
-
*/
|
|
88
|
-
drawLayer: import("ol/layer").Vector<import("ol/source").Vector>;
|
|
89
|
-
/**
|
|
90
|
-
* The array of drawn native OpenLayers features. Normally includes only one feature,
|
|
91
|
-
* until multiple feature drawing is enabled.
|
|
92
|
-
*
|
|
93
|
-
* @type Array<import("ol").Feature>
|
|
94
|
-
*/
|
|
95
|
-
drawnFeatures: Array<import("ol").Feature>;
|
|
96
|
-
/**
|
|
97
|
-
* Default display name for features
|
|
98
|
-
*/
|
|
99
|
-
featureName: string;
|
|
100
|
-
/**
|
|
101
|
-
* The key of the property to display in the feature list.
|
|
102
|
-
*/
|
|
103
|
-
featureNameKey: any;
|
|
104
|
-
/**
|
|
105
|
-
* The current native OpenLayers `modify` interaction
|
|
106
|
-
* @type import("ol/interaction").Modify
|
|
107
|
-
*/
|
|
108
|
-
modify: import("ol/interaction").Modify;
|
|
109
|
-
/**
|
|
110
|
-
* Render the element without additional styles
|
|
111
|
-
*/
|
|
112
|
-
unstyled: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Handles the deletion of an individual feature.
|
|
115
|
-
*
|
|
116
|
-
* @param {Event & { target: HTMLButtonElement }} evt - Event object containing button target.
|
|
117
|
-
*/
|
|
118
|
-
_handleDelete(evt: Event & {
|
|
119
|
-
target: HTMLButtonElement;
|
|
120
|
-
}): void;
|
|
121
|
-
/**
|
|
122
|
-
* Handles the selection and deselection of a feature from the list.
|
|
123
|
-
*
|
|
124
|
-
* @param {import("ol").Feature} feature - The selected feature.
|
|
125
|
-
*/
|
|
126
|
-
_handleFeatureSelectAndDeselect(feature: import("ol").Feature): void;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @param {number | string | undefined} featureId - The ID of the feature to hover.
|
|
130
|
-
* @param {Boolean} mouseOut - Flag indicating mouse out event.
|
|
131
|
-
*/
|
|
132
|
-
_handleHoverFeature(featureId: number | string | undefined, mouseOut?: boolean): void;
|
|
133
|
-
/**
|
|
134
|
-
* Initiates initial settings and event triggers upon the component's first update.
|
|
135
|
-
*/
|
|
136
|
-
firstUpdated(): void;
|
|
137
|
-
/**
|
|
138
|
-
* Overrides createRenderRoot to handle shadow DOM.
|
|
139
|
-
*/
|
|
140
|
-
createRenderRoot(): this;
|
|
141
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
142
|
-
}
|
|
143
|
-
import { LitElement } from "lit";
|
|
144
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/components/list.js"],"names":[],"mappings":"AASA;;;;GAIG;AACH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAEF;;OAEG;IACH,kBAFU,OAAO,UAAU,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAEhD;IAEjB;;OAEG;IACH,kBAFU,OAAO,UAAU,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAEhD;IAEjB;;OAEG;IACH,SAFS,MAAM,GAAG,MAAM,CAEhB;IAER;;OAEG;IACH,SAFS,MAAM,GAAG,MAAM,CAEhB;IAKN;;OAEG;IACH,cAFS,OAAO,SAAS,EAAE,YAAY,CAEf;IAExB;;OAEG;IACH,QAFS,OAAO,UAAU,EAAE,MAAM,CAEhB;IAElB;;OAEG;IACH,OAFS,OAAO,IAAI,EAAE,GAAG,CAER;IAEjB;;;OAGG;IAEH,MAHS,OAAO,gBAAgB,EAAE,IAAI,CAGtB;IAEhB;;;OAGG;IAEH,WAHS,OAAO,UAAU,EAAE,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,CAAC,CAGzC;IAErB;;;;;OAKG;IACH,eAFS,KAAK,CAAC,OAAO,IAAI,EAAE,OAAO,CAAC,CAEb;IAEvB;;OAEG;IACH,oBAA4B;IAE5B;;OAEG;IACH,oBAA0B;IAE1B;;;OAGG;IAEH,QAHS,OAAO,gBAAgB,EAAE,MAAM,CAGtB;IAElB;;OAEG;IACH,kBAAqB;IAGvB;;;;OAIG;IACH,mBAFW,KAAK,GAAG;QAAE,MAAM,EAAE,iBAAiB,CAAA;KAAE,QAK/C;IAED;;;;OAIG;IACH,yCAFW,OAAO,IAAI,EAAE,OAAO,QAI9B;IAED;;;;OAIG;IACH,+BAHW,MAAM,GAAG,MAAM,GAAG,SAAS,4BAKrC;IAED;;OAEG;IACH,qBAEC;IAED;;OAEG;IACH,yBAEC;IAED,+CAwEC;CACF;2BAlOyC,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/draw.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/index.js"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stories.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/stories.js"],"names":[],"mappings":"AAAA;;;;;IAOE;AAEF;;;;;;;;;;;;;;;;;IAmBE;AAEF,gCAAiC,8BAA8B,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/enums/test.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../drawtools/src/helpers/index.js"],"names":[],"mappings":""}
|