@edugis-org/webmapx 0.1.8 → 0.1.10

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 (45) hide show
  1. package/dist-lib/alert-C_G5X6J8.js +311 -0
  2. package/dist-lib/button-BlZd3WPH.js +744 -0
  3. package/dist-lib/checkbox-DB4oPyyw.js +287 -0
  4. package/dist-lib/chunk.36O46B5H-km1dakSW.js +77 -0
  5. package/dist-lib/chunk.3RPBFEDE-Cxq6VVR6.js +138 -0
  6. package/dist-lib/chunk.3Y6SB6QS-DUJ8Ickw.js +18 -0
  7. package/dist-lib/chunk.5JY5FUCG-CYkzbQXS.js +1071 -0
  8. package/dist-lib/chunk.6CTB5ZDJ-DjZrBd6Y.js +99 -0
  9. package/dist-lib/chunk.AJ3ENQ5C-DXVGX5Dn.js +177 -0
  10. package/dist-lib/chunk.LD4M4QGE-CiCfhE8r.js +8 -0
  11. package/dist-lib/chunk.NYIIDP5N-B4UCI-rQ.js +34 -0
  12. package/dist-lib/chunk.RWUUFNUL-DFztA4uV.js +43 -0
  13. package/dist-lib/chunk.SI4ACBFK-CLb9VfMG.js +61 -0
  14. package/dist-lib/chunk.YHLNUJ7P-ByKy0MKm.js +251 -0
  15. package/dist-lib/{decorate-DnZTfaod.js → decorate-CKr8yG1g.js} +1 -1
  16. package/dist-lib/divider-BOFbR_Ny.js +41 -0
  17. package/dist-lib/icon-CBNpO1lq.js +9 -0
  18. package/dist-lib/icon-button-B5rXu3Gg.js +410 -0
  19. package/dist-lib/input-B212BH6L.js +575 -0
  20. package/dist-lib/option-BQN9Zz_8.js +1108 -0
  21. package/dist-lib/spinner-DdcBaa3z.js +6 -0
  22. package/dist-lib/{toast-BsoXOdeA.js → toast-Bq2PmEpm.js} +1 -1
  23. package/dist-lib/tooltip-CBGOiZwJ.js +197 -0
  24. package/dist-lib/{webmapx-3d-tool-CLppA7mK.js → webmapx-3d-tool-CKoLGMpk.js} +2 -2
  25. package/dist-lib/{webmapx-base-tool-DfRa7TlD.js → webmapx-base-tool-Bc9Wz0yA.js} +1 -1
  26. package/dist-lib/{webmapx-config-edit-tool-BztWspia.js → webmapx-config-edit-tool-7265_DNz.js} +7 -7
  27. package/dist-lib/{webmapx-coordinates-tool-EOqZodjr.js → webmapx-coordinates-tool-nwlckVn6.js} +3 -3
  28. package/dist-lib/{webmapx-core-bundle-CH-5vYXU.js → webmapx-core-bundle-Q6mWOib1.js} +1579 -671
  29. package/dist-lib/webmapx-draw-tool-6QRr5Gip.js +4315 -0
  30. package/dist-lib/{webmapx-geolocation-tool-DIMh2kIr.js → webmapx-geolocation-tool-qxN5aaVB.js} +6 -7
  31. package/dist-lib/{webmapx-import-layer-tool-DMiC1TpU.js → webmapx-import-layer-tool-tJ374qHR.js} +2 -2
  32. package/dist-lib/{webmapx-info-tool-D-XbAU9J.js → webmapx-info-tool-C3txgv3v.js} +4 -4
  33. package/dist-lib/{webmapx-language-osmvector-BAw9TR-M.js → webmapx-language-osmvector-jQzTOPU1.js} +3 -4
  34. package/dist-lib/{webmapx-measure-tool-CXlg11s8.js → webmapx-measure-tool-Cxxrzgdf.js} +4 -4
  35. package/dist-lib/{webmapx-modal-tool-Cs7LRrgW.js → webmapx-modal-tool-DQVHNXqX.js} +2 -2
  36. package/dist-lib/{webmapx-plugin-tool-qe2yTrWB.js → webmapx-plugin-tool-BNZ61x6s.js} +1 -1
  37. package/dist-lib/{webmapx-print-tool-DrK9sLC7.js → webmapx-print-tool-BDOTbS6u.js} +7 -8
  38. package/dist-lib/{webmapx-search-tool-H7NisgWH.js → webmapx-search-tool-CHlsE2Wx.js} +2 -2
  39. package/dist-lib/webmapx-settings-B0AT9Vjn.js +482 -0
  40. package/dist-lib/{webmapx-truearea-tool-CSU9mE1D.js → webmapx-truearea-tool-dxSgcbOj.js} +2 -2
  41. package/dist-lib/{webmapx-view-mode-tool-D1QyQfq8.js → webmapx-view-mode-tool-DVSMakdh.js} +2 -2
  42. package/dist-lib/webmapx.js +312 -310
  43. package/package.json +1 -1
  44. package/dist-lib/webmapx-draw-tool-DxQgUF1Q.js +0 -2117
  45. package/dist-lib/webmapx-settings-EHSm-AGU.js +0 -167
