@floegence/floe-webapp-core 0.36.21 → 0.36.22

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,7 +1,7 @@
1
- import { spread as F, mergeProps as rt, insert as l, createComponent as c, memo as dt, template as B, use as lt, delegateEvents as ct } from "solid-js/web";
1
+ import { spread as p, mergeProps as rt, insert as l, createComponent as c, memo as dt, template as B, use as lt, delegateEvents as ct } from "solid-js/web";
2
2
  import { createMemo as u, createSignal as W, onCleanup as st, untrack as f } from "solid-js";
3
3
  import { startHotInteraction as wt } from "../../utils/hotInteraction.js";
4
- import { X as j, Minus as O, Maximize as q, GripVertical as gt } from "../icons/index.js";
4
+ import { X as O, Minus as j, Maximize as q, GripVertical as gt } from "../icons/index.js";
5
5
  import { CANVAS_WHEEL_INTERACTIVE_ATTR as ht, WORKBENCH_WIDGET_SHELL_ATTR as ut, shouldActivateWorkbenchWidgetLocalTarget as ft } from "../ui/localInteractionSurface.js";
6
6
  import { startPointerSession as N } from "../ui/pointerSession.js";
7
7
  import { createWorkbenchWidgetSurfaceMetrics as _t } from "./workbenchHelpers.js";
@@ -107,9 +107,7 @@ function Rt(t) {
107
107
  const i = Y()?.rect;
108
108
  return {
109
109
  ...e,
110
- left: `${i?.screenX ?? 0}px`,
111
- top: `${i?.screenY ?? 0}px`,
112
- "--floe-workbench-projected-scale": `${i?.viewportScale ?? Math.max(t.viewportScale, 1e-3)}`
110
+ transform: `translate3d(${i?.screenX ?? 0}px, ${i?.screenY ?? 0}px, 0) scale(${i?.viewportScale ?? Math.max(t.viewportScale, 1e-3)})`
113
111
  };
114
112
  }
115
113
  return {
@@ -216,7 +214,7 @@ function Rt(t) {
216
214
  };
217
215
  return (() => {
218
216
  var e = mt(), i = e.firstChild, r = i.firstChild, d = r.firstChild, a = d.nextSibling, n = a.nextSibling, h = r.nextSibling, w = h.nextSibling, M = w.nextSibling, nt = M.firstChild, L = nt.nextSibling, ot = M.nextSibling, k = ot.firstChild, I = k.nextSibling, C = I.nextSibling, at = i.nextSibling, H = g;
219
- return typeof H == "function" ? lt(H, e) : g = e, F(e, rt({
217
+ return typeof H == "function" ? lt(H, e) : g = e, p(e, rt({
220
218
  get classList() {
221
219
  return {
222
220
  "is-selected": t.selected,
@@ -258,12 +256,12 @@ function Rt(t) {
258
256
  get style() {
259
257
  return U();
260
258
  }
261
- }), !1, !0), i.$$pointerdown = E, F(i, {
259
+ }), !1, !0), i.$$pointerdown = E, p(i, {
262
260
  [ut]: "true"
263
- }, !1, !0), d.$$click = A, d.$$pointerdown = (o) => o.stopPropagation(), l(d, c(j, {
261
+ }, !1, !0), d.$$click = A, d.$$pointerdown = (o) => o.stopPropagation(), l(d, c(O, {
264
262
  class: "workbench-widget__traffic-icon",
265
263
  "aria-hidden": "true"
266
- })), a.$$click = D, a.$$pointerdown = (o) => o.stopPropagation(), l(a, c(O, {
264
+ })), a.$$click = D, a.$$pointerdown = (o) => o.stopPropagation(), l(a, c(j, {
267
265
  class: "workbench-widget__traffic-icon",
268
266
  "aria-hidden": "true"
269
267
  })), n.$$click = P, n.$$pointerdown = (o) => o.stopPropagation(), l(n, c(q, {
@@ -276,13 +274,13 @@ function Rt(t) {
276
274
  return c(o, {
277
275
  class: "w-3.5 h-3.5"
278
276
  });
279
- }, L), l(L, () => t.widgetTitle), k.$$click = D, k.$$pointerdown = (o) => o.stopPropagation(), l(k, c(O, {
277
+ }, L), l(L, () => t.widgetTitle), k.$$click = D, k.$$pointerdown = (o) => o.stopPropagation(), l(k, c(j, {
280
278
  class: "workbench-widget__window-control-icon",
281
279
  "aria-hidden": "true"
282
280
  })), I.$$click = P, I.$$pointerdown = (o) => o.stopPropagation(), l(I, c(q, {
283
281
  class: "workbench-widget__window-control-icon",
284
282
  "aria-hidden": "true"
285
- })), C.$$click = A, C.$$pointerdown = (o) => o.stopPropagation(), l(C, c(j, {
283
+ })), C.$$click = A, C.$$pointerdown = (o) => o.stopPropagation(), l(C, c(O, {
286
284
  class: "workbench-widget__window-control-icon",
287
285
  "aria-hidden": "true"
288
286
  })), l(at, () => {
@@ -315,8 +313,8 @@ function Rt(t) {
315
313
  }), l(e, (() => {
316
314
  var o = dt(() => !!t.locked);
317
315
  return () => o() ? null : (() => {
318
- var p = vt();
319
- return p.$$pointerdown = it, p;
316
+ var F = vt();
317
+ return F.$$pointerdown = it, F;
320
318
  })();
321
319
  })(), null), e;
322
320
  })();