@edugis-org/webmapx 0.1.15 → 0.2.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.
Files changed (43) hide show
  1. package/dist-lib/{alert-C_G5X6J8.js → alert-CM5EIQzP.js} +28 -30
  2. package/dist-lib/{attribution-format-B4f05_u0.js → attribution-format-CZg2WjHO.js} +1 -1
  3. package/dist-lib/{button-BlZd3WPH.js → button-B_8TR-jN.js} +34 -38
  4. package/dist-lib/{checkbox-DB4oPyyw.js → checkbox-DOopjfpt.js} +25 -29
  5. package/dist-lib/{chunk.36O46B5H-km1dakSW.js → chunk.36O46B5H-EYkf8iaY.js} +8 -8
  6. package/dist-lib/{chunk.3RPBFEDE-Cxq6VVR6.js → chunk.3RPBFEDE-DC091CnT.js} +1 -1
  7. package/dist-lib/{chunk.5JY5FUCG-CYkzbQXS.js → chunk.5JY5FUCG-BmZ-LXEt.js} +324 -306
  8. package/dist-lib/{chunk.AJ3ENQ5C-DXVGX5Dn.js → chunk.AJ3ENQ5C-BhSO747I.js} +22 -25
  9. package/dist-lib/chunk.NYIIDP5N-DoNij0Gf.js +99 -0
  10. package/dist-lib/{chunk.SI4ACBFK-CLb9VfMG.js → chunk.SI4ACBFK-CdJVQctt.js} +1 -1
  11. package/dist-lib/{chunk.YHLNUJ7P-ByKy0MKm.js → chunk.YHLNUJ7P-DINaI4pI.js} +22 -24
  12. package/dist-lib/{decorate-CKr8yG1g.js → decorate-DNmmPsJp.js} +1 -1
  13. package/dist-lib/decorators-d8E4nZJy.js +624 -0
  14. package/dist-lib/{divider-BOFbR_Ny.js → divider-Ly2UhLd1.js} +6 -7
  15. package/dist-lib/{icon-CBNpO1lq.js → icon-DIjRqLFJ.js} +1 -1
  16. package/dist-lib/{icon-button-B5rXu3Gg.js → icon-button-C5K3NZWf.js} +39 -42
  17. package/dist-lib/{input-B212BH6L.js → input-DUaeAHt8.js} +63 -49
  18. package/dist-lib/{option-BQN9Zz_8.js → option-LnK7BxuV.js} +56 -59
  19. package/dist-lib/{spinner-DdcBaa3z.js → spinner-D_cltutw.js} +2 -2
  20. package/dist-lib/{toast-Bq2PmEpm.js → toast-DDqkINxT.js} +1 -1
  21. package/dist-lib/{tooltip-CBGOiZwJ.js → tooltip-C86FhPFx.js} +26 -27
  22. package/dist-lib/{webmapx-3d-tool-CKoLGMpk.js → webmapx-3d-tool-DXzN9Tha.js} +6 -7
  23. package/dist-lib/{webmapx-base-tool-Bc9Wz0yA.js → webmapx-base-tool-idjVnrFA.js} +8 -8
  24. package/dist-lib/{webmapx-config-edit-tool-7265_DNz.js → webmapx-config-edit-tool-B14KD1ak.js} +21 -22
  25. package/dist-lib/{webmapx-coordinates-tool-CSwh6fBU.js → webmapx-coordinates-tool-D57LfNy6.js} +25 -26
  26. package/dist-lib/{webmapx-core-bundle-Q6mWOib1.js → webmapx-core-bundle-C4M7AiLh.js} +726 -723
  27. package/dist-lib/{webmapx-draw-tool-6QRr5Gip.js → webmapx-draw-tool-utv2v3LN.js} +345 -325
  28. package/dist-lib/{webmapx-geolocation-tool-qxN5aaVB.js → webmapx-geolocation-tool-BIEqZkMX.js} +27 -28
  29. package/dist-lib/{webmapx-import-layer-tool-tJ374qHR.js → webmapx-import-layer-tool-DcFxtRJN.js} +18 -19
  30. package/dist-lib/{webmapx-info-tool-C3txgv3v.js → webmapx-info-tool-DDrllfth.js} +69 -70
  31. package/dist-lib/{webmapx-language-osmvector-jQzTOPU1.js → webmapx-language-osmvector-D_OP-fC3.js} +8 -9
  32. package/dist-lib/{webmapx-measure-tool-Cxxrzgdf.js → webmapx-measure-tool-D-6STy8v.js} +33 -34
  33. package/dist-lib/{webmapx-modal-tool-DQVHNXqX.js → webmapx-modal-tool-CftNio2w.js} +10 -10
  34. package/dist-lib/{webmapx-plugin-tool-BNZ61x6s.js → webmapx-plugin-tool-CGwliIUs.js} +5 -6
  35. package/dist-lib/{webmapx-print-tool-BDOTbS6u.js → webmapx-print-tool-DVL_0Hqz.js} +55 -56
  36. package/dist-lib/{webmapx-search-tool-CHlsE2Wx.js → webmapx-search-tool-D6y6WT8q.js} +13 -14
  37. package/dist-lib/{webmapx-settings-B0AT9Vjn.js → webmapx-settings--mFVPZsD.js} +41 -45
  38. package/dist-lib/{webmapx-truearea-tool-dxSgcbOj.js → webmapx-truearea-tool-nQzVCTAC.js} +31 -32
  39. package/dist-lib/{webmapx-view-mode-tool-DVSMakdh.js → webmapx-view-mode-tool-CQI54rFj.js} +11 -12
  40. package/dist-lib/webmapx.css +1 -1
  41. package/dist-lib/webmapx.js +22 -19
  42. package/package.json +1 -1
  43. package/dist-lib/chunk.NYIIDP5N-B4UCI-rQ.js +0 -34
