@edugis-org/webmapx 0.1.7 → 0.1.9

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 (60) hide show
  1. package/dist-lib/{decorate-CWgUV1hU.js → decorate-DnZTfaod.js} +6 -6
  2. package/dist-lib/dist-BIbq3o-p.js +213 -0
  3. package/dist-lib/{dist-Dm6b7XCs.js → dist-CKAaoSoW.js} +2743 -2491
  4. package/dist-lib/{dist-kKlmcBXq.js → dist-CWCNMXMK.js} +1 -1
  5. package/dist-lib/{dist-Ha9LQCut.js → dist-D-5Gmgwo.js} +1 -1
  6. package/dist-lib/{layer-discovery-afWzu5hY.js → layer-discovery-DFP-WHAh.js} +1 -1
  7. package/dist-lib/{leaflet-adapter-D9djjrKv.js → leaflet-adapter-A0rte-c7.js} +1 -1
  8. package/dist-lib/{maplibre-adapter-TFc3e0G9.js → maplibre-adapter-Cy6yX6o7.js} +1 -1
  9. package/dist-lib/ol-tilegrid-Ct4my3IN.js +24 -0
  10. package/dist-lib/openlayers-adapter-B8WtV1tn.js +1462 -0
  11. package/dist-lib/{toast-Cm28o9U6.js → toast-BsoXOdeA.js} +1 -1
  12. package/dist-lib/{webmapx-3d-tool-D4CTD2gB.js → webmapx-3d-tool-CLppA7mK.js} +13 -13
  13. package/dist-lib/{webmapx-base-tool-Dm9NAWLD.js → webmapx-base-tool-DfRa7TlD.js} +1 -1
  14. package/dist-lib/{webmapx-config-edit-tool-BgcSkmmg.js → webmapx-config-edit-tool-BztWspia.js} +21 -21
  15. package/dist-lib/{webmapx-coordinates-tool-GMfztOzE.js → webmapx-coordinates-tool-DnTSkrRG.js} +20 -20
  16. package/dist-lib/{webmapx-core-bundle-BDImi1RE.js → webmapx-core-bundle-CH-5vYXU.js} +607 -1519
  17. package/dist-lib/webmapx-draw-tool-DxQgUF1Q.js +2117 -0
  18. package/dist-lib/{webmapx-geolocation-tool-Rw3-Iad1.js → webmapx-geolocation-tool-DIMh2kIr.js} +26 -25
  19. package/dist-lib/{webmapx-import-layer-tool-DRYviHd5.js → webmapx-import-layer-tool-DMiC1TpU.js} +16 -16
  20. package/dist-lib/{webmapx-info-tool-BJA157cy.js → webmapx-info-tool-D-XbAU9J.js} +56 -56
  21. package/dist-lib/{webmapx-language-osmvector-M5y_lwOg.js → webmapx-language-osmvector-BAw9TR-M.js} +12 -11
  22. package/dist-lib/{webmapx-measure-tool-BXhMJFC6.js → webmapx-measure-tool-CXlg11s8.js} +34 -34
  23. package/dist-lib/{webmapx-modal-tool-eF6Naluv.js → webmapx-modal-tool-Cs7LRrgW.js} +3 -3
  24. package/dist-lib/{webmapx-plugin-tool-D2Hghf9n.js → webmapx-plugin-tool-qe2yTrWB.js} +7 -7
  25. package/dist-lib/{webmapx-print-tool-ob1bOsR5.js → webmapx-print-tool-DrK9sLC7.js} +27 -26
  26. package/dist-lib/{webmapx-search-tool-Cv8BrYvY.js → webmapx-search-tool-H7NisgWH.js} +11 -11
  27. package/dist-lib/webmapx-settings-EHSm-AGU.js +167 -0
  28. package/dist-lib/{webmapx-truearea-tool-CMB4Orm-.js → webmapx-truearea-tool-CSU9mE1D.js} +26 -26
  29. package/dist-lib/{webmapx-view-mode-tool-CUpLNjOj.js → webmapx-view-mode-tool-D1QyQfq8.js} +9 -9
  30. package/dist-lib/webmapx.css +1 -1
  31. package/dist-lib/webmapx.js +42 -41
  32. package/package.json +1 -1
  33. package/dist-lib/WMTS-DCN4zX0-.js +0 -1169
  34. package/dist-lib/alert-GeHlqlN8.js +0 -310
  35. package/dist-lib/button-DFdGkRPQ.js +0 -741
  36. package/dist-lib/checkbox-QoR4S8tV.js +0 -284
  37. package/dist-lib/chunk.36O46B5H-B6ZL7Sm1.js +0 -77
  38. package/dist-lib/chunk.3RPBFEDE-BFO1fHVm.js +0 -138
  39. package/dist-lib/chunk.5JY5FUCG-DTXsslmx.js +0 -1090
  40. package/dist-lib/chunk.6CTB5ZDJ-DjZrBd6Y.js +0 -99
  41. package/dist-lib/chunk.AJ3ENQ5C-Ci7Gm2b6.js +0 -175
  42. package/dist-lib/chunk.LD4M4QGE-CiCfhE8r.js +0 -8
  43. package/dist-lib/chunk.NYIIDP5N-BikXIStD.js +0 -99
  44. package/dist-lib/chunk.RWUUFNUL-DFztA4uV.js +0 -43
  45. package/dist-lib/chunk.SI4ACBFK-CLb9VfMG.js +0 -61
  46. package/dist-lib/chunk.YHLNUJ7P-D-kanrCf.js +0 -503
  47. package/dist-lib/decorators-B35AgiCU.js +0 -351
  48. package/dist-lib/dist-c1PlDAd1.js +0 -2359
  49. package/dist-lib/divider-CPm675yY.js +0 -41
  50. package/dist-lib/icon-CEOgWlro.js +0 -9
  51. package/dist-lib/icon-button-Da_nBTy3.js +0 -408
  52. package/dist-lib/input-CeGntPlT.js +0 -590
  53. package/dist-lib/ol-tilegrid-9VtyxaLG.js +0 -64
  54. package/dist-lib/openlayers-adapter-DVW1KCRv.js +0 -13307
  55. package/dist-lib/option-CBxl1mZP.js +0 -1106
  56. package/dist-lib/rbush-C8k41T4z.js +0 -254
  57. package/dist-lib/spinner-DysxdNG9.js +0 -6
  58. package/dist-lib/tooltip-Cucn1SiD.js +0 -197
  59. package/dist-lib/webmapx-draw-tool-DooAV8cF.js +0 -4336
  60. package/dist-lib/webmapx-settings-DDEJ8aoV.js +0 -479
