@floegence/floe-webapp-core 0.90.3 → 0.90.4

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.
@@ -1,5 +1,5 @@
1
- import { createComponent as l, Portal as lt, use as Q, spread as ke, mergeProps as Oe, memo as Z, insert as c, effect as g, setAttribute as Te, addEventListener as P, className as x, template as a, delegateEvents as at } from "solid-js/web";
2
- import { createSignal as y, createUniqueId as st, onCleanup as D, onMount as dt, createEffect as I, untrack as W, Show as w, batch as ge } from "solid-js";
1
+ import { createComponent as l, Portal as lt, use as Q, spread as ke, mergeProps as Oe, memo as Z, addEventListener as m, insert as c, effect as g, setAttribute as Te, className as y, template as a, delegateEvents as at } from "solid-js/web";
2
+ import { createSignal as b, createUniqueId as st, onCleanup as D, onMount as dt, createEffect as I, untrack as W, Show as w, batch as ge } from "solid-js";
3
3
  import { cn as J } from "../../utils/cn.js";
4
4
  import { useOptionalLayout as ct } from "../../context/LayoutContext.js";
5
5
  import { useResolvedFloeConfig as ut } from "../../context/FloeConfigContext.js";
@@ -13,8 +13,8 @@ import { observeViewport as yt } from "../../viewport.js";
13
13
  import { createFloatingPresence as bt } from "./floatingPresence.js";
14
14
  import { LOCAL_INTERACTION_SURFACE_ATTR as Be } from "./localInteractionSurface.js";
15
15
  import { resolveFloatingBoundary as zt } from "./surfaceFloatingBoundary.js";
