@greypan/web-ui 10.0.0 → 10.1.1

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 (64) hide show
  1. package/README.CN.md +39 -1
  2. package/README.md +43 -1
  3. package/dist/components/autocomplete/index.js +62 -60
  4. package/dist/components/autocomplete/index.js.map +1 -1
  5. package/dist/components/avatar/index.js +5 -5
  6. package/dist/components/avatar/index.js.map +1 -1
  7. package/dist/components/back-top/index.js.map +1 -1
  8. package/dist/components/badge/index.js +5 -5
  9. package/dist/components/button/index.js +5 -5
  10. package/dist/components/button/index.js.map +1 -1
  11. package/dist/components/checkbox/index.js.map +1 -1
  12. package/dist/components/collapse/index.js +1 -1
  13. package/dist/components/collapse/index.js.map +1 -1
  14. package/dist/components/collapse/style.js +1 -1
  15. package/dist/components/collapse/style.js.map +1 -1
  16. package/dist/components/context-menu/index.d.ts +16 -0
  17. package/dist/components/context-menu/index.js +71 -66
  18. package/dist/components/context-menu/index.js.map +1 -1
  19. package/dist/components/dialog/index.js +39 -37
  20. package/dist/components/dialog/index.js.map +1 -1
  21. package/dist/components/drawer/index.js +64 -62
  22. package/dist/components/drawer/index.js.map +1 -1
  23. package/dist/components/dropdown-item/index.js.map +1 -1
  24. package/dist/components/editable-text/index.js +4 -4
  25. package/dist/components/empty/index.js.map +1 -1
  26. package/dist/components/empty/style.js +1 -1
  27. package/dist/components/empty/style.js.map +1 -1
  28. package/dist/components/image-preview/index.js.map +1 -1
  29. package/dist/components/input/index.js +5 -5
  30. package/dist/components/input/index.js.map +1 -1
  31. package/dist/components/input-number/index.js.map +1 -1
  32. package/dist/components/layout/index.js.map +1 -1
  33. package/dist/components/option/index.js.map +1 -1
  34. package/dist/components/segmented/index.js +17 -7
  35. package/dist/components/segmented/index.js.map +1 -1
  36. package/dist/components/select/index.js +45 -43
  37. package/dist/components/select/index.js.map +1 -1
  38. package/dist/components/switch/index.js.map +1 -1
  39. package/dist/components/textarea/index.js +8 -8
  40. package/dist/components/textarea/index.js.map +1 -1
  41. package/dist/components/toast/manager.js +1 -1
  42. package/dist/components/toast/manager.js.map +1 -1
  43. package/dist/components/toast/toast.js.map +1 -1
  44. package/dist/scrollbars/index.js.map +1 -1
  45. package/dist/scrollbars/internal.js +6 -0
  46. package/dist/scrollbars/internal.js.map +1 -0
  47. package/dist/scrollbars/style.css +1 -1
  48. package/dist/shared/menu-portal/menu-portal.js +16 -14
  49. package/dist/shared/menu-portal/menu-portal.js.map +1 -1
  50. package/dist/shared/overlay/overlay-root.js +13 -12
  51. package/dist/shared/overlay/overlay-root.js.map +1 -1
  52. package/dist/shared/overlay/overlay.js +33 -33
  53. package/dist/vite/index.d.ts +28 -0
  54. package/dist/vite/index.js +16 -0
  55. package/dist/vite/index.js.map +1 -0
  56. package/package.json +5 -1
  57. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -246
  58. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  59. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -324
  60. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  61. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -100
  62. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  63. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -102
  64. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
@@ -4,27 +4,28 @@ import t from "../../assets/glass.js";
4
4
  import n from "../../icons/generated/ooui-close.js";
5
5
  import { normalizeLiteral as r } from "../../shared/normalize/index.js";
6
6
  import "../button/index.js";
