@mintplayer/web-components 2.15.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/accordion/index.mjs +5 -5
  2. package/calendar/index.mjs +1 -1
  3. package/carousel/index.mjs +57 -143
  4. package/charts/core/index.mjs +30 -20
  5. package/charts/core/src/attributes.d.ts +18 -0
  6. package/charts/core/src/index.d.ts +2 -0
  7. package/charts/core/src/view-window.d.ts +46 -0
  8. package/charts/hierarchy/index.mjs +245 -256
  9. package/charts/hierarchy/src/components/mp-hierarchy-chart.d.ts +1 -3
  10. package/charts/sparkline/index.mjs +27 -26
  11. package/charts/trend/index.mjs +21 -20
  12. package/checkbox/index.mjs +1 -1
  13. package/checkbox/src/components/mp-checkbox.d.ts +1 -0
  14. package/chunks/attributes-L3eKsbdy.mjs +16 -0
  15. package/chunks/color-mode-warning-71FmlzWX.mjs +13 -0
  16. package/chunks/{form-check.styles-B0pxJ6YC.mjs → form-check.styles-DqvBnspm.mjs} +24 -3
  17. package/chunks/{mp-calendar.element-CJ8-t-Zn.mjs → mp-calendar.element-BIHS9SZZ.mjs} +11 -6
  18. package/chunks/{mp-checkbox-CzwS7Y_t.mjs → mp-checkbox-zV83gILn.mjs} +44 -36
  19. package/chunks/mp-datatable-eRpl7-2V.mjs +2238 -0
  20. package/chunks/{mp-datetime-picker.element-D1CiLbHm.mjs → mp-datetime-picker.element-Cxu5-qRE.mjs} +29 -32
  21. package/chunks/{mp-pagination-Dea75mD4.mjs → mp-pagination-hGy4dL7p.mjs} +9 -4
  22. package/chunks/{mp-radio-cL46sUA0.mjs → mp-radio-BhRVNdKp.mjs} +32 -28
  23. package/chunks/{mp-select-BNrbPwN4.mjs → mp-select-CgqYFvUj.mjs} +41 -26
  24. package/chunks/{mp-splitter-Ckn1kN4v.mjs → mp-splitter-DLehrw3Y.mjs} +144 -120
  25. package/chunks/{mp-timepicker.element-COZEUIoE.mjs → mp-timepicker.element-BiB9lkgc.mjs} +58 -45
  26. package/chunks/{mp-toggle-button-eo_aTQtu.mjs → mp-toggle-button-CaS9uYLE.mjs} +26 -24
  27. package/chunks/{mp-treeview-C8iltDbq.mjs → mp-treeview-CaMTDrvY.mjs} +51 -50
  28. package/chunks/{overlay-controller-D6agzzOI.mjs → overlay-controller-BHDagokg.mjs} +130 -70
  29. package/chunks/{id-DNZVAnGC.mjs → resource.service--lqLwEqk.mjs} +144 -206
  30. package/chunks/view-window-DGvFiDnW.mjs +263 -0
  31. package/code-snippet/index.mjs +70 -66
  32. package/code-snippet/src/hljs-loaders.generated.d.ts +1 -1
  33. package/custom-elements.json +65750 -0
  34. package/datatable/index.mjs +6 -5
  35. package/datatable/src/components/column-resize.d.ts +11 -0
  36. package/datatable/src/components/mp-datatable.d.ts +206 -1
  37. package/datatable/src/index.d.ts +3 -1
  38. package/datatable/src/types/column-def.d.ts +61 -0
  39. package/datatable/src/types/filter.d.ts +138 -0
  40. package/datatable/src/types/index.d.ts +3 -2
  41. package/datatable/src/types/labels.d.ts +58 -0
  42. package/datepicker/index.mjs +10 -9
  43. package/datetime-picker/index.mjs +1 -1
  44. package/datetime-picker/src/mp-datetime-picker.element.d.ts +3 -0
  45. package/dock/index.mjs +430 -463
  46. package/dock/src/components/mint-dock-manager.element.d.ts +25 -2
  47. package/dock/src/core/resize.d.ts +60 -0
  48. package/dropdown-menu/index.mjs +4 -2
  49. package/dropdown-menu/src/components/mp-dropdown-menu.d.ts +6 -1
  50. package/dropdown-menu/src/index.d.ts +1 -1
  51. package/dropdown-menu/src/types/dropdown.d.ts +14 -1
  52. package/dropdown-menu/src/types/index.d.ts +1 -1
  53. package/file-manager/index.mjs +63 -61
  54. package/file-manager/src/components/mp-file-manager.d.ts +4 -3
  55. package/multi-range/index.mjs +56 -50
  56. package/multi-range/src/mint-multi-range.element.d.ts +4 -10
  57. package/multi-range/src/pointer-geometry.d.ts +31 -0
  58. package/navbar/index.mjs +89 -439
  59. package/overlay/index.mjs +5 -2
  60. package/overlay/src/index.d.ts +2 -0
  61. package/overlay/src/overlay-controller.d.ts +27 -14
  62. package/overlay/src/overlay-portal.d.ts +53 -0
  63. package/overlay/src/placement.d.ts +48 -0
  64. package/package.json +7 -1
  65. package/pagination/index.mjs +1 -1
  66. package/phone-input/index.mjs +44 -40
  67. package/phone-input/src/components/stack.d.ts +8 -0
  68. package/query-builder/index.mjs +418 -466
  69. package/query-builder/src/dnd/drag-controller.d.ts +12 -8
  70. package/query-builder/src/mp-query-builder.element.d.ts +5 -1
  71. package/query-builder/src/mp-query-condition.element.d.ts +1 -0
  72. package/radio/index.mjs +1 -1
  73. package/radio-group/index.mjs +1 -1
  74. package/ribbon/index.mjs +477 -498
  75. package/ribbon/src/core/band-text-color.d.ts +10 -0
  76. package/ribbon/src/core/key-tip-allocator.d.ts +10 -0
  77. package/ribbon/src/core/plan-reduce-steps.d.ts +62 -0
  78. package/ribbon/src/mp-ribbon.element.d.ts +0 -27
  79. package/scheduler/index.mjs +726 -711
  80. package/scheduler/src/components/mp-scheduler.d.ts +19 -3
  81. package/scheduler/src/drag/drag-manager.d.ts +1 -9
  82. package/scheduler/src/input/input-handler.d.ts +12 -2
  83. package/scheduler/src/utils/geometry.d.ts +39 -0
  84. package/scheduler/src/views/timeline-view.d.ts +0 -1
  85. package/scheduler-core/index.mjs +84 -71
  86. package/scheduler-core/src/services/resource.service.d.ts +0 -12
  87. package/scheduler-core/src/services/timeline.service.d.ts +0 -9
  88. package/select/index.mjs +1 -1
  89. package/select/src/components/mp-select.d.ts +1 -0
  90. package/signature-pad/index.mjs +21 -23
  91. package/signature-pad/src/canvas-point.d.ts +26 -0
  92. package/signature-pad/src/mp-signature-pad.element.d.ts +1 -7
  93. package/splitter/index.mjs +1 -1
  94. package/splitter/src/components/mp-splitter.d.ts +16 -0
  95. package/splitter/src/managers/index.d.ts +1 -0
  96. package/splitter/src/managers/rescale-panel-sizes.d.ts +14 -0
  97. package/swiper-core/index.mjs +2 -2
  98. package/theming/bs-theme-preboot.js +1 -0
  99. package/theming/color-mode.css +36 -0
  100. package/theming/index.d.ts +1 -0
  101. package/theming/index.mjs +327 -0
  102. package/theming/src/components/mp-theme-toggle.d.ts +71 -0
  103. package/theming/src/cookie.d.ts +31 -0
  104. package/theming/src/index.d.ts +5 -0
  105. package/theming/src/preboot.d.ts +1 -0
  106. package/theming/src/resolve.d.ts +36 -0
  107. package/theming/src/store.d.ts +27 -0
  108. package/theming/src/styles/theme-toggle.styles.d.ts +2 -0
  109. package/theming/src/testing/fake-broadcast-channel.d.ts +35 -0
  110. package/theming/src/toggle-modes.d.ts +23 -0
  111. package/tile-manager/index.mjs +252 -211
  112. package/tile-manager/src/components/mint-tile-manager.element.d.ts +8 -0
  113. package/tile-manager/src/utils/grid-geometry.d.ts +49 -0
  114. package/timeline/index.mjs +156 -164
  115. package/timeline/src/components/mp-timeline.d.ts +41 -7
  116. package/timepicker/index.mjs +7 -4
  117. package/timepicker/src/mp-time-list.element.d.ts +26 -0
  118. package/timepicker/src/mp-timepicker.element.d.ts +3 -0
  119. package/toggle-button/index.mjs +1 -1
  120. package/tree-select/index.mjs +21 -9
  121. package/treeview/index.mjs +1 -1
  122. package/treeview/src/components/mp-treeview.d.ts +6 -4
  123. package/chunks/color-DIeST-IS.mjs +0 -224
  124. package/chunks/mp-datatable-UJI8E73X.mjs +0 -1400
  125. package/datatable/src/styles/datatable.styles.d.ts +0 -2
  126. package/query-builder/src/mp-query-condition.element.template.d.ts +0 -2