16
- import { SURFACE_PORTAL_LAYER_ATTR as pt, resolveSurfacePortalHost as $t } from "./dialogSurfaceScope.js";
17
- var _t = /* @__PURE__ */ a("<span hidden>"), St = /* @__PURE__ */ a("<h2 class=sr-only>"), Pt = /* @__PURE__ */ a('<div data-floe-floating-window-title-content=true class="flex h-full min-w-0 flex-1 items-center">'), It = /* @__PURE__ */ a('<div data-floe-floating-window-header-actions=true class="flex shrink-0 items-center gap-1"><span aria-hidden=true class="mx-2 h-4 w-px shrink-0 bg-border">'), Rt = /* @__PURE__ */ a('<div data-floe-floating-window-footer=true class="flex items-center justify-end gap-2 p-3 border-t border-[var(--floe-line)]">'), Ct = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=n style=touch-action:none>"), At = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=s style=touch-action:none>"), Et = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=e style=touch-action:none>"), Mt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=w style=touch-action:none>"), Ft = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=ne style=touch-action:none>"), kt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=nw style=touch-action:none>"), Ot = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=se style=touch-action:none>"), Tt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=sw style=touch-action:none>"), Lt = /* @__PURE__ */ a('<div data-floe-geometry-surface=floating-window><div data-floe-dialog-surface-host=true><div data-floe-floating-window-titlebar=true style=touch-action:none><div class="flex h-full flex-1 min-w-0 items-center px-3"></div><div class="flex h-full shrink-0 items-stretch"></div></div><div data-floe-floating-window-content=true class="min-h-0 flex-1 overflow-auto overscroll-contain p-3">'), Bt = /* @__PURE__ */ a('<span data-floe-floating-window-title-icon=true aria-hidden=true class="flex size-4 shrink-0 items-center justify-center">'), Dt = /* @__PURE__ */ a('<h2 class="flex min-w-0 items-center gap-2 text-xs leading-none font-medium select-none"><span class="min-w-0 truncate">');
16
+ import { SURFACE_PORTAL_LAYER_ATTR as pt, resolveSurfacePortalHost as _t } from "./dialogSurfaceScope.js";
17
+ var $t = /* @__PURE__ */ a("<span hidden>"), St = /* @__PURE__ */ a("<h2 class=sr-only>"), Pt = /* @__PURE__ */ a('<div data-floe-floating-window-title-content=true class="flex h-full min-w-0 flex-1 items-center">'), It = /* @__PURE__ */ a('<div data-floe-floating-window-header-actions=true class="flex shrink-0 items-center gap-1"><span aria-hidden=true class="mx-2 h-4 w-px shrink-0 bg-border">'), Rt = /* @__PURE__ */ a('<div data-floe-floating-window-footer=true class="flex items-center justify-end gap-2 p-3 border-t border-[var(--floe-line)]">'), Ct = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=n style=touch-action:none>"), At = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=s style=touch-action:none>"), Et = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=e style=touch-action:none>"), Mt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=w style=touch-action:none>"), Ft = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=ne style=touch-action:none>"), kt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=nw style=touch-action:none>"), Ot = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=se style=touch-action:none>"), Tt = /* @__PURE__ */ a("<div data-floe-floating-window-resize-handle=sw style=touch-action:none>"), Lt = /* @__PURE__ */ a('<div data-floe-geometry-surface=floating-window><div data-floe-dialog-surface-host=true><div data-floe-floating-window-titlebar=true style=touch-action:none><div class="flex h-full flex-1 min-w-0 items-center px-3"></div><div class="flex h-full shrink-0 items-stretch"></div></div><div data-floe-floating-window-content=true class="min-h-0 flex-1 overflow-auto overscroll-contain p-3">'), Bt = /* @__PURE__ */ a('<span data-floe-floating-window-title-icon=true aria-hidden=true class="flex size-4 shrink-0 items-center justify-center">'), Dt = /* @__PURE__ */ a('<h2 class="flex min-w-0 items-center gap-2 text-xs leading-none font-medium select-none"><span class="min-w-0 truncate">');
18
18
  function nn(i) {
19
19
  const ve = () => i.resizable ?? !0, K = () => i.maximizable ?? !0, xe = () => i.draggable ?? !0, q = () => i.minSize ?? {
20
20
  width: 200,
@@ -24,27 +24,27 @@ function nn(i) {
24
24
  height: 1 / 0
25
25
  };
26
26
  let ee;
27
- const [O, De] = y(), [R, We] = y({
27
+ const [O, De] = b(), [R, We] = b({
28
28
  x: 0,
29
29
  y: 0,
30
30
  width: 0,
31
31
  height: 0
32
32
  }, {
33
33
  equals: (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height
34
- }), [te, qe] = y(!0), m = () => !!(i.compactBelow && R().width < i.compactBelow), b = () => i.viewportInsets, T = () => O()?.fixedScale ?? 1, ne = (e) => ({
34
+ }), [te, qe] = b(!0), v = () => !!(i.compactBelow && R().width < i.compactBelow), z = () => i.viewportInsets, T = () => O()?.fixedScale ?? 1, ne = (e) => ({
35
35
  x: (e.x + (O()?.fixedOffset.left ?? 0)) / T(),
36
36
  y: (e.y + (O()?.fixedOffset.top ?? 0)) / T()
37
- }), He = () => i.zIndex ?? 100, Xe = st(), Ye = ct(), Ne = ut(), E = Ye?.isMobile ?? ft(() => Ne.config.layout.mobileQuery), X = 16, ie = () => `floating-window-${Xe}-title`, [Ve, je] = y(i.defaultPosition ?? {
37
+ }), He = () => i.zIndex ?? 100, Xe = st(), Ye = ct(), Ne = ut(), E = Ye?.isMobile ?? ft(() => Ne.config.layout.mobileQuery), X = 16, ie = () => `floating-window-${Xe}-title`, [Ve, je] = b(i.defaultPosition ?? {
38
38
  x: 0,
39
39
  y: 0
40
- }), [Ue, Ge] = y(i.defaultSize ?? {
40
+ }), [Ue, Ge] = b(i.defaultSize ?? {
41
41
  width: 400,
42
42
  height: 300
43
- }), [u, oe] = y(!1), [L, ye] = y(!1), [Y, be] = y(!1), [Qe, re] = y(!1), M = bt({
43
+ }), [u, oe] = b(!1), [L, ye] = b(!1), [Y, be] = b(!1), [Qe, re] = b(!1), M = bt({
44
44
  open: () => i.open,
45
45
  element: () => ae
46
46
  });
47
- let z = {
47
+ let p = {
48
48
  x: 0,
49
49
  y: 0
50
50
  }, F = {
@@ -60,22 +60,22 @@ function nn(i) {
60
60
  y: 0,
61
61
  width: 0,
62
62
  height: 0
63
- }, $e = "se", d, ae, se, h = null, N, f = null, C = {
63
+ }, _e = "se", d, ae, se, h = null, N, f = null, C = {
64
64
  x: 0,
65
65
  y: 0
66
- }, k = null, V = null, p, de = !1, s = {
66
+ }, k = null, V = null, _, de = !1, s = {
67
67
  x: i.defaultPosition?.x ?? 0,
68
68
  y: i.defaultPosition?.y ?? 0,
69
69
  width: i.defaultSize?.width ?? 400,
70
70
  height: i.defaultSize?.height ?? 300
71
- }, v = {
71
+ }, x = {
72
72
  ...s
73
73
  }, A;
74
- const _e = (e) => {
75
- v = {
74
+ const $e = (e) => {
75
+ x = {
76
76
  ...e
77
77
  };
78
- const t = we(R(), b());
78
+ const t = we(R(), z());
79
79
  A = {
80
80
  x: t.width > e.width ? (e.x - t.x) / (t.width - e.width) : A?.x ?? 0.5,
81
81
  y: t.height > e.height ? (e.y - t.y) / (t.height - e.height) : A?.y ?? 0.5
@@ -105,7 +105,7 @@ function nn(i) {
105
105
  lockDocumentStyles: f !== "drag"
106
106
  });
107
107
  }, j = (e) => {
108
- if ((e.x !== s.x || e.y !== s.y || e.width !== s.width || e.height !== s.height) && (p?.cancel(), p = void 0), s = e, !d) return;
108
+ if ((e.x !== s.x || e.y !== s.y || e.width !== s.width || e.height !== s.height) && (_?.cancel(), _ = void 0), s = e, !d) return;
109
109
  const t = ne(e);
110
110
  d.style.transform = `translate3d(${t.x}px, ${t.y}px, 0)`, d.style.width = `${e.width / T()}px`, d.style.height = `${e.height / T()}px`;
111
111
  }, Se = () => {
@@ -117,7 +117,7 @@ function nn(i) {
117
117
  height: t.height
118
118
  };
119
119
  }, ue = (e) => {
120
- (e.x !== s.x || e.y !== s.y || e.width !== s.width || e.height !== s.height) && (p?.cancel(), p = void 0), s = e, je((t) => t.x === e.x && t.y === e.y ? t : {
120
+ (e.x !== s.x || e.y !== s.y || e.width !== s.width || e.height !== s.height) && (_?.cancel(), _ = void 0), s = e, je((t) => t.x === e.x && t.y === e.y ? t : {
121
121
  x: e.x,
122
122
  y: e.y
123
123
  }), Ge((t) => t.width === e.width && t.height === e.height ? t : {
@@ -149,35 +149,35 @@ function nn(i) {
149
149
  }, Pe = () => {
150
150
  if (i.open && !(h === null || f === null) && !(typeof window > "u")) {
151
151
  if (f === "drag" && u()) {
152
- if (Math.hypot(C.x - z.x, C.y - z.y) < 4) return;
152
+ if (Math.hypot(C.x - p.x, C.y - p.y) < 4) return;
153
153
  const e = me({
154
- rect: v,
154
+ rect: x,
155
155
  minSize: q(),
156
156
  maxSize: H(),
157
157
  viewport: R(),
158
- viewportInsets: b(),
158
+ viewportInsets: z(),
159
159
  mobile: i.boundary === void 0 && E(),
160
160
  mobilePadding: X
161
- }), t = Math.max(0, Math.min(1, (z.x - F.x) / Math.max(1, F.width))), r = Math.max(0, Math.min(le, z.y - F.y));
161
+ }), t = Math.max(0, Math.min(1, (p.x - F.x) / Math.max(1, F.width))), r = Math.max(0, Math.min(le, p.y - F.y));
162
162
  F = {
163
163
  ...e,
164
- x: z.x - e.width * t,
165
- y: z.y - r
164
+ x: p.x - e.width * t,
165
+ y: p.y - r
166
166
  }, oe(!1);
167
167
  }
168
168
  j(xt({
169
169
  mode: f,
170
170
  pointer: C,
171
- dragStartPos: z,
171
+ dragStartPos: p,
172
172
  dragStartRect: F,
173
173
  dragTitlebarHeight: le,
174
174
  resizeStartPos: ze,
175
175
  resizeStartRect: pe,
176
- resizeHandle: $e,
176
+ resizeHandle: _e,
177
177
  minSize: q(),
178
178
  maxSize: H(),
179
179
  viewport: R(),
180
- viewportInsets: b(),
180
+ viewportInsets: z(),
181
181
  mobile: i.boundary === void 0 && E(),
182
182
  mobilePadding: X
183
183
  }));
@@ -185,22 +185,22 @@ function nn(i) {
185
185
  }, B = (e) => {
186
186
  if (typeof window > "u") return;
187
187
  const t = R();
188
- if (u() || m()) {
189
- ue(we(t, b()));
188
+ if (u() || v()) {
189
+ ue(we(t, z()));
190
190
  return;
191
191
  }
192
192
  let r = me({
193
- rect: v,
193
+ rect: x,
194
194
  minSize: q(),
195
195
  maxSize: H(),
196
196
  viewport: t,
197
- viewportInsets: b(),
197
+ viewportInsets: z(),
198
198
  mobile: i.boundary === void 0 && E(),
199
199
  mobilePadding: X,
200
200
  center: e?.center ?? !1
201
201
  });
202
202
  if (i.boundary !== void 0 && A && !e?.center) {
203
- const o = we(t, b());
203
+ const o = we(t, z());
204
204
  r = {
205
205
  ...r,
206
206
  x: o.x + A.x * Math.max(0, o.width - r.width),
@@ -209,10 +209,10 @@ function nn(i) {
209
209
  }
210
210
  if (ue(r), !A) {
211
211
  const o = {
212
- width: v.width,
213
- height: v.height
212
+ width: x.width,
213
+ height: x.height
214
214
  };
215
- _e(r), Object.assign(v, o);
215
+ $e(r), Object.assign(x, o);
216
216
  }
217
217
  }, Ie = (e) => {
218
218
  k !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(k), k = null), e && Pe();
@@ -221,24 +221,24 @@ function nn(i) {
221
221
  minSize: q(),
222
222
  maxSize: H(),
223
223
  viewport: R(),
224
- viewportInsets: b(),
224
+ viewportInsets: z(),
225
225
  mobile: i.boundary === void 0 && E(),
226
226
  mobilePadding: X
227
227
  }) : null;
228
228
  if (ge(() => {
229
229
  if (o) {
230
230
  ue(o);
231
- const S = {
232
- width: v.width,
233
- height: v.height
231
+ const P = {
232
+ width: x.width,
233
+ height: x.height
234
234
  };
235
- _e(o), f === "drag" && Object.assign(v, S);
235
+ $e(o), f === "drag" && Object.assign(x, P);
236
236
  }
237
237
  h = null, f = null, ye(!1), be(!1);
238
238
  }), ce(!1, ""), N = void 0, o && (j(o), t && r && d?.animate && (r.x !== o.x || r.y !== o.y) && !window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)) {
239
- const S = ne(r), U = ne(o);
240
- p = d.animate([{
241
- transform: `translate3d(${S.x}px, ${S.y}px, 0)`
239
+ const P = ne(r), U = ne(o);
240
+ _ = d.animate([{
241
+ transform: `translate3d(${P.x}px, ${P.y}px, 0)`
242
242
  }, {
243
243
  transform: `translate3d(${U.x}px, ${U.y}px, 0)`
244
244
  }], {
@@ -252,13 +252,13 @@ function nn(i) {
252
252
  }) : Ie(e);
253
253
  };
254
254
  D(() => {
255
- he(!1), p?.cancel();
255
+ he(!1), _?.cancel();
256
256
  }), dt(() => {
257
257
  const e = () => {
258
258
  const t = O(), r = i.boundary === void 0 ? {
259
259
  boundaryHost: null,
260
260
  mode: "global"
261
- } : $t({
261
+ } : _t({
262
262
  owner: ee
263
263
  }), o = zt(r, i.boundary, t?.safeArea);
264
264
  ge(() => {
@@ -303,7 +303,7 @@ function nn(i) {
303
303
  }
304
304
  requestAnimationFrame(t);
305
305
  }), I(() => {
306
- b(), R(), m(), !(!i.open || !de || h !== null) && W(() => B({
306
+ z(), R(), v(), !(!i.open || !de || h !== null) && W(() => B({
307
307
  center: !1
308
308
  }));
309
309
  }), I(() => {
@@ -344,7 +344,7 @@ function nn(i) {
344
344
  T(), O()?.fixedOffset, j(h === null ? e : s);
345
345
  });
346
346
  const nt = (e) => {
347
- !xe() || m() || h !== null || e.pointerType === "mouse" && e.button !== 0 || e.target?.closest('button, input, select, textarea, a, [role="button"], [role="tab"], [data-floe-interactive], [contenteditable="true"]') || (e.preventDefault(), p?.cancel(), p = void 0, le = e.currentTarget instanceof HTMLElement && e.currentTarget.getBoundingClientRect().height || 32, h = e.pointerId, f = "drag", ye(!0), z = {
347
+ !xe() || v() || h !== null || e.pointerType === "mouse" && e.button !== 0 || e.target?.closest('button, input, select, textarea, a, [role="button"], [role="tab"], [data-floe-interactive], [contenteditable="true"]') || (e.preventDefault(), _?.cancel(), _ = void 0, le = e.currentTarget instanceof HTMLElement && e.currentTarget.getBoundingClientRect().height || 32, h = e.pointerId, f = "drag", ye(!0), p = {
348
348
  x: e.clientX,
349
349
  y: e.clientY
350
350
  }, F = {
@@ -354,7 +354,7 @@ function nn(i) {
354
354
  y: e.clientY
355
355
  }, ce(!0, "grabbing"), Ce(e));
356
356
  }, $ = (e) => (t) => {
357
- !ve() || u() || m() || h !== null || t.pointerType === "mouse" && t.button !== 0 || (t.preventDefault(), t.stopPropagation(), h = t.pointerId, f = "resize", be(!0), $e = e, ze = {
357
+ !ve() || u() || v() || h !== null || t.pointerType === "mouse" && t.button !== 0 || (t.preventDefault(), t.stopPropagation(), h = t.pointerId, f = "resize", be(!0), _e = e, ze = {
358
358
  x: t.clientX,
359
359
  y: t.clientY
360
360
  }, pe = {
@@ -394,12 +394,12 @@ function nn(i) {
394
394
  }
395
395
  });
396
396
  }, Ae = () => {
397
- !K() || m() || (h !== null && he(!0), oe(!u()), B());
397
+ !K() || v() || (h !== null && he(!0), oe(!u()), B());
398
398
  }, ot = (e) => {
399
399
  e.target?.closest('button, input, select, textarea, a, [role="button"], [role="tab"], [data-floe-interactive], [contenteditable="true"]') || Ae();
400
400
  }, rt = (e) => {
401
401
  Ke(e.target) && Je();
402
- }, _ = (e) => J("absolute z-10", {
402
+ }, S = (e) => J("absolute z-10", {
403
403
  n: "cursor-ns-resize top-0 left-2 right-2 h-1",
404
404
  s: "cursor-ns-resize bottom-0 left-2 right-2 h-1",
405
405
  e: "cursor-ew-resize right-0 top-2 bottom-2 w-1",
@@ -410,7 +410,7 @@ function nn(i) {
410
410
  sw: "cursor-nesw-resize bottom-0 left-0 w-2 h-2"
411
411
  }[e]);
412
412
  return [(() => {
413
- var e = _t(), t = ee;
413
+ var e = $t(), t = ee;
414
414
  return typeof t == "function" ? Q(t, e) : ee = e, e;
415
415
  })(), l(w, {
416
416
  get when() {
@@ -419,7 +419,7 @@ function nn(i) {
419
419
  get children() {
420
420
  return l(lt, {
421
421
  get children() {
422
- var e = Lt(), t = e.firstChild, r = t.firstChild, o = r.firstChild, S = o.nextSibling, U = r.nextSibling;
422
+ var e = Lt(), t = e.firstChild, r = t.firstChild, o = r.firstChild, P = o.nextSibling, U = r.nextSibling;
423
423
  Q((n) => {
424
424
  d = n, W(() => j(Se()));
425
425
  }, e), ke(e, Oe({
@@ -433,7 +433,7 @@ function nn(i) {
433
433
  return M.exiting() || !te();
434
434
  },
435
435
  get "data-floe-floating-window-compact"() {
436
- return m() ? "true" : void 0;
436
+ return v() ? "true" : void 0;
437
437
  }
438
438
  }, {
439
439
  [Be]: "true"
@@ -481,7 +481,7 @@ function nn(i) {
481
481
  get "data-floating-presence"() {
482
482
  return M.state();
483
483
  }
484
- }), !1, !0), r.$$dblclick = ot, r.$$pointerdown = nt;
484
+ }), !1, !0), m(r, "dblclick", ot), m(r, "pointerdown", nt);
485
485
  var Me = se;
486
486
  return typeof Me == "function" ? Q(Me, r) : se = r, c(o, l(w, {
487
487
  get when() {
@@ -528,9 +528,9 @@ function nn(i) {
528
528
  var n = It(), G = n.firstChild;
529
529
  return c(n, () => i.headerActions, G), n;
530
530
  }
531
- }), S), c(S, l(w, {
531
+ }), P), c(P, l(w, {
532
532
  get when() {
533
- return Z(() => !!K())() && !m();
533
+ return Z(() => !!K())() && !v();
534
534
  },
535
535
  get children() {
536
536
  return l(Le, {
@@ -563,7 +563,7 @@ function nn(i) {
563
563
  }
564
564
  });
565
565
  }
566
- }), null), c(S, l(Le, {
566
+ }), null), c(P, l(Le, {
567
567
  variant: "ghost-destructive",
568
568
  size: "icon",
569
569
  "data-floe-floating-window-control": "close",
@@ -589,15 +589,15 @@ function nn(i) {
589
589
  }
590
590
  }), null), c(e, l(w, {
591
591
  get when() {
592
- return Z(() => !!(ve() && !u()))() && !m();
592
+ return Z(() => !!(ve() && !u()))() && !v();
593
593
  },
594
594
  get children() {
595
595
  return [(() => {
596
596
  var n = Ct();
597
- return P(n, "pointerdown", $("n"), !0), g(() => x(n, _("n"))), n;
597
+ return m(n, "pointerdown", $("n"), !0), g(() => y(n, S("n"))), n;
598
598
  })(), (() => {
599
599
  var n = At();
600
- return P(n, "pointerdown", $("s"), !0), g(() => x(n, _("s"))), n;
600
+ return m(n, "pointerdown", $("s"), !0), g(() => y(n, S("s"))), n;
601
601
  })(), l(w, {
602
602
  get when() {
603
603
  return !E();
@@ -605,33 +605,33 @@ function nn(i) {
605
605
  get children() {
606
606
  return [(() => {
607
607
  var n = Et();
608
- return P(n, "pointerdown", $("e"), !0), g(() => x(n, _("e"))), n;
608
+ return m(n, "pointerdown", $("e"), !0), g(() => y(n, S("e"))), n;
609
609
  })(), (() => {
610
610
  var n = Mt();
611
- return P(n, "pointerdown", $("w"), !0), g(() => x(n, _("w"))), n;
611
+ return m(n, "pointerdown", $("w"), !0), g(() => y(n, S("w"))), n;
612
612
  })(), (() => {
613
613
  var n = Ft();
614
- return P(n, "pointerdown", $("ne"), !0), g(() => x(n, _("ne"))), n;
614
+ return m(n, "pointerdown", $("ne"), !0), g(() => y(n, S("ne"))), n;
615
615
  })(), (() => {
616
616
  var n = kt();
617
- return P(n, "pointerdown", $("nw"), !0), g(() => x(n, _("nw"))), n;
617
+ return m(n, "pointerdown", $("nw"), !0), g(() => y(n, S("nw"))), n;
618
618
  })(), (() => {
619
619
  var n = Ot();
620
- return P(n, "pointerdown", $("se"), !0), g(() => x(n, _("se"))), n;
620
+ return m(n, "pointerdown", $("se"), !0), g(() => y(n, S("se"))), n;
621
621
  })(), (() => {
622
622
  var n = Tt();
623
- return P(n, "pointerdown", $("sw"), !0), g(() => x(n, _("sw"))), n;
623
+ return m(n, "pointerdown", $("sw"), !0), g(() => y(n, S("sw"))), n;
624
624
  })()];
625
625
  }
626
626
  })];
627
627
  }
628
- }), null), g(() => x(r, J("flex shrink-0 items-center justify-between h-8", "border-b", u() ? "rounded-none" : "rounded-t-panel", xe() && !m() && (L() ? "cursor-grabbing" : "cursor-move")))), e;
628
+ }), null), g(() => y(r, J("flex shrink-0 items-center justify-between h-8", "border-b", u() ? "rounded-none" : "rounded-t-panel", xe() && !v() && (L() ? "cursor-grabbing" : "cursor-move")))), e;
629
629
  }
630
630
  });
631
631
  }
632
632
  })];
633
633
  }
634
- at(["pointerdown", "dblclick"]);
634
+ at(["pointerdown"]);
635
635
  export {
636
636
  nn as FloatingWindow
637
637
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.90.3",
3
+ "version": "0.90.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",