@eox/feedback 1.1.1 → 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 +4197 -5307
- package/dist/eox-feedback.umd.cjs +70 -64
- package/dist/material-symbols-outlined.woff2 +0 -0
- package/dist/material-symbols-rounded.woff2 +0 -0
- package/dist/material-symbols-sharp.woff2 +0 -0
- package/dist/material-symbols-subset.woff2 +0 -0
- package/package.json +4 -4
- package/src/feedback-button.js +2 -2
- package/src/main.js +35 -3
- 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} +23 -4
- 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 -270
- 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 -9
- 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-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/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/controls.d.ts +0 -21
- package/types/map/src/controls/controls.d.ts.map +0 -1
- package/types/map/src/controls/geo-location.d.ts +0 -41
- 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 -20
- package/types/map/src/custom/sources/Cluster.d.ts.map +0 -1
- package/types/map/src/custom/sources/FlatGeoBuf.d.ts +0 -28
- 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 -38
- 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 -24
- 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 -95
- 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 -125
- package/types/map/src/layers.d.ts.map +0 -1
- package/types/map/src/main.d.ts +0 -459
- 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 -82
- 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 -16
- package/types/map/src/plugins/globe/openglobus.d.ts.map +0 -1
- package/types/map/src/types.d.ts +0 -178
- 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
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../jsonform/src/enums/editor.js"],"names":[],"mappings":""}
|
|
@@ -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 +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":"AAqbA;;;;;;GAMG;AACH,wCAHW,UAAU,SAAS,GACjB,OAAO,CAAC,UAAU,SAAS,CAAC,CAiBxC;AAvaM,sCAHI,OAAO,SAAS,EAAE,WAAW,GAC3B,UAAU,CAiZtB;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 +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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.eox.d.ts","sourceRoot":"","sources":["../../../../jsonform/src/style.eox.js"],"names":[],"mappings":"AAKA,8BA+SE"}
|
|
@@ -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,21 +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 {ControlType} type - The type of control to add or update.
|
|
8
|
-
* @param {object} options - Options for the control.
|
|
9
|
-
*/
|
|
10
|
-
export function addOrUpdateControl(EOxMap: import("../main").EOxMap, existingControls: ControlDictionary, type: ControlType, options: object): void;
|
|
11
|
-
/**
|
|
12
|
-
* Adds a control to the map.
|
|
13
|
-
*
|
|
14
|
-
* @param {import("../main").EOxMap} EOxMap - The map instance.
|
|
15
|
-
* @param {ControlType} type - The type of control to add.
|
|
16
|
-
* @param {object} options - Options for the control.
|
|
17
|
-
*/
|
|
18
|
-
export function addControl(EOxMap: import("../main").EOxMap, type: ControlType, options: object): void;
|
|
19
|
-
export type ControlDictionary = import("../types").ControlDictionary;
|
|
20
|
-
export type ControlType = import("../types").ControlType;
|
|
21
|
-
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../../map/src/controls/controls.js"],"names":[],"mappings":"AAmCA;;;;;;;;GAQG;AACH,2CALW,OAAO,SAAS,EAAE,MAAM,oBACxB,iBAAiB,QACjB,WAAW,WACX,MAAM,QAiBhB;AAED;;;;;;GAMG;AACH,mCAJW,OAAO,SAAS,EAAE,MAAM,QACxB,WAAW,WACX,MAAM,QAiBhB;gCApEY,OAAO,UAAU,EAAE,iBAAiB;0BACpC,OAAO,UAAU,EAAE,WAAW"}
|
|
@@ -1,41 +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
|
-
_source: VectorSource<Feature<Point>>;
|
|
15
|
-
_accuracyFeature: Feature<import("ol/geom").Geometry>;
|
|
16
|
-
_layer: VectorLayer<VectorSource<Feature<Point>>, Feature<Point>>;
|
|
17
|
-
/**
|
|
18
|
-
* Initializes the geolocation control.
|
|
19
|
-
* This will prompt the user for geolocation permissions in the browser.
|
|
20
|
-
*/
|
|
21
|
-
initGeolocation(): Promise<any>;
|
|
22
|
-
_geolocation: Geolocation;
|
|
23
|
-
/**
|
|
24
|
-
* Returns the geolocation control element.
|
|
25
|
-
*
|
|
26
|
-
* @returns {HTMLElement} - The control element.
|
|
27
|
-
*/
|
|
28
|
-
getElement(): HTMLElement;
|
|
29
|
-
/**
|
|
30
|
-
* Centers the map on the position of the geolocation, if possible.
|
|
31
|
-
*/
|
|
32
|
-
centerOnPosition(): Promise<void>;
|
|
33
|
-
}
|
|
34
|
-
export type GeolocationOptions = import("../types").GeolocationOptions;
|
|
35
|
-
import Control from "ol/control/Control.js";
|
|
36
|
-
import Point from "ol/geom/Point";
|
|
37
|
-
import Feature from "ol/Feature";
|
|
38
|
-
import VectorSource from "ol/source/Vector.js";
|
|
39
|
-
import VectorLayer from "ol/layer/Vector.js";
|
|
40
|
-
import Geolocation from "ol/Geolocation";
|
|
41
|
-
//# 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,iCAGE;IAGF,sCAEE;IAIA,sDAAqC;IAYvC,kEAAuD;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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default MapboxStyle;
|
|
2
|
-
declare class MapboxStyle extends LayerGroup {
|
|
3
|
-
constructor(options?: {});
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @param {*} mapboxStyle mapbox style definition
|
|
7
|
-
* @param {Parameters<typeof import("ol-mapbox-style").apply>[2]} applyOptions ol-mapbox-style apply options
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
applyMapboxStyle(mapboxStyle: any, applyOptions: Parameters<typeof import("ol-mapbox-style").apply>[2]): Promise<import("ol").Map | LayerGroup>;
|
|
11
|
-
}
|
|
12
|
-
import LayerGroup from "ol/layer/Group";
|
|
13
|
-
//# sourceMappingURL=MapboxStyle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapboxStyle.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/layers/MapboxStyle.js"],"names":[],"mappings":";AAGA;IACE,0BAQC;IAED;;;;;OAKG;IACH,8BAJW,GAAC,gBACD,UAAU,CAAC,cAAc,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,0CAK/D;CACF;uBAvBsB,gBAAgB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default EOxCluster;
|
|
2
|
-
export type ClusterOptions = import("../../types").EOxClusterOptions;
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {import("../../types").EOxClusterOptions} ClusterOptions
|
|
5
|
-
*/
|
|
6
|
-
declare class EOxCluster extends Cluster<Feature<import("ol/geom").Geometry>> {
|
|
7
|
-
static defaultCreateCluster(point: any, features: any): Feature<any>;
|
|
8
|
-
/**
|
|
9
|
-
* @param {import("ol/Feature").FeatureLike} feature
|
|
10
|
-
* @returns {import("ol/geom/Point").default}
|
|
11
|
-
*/
|
|
12
|
-
static defaultGeometryFunction(feature: import("ol/Feature").FeatureLike): import("ol/geom/Point").default;
|
|
13
|
-
/**
|
|
14
|
-
* @param {ClusterOptions} options
|
|
15
|
-
*/
|
|
16
|
-
constructor(options?: ClusterOptions);
|
|
17
|
-
}
|
|
18
|
-
import { Feature } from "ol";
|
|
19
|
-
import { Cluster } from "ol/source";
|
|
20
|
-
//# sourceMappingURL=Cluster.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cluster.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/Cluster.js"],"names":[],"mappings":";6BAKa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AAEH;IAYE,qEAqBC;IAED;;;OAGG;IACH,wCAHW,OAAO,YAAY,EAAE,WAAW,GAC9B,OAAO,eAAe,EAAE,OAAO,CAW3C;IA/CD;;OAEG;IACH,sBAFW,cAAc,EAQxB;CAuCF;wBAzDuB,IAAI;wBAEJ,WAAW"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export default FlatGeoBuf;
|
|
2
|
-
export type FlatGeoBufOptions = import("../../types").FlatGeoBufOptions;
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {import("../../types").FlatGeoBufOptions} FlatGeoBufOptions
|
|
5
|
-
*/
|
|
6
|
-
declare class FlatGeoBuf extends Vector<import("ol").Feature<import("ol/geom").Geometry>> {
|
|
7
|
-
/**
|
|
8
|
-
* @param {FlatGeoBufOptions} options
|
|
9
|
-
*/
|
|
10
|
-
constructor(options: FlatGeoBufOptions);
|
|
11
|
-
dataProjection: import("ol/proj").ProjectionLike;
|
|
12
|
-
resourceURL: string;
|
|
13
|
-
/**
|
|
14
|
-
* transform an ol extent into FlatGeoBuf-format
|
|
15
|
-
* @param {import("ol/extent").Extent} extent
|
|
16
|
-
* @param {import("ol/proj").Projection} projection
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
fgbBoundingBox(extent: import("ol/extent").Extent, projection: import("ol/proj").Projection): {
|
|
20
|
-
minX: number;
|
|
21
|
-
minY: number;
|
|
22
|
-
maxX: number;
|
|
23
|
-
maxY: number;
|
|
24
|
-
};
|
|
25
|
-
loader(extent: import("ol/extent").Extent, resolution: number, projection: import("ol/proj").default, success?: (features: import("ol/Feature").FeatureLike[]) => void, failure?: () => void): void;
|
|
26
|
-
}
|
|
27
|
-
import Vector from "ol/source/Vector.js";
|
|
28
|
-
//# sourceMappingURL=FlatGeoBuf.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FlatGeoBuf.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/FlatGeoBuf.js"],"names":[],"mappings":";gCAQa,OAAO,aAAa,EAAE,iBAAiB;AADpD;;GAEG;AACH;IACE;;OAEG;IACH,qBAFW,iBAAiB,EAY3B;IAJC,iDAC4D;IAC5D,oBAA8B;IAIhC;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,OAAO,SAAS,EAAE,UAAU;;;;;MAgBtC;;CAmCF;mBA9EkB,qBAAqB"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default WMTSCapabilities;
|
|
2
|
-
export type WMTSCapabilitiesOptions = import("../../types").WMTSCapabilitiesOptions;
|
|
3
|
-
/**
|
|
4
|
-
* @typedef {import("../../types").WMTSCapabilitiesOptions} WMTSCapabilitiesOptions
|
|
5
|
-
*/
|
|
6
|
-
declare class WMTSCapabilities extends TileImage {
|
|
7
|
-
/**
|
|
8
|
-
* Constructs a WMTS capabilities instance and fetches the WMTS capabilities XML from the provided URL.
|
|
9
|
-
*
|
|
10
|
-
* @param {WMTSCapabilitiesOptions} options - Image tile options including URL, layer, and other properties.
|
|
11
|
-
*/
|
|
12
|
-
constructor(options: WMTSCapabilitiesOptions);
|
|
13
|
-
version_: string;
|
|
14
|
-
dimensions_: object;
|
|
15
|
-
layer_: string;
|
|
16
|
-
/**
|
|
17
|
-
* Handles the WMTS capabilities XML response by parsing it and setting up the necessary properties.
|
|
18
|
-
*
|
|
19
|
-
* @param {Document} xml - The XML document containing WMTS capabilities.
|
|
20
|
-
* @param {WMTSCapabilitiesOptions} options - Options for WMTS capabilities.
|
|
21
|
-
*/
|
|
22
|
-
handleCapabilitiesResponse(xml: Document, options: WMTSCapabilitiesOptions): void;
|
|
23
|
-
requestEncoding_: import("ol/source/WMTS").RequestEncoding;
|
|
24
|
-
matrixSet_: string;
|
|
25
|
-
style_: string;
|
|
26
|
-
format_: string;
|
|
27
|
-
/**
|
|
28
|
-
* Creates a URL function for WMTS tiles based on a template.
|
|
29
|
-
*
|
|
30
|
-
* @param {String} template - The WMTS URL template.
|
|
31
|
-
*/
|
|
32
|
-
createFromWMTSTemplate(template: string): (tileCoord: Array<number>) => string | undefined;
|
|
33
|
-
}
|
|
34
|
-
import TileImage from "ol/source/TileImage.js";
|
|
35
|
-
//# sourceMappingURL=WMTSCapabilities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WMTSCapabilities.d.ts","sourceRoot":"","sources":["../../../../../../map/src/custom/sources/WMTSCapabilities.js"],"names":[],"mappings":";sCAOa,OAAO,aAAa,EAAE,uBAAuB;AAD1D;;GAEG;AAEH;IACE;;;;OAIG;IACH,qBAFW,uBAAuB,EA+BjC;IAdC,iBAAyE;IACzE,oBAC4D;IAC5D,eAA2B;IAa7B;;;;;OAKG;IACH,gCAHW,QAAQ,WACR,uBAAuB,QAmCjC;IAlBC,2DAA2D;IAC3D,mBAA+C;IAC/C,eAAuC;IACvC,gBAAyC;IAiB3C;;;;OAIG;IACH,2CAsCc,WAHC,KAAK,CAAC,MAAM,CAGJ,KAFP,MAAM,GAAC,SAAS,CA2B/B;CACF;sBA7JqB,wBAAwB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../map/src/enums/index.js"],"names":[],"mappings":""}
|