@nonoun/native-ui 0.2.7 → 0.2.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 (105) hide show
  1. package/dist/components/ui-accordion/ui-accordion-element.d.ts.map +1 -1
  2. package/dist/components/ui-avatar/ui-avatar-element.d.ts +2 -0
  3. package/dist/components/ui-avatar/ui-avatar-element.d.ts.map +1 -1
  4. package/dist/components/ui-calendar/calendar-store.d.ts.map +1 -1
  5. package/dist/components/ui-calendar/ui-calendar-element.d.ts +1 -0
  6. package/dist/components/ui-calendar/ui-calendar-element.d.ts.map +1 -1
  7. package/dist/components/ui-chat/ui-chat-input-element.d.ts.map +1 -1
  8. package/dist/components/ui-checkbox/ui-checkbox-element.d.ts +1 -0
  9. package/dist/components/ui-checkbox/ui-checkbox-element.d.ts.map +1 -1
  10. package/dist/components/ui-combobox/ui-combobox-element.d.ts +1 -0
  11. package/dist/components/ui-combobox/ui-combobox-element.d.ts.map +1 -1
  12. package/dist/components/ui-command/ui-command-element.d.ts.map +1 -1
  13. package/dist/components/ui-command/ui-command-group-element.d.ts +1 -0
  14. package/dist/components/ui-command/ui-command-group-element.d.ts.map +1 -1
  15. package/dist/components/ui-controller/ui-controller-element.d.ts +1 -0
  16. package/dist/components/ui-controller/ui-controller-element.d.ts.map +1 -1
  17. package/dist/components/ui-dialog/ui-dialog-element.d.ts +0 -1
  18. package/dist/components/ui-dialog/ui-dialog-element.d.ts.map +1 -1
  19. package/dist/components/ui-drawer/ui-drawer-element.d.ts +0 -1
  20. package/dist/components/ui-drawer/ui-drawer-element.d.ts.map +1 -1
  21. package/dist/components/ui-field/ui-field-element.d.ts.map +1 -1
  22. package/dist/components/ui-input/ui-input-element.d.ts +1 -0
  23. package/dist/components/ui-input/ui-input-element.d.ts.map +1 -1
  24. package/dist/components/ui-input-otp/ui-input-otp-element.d.ts +1 -0
  25. package/dist/components/ui-input-otp/ui-input-otp-element.d.ts.map +1 -1
  26. package/dist/components/ui-listbox/ui-listbox-element.d.ts.map +1 -1
  27. package/dist/components/ui-nav/ui-nav-group-element.d.ts +1 -1
  28. package/dist/components/ui-pagination/ui-pagination-element.d.ts.map +1 -1
  29. package/dist/components/ui-radio/ui-radio-element.d.ts.map +1 -1
  30. package/dist/components/ui-radio/ui-radio-group-element.d.ts +1 -0
  31. package/dist/components/ui-radio/ui-radio-group-element.d.ts.map +1 -1
  32. package/dist/components/ui-range/ui-range-element.d.ts +4 -0
  33. package/dist/components/ui-range/ui-range-element.d.ts.map +1 -1
  34. package/dist/components/ui-segmented-control/ui-segment-element.d.ts.map +1 -1
  35. package/dist/components/ui-segmented-control/ui-segmented-control-element.d.ts +1 -0
  36. package/dist/components/ui-segmented-control/ui-segmented-control-element.d.ts.map +1 -1
  37. package/dist/components/ui-select/ui-select-element.d.ts +1 -0
  38. package/dist/components/ui-select/ui-select-element.d.ts.map +1 -1
  39. package/dist/components/ui-slideshow/ui-slideshow-element.d.ts.map +1 -1
  40. package/dist/components/ui-switch/ui-switch-element.d.ts +4 -0
  41. package/dist/components/ui-switch/ui-switch-element.d.ts.map +1 -1
  42. package/dist/components/ui-table/index.d.ts +1 -1
  43. package/dist/components/ui-table/index.d.ts.map +1 -1
  44. package/dist/components/ui-table/table-store.d.ts +0 -1
  45. package/dist/components/ui-table/table-store.d.ts.map +1 -1
  46. package/dist/components/ui-table/ui-table-element.d.ts +1 -0
  47. package/dist/components/ui-table/ui-table-element.d.ts.map +1 -1
  48. package/dist/components/ui-table/ui-table-header-element.d.ts +1 -0
  49. package/dist/components/ui-table/ui-table-header-element.d.ts.map +1 -1
  50. package/dist/components/ui-tabs/ui-tab-element.d.ts.map +1 -1
  51. package/dist/components/ui-tabs/ui-tabs-element.d.ts.map +1 -1
  52. package/dist/components/ui-textarea/ui-textarea-element.d.ts +1 -0
  53. package/dist/components/ui-textarea/ui-textarea-element.d.ts.map +1 -1
  54. package/dist/components/ui-tree/ui-tree-item-element.d.ts +4 -0
  55. package/dist/components/ui-tree/ui-tree-item-element.d.ts.map +1 -1
  56. package/dist/components-lean.css +91 -80
  57. package/dist/components.css +99 -80
  58. package/dist/core/form-associable.d.ts +2 -2
  59. package/dist/core/ui-element.d.ts +2 -0
  60. package/dist/core/ui-element.d.ts.map +1 -1
  61. package/dist/custom-elements.json +4429 -2287
  62. package/dist/dialog-controller.js +56 -39
  63. package/dist/icons/ui-icon-element.d.ts +1 -0
  64. package/dist/icons/ui-icon-element.d.ts.map +1 -1
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/kernel/index.d.ts +1 -0
  68. package/dist/kernel/index.d.ts.map +1 -1
  69. package/dist/kernel/overlay-manager.d.ts +5 -1
  70. package/dist/kernel/overlay-manager.d.ts.map +1 -1
  71. package/dist/kernel.js +32 -13
  72. package/dist/native-ui-lean.css +91 -80
  73. package/dist/native-ui.css +99 -80
  74. package/dist/native-ui.js +5 -5
  75. package/dist/register-all2.js +147 -76
  76. package/dist/traits/adapters/collapsible-adapter.d.ts.map +1 -1
  77. package/dist/traits/adapters/copyable-adapter.d.ts.map +1 -1
  78. package/dist/traits/adapters/hoverable-adapter.d.ts.map +1 -1
  79. package/dist/traits/adapters/intersectable-adapter.d.ts.map +1 -1
  80. package/dist/traits/adapters/resizable-adapter.d.ts.map +1 -1
  81. package/dist/traits/adapters/searchable-adapter.d.ts.map +1 -1
  82. package/dist/traits/adapters/sortable-adapter.d.ts.map +1 -1
  83. package/dist/traits/adapters/swipeable-adapter.d.ts.map +1 -1
  84. package/dist/traits/adapters/virtualizable-adapter.d.ts.map +1 -1
  85. package/dist/traits/collapsible-controller.d.ts.map +1 -1
  86. package/dist/traits/dialog-controller.d.ts.map +1 -1
  87. package/dist/traits/drag-controller.d.ts.map +1 -1
  88. package/dist/traits/drop-zone-controller.d.ts +1 -1
  89. package/dist/traits/drop-zone-controller.d.ts.map +1 -1
  90. package/dist/traits/focus-trap-controller.d.ts.map +1 -1
  91. package/dist/traits/hover-controller.d.ts +1 -1
  92. package/dist/traits/hover-controller.d.ts.map +1 -1
  93. package/dist/traits/intersect-controller.d.ts.map +1 -1
  94. package/dist/traits/popover-controller.d.ts.map +1 -1
  95. package/dist/traits/press-controller.d.ts.map +1 -1
  96. package/dist/traits/resize-controller.d.ts.map +1 -1
  97. package/dist/traits/selection-controller.d.ts.map +1 -1
  98. package/dist/traits/sort-controller.d.ts.map +1 -1
  99. package/dist/traits/swipe-controller.d.ts.map +1 -1
  100. package/dist/traits/validate-controller.d.ts +2 -0
  101. package/dist/traits/validate-controller.d.ts.map +1 -1
  102. package/dist/traits.js +4 -4
  103. package/dist/ui-element.js +13 -8
  104. package/dist/ui-icon-element.js +687 -467
  105. package/package.json +1 -1