@@ -1,351 +0,0 @@
1
- //#region node_modules/@lit/reactive-element/decorators/custom-element.js
2
- var e = (e) => (t, n) => {
3
- n === void 0 ? customElements.define(e, t) : n.addInitializer((() => {
4
- customElements.define(e, t);
5
- }));
6
- }, t = globalThis, n = t.ShadowRoot && (t.ShadyCSS === void 0 || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, r = Symbol(), i = /* @__PURE__ */ new WeakMap(), a = class {
7
- constructor(e, t, n) {
8
- if (this._$cssResult$ = !0, n !== r) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
- this.cssText = e, this.t = t;
10
- }
11
- get styleSheet() {
12
- let e = this.o, t = this.t;
13
- if (n && e === void 0) {
14
- let n = t !== void 0 && t.length === 1;
15
- n && (e = i.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && i.set(t, e));
16
- }
17
- return e;
18
- }
19
- toString() {
20
- return this.cssText;
21
- }
22
- }, o = (e) => new a(typeof e == "string" ? e : e + "", void 0, r), s = (e, r) => {
23
- if (n) e.adoptedStyleSheets = r.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
24
- else for (let n of r) {
25
- let r = document.createElement("style"), i = t.litNonce;
26
- i !== void 0 && r.setAttribute("nonce", i), r.textContent = n.cssText, e.appendChild(r);
27
- }
28
- }, c = n ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((e) => {
29
- let t = "";
30
- for (let n of e.cssRules) t += n.cssText;
31
- return o(t);
32
- })(e) : e, { is: l, defineProperty: u, getOwnPropertyDescriptor: d, getOwnPropertyNames: f, getOwnPropertySymbols: p, getPrototypeOf: m } = Object, h = globalThis, g = h.trustedTypes, _ = g ? g.emptyScript : "", v = h.reactiveElementPolyfillSupport, y = (e, t) => e, b = {
33
- toAttribute(e, t) {
34
- switch (t) {
35
- case Boolean:
36
- e = e ? _ : null;
37
- break;
38
- case Object:
39
- case Array: e = e == null ? e : JSON.stringify(e);
40
- }
41
- return e;
42
- },
43
- fromAttribute(e, t) {
44
- let n = e;
45
- switch (t) {
46
- case Boolean:
47
- n = e !== null;
48
- break;
49
- case Number:
50
- n = e === null ? null : Number(e);
51
- break;
52
- case Object:
53
- case Array: try {
54
- n = JSON.parse(e);
55
- } catch {
56
- n = null;
57
- }
58
- }
59
- return n;
60
- }
61
- }, x = (e, t) => !l(e, t), S = {
62
- attribute: !0,
63
- type: String,
64
- converter: b,
65
- reflect: !1,
66
- useDefault: !1,
67
- hasChanged: x
68
- };
69
- Symbol.metadata ??= Symbol("metadata"), h.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
70
- var C = class extends HTMLElement {
71
- static addInitializer(e) {
72
- this._$Ei(), (this.l ??= []).push(e);
73
- }
74
- static get observedAttributes() {
75
- return this.finalize(), this._$Eh && [...this._$Eh.keys()];
76
- }
77
- static createProperty(e, t = S) {
78
- if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
79
- let n = Symbol(), r = this.getPropertyDescriptor(e, n, t);
80
- r !== void 0 && u(this.prototype, e, r);
81
- }
82
- }
83
- static getPropertyDescriptor(e, t, n) {
84
- let { get: r, set: i } = d(this.prototype, e) ?? {
85
- get() {
86
- return this[t];
87
- },
88
- set(e) {
89
- this[t] = e;
90
- }
91
- };
92
- return {
93
- get: r,
94
- set(t) {
95
- let a = r?.call(this);
96
- i?.call(this, t), this.requestUpdate(e, a, n);
97
- },
98
- configurable: !0,
99
- enumerable: !0
100
- };
101
- }
102
- static getPropertyOptions(e) {
103
- return this.elementProperties.get(e) ?? S;
104
- }
105
- static _$Ei() {
106
- if (this.hasOwnProperty(y("elementProperties"))) return;
107
- let e = m(this);
108
- e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
- }
110
- static finalize() {
111
- if (this.hasOwnProperty(y("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(y("properties"))) {
113
- let e = this.properties, t = [...f(e), ...p(e)];
114
- for (let n of t) this.createProperty(n, e[n]);
115
- }
116
- let e = this[Symbol.metadata];
117
- if (e !== null) {
118
- let t = litPropertyMetadata.get(e);
119
- if (t !== void 0) for (let [e, n] of t) this.elementProperties.set(e, n);
120
- }
121
- this._$Eh = /* @__PURE__ */ new Map();
122
- for (let [e, t] of this.elementProperties) {
123
- let n = this._$Eu(e, t);
124
- n !== void 0 && this._$Eh.set(n, e);
125
- }
126
- this.elementStyles = this.finalizeStyles(this.styles);
127
- }
128
- static finalizeStyles(e) {
129
- let t = [];
130
- if (Array.isArray(e)) {
131
- let n = new Set(e.flat(Infinity).reverse());
132
- for (let e of n) t.unshift(c(e));
133
- } else e !== void 0 && t.push(c(e));
134
- return t;
135
- }
136
- static _$Eu(e, t) {
137
- let n = t.attribute;
138
- return !1 === n ? void 0 : typeof n == "string" ? n : typeof e == "string" ? e.toLowerCase() : void 0;
139
- }
140
- constructor() {
141
- super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
142
- }
143
- _$Ev() {
144
- this._$ES = new Promise(((e) => this.enableUpdating = e)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((e) => e(this)));
145
- }
146
- addController(e) {
147
- (this._$EO ??= /* @__PURE__ */ new Set()).add(e), this.renderRoot !== void 0 && this.isConnected && e.hostConnected?.();
148
- }
149
- removeController(e) {
150
- this._$EO?.delete(e);
151
- }
152
- _$E_() {
153
- let e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
154
- for (let n of t.keys()) this.hasOwnProperty(n) && (e.set(n, this[n]), delete this[n]);
155
- e.size > 0 && (this._$Ep = e);
156
- }
157
- createRenderRoot() {
158
- let e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
159
- return s(e, this.constructor.elementStyles), e;
160
- }
161
- connectedCallback() {
162
- this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach(((e) => e.hostConnected?.()));
163
- }
164
- enableUpdating(e) {}
165
- disconnectedCallback() {
166
- this._$EO?.forEach(((e) => e.hostDisconnected?.()));
167
- }
168
- attributeChangedCallback(e, t, n) {
169
- this._$AK(e, n);
170
- }
171
- _$ET(e, t) {
172
- let n = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, n);
173
- if (r !== void 0 && !0 === n.reflect) {
174
- let i = (n.converter?.toAttribute === void 0 ? b : n.converter).toAttribute(t, n.type);
175
- this._$Em = e, i == null ? this.removeAttribute(r) : this.setAttribute(r, i), this._$Em = null;
176
- }
177
- }
178
- _$AK(e, t) {
179
- let n = this.constructor, r = n._$Eh.get(e);
180
- if (r !== void 0 && this._$Em !== r) {
181
- let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ? b : e.converter;
182
- this._$Em = r;
183
- let a = i.fromAttribute(t, e.type);
184
- this[r] = a ?? this._$Ej?.get(r) ?? a, this._$Em = null;
185
- }
186
- }
187
- requestUpdate(e, t, n) {
188
- if (e !== void 0) {
189
- let r = this.constructor, i = this[e];
190
- if (n ??= r.getPropertyOptions(e), !((n.hasChanged ?? x)(i, t) || n.useDefault && n.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(r._$Eu(e, n)))) return;
191
- this.C(e, t, n);
192
- }
193
- !1 === this.isUpdatePending && (this._$ES = this._$EP());
194
- }
195
- C(e, t, { useDefault: n, reflect: r, wrapped: i }, a) {
196
- n && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, a ?? t ?? this[e]), !0 !== i || a !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (t = void 0), this._$AL.set(e, t)), !0 === r && this._$Em !== e && (this._$Eq ??= /* @__PURE__ */ new Set()).add(e));
197
- }
198
- async _$EP() {
199
- this.isUpdatePending = !0;
200
- try {
201
- await this._$ES;
202
- } catch (e) {
203
- Promise.reject(e);
204
- }
205
- let e = this.scheduleUpdate();
206
- return e != null && await e, !this.isUpdatePending;
207
- }
208
- scheduleUpdate() {
209
- return this.performUpdate();
210
- }
211
- performUpdate() {
212
- if (!this.isUpdatePending) return;
213
- if (!this.hasUpdated) {
214
- if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
215
- for (let [e, t] of this._$Ep) this[e] = t;
216
- this._$Ep = void 0;
217
- }
218
- let e = this.constructor.elementProperties;
219
- if (e.size > 0) for (let [t, n] of e) {
220
- let { wrapped: e } = n, r = this[t];
221
- !0 !== e || this._$AL.has(t) || r === void 0 || this.C(t, void 0, n, r);
222
- }
223
- }
224
- let e = !1, t = this._$AL;
225
- try {
226
- e = this.shouldUpdate(t), e ? (this.willUpdate(t), this._$EO?.forEach(((e) => e.hostUpdate?.())), this.update(t)) : this._$EM();
227
- } catch (t) {
228
- throw e = !1, this._$EM(), t;
229
- }
230
- e && this._$AE(t);
231
- }
232
- willUpdate(e) {}
233
- _$AE(e) {
234
- this._$EO?.forEach(((e) => e.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
235
- }
236
- _$EM() {
237
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
238
- }
239
- get updateComplete() {
240
- return this.getUpdateComplete();
241
- }
242
- getUpdateComplete() {
243
- return this._$ES;
244
- }
245
- shouldUpdate(e) {
246
- return !0;
247
- }
248
- update(e) {
249
- this._$Eq &&= this._$Eq.forEach(((e) => this._$ET(e, this[e]))), this._$EM();
250
- }
251
- updated(e) {}
252
- firstUpdated(e) {}
253
- };
254
- C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[y("elementProperties")] = /* @__PURE__ */ new Map(), C[y("finalized")] = /* @__PURE__ */ new Map(), v?.({ ReactiveElement: C }), (h.reactiveElementVersions ??= []).push("2.1.1");
255
- //#endregion
256
- //#region node_modules/@lit/reactive-element/decorators/property.js
257
- var w = {
258
- attribute: !0,
259
- type: String,
260
- converter: b,
261
- reflect: !1,
262
- hasChanged: x
263
- }, T = (e = w, t, n) => {
264
- let { kind: r, metadata: i } = n, a = globalThis.litPropertyMetadata.get(i);
265
- if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), a.set(n.name, e), r === "accessor") {
266
- let { name: r } = n;
267
- return {
268
- set(n) {
269
- let i = t.get.call(this);
270
- t.set.call(this, n), this.requestUpdate(r, i, e);
271
- },
272
- init(t) {
273
- return t !== void 0 && this.C(r, void 0, e, t), t;
274
- }
275
- };
276
- }
277
- if (r === "setter") {
278
- let { name: r } = n;
279
- return function(n) {
280
- let i = this[r];
281
- t.call(this, n), this.requestUpdate(r, i, e);
282
- };
283
- }
284
- throw Error("Unsupported decorator location: " + r);
285
- };
286
- function E(e) {
287
- return (t, n) => typeof n == "object" ? T(e, t, n) : ((e, t, n) => {
288
- let r = t.hasOwnProperty(n);
289
- return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
290
- })(e, t, n);
291
- }
292
- //#endregion
293
- //#region node_modules/@lit/reactive-element/decorators/state.js
294
- function D(e) {
295
- return E({
296
- ...e,
297
- state: !0,
298
- attribute: !1
299
- });
300
- }
301
- //#endregion
302
- //#region node_modules/@lit/reactive-element/decorators/event-options.js
303
- function O(e) {
304
- return (t, n) => {
305
- let r = typeof t == "function" ? t : t[n];
306
- Object.assign(r, e);
307
- };
308
- }
309
- //#endregion
310
- //#region node_modules/@lit/reactive-element/decorators/base.js
311
- var k = (e, t, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, n), n);
312
- //#endregion
313
- //#region node_modules/@lit/reactive-element/decorators/query.js
314
- function A(e, t) {
315
- return (n, r, i) => {
316
- let a = (t) => t.renderRoot?.querySelector(e) ?? null;
317
- if (t) {
318
- let { get: e, set: t } = typeof r == "object" ? n : i ?? (() => {
319
- let e = Symbol();
320
- return {
321
- get() {
322
- return this[e];
323
- },
324
- set(t) {
325
- this[e] = t;
326
- }
327
- };
328
- })();
329
- return k(n, r, { get() {
330
- let n = e.call(this);
331
- return n === void 0 && (n = a(this), (n !== null || this.hasUpdated) && t.call(this, n)), n;
332
- } });
333
- }
334
- return k(n, r, { get() {
335
- return a(this);
336
- } });
337
- };
338
- }
339
- //#endregion
340
- //#region node_modules/@lit/reactive-element/decorators/query-assigned-elements.js
341
- function j(e) {
342
- return (t, n) => {
343
- let { slot: r, selector: i } = e ?? {}, a = "slot" + (r ? `[name=${r}]` : ":not([name])");
344
- return k(t, n, { get() {
345
- let t = (this.renderRoot?.querySelector(a))?.assignedElements(e) ?? [];
346
- return i === void 0 ? t : t.filter(((e) => e.matches(i)));
347
- } });
348
- };
349
- }
350
- //#endregion
351
- export { E as a, D as i, A as n, e as o, O as r, j as t };