@@ -1,16 +1,13 @@
1
- import { a as e, c as t, i as n, n as r, r as i } from "./chunk.YHLNUJ7P-ByKy0MKm.js";
2
- import { t as a } from "./chunk.LD4M4QGE-CiCfhE8r.js";
3
- import { a as o, c as s, i as c, o as l, s as u, t as d } from "./chunk.AJ3ENQ5C-DXVGX5Dn.js";
4
- import { t as f } from "./chunk.NYIIDP5N-B4UCI-rQ.js";
5
- import { t as p } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
6
- import { r as m, t as h } from "./chunk.RWUUFNUL-DFztA4uV.js";
7
- import { css as g, html as _ } from "lit";
8
- import { property as v, query as y } from "lit/decorators.js";
9
- import { classMap as b } from "lit/directives/class-map.js";
10
- import { ifDefined as x } from "lit/directives/if-defined.js";
1
+ import { a as e, i as t, o as n, s as r, u as i } from "./chunk.YHLNUJ7P-DINaI4pI.js";
2
+ import { a, h as o, n as s, p as c } from "./decorators-d8E4nZJy.js";
3
+ import { t as l } from "./chunk.LD4M4QGE-CiCfhE8r.js";
4
+ import { a as u, c as d, i as f, o as p, s as m, t as h } from "./chunk.AJ3ENQ5C-BhSO747I.js";
5
+ import { a as g, n as _, t as v } from "./chunk.NYIIDP5N-DoNij0Gf.js";
6
+ import { t as y } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
7
+ import { r as b, t as x } from "./chunk.RWUUFNUL-DFztA4uV.js";
11
8
  //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.VESXC477.js
12
9
  function* S(e = document.activeElement) {
13
- e != null && (yield e, "shadowRoot" in e && e.shadowRoot && e.shadowRoot.mode !== "closed" && (yield* t(S(e.shadowRoot.activeElement))));
10
+ e != null && (yield e, "shadowRoot" in e && e.shadowRoot && e.shadowRoot.mode !== "closed" && (yield* i(S(e.shadowRoot.activeElement))));
14
11
  }