@@ -0,0 +1,251 @@
1
+ import { t as e } from "./chunk.3Y6SB6QS-DUJ8Ickw.js";
2
+ import { LitElement as t, css as n, html as r } from "lit";
3
+ import { property as i, state as a } from "lit/decorators.js";
4
+ import { isTemplateResult as o } from "lit/directive-helpers.js";
5
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.KAW7D32O.js
6
+ var s = Object.defineProperty, c = Object.defineProperties, l = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyDescriptors, d = Object.getOwnPropertySymbols, f = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable, m = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), h = (e) => {
7
+ throw TypeError(e);
8
+ }, g = (e, t, n) => t in e ? s(e, t, {
9
+ enumerable: !0,
10
+ configurable: !0,
11
+ writable: !0,
12
+ value: n
13
+ }) : e[t] = n, _ = (e, t) => {
14
+ for (var n in t ||= {}) f.call(t, n) && g(e, n, t[n]);
15
+ if (d) for (var n of d(t)) p.call(t, n) && g(e, n, t[n]);
16
+ return e;
17
+ }, v = (e, t) => c(e, u(t)), y = (e, t, n, r) => {
18
+ for (var i = r > 1 ? void 0 : r ? l(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
19
+ return r && i && s(t, n, i), i;
20
+ }, b = (e, t, n) => t.has(e) || h("Cannot " + n), x = (e, t, n) => (b(e, t, "read from private field"), n ? n.call(e) : t.get(e)), S = (e, t, n) => t.has(e) ? h("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), C = (e, t, n, r) => (b(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), w = function(e, t) {
21
+ this[0] = e, this[1] = t;
22
+ }, T = (e) => {
23
+ var t = e[m("asyncIterator")], n = !1, r, i = {};
24
+ return t == null ? (t = e[m("iterator")](), r = (e) => i[e] = (n) => t[e](n)) : (t = t.call(e), r = (e) => i[e] = (r) => {
25
+ if (n) {
26
+ if (n = !1, e === "throw") throw r;
27
+ return r;
28
+ }
29
+ return n = !0, {
30
+ done: !1,
31
+ value: new w(new Promise((n) => {
32
+ var i = t[e](r);
33
+ i instanceof Object || h("Object expected"), n(i);
34
+ }), 1)
35
+ };
36
+ }), i[m("iterator")] = () => i, r("next"), "throw" in t ? r("throw") : i.throw = (e) => {
37
+ throw e;
38
+ }, "return" in t && r("return"), i;
39
+ }, E = {
40
+ name: "default",
41
+ resolver: (t) => e(`assets/icons/${t}.svg`)
42
+ }, D = {
43
+ caret: "\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <polyline points=\"6 9 12 15 18 9\"></polyline>\n </svg>\n ",
44
+ check: "\n <svg part=\"checked-icon\" class=\"checkbox__icon\" viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\">\n <g transform=\"translate(3.428571, 3.428571)\">\n <path d=\"M0,5.71428571 L3.42857143,9.14285714\"></path>\n <path d=\"M9.14285714,0 L3.42857143,9.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n ",
45
+ "chevron-down": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-chevron-down\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"/>\n </svg>\n ",
46
+ "chevron-left": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-chevron-left\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z\"/>\n </svg>\n ",
47
+ "chevron-right": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-chevron-right\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z\"/>\n </svg>\n ",
48
+ copy: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-copy\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z\"/>\n </svg>\n ",
49
+ eye: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eye\" viewBox=\"0 0 16 16\">\n <path d=\"M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z\"/>\n <path d=\"M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z\"/>\n </svg>\n ",
50
+ "eye-slash": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eye-slash\" viewBox=\"0 0 16 16\">\n <path d=\"M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z\"/>\n <path d=\"M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z\"/>\n <path d=\"M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z\"/>\n </svg>\n ",
51
+ eyedropper: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eyedropper\" viewBox=\"0 0 16 16\">\n <path d=\"M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z\"></path>\n </svg>\n ",
52
+ "grip-vertical": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-grip-vertical\" viewBox=\"0 0 16 16\">\n <path d=\"M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\"></path>\n </svg>\n ",
53
+ indeterminate: "\n <svg part=\"indeterminate-icon\" class=\"checkbox__icon\" viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\" stroke-width=\"2\">\n <g transform=\"translate(2.285714, 6.857143)\">\n <path d=\"M10.2857143,1.14285714 L1.14285714,1.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n ",
54
+ "person-fill": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-person-fill\" viewBox=\"0 0 16 16\">\n <path d=\"M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z\"/>\n </svg>\n ",
55
+ "play-fill": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-play-fill\" viewBox=\"0 0 16 16\">\n <path d=\"m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z\"></path>\n </svg>\n ",
56
+ "pause-fill": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-pause-fill\" viewBox=\"0 0 16 16\">\n <path d=\"M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z\"></path>\n </svg>\n ",
57
+ radio: "\n <svg part=\"checked-icon\" class=\"radio__icon\" viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"currentColor\">\n <circle cx=\"8\" cy=\"8\" r=\"3.42857143\"></circle>\n </g>\n </g>\n </svg>\n ",
58
+ "star-fill": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-star-fill\" viewBox=\"0 0 16 16\">\n <path d=\"M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z\"/>\n </svg>\n ",
59
+ "x-lg": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-x-lg\" viewBox=\"0 0 16 16\">\n <path d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"/>\n </svg>\n ",
60
+ "x-circle-fill": "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-x-circle-fill\" viewBox=\"0 0 16 16\">\n <path d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z\"></path>\n </svg>\n "
61
+ }, O = [E, {
62
+ name: "system",
63
+ resolver: (e) => e in D ? `data:image/svg+xml,${encodeURIComponent(D[e])}` : ""
64
+ }], k = [];
65
+ function A(e) {
66
+ k.push(e);
67
+ }
68
+ function j(e) {
69
+ k = k.filter((t) => t !== e);
70
+ }
71
+ function M(e) {
72
+ return O.find((t) => t.name === e);
73
+ }
74
+ //#endregion
75
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.QLXRCYS4.js
76
+ var N = n`
77
+ :host {
78
+ display: inline-block;
79
+ width: 1em;
80
+ height: 1em;
81
+ box-sizing: content-box !important;
82
+ }
83
+
84
+ svg {
85
+ display: block;
86
+ height: 100%;
87
+ width: 100%;
88
+ }
89
+ `;
90
+ //#endregion
91
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.GMYPQTFK.js
92
+ function P(e, t) {
93
+ let n = _({ waitUntilFirstUpdate: !1 }, t);
94
+ return (t, r) => {
95
+ let { update: i } = t, a = Array.isArray(e) ? e : [e];
96
+ t.update = function(e) {
97
+ a.forEach((t) => {
98
+ let i = t;
99
+ if (e.has(i)) {
100
+ let t = e.get(i), a = this[i];
101
+ t !== a && (!n.waitUntilFirstUpdate || this.hasUpdated) && this[r](t, a);
102
+ }
103
+ }), i.call(this, e);
104
+ };
105
+ };
106
+ }
107
+ //#endregion
108
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.TUVJKY7S.js
109
+ var F = n`
110
+ :host {
111
+ box-sizing: border-box;
112
+ }
113
+
114
+ :host *,
115
+ :host *::before,
116
+ :host *::after {
117
+ box-sizing: inherit;
118
+ }
119
+
120
+ [hidden] {
121
+ display: none !important;
122
+ }
123
+ `, I, L = class extends t {
124
+ constructor() {
125
+ super(), S(this, I, !1), this.initialReflectedProperties = /* @__PURE__ */ new Map(), Object.entries(this.constructor.dependencies).forEach(([e, t]) => {
126
+ this.constructor.define(e, t);
127
+ });
128
+ }
129
+ emit(e, t) {
130
+ let n = new CustomEvent(e, _({
131
+ bubbles: !0,
132
+ cancelable: !1,
133
+ composed: !0,
134
+ detail: {}
135
+ }, t));
136
+ return this.dispatchEvent(n), n;
137
+ }
138
+ static define(e, t = this, n = {}) {
139
+ let r = customElements.get(e);
140
+ if (!r) {
141
+ try {
142
+ customElements.define(e, t, n);
143
+ } catch {
144
+ customElements.define(e, class extends t {}, n);
145
+ }
146
+ return;
147
+ }
148
+ let i = " (unknown version)", a = i;
149
+ "version" in t && t.version && (i = " v" + t.version), "version" in r && r.version && (a = " v" + r.version), !(i && a && i === a) && console.warn(`Attempted to register <${e}>${i}, but <${e}>${a} has already been registered.`);
150
+ }
151
+ attributeChangedCallback(e, t, n) {
152
+ x(this, I) || (this.constructor.elementProperties.forEach((e, t) => {
153
+ e.reflect && this[t] != null && this.initialReflectedProperties.set(t, this[t]);
154
+ }), C(this, I, !0)), super.attributeChangedCallback(e, t, n);
155
+ }
156
+ willUpdate(e) {
157
+ super.willUpdate(e), this.initialReflectedProperties.forEach((t, n) => {
158
+ e.has(n) && this[n] == null && (this[n] = t);
159
+ });
160
+ }
161
+ };
162
+ I = /* @__PURE__ */ new WeakMap(), L.version = "2.20.1", L.dependencies = {}, y([i()], L.prototype, "dir", 2), y([i()], L.prototype, "lang", 2);
163
+ //#endregion
164
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.YHLNUJ7P.js
165
+ var R = Symbol(), z = Symbol(), B, V = /* @__PURE__ */ new Map(), H = class extends L {
166
+ constructor() {
167
+ super(...arguments), this.initialRender = !1, this.svg = null, this.label = "", this.library = "default";
168
+ }
169
+ async resolveIcon(e, t) {
170
+ let n;
171
+ if (t?.spriteSheet) return this.svg = r`<svg part="svg">
172
+ <use part="use" href="${e}"></use>
173
+ </svg>`, this.svg;
174
+ try {
175
+ if (n = await fetch(e, { mode: "cors" }), !n.ok) return n.status === 410 ? R : z;
176
+ } catch {
177
+ return z;
178
+ }
179
+ try {
180
+ let e = document.createElement("div");
181
+ e.innerHTML = await n.text();
182
+ let t = e.firstElementChild;
183
+ if ((t?.tagName)?.toLowerCase() !== "svg") return R;
184
+ B ||= new DOMParser();
185
+ let r = B.parseFromString(t.outerHTML, "text/html").body.querySelector("svg");
186
+ return r ? (r.part.add("svg"), document.adoptNode(r)) : R;
187
+ } catch {
188
+ return R;
189
+ }
190
+ }
191
+ connectedCallback() {
192
+ super.connectedCallback(), A(this);
193
+ }
194
+ firstUpdated() {
195
+ this.initialRender = !0, this.setIcon();
196
+ }
197
+ disconnectedCallback() {
198
+ super.disconnectedCallback(), j(this);
199
+ }
200
+ getIconSource() {
201
+ let e = M(this.library);
202
+ return this.name && e ? {
203
+ url: e.resolver(this.name),
204
+ fromLibrary: !0
205
+ } : {
206
+ url: this.src,
207
+ fromLibrary: !1
208
+ };
209
+ }
210
+ handleLabelChange() {
211
+ typeof this.label == "string" && this.label.length > 0 ? (this.setAttribute("role", "img"), this.setAttribute("aria-label", this.label), this.removeAttribute("aria-hidden")) : (this.removeAttribute("role"), this.removeAttribute("aria-label"), this.setAttribute("aria-hidden", "true"));
212
+ }
213
+ async setIcon() {
214
+ var e;
215
+ let { url: t, fromLibrary: n } = this.getIconSource(), r = n ? M(this.library) : void 0;
216
+ if (!t) {
217
+ this.svg = null;
218
+ return;
219
+ }
220
+ let i = V.get(t);
221
+ if (i || (i = this.resolveIcon(t, r), V.set(t, i)), !this.initialRender) return;
222
+ let a = await i;
223
+ if (a === z && V.delete(t), t === this.getIconSource().url) {
224
+ if (o(a)) {
225
+ if (this.svg = a, r) {
226
+ await this.updateComplete;
227
+ let e = this.shadowRoot.querySelector("[part='svg']");
228
+ typeof r.mutator == "function" && e && r.mutator(e);
229
+ }
230
+ return;
231
+ }
232
+ switch (a) {
233
+ case z:
234
+ case R:
235
+ this.svg = null, this.emit("sl-error");
236
+ break;
237
+ default: this.svg = a.cloneNode(!0), (e = r?.mutator) == null || e.call(r, this.svg), this.emit("sl-load");
238
+ }
239
+ }
240
+ }
241
+ render() {
242
+ return this.svg;
243
+ }
244
+ };
245
+ H.styles = [F, N], y([a()], H.prototype, "svg", 2), y([i({ reflect: !0 })], H.prototype, "name", 2), y([i()], H.prototype, "src", 2), y([i()], H.prototype, "label", 2), y([i({ reflect: !0 })], H.prototype, "library", 2), y([P("label")], H.prototype, "handleLabelChange", 1), y([P([
246
+ "name",
247
+ "src",
248
+ "library"
249
+ ])], H.prototype, "setIcon", 1);
250
+ //#endregion
251
+ export { y as a, T as c, P as i, L as n, v as o, F as r, _ as s, H as t };
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./src-CL94RDe3.js";
2
- import { t } from "./toast-BsoXOdeA.js";
2
+ import { t } from "./toast-Bq2PmEpm.js";
3
3
  //#region src/map/adapter-registry.ts
4
4
  var n = /* @__PURE__ */ new Map(), r = "maplibre";
5
5
  function i(e, t) {
@@ -0,0 +1,41 @@
1
+ import { a as e, i as t, n, r } from "./chunk.YHLNUJ7P-ByKy0MKm.js";
2
+ import { css as i } from "lit";
3
+ import { property as a } from "lit/decorators.js";
4
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.SUSCR7CI.js
5
+ var o = i`
6
+ :host {
7
+ --color: var(--sl-panel-border-color);
8
+ --width: var(--sl-panel-border-width);
9
+ --spacing: var(--sl-spacing-medium);
10
+ }
11
+
12
+ :host(:not([vertical])) {
13
+ display: block;
14
+ border-top: solid var(--width) var(--color);
15
+ margin: var(--spacing) 0;
16
+ }
17
+
18
+ :host([vertical]) {
19
+ display: inline-block;
20
+ height: 100%;
21
+ border-left: solid var(--width) var(--color);
22
+ margin: 0 var(--spacing);
23
+ }
24
+ `, s = class extends n {
25
+ constructor() {
26
+ super(...arguments), this.vertical = !1;
27
+ }
28
+ connectedCallback() {
29
+ super.connectedCallback(), this.setAttribute("role", "separator");
30
+ }
31
+ handleVerticalChange() {
32
+ this.setAttribute("aria-orientation", this.vertical ? "vertical" : "horizontal");
33
+ }
34
+ };
35
+ //#endregion
36
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.IVVHNXMC.js
37
+ s.styles = [r, o], e([a({
38
+ type: Boolean,
39
+ reflect: !0
40
+ })], s.prototype, "vertical", 2), e([t("vertical")], s.prototype, "handleVerticalChange", 1), s.define("sl-divider");
41
+ //#endregion
@@ -0,0 +1,9 @@
1
+ import { r as e } from "./chunk-HEgqtunE.js";
2
+ import { t } from "./chunk.YHLNUJ7P-ByKy0MKm.js";
3
+ //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.ZGGPD2XJ.js
4
+ t.define("sl-icon");
5
+ //#endregion
6
+ //#region node_modules/@shoelace-style/shoelace/dist/components/icon/icon.js
7
+ var n = /* @__PURE__ */ e({});
8
+ //#endregion
9
+ export { n as t };