package/dist/native-ui.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { n as e, t } from "./uid.js";
2
2
  import { i as n, n as ee, r as te, t as ne } from "./define.js";
3
- import { A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, L as f, M as p, N as m, O as h, P as g, R as _, S as v, T as y, U as b, V as x, W as S, _ as C, a as w, b as T, c as E, d as D, f as O, g as k, h as A, i as j, j as M, k as N, l as P, m as F, n as I, o as L, p as R, r as z, s as B, t as V, u as H, v as U, w as W, x as G, y as K, z as q } from "./register-all2.js";
4
- import { a as J, i as Y, n as X, r as Z, s as re, t as ie } from "./ui-element.js";
5
- import { $ as ae, A as oe, B as se, C as ce, Ct as le, D as ue, Dt as de, E as fe, Et as pe, F as me, G as he, H as ge, I as _e, J as ve, K as ye, L as be, M as xe, N as Se, O as Ce, P as we, Q as Te, R as Ee, S as De, St as Oe, T as ke, Tt as Ae, U as je, V as Q, W as Me, X as Ne, Y as Pe, Z as Fe, _ as Ie, _t as Le, a as Re, at as ze, b as Be, bt as Ve, c as He, ct as Ue, d as We, dt as Ge, et as Ke, f as qe, ft as Je, g as Ye, gt as Xe, h as Ze, ht as Qe, i as $e, it as et, j as tt, k as nt, l as rt, lt as it, m as at, mt as ot, n as st, nt as ct, o as lt, ot as ut, p as dt, pt as ft, q as pt, r as mt, rt as ht, s as gt, st as _t, t as vt, tt as yt, u as bt, ut as xt, v as St, vt as Ct, w as wt, wt as Tt, x as Et, xt as Dt, y as Ot, yt as kt, z as At } from "./ui-icon-element.js";
6
- import { a as jt, c as Mt, d as Nt, f as Pt, i as Ft, l as It, n as Lt, o as Rt, r as zt, s as Bt, t as Vt, u as Ht } from "./dialog-controller.js";
3
+ import { a as r, c as i, d as a, f as o, i as s, l as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./dialog-controller.js";
4
+ import { A as g, B as _, C as v, D as y, E as b, F as x, H as S, I as C, L as w, M as T, N as E, O as D, P as O, R as k, S as A, T as j, U as M, V as N, W as P, _ as F, a as I, b as L, c as R, d as z, f as B, g as V, h as H, i as U, j as W, k as G, l as K, m as q, n as J, o as Y, p as X, r as Z, s as re, t as ie, u as ae, v as oe, w as se, x as ce, y as le, z as ue } from "./register-all2.js";
5
+ import { a as de, i as fe, n as pe, r as me, s as he, t as ge } from "./ui-element.js";
6
+ import { $ as _e, A as ve, B as ye, C as be, Ct as xe, D as Se, Dt as Ce, E as we, Et as Te, F as Ee, G as De, H as Oe, I as ke, J as Ae, K as je, L as Q, M as Me, N as Ne, O as Pe, P as Fe, Q as Ie, R as Le, S as Re, St as ze, T as Be, Tt as Ve, U as He, V as Ue, W as We, X as Ge, Y as Ke, Z as qe, _ as Je, _t as Ye, a as Xe, at as Ze, b as Qe, bt as $e, c as et, ct as tt, d as nt, dt as rt, et as it, f as at, ft as ot, g as st, gt as ct, h as lt, ht as ut, i as dt, it as ft, j as pt, k as mt, l as ht, lt as gt, m as _t, mt as vt, n as yt, nt as bt, o as xt, ot as St, p as Ct, pt as wt, q as Tt, r as Et, rt as Dt, s as Ot, st as kt, t as At, tt as jt, u as Mt, ut as Nt, v as Pt, vt as Ft, w as It, wt as Lt, x as Rt, xt as zt, y as Bt, yt as Vt, z as Ht } from "./ui-icon-element.js";
7
7
  var $ = class extends Event {
8
8
  context;
9
9
  callback;
@@ -46,4 +46,4 @@ function Wt(e) {
46
46
  }
47
47
  };
48
48
  }