7
- import { dispatchOpenChangeEvent as i } from "../../shared/open-state/index.js";
8
- import { defineOpenOverlay as a } from "../../shared/overlay/open-overlay.js";
9
- import { defineScrollLockLease as o } from "../../shared/scroll-lock/scroll-lock.js";
10
- import { prefersReducedMotion as s } from "../../shared/theme/reduced-motion.js";
11
- import { UserChangeController as c } from "../../shared/events/user-change.js";
12
- import l from "../../assets/modal-surface.js";
13
- import { defineNativeDialogPresence as u } from "../../shared/overlay/native-dialog-presence.js";
14
- import { ElementHeightController as d } from "../../shared/element-height/index.js";
15
- import { attachDragGesture as f } from "../../shared/gesture/drag-gesture.js";
16
- import { dampOverscroll as p } from "../../shared/gesture/physics.js";
17
- import { defineNestedDrawerLayers as m } from "../../shared/overlay/nested-drawer-layers.js";
18
- import h from "./style.js";
19
- import { LitElement as g, html as _, nothing as v, unsafeCSS as y } from "lit";
20
- import { customElement as b, property as x } from "lit/decorators.js";
7
+ import i from "../../scrollbars/internal.js";
8
+ import { dispatchOpenChangeEvent as a } from "../../shared/open-state/index.js";
9
+ import { defineOpenOverlay as o } from "../../shared/overlay/open-overlay.js";
10
+ import { defineScrollLockLease as s } from "../../shared/scroll-lock/scroll-lock.js";
11
+ import { prefersReducedMotion as c } from "../../shared/theme/reduced-motion.js";
12
+ import { UserChangeController as l } from "../../shared/events/user-change.js";
13
+ import u from "../../assets/modal-surface.js";
14
+ import { defineNativeDialogPresence as d } from "../../shared/overlay/native-dialog-presence.js";
15
+ import { ElementHeightController as f } from "../../shared/element-height/index.js";
16
+ import { attachDragGesture as p } from "../../shared/gesture/drag-gesture.js";
17
+ import { dampOverscroll as m } from "../../shared/gesture/physics.js";
18
+ import { defineNestedDrawerLayers as h } from "../../shared/overlay/nested-drawer-layers.js";
19
+ import g from "./style.js";
20
+ import { LitElement as _, html as v, nothing as y, unsafeCSS as b } from "lit";
21
+ import { customElement as x, property as S } from "lit/decorators.js";
21
22
  //#region src/components/drawer/index.ts