@@ -1,14 +1,90 @@
1
1
  import "lit";
2
2
  import "lit/directives/ref.js";
3
- import { d as k } from "./focus-restore-DxuP1Oe2.mjs";
4
- import { F as v, d, c as g } from "./focus-trap-DTOLJ5bb.mjs";
5
- const b = [
3
+ import { d as y } from "./focus-restore-DxuP1Oe2.mjs";
4
+ import { F as g, d, c as v } from "./focus-trap-DTOLJ5bb.mjs";
5
+ const f = "mp-overlay-container", w = "mp-overlay-pane", k = 2e3, b = [
6
+ "position: fixed",
7
+ "inset: 0",
8
+ // The container spans the viewport, so it must not intercept anything. Panes
9
+ // opt back in individually.
10
+ "pointer-events: none",
11
+ `z-index: var(--mp-overlay-container-z-index, ${k})`,
12
+ "display: block"
13
+ ].join("; "), T = ["position: fixed", "pointer-events: auto"].join("; ");
14
+ let c = null, h = 0;
15
+ function A() {
16
+ typeof customElements > "u" || customElements.get(f) || customElements.define(f, class extends HTMLElement {
17
+ });
18
+ }
19
+ function S() {
20
+ if (c?.isConnected) return c;
21
+ A();
22
+ const n = document.createElement(f);
23
+ return n.setAttribute("style", b), document.body.appendChild(n), c = n, n;
24
+ }
25
+ function E() {
26
+ if (typeof document > "u" || !document.body) return null;
27
+ const n = S(), t = document.createElement("div");
28
+ t.className = w, t.setAttribute("style", T), n.appendChild(t), h++;
29
+ let e = !1;
30
+ return {
31
+ container: t,
32
+ release() {
33
+ e || (e = !0, t.remove(), h = Math.max(0, h - 1), h === 0 && c && (c.remove(), c = null));
34
+ }
35
+ };
36
+ }
37
+ function N() {
38
+ return c?.isConnected ? c : null;
39
+ }
40
+ function Y() {
41
+ return h;
42
+ }
43
+ function x(n, t, e) {
44
+ return n === "start" ? e ? t.right : t.left : n === "end" ? e ? t.left : t.right : t.left + t.width / 2;
45
+ }
46
+ function F(n, t) {
47
+ return n === "top" ? t.top : n === "bottom" ? t.bottom : t.top + t.height / 2;
48
+ }
49
+ function P(n, t, e) {
50
+ return n === "start" ? e ? -t : 0 : n === "end" ? e ? 0 : -t : -t / 2;
51
+ }
52
+ function L(n, t) {
53
+ return n === "top" ? 0 : n === "bottom" ? -t : -t / 2;
54
+ }
55
+ function C(n, t, e, o) {
56
+ return {
57
+ left: x(n.originX, t, o) + P(n.overlayX, e.width, o) + (n.offsetX ?? 0),
58
+ top: F(n.originY, t) + L(n.overlayY, e.height) + (n.offsetY ?? 0)
59
+ };
60
+ }
61
+ function R(n, t, e) {
62
+ const { width: o, height: i, margin: s } = e;
63
+ return n.left >= s && n.top >= s && n.left + t.width <= o - s && n.top + t.height <= i - s;
64
+ }
65
+ function m(n, t, e) {
66
+ const { width: o, height: i, margin: s } = e, r = (l, a, u) => Math.max(s, l + a > u - s ? u - a - s : l);
67
+ return {
68
+ left: r(n.left, t.width, o),
69
+ top: r(n.top, t.height, i)
70
+ };
71
+ }
72
+ function D(n, t) {
73
+ return n.right < 0 || n.bottom < 0 || n.left > t.width || n.top > t.height;
74
+ }
75
+ function O(n, t, e, o, i) {
76
+ const s = n.flatMap(
77
+ (l, a) => t.map((u) => ({ anchorIndex: a, placed: C(u, l, e, i) }))
78
+ ), r = s.find((l) => R(l.placed, e, o)) ?? s[s.length - 1];
79
+ return r ? { anchorIndex: r.anchorIndex, placement: m(r.placed, e, o) } : null;
80
+ }
81
+ const M = [
6
82
  { originX: "start", originY: "bottom", overlayX: "start", overlayY: "top" },
7
83
  { originX: "start", originY: "top", overlayX: "start", overlayY: "bottom" }
8
84
  ];
9
- class c {
85
+ class p {
10
86
  constructor(t, e) {
11
- this._open = !1, this.mouseDownAttached = !1, this.stackToken = null, this.activeAnchor = null, this.restoreTo = null, this.positionFrame = 0, this.scrollListenersAttached = !1, this.blockedScroll = null, this.blockedBodyPaddingRight = null, this.onScroll = () => {
87
+ this._open = !1, this.mouseDownAttached = !1, this.stackToken = null, this.activeAnchor = null, this.restoreTo = null, this.positionFrame = 0, this.scrollListenersAttached = !1, this.blockedScroll = null, this.blockedBodyPaddingRight = null, this.portalHandle = null, this.onScroll = () => {
12
88
  if (!this._open) return;
13
89
  const o = this.currentStrategy();
14
90
  if (o === "close") {
@@ -21,8 +97,12 @@ class c {
21
97
  }, this.onKeyDown = (o) => {
22
98
  o.key === "Escape" && this._open && this.isTopOfStack() && (this.close(), o.preventDefault());
23
99
  }, this.onMouseDown = (o) => {
24
- this._open && (o.composedPath().includes(this.host) || this.close(!1));
25
- }, this.host = t, this.options = e, this.focusTrap = new v(() => this.options.panel(), {
100
+ if (!this._open) return;
101
+ const i = o.composedPath();
102
+ if (i.includes(this.host)) return;
103
+ const s = this.options.panel();
104
+ s && i.includes(s) || this.close(!1);
105
+ }, this.host = t, this.options = e, this.focusTrap = new g(() => this.options.panel(), {
26
106
  initialFocus: "none",
27
107
  // open() handles initial focus; the trap only contains Tab
28
108
  returnFocus: !1,
@@ -55,11 +135,22 @@ class c {
55
135
  document.addEventListener("keydown", this.onKeyDown);
56
136
  }
57
137
  hostDisconnected() {
58
- document.removeEventListener("keydown", this.onKeyDown), this.detachMouseDown(), this.stackToken && this.releaseStackToken();
138
+ document.removeEventListener("keydown", this.onKeyDown), this.detachMouseDown(), this.stackToken && this.releaseStackToken(), this.releasePortal();
59
139
  }
60
140
  get isOpen() {
61
141
  return this._open;
62
142
  }
143
+ /**
144
+ * The document-root pane to render the panel into, or `null` when this
145
+ * overlay is closed or not portalled. Read it from the host's update so the
146
+ * panel exists by the time the controller positions it.
147
+ */
148
+ get portalContainer() {
149
+ return this.portalHandle?.container ?? null;
150
+ }
151
+ releasePortal() {
152
+ this.portalHandle?.release(), this.portalHandle = null;
153
+ }
63
154
  /**
64
155
  * Whether this overlay is the top-most dismissible layer — i.e. whether an
65
156
  * Escape belongs to IT rather than to something opened on top of it.
@@ -78,14 +169,14 @@ class c {
78
169
  async open() {
79
170
  if (this._open) return;
80
171
  this._open = !0;
81
- const t = k();
82
- this.restoreTo = t instanceof HTMLElement && t !== t.ownerDocument.body ? t : null, this.stackToken = c.pushFrame(), this.host.setAttribute("data-menu-open", ""), this.host.requestUpdate(), await this.host.updateComplete, this.position(), this.attachScrollListeners(), this.moveFocusIn(), this.options.modal && this.focusTrap.activate(), setTimeout(() => this.attachMouseDown(), 0), this.options.onOpen?.();
172
+ const t = y();
173
+ this.restoreTo = t instanceof HTMLElement && t !== t.ownerDocument.body ? t : null, this.stackToken = p.pushFrame(), this.options.portal && (this.portalHandle = E()), this.host.setAttribute("data-menu-open", ""), this.host.requestUpdate(), await this.host.updateComplete, this.position(), this.attachScrollListeners(), this.moveFocusIn(), this.options.modal && this.focusTrap.activate(), setTimeout(() => this.attachMouseDown(), 0), this.options.onOpen?.();
83
174
  }
84
175
  close(t = !0) {
85
176
  if (!this._open) return;
86
177
  this._open = !1, this.releaseStackToken(), this.focusTrap.isActive && this.focusTrap.deactivate();
87
178
  const e = this.resolveReturnTarget();
88
- this.host.removeAttribute("data-menu-open"), this.host.requestUpdate(), this.detachMouseDown(), this.detachScrollListeners(), this.positionFrame && (cancelAnimationFrame(this.positionFrame), this.positionFrame = 0), t && e?.focus({ preventScroll: !0 }), this.restoreTo = null, this.activeAnchor = null, this.options.onClose?.();
179
+ this.host.removeAttribute("data-menu-open"), this.host.requestUpdate(), this.detachMouseDown(), this.detachScrollListeners(), this.positionFrame && (cancelAnimationFrame(this.positionFrame), this.positionFrame = 0), t && e?.focus({ preventScroll: !0 }), this.releasePortal(), this.restoreTo = null, this.activeAnchor = null, this.options.onClose?.();
89
180
  }
90
181
  /**
91
182
  * Focus-return target, in order of preference: whatever had focus when this
@@ -120,7 +211,7 @@ class c {
120
211
  e.hasAttribute("tabindex") || e.setAttribute("tabindex", "-1"), e.focus({ preventScroll: !0 });
121
212
  return;
122
213
  }
123
- const o = g(e)[0];
214
+ const o = v(e)[0];
124
215
  o ? o.focus({ preventScroll: !0 }) : (e.hasAttribute("tabindex") || e.setAttribute("tabindex", "-1"), e.focus({ preventScroll: !0 }));
125
216
  }
126
217
  async toggle() {
@@ -165,29 +256,27 @@ class c {
165
256
  const t = this.resolveAnchors(), e = this.options.panel();
166
257
  if (t.length === 0 || !e) return;
167
258
  this.applyPanelWidth(e, t[0]);
168
- const o = this.options.viewportMargin ?? 8, i = e.getBoundingClientRect(), s = window.innerWidth, n = window.innerHeight, r = t[0].getBoundingClientRect();
169
- if (this.options.stickyOnAnchorOffscreen && this.isAnchorOffscreen(r, s, n)) {
170
- const l = parseFloat(e.style.left) || i.left, f = parseFloat(e.style.top) || i.top, h = this.clampToViewport({ left: l, top: f }, i, s, n, o);
171
- e.style.left = `${h.left}px`, e.style.top = `${h.top}px`;
259
+ const o = e.getBoundingClientRect(), i = {
260
+ width: window.innerWidth,
261
+ height: window.innerHeight,
262
+ margin: this.options.viewportMargin ?? 8
263
+ }, s = t.map((l) => l.getBoundingClientRect());
264
+ if (this.options.stickyOnAnchorOffscreen && D(s[0], i)) {
265
+ const l = {
266
+ left: parseFloat(e.style.left) || o.left,
267
+ top: parseFloat(e.style.top) || o.top
268
+ }, a = m(l, o, i);
269
+ e.style.left = `${a.left}px`, e.style.top = `${a.top}px`;
172
270
  return;
173
271
  }
174
- const a = this.options.positions ?? b, w = this.isRtl();
175
- let u = null, p = null;
176
- t: for (const l of t) {
177
- const f = l.getBoundingClientRect();
178
- for (const h of a) {
179
- const y = this.placeFor(h, f, i, w);
180
- if (u = l, p = y, this.fitsInViewport(y, i, s, n, o)) break t;
181
- }
182
- }
183
- if (!p || !u) return;
184
- this.activeAnchor = u;
185
- const m = this.clampToViewport(p, i, s, n, o);
186
- e.style.left = `${m.left}px`, e.style.top = `${m.top}px`;
187
- }
188
- /** True when the anchor's bounding rect lies entirely outside the viewport. */
189
- isAnchorOffscreen(t, e, o) {
190
- return t.right < 0 || t.bottom < 0 || t.left > e || t.top > o;
272
+ const r = O(
273
+ s,
274
+ this.options.positions ?? M,
275
+ o,
276
+ i,
277
+ this.isRtl()
278
+ );
279
+ r && (this.activeAnchor = t[r.anchorIndex], e.style.left = `${r.placement.left}px`, e.style.top = `${r.placement.top}px`);
191
280
  }
192
281
  /**
193
282
  * Apply the configured `panelWidth` strategy to the panel element. Called
@@ -219,38 +308,6 @@ class c {
219
308
  isRtl() {
220
309
  return getComputedStyle(this.host).direction === "rtl";
221
310
  }
222
- /**
223
- * Compute the (left, top) at which `panel` should be placed for a single
224
- * position candidate. The candidate identifies which corner of the anchor
225
- * to align which corner of the panel to, plus optional pixel offsets.
226
- */
227
- placeFor(t, e, o, i) {
228
- const s = this.anchorXFor(t.originX, e, i), n = this.anchorYFor(t.originY, e), r = this.panelXOffsetFor(t.overlayX, o.width, i), a = this.panelYOffsetFor(t.overlayY, o.height);
229
- return {
230
- left: s + r + (t.offsetX ?? 0),
231
- top: n + a + (t.offsetY ?? 0)
232
- };
233
- }
234
- anchorXFor(t, e, o) {
235
- const i = o ? e.right : e.left, s = o ? e.left : e.right;
236
- return t === "start" ? i : t === "end" ? s : e.left + e.width / 2;
237
- }
238
- anchorYFor(t, e) {
239
- return t === "top" ? e.top : t === "bottom" ? e.bottom : e.top + e.height / 2;
240
- }
241
- panelXOffsetFor(t, e, o) {
242
- return t === "start" ? o ? -e : 0 : t === "end" ? o ? 0 : -e : -e / 2;
243
- }
244
- panelYOffsetFor(t, e) {
245
- return t === "top" ? 0 : t === "bottom" ? -e : -e / 2;
246
- }
247
- fitsInViewport(t, e, o, i, s) {
248
- return t.left >= s && t.top >= s && t.left + e.width <= o - s && t.top + e.height <= i - s;
249
- }
250
- clampToViewport(t, e, o, i, s) {
251
- let { left: n, top: r } = t;
252
- return n + e.width > o - s && (n = o - e.width - s), n < s && (n = s), r + e.height > i - s && (r = i - e.height - s), r < s && (r = s), { left: n, top: r };
253
- }
254
311
  /* ---- Scroll + resize tracking ---- */
255
312
  currentStrategy() {
256
313
  return this.options.scrollStrategy ?? "reposition";
@@ -298,8 +355,8 @@ class c {
298
355
  if (this.blockedScroll = { top: e, left: o }, i > 0) {
299
356
  const s = document.body;
300
357
  this.blockedBodyPaddingRight = s.style.paddingRight;
301
- const n = parseFloat(getComputedStyle(s).paddingRight) || 0;
302
- s.style.paddingRight = `${n + i}px`;
358
+ const r = parseFloat(getComputedStyle(s).paddingRight) || 0;
359
+ s.style.paddingRight = `${r + i}px`;
303
360
  }
304
361
  t.style.setProperty("--overlay-blocked-top", `-${e}px`), t.style.setProperty("--overlay-blocked-left", `-${o}px`), t.style.position = "fixed", t.style.top = `-${e}px`, t.style.left = `-${o}px`, t.style.width = "100%";
305
362
  }
@@ -312,10 +369,10 @@ class c {
312
369
  }
313
370
  /* ---- Esc-stack ---- */
314
371
  releaseStackToken() {
315
- this.stackToken && (c.releaseFrame(this.stackToken), this.stackToken = null);
372
+ this.stackToken && (p.releaseFrame(this.stackToken), this.stackToken = null);
316
373
  }
317
374
  isTopOfStack() {
318
- return this.stackToken !== null && c.isFrameTop(this.stackToken);
375
+ return this.stackToken !== null && p.isFrameTop(this.stackToken);
319
376
  }
320
377
  attachMouseDown() {
321
378
  this.mouseDownAttached || (document.addEventListener("mousedown", this.onMouseDown, !0), this.mouseDownAttached = !0);
@@ -325,5 +382,8 @@ class c {
325
382
  }
326
383
  }
327
384
  export {
328
- c as O
385
+ p as O,
386
+ E as a,
387
+ N as c,
388
+ Y as o
329
389
  };