@edugis-org/webmapx 0.1.0
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/README.md +149 -0
- package/dist-lib/WMTS-DCN4zX0-.js +1169 -0
- package/dist-lib/alert-GeHlqlN8.js +310 -0
- package/dist-lib/assets/epsg-lookup.worker-J7TVnHDq.js +1 -0
- package/dist-lib/assets/shapefile.worker-kQfZj6G2.js +4 -0
- package/dist-lib/attribution-format-B4f05_u0.js +62 -0
- package/dist-lib/button-DFdGkRPQ.js +741 -0
- package/dist-lib/cesium-adapter-BHXNytkU.js +1488 -0
- package/dist-lib/checkbox-QoR4S8tV.js +284 -0
- package/dist-lib/chunk-HEgqtunE.js +20 -0
- package/dist-lib/chunk.36O46B5H-B6ZL7Sm1.js +77 -0
- package/dist-lib/chunk.3RPBFEDE-BFO1fHVm.js +138 -0
- package/dist-lib/chunk.5JY5FUCG-DTXsslmx.js +1090 -0
- package/dist-lib/chunk.6CTB5ZDJ-DjZrBd6Y.js +99 -0
- package/dist-lib/chunk.AJ3ENQ5C-Ci7Gm2b6.js +175 -0
- package/dist-lib/chunk.LD4M4QGE-CiCfhE8r.js +8 -0
- package/dist-lib/chunk.NYIIDP5N-BikXIStD.js +99 -0
- package/dist-lib/chunk.RWUUFNUL-DFztA4uV.js +43 -0
- package/dist-lib/chunk.SI4ACBFK-CLb9VfMG.js +61 -0
- package/dist-lib/chunk.YHLNUJ7P-D-kanrCf.js +503 -0
- package/dist-lib/core-CMAlSR68.js +22 -0
- package/dist-lib/decorate-CWgUV1hU.js +1139 -0
- package/dist-lib/decorators-B35AgiCU.js +351 -0
- package/dist-lib/deferred-query-service-BJDcngw6.js +386 -0
- package/dist-lib/dist-Dm6b7XCs.js +12318 -0
- package/dist-lib/dist-Ha9LQCut.js +244 -0
- package/dist-lib/dist-c1PlDAd1.js +2359 -0
- package/dist-lib/dist-kKlmcBXq.js +50 -0
- package/dist-lib/divider-CPm675yY.js +41 -0
- package/dist-lib/dropped-config-C_GyVa8o.js +17 -0
- package/dist-lib/dropped-layer-builder-DAaYgUPk.js +396 -0
- package/dist-lib/epsg-definitions-BZLZWa8Q.js +668 -0
- package/dist-lib/esm-CTuscnN5.js +46 -0
- package/dist-lib/file-sniff-Dhxj3KTF.js +251 -0
- package/dist-lib/geo-calculations-DbFJAUoI.js +30 -0
- package/dist-lib/icon-CEOgWlro.js +9 -0
- package/dist-lib/icon-button-Da_nBTy3.js +408 -0
- package/dist-lib/input-CeGntPlT.js +590 -0
- package/dist-lib/layer-discovery-afWzu5hY.js +2825 -0
- package/dist-lib/leaflet-adapter-D9djjrKv.js +1227 -0
- package/dist-lib/lib-CdHVicAE.js +4074 -0
- package/dist-lib/map-layer-registry-2cmkiRDK.js +62 -0
- package/dist-lib/maplibre-adapter-TFc3e0G9.js +1190 -0
- package/dist-lib/maplibre-expression-evaluator-DCWUcpwf.js +7233 -0
- package/dist-lib/marker-utils-DztWXeop.js +12 -0
- package/dist-lib/ol-tilegrid-9VtyxaLG.js +64 -0
- package/dist-lib/openlayers-adapter-DVW1KCRv.js +13307 -0
- package/dist-lib/option-CBxl1mZP.js +1106 -0
- package/dist-lib/papaparse.min-B7v3c0D7.js +501 -0
- package/dist-lib/rbush-C8k41T4z.js +254 -0
- package/dist-lib/shapefile-SawVY6xg.js +207 -0
- package/dist-lib/spinner-DysxdNG9.js +6 -0
- package/dist-lib/src-CL94RDe3.js +111 -0
- package/dist-lib/throttle-BeneRNYK.js +16 -0
- package/dist-lib/toast-Cm28o9U6.js +15 -0
- package/dist-lib/togeojson.es-DAgiTBvg.js +579 -0
- package/dist-lib/tooltip-Cucn1SiD.js +197 -0
- package/dist-lib/webmapx-3d-tool-D4CTD2gB.js +176 -0
- package/dist-lib/webmapx-base-tool-Dm9NAWLD.js +75 -0
- package/dist-lib/webmapx-config-edit-tool-DCTyxqTk.js +389 -0
- package/dist-lib/webmapx-coordinates-tool-jeWohup9.js +648 -0
- package/dist-lib/webmapx-core-bundle-BDImi1RE.js +8203 -0
- package/dist-lib/webmapx-draw-tool-DooAV8cF.js +4336 -0
- package/dist-lib/webmapx-geolocation-tool-Rw3-Iad1.js +788 -0
- package/dist-lib/webmapx-import-layer-tool-DRYviHd5.js +250 -0
- package/dist-lib/webmapx-info-tool-BJA157cy.js +412 -0
- package/dist-lib/webmapx-language-osmvector-M5y_lwOg.js +489 -0
- package/dist-lib/webmapx-measure-tool-BXhMJFC6.js +590 -0
- package/dist-lib/webmapx-modal-tool-eF6Naluv.js +84 -0
- package/dist-lib/webmapx-plugin-tool-D2Hghf9n.js +45 -0
- package/dist-lib/webmapx-print-tool-ob1bOsR5.js +348 -0
- package/dist-lib/webmapx-search-tool-Cv8BrYvY.js +437 -0
- package/dist-lib/webmapx-settings-DDEJ8aoV.js +479 -0
- package/dist-lib/webmapx-truearea-tool-CMB4Orm-.js +615 -0
- package/dist-lib/webmapx-view-mode-tool-CUpLNjOj.js +106 -0
- package/dist-lib/webmapx.css +2 -0
- package/dist-lib/webmapx.js +1321 -0
- package/dist-lib/wms-feature-info-C0RVMEQC.js +145 -0
- package/dist-lib/wms-url-builder-DIJLQ1v2.js +54 -0
- package/dist-lib/zip.js-DVhmtjxZ.js +3615 -0
- package/package.json +107 -0
- package/public/data/country-epsg-codes.json +297 -0
- package/public/data/world-countries-simplified.topojson +1 -0
- package/src/locales/en/core.json +20 -0
|
@@ -0,0 +1,351 @@
|
|
|
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 };
|