49
- export { be as CalendarStore, c as ClipboardController, o as CollapsibleController, he as ColumnResizeController, Wt as ContextConsumer, Ut as ContextProvider, $ as ContextRequestEvent, m as CopyController, Oe as DataListController, Vt as DialogController, Ft as DismissController, It as DismissStack, Mt as DragController, M as DropZoneController, d as EditController, h as FocusTrapController, Tt as FormAssociable, Pt as GestureRouter, g as HoverController, p as IntersectController, Lt as ListNavigateController, zt as PopoverController, Rt as PressController, x as RangeSelectController, Bt as ResizeController, jt as RovingFocusController, _ as SearchController, me as SelectController, q as SelectionController, r as SortController, f as SwipeController, ye as TableStore, s as ToastController, Ht as ToastManager, Ke as UIAccordion, ae as UIAccordionItem, Ce as UIAvatar, ue as UIBadge, ke as UIBreadcrumb, wt as UIBreadcrumbItem, kt as UIButton, _e as UICalendar, We as UICard, qe as UIChatInput, _t as UICheckbox, Se as UICombobox, ft as UICommand, Ue as UICommandEmpty, it as UICommandGroup, Je as UICommandInput, xt as UICommandItem, Ge as UICommandList, dt as UIController, Te as UIDialog, De as UIDrawer, ie as UIElement, xe as UIField, vt as UIIcon, Ct as UIInput, nt as UIInputOtp, fe as UIKbd, lt as UILayoutChat, Re as UILayoutInspector, He as UILayoutSidebar, gt as UILayoutSidebarItem, Le as UIListbox, Ie as UINav, Ze as UINavGroup, at as UINavGroupHeader, Ye as UINavItem, Xe as UIOption, ot as UIOptionGroup, Qe as UIOptionGroupHeader, ce as UIPagination, ze as UIRadio, et as UIRadioGroup, oe as UIRange, bt as UISection, ct as UISegment, ht as UISegmentedControl, we as UISelect, St as UISlide, Ot as UISlideshow, ut as UISwitch, Ne as UITab, Pe as UITabPanel, ve as UITabPanels, Me as UITable, ge as UITableBody, se as UITableCell, je as UITableHead, At as UITableHeader, Q as UITableRow, Fe as UITabs, tt as UITextarea, rt as UIToolbar, yt as UITooltip, Et as UITree, Be as UITreeItem, N as ValidateController, i as VirtualScrollController, ee as batch, j as clippableAdapter, C as collapsibleAdapter, X as collectTraitOptions, te as computed, a as copyableAdapter, Ee as createCalendarStore, le as createDataList, de as createDisabledEffect, pt as createTableStore, u as debugReactive, ne as define, D as dialogableAdapter, A as dismissableAdapter, H as draggableAdapter, G as droppableAdapter, I as editableAdapter, e as effect, Ve as fetchDataOptions, U as focusTrappableAdapter, st as getIcon, Y as getRegisteredTraitNames, J as getTrait, Nt as getTraitRuntime, W as hoverableAdapter, v as intersectableAdapter, b as isComputed, S as isSignal, O as listNavigableAdapter, mt as onIconRegistered, Dt as parseDataOptions, Z as parseTraitAttribute, R as popoverableAdapter, y as pressableAdapter, Ae as prop, P as rangeSelectableAdapter, V as registerAllTraits, $e as registerIcon, re as registerTrait, E as resizableAdapter, k as rovingFocusableAdapter, w as searchableAdapter, L as selectableAdapter, n as signal, T as sortableAdapter, z as swipeableAdapter, pe as syncProp, F as toastableAdapter, t as uid, l as untrack, K as validatableAdapter, B as virtualizableAdapter };
49
+ export { Q as CalendarStore, x as ClipboardController, y as CollapsibleController, De as ColumnResizeController, Wt as ContextConsumer, Ut as ContextProvider, $ as ContextRequestEvent, E as CopyController, ze as DataListController, m as DialogController, s as DismissController, c as DismissStack, i as DragController, W as DropZoneController, C as EditController, D as FocusTrapController, Lt as FormAssociable, o as GestureRouter, O as HoverController, T as IntersectController, l as ListNavigateController, f as PopoverController, u as PressController, N as RangeSelectController, p as ResizeController, r as RovingFocusController, k as SearchController, Ee as SelectController, ue as SelectionController, g as SortController, w as SwipeController, je as TableStore, b as ToastController, h as ToastManager, it as UIAccordion, _e as UIAccordionItem, Pe as UIAvatar, Se as UIBadge, Be as UIBreadcrumb, It as UIBreadcrumbItem, Vt as UIButton, ke as UICalendar, nt as UICard, at as UIChatInput, kt as UICheckbox, Ne as UICombobox, wt as UICommand, tt as UICommandEmpty, gt as UICommandGroup, ot as UICommandInput, Nt as UICommandItem, rt as UICommandList, Ct as UIController, Ie as UIDialog, Re as UIDrawer, ge as UIElement, Me as UIField, At as UIIcon, Ft as UIInput, mt as UIInputOtp, we as UIKbd, xt as UILayoutChat, Xe as UILayoutInspector, et as UILayoutSidebar, Ot as UILayoutSidebarItem, Ye as UIListbox, Je as UINav, lt as UINavGroup, _t as UINavGroupHeader, st as UINavItem, ct as UIOption, vt as UIOptionGroup, ut as UIOptionGroupHeader, be as UIPagination, Ze as UIRadio, ft as UIRadioGroup, ve as UIRange, Mt as UISection, bt as UISegment, Dt as UISegmentedControl, Fe as UISelect, Pt as UISlide, Bt as UISlideshow, St as UISwitch, Ge as UITab, Ke as UITabPanel, Ae as UITabPanels, We as UITable, Oe as UITableBody, ye as UITableCell, He as UITableHead, Ht as UITableHeader, Ue as UITableRow, qe as UITabs, pt as UITextarea, ht as UIToolbar, jt as UITooltip, Rt as UITree, Qe as UITreeItem, G as ValidateController, _ as VirtualScrollController, ee as batch, U as clippableAdapter, F as collapsibleAdapter, pe as collectTraitOptions, te as computed, v as copyableAdapter, Le as createCalendarStore, xe as createDataList, Ce as createDisabledEffect, Tt as createTableStore, S as debugReactive, ne as define, z as dialogableAdapter, H as dismissableAdapter, ae as draggableAdapter, ce as droppableAdapter, J as editableAdapter, e as effect, $e as fetchDataOptions, oe as focusTrappableAdapter, yt as getIcon, fe as getRegisteredTraitNames, de as getTrait, a as getTraitRuntime, se as hoverableAdapter, A as intersectableAdapter, M as isComputed, P as isSignal, B as listNavigableAdapter, Et as onIconRegistered, zt as parseDataOptions, me as parseTraitAttribute, X as popoverableAdapter, j as pressableAdapter, Ve as prop, K as rangeSelectableAdapter, ie as registerAllTraits, dt as registerIcon, he as registerTrait, R as resizableAdapter, V as rovingFocusableAdapter, I as searchableAdapter, Y as selectableAdapter, n as signal, L as sortableAdapter, Z as swipeableAdapter, Te as syncProp, q as toastableAdapter, t as uid, d as untrack, le as validatableAdapter, re as virtualizableAdapter };
@@ -1,16 +1,7 @@
1
- import { f as e, i as t, l as n, m as r } from "./uid.js";
2
- import { s as i } from "./ui-element.js";
3
- import { a, c as o, d as s, i as c, n as ee, o as te, r as l, s as u, t as d } from "./dialog-controller.js";
4
- function ne(e) {
5
- let t = n();
6
- r(null);
7
- try {
8
- return e();
9
- } finally {
10
- r(t);
11
- }
12
- }
13
- function re(n) {
1
+ import { f as e, i as t } from "./uid.js";
2
+ import { a as n, c as r, d as i, i as a, n as o, o as s, r as c, s as ee, t as l } from "./dialog-controller.js";
3
+ import { s as u } from "./ui-element.js";
4
+ function d(n) {
14
5
  let r = e.get(n);
15
6
  return r ? r instanceof t ? {
16
7
  type: "signal",
@@ -29,7 +20,7 @@ function re(n) {
29
20
  dependencyCount: 0
30
21
  };
31
22
  }
32
- function ie(e) {
23
+ function te(e) {
33
24
  return typeof e == "object" && !!e && Symbol.toStringTag in e && e[Symbol.toStringTag] === "Signal";
34
25
  }
35
26
  function f(e) {
@@ -256,7 +247,8 @@ var p = class {
256
247
  }
257
248
  }
258
249
  clear() {
259
- this.#i(), this.#e.clear(), this.#t = null, this.#a();
250
+ let e = this.#e.size === 0;
251
+ this.#i(), this.#e.clear(), this.#t = null, e || this.#a();
260
252
  }
261
253
  getSelection() {
262
254
  return [...this.#e];
@@ -404,15 +396,28 @@ var p = class {
404
396
  let t = e.clientX - this.#e, n = e.clientY - this.#t, r = Date.now() - this.#n, i = Math.abs(t), a = Math.abs(n), o = null, s = 0;
405
397
  this.axis === "horizontal" || this.axis === "both" && i >= a ? (s = i, o = t > 0 ? "right" : "left") : (s = a, o = n > 0 ? "down" : "up");
406
398
  let c = r > 0 ? s / r : 0;
407
- s >= this.threshold && c >= this.velocityThreshold && (this.#a = o, this.#o = s, this.#c = c, this.host.setAttribute(`swipe-${o}`, ""), this.#s = setTimeout(() => this.host.removeAttribute(`swipe-${o}`), 300), this.host.dispatchEvent(new CustomEvent("ui-swipe", {
408
- bubbles: !0,
409
- composed: !0,
410
- detail: {
411
- direction: o,
412
- distance: s,
413
- velocity: c
399
+ if (s >= this.threshold && c >= this.velocityThreshold) {
400
+ if (this.#a = o, this.#o = s, this.#c = c, this.#s !== null) {
401
+ clearTimeout(this.#s), this.#s = null;
402
+ for (let e of [
403
+ "swipe-left",
404
+ "swipe-right",
405
+ "swipe-up",
406
+ "swipe-down"
407
+ ]) this.host.removeAttribute(e);
414
408
  }
415
- })));
409
+ this.host.setAttribute(`swipe-${o}`, ""), this.#s = setTimeout(() => {
410
+ this.host.removeAttribute(`swipe-${o}`), this.#s = null;
411
+ }, 300), this.host.dispatchEvent(new CustomEvent("ui-swipe", {
412
+ bubbles: !0,
413
+ composed: !0,
414
+ detail: {
415
+ direction: o,
416
+ distance: s,
417
+ velocity: c
418
+ }
419
+ }));
420
+ }
416
421
  };
417
422
  #d = () => {
418
423
  this.#i = !1, this.host.removeAttribute("swiping"), this.host.removeEventListener("pointerup", this.#u), this.host.removeEventListener("pointercancel", this.#d);
@@ -589,12 +594,12 @@ var p = class {
589
594
  }
590
595
  #r = (e) => {
591
596
  this.disabled || (clearTimeout(this.#t), this.delay > 0 ? this.#e = setTimeout(() => {
592
- this.host.toggleAttribute("hovered", !0), this.host.dispatchEvent(new CustomEvent("ui-hover-enter", {
597
+ this.host.toggleAttribute("hovered", !0), this.host.dispatchEvent(new CustomEvent("ui-hover-start", {
593
598
  bubbles: !0,
594
599
  composed: !0,
595
600
  detail: { pointerType: e.pointerType }
596
601
  }));
597
- }, this.delay) : (this.host.toggleAttribute("hovered", !0), this.host.dispatchEvent(new CustomEvent("ui-hover-enter", {
602
+ }, this.delay) : (this.host.toggleAttribute("hovered", !0), this.host.dispatchEvent(new CustomEvent("ui-hover-start", {
598
603
  bubbles: !0,
599
604
  composed: !0,
600
605
  detail: { pointerType: e.pointerType }
@@ -602,12 +607,12 @@ var p = class {
602
607
  };
603
608
  #i = (e) => {
604
609
  this.disabled || (clearTimeout(this.#e), this.leaveDelay > 0 ? this.#t = setTimeout(() => {
605
- this.host.removeAttribute("hovered"), this.host.dispatchEvent(new CustomEvent("ui-hover-leave", {
610
+ this.host.removeAttribute("hovered"), this.host.dispatchEvent(new CustomEvent("ui-hover-end", {
606
611
  bubbles: !0,
607
612
  composed: !0,
608
613
  detail: { pointerType: e.pointerType }
609
614
  }));
610
- }, this.leaveDelay) : (this.host.removeAttribute("hovered"), this.host.dispatchEvent(new CustomEvent("ui-hover-leave", {
615
+ }, this.leaveDelay) : (this.host.removeAttribute("hovered"), this.host.dispatchEvent(new CustomEvent("ui-hover-end", {
611
616
  bubbles: !0,
612
617
  composed: !0,
613
618
  detail: { pointerType: e.pointerType }
@@ -670,7 +675,7 @@ var p = class {
670
675
  isIntersecting: e,
671
676
  ratio: t.intersectionRatio
672
677
  }
673
- })), e && this.once && (this.#e?.disconnect(), this.#e = null);
678
+ })), e && this.once && (this.#e?.disconnect(), this.#e = null, this.#t = !1);
674
679
  }
675
680
  };
676
681
  }, C = class {
@@ -698,22 +703,33 @@ var p = class {
698
703
  return !1;
699
704
  }
700
705
  #r = (e) => {
701
- this.disabled || !e.dataTransfer || (e.preventDefault(), this.#e++, this.#n(e.dataTransfer) ? (this.host.toggleAttribute("drop-active", !0), this.host.removeAttribute("drop-invalid")) : (this.host.toggleAttribute("drop-invalid", !0), this.host.removeAttribute("drop-active")));
706
+ if (this.disabled || !e.dataTransfer) return;
707
+ e.preventDefault(), this.#e++;
708
+ let t = this.#n(e.dataTransfer);
709
+ t ? (this.host.toggleAttribute("drop-active", !0), this.host.removeAttribute("drop-invalid")) : (this.host.toggleAttribute("drop-invalid", !0), this.host.removeAttribute("drop-active")), this.#e === 1 && this.host.dispatchEvent(new CustomEvent("ui-drop-enter", {
710
+ bubbles: !0,
711
+ composed: !0,
712
+ detail: { valid: t }
713
+ }));
702
714
  };
703
715
  #i = (e) => {
704
716
  this.disabled || (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "copy"));
705
717
  };
706
718
  #a = (e) => {
707
- this.#e--, this.#e <= 0 && (this.#e = 0, this.host.removeAttribute("drop-active"), this.host.removeAttribute("drop-invalid"));
719
+ this.#e--, this.#e <= 0 && (this.#e = 0, this.host.removeAttribute("drop-active"), this.host.removeAttribute("drop-invalid"), this.host.dispatchEvent(new CustomEvent("ui-drop-leave", {
720
+ bubbles: !0,
721
+ composed: !0
722
+ })));
708
723
  };
709
724
  #o = (e) => {
710
725
  if (e.preventDefault(), this.#e = 0, this.host.removeAttribute("drop-active"), this.host.removeAttribute("drop-invalid"), this.disabled || !e.dataTransfer) return;
711
726
  if (e.dataTransfer.files.length > 0) {
712
727
  let t = Array.from(e.dataTransfer.files);
713
- this.multiple || (t = t.slice(0, 1)), this.host.dispatchEvent(new CustomEvent("ui-file-drop", {
728
+ this.multiple || (t = t.slice(0, 1)), this.host.dispatchEvent(new CustomEvent("ui-drop", {
714
729
  bubbles: !0,
715
730
  composed: !0,
716
731
  detail: {
732
+ type: "file",
717
733
  files: t,
718
734
  dataTransfer: e.dataTransfer
719
735
  }
@@ -721,10 +737,13 @@ var p = class {
721
737
  return;
722
738
  }
723
739
  let t = e.dataTransfer.getData("text/plain");
724
- t && this.host.dispatchEvent(new CustomEvent("ui-text-drop", {
740
+ t && this.host.dispatchEvent(new CustomEvent("ui-drop", {
725
741
  bubbles: !0,
726
742
  composed: !0,
727
- detail: { text: t }
743
+ detail: {
744
+ type: "text",
745
+ text: t
746
+ }
728
747
  }));
729
748
  };
730
749
  }, w = class {
@@ -744,17 +763,19 @@ var p = class {
744
763
  return this.#t;
745
764
  }
746
765
  attach() {
747
- if (!this.#n && (this.#n = !0, this.selector)) for (let e of this.host.querySelectorAll(this.selector)) e.addEventListener("click", this.#r), e.style.cursor = "pointer";
766
+ this.#n || (this.#n = !0, this.host.addEventListener("click", this.#r));
748
767
  }
749
768
  detach() {
750
- if (this.#n && (this.#n = !1, this.selector)) for (let e of this.host.querySelectorAll(this.selector)) e.removeEventListener("click", this.#r);
769
+ this.#n && (this.#n = !1, this.host.removeEventListener("click", this.#r));
751
770
  }
752
771
  destroy() {
753
772
  this.detach();
754
773
  }
755
774
  #r = (e) => {
756
- if (this.disabled) return;
757
- let t = e.currentTarget, n = t.dataset.column ?? t.textContent?.trim() ?? "";
775
+ if (this.disabled || !this.selector) return;
776
+ let t = e.target.closest(this.selector);
777
+ if (!t || !this.host.contains(t)) return;
778
+ let n = t.dataset.column ?? t.textContent?.trim() ?? "";
758
779
  n === this.#e ? this.#t === "asc" ? this.#t = "desc" : this.#t === "desc" ? this.#t = "none" : this.#t = "asc" : (this.#e = n, this.#t = "asc");
759
780
  for (let e of this.host.querySelectorAll(this.selector)) (e.dataset.column ?? e.textContent?.trim() ?? "") === this.#e && this.#t !== "none" ? e.setAttribute("aria-sort", this.#t === "asc" ? "ascending" : "descending") : e.removeAttribute("aria-sort");
760
781
  this.host.dispatchEvent(new CustomEvent("ui-sort", {
@@ -769,20 +790,21 @@ var p = class {
769
790
  }, T = class {
770
791
  host;
771
792
  rules;
772
- #e = !0;
773
- #t = "";
793
+ #e;
794
+ #t = !0;
795
+ #n = "";
774
796
  constructor(e, t = {}) {
775
- this.host = e, this.rules = t.rules ?? [];
797
+ this.host = e, this.rules = t.rules ?? [], this.#e = t.internals ?? null;
776
798
  }
777
799
  get valid() {
778
- return this.#e;
800
+ return this.#t;
779
801
  }
780
802
  get errorMessage() {
781
- return this.#t;
803
+ return this.#n;
782
804
  }
783
805
  validate(e) {
784
- let t = e ?? this.#n();
785
- for (let e of this.rules) if (!e.test(t)) return this.#e = !1, this.#t = e.message, this.host.setAttribute("invalid", ""), this.host.setAttribute("aria-invalid", "true"), this.host.dispatchEvent(new CustomEvent("ui-invalid", {
806
+ let t = e ?? this.#r();
807
+ for (let e of this.rules) if (!e.test(t)) return this.#t = !1, this.#n = e.message, this.host.setAttribute("invalid", ""), this.host.setAttribute("aria-invalid", "true"), this.#e?.setValidity({ customError: !0 }, e.message, this.host), this.host.dispatchEvent(new CustomEvent("ui-invalid", {
786
808
  bubbles: !0,
787
809
  composed: !0,
788
810
  detail: {
@@ -790,14 +812,14 @@ var p = class {
790
812
  value: t
791
813
  }
792
814
  })), !1;
793
- return this.#e = !0, this.#t = "", this.host.removeAttribute("invalid"), this.host.removeAttribute("aria-invalid"), this.host.dispatchEvent(new CustomEvent("ui-valid", {
815
+ return this.#t = !0, this.#n = "", this.host.removeAttribute("invalid"), this.host.removeAttribute("aria-invalid"), this.#e?.setValidity({}), this.host.dispatchEvent(new CustomEvent("ui-valid", {
794
816
  bubbles: !0,
795
817
  composed: !0,
796
818
  detail: { value: t }
797
819
  })), !0;
798
820
  }
799
821
  clearValidation() {
800
- this.#e = !0, this.#t = "", this.host.removeAttribute("invalid"), this.host.removeAttribute("aria-invalid");
822
+ this.#t = !0, this.#n = "", this.host.removeAttribute("invalid"), this.host.removeAttribute("aria-invalid"), this.#e?.setValidity({});
801
823
  }
802
824
  destroy() {}
803
825
  static required(e = "This field is required") {
@@ -824,10 +846,10 @@ var p = class {
824
846
  message: t
825
847
  };
826
848
  }
827
- #n() {
828
- return this.#r(this.host) ? this.host.value : this.host.querySelector("input, textarea, select")?.value ?? "";
849
+ #r() {
850
+ return this.#i(this.host) ? this.host.value : this.host.querySelector("input, textarea, select")?.value ?? "";
829
851
  }
830
- #r(e) {
852
+ #i(e) {
831
853
  return "value" in e && typeof e.value == "string";
832
854
  }
833
855
  }, E = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled])", D = class {
@@ -838,7 +860,7 @@ var p = class {
838
860
  this.host = e;
839
861
  }
840
862
  enable() {
841
- this.#e = document.activeElement, this.#t = (e) => {
863
+ this.#t && this.host.removeEventListener("keydown", this.#t), this.#e = document.activeElement, this.#t = (e) => {
842
864
  if (e.key !== "Tab") return;
843
865
  let t = [...this.host.querySelectorAll(E)];
844
866
  if (t.length === 0) return;
@@ -863,6 +885,7 @@ var p = class {
863
885
  duration;
864
886
  #e = !1;
865
887
  #t = null;
888
+ #n = 0;
866
889
  constructor(e, t = {}) {
867
890
  this.host = e, this.duration = t.duration ?? 200;
868
891
  }
@@ -873,7 +896,7 @@ var p = class {
873
896
  e ? this.collapse() : this.expand();
874
897
  }
875
898
  expand() {
876
- this.host.hasAttribute("collapsed") && (this.#e || (this.#e = !0, this.host.removeAttribute("collapsed"), this.host.style.overflow = "clip", this.host.style.height = "0px", requestAnimationFrame(() => {
899
+ this.host.hasAttribute("collapsed") && (this.#e || (this.#e = !0, this.host.removeAttribute("collapsed"), this.host.style.overflow = "clip", this.host.style.height = "0px", this.#n = requestAnimationFrame(() => {
877
900
  let e = this.host.scrollHeight;
878
901
  this.host.style.transition = `height ${this.duration}ms var(--ui-easing, ease)`, this.host.style.height = `${e}px`;
879
902
  let t = () => {
@@ -891,10 +914,10 @@ var p = class {
891
914
  if (this.host.hasAttribute("collapsed") || this.#e) return;
892
915
  this.#e = !0;
893
916
  let e = this.host.scrollHeight;
894
- this.host.style.overflow = "clip", this.host.style.height = `${e}px`, requestAnimationFrame(() => {
917
+ this.host.style.overflow = "clip", this.host.style.height = `${e}px`, this.#n = requestAnimationFrame(() => {
895
918
  this.host.style.transition = `height ${this.duration}ms var(--ui-easing, ease)`, this.host.style.height = "0px";
896
919
  let e = () => {
897
- this.host.removeEventListener("transitionend", e), this.host.style.removeProperty("transition"), this.#e = !1, this.host.setAttribute("collapsed", ""), this.host.dispatchEvent(new CustomEvent("ui-collapse", {
920
+ this.host.removeEventListener("transitionend", e), this.host.style.removeProperty("height"), this.host.style.removeProperty("overflow"), this.host.style.removeProperty("transition"), this.#e = !1, this.host.setAttribute("collapsed", ""), this.host.dispatchEvent(new CustomEvent("ui-collapse", {
898
921
  bubbles: !0,
899
922
  composed: !0
900
923
  }));
@@ -908,7 +931,7 @@ var p = class {
908
931
  this.host.hasAttribute("collapsed") ? this.expand() : this.collapse();
909
932
  }
910
933
  destroy() {
911
- this.#t !== null && (clearTimeout(this.#t), this.#t = null), this.#e = !1;
934
+ cancelAnimationFrame(this.#n), this.#t !== null && (clearTimeout(this.#t), this.#t = null), this.#e && (this.host.style.removeProperty("height"), this.host.style.removeProperty("overflow"), this.host.style.removeProperty("transition")), this.#e = !1;
912
935
  }
913
936
  }, k = class {
914
937
  host;
@@ -916,20 +939,20 @@ var p = class {
916
939
  this.host = e;
917
940
  }
918
941
  toast(e) {
919
- return s().toastManager.toast(this.host, e);
942
+ return i().toastManager.toast(this.host, e);
920
943
  }
921
944
  dismissToast(e) {
922
- s().toastManager.dismiss(e);
945
+ i().toastManager.dismiss(e);
923
946
  }
924
947
  dismissAllToasts() {
925
- s().toastManager.dismissAll();
948
+ i().toastManager.dismissAll();
926
949
  }
927
950
  destroy() {}
928
951
  };
929
952
  const A = {
930
953
  name: "pressable",
931
954
  create(e, t) {
932
- return new te(e, { disabled: t.disabled === "true" });
955
+ return new s(e, { disabled: t.disabled === "true" });
933
956
  },
934
957
  destroy(e) {
935
958
  e.destroy();
@@ -947,7 +970,15 @@ const A = {
947
970
  e.destroy();
948
971
  },
949
972
  update(e, t) {
950
- "delay" in t && (e.delay = Number(t.delay)), "leave-delay" in t && (e.leaveDelay = Number(t["leave-delay"])), "disabled" in t && (e.disabled = t.disabled === "true");
973
+ if ("delay" in t) {
974
+ let n = t.delay, r = Number(n);
975
+ n !== "" && !isNaN(r) && (e.delay = r);
976
+ }
977
+ if ("leave-delay" in t) {
978
+ let n = t["leave-delay"], r = Number(n);
979
+ n !== "" && !isNaN(r) && (e.leaveDelay = r);
980
+ }
981
+ "disabled" in t && (e.disabled = t.disabled === "true");
951
982
  }
952
983
  }, M = {
953
984
  name: "copyable",
@@ -961,7 +992,10 @@ const A = {
961
992
  e.destroy();
962
993
  },
963
994
  update(e, t) {
964
- "value" in t && (e.value = t.value), "feedback-duration" in t && (e.feedbackDuration = Number(t["feedback-duration"]));
995
+ if ("value" in t && (e.value = t.value), "feedback-duration" in t) {
996
+ let n = t["feedback-duration"], r = Number(n);
997
+ n !== "" && !isNaN(r) && (e.feedbackDuration = r);
998
+ }
965
999
  }
966
1000
  }, N = {
967
1001
  name: "intersectable",
@@ -976,6 +1010,17 @@ const A = {
976
1010
  },
977
1011
  destroy(e) {
978
1012
  e.destroy();
1013
+ },
1014
+ update(e, t) {
1015
+ if ("threshold" in t || "margin" in t || "root" in t) {
1016
+ if (e.detach(), "threshold" in t) {
1017
+ let n = t.threshold, r = Number(n);
1018
+ n !== "" && !isNaN(r) && (e.threshold = r);
1019
+ }
1020
+ "margin" in t && (e.margin = t.margin ?? e.margin), "root" in t && (e.root = t.root ?? e.root), e.disabled || e.attach();
1021
+ return;
1022
+ }
1023
+ "disabled" in t && (e.disabled = t.disabled === "true", e.disabled ? e.detach() : e.attach()), "once" in t && (e.once = t.once === "true");
979
1024
  }
980
1025
  }, P = {
981
1026
  name: "droppable",
@@ -1004,7 +1049,7 @@ const A = {
1004
1049
  e.destroy();
1005
1050
  },
1006
1051
  update(e, t) {
1007
- "disabled" in t && (e.disabled = t.disabled === "true");
1052
+ "selector" in t && (e.selector = t.selector ?? ""), "disabled" in t && (e.disabled = t.disabled === "true");
1008
1053
  }
1009
1054
  }, I = {
1010
1055
  name: "validatable",
@@ -1031,12 +1076,15 @@ const A = {
1031
1076
  e.destroy();
1032
1077
  },
1033
1078
  update(e, t) {
1034
- "duration" in t && (e.duration = Number(t.duration));
1079
+ if ("duration" in t) {
1080
+ let n = t.duration, r = Number(n);
1081
+ n !== "" && !isNaN(r) && (e.duration = r);
1082
+ }
1035
1083
  }
1036
1084
  }, z = {
1037
1085
  name: "roving-focusable",
1038
1086
  create(e, t) {
1039
- return new a(e, {
1087
+ return new n(e, {
1040
1088
  selector: t.selector ?? void 0,
1041
1089
  orientation: t.orientation ?? void 0,
1042
1090
  wrap: t.wrap !== "false",
@@ -1052,7 +1100,7 @@ const A = {
1052
1100
  }, B = {
1053
1101
  name: "dismissable",
1054
1102
  create(e) {
1055
- return new c(e);
1103
+ return new a(e);
1056
1104
  },
1057
1105
  destroy(e) {
1058
1106
  e.destroy();
@@ -1068,7 +1116,7 @@ const A = {
1068
1116
  }, H = {
1069
1117
  name: "popoverable",
1070
1118
  create(e) {
1071
- return new l(e);
1119
+ return new c(e);
1072
1120
  },
1073
1121
  destroy(e) {
1074
1122
  e.destroy();
@@ -1076,7 +1124,7 @@ const A = {
1076
1124
  }, U = {
1077
1125
  name: "list-navigable",
1078
1126
  create(e, t) {
1079
- return new ee(e, {
1127
+ return new o(e, {
1080
1128
  itemSelector: t["item-selector"] ?? void 0,
1081
1129
  ariaAttr: t["aria-attr"] ?? void 0,
1082
1130
  autoSync: t["auto-sync"] !== "false",
@@ -1091,7 +1139,7 @@ const A = {
1091
1139
  }, W = {
1092
1140
  name: "dialogable",
1093
1141
  create(e) {
1094
- return new d(e);
1142
+ return new l(e);
1095
1143
  },
1096
1144
  destroy(e) {
1097
1145
  e.destroy();
@@ -1099,7 +1147,7 @@ const A = {
1099
1147
  }, G = {
1100
1148
  name: "draggable",
1101
1149
  create(e, t) {
1102
- return new o(e, {
1150
+ return new r(e, {
1103
1151
  selector: t.selector ?? "",
1104
1152
  dropZoneSelector: t["drop-zone-selector"] ?? "",
1105
1153
  axis: t.axis ?? "both",
@@ -1131,7 +1179,7 @@ const A = {
1131
1179
  }, q = {
1132
1180
  name: "resizable",
1133
1181
  create(e, t) {
1134
- return new u(e, {
1182
+ return new ee(e, {
1135
1183
  handleSelector: t["handle-selector"] ?? "",
1136
1184
  axis: t.axis ?? "horizontal",
1137
1185
  min: t.min ? Number(t.min) : void 0,
@@ -1144,7 +1192,15 @@ const A = {
1144
1192
  e.destroy();
1145
1193
  },
1146
1194
  update(e, t) {
1147
- "axis" in t && (e.axis = t.axis), "min" in t && (e.min = Number(t.min)), "max" in t && (e.max = Number(t.max)), "disabled" in t && (e.disabled = t.disabled === "true"), "reverse" in t && (e.reverse = t.reverse === "true");
1195
+ if ("axis" in t && (e.axis = t.axis), "min" in t) {
1196
+ let n = t.min, r = Number(n);
1197
+ n !== "" && !isNaN(r) && (e.min = r);
1198
+ }
1199
+ if ("max" in t) {
1200
+ let n = t.max, r = Number(n);
1201
+ n !== "" && !isNaN(r) && (e.max = r);
1202
+ }
1203
+ "disabled" in t && (e.disabled = t.disabled === "true"), "reverse" in t && (e.reverse = t.reverse === "true");
1148
1204
  }
1149
1205
  }, J = {
1150
1206
  name: "virtualizable",
@@ -1158,7 +1214,14 @@ const A = {
1158
1214
  e.destroy();
1159
1215
  },
1160
1216
  update(e, t) {
1161
- "item-height" in t && (e.itemHeight = Number(t["item-height"])), "overscan" in t && (e.overscan = Number(t.overscan));
1217
+ if ("item-height" in t) {
1218
+ let n = t["item-height"], r = Number(n);
1219
+ n !== "" && !isNaN(r) && (e.itemHeight = r);
1220
+ }
1221
+ if ("overscan" in t) {
1222
+ let n = t.overscan, r = Number(n);
1223
+ n !== "" && !isNaN(r) && (e.overscan = r);
1224
+ }
1162
1225
  }
1163
1226
  }, Y = {
1164
1227
  name: "selectable",
@@ -1188,7 +1251,7 @@ const A = {
1188
1251
  e.destroy();
1189
1252
  },
1190
1253
  update(e, t) {
1191
- "selector" in t && (e.selector = t.selector), "disabled" in t && (e.disabled = t.disabled === "true");
1254
+ "selector" in t && (e.selector = t.selector), "text-field" in t && (e.textField = t["text-field"] ?? "textContent"), "disabled" in t && (e.disabled = t.disabled === "true");
1192
1255
  }
1193
1256
  }, Z = {
1194
1257
  name: "clippable",
@@ -1218,7 +1281,15 @@ const A = {
1218
1281
  e.destroy();
1219
1282
  },
1220
1283
  update(e, t) {
1221
- "threshold" in t && (e.threshold = Number(t.threshold)), "velocity-threshold" in t && (e.velocityThreshold = Number(t["velocity-threshold"])), "axis" in t && (e.axis = t.axis), "disabled" in t && (e.disabled = t.disabled === "true");
1284
+ if ("threshold" in t) {
1285
+ let n = t.threshold, r = Number(n);
1286
+ n !== "" && !isNaN(r) && (e.threshold = r);
1287
+ }
1288
+ if ("velocity-threshold" in t) {
1289
+ let n = t["velocity-threshold"], r = Number(n);
1290
+ n !== "" && !isNaN(r) && (e.velocityThreshold = r);
1291
+ }
1292
+ "axis" in t && (e.axis = t.axis), "disabled" in t && (e.disabled = t.disabled === "true");
1222
1293
  }
1223
1294
  }, $ = {
1224
1295
  name: "editable",
@@ -1239,7 +1310,7 @@ const A = {
1239
1310
  * Register all built-in trait adapters with the global trait registry.
1240
1311
  * Call once at app startup to enable `traits="..."` attribute on UIElement subclasses.
1241
1312
  */
1242
- function ae() {
1243
- i(A), i(j), i(M), i(N), i(P), i(F), i(I), i(L), i(R), i(z), i(B), i(V), i(H), i(U), i(W), i(G), i(K), i(q), i(J), i(Y), i(X), i(Z), i(Q), i($);
1313
+ function ne() {
1314
+ u(A), u(j), u(M), u(N), u(P), u(F), u(I), u(L), u(R), u(z), u(B), u(V), u(H), u(U), u(W), u(G), u(K), u(q), u(J), u(Y), u(X), u(Z), u(Q), u($);
1244
1315
  }
1245
- export { w as A, m as B, M as C, O as D, k as E, y as F, ne as G, re as H, v as I, _ as L, S as M, x as N, D as O, b as P, g as R, N as S, A as T, f as U, p as V, ie as W, R as _, X as a, F as b, q as c, W as d, U as f, z as g, B as h, Z as i, C as j, T as k, K as l, V as m, $ as n, Y as o, H as p, Q as r, J as s, ae as t, G as u, L as v, j as w, P as x, I as y, h as z };
1316
+ export { w as A, m as B, M as C, O as D, k as E, y as F, d as H, v as I, _ as L, S as M, x as N, D as O, b as P, g as R, N as S, A as T, f as U, p as V, te as W, R as _, X as a, F as b, q as c, W as d, U as f, z as g, B as h, Z as i, C as j, T as k, K as l, V as m, $ as n, Y as o, H as p, Q as r, J as s, ne as t, G as u, L as v, j as w, P as x, I as y, h as z };
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/collapsible-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,qBAAqB,CAWlE,CAAC"}
1
+ {"version":3,"file":"collapsible-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/collapsible-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,qBAAqB,CAelE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"copyable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/copyable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,cAAc,CAaxD,CAAC"}
1
+ {"version":3,"file":"copyable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/copyable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,cAAc,CAiBxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hoverable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/hoverable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,eAAe,CAe1D,CAAC"}
1
+ {"version":3,"file":"hoverable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/hoverable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,eAAe,CAuB1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"intersectable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/intersectable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,mBAAmB,CAYlE,CAAC"}
1
+ {"version":3,"file":"intersectable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/intersectable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,mBAAmB,CAkClE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resizable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/resizable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,gBAAgB,CAoB3D,CAAC"}
1
+ {"version":3,"file":"resizable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/resizable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,gBAAgB,CA4B3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"searchable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/searchable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,gBAAgB,CAc5D,CAAC"}
1
+ {"version":3,"file":"searchable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/searchable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,gBAAgB,CAe5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sortable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/sortable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,cAAc,CAYxD,CAAC"}
1
+ {"version":3,"file":"sortable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/sortable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,cAAc,CAaxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"swipeable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/swipeable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,eAAe,CAiB1D,CAAC"}
1
+ {"version":3,"file":"swipeable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/swipeable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,eAAe,CAyB1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"virtualizable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/virtualizable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,uBAAuB,CAatE,CAAC"}
1
+ {"version":3,"file":"virtualizable-adapter.d.ts","sourceRoot":"","sources":["../../../src/traits/adapters/virtualizable-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,uBAAuB,CAqBtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible-controller.d.ts","sourceRoot":"","sources":["../../src/traits/collapsible-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,mGAAmG;AACnG,qBAAa,qBAAqB;;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;gBAKL,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,kBAAuB;IAK/D,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,SAAS,CAAC,GAAG,EAAE,OAAO,EAGzB;IAED,MAAM,IAAI,IAAI;IAiCd,QAAQ,IAAI,IAAI;IA6BhB,MAAM,IAAI,IAAI;IAKd,OAAO,IAAI,IAAI;CAOhB"}
1
+ {"version":3,"file":"collapsible-controller.d.ts","sourceRoot":"","sources":["../../src/traits/collapsible-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,mGAAmG;AACnG,qBAAa,qBAAqB;;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;gBAML,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,kBAAuB;IAK/D,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,SAAS,CAAC,GAAG,EAAE,OAAO,EAGzB;IAED,MAAM,IAAI,IAAI;IAiCd,QAAQ,IAAI,IAAI;IA+BhB,MAAM,IAAI,IAAI;IAKd,OAAO,IAAI,IAAI;CAchB"}
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-controller.d.ts","sourceRoot":"","sources":["../../src/traits/dialog-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,WAAW,CAAC;CAC5D;AAED,+FAA+F;AAC/F,qBAAa,gBAAgB;;IAC3B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;gBAKf,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,aAAkB;IAM1D,IAAI,IAAI,IAAI,OAAO,CAElB;IAED,SAAS,IAAI,IAAI;IAMjB,KAAK,IAAI,IAAI;IAOb,OAAO,IAAI,IAAI;CAoChB"}
1
+ {"version":3,"file":"dialog-controller.d.ts","sourceRoot":"","sources":["../../src/traits/dialog-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,WAAW,CAAC;CAC5D;AAED,+FAA+F;AAC/F,qBAAa,gBAAgB;;IAC3B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;gBAKf,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,aAAkB;IAM1D,IAAI,IAAI,IAAI,OAAO,CAElB;IAED,SAAS,IAAI,IAAI;IAiBjB,KAAK,IAAI,IAAI;IAOb,OAAO,IAAI,IAAI;CAoChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"drag-controller.d.ts","sourceRoot":"","sources":["../../src/traits/drag-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,mFAAmF;AACnF,qBAAa,cAAc;;IACzB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IACzC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAC;gBAkBN,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW;IAUnD,MAAM,IAAI,IAAI;IAQd,MAAM,IAAI,IAAI;IASd,OAAO,IAAI,IAAI;CA8fhB"}
1
+ {"version":3,"file":"drag-controller.d.ts","sourceRoot":"","sources":["../../src/traits/drag-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,mFAAmF;AACnF,qBAAa,cAAc;;IACzB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IACzC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAC;gBAkBN,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW;IAUnD,MAAM,IAAI,IAAI;IAQd,MAAM,IAAI,IAAI;IASd,OAAO,IAAI,IAAI;CAkgBhB"}
@@ -3,7 +3,7 @@ export interface DropZoneOptions {
3
3
  disabled?: boolean;
4
4
  multiple?: boolean;
5
5
  }
6
- /** Handles native drag-and-drop file/data reception, dispatching `ui-drop-enter`, `ui-drop-leave`, and `ui-drop`. */
6
+ /** Handles native drag-and-drop file/data reception, dispatching `ui-drop-enter`, `ui-drop-leave`, and `ui-drop` events. */
7
7
  export declare class DropZoneController {
8
8
  #private;
9
9
  readonly host: HTMLElement;
@@ -1 +1 @@
1
- {"version":3,"file":"drop-zone-controller.d.ts","sourceRoot":"","sources":["../../src/traits/drop-zone-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qHAAqH;AACrH,qBAAa,kBAAkB;;IAC7B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;gBAKN,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,eAAoB;IAQ5D,MAAM,IAAI,IAAI;IASd,MAAM,IAAI,IAAI;IAYd,OAAO,IAAI,IAAI;CAoEhB"}
1
+ {"version":3,"file":"drop-zone-controller.d.ts","sourceRoot":"","sources":["../../src/traits/drop-zone-controller.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,4HAA4H;AAC5H,qBAAa,kBAAkB;;IAC7B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;gBAKN,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,eAAoB;IAQ5D,MAAM,IAAI,IAAI;IASd,MAAM,IAAI,IAAI;IAYd,OAAO,IAAI,IAAI;CA8EhB"}