15
12
  function C() {
16
13
  return [...S()].pop();
@@ -132,7 +129,7 @@ var M = [], N = class {
132
129
  possiblyHasTabbableChildren(e) {
133
130
  return this.elementsWithTabbableControls.includes(e.tagName.toLowerCase()) || e.hasAttribute("controls");
134
131
  }
135
- }, P = g`
132
+ }, P = o`
136
133
  :host {
137
134
  --width: 31rem;
138
135
  --header-spacing: var(--sl-spacing-large);
@@ -249,25 +246,25 @@ var M = [], N = class {
249
246
  border: solid 1px var(--sl-color-neutral-0);
250
247
  }
251
248
  }
252
- `, F = class extends r {
249
+ `, F = class extends t {
253
250
  constructor() {
254
- super(...arguments), this.hasSlotController = new f(this, "footer"), this.localize = new p(this), this.modal = new N(this), this.open = !1, this.label = "", this.noHeader = !1, this.handleDocumentKeyDown = (e) => {
251
+ super(...arguments), this.hasSlotController = new v(this, "footer"), this.localize = new y(this), this.modal = new N(this), this.open = !1, this.label = "", this.noHeader = !1, this.handleDocumentKeyDown = (e) => {
255
252
  e.key === "Escape" && this.modal.isActive() && this.open && (e.stopPropagation(), this.requestClose("keyboard"));
256
253
  };
257
254
  }
258
255
  firstUpdated() {
259
- this.dialog.hidden = !this.open, this.open && (this.addOpenListeners(), this.modal.activate(), h(this));
256
+ this.dialog.hidden = !this.open, this.open && (this.addOpenListeners(), this.modal.activate(), x(this));
260
257
  }
261
258
  disconnectedCallback() {
262
- super.disconnectedCallback(), this.modal.deactivate(), m(this), this.removeOpenListeners();
259
+ super.disconnectedCallback(), this.modal.deactivate(), b(this), this.removeOpenListeners();
263
260
  }
264
261
  requestClose(e) {
265
262
  if (this.emit("sl-request-close", {
266
263
  cancelable: !0,
267
264
  detail: { source: e }
268
265
  }).defaultPrevented) {
269
- let e = l(this, "dialog.denyClose", { dir: this.localize.dir() });
270
- d(this.panel, e.keyframes, e.options);
266
+ let e = p(this, "dialog.denyClose", { dir: this.localize.dir() });
267
+ h(this.panel, e.keyframes, e.options);
271
268
  return;
272
269
  }
273
270
  this.hide();
@@ -282,36 +279,36 @@ var M = [], N = class {
282
279
  }
283
280
  async handleOpenChange() {
284
281
  if (this.open) {
285
- this.emit("sl-show"), this.addOpenListeners(), this.originalTrigger = document.activeElement, this.modal.activate(), h(this);
282
+ this.emit("sl-show"), this.addOpenListeners(), this.originalTrigger = document.activeElement, this.modal.activate(), x(this);
286
283
  let e = this.querySelector("[autofocus]");
287
- e && e.removeAttribute("autofocus"), await Promise.all([c(this.dialog), c(this.overlay)]), this.dialog.hidden = !1, requestAnimationFrame(() => {
284
+ e && e.removeAttribute("autofocus"), await Promise.all([f(this.dialog), f(this.overlay)]), this.dialog.hidden = !1, requestAnimationFrame(() => {
288
285
  this.emit("sl-initial-focus", { cancelable: !0 }).defaultPrevented || (e ? e.focus({ preventScroll: !0 }) : this.panel.focus({ preventScroll: !0 })), e && e.setAttribute("autofocus", "");
289
286
  });
290
- let t = l(this, "dialog.show", { dir: this.localize.dir() }), n = l(this, "dialog.overlay.show", { dir: this.localize.dir() });
291
- await Promise.all([d(this.panel, t.keyframes, t.options), d(this.overlay, n.keyframes, n.options)]), this.emit("sl-after-show");
287
+ let t = p(this, "dialog.show", { dir: this.localize.dir() }), n = p(this, "dialog.overlay.show", { dir: this.localize.dir() });
288
+ await Promise.all([h(this.panel, t.keyframes, t.options), h(this.overlay, n.keyframes, n.options)]), this.emit("sl-after-show");
292
289
  } else {
293
- a(this), this.emit("sl-hide"), this.removeOpenListeners(), this.modal.deactivate(), await Promise.all([c(this.dialog), c(this.overlay)]);
294
- let e = l(this, "dialog.hide", { dir: this.localize.dir() }), t = l(this, "dialog.overlay.hide", { dir: this.localize.dir() });
295
- await Promise.all([d(this.overlay, t.keyframes, t.options).then(() => {
290
+ l(this), this.emit("sl-hide"), this.removeOpenListeners(), this.modal.deactivate(), await Promise.all([f(this.dialog), f(this.overlay)]);
291
+ let e = p(this, "dialog.hide", { dir: this.localize.dir() }), t = p(this, "dialog.overlay.hide", { dir: this.localize.dir() });
292
+ await Promise.all([h(this.overlay, t.keyframes, t.options).then(() => {
296
293
  this.overlay.hidden = !0;
297
- }), d(this.panel, e.keyframes, e.options).then(() => {
294
+ }), h(this.panel, e.keyframes, e.options).then(() => {
298
295
  this.panel.hidden = !0;
299
- })]), this.dialog.hidden = !0, this.overlay.hidden = !1, this.panel.hidden = !1, m(this);
296
+ })]), this.dialog.hidden = !0, this.overlay.hidden = !1, this.panel.hidden = !1, b(this);
300
297
  let n = this.originalTrigger;
301
298
  typeof n?.focus == "function" && setTimeout(() => n.focus()), this.emit("sl-after-hide");
302
299
  }
303
300
  }
304
301
  async show() {
305
- if (!this.open) return this.open = !0, o(this, "sl-after-show");
302
+ if (!this.open) return this.open = !0, u(this, "sl-after-show");
306
303
  }
307
304
  async hide() {
308
- if (this.open) return this.open = !1, o(this, "sl-after-hide");
305
+ if (this.open) return this.open = !1, u(this, "sl-after-hide");
309
306
  }
310
307
  render() {
311
- return _`
308
+ return c`
312
309
  <div
313
310
  part="base"
314
- class=${b({
311
+ class=${g({
315
312
  dialog: !0,
316
313
  "dialog--open": this.open,
317
314
  "dialog--has-footer": this.hasSlotController.test("footer")
@@ -325,11 +322,11 @@ var M = [], N = class {
325
322
  role="dialog"
326
323
  aria-modal="true"
327
324
  aria-hidden=${this.open ? "false" : "true"}
328
- aria-label=${x(this.noHeader ? this.label : void 0)}
329
- aria-labelledby=${x(this.noHeader ? void 0 : "title")}
325
+ aria-label=${_(this.noHeader ? this.label : void 0)}
326
+ aria-labelledby=${_(this.noHeader ? void 0 : "title")}
330
327
  tabindex="-1"
331
328
  >
332
- ${this.noHeader ? "" : _`
329
+ ${this.noHeader ? "" : c`
333
330
  <header part="header" class="dialog__header">
334
331
  <h2 part="title" class="dialog__title" id="title">
335
332
  <slot name="label"> ${this.label.length > 0 ? this.label : ""} </slot>
@@ -361,14 +358,14 @@ var M = [], N = class {
361
358
  };
362
359
  //#endregion
363
360
  //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.EZCUSG7Q.js
364
- F.styles = [i, P], F.dependencies = { "sl-icon-button": s }, e([y(".dialog")], F.prototype, "dialog", 2), e([y(".dialog__panel")], F.prototype, "panel", 2), e([y(".dialog__overlay")], F.prototype, "overlay", 2), e([v({
361
+ F.styles = [e, P], F.dependencies = { "sl-icon-button": d }, r([s(".dialog")], F.prototype, "dialog", 2), r([s(".dialog__panel")], F.prototype, "panel", 2), r([s(".dialog__overlay")], F.prototype, "overlay", 2), r([a({
365
362
  type: Boolean,
366
363
  reflect: !0
367
- })], F.prototype, "open", 2), e([v({ reflect: !0 })], F.prototype, "label", 2), e([v({
364
+ })], F.prototype, "open", 2), r([a({ reflect: !0 })], F.prototype, "label", 2), r([a({
368
365
  attribute: "no-header",
369
366
  type: Boolean,
370
367
  reflect: !0
371
- })], F.prototype, "noHeader", 2), e([n("open", { waitUntilFirstUpdate: !0 })], F.prototype, "handleOpenChange", 1), u("dialog.show", {
368
+ })], F.prototype, "noHeader", 2), r([n("open", { waitUntilFirstUpdate: !0 })], F.prototype, "handleOpenChange", 1), m("dialog.show", {
372
369
  keyframes: [{
373
370
  opacity: 0,
374
371
  scale: .8
@@ -380,7 +377,7 @@ F.styles = [i, P], F.dependencies = { "sl-icon-button": s }, e([y(".dialog")], F
380
377
  duration: 250,
381
378
  easing: "ease"
382
379
  }
383
- }), u("dialog.hide", {
380
+ }), m("dialog.hide", {
384
381
  keyframes: [{
385
382
  opacity: 1,
386
383
  scale: 1
@@ -392,19 +389,19 @@ F.styles = [i, P], F.dependencies = { "sl-icon-button": s }, e([y(".dialog")], F
392
389
  duration: 250,
393
390
  easing: "ease"
394
391
  }
395
- }), u("dialog.denyClose", {
392
+ }), m("dialog.denyClose", {
396
393
  keyframes: [
397
394
  { scale: 1 },
398
395
  { scale: 1.02 },
399
396
  { scale: 1 }
400
397
  ],
401
398
  options: { duration: 250 }
402
- }), u("dialog.overlay.show", {
399
+ }), m("dialog.overlay.show", {
403
400
  keyframes: [{ opacity: 0 }, { opacity: 1 }],
404
401
  options: { duration: 250 }
405
- }), u("dialog.overlay.hide", {
402
+ }), m("dialog.overlay.hide", {
406
403
  keyframes: [{ opacity: 1 }, { opacity: 0 }],
407
404
  options: { duration: 250 }
408
- }), F.define("sl-dialog"), s.define("sl-icon-button");
405
+ }), F.define("sl-dialog"), d.define("sl-icon-button");
409
406
  //#endregion
410
407
  export { k as n, C as t };
@@ -1,25 +1,39 @@
1
- import { a as e, i as t, n, r, t as i } from "./chunk.YHLNUJ7P-ByKy0MKm.js";
2
- import { t as a } from "./chunk.NYIIDP5N-B4UCI-rQ.js";
3
- import { t as o } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
4
- import { t as s } from "./chunk.3RPBFEDE-Cxq6VVR6.js";
5
- import { t as c } from "./chunk.SI4ACBFK-CLb9VfMG.js";
6
- import { css as l, defaultConverter as u, html as d } from "lit";
7
- import { property as f, query as p, state as m } from "lit/decorators.js";
8
- import { classMap as h } from "lit/directives/class-map.js";
9
- import { ifDefined as g } from "lit/directives/if-defined.js";
10
- import { live as _ } from "lit/directives/live.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./chunk.YHLNUJ7P-DINaI4pI.js";
2
+ import { a as s, c, h as l, i as u, l as d, m as f, n as p, p as m } from "./decorators-d8E4nZJy.js";
3
+ import { a as h, c as g, n as _, o as v, s as y, t as b } from "./chunk.NYIIDP5N-DoNij0Gf.js";
4
+ import { t as x } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
5
+ import { t as S } from "./chunk.3RPBFEDE-DC091CnT.js";
6
+ import { t as C } from "./chunk.SI4ACBFK-CdJVQctt.js";
11
7
  //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.GI7VDIWX.js
12
- var v = (e = "value") => (t, n) => {
8
+ var w = (e = "value") => (t, n) => {
13
9
  let r = t.constructor, i = r.prototype.attributeChangedCallback;
14
10
  r.prototype.attributeChangedCallback = function(t, a, o) {
15
11
  let s = r.getPropertyOptions(e);
16
12
  if (t === (typeof s.attribute == "string" ? s.attribute : e)) {
17
- let t = s.converter || u, r = (typeof t == "function" ? t : t?.fromAttribute ?? u.fromAttribute)(o, s.type);
13
+ let t = s.converter || f, r = (typeof t == "function" ? t : t?.fromAttribute ?? f.fromAttribute)(o, s.type);
18
14
  this[e] !== r && (this[n] = r);
19
15
  }
20
16
  i.call(this, t, a, o);
21
17
  };
22
- }, y = l`
18
+ }, T = v(class extends y {
19
+ constructor(e) {
20
+ if (super(e), e.type !== g.PROPERTY && e.type !== g.ATTRIBUTE && e.type !== g.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
21
+ if (!n(e)) throw Error("`live` bindings can only contain a single expression");
22
+ }
23
+ render(e) {
24
+ return e;
25
+ }
26
+ update(e, [t]) {
27
+ if (t === d || t === c) return t;
28
+ let n = e.element, r = e.name;
29
+ if (e.type === g.PROPERTY) {
30
+ if (t === n[r]) return d;
31
+ } else if (e.type === g.BOOLEAN_ATTRIBUTE) {
32
+ if (!!t === n.hasAttribute(r)) return d;
33
+ } else if (e.type === g.ATTRIBUTE && n.getAttribute(r) === t + "") return d;
34
+ return i(e), t;
35
+ }
36
+ }), E = l`
23
37
  :host {
24
38
  display: block;
25
39
  }
@@ -305,9 +319,9 @@ var v = (e = "value") => (t, n) => {
305
319
  .input--no-spin-buttons input[type='number'] {
306
320
  -moz-appearance: textfield;
307
321
  }
308
- `, b = class extends n {
322
+ `, D = class extends t {
309
323
  constructor() {
310
- super(...arguments), this.formControlController = new s(this, { assumeInteractionOn: ["sl-blur", "sl-input"] }), this.hasSlotController = new a(this, "help-text", "label"), this.localize = new o(this), this.hasFocus = !1, this.title = "", this.__numberInput = Object.assign(document.createElement("input"), { type: "number" }), this.__dateInput = Object.assign(document.createElement("input"), { type: "date" }), this.type = "text", this.name = "", this.value = "", this.defaultValue = "", this.size = "medium", this.filled = !1, this.pill = !1, this.label = "", this.helpText = "", this.clearable = !1, this.disabled = !1, this.placeholder = "", this.readonly = !1, this.passwordToggle = !1, this.passwordVisible = !1, this.noSpinButtons = !1, this.form = "", this.required = !1, this.spellcheck = !0;
324
+ super(...arguments), this.formControlController = new S(this, { assumeInteractionOn: ["sl-blur", "sl-input"] }), this.hasSlotController = new b(this, "help-text", "label"), this.localize = new x(this), this.hasFocus = !1, this.title = "", this.__numberInput = Object.assign(document.createElement("input"), { type: "number" }), this.__dateInput = Object.assign(document.createElement("input"), { type: "date" }), this.type = "text", this.name = "", this.value = "", this.defaultValue = "", this.size = "medium", this.filled = !1, this.pill = !1, this.label = "", this.helpText = "", this.clearable = !1, this.disabled = !1, this.placeholder = "", this.readonly = !1, this.passwordToggle = !1, this.passwordVisible = !1, this.noSpinButtons = !1, this.form = "", this.required = !1, this.spellcheck = !0;
311
325
  }
312
326
  get valueAsDate() {
313
327
  return this.__dateInput.type = this.type, this.__dateInput.value = this.value, this.input?.valueAsDate || this.__dateInput.valueAsDate;
@@ -405,7 +419,7 @@ var v = (e = "value") => (t, n) => {
405
419
  }
406
420
  render() {
407
421
  let e = this.hasSlotController.test("label"), t = this.hasSlotController.test("help-text"), n = this.label ? !0 : !!e, r = this.helpText ? !0 : !!t, i = this.clearable && !this.disabled && !this.readonly && (typeof this.value == "number" || this.value.length > 0);
408
- return d`
422
+ return m`
409
423
  <div
410
424
  part="form-control"
411
425
  class=${h({
@@ -453,25 +467,25 @@ var v = (e = "value") => (t, n) => {
453
467
  class="input__control"
454
468
  type=${this.type === "password" && this.passwordVisible ? "text" : this.type}
455
469
  title=${this.title}
456
- name=${g(this.name)}
470
+ name=${_(this.name)}
457
471
  ?disabled=${this.disabled}
458
472
  ?readonly=${this.readonly}
459
473
  ?required=${this.required}
460
- placeholder=${g(this.placeholder)}
461
- minlength=${g(this.minlength)}
462
- maxlength=${g(this.maxlength)}
463
- min=${g(this.min)}
464
- max=${g(this.max)}
465
- step=${g(this.step)}
466
- .value=${_(this.value)}
467
- autocapitalize=${g(this.autocapitalize)}
468
- autocomplete=${g(this.autocomplete)}
469
- autocorrect=${g(this.autocorrect)}
474
+ placeholder=${_(this.placeholder)}
475
+ minlength=${_(this.minlength)}
476
+ maxlength=${_(this.maxlength)}
477
+ min=${_(this.min)}
478
+ max=${_(this.max)}
479
+ step=${_(this.step)}
480
+ .value=${T(this.value)}
481
+ autocapitalize=${_(this.autocapitalize)}
482
+ autocomplete=${_(this.autocomplete)}
483
+ autocorrect=${_(this.autocorrect)}
470
484
  ?autofocus=${this.autofocus}
471
485
  spellcheck=${this.spellcheck}
472
- pattern=${g(this.pattern)}
473
- enterkeyhint=${g(this.enterkeyhint)}
474
- inputmode=${g(this.inputmode)}
486
+ pattern=${_(this.pattern)}
487
+ enterkeyhint=${_(this.enterkeyhint)}
488
+ inputmode=${_(this.inputmode)}
475
489
  aria-describedby="help-text"
476
490
  @change=${this.handleChange}
477
491
  @input=${this.handleInput}
@@ -481,7 +495,7 @@ var v = (e = "value") => (t, n) => {
481
495
  @blur=${this.handleBlur}
482
496
  />
483
497
 
484
- ${i ? d`
498
+ ${i ? m`
485
499
  <button
486
500
  part="clear-button"
487
501
  class="input__clear"
@@ -495,7 +509,7 @@ var v = (e = "value") => (t, n) => {
495
509
  </slot>
496
510
  </button>
497
511
  ` : ""}
498
- ${this.passwordToggle && !this.disabled ? d`
512
+ ${this.passwordToggle && !this.disabled ? m`
499
513
  <button
500
514
  part="password-toggle-button"
501
515
  class="input__password-toggle"
@@ -504,11 +518,11 @@ var v = (e = "value") => (t, n) => {
504
518
  @click=${this.handlePasswordToggle}
505
519
  tabindex="-1"
506
520
  >
507
- ${this.passwordVisible ? d`
521
+ ${this.passwordVisible ? m`
508
522
  <slot name="show-password-icon">
509
523
  <sl-icon name="eye-slash" library="system"></sl-icon>
510
524
  </slot>
511
- ` : d`
525
+ ` : m`
512
526
  <slot name="hide-password-icon">
513
527
  <sl-icon name="eye" library="system"></sl-icon>
514
528
  </slot>
@@ -536,40 +550,40 @@ var v = (e = "value") => (t, n) => {
536
550
  };
537
551
  //#endregion
538
552
  //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.XA43ZQPC.js
539
- b.styles = [
540
- r,
541
- c,
542
- y
543
- ], b.dependencies = { "sl-icon": i }, e([p(".input__control")], b.prototype, "input", 2), e([m()], b.prototype, "hasFocus", 2), e([f()], b.prototype, "title", 2), e([f({ reflect: !0 })], b.prototype, "type", 2), e([f()], b.prototype, "name", 2), e([f()], b.prototype, "value", 2), e([v()], b.prototype, "defaultValue", 2), e([f({ reflect: !0 })], b.prototype, "size", 2), e([f({
553
+ D.styles = [
554
+ e,
555
+ C,
556
+ E
557
+ ], D.dependencies = { "sl-icon": o }, a([p(".input__control")], D.prototype, "input", 2), a([u()], D.prototype, "hasFocus", 2), a([s()], D.prototype, "title", 2), a([s({ reflect: !0 })], D.prototype, "type", 2), a([s()], D.prototype, "name", 2), a([s()], D.prototype, "value", 2), a([w()], D.prototype, "defaultValue", 2), a([s({ reflect: !0 })], D.prototype, "size", 2), a([s({
544
558
  type: Boolean,
545
559
  reflect: !0
546
- })], b.prototype, "filled", 2), e([f({
560
+ })], D.prototype, "filled", 2), a([s({
547
561
  type: Boolean,
548
562
  reflect: !0
549
- })], b.prototype, "pill", 2), e([f()], b.prototype, "label", 2), e([f({ attribute: "help-text" })], b.prototype, "helpText", 2), e([f({ type: Boolean })], b.prototype, "clearable", 2), e([f({
563
+ })], D.prototype, "pill", 2), a([s()], D.prototype, "label", 2), a([s({ attribute: "help-text" })], D.prototype, "helpText", 2), a([s({ type: Boolean })], D.prototype, "clearable", 2), a([s({
550
564
  type: Boolean,
551
565
  reflect: !0
552
- })], b.prototype, "disabled", 2), e([f()], b.prototype, "placeholder", 2), e([f({
566
+ })], D.prototype, "disabled", 2), a([s()], D.prototype, "placeholder", 2), a([s({
553
567
  type: Boolean,
554
568
  reflect: !0
555
- })], b.prototype, "readonly", 2), e([f({
569
+ })], D.prototype, "readonly", 2), a([s({
556
570
  attribute: "password-toggle",
557
571
  type: Boolean
558
- })], b.prototype, "passwordToggle", 2), e([f({
572
+ })], D.prototype, "passwordToggle", 2), a([s({
559
573
  attribute: "password-visible",
560
574
  type: Boolean
561
- })], b.prototype, "passwordVisible", 2), e([f({
575
+ })], D.prototype, "passwordVisible", 2), a([s({
562
576
  attribute: "no-spin-buttons",
563
577
  type: Boolean
564
- })], b.prototype, "noSpinButtons", 2), e([f({ reflect: !0 })], b.prototype, "form", 2), e([f({
578
+ })], D.prototype, "noSpinButtons", 2), a([s({ reflect: !0 })], D.prototype, "form", 2), a([s({
565
579
  type: Boolean,
566
580
  reflect: !0
567
- })], b.prototype, "required", 2), e([f()], b.prototype, "pattern", 2), e([f({ type: Number })], b.prototype, "minlength", 2), e([f({ type: Number })], b.prototype, "maxlength", 2), e([f()], b.prototype, "min", 2), e([f()], b.prototype, "max", 2), e([f()], b.prototype, "step", 2), e([f()], b.prototype, "autocapitalize", 2), e([f()], b.prototype, "autocorrect", 2), e([f()], b.prototype, "autocomplete", 2), e([f({ type: Boolean })], b.prototype, "autofocus", 2), e([f()], b.prototype, "enterkeyhint", 2), e([f({
581
+ })], D.prototype, "required", 2), a([s()], D.prototype, "pattern", 2), a([s({ type: Number })], D.prototype, "minlength", 2), a([s({ type: Number })], D.prototype, "maxlength", 2), a([s()], D.prototype, "min", 2), a([s()], D.prototype, "max", 2), a([s()], D.prototype, "step", 2), a([s()], D.prototype, "autocapitalize", 2), a([s()], D.prototype, "autocorrect", 2), a([s()], D.prototype, "autocomplete", 2), a([s({ type: Boolean })], D.prototype, "autofocus", 2), a([s()], D.prototype, "enterkeyhint", 2), a([s({
568
582
  type: Boolean,
569
583
  converter: {
570
584
  fromAttribute: (e) => !(!e || e === "false"),
571
585
  toAttribute: (e) => e ? "true" : "false"
572
586
  }
573
- })], b.prototype, "spellcheck", 2), e([f()], b.prototype, "inputmode", 2), e([t("disabled", { waitUntilFirstUpdate: !0 })], b.prototype, "handleDisabledChange", 1), e([t("step", { waitUntilFirstUpdate: !0 })], b.prototype, "handleStepChange", 1), e([t("value", { waitUntilFirstUpdate: !0 })], b.prototype, "handleValueChange", 1), b.define("sl-input");
587
+ })], D.prototype, "spellcheck", 2), a([s()], D.prototype, "inputmode", 2), a([r("disabled", { waitUntilFirstUpdate: !0 })], D.prototype, "handleDisabledChange", 1), a([r("step", { waitUntilFirstUpdate: !0 })], D.prototype, "handleStepChange", 1), a([r("value", { waitUntilFirstUpdate: !0 })], D.prototype, "handleValueChange", 1), D.define("sl-input");
574
588
  //#endregion
575
- export { v as n, b as t };
589
+ export { T as n, w as r, D as t };