@edugis-org/webmapx 0.1.6 → 0.1.8

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-B3cuq_hG.js → webmapx-coordinates-tool-EOqZodjr.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 +22 -21
  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,41 +0,0 @@
1
- import { a as e } from "./decorators-B35AgiCU.js";
2
- import { d as t, f as n, l as r, u as i } from "./chunk.YHLNUJ7P-D-kanrCf.js";
3
- import { css as a } from "lit";
4
- //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.SUSCR7CI.js
5
- var o = a`
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 r {
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 = [i, o], n([e({
38
- type: Boolean,
39
- reflect: !0
40
- })], s.prototype, "vertical", 2), n([t("vertical")], s.prototype, "handleVerticalChange", 1), s.define("sl-divider");
41
- //#endregion
@@ -1,9 +0,0 @@
1
- import { r as e } from "./chunk-HEgqtunE.js";
2
- import { t } from "./chunk.YHLNUJ7P-D-kanrCf.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 };
@@ -1,408 +0,0 @@
1
- import { a as e, n as t } from "./decorators-B35AgiCU.js";
2
- import { t as n } from "./chunk.LD4M4QGE-CiCfhE8r.js";
3
- import { a as r, c as i, i as a, o, s, t as c } from "./chunk.AJ3ENQ5C-Ci7Gm2b6.js";
4
- import { d as l, f as u, h as d, l as f, u as p } from "./chunk.YHLNUJ7P-D-kanrCf.js";
5
- import { a as m, n as h, t as g } from "./chunk.NYIIDP5N-BikXIStD.js";
6
- import { t as _ } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
7
- import { r as v, t as y } from "./chunk.RWUUFNUL-DFztA4uV.js";
8
- import { css as b, html as x } from "lit";
9
- //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.VESXC477.js
10
- function* S(e = document.activeElement) {
11
- e != null && (yield e, "shadowRoot" in e && e.shadowRoot && e.shadowRoot.mode !== "closed" && (yield* d(S(e.shadowRoot.activeElement))));
12
- }
13
- function C() {
14
- return [...S()].pop();
15
- }
16
- var w = /* @__PURE__ */ new WeakMap();
17
- function T(e) {
18
- let t = w.get(e);
19
- return t || (t = window.getComputedStyle(e, null), w.set(e, t)), t;
20
- }
21
- function E(e) {
22
- if (typeof e.checkVisibility == "function") return e.checkVisibility({
23
- checkOpacity: !1,
24
- checkVisibilityCSS: !0
25
- });
26
- let t = T(e);
27
- return t.visibility !== "hidden" && t.display !== "none";
28
- }
29
- function D(e) {
30
- let { overflowY: t, overflowX: n } = T(e);
31
- return t === "scroll" || n === "scroll" ? !0 : t !== "auto" || n !== "auto" ? !1 : e.scrollHeight > e.clientHeight && t === "auto" || e.scrollWidth > e.clientWidth && n === "auto";
32
- }
33
- function O(e) {
34
- let t = e.tagName.toLowerCase(), n = Number(e.getAttribute("tabindex"));
35
- if (e.hasAttribute("tabindex") && (isNaN(n) || n <= -1) || e.hasAttribute("disabled") || e.closest("[inert]")) return !1;
36
- if (t === "input" && e.getAttribute("type") === "radio") {
37
- let t = e.getRootNode(), n = `input[type='radio'][name="${e.getAttribute("name")}"]`, r = t.querySelector(`${n}:checked`);
38
- return r ? r === e : t.querySelector(n) === e;
39
- }
40
- return E(e) ? (t === "audio" || t === "video") && e.hasAttribute("controls") || e.hasAttribute("tabindex") || e.hasAttribute("contenteditable") && e.getAttribute("contenteditable") !== "false" || [
41
- "button",
42
- "input",
43
- "select",
44
- "textarea",
45
- "a",
46
- "audio",
47
- "video",
48
- "summary",
49
- "iframe"
50
- ].includes(t) ? !0 : D(e) : !1;
51
- }
52
- function k(e) {
53
- let t = j(e);
54
- return {
55
- start: t[0] ?? null,
56
- end: t[t.length - 1] ?? null
57
- };
58
- }
59
- function A(e, t) {
60
- return e.getRootNode({ composed: !0 })?.host !== t;
61
- }
62
- function j(e) {
63
- let t = /* @__PURE__ */ new WeakMap(), n = [];
64
- function r(i) {
65
- if (i instanceof Element) {
66
- if (i.hasAttribute("inert") || i.closest("[inert]") || t.has(i)) return;
67
- t.set(i, !0), !n.includes(i) && O(i) && n.push(i), i instanceof HTMLSlotElement && A(i, e) && i.assignedElements({ flatten: !0 }).forEach((e) => {
68
- r(e);
69
- }), i.shadowRoot !== null && i.shadowRoot.mode === "open" && r(i.shadowRoot);
70
- }
71
- for (let e of i.children) r(e);
72
- }
73
- return r(e), n.sort((e, t) => {
74
- let n = Number(e.getAttribute("tabindex")) || 0;
75
- return (Number(t.getAttribute("tabindex")) || 0) - n;
76
- });
77
- }
78
- //#endregion
79
- //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.EMN3H5QW.js
80
- var M = [], N = class {
81
- constructor(e) {
82
- this.tabDirection = "forward", this.handleFocusIn = () => {
83
- this.isActive() && this.checkFocus();
84
- }, this.handleKeyDown = (e) => {
85
- var t;
86
- if (e.key !== "Tab" || this.isExternalActivated || !this.isActive()) return;
87
- let n = C();
88
- if (this.previousFocus = n, this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) return;
89
- e.shiftKey ? this.tabDirection = "backward" : this.tabDirection = "forward";
90
- let r = j(this.element), i = r.findIndex((e) => e === n);
91
- this.previousFocus = this.currentFocus;
92
- let a = this.tabDirection === "forward" ? 1 : -1;
93
- for (;;) {
94
- i + a >= r.length ? i = 0 : i + a < 0 ? i = r.length - 1 : i += a, this.previousFocus = this.currentFocus;
95
- let n = r[i];
96
- if (this.tabDirection === "backward" && this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus) || n && this.possiblyHasTabbableChildren(n)) return;
97
- e.preventDefault(), this.currentFocus = n, (t = this.currentFocus) == null || t.focus({ preventScroll: !1 });
98
- let o = [...S()];
99
- if (o.includes(this.currentFocus) || !o.includes(this.previousFocus)) break;
100
- }
101
- setTimeout(() => this.checkFocus());
102
- }, this.handleKeyUp = () => {
103
- this.tabDirection = "forward";
104
- }, this.element = e, this.elementsWithTabbableControls = ["iframe"];
105
- }
106
- activate() {
107
- M.push(this.element), document.addEventListener("focusin", this.handleFocusIn), document.addEventListener("keydown", this.handleKeyDown), document.addEventListener("keyup", this.handleKeyUp);
108
- }
109
- deactivate() {
110
- M = M.filter((e) => e !== this.element), this.currentFocus = null, document.removeEventListener("focusin", this.handleFocusIn), document.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("keyup", this.handleKeyUp);
111
- }
112
- isActive() {
113
- return M[M.length - 1] === this.element;
114
- }
115
- activateExternal() {
116
- this.isExternalActivated = !0;
117
- }
118
- deactivateExternal() {
119
- this.isExternalActivated = !1;
120
- }
121
- checkFocus() {
122
- if (this.isActive() && !this.isExternalActivated) {
123
- let e = j(this.element);
124
- if (!this.element.matches(":focus-within")) {
125
- let t = e[0], n = e[e.length - 1], r = this.tabDirection === "forward" ? t : n;
126
- typeof r?.focus == "function" && (this.currentFocus = r, r.focus({ preventScroll: !1 }));
127
- }
128
- }
129
- }
130
- possiblyHasTabbableChildren(e) {
131
- return this.elementsWithTabbableControls.includes(e.tagName.toLowerCase()) || e.hasAttribute("controls");
132
- }
133
- }, P = b`
134
- :host {
135
- --width: 31rem;
136
- --header-spacing: var(--sl-spacing-large);
137
- --body-spacing: var(--sl-spacing-large);
138
- --footer-spacing: var(--sl-spacing-large);
139
-
140
- display: contents;
141
- }
142
-
143
- .dialog {
144
- display: flex;
145
- align-items: center;
146
- justify-content: center;
147
- position: fixed;
148
- top: 0;
149
- right: 0;
150
- bottom: 0;
151
- left: 0;
152
- z-index: var(--sl-z-index-dialog);
153
- }
154
-
155
- .dialog__panel {
156
- display: flex;
157
- flex-direction: column;
158
- z-index: 2;
159
- width: var(--width);
160
- max-width: calc(100% - var(--sl-spacing-2x-large));
161
- max-height: calc(100% - var(--sl-spacing-2x-large));
162
- background-color: var(--sl-panel-background-color);
163
- border-radius: var(--sl-border-radius-medium);
164
- box-shadow: var(--sl-shadow-x-large);
165
- }
166
-
167
- .dialog__panel:focus {
168
- outline: none;
169
- }
170
-
171
- /* Ensure there's enough vertical padding for phones that don't update vh when chrome appears (e.g. iPhone) */
172
- @media screen and (max-width: 420px) {
173
- .dialog__panel {
174
- max-height: 80vh;
175
- }
176
- }
177
-
178
- .dialog--open .dialog__panel {
179
- display: flex;
180
- opacity: 1;
181
- }
182
-
183
- .dialog__header {
184
- flex: 0 0 auto;
185
- display: flex;
186
- }
187
-
188
- .dialog__title {
189
- flex: 1 1 auto;
190
- font: inherit;
191
- font-size: var(--sl-font-size-large);
192
- line-height: var(--sl-line-height-dense);
193
- padding: var(--header-spacing);
194
- margin: 0;
195
- }
196
-
197
- .dialog__header-actions {
198
- flex-shrink: 0;
199
- display: flex;
200
- flex-wrap: wrap;
201
- justify-content: end;
202
- gap: var(--sl-spacing-2x-small);
203
- padding: 0 var(--header-spacing);
204
- }
205
-
206
- .dialog__header-actions sl-icon-button,
207
- .dialog__header-actions ::slotted(sl-icon-button) {
208
- flex: 0 0 auto;
209
- display: flex;
210
- align-items: center;
211
- font-size: var(--sl-font-size-medium);
212
- }
213
-
214
- .dialog__body {
215
- flex: 1 1 auto;
216
- display: block;
217
- padding: var(--body-spacing);
218
- overflow: auto;
219
- -webkit-overflow-scrolling: touch;
220
- }
221
-
222
- .dialog__footer {
223
- flex: 0 0 auto;
224
- text-align: right;
225
- padding: var(--footer-spacing);
226
- }
227
-
228
- .dialog__footer ::slotted(sl-button:not(:first-of-type)) {
229
- margin-inline-start: var(--sl-spacing-x-small);
230
- }
231
-
232
- .dialog:not(.dialog--has-footer) .dialog__footer {
233
- display: none;
234
- }
235
-
236
- .dialog__overlay {
237
- position: fixed;
238
- top: 0;
239
- right: 0;
240
- bottom: 0;
241
- left: 0;
242
- background-color: var(--sl-overlay-background-color);
243
- }
244
-
245
- @media (forced-colors: active) {
246
- .dialog__panel {
247
- border: solid 1px var(--sl-color-neutral-0);
248
- }
249
- }
250
- `, F = class extends f {
251
- constructor() {
252
- super(...arguments), this.hasSlotController = new g(this, "footer"), this.localize = new _(this), this.modal = new N(this), this.open = !1, this.label = "", this.noHeader = !1, this.handleDocumentKeyDown = (e) => {
253
- e.key === "Escape" && this.modal.isActive() && this.open && (e.stopPropagation(), this.requestClose("keyboard"));
254
- };
255
- }
256
- firstUpdated() {
257
- this.dialog.hidden = !this.open, this.open && (this.addOpenListeners(), this.modal.activate(), y(this));
258
- }
259
- disconnectedCallback() {
260
- super.disconnectedCallback(), this.modal.deactivate(), v(this), this.removeOpenListeners();
261
- }
262
- requestClose(e) {
263
- if (this.emit("sl-request-close", {
264
- cancelable: !0,
265
- detail: { source: e }
266
- }).defaultPrevented) {
267
- let e = o(this, "dialog.denyClose", { dir: this.localize.dir() });
268
- c(this.panel, e.keyframes, e.options);
269
- return;
270
- }
271
- this.hide();
272
- }
273
- addOpenListeners() {
274
- var e;
275
- "CloseWatcher" in window ? ((e = this.closeWatcher) == null || e.destroy(), this.closeWatcher = new CloseWatcher(), this.closeWatcher.onclose = () => this.requestClose("keyboard")) : document.addEventListener("keydown", this.handleDocumentKeyDown);
276
- }
277
- removeOpenListeners() {
278
- var e;
279
- (e = this.closeWatcher) == null || e.destroy(), document.removeEventListener("keydown", this.handleDocumentKeyDown);
280
- }
281
- async handleOpenChange() {
282
- if (this.open) {
283
- this.emit("sl-show"), this.addOpenListeners(), this.originalTrigger = document.activeElement, this.modal.activate(), y(this);
284
- let e = this.querySelector("[autofocus]");
285
- e && e.removeAttribute("autofocus"), await Promise.all([a(this.dialog), a(this.overlay)]), this.dialog.hidden = !1, requestAnimationFrame(() => {
286
- this.emit("sl-initial-focus", { cancelable: !0 }).defaultPrevented || (e ? e.focus({ preventScroll: !0 }) : this.panel.focus({ preventScroll: !0 })), e && e.setAttribute("autofocus", "");
287
- });
288
- let t = o(this, "dialog.show", { dir: this.localize.dir() }), n = o(this, "dialog.overlay.show", { dir: this.localize.dir() });
289
- await Promise.all([c(this.panel, t.keyframes, t.options), c(this.overlay, n.keyframes, n.options)]), this.emit("sl-after-show");
290
- } else {
291
- n(this), this.emit("sl-hide"), this.removeOpenListeners(), this.modal.deactivate(), await Promise.all([a(this.dialog), a(this.overlay)]);
292
- let e = o(this, "dialog.hide", { dir: this.localize.dir() }), t = o(this, "dialog.overlay.hide", { dir: this.localize.dir() });
293
- await Promise.all([c(this.overlay, t.keyframes, t.options).then(() => {
294
- this.overlay.hidden = !0;
295
- }), c(this.panel, e.keyframes, e.options).then(() => {
296
- this.panel.hidden = !0;
297
- })]), this.dialog.hidden = !0, this.overlay.hidden = !1, this.panel.hidden = !1, v(this);
298
- let r = this.originalTrigger;
299
- typeof r?.focus == "function" && setTimeout(() => r.focus()), this.emit("sl-after-hide");
300
- }
301
- }
302
- async show() {
303
- if (!this.open) return this.open = !0, r(this, "sl-after-show");
304
- }
305
- async hide() {
306
- if (this.open) return this.open = !1, r(this, "sl-after-hide");
307
- }
308
- render() {
309
- return x`
310
- <div
311
- part="base"
312
- class=${m({
313
- dialog: !0,
314
- "dialog--open": this.open,
315
- "dialog--has-footer": this.hasSlotController.test("footer")
316
- })}
317
- >
318
- <div part="overlay" class="dialog__overlay" @click=${() => this.requestClose("overlay")} tabindex="-1"></div>
319
-
320
- <div
321
- part="panel"
322
- class="dialog__panel"
323
- role="dialog"
324
- aria-modal="true"
325
- aria-hidden=${this.open ? "false" : "true"}
326
- aria-label=${h(this.noHeader ? this.label : void 0)}
327
- aria-labelledby=${h(this.noHeader ? void 0 : "title")}
328
- tabindex="-1"
329
- >
330
- ${this.noHeader ? "" : x`
331
- <header part="header" class="dialog__header">
332
- <h2 part="title" class="dialog__title" id="title">
333
- <slot name="label"> ${this.label.length > 0 ? this.label : ""} </slot>
334
- </h2>
335
- <div part="header-actions" class="dialog__header-actions">
336
- <slot name="header-actions"></slot>
337
- <sl-icon-button
338
- part="close-button"
339
- exportparts="base:close-button__base"
340
- class="dialog__close"
341
- name="x-lg"
342
- label=${this.localize.term("close")}
343
- library="system"
344
- @click="${() => this.requestClose("close-button")}"
345
- ></sl-icon-button>
346
- </div>
347
- </header>
348
- `}
349
- ${""}
350
- <div part="body" class="dialog__body" tabindex="-1"><slot></slot></div>
351
-
352
- <footer part="footer" class="dialog__footer">
353
- <slot name="footer"></slot>
354
- </footer>
355
- </div>
356
- </div>
357
- `;
358
- }
359
- };
360
- //#endregion
361
- //#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.EZCUSG7Q.js
362
- F.styles = [p, P], F.dependencies = { "sl-icon-button": i }, u([t(".dialog")], F.prototype, "dialog", 2), u([t(".dialog__panel")], F.prototype, "panel", 2), u([t(".dialog__overlay")], F.prototype, "overlay", 2), u([e({
363
- type: Boolean,
364
- reflect: !0
365
- })], F.prototype, "open", 2), u([e({ reflect: !0 })], F.prototype, "label", 2), u([e({
366
- attribute: "no-header",
367
- type: Boolean,
368
- reflect: !0
369
- })], F.prototype, "noHeader", 2), u([l("open", { waitUntilFirstUpdate: !0 })], F.prototype, "handleOpenChange", 1), s("dialog.show", {
370
- keyframes: [{
371
- opacity: 0,
372
- scale: .8
373
- }, {
374
- opacity: 1,
375
- scale: 1
376
- }],
377
- options: {
378
- duration: 250,
379
- easing: "ease"
380
- }
381
- }), s("dialog.hide", {
382
- keyframes: [{
383
- opacity: 1,
384
- scale: 1
385
- }, {
386
- opacity: 0,
387
- scale: .8
388
- }],
389
- options: {
390
- duration: 250,
391
- easing: "ease"
392
- }
393
- }), s("dialog.denyClose", {
394
- keyframes: [
395
- { scale: 1 },
396
- { scale: 1.02 },
397
- { scale: 1 }
398
- ],
399
- options: { duration: 250 }
400
- }), s("dialog.overlay.show", {
401
- keyframes: [{ opacity: 0 }, { opacity: 1 }],
402
- options: { duration: 250 }
403
- }), s("dialog.overlay.hide", {
404
- keyframes: [{ opacity: 1 }, { opacity: 0 }],
405
- options: { duration: 250 }
406
- }), F.define("sl-dialog"), i.define("sl-icon-button");
407
- //#endregion
408
- export { k as n, C as t };