22
- var S = [
23
+ var C = [
23
24
  "right",
24
25
  "left",
25
26
  "top",
26
27
  "bottom"
27
- ], C = .5, w = 10, T = 500, E = 50, D = 10, O = 120, k = 10, A = [
28
+ ], w = .5, T = 10, E = 500, D = 50, O = 10, k = 120, A = 10, j = [
28
29
  "button",
29
30
  "input",
30
31
  "select",
@@ -50,7 +51,7 @@ var S = [
50
51
  "[role=\"combobox\"]",
51
52
  "[role=\"slider\"]",
52
53
  "[role=\"spinbutton\"]"
53
- ].join(","), j = 180, M = 420, N = "cubic-bezier(0.32, 0.72, 0, 1)", P = "cubic-bezier(0.22, 1.3, 0.36, 1)", F = 1, I = 80;
54
+ ].join(","), M = 180, N = 420, P = "cubic-bezier(0.32, 0.72, 0, 1)", F = "cubic-bezier(0.22, 1.3, 0.36, 1)", I = 1, L = 80;
54
55
  if (typeof CSS < "u" && "registerProperty" in CSS) {
55
56
  try {
56
57
  CSS.registerProperty({
@@ -85,16 +86,16 @@ if (typeof CSS < "u" && "registerProperty" in CSS) {
85
86
  });
86
87
  } catch {}
87
88
  }
88
- var L = class extends g {
89
+ var R = class extends _ {
89
90
  constructor(...e) {
90
- super(...e), this.open = !1, this.noScrollLock = !1, this.noBackdropClose = !1, this.controlled = !1, this._placement = "right", this.heading = "", this.closable = !1, this.headless = !1, this.dialogLabel = "", this.draggable = !1, this._hasHeaderSlot = !1, this._hasFooterSlot = !1, this._userOpenChange = new c(), this._headerHeight = new d(this, ".wui-drawer-header", (e) => this._setAvoidance("--wui-internal-drawer-header-inset", e)), this._footerHeight = new d(this, ".wui-drawer-footer", (e) => this._setAvoidance("--wui-internal-drawer-footer-inset", e)), this._scrollLock = o().make(), this._presence = u().make({
91
+ super(...e), this.open = !1, this.noScrollLock = !1, this.noBackdropClose = !1, this.controlled = !1, this._placement = "right", this.heading = "", this.closable = !1, this.headless = !1, this.dialogLabel = "", this.draggable = !1, this._hasHeaderSlot = !1, this._hasFooterSlot = !1, this._userOpenChange = new l(), this._headerHeight = new f(this, ".wui-drawer-header", (e) => this._setAvoidance("--wui-internal-drawer-header-inset", e)), this._footerHeight = new f(this, ".wui-drawer-footer", (e) => this._setAvoidance("--wui-internal-drawer-footer-inset", e)), this._scrollLock = s().make(), this._presence = d().make({
91
92
  getDialog: () => this.dialog,
92
93
  isConnected: () => this.isConnected,
93
94
  isOpen: () => this.open
94
- }), this._nestedLayers = m().make({
95
+ }), this._nestedLayers = h().make({
95
96
  getDialog: () => this.dialog,
96
97
  getPlacement: () => this._placement
97
- }), this._overlay = a().make({
98
+ }), this._overlay = o().make({
98
99
  requestClose: () => this._closeFromUser(),
99
100
  isConnected: () => this.isConnected
100
101
  }), this._handle = null, this._dragGesture = null, this._dragInitialOffset = 0, this._dragOffset = 0, this._cancelBaseline = 0, this._lastAxisPos = 0, this._swipeIntentDisp = -1, this._swipeCancelled = !1, this._settleFinish = null, this._dragAwaitWriteback = !1, this._handleDragWritebackTimeout = () => {
@@ -117,9 +118,10 @@ var L = class extends g {
117
118
  }
118
119
  static {
119
120
  this.styles = [
120
- y(t),
121
- y(l),
122
- y(h)
121
+ b(t),
122
+ b(u),
123
+ b(i),
124
+ b(g)
123
125
  ];
124
126
  }
125
127
  get placement() {
@@ -127,7 +129,7 @@ var L = class extends g {
127
129
  }
128
130
  set placement(e) {
129
131
  let t = this._placement;
130
- this._placement = r(e, S, "right"), this.requestUpdate("placement", t);
132
+ this._placement = r(e, C, "right"), this.requestUpdate("placement", t);
131
133
  }
132
134
  get dialog() {
133
135
  return this.shadowRoot?.querySelector("dialog") ?? null;
@@ -151,7 +153,7 @@ var L = class extends g {
151
153
  return e ? this._dragAxis === "x" ? e.offsetWidth : e.offsetHeight : 0;
152
154
  }
153
155
  _dragCloseThreshold(e) {
154
- return Math.max(e * C, w);
156
+ return Math.max(e * w, T);
155
157
  }
156
158
  _readDrawerInset(e) {
157
159
  let t = getComputedStyle(e).getPropertyValue("--wui-internal-drawer-inset"), n = Number.parseFloat(t);
@@ -176,7 +178,7 @@ var L = class extends g {
176
178
  }
177
179
  _isInteractivePath(e) {
178
180
  let t = typeof e.composedPath == "function" ? e.composedPath() : [e.target];
179
- for (let e of t) if (e instanceof Element && e.matches(A)) return !0;
181
+ for (let e of t) if (e instanceof Element && e.matches(j)) return !0;
180
182
  return !1;
181
183
  }
182
184
  _handleDragPointerDown(e) {
@@ -186,18 +188,18 @@ var L = class extends g {
186
188
  let n = getComputedStyle(t).transform, r = n && n !== "none" && typeof DOMMatrixReadOnly == "function" ? new DOMMatrixReadOnly(n)[this._dragAxis === "x" ? "m41" : "m42"] : 0;
187
189
  this._abortSettle(), this._cancelDragAwait(), this._dragInitialOffset = r * this._dragCloseSign, this._dragOffset = this._dragInitialOffset;
188
190
  let i = this._dragAxis === "x" ? e.clientX : e.clientY;
189
- this._cancelBaseline = i, this._lastAxisPos = i, this._swipeIntentDisp = -1, this._swipeCancelled = !1, t.classList.add("is-dragging"), this._applyDragOffset(t, this._dragOffset), this._dragGesture = f(e, {
191
+ this._cancelBaseline = i, this._lastAxisPos = i, this._swipeIntentDisp = -1, this._swipeCancelled = !1, t.classList.add("is-dragging"), this._applyDragOffset(t, this._dragOffset), this._dragGesture = p(e, {
190
192
  axis: this._dragAxis,
191
193
  calibrateOnFirstMove: !0,
192
194
  onMove: (e) => {
193
195
  let n = (this._dragAxis === "x" ? e.deltaX : e.deltaY) * this._dragCloseSign;
194
- this._dragOffset = this._dragInitialOffset + p(n), this._trackSwipeCancel(this._dragAxis === "x" ? e.clientX : e.clientY, n);
196
+ this._dragOffset = this._dragInitialOffset + m(n), this._trackSwipeCancel(this._dragAxis === "x" ? e.clientX : e.clientY, n);
195
197
  let r = this._measureDragSize(), i = this._dragOffset - this._dragInitialOffset;
196
198
  t.classList.toggle("is-drag-close", i > this._dragCloseThreshold(r)), this._applyDragOffset(t, this._dragOffset);
197
199
  },
198
200
  onEnd: (e) => {
199
201
  this._dragGesture = null, this._syncDragInert(), t.classList.remove("is-dragging", "is-drag-close");
200
- let n = this._measureDragSize(), r = (this._dragAxis === "x" ? e.velocityX : e.velocityY) * this._dragCloseSign, i = this._dragOffset - this._dragInitialOffset, a = e.duration > 0 ? i / Math.max(e.duration, E) * 1e3 : 0, o = i > 0 && a >= T && !this._swipeCancelled;
202
+ let n = this._measureDragSize(), r = (this._dragAxis === "x" ? e.velocityX : e.velocityY) * this._dragCloseSign, i = this._dragOffset - this._dragInitialOffset, a = e.duration > 0 ? i / Math.max(e.duration, D) * 1e3 : 0, o = i > 0 && a >= E && !this._swipeCancelled;
201
203
  i > this._dragCloseThreshold(n) || o ? this._settleToClose(t, r) : this._settleRebound(t, r, this._dragOffset);
202
204
  },
203
205
  onCancel: () => {
@@ -212,7 +214,7 @@ var L = class extends g {
212
214
  return;
213
215
  }
214
216
  let r = (e - this._cancelBaseline) * this._dragCloseSign;
215
- r > this._dragCloseThreshold(this._measureDragSize()) ? this._swipeCancelled = !1 : this._swipeIntentDisp - r >= D && (this._swipeCancelled = !0);
217
+ r > this._dragCloseThreshold(this._measureDragSize()) ? this._swipeCancelled = !1 : this._swipeIntentDisp - r >= O && (this._swipeCancelled = !0);
216
218
  }
217
219
  _cancelActiveDrag() {
218
220
  if (!this._isDragging()) return;
@@ -235,31 +237,31 @@ var L = class extends g {
235
237
  let r = this._dragCloseDistance(e), i = () => {
236
238
  this.controlled ? this._applyDragOffset(e, r) : (e.classList.remove("is-visible"), this._clearDragStyles(e)), this._closeFromDrag();
237
239
  };
238
- if (s(this) || Math.abs(r - n) < 1) {
240
+ if (c(this) || Math.abs(r - n) < 1) {
239
241
  e.classList.remove("is-dragging"), i();
240
242
  return;
241
243
  }
242
- this._startSettle(e, r, 0, this._settleDuration(Math.abs(r - n), t), N, i);
244
+ this._startSettle(e, r, 0, this._settleDuration(Math.abs(r - n), t), P, i);
243
245
  }
244
246
  _settleRebound(e, t, n) {
245
247
  this._dragOffset = 0;
246
248
  let r = () => {
247
249
  this._clearDragStyles(e);
248
250
  };
249
- if (s(this) || Math.abs(n) < 1) {
251
+ if (c(this) || Math.abs(n) < 1) {
250
252
  e.classList.remove("is-dragging"), r();
251
253
  return;
252
254
  }
253
- this._startSettle(e, 0, 1, this._settleDuration(Math.abs(n), t), P, r);
255
+ this._startSettle(e, 0, 1, this._settleDuration(Math.abs(n), t), F, r);
254
256
  }
255
257
  _settleDuration(e, t) {
256
- let n = e / Math.max(Math.abs(t), F) * 1e3;
257
- return Math.min(M, Math.max(j, n));
258
+ let n = e / Math.max(Math.abs(t), I) * 1e3;
259
+ return Math.min(N, Math.max(M, n));
258
260
  }
259
261
  _startSettle(e, t, n, r, i, a) {
260
262
  this._abortSettle();
261
263
  let o = this._dragCloseSign;
262
- e.style.setProperty("--wui-internal-settle-duration", `${r}ms`), e.style.setProperty("--wui-internal-settle-easing", i), e.style.transform = this._dragAxis === "x" ? `translateX(${t * o}px)` : `translateY(${t * o}px)`, e.style.setProperty("--wui-internal-drag-backdrop-opacity", String(n)), e.classList.add("is-settling"), e.classList.remove("is-dragging"), this._settleFinish = a, this._settleTimer = setTimeout(() => this._finishSettle(), r + I);
264
+ e.style.setProperty("--wui-internal-settle-duration", `${r}ms`), e.style.setProperty("--wui-internal-settle-easing", i), e.style.transform = this._dragAxis === "x" ? `translateX(${t * o}px)` : `translateY(${t * o}px)`, e.style.setProperty("--wui-internal-drag-backdrop-opacity", String(n)), e.classList.add("is-settling"), e.classList.remove("is-dragging"), this._settleFinish = a, this._settleTimer = setTimeout(() => this._finishSettle(), r + L);
263
265
  }
264
266
  _finishSettle() {
265
267
  let e = this._settleFinish;
@@ -271,7 +273,7 @@ var L = class extends g {
271
273
  e && (e.classList.remove("is-settling"), e.style.removeProperty("--wui-internal-settle-duration"), e.style.removeProperty("--wui-internal-settle-easing"));
272
274
  }
273
275
  _closeFromDrag() {
274
- this._closeFromUser(), this.controlled && (this._dragAwaitWriteback = !0, this._dragRequestTimer = setTimeout(this._handleDragWritebackTimeout, O));
276
+ this._closeFromUser(), this.controlled && (this._dragAwaitWriteback = !0, this._dragRequestTimer = setTimeout(this._handleDragWritebackTimeout, k));
275
277
  }
276
278
  connectedCallback() {
277
279
  super.connectedCallback(), this._resyncSlotPresence(), this._presence.reconcile(), this.open && this._nestedLayers.register(), this._syncScrollLock(), this._reclaimIfOpen();
@@ -380,23 +382,23 @@ var L = class extends g {
380
382
  handleBackdropClick(e) {
381
383
  if (e.target !== e.currentTarget || this.noBackdropClose || this._isDragging() || e.detail === 0) return;
382
384
  let t = this._backdropPress;
383
- this._backdropPress = null, t && t.onMask && (Math.hypot(e.clientX - t.x, e.clientY - t.y) > k || this._closeFromUser());
385
+ this._backdropPress = null, t && t.onMask && (Math.hypot(e.clientX - t.x, e.clientY - t.y) > A || this._closeFromUser());
384
386
  }
385
387
  emitOpenChange(e = this.open) {
386
- i(this, e);
388
+ a(this, e);
387
389
  }
388
390
  _syncScrollLock(e = this.open) {
389
391
  this._scrollLock.sync(e && !this.noScrollLock);
390
392
  }
391
393
  render() {
392
- let e = this._hasHeaderSlot || !!this.heading, t = this.dialogLabel.trim(), r = !t && !this.headless && e ? "wui-drawer-heading" : v, i = this.placement === "top" || this.placement === "bottom", a = this.draggable ? _`
393
- ${i ? _`<div class="wui-drawer-drag-edge" @pointerdown=${this._handleDragPointerDown}></div>` : v}
394
+ let e = this._hasHeaderSlot || !!this.heading, t = this.dialogLabel.trim(), r = !t && !this.headless && e ? "wui-drawer-heading" : y, i = this.placement === "top" || this.placement === "bottom", a = this.draggable ? v`
395
+ ${i ? v`<div class="wui-drawer-drag-edge" @pointerdown=${this._handleDragPointerDown}></div>` : y}
394
396
  <div class="wui-drawer-drag-zone" @pointerdown=${this._handleDragPointerDown}></div>
395
397
  <div class="wui-drawer-drag-bar"></div>
396
- ` : v;
397
- return _`
398
+ ` : y;
399
+ return v`
398
400
  <dialog
399
- aria-label=${t || v}
401
+ aria-label=${t || y}
400
402
  aria-labelledby=${r}
401
403
  @cancel=${this.handleCancel}
402
404
  @close=${this.handleNativeClose}
@@ -405,7 +407,7 @@ var L = class extends g {
405
407
  @keydown=${this.handleKeydown}
406
408
  @transitionend=${this.handleTransitionEnd}
407
409
  >
408
- ${this.headless ? _`<slot></slot>${a}` : _`
410
+ ${this.headless ? v`<slot></slot>${a}` : v`
409
411
  <div class="wui-drawer-body wui-glass">
410
412
  <div
411
413
  class="wui-drawer-header"
@@ -414,10 +416,10 @@ var L = class extends g {
414
416
  @pointerdown=${this._handleSectionDragPointerDown}
415
417
  >
416
418
  <slot name="header" @slotchange=${this.handleHeaderSlotChange}>
417
- ${this.heading ? _`<span class="wui-drawer-heading">${this.heading}</span>` : v}
419
+ ${this.heading ? v`<span class="wui-drawer-heading">${this.heading}</span>` : y}
418
420
  </slot>
419
421
  </div>
420
- <div class="wui-drawer-content">
422
+ <div class="wui-drawer-content wui-scroll">
421
423
  <slot></slot>
422
424
  </div>
423
425
  <div
@@ -428,7 +430,7 @@ var L = class extends g {
428
430
  <slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
429
431
  </div>
430
432
  </div>
431
- ${this.closable ? _`
433
+ ${this.closable ? v`
432
434
  <web-ui-button
433
435
  class="wui-drawer-close"
434
436
  @click=${this._closeFromUser}
@@ -439,44 +441,44 @@ var L = class extends g {
439
441
  >
440
442
  <web-ui-icon size="14" .icon=${n}></web-ui-icon>
441
443
  </web-ui-button>
442
- ` : v}
444
+ ` : y}
443
445
  ${a}
444
446
  `}
445
447
  </dialog>
446
448
  `;
447
449
  }
448
450
  };
449
- e([x({
451
+ e([S({
450
452
  type: Boolean,
451
453
  reflect: !0
452
- })], L.prototype, "open", void 0), e([x({
454
+ })], R.prototype, "open", void 0), e([S({
453
455
  type: Boolean,
454
456
  reflect: !0,
455
457
  attribute: "no-scroll-lock"
456
- })], L.prototype, "noScrollLock", void 0), e([x({
458
+ })], R.prototype, "noScrollLock", void 0), e([S({
457
459
  type: Boolean,
458
460
  reflect: !0,
459
461
  attribute: "no-backdrop-close"
460
- })], L.prototype, "noBackdropClose", void 0), e([x({
462
+ })], R.prototype, "noBackdropClose", void 0), e([S({
461
463
  type: Boolean,
462
464
  reflect: !0
463
- })], L.prototype, "controlled", void 0), e([x({
465
+ })], R.prototype, "controlled", void 0), e([S({
464
466
  type: String,
465
467
  reflect: !0
466
- })], L.prototype, "placement", null), e([x({ type: String })], L.prototype, "heading", void 0), e([x({
468
+ })], R.prototype, "placement", null), e([S({ type: String })], R.prototype, "heading", void 0), e([S({
467
469
  type: Boolean,
468
470
  reflect: !0
469
- })], L.prototype, "closable", void 0), e([x({
471
+ })], R.prototype, "closable", void 0), e([S({
470
472
  type: Boolean,
471
473
  reflect: !0
472
- })], L.prototype, "headless", void 0), e([x({
474
+ })], R.prototype, "headless", void 0), e([S({
473
475
  type: String,
474
476
  attribute: "dialog-label"
475
- })], L.prototype, "dialogLabel", void 0), e([x({
477
+ })], R.prototype, "dialogLabel", void 0), e([S({
476
478
  type: Boolean,
477
479
  reflect: !0
478
- })], L.prototype, "draggable", void 0), L = e([b("web-ui-drawer")], L);
480
+ })], R.prototype, "draggable", void 0), R = e([x("web-ui-drawer")], R);
479
481
  //#endregion
480
- export { L as WebUiDrawer };
482
+ export { R as WebUiDrawer };
481
483
 
482
484
  //# sourceMappingURL=index.js.map