@janbox/storefront-builder 2.0.23 → 2.0.25
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.
- package/dist/components/composer/dataset.d.ts +2 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/editor/lib/header/index.d.ts +6 -1
- package/dist/editor/lib/index.d.ts +4 -4
- package/dist/editor.js +415 -405
- package/dist/{index-BBoR6Gy_.js → index-C9gD44fK.js} +1 -1
- package/dist/index-CglXRxzd.js +4 -0
- package/dist/index.js +82 -75
- package/dist/lib/count-up/README.md +129 -0
- package/dist/lib/count-up/count-up.inspector/count-up.inspector.d.ts +1 -0
- package/dist/lib/count-up/count-up.inspector/index.d.ts +1 -0
- package/dist/lib/count-up/count-up.node/count-up.node.d.ts +2 -0
- package/dist/lib/count-up/count-up.node/helpers.d.ts +3 -0
- package/dist/lib/count-up/count-up.node/index.d.ts +3 -0
- package/dist/lib/count-up/count-up.node/types.d.ts +2 -0
- package/dist/lib/count-up/index.d.ts +1 -0
- package/dist/lib/icon/README.md +9 -18
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/rating/README.md +126 -0
- package/dist/lib/rating/index.d.ts +2 -0
- package/dist/lib/rating/rating/helpers.d.ts +4 -0
- package/dist/lib/rating/rating/index.d.ts +3 -0
- package/dist/lib/rating/rating/rating.d.ts +2 -0
- package/dist/lib/rating/rating/types.d.ts +10 -0
- package/dist/lib/rating/rating.inspector/index.d.ts +1 -0
- package/dist/lib/rating/rating.inspector/rating.inspector.d.ts +1 -0
- package/dist/lib/rating/rating.node/helpers.d.ts +3 -0
- package/dist/lib/rating/rating.node/index.d.ts +3 -0
- package/dist/lib/rating/rating.node/rating.node.d.ts +2 -0
- package/dist/lib/rating/rating.node/types.d.ts +2 -0
- package/dist/templates/sections/brand-story/about-story.d.ts +2 -0
- package/dist/templates/sections/hero/notebook-hero.d.ts +2 -0
- package/dist/templates/sections/index.d.ts +1 -0
- package/dist/templates/sections/testimonial/before-after.d.ts +2 -0
- package/dist/templates/sections/testimonial/index.d.ts +2 -0
- package/dist/templates.js +826 -202
- package/dist/{toaster-DMjFxzB_.js → toaster-CzSp838P.js} +6465 -6172
- package/package.json +3 -3
- package/dist/index-BPG8gpQT.js +0 -4
package/dist/editor.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as n, jsxs as w, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { throttle as
|
|
5
|
-
import { useImperativeHandle as
|
|
1
|
+
import { jsx as n, jsxs as w, Fragment as Oe } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { aB as gt, aC as ft, aD as bt, aE as f, aF as wt, aG as ce, aH as $, aI as fe, b as Ie, B as Me, a6 as kt, aJ as J, aK as He, aL as mt, aM as W, aN as I, aA as $e, az as Ct, aO as vt, aP as xt, aQ as yt, aR as Tt, aS as It, aT as Mt, aU as St, aV as _e, aW as Et, aX as Lt, aY as Wt, aZ as Nt, a_ as Rt, u as H, a$ as At, b0 as Dt, b1 as oe, m as Bt, i as Pt, G as jt, l as Se, p as Vt, F as Ee, t as Ft, Z as Ot, I as Ht, b2 as $t, s as _t, P as zt, b3 as ze, b4 as Gt, b5 as Ut, b6 as Zt, b7 as Yt, b8 as Xt, b9 as _, ba as Ge, bb as qt, bc as Jt, bd as ke, be as Kt, bf as Qt, bg as en, a5 as Ue, a1 as Ze, bh as Le, bi as tn, N as me, bj as nn, bk as rn, bl as on, a3 as sn, bm as We, bn as an } from "./toaster-CzSp838P.js";
|
|
3
|
+
import { bo as So, bp as Eo, bq as Lo, br as Wo, bs as No, bt as Ro, bu as Ao, bv as Do, bw as Bo, bx as Po, by as jo, bz as Vo, bA as Fo, bB as Oo, bC as Ho, bD as $o, bE as _o, bF as zo, bG as Go, bH as Uo, bI as Zo, bJ as Yo, bK as Xo, bL as qo, bM as Jo, bN as Ko, bO as Qo, bP as es, bQ as ts, bR as ns, bS as rs, bT as os, bU as ss, bV as is, bW as as, bX as cs, bY as ls, bZ as ds, b_ as hs, b$ as us, c0 as ps, c1 as gs, c2 as fs, c3 as bs, c4 as ws, c5 as ks, c6 as ms, c7 as Cs, c8 as vs, c9 as xs, ca as ys, cb as Ts, W as Is, cc as Ms, cd as Ss, ce as Es, cf as Ls, cg as Ws } from "./toaster-CzSp838P.js";
|
|
4
|
+
import { throttle as cn, isFunction as Ne, isNumber as se, isNil as ee, isEqual as ln } from "lodash-es";
|
|
5
|
+
import { useImperativeHandle as dn, useMemo as hn, isValidElement as un, useState as P, useRef as G, useEffect as V, Fragment as ie, Suspense as pn, createElement as Ye, useCallback as gn } from "react";
|
|
6
6
|
import "flat";
|
|
7
|
-
import { FLOATING_Z_INDEX as Xe, ThemeProvider as
|
|
7
|
+
import { FLOATING_Z_INDEX as Xe, ThemeProvider as fn, breakpoint as bn, createTheme as Re } from "@janbox/storefront-ui/theme";
|
|
8
8
|
import "@janbox/storefront-ui/hooks";
|
|
9
|
-
import { CacheProvider as
|
|
10
|
-
import { useFloatingParentNodeId as
|
|
9
|
+
import { CacheProvider as wn, Global as kn, createElement as mn } from "@emotion/react";
|
|
10
|
+
import { useFloatingParentNodeId as Cn, FloatingTree as vn, useFloating as le, autoUpdate as de, offset as qe, size as Je, flip as Ce, useClick as xn, useHover as Ke, useFocus as Qe, useDismiss as et, useRole as tt, useInteractions as nt, safePolygon as yn, FloatingPortal as he } from "@floating-ui/react";
|
|
11
11
|
import "react-colorful";
|
|
12
12
|
import "overlayscrollbars-react";
|
|
13
13
|
import "@tanstack/react-virtual";
|
|
14
|
-
import
|
|
14
|
+
import Tn, { useFrame as ve } from "react-frame-component";
|
|
15
15
|
import "react-dropzone";
|
|
16
16
|
import "react-datepicker";
|
|
17
|
-
import { a as rt, C as
|
|
17
|
+
import { a as rt, C as In } from "./index-C9gD44fK.js";
|
|
18
18
|
import "@janbox/storefront-ui/utils";
|
|
19
|
-
import { useToggle as
|
|
19
|
+
import { useToggle as ot } from "usehooks-ts";
|
|
20
20
|
import "@hello-pangea/dnd";
|
|
21
21
|
import "@janbox/storefront-ui";
|
|
22
22
|
class Mn {
|
|
@@ -54,9 +54,9 @@ class Mn {
|
|
|
54
54
|
}
|
|
55
55
|
const Sn = () => new Mn();
|
|
56
56
|
function En() {
|
|
57
|
-
return
|
|
57
|
+
return gt(Sn);
|
|
58
58
|
}
|
|
59
|
-
const Ln = (e) =>
|
|
59
|
+
const Ln = (e) => Cn() ? /* @__PURE__ */ n(Ae, { ...e }) : /* @__PURE__ */ n(vn, { children: /* @__PURE__ */ n(Ae, { ...e }) }), Ae = ({
|
|
60
60
|
open: e,
|
|
61
61
|
placement: t = "bottom",
|
|
62
62
|
onOpenChange: o,
|
|
@@ -75,27 +75,27 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
75
75
|
},
|
|
76
76
|
elements: d,
|
|
77
77
|
offsetOptions: k = 4,
|
|
78
|
-
sizeOptions:
|
|
79
|
-
autoUpdateOptions:
|
|
78
|
+
sizeOptions: h,
|
|
79
|
+
autoUpdateOptions: u,
|
|
80
80
|
ref: c
|
|
81
81
|
}) => {
|
|
82
|
-
const
|
|
82
|
+
const p = le({
|
|
83
83
|
open: e,
|
|
84
84
|
onOpenChange: o,
|
|
85
85
|
placement: t,
|
|
86
|
-
middleware: [qe(k), Je(
|
|
87
|
-
whileElementsMounted: (...A) => de(...A,
|
|
86
|
+
middleware: [qe(k), Je(h), Ce()],
|
|
87
|
+
whileElementsMounted: (...A) => de(...A, u),
|
|
88
88
|
elements: d
|
|
89
89
|
});
|
|
90
|
-
|
|
91
|
-
const { context:
|
|
90
|
+
dn(c, () => p, [p]);
|
|
91
|
+
const { context: b } = p, g = xn(b, s), x = Ke(b, a), m = Qe(b, l), T = et(b, r), S = tt(b), F = nt([g, T, S, x, m]), j = hn(
|
|
92
92
|
() => ({
|
|
93
|
-
...
|
|
93
|
+
...p,
|
|
94
94
|
...F
|
|
95
95
|
}),
|
|
96
|
-
[
|
|
96
|
+
[p, F]
|
|
97
97
|
);
|
|
98
|
-
return /* @__PURE__ */ n(
|
|
98
|
+
return /* @__PURE__ */ n(ft.Provider, { value: j, children: i });
|
|
99
99
|
}, go = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
|
|
100
100
|
Ln,
|
|
101
101
|
{
|
|
@@ -104,7 +104,7 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
104
104
|
},
|
|
105
105
|
...o,
|
|
106
106
|
children: /* @__PURE__ */ w(
|
|
107
|
-
|
|
107
|
+
bt,
|
|
108
108
|
{
|
|
109
109
|
floatingOverlayProps: {
|
|
110
110
|
disabled: !1,
|
|
@@ -141,7 +141,7 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
141
141
|
flexDirection: "column",
|
|
142
142
|
overflow: "hidden",
|
|
143
143
|
borderRadius: 8,
|
|
144
|
-
backgroundColor:
|
|
144
|
+
backgroundColor: f.palette.ink["6s"],
|
|
145
145
|
maxWidth: "100%",
|
|
146
146
|
color: "white"
|
|
147
147
|
},
|
|
@@ -152,21 +152,21 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
152
152
|
}
|
|
153
153
|
)
|
|
154
154
|
}
|
|
155
|
-
), fo = () =>
|
|
155
|
+
), fo = () => wt(), bo = ({ ref: e, ...t }) => /* @__PURE__ */ n(
|
|
156
156
|
ce,
|
|
157
157
|
{
|
|
158
|
-
css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...
|
|
158
|
+
css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...f.text.xs },
|
|
159
159
|
...t,
|
|
160
160
|
ref: e
|
|
161
161
|
}
|
|
162
162
|
), wo = ({ required: e, children: t, ...o }) => /* @__PURE__ */ w("div", { css: { marginBottom: 6, display: "flex", width: "fit-content" }, ...o, children: [
|
|
163
|
-
|
|
164
|
-
e && /* @__PURE__ */ n("span", { css: { color:
|
|
163
|
+
un(t) ? t : /* @__PURE__ */ n("label", { children: t }),
|
|
164
|
+
e && /* @__PURE__ */ n("span", { css: { color: f.palette.red["6s"] }, children: " *" })
|
|
165
165
|
] }), ko = () => {
|
|
166
|
-
const [e, t] = P(0), [o, r] = P(!1), i =
|
|
166
|
+
const [e, t] = P(0), [o, r] = P(!1), i = G(null), s = (k, h) => {
|
|
167
167
|
if (!i.current) return 0;
|
|
168
|
-
const
|
|
169
|
-
return (Math.atan2(
|
|
168
|
+
const u = i.current.getBoundingClientRect(), c = u.left + u.width / 2, p = u.top + u.height / 2, b = k - c, g = h - p;
|
|
169
|
+
return (Math.atan2(g, b) * (180 / Math.PI) + 360) % 360;
|
|
170
170
|
};
|
|
171
171
|
return /* @__PURE__ */ w(
|
|
172
172
|
"div",
|
|
@@ -178,8 +178,8 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
178
178
|
},
|
|
179
179
|
onMouseMove: (k) => {
|
|
180
180
|
if (o) {
|
|
181
|
-
const
|
|
182
|
-
t(Math.round(
|
|
181
|
+
const h = s(k.clientX, k.clientY);
|
|
182
|
+
t(Math.round(h));
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
onMouseUp: () => {
|
|
@@ -200,8 +200,8 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
|
|
|
200
200
|
viewBox: "0 0 200 200",
|
|
201
201
|
onMouseDown: (k) => {
|
|
202
202
|
r(!0);
|
|
203
|
-
const
|
|
204
|
-
t(Math.round(
|
|
203
|
+
const h = s(k.clientX, k.clientY);
|
|
204
|
+
t(Math.round(h));
|
|
205
205
|
},
|
|
206
206
|
style: { cursor: "grab" },
|
|
207
207
|
children: [
|
|
@@ -274,11 +274,11 @@ var Rn = /* @__PURE__ */ (function() {
|
|
|
274
274
|
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
275
275
|
}), this.tags = [], this.ctr = 0;
|
|
276
276
|
}, e;
|
|
277
|
-
})(), L = "-ms-", ae = "-moz-", C = "-webkit-",
|
|
277
|
+
})(), L = "-ms-", ae = "-moz-", C = "-webkit-", st = "comm", xe = "rule", ye = "decl", An = "@import", it = "@keyframes", Dn = "@layer", Bn = Math.abs, ue = String.fromCharCode, Pn = Object.assign;
|
|
278
278
|
function jn(e, t) {
|
|
279
279
|
return E(e, 0) ^ 45 ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function at(e) {
|
|
282
282
|
return e.trim();
|
|
283
283
|
}
|
|
284
284
|
function Vn(e, t) {
|
|
@@ -299,7 +299,7 @@ function X(e, t, o) {
|
|
|
299
299
|
function D(e) {
|
|
300
300
|
return e.length;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function Te(e) {
|
|
303
303
|
return e.length;
|
|
304
304
|
}
|
|
305
305
|
function Q(e, t) {
|
|
@@ -308,7 +308,7 @@ function Q(e, t) {
|
|
|
308
308
|
function Fn(e, t) {
|
|
309
309
|
return e.map(t).join("");
|
|
310
310
|
}
|
|
311
|
-
var pe = 1, U = 1,
|
|
311
|
+
var pe = 1, U = 1, ct = 0, N = 0, M = 0, Z = "";
|
|
312
312
|
function ge(e, t, o, r, i, s, l) {
|
|
313
313
|
return { value: e, root: t, parent: o, type: r, props: i, children: s, line: pe, column: U, length: l, return: "" };
|
|
314
314
|
}
|
|
@@ -322,7 +322,7 @@ function Hn() {
|
|
|
322
322
|
return M = N > 0 ? E(Z, --N) : 0, U--, M === 10 && (U = 1, pe--), M;
|
|
323
323
|
}
|
|
324
324
|
function R() {
|
|
325
|
-
return M = N <
|
|
325
|
+
return M = N < ct ? E(Z, N++) : 0, U++, M === 10 && (U = 1, pe++), M;
|
|
326
326
|
}
|
|
327
327
|
function B() {
|
|
328
328
|
return E(Z, N);
|
|
@@ -371,14 +371,14 @@ function q(e) {
|
|
|
371
371
|
}
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
return pe = U = 1,
|
|
374
|
+
function lt(e) {
|
|
375
|
+
return pe = U = 1, ct = D(Z = e), N = 0, [];
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function dt(e) {
|
|
378
378
|
return Z = "", e;
|
|
379
379
|
}
|
|
380
380
|
function ne(e) {
|
|
381
|
-
return
|
|
381
|
+
return at(K(N - 1, we(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
382
382
|
}
|
|
383
383
|
function $n(e) {
|
|
384
384
|
for (; (M = B()) && M < 33; )
|
|
@@ -412,140 +412,140 @@ function we(e) {
|
|
|
412
412
|
}
|
|
413
413
|
return N;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function zn(e, t) {
|
|
416
416
|
for (; R() && e + M !== 57; )
|
|
417
417
|
if (e + M === 84 && B() === 47)
|
|
418
418
|
break;
|
|
419
419
|
return "/*" + K(t, N - 1) + "*" + ue(e === 47 ? e : R());
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Gn(e) {
|
|
422
422
|
for (; !q(B()); )
|
|
423
423
|
R();
|
|
424
424
|
return K(e, N);
|
|
425
425
|
}
|
|
426
426
|
function Un(e) {
|
|
427
|
-
return
|
|
427
|
+
return dt(re("", null, null, null, [""], e = lt(e), 0, [0], e));
|
|
428
428
|
}
|
|
429
429
|
function re(e, t, o, r, i, s, l, a, d) {
|
|
430
|
-
for (var k = 0,
|
|
431
|
-
switch (
|
|
430
|
+
for (var k = 0, h = 0, u = l, c = 0, p = 0, b = 0, g = 1, x = 1, m = 1, T = 0, S = "", F = i, j = s, A = r, y = S; x; )
|
|
431
|
+
switch (b = T, T = R()) {
|
|
432
432
|
// (
|
|
433
433
|
case 40:
|
|
434
|
-
if (
|
|
435
|
-
be(
|
|
434
|
+
if (b != 108 && E(y, u - 1) == 58) {
|
|
435
|
+
be(y += v(ne(T), "&", "&\f"), "&\f") != -1 && (m = -1);
|
|
436
436
|
break;
|
|
437
437
|
}
|
|
438
438
|
// " ' [
|
|
439
439
|
case 34:
|
|
440
440
|
case 39:
|
|
441
441
|
case 91:
|
|
442
|
-
|
|
442
|
+
y += ne(T);
|
|
443
443
|
break;
|
|
444
444
|
// \t \n \r \s
|
|
445
445
|
case 9:
|
|
446
446
|
case 10:
|
|
447
447
|
case 13:
|
|
448
448
|
case 32:
|
|
449
|
-
|
|
449
|
+
y += $n(b);
|
|
450
450
|
break;
|
|
451
451
|
// \
|
|
452
452
|
case 92:
|
|
453
|
-
|
|
453
|
+
y += _n(te() - 1, 7);
|
|
454
454
|
continue;
|
|
455
455
|
// /
|
|
456
456
|
case 47:
|
|
457
457
|
switch (B()) {
|
|
458
458
|
case 42:
|
|
459
459
|
case 47:
|
|
460
|
-
Q(Zn(
|
|
460
|
+
Q(Zn(zn(R(), te()), t, o), d);
|
|
461
461
|
break;
|
|
462
462
|
default:
|
|
463
|
-
|
|
463
|
+
y += "/";
|
|
464
464
|
}
|
|
465
465
|
break;
|
|
466
466
|
// {
|
|
467
|
-
case 123 *
|
|
468
|
-
a[k++] = D(
|
|
467
|
+
case 123 * g:
|
|
468
|
+
a[k++] = D(y) * m;
|
|
469
469
|
// } ; \0
|
|
470
|
-
case 125 *
|
|
470
|
+
case 125 * g:
|
|
471
471
|
case 59:
|
|
472
472
|
case 0:
|
|
473
473
|
switch (T) {
|
|
474
474
|
// \0 }
|
|
475
475
|
case 0:
|
|
476
476
|
case 125:
|
|
477
|
-
|
|
477
|
+
x = 0;
|
|
478
478
|
// ;
|
|
479
|
-
case 59 +
|
|
480
|
-
m == -1 && (
|
|
479
|
+
case 59 + h:
|
|
480
|
+
m == -1 && (y = v(y, /\f/g, "")), p > 0 && D(y) - u && Q(p > 32 ? Be(y + ";", r, o, u - 1) : Be(v(y, " ", "") + ";", r, o, u - 2), d);
|
|
481
481
|
break;
|
|
482
482
|
// @ ;
|
|
483
483
|
case 59:
|
|
484
|
-
|
|
484
|
+
y += ";";
|
|
485
485
|
// { rule/at-rule
|
|
486
486
|
default:
|
|
487
|
-
if (Q(A =
|
|
488
|
-
if (
|
|
489
|
-
re(
|
|
487
|
+
if (Q(A = De(y, t, o, k, h, i, a, S, F = [], j = [], u), s), T === 123)
|
|
488
|
+
if (h === 0)
|
|
489
|
+
re(y, t, A, A, F, s, u, a, j);
|
|
490
490
|
else
|
|
491
|
-
switch (c === 99 && E(
|
|
491
|
+
switch (c === 99 && E(y, 3) === 110 ? 100 : c) {
|
|
492
492
|
// d l m s
|
|
493
493
|
case 100:
|
|
494
494
|
case 108:
|
|
495
495
|
case 109:
|
|
496
496
|
case 115:
|
|
497
|
-
re(e, A, A, r && Q(
|
|
497
|
+
re(e, A, A, r && Q(De(e, A, A, 0, 0, i, a, S, i, F = [], u), j), i, j, u, a, r ? F : j);
|
|
498
498
|
break;
|
|
499
499
|
default:
|
|
500
|
-
re(
|
|
500
|
+
re(y, A, A, A, [""], j, 0, a, j);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
k =
|
|
503
|
+
k = h = p = 0, g = m = 1, S = y = "", u = l;
|
|
504
504
|
break;
|
|
505
505
|
// :
|
|
506
506
|
case 58:
|
|
507
|
-
|
|
507
|
+
u = 1 + D(y), p = b;
|
|
508
508
|
default:
|
|
509
|
-
if (
|
|
509
|
+
if (g < 1) {
|
|
510
510
|
if (T == 123)
|
|
511
|
-
--
|
|
512
|
-
else if (T == 125 &&
|
|
511
|
+
--g;
|
|
512
|
+
else if (T == 125 && g++ == 0 && Hn() == 125)
|
|
513
513
|
continue;
|
|
514
514
|
}
|
|
515
|
-
switch (
|
|
515
|
+
switch (y += ue(T), T * g) {
|
|
516
516
|
// &
|
|
517
517
|
case 38:
|
|
518
|
-
m =
|
|
518
|
+
m = h > 0 ? 1 : (y += "\f", -1);
|
|
519
519
|
break;
|
|
520
520
|
// ,
|
|
521
521
|
case 44:
|
|
522
|
-
a[k++] = (D(
|
|
522
|
+
a[k++] = (D(y) - 1) * m, m = 1;
|
|
523
523
|
break;
|
|
524
524
|
// @
|
|
525
525
|
case 64:
|
|
526
|
-
B() === 45 && (
|
|
526
|
+
B() === 45 && (y += ne(R())), c = B(), h = u = D(S = y += Gn(te())), T++;
|
|
527
527
|
break;
|
|
528
528
|
// -
|
|
529
529
|
case 45:
|
|
530
|
-
|
|
530
|
+
b === 45 && D(y) == 2 && (g = 0);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
return s;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
536
|
-
for (var
|
|
537
|
-
for (var m = 0, T = X(e,
|
|
538
|
-
(S =
|
|
539
|
-
return ge(e, t, o, i === 0 ?
|
|
535
|
+
function De(e, t, o, r, i, s, l, a, d, k, h) {
|
|
536
|
+
for (var u = i - 1, c = i === 0 ? s : [""], p = Te(c), b = 0, g = 0, x = 0; b < r; ++b)
|
|
537
|
+
for (var m = 0, T = X(e, u + 1, u = Bn(g = l[b])), S = e; m < p; ++m)
|
|
538
|
+
(S = at(g > 0 ? c[m] + " " + T : v(T, /&\f/g, c[m]))) && (d[x++] = S);
|
|
539
|
+
return ge(e, t, o, i === 0 ? xe : a, d, k, h);
|
|
540
540
|
}
|
|
541
541
|
function Zn(e, t, o) {
|
|
542
|
-
return ge(e, t, o,
|
|
542
|
+
return ge(e, t, o, st, ue(On()), X(e, 2, -2), 0);
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return ge(e, t, o,
|
|
544
|
+
function Be(e, t, o, r) {
|
|
545
|
+
return ge(e, t, o, ye, X(e, 0, r), X(e, r + 1, -1), r);
|
|
546
546
|
}
|
|
547
|
-
function
|
|
548
|
-
for (var o = "", r =
|
|
547
|
+
function z(e, t) {
|
|
548
|
+
for (var o = "", r = Te(e), i = 0; i < r; i++)
|
|
549
549
|
o += t(e[i], i, e, t) || "";
|
|
550
550
|
return o;
|
|
551
551
|
}
|
|
@@ -554,19 +554,19 @@ function Yn(e, t, o, r) {
|
|
|
554
554
|
case Dn:
|
|
555
555
|
if (e.children.length) break;
|
|
556
556
|
case An:
|
|
557
|
-
case
|
|
557
|
+
case ye:
|
|
558
558
|
return e.return = e.return || e.value;
|
|
559
|
-
case
|
|
559
|
+
case st:
|
|
560
560
|
return "";
|
|
561
|
-
case
|
|
562
|
-
return e.return = e.value + "{" +
|
|
563
|
-
case
|
|
561
|
+
case it:
|
|
562
|
+
return e.return = e.value + "{" + z(e.children, r) + "}";
|
|
563
|
+
case xe:
|
|
564
564
|
e.value = e.props.join(",");
|
|
565
565
|
}
|
|
566
|
-
return D(o =
|
|
566
|
+
return D(o = z(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
|
|
567
567
|
}
|
|
568
568
|
function Xn(e) {
|
|
569
|
-
var t =
|
|
569
|
+
var t = Te(e);
|
|
570
570
|
return function(o, r, i, s) {
|
|
571
571
|
for (var l = "", a = 0; a < t; a++)
|
|
572
572
|
l += e[a](o, r, i, s) || "";
|
|
@@ -604,18 +604,18 @@ var Jn = function(t, o, r) {
|
|
|
604
604
|
while (i = R());
|
|
605
605
|
return t;
|
|
606
606
|
}, Qn = function(t, o) {
|
|
607
|
-
return
|
|
608
|
-
},
|
|
607
|
+
return dt(Kn(lt(t), o));
|
|
608
|
+
}, Pe = /* @__PURE__ */ new WeakMap(), er = function(t) {
|
|
609
609
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
610
610
|
// negative .length indicates that this rule has been already prefixed
|
|
611
611
|
t.length < 1)) {
|
|
612
612
|
for (var o = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
|
|
613
613
|
if (r = r.parent, !r) return;
|
|
614
|
-
if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !
|
|
615
|
-
|
|
614
|
+
if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !Pe.get(r)) && !i) {
|
|
615
|
+
Pe.set(t, !0);
|
|
616
616
|
for (var s = [], l = Qn(o, s), a = r.props, d = 0, k = 0; d < l.length; d++)
|
|
617
|
-
for (var
|
|
618
|
-
t.props[k] = s[d] ? l[d].replace(/&\f/g, a[
|
|
617
|
+
for (var h = 0; h < a.length; h++, k++)
|
|
618
|
+
t.props[k] = s[d] ? l[d].replace(/&\f/g, a[h]) : a[h] + " " + l[d];
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}, tr = function(t) {
|
|
@@ -626,7 +626,7 @@ var Jn = function(t, o, r) {
|
|
|
626
626
|
o.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
627
627
|
}
|
|
628
628
|
};
|
|
629
|
-
function
|
|
629
|
+
function ht(e, t) {
|
|
630
630
|
switch (jn(e, t)) {
|
|
631
631
|
// color-adjust
|
|
632
632
|
case 5103:
|
|
@@ -734,7 +734,7 @@ function ut(e, t) {
|
|
|
734
734
|
return v(e, /(.+:)(.+)-([^]+)/, "$1" + C + "$2-$3$1" + ae + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
735
735
|
// (s)tretch
|
|
736
736
|
case 115:
|
|
737
|
-
return ~be(e, "stretch") ?
|
|
737
|
+
return ~be(e, "stretch") ? ht(v(e, "stretch", "fill-available"), t) + e : e;
|
|
738
738
|
}
|
|
739
739
|
break;
|
|
740
740
|
// position: sticky
|
|
@@ -770,25 +770,25 @@ function ut(e, t) {
|
|
|
770
770
|
}
|
|
771
771
|
var nr = function(t, o, r, i) {
|
|
772
772
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
773
|
-
case
|
|
774
|
-
t.return =
|
|
773
|
+
case ye:
|
|
774
|
+
t.return = ht(t.value, t.length);
|
|
775
775
|
break;
|
|
776
|
-
case
|
|
777
|
-
return
|
|
776
|
+
case it:
|
|
777
|
+
return z([Y(t, {
|
|
778
778
|
value: v(t.value, "@", "@" + C)
|
|
779
779
|
})], i);
|
|
780
|
-
case
|
|
780
|
+
case xe:
|
|
781
781
|
if (t.length) return Fn(t.props, function(s) {
|
|
782
782
|
switch (Vn(s, /(::plac\w+|:read-\w+)/)) {
|
|
783
783
|
// :read-(only|write)
|
|
784
784
|
case ":read-only":
|
|
785
785
|
case ":read-write":
|
|
786
|
-
return
|
|
786
|
+
return z([Y(t, {
|
|
787
787
|
props: [v(s, /:(read-\w+)/, ":" + ae + "$1")]
|
|
788
788
|
})], i);
|
|
789
789
|
// :placeholder
|
|
790
790
|
case "::placeholder":
|
|
791
|
-
return
|
|
791
|
+
return z([Y(t, {
|
|
792
792
|
props: [v(s, /:(plac\w+)/, ":" + C + "input-$1")]
|
|
793
793
|
}), Y(t, {
|
|
794
794
|
props: [v(s, /:(plac\w+)/, ":" + ae + "$1")]
|
|
@@ -803,9 +803,9 @@ var nr = function(t, o, r, i) {
|
|
|
803
803
|
var o = t.key;
|
|
804
804
|
if (o === "css") {
|
|
805
805
|
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
806
|
-
Array.prototype.forEach.call(r, function(
|
|
807
|
-
var
|
|
808
|
-
|
|
806
|
+
Array.prototype.forEach.call(r, function(g) {
|
|
807
|
+
var x = g.getAttribute("data-emotion");
|
|
808
|
+
x.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
|
|
809
809
|
});
|
|
810
810
|
}
|
|
811
811
|
var i = t.stylisPlugins || rr, s = {}, l, a = [];
|
|
@@ -813,24 +813,24 @@ var nr = function(t, o, r, i) {
|
|
|
813
813
|
// this means we will ignore elements which don't have a space in them which
|
|
814
814
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
815
815
|
document.querySelectorAll('style[data-emotion^="' + o + ' "]'),
|
|
816
|
-
function(
|
|
817
|
-
for (var
|
|
818
|
-
s[
|
|
819
|
-
a.push(
|
|
816
|
+
function(g) {
|
|
817
|
+
for (var x = g.getAttribute("data-emotion").split(" "), m = 1; m < x.length; m++)
|
|
818
|
+
s[x[m]] = !0;
|
|
819
|
+
a.push(g);
|
|
820
820
|
}
|
|
821
821
|
);
|
|
822
822
|
var d, k = [er, tr];
|
|
823
823
|
{
|
|
824
|
-
var
|
|
825
|
-
|
|
826
|
-
})], c = Xn(k.concat(i,
|
|
827
|
-
return
|
|
824
|
+
var h, u = [Yn, qn(function(g) {
|
|
825
|
+
h.insert(g);
|
|
826
|
+
})], c = Xn(k.concat(i, u)), p = function(x) {
|
|
827
|
+
return z(Un(x), c);
|
|
828
828
|
};
|
|
829
|
-
d = function(
|
|
830
|
-
|
|
829
|
+
d = function(x, m, T, S) {
|
|
830
|
+
h = T, p(x ? x + "{" + m.styles + "}" : m.styles), S && (b.inserted[m.name] = !0);
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var b = {
|
|
834
834
|
key: o,
|
|
835
835
|
sheet: new Rn({
|
|
836
836
|
key: o,
|
|
@@ -845,39 +845,39 @@ var nr = function(t, o, r, i) {
|
|
|
845
845
|
registered: {},
|
|
846
846
|
insert: d
|
|
847
847
|
};
|
|
848
|
-
return
|
|
848
|
+
return b.sheet.hydrate(a), b;
|
|
849
849
|
};
|
|
850
|
-
const
|
|
851
|
-
const r =
|
|
850
|
+
const ut = ({ children: e, viewport: t, containerProps: o }) => {
|
|
851
|
+
const r = G(null), { theme: i } = $(), [s, l] = P({
|
|
852
852
|
width: 0,
|
|
853
853
|
height: 0
|
|
854
854
|
});
|
|
855
855
|
V(() => {
|
|
856
|
-
const
|
|
857
|
-
const m =
|
|
856
|
+
const b = cn((x) => {
|
|
857
|
+
const m = x.at(0)?.target;
|
|
858
858
|
if (!m) return;
|
|
859
859
|
const { width: T, height: S } = m.getBoundingClientRect();
|
|
860
860
|
l(() => ({
|
|
861
861
|
width: T,
|
|
862
862
|
height: S
|
|
863
863
|
}));
|
|
864
|
-
}, 200),
|
|
865
|
-
return r.current &&
|
|
864
|
+
}, 200), g = new ResizeObserver(b);
|
|
865
|
+
return r.current && g.observe(r.current), () => g.disconnect();
|
|
866
866
|
}, []);
|
|
867
|
-
const a =
|
|
867
|
+
const a = Ne(t?.width) ? t.width(s.width) : t?.width, d = Ne(t?.height) ? t.height(s.height) : t?.height, k = se(a) ? s.width / a : 1, h = se(d) ? s.height / d : 1, u = Math.min(k, h, 1), c = (d ?? s.height / u) || 0, p = (a ?? s.width / u) || 0;
|
|
868
868
|
return /* @__PURE__ */ n("div", { ...o, css: { padding: 8, width: "100%", height: "100%", backgroundColor: fe.ink["1s"] }, children: /* @__PURE__ */ n("div", { css: { position: "relative", overflow: "hidden", width: "100%", height: "100%" }, ref: r, children: /* @__PURE__ */ n(
|
|
869
869
|
"div",
|
|
870
870
|
{
|
|
871
871
|
style: {
|
|
872
|
-
transform: `scale(${
|
|
873
|
-
width:
|
|
872
|
+
transform: `scale(${u})`,
|
|
873
|
+
width: p,
|
|
874
874
|
height: c,
|
|
875
|
-
marginLeft: (s.width -
|
|
875
|
+
marginLeft: (s.width - p) / 2,
|
|
876
876
|
marginTop: (s.height - c) / 2
|
|
877
877
|
},
|
|
878
878
|
css: { position: "absolute" },
|
|
879
879
|
children: /* @__PURE__ */ n(
|
|
880
|
-
|
|
880
|
+
Tn,
|
|
881
881
|
{
|
|
882
882
|
sandbox: "allow-same-origin allow-scripts allow-popups allow-presentation",
|
|
883
883
|
allow: "autoplay; encrypted-media",
|
|
@@ -889,11 +889,11 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
|
|
|
889
889
|
}
|
|
890
890
|
) }) });
|
|
891
891
|
}, sr = ({ children: e, theme: t }) => {
|
|
892
|
-
const { document: o, window: r } =
|
|
892
|
+
const { document: o, window: r } = ve(), [i, s] = P(!1), l = G(window.customElements.define.bind(window.customElements));
|
|
893
893
|
V(() => {
|
|
894
894
|
const d = l.current;
|
|
895
|
-
return r && (window.customElements.define = function(k,
|
|
896
|
-
window.customElements.get(k) || r.customElements.define(k,
|
|
895
|
+
return r && (window.customElements.define = function(k, h, u) {
|
|
896
|
+
window.customElements.get(k) || r.customElements.define(k, h, u), d(k, h, u);
|
|
897
897
|
}), o?.head.replaceWith(document.head.cloneNode(!0)), s(!0), () => {
|
|
898
898
|
window.customElements.define = d;
|
|
899
899
|
};
|
|
@@ -902,9 +902,9 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
|
|
|
902
902
|
key: "css",
|
|
903
903
|
container: o?.head
|
|
904
904
|
});
|
|
905
|
-
return i ? /* @__PURE__ */ n(
|
|
905
|
+
return i ? /* @__PURE__ */ n(Oe, { children: /* @__PURE__ */ w(wn, { value: a, children: [
|
|
906
906
|
/* @__PURE__ */ n(
|
|
907
|
-
|
|
907
|
+
kn,
|
|
908
908
|
{
|
|
909
909
|
styles: {
|
|
910
910
|
".frame-content": {
|
|
@@ -913,19 +913,19 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
|
|
|
913
913
|
minHeight: "100vh",
|
|
914
914
|
justifyContent: "center"
|
|
915
915
|
},
|
|
916
|
-
[`& *[${
|
|
916
|
+
[`& *[${Ie.DATA_NODE_DROP_TARGET}=${Me.True}]`]: {
|
|
917
917
|
outlineWidth: 1,
|
|
918
918
|
outlineStyle: "solid",
|
|
919
919
|
outlineOffset: -1,
|
|
920
920
|
outlineColor: "green"
|
|
921
921
|
},
|
|
922
|
-
[`& *[${
|
|
922
|
+
[`& *[${Ie.DATA_NODE_DROP_TARGET_ERROR}=${Me.True}]`]: {
|
|
923
923
|
outlineColor: "red"
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
),
|
|
928
|
-
/* @__PURE__ */ n(
|
|
928
|
+
/* @__PURE__ */ n(fn, { root: o?.body, theme: t, children: e })
|
|
929
929
|
] }) }) : null;
|
|
930
930
|
};
|
|
931
931
|
var O = /* @__PURE__ */ ((e) => (e[e.Pixels = 0] = "Pixels", e[e.Unitless = 1] = "Unitless", e))(O || {});
|
|
@@ -941,29 +941,29 @@ const ir = [
|
|
|
941
941
|
/* Unitless */
|
|
942
942
|
}
|
|
943
943
|
], mo = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
|
|
944
|
-
const i = se(o?.lineHeight) ? O.Unitless : O.Pixels, s = i === O.Unitless ? 0.1 : 1, l =
|
|
945
|
-
if (ee(
|
|
944
|
+
const i = se(o?.lineHeight) ? O.Unitless : O.Pixels, s = i === O.Unitless ? 0.1 : 1, l = kt(o?.lineHeight, "float"), a = ({ unit: c, value: p }) => {
|
|
945
|
+
if (ee(p)) {
|
|
946
946
|
r?.({
|
|
947
|
-
lineHeight: c === O.Unitless ? 1 :
|
|
947
|
+
lineHeight: c === O.Unitless ? 1 : p
|
|
948
948
|
});
|
|
949
949
|
return;
|
|
950
950
|
}
|
|
951
951
|
r?.({
|
|
952
|
-
lineHeight: c === O.Unitless ? Number(
|
|
952
|
+
lineHeight: c === O.Unitless ? Number(p.toFixed(1)) : `${p}px`
|
|
953
953
|
});
|
|
954
954
|
}, d = (c) => {
|
|
955
955
|
a({ unit: Number(c.target.value) });
|
|
956
956
|
}, k = (c) => {
|
|
957
|
-
const
|
|
958
|
-
a({ unit: i, value:
|
|
959
|
-
},
|
|
957
|
+
const p = isNaN(c.target.valueAsNumber) ? void 0 : c.target.valueAsNumber;
|
|
958
|
+
a({ unit: i, value: p });
|
|
959
|
+
}, h = (c) => {
|
|
960
960
|
c.stopPropagation(), !ee(l) && a({ unit: i, value: Math.max(l + s, 0) });
|
|
961
|
-
},
|
|
961
|
+
}, u = (c) => {
|
|
962
962
|
c.stopPropagation(), !ee(l) && a({ unit: i, value: Math.max(l - s, 0) });
|
|
963
963
|
};
|
|
964
964
|
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
965
965
|
/* @__PURE__ */ n(J, { responsive: t, name: e ?? "Line height", children: /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 4 }, children: ir.map((c) => /* @__PURE__ */ n(
|
|
966
|
-
|
|
966
|
+
He,
|
|
967
967
|
{
|
|
968
968
|
onChange: d,
|
|
969
969
|
checked: c.value === i,
|
|
@@ -974,21 +974,21 @@ const ir = [
|
|
|
974
974
|
c.value
|
|
975
975
|
)) }) }),
|
|
976
976
|
/* @__PURE__ */ n("div", { css: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
|
|
977
|
-
|
|
977
|
+
mt,
|
|
978
978
|
{
|
|
979
979
|
fractionDigits: 1,
|
|
980
980
|
type: i === O.Unitless ? "decimal" : "integer",
|
|
981
981
|
value: l ?? "",
|
|
982
982
|
onChange: k,
|
|
983
|
-
prefix: /* @__PURE__ */ n(W, { disabled: se(l) && l <= 0, onClick:
|
|
984
|
-
suffix: /* @__PURE__ */ n(W, { onClick:
|
|
983
|
+
prefix: /* @__PURE__ */ n(W, { disabled: se(l) && l <= 0, onClick: u, children: /* @__PURE__ */ n(I, { source: Ct }) }),
|
|
984
|
+
suffix: /* @__PURE__ */ n(W, { onClick: h, children: /* @__PURE__ */ n(I, { source: $e }) }),
|
|
985
985
|
mode: "onBlur",
|
|
986
986
|
css: { textAlign: "center" },
|
|
987
987
|
placeholder: "normal"
|
|
988
988
|
}
|
|
989
989
|
) }) })
|
|
990
990
|
] });
|
|
991
|
-
},
|
|
991
|
+
}, je = [
|
|
992
992
|
{
|
|
993
993
|
label: "Block",
|
|
994
994
|
value: "block"
|
|
@@ -1024,11 +1024,11 @@ const ir = [
|
|
|
1024
1024
|
onChange: r,
|
|
1025
1025
|
value: i
|
|
1026
1026
|
}) => {
|
|
1027
|
-
const s = ee(o) ?
|
|
1027
|
+
const s = ee(o) ? je : je.filter((a) => o.includes(a.value)), l = (a) => {
|
|
1028
1028
|
r?.({ display: a });
|
|
1029
1029
|
};
|
|
1030
1030
|
return /* @__PURE__ */ n(J, { name: e ?? "Display", responsive: t, children: /* @__PURE__ */ n(
|
|
1031
|
-
|
|
1031
|
+
vt,
|
|
1032
1032
|
{
|
|
1033
1033
|
css: {
|
|
1034
1034
|
width: "50%"
|
|
@@ -1064,12 +1064,12 @@ const ir = [
|
|
|
1064
1064
|
flexShrink: 1
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
|
-
], l = s.find((d) =>
|
|
1068
|
-
const k = s.find((
|
|
1067
|
+
], l = s.find((d) => ln(d.rawValue, i))?.value, a = (d) => {
|
|
1068
|
+
const k = s.find((h) => h.value === Number(d.target.value));
|
|
1069
1069
|
k && t?.(k.rawValue);
|
|
1070
1070
|
};
|
|
1071
1071
|
return /* @__PURE__ */ n(J, { name: o ?? "Content", responsive: r, children: /* @__PURE__ */ n("div", { css: { display: "inline-flex", alignItems: "center", gap: 8 }, children: s.map((d) => /* @__PURE__ */ n(
|
|
1072
|
-
|
|
1072
|
+
He,
|
|
1073
1073
|
{
|
|
1074
1074
|
checked: d.value === l,
|
|
1075
1075
|
value: d.value,
|
|
@@ -1079,13 +1079,13 @@ const ir = [
|
|
|
1079
1079
|
d.value
|
|
1080
1080
|
)) }) });
|
|
1081
1081
|
}, xo = ({ name: e, value: t, onChange: o, responsive: r = !0 }) => {
|
|
1082
|
-
const i =
|
|
1082
|
+
const i = G(null), s = (l) => {
|
|
1083
1083
|
o?.({
|
|
1084
1084
|
minWidth: l
|
|
1085
1085
|
});
|
|
1086
1086
|
};
|
|
1087
1087
|
return /* @__PURE__ */ n(J, { name: e ?? "Min width", responsive: r, children: /* @__PURE__ */ n("div", { css: { position: "relative", width: "50%" }, children: /* @__PURE__ */ n(
|
|
1088
|
-
|
|
1088
|
+
xt,
|
|
1089
1089
|
{
|
|
1090
1090
|
fullWidth: !0,
|
|
1091
1091
|
wrapRef: i,
|
|
@@ -1109,8 +1109,8 @@ const ir = [
|
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
};
|
|
1112
|
-
return /* @__PURE__ */ n(J, { name: "Text style", children: /* @__PURE__ */ w(
|
|
1113
|
-
/* @__PURE__ */ n(
|
|
1112
|
+
return /* @__PURE__ */ n(J, { name: "Text style", children: /* @__PURE__ */ w(yt, { open: o, onOpenChange: r, placement: "right", children: [
|
|
1113
|
+
/* @__PURE__ */ n(Tt, { children: /* @__PURE__ */ w(
|
|
1114
1114
|
"button",
|
|
1115
1115
|
{
|
|
1116
1116
|
css: [
|
|
@@ -1123,31 +1123,31 @@ const ir = [
|
|
|
1123
1123
|
textAlign: "left",
|
|
1124
1124
|
width: "50%",
|
|
1125
1125
|
height: 32,
|
|
1126
|
-
backgroundColor:
|
|
1126
|
+
backgroundColor: f.palette.white["1s"],
|
|
1127
1127
|
overflow: "hidden",
|
|
1128
1128
|
textOverflow: "ellipsis",
|
|
1129
1129
|
whiteSpace: "nowrap",
|
|
1130
|
-
...
|
|
1130
|
+
...f.text.xs
|
|
1131
1131
|
},
|
|
1132
|
-
o && { backgroundColor:
|
|
1132
|
+
o && { backgroundColor: f.palette.black["7s"] }
|
|
1133
1133
|
],
|
|
1134
1134
|
children: [
|
|
1135
|
-
/* @__PURE__ */ n(I, { css: { color: "white" }, source:
|
|
1135
|
+
/* @__PURE__ */ n(I, { css: { color: "white" }, source: It }),
|
|
1136
1136
|
/* @__PURE__ */ n("span", { children: "Auto" })
|
|
1137
1137
|
]
|
|
1138
1138
|
}
|
|
1139
1139
|
) }),
|
|
1140
|
-
/* @__PURE__ */ n(
|
|
1140
|
+
/* @__PURE__ */ n(Mt, { children: /* @__PURE__ */ w("div", { style: { width: 280 }, children: [
|
|
1141
1141
|
/* @__PURE__ */ w("div", { css: { display: "flex", justifyContent: "space-between", alignItems: "center", gap: 8 }, children: [
|
|
1142
1142
|
/* @__PURE__ */ n("div", { css: { fontWeight: 500 }, children: "Text style" }),
|
|
1143
|
-
/* @__PURE__ */ n(
|
|
1143
|
+
/* @__PURE__ */ n(St, { children: /* @__PURE__ */ n(W, { children: /* @__PURE__ */ n(I, { source: _e }) }) })
|
|
1144
1144
|
] }),
|
|
1145
|
-
/* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor:
|
|
1145
|
+
/* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor: f.palette.white["1s"] } }),
|
|
1146
1146
|
/* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: [
|
|
1147
|
-
/* @__PURE__ */ n(
|
|
1148
|
-
/* @__PURE__ */ n(
|
|
1147
|
+
/* @__PURE__ */ n(Et, { value: e?.sizeVariant, onChange: i }),
|
|
1148
|
+
/* @__PURE__ */ n(Lt, { value: { color: e?.css?.color }, onChange: s }),
|
|
1149
1149
|
/* @__PURE__ */ n(
|
|
1150
|
-
|
|
1150
|
+
Wt,
|
|
1151
1151
|
{
|
|
1152
1152
|
name: "Style",
|
|
1153
1153
|
value: {
|
|
@@ -1158,9 +1158,9 @@ const ir = [
|
|
|
1158
1158
|
onChange: s
|
|
1159
1159
|
}
|
|
1160
1160
|
),
|
|
1161
|
-
/* @__PURE__ */ n(
|
|
1161
|
+
/* @__PURE__ */ n(Nt, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
|
|
1162
1162
|
/* @__PURE__ */ n(
|
|
1163
|
-
|
|
1163
|
+
Rt,
|
|
1164
1164
|
{
|
|
1165
1165
|
value: {
|
|
1166
1166
|
textTransform: e?.css?.textTransform
|
|
@@ -1171,7 +1171,7 @@ const ir = [
|
|
|
1171
1171
|
] })
|
|
1172
1172
|
] }) })
|
|
1173
1173
|
] }) });
|
|
1174
|
-
},
|
|
1174
|
+
}, Ve = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1175
1175
|
<path d="M8 5L5 8L8 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1176
1176
|
<path d="M5 8H14C17.314 8 20 10.462 20 13.5V13.5C20 16.538 17.314 19 14 19H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1177
1177
|
</svg>
|
|
@@ -1187,22 +1187,27 @@ const ir = [
|
|
|
1187
1187
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.11799 12.467C2.96099 12.176 2.96099 11.823 3.11799 11.532C5.00999 8.033 8.50499 5 12 5C15.495 5 18.99 8.033 20.882 11.533C21.039 11.824 21.039 12.177 20.882 12.468C18.99 15.967 15.495 19 12 19C8.50499 19 5.00999 15.967 3.11799 12.467Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1188
1188
|
<path d="M14.1213 9.87868C15.2929 11.0502 15.2929 12.9497 14.1213 14.1213C12.9497 15.2929 11.0502 15.2929 9.87866 14.1213C8.70709 12.9497 8.70709 11.0502 9.87866 9.87868C11.0502 8.70711 12.9497 8.70711 14.1213 9.87868" stroke="currentColor" stroke-width="1.4286" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1189
1189
|
</svg>
|
|
1190
|
-
`, lr = '<svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class=""><path d="M9.75 3C8.50736 3 7.5 4.00736 7.5 5.25C7.5 5.66421 7.83579 6 8.25 6C8.66421 6 9 5.66421 9 5.25C9 4.83579 9.33579 4.5 9.75 4.5H13.75C14.1642 4.5 14.5 4.83579 14.5 5.25V14.75C14.5 15.1642 14.1642 15.5 13.75 15.5H9.75C9.33579 15.5 9 15.1642 9 14.75C9 14.3358 8.66421 14 8.25 14C7.83579 14 7.5 14.3358 7.5 14.75C7.5 15.9926 8.50736 17 9.75 17H13.75C14.9926 17 16 15.9926 16 14.75V5.25C16 4.00736 14.9926 3 13.75 3H9.75Z" fill="currentColor"></path><path d="M12.25 10.75C12.6642 10.75 13 10.4142 13 10C13 9.58579 12.6642 9.25 12.25 9.25L6.56066 9.25L7.53033 8.28033C7.82322 7.98744 7.82322 7.51256 7.53033 7.21967C7.23744 6.92678 6.76256 6.92678 6.46967 7.21967L4.21967 9.46967C4.07902 9.61032 4 9.80109 4 10C4 10.1989 4.07902 10.3897 4.21967 10.5303L6.46967 12.7803C6.76256 13.0732 7.23744 13.0732 7.53033 12.7803C7.82322 12.4874 7.82322 12.0126 7.53033 11.7197L6.56066 10.75H12.25Z" fill="currentColor"></path></svg>', dr = () => {
|
|
1191
|
-
const { mode:
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1190
|
+
`, lr = '<svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class=""><path d="M9.75 3C8.50736 3 7.5 4.00736 7.5 5.25C7.5 5.66421 7.83579 6 8.25 6C8.66421 6 9 5.66421 9 5.25C9 4.83579 9.33579 4.5 9.75 4.5H13.75C14.1642 4.5 14.5 4.83579 14.5 5.25V14.75C14.5 15.1642 14.1642 15.5 13.75 15.5H9.75C9.33579 15.5 9 15.1642 9 14.75C9 14.3358 8.66421 14 8.25 14C7.83579 14 7.5 14.3358 7.5 14.75C7.5 15.9926 8.50736 17 9.75 17H13.75C14.9926 17 16 15.9926 16 14.75V5.25C16 4.00736 14.9926 3 13.75 3H9.75Z" fill="currentColor"></path><path d="M12.25 10.75C12.6642 10.75 13 10.4142 13 10C13 9.58579 12.6642 9.25 12.25 9.25L6.56066 9.25L7.53033 8.28033C7.82322 7.98744 7.82322 7.51256 7.53033 7.21967C7.23744 6.92678 6.76256 6.92678 6.46967 7.21967L4.21967 9.46967C4.07902 9.61032 4 9.80109 4 10C4 10.1989 4.07902 10.3897 4.21967 10.5303L6.46967 12.7803C6.76256 13.0732 7.23744 13.0732 7.53033 12.7803C7.82322 12.4874 7.82322 12.0126 7.53033 11.7197L6.56066 10.75H12.25Z" fill="currentColor"></path></svg>', dr = ({ actions: e }) => {
|
|
1191
|
+
const { mode: t, screen: o, setState: r, handlers: i } = $(), [s, l] = P(!1), {
|
|
1192
|
+
actions: { history: a, selectNode: d },
|
|
1193
|
+
canRedo: k,
|
|
1194
|
+
canUndo: h,
|
|
1195
|
+
query: u
|
|
1196
|
+
} = H((x, m) => ({
|
|
1197
|
+
enabled: x.options.enabled,
|
|
1198
|
+
canUndo: m.history.canUndo(),
|
|
1199
|
+
canRedo: m.history.canRedo()
|
|
1200
|
+
})), c = (x) => {
|
|
1201
|
+
r({ screen: x });
|
|
1197
1202
|
}, p = () => {
|
|
1198
|
-
|
|
1199
|
-
},
|
|
1200
|
-
|
|
1203
|
+
r({ mode: t === "full" ? "compact" : "full" });
|
|
1204
|
+
}, b = () => {
|
|
1205
|
+
i.close();
|
|
1201
1206
|
}, g = async () => {
|
|
1202
1207
|
try {
|
|
1203
|
-
|
|
1208
|
+
l(!0), d(), await i.submit(u.getSerializedNodes());
|
|
1204
1209
|
} finally {
|
|
1205
|
-
|
|
1210
|
+
l(!1);
|
|
1206
1211
|
}
|
|
1207
1212
|
};
|
|
1208
1213
|
return /* @__PURE__ */ w(
|
|
@@ -1214,14 +1219,14 @@ const ir = [
|
|
|
1214
1219
|
alignItems: "center",
|
|
1215
1220
|
gap: 16,
|
|
1216
1221
|
justifyContent: "space-between",
|
|
1217
|
-
backgroundColor:
|
|
1218
|
-
color:
|
|
1219
|
-
...
|
|
1222
|
+
backgroundColor: f.palette.ink["6s"],
|
|
1223
|
+
color: f.palette.white["6s"],
|
|
1224
|
+
...f.text.sm
|
|
1220
1225
|
},
|
|
1221
1226
|
children: [
|
|
1222
1227
|
/* @__PURE__ */ w("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: [
|
|
1223
|
-
/* @__PURE__ */ n(W, { size: "32", onClick:
|
|
1224
|
-
/* @__PURE__ */ n(
|
|
1228
|
+
/* @__PURE__ */ n(W, { size: "32", onClick: b, children: /* @__PURE__ */ n(I, { source: lr }) }),
|
|
1229
|
+
/* @__PURE__ */ n(At, { onSelectionChange: c, value: o, children: Dt.map(({ icon: x, size: m, name: T }) => /* @__PURE__ */ n(W, { tooltip: { content: T }, value: m, children: /* @__PURE__ */ n(I, { source: x }) }, m)) }),
|
|
1225
1230
|
/* @__PURE__ */ w(
|
|
1226
1231
|
"div",
|
|
1227
1232
|
{
|
|
@@ -1231,11 +1236,11 @@ const ir = [
|
|
|
1231
1236
|
alignItems: "center",
|
|
1232
1237
|
gap: 8,
|
|
1233
1238
|
borderRadius: 8,
|
|
1234
|
-
backgroundColor:
|
|
1239
|
+
backgroundColor: f.palette.white["1s"]
|
|
1235
1240
|
},
|
|
1236
1241
|
children: [
|
|
1237
|
-
/* @__PURE__ */ n(W, { onClick:
|
|
1238
|
-
/* @__PURE__ */ n(W, { onClick:
|
|
1242
|
+
/* @__PURE__ */ n(W, { onClick: a.undo, disabled: !h, children: /* @__PURE__ */ n(I, { source: Ve }) }),
|
|
1243
|
+
/* @__PURE__ */ n(W, { onClick: a.redo, disabled: !k, children: /* @__PURE__ */ n(I, { source: Ve, css: { transform: "rotate(180deg)" } }) })
|
|
1239
1244
|
]
|
|
1240
1245
|
}
|
|
1241
1246
|
),
|
|
@@ -1248,13 +1253,14 @@ const ir = [
|
|
|
1248
1253
|
alignItems: "center",
|
|
1249
1254
|
gap: 8,
|
|
1250
1255
|
borderRadius: 8,
|
|
1251
|
-
backgroundColor:
|
|
1256
|
+
backgroundColor: f.palette.white["1s"]
|
|
1252
1257
|
},
|
|
1253
|
-
children: /* @__PURE__ */ n(W, { onClick: p, children: /* @__PURE__ */ n(I, { source:
|
|
1258
|
+
children: /* @__PURE__ */ n(W, { onClick: p, children: /* @__PURE__ */ n(I, { source: t === "full" ? cr : ar }) })
|
|
1254
1259
|
}
|
|
1255
|
-
)
|
|
1260
|
+
),
|
|
1261
|
+
e
|
|
1256
1262
|
] }),
|
|
1257
|
-
/* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(oe, { isLoading:
|
|
1263
|
+
/* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(oe, { isLoading: s, onClick: g, children: "Save" }) })
|
|
1258
1264
|
]
|
|
1259
1265
|
}
|
|
1260
1266
|
);
|
|
@@ -1276,7 +1282,7 @@ const ir = [
|
|
|
1276
1282
|
<path d="M3 12H21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1277
1283
|
<path d="M12 21V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1278
1284
|
</svg>
|
|
1279
|
-
`,
|
|
1285
|
+
`, Fe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1280
1286
|
<path d="M3 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1281
1287
|
<path d="M21 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1282
1288
|
<path d="M6 21H18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -1287,18 +1293,18 @@ const ir = [
|
|
|
1287
1293
|
templates: [
|
|
1288
1294
|
{
|
|
1289
1295
|
name: "Container",
|
|
1290
|
-
template: /* @__PURE__ */ n(
|
|
1291
|
-
icon: { source:
|
|
1296
|
+
template: /* @__PURE__ */ n(Bt, {}),
|
|
1297
|
+
icon: { source: Fe, height: 32 }
|
|
1292
1298
|
},
|
|
1293
1299
|
{
|
|
1294
1300
|
name: "Block",
|
|
1295
|
-
template: /* @__PURE__ */ n(
|
|
1296
|
-
icon: { source:
|
|
1301
|
+
template: /* @__PURE__ */ n(Pt, {}),
|
|
1302
|
+
icon: { source: Fe, height: 32 }
|
|
1297
1303
|
},
|
|
1298
1304
|
{
|
|
1299
1305
|
name: "Grid",
|
|
1300
1306
|
template: /* @__PURE__ */ w(
|
|
1301
|
-
|
|
1307
|
+
jt,
|
|
1302
1308
|
{
|
|
1303
1309
|
cols: 2,
|
|
1304
1310
|
sx: {
|
|
@@ -1309,8 +1315,8 @@ const ir = [
|
|
|
1309
1315
|
paddingBottom: 16
|
|
1310
1316
|
},
|
|
1311
1317
|
children: [
|
|
1312
|
-
/* @__PURE__ */ n(
|
|
1313
|
-
/* @__PURE__ */ n(
|
|
1318
|
+
/* @__PURE__ */ n(Se, {}),
|
|
1319
|
+
/* @__PURE__ */ n(Se, {})
|
|
1314
1320
|
]
|
|
1315
1321
|
}
|
|
1316
1322
|
),
|
|
@@ -1318,9 +1324,9 @@ const ir = [
|
|
|
1318
1324
|
},
|
|
1319
1325
|
{
|
|
1320
1326
|
name: "Flex",
|
|
1321
|
-
template: /* @__PURE__ */ w(
|
|
1327
|
+
template: /* @__PURE__ */ w(Vt, { sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
|
|
1322
1328
|
/* @__PURE__ */ n(
|
|
1323
|
-
|
|
1329
|
+
Ee,
|
|
1324
1330
|
{
|
|
1325
1331
|
sx: {
|
|
1326
1332
|
width: "40%"
|
|
@@ -1328,7 +1334,7 @@ const ir = [
|
|
|
1328
1334
|
}
|
|
1329
1335
|
),
|
|
1330
1336
|
/* @__PURE__ */ n(
|
|
1331
|
-
|
|
1337
|
+
Ee,
|
|
1332
1338
|
{
|
|
1333
1339
|
sx: {
|
|
1334
1340
|
width: "60%"
|
|
@@ -1386,13 +1392,13 @@ const ir = [
|
|
|
1386
1392
|
templates: [
|
|
1387
1393
|
{
|
|
1388
1394
|
name: "Image",
|
|
1389
|
-
template: /* @__PURE__ */ n(
|
|
1395
|
+
template: /* @__PURE__ */ n(Ft, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/" }),
|
|
1390
1396
|
icon: { source: wr, height: 32 }
|
|
1391
1397
|
},
|
|
1392
1398
|
{
|
|
1393
1399
|
name: "Video",
|
|
1394
1400
|
template: /* @__PURE__ */ n(
|
|
1395
|
-
|
|
1401
|
+
Ot,
|
|
1396
1402
|
{
|
|
1397
1403
|
sx: {
|
|
1398
1404
|
aspectRatio: "16 / 9"
|
|
@@ -1404,7 +1410,7 @@ const ir = [
|
|
|
1404
1410
|
},
|
|
1405
1411
|
{
|
|
1406
1412
|
name: "Icon",
|
|
1407
|
-
template: /* @__PURE__ */ n(
|
|
1413
|
+
template: /* @__PURE__ */ n(Ht, { source: $t }),
|
|
1408
1414
|
icon: { source: br, height: 32 }
|
|
1409
1415
|
}
|
|
1410
1416
|
]
|
|
@@ -1421,7 +1427,7 @@ const ir = [
|
|
|
1421
1427
|
templates: [
|
|
1422
1428
|
{
|
|
1423
1429
|
name: "Heading",
|
|
1424
|
-
template: /* @__PURE__ */ n(
|
|
1430
|
+
template: /* @__PURE__ */ n(_t, { as: "h2", sizeVariant: "4xl", md: { sizeVariant: "5xl" }, children: "Your heading text goes here" }),
|
|
1425
1431
|
icon: { source: Cr, height: 32 }
|
|
1426
1432
|
},
|
|
1427
1433
|
{
|
|
@@ -1434,10 +1440,10 @@ const ir = [
|
|
|
1434
1440
|
fr,
|
|
1435
1441
|
xr,
|
|
1436
1442
|
mr,
|
|
1443
|
+
Gt,
|
|
1437
1444
|
Ut,
|
|
1438
1445
|
Zt,
|
|
1439
|
-
Yt
|
|
1440
|
-
Xt
|
|
1446
|
+
Yt
|
|
1441
1447
|
], Tr = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>', Ir = {
|
|
1442
1448
|
name: "Basics",
|
|
1443
1449
|
icon: { source: Tr },
|
|
@@ -1445,7 +1451,7 @@ const ir = [
|
|
|
1445
1451
|
}, Mr = ({ groups: e }) => {
|
|
1446
1452
|
const t = [Ir, ...e ?? []];
|
|
1447
1453
|
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
1448
|
-
/* @__PURE__ */ n("div", { css: { display: "flex", padding: 8, alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(
|
|
1454
|
+
/* @__PURE__ */ n("div", { css: { display: "flex", padding: 8, alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(ze, { fullWidth: !0, placeholder: "Search...", prefix: /* @__PURE__ */ n(I, { source: hr }) }) }),
|
|
1449
1455
|
/* @__PURE__ */ n(
|
|
1450
1456
|
ce,
|
|
1451
1457
|
{
|
|
@@ -1453,7 +1459,7 @@ const ir = [
|
|
|
1453
1459
|
paddingBlock: 8,
|
|
1454
1460
|
borderTopWidth: 1,
|
|
1455
1461
|
borderTopStyle: "solid",
|
|
1456
|
-
borderColor:
|
|
1462
|
+
borderColor: f.palette.white["1s"],
|
|
1457
1463
|
flex: 1
|
|
1458
1464
|
},
|
|
1459
1465
|
children: t.map((o, r) => /* @__PURE__ */ n(Lr, { group: o }, r))
|
|
@@ -1461,12 +1467,12 @@ const ir = [
|
|
|
1461
1467
|
)
|
|
1462
1468
|
] });
|
|
1463
1469
|
}, Sr = ({ elementGroups: e }) => /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: e.map((t, o) => /* @__PURE__ */ n(Er, { group: t }, o)) }), Er = ({ group: e }) => {
|
|
1464
|
-
const [t, o] =
|
|
1465
|
-
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", ...
|
|
1470
|
+
const [t, o] = ot(!0), { actions: r, connectors: i } = H();
|
|
1471
|
+
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", ...f.text.sm }, children: [
|
|
1466
1472
|
/* @__PURE__ */ n(oe, { onClick: o, css: { paddingInline: 0, backgroundColor: "transparent" }, children: /* @__PURE__ */ w(
|
|
1467
1473
|
"div",
|
|
1468
1474
|
{
|
|
1469
|
-
css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...
|
|
1475
|
+
css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...f.text.sm },
|
|
1470
1476
|
children: [
|
|
1471
1477
|
e.name,
|
|
1472
1478
|
/* @__PURE__ */ n(
|
|
@@ -1479,7 +1485,7 @@ const ir = [
|
|
|
1479
1485
|
]
|
|
1480
1486
|
}
|
|
1481
1487
|
) }),
|
|
1482
|
-
/* @__PURE__ */ n(
|
|
1488
|
+
/* @__PURE__ */ n(qt, { open: t, children: /* @__PURE__ */ n("div", { css: { display: "grid", paddingBlock: 8, gap: 16, gridTemplateColumns: "repeat(2, minmax(0, 1fr))" }, children: e.templates?.map((s, l) => /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
|
|
1483
1489
|
/* @__PURE__ */ n(
|
|
1484
1490
|
"div",
|
|
1485
1491
|
{
|
|
@@ -1488,8 +1494,8 @@ const ir = [
|
|
|
1488
1494
|
display: "flex",
|
|
1489
1495
|
padding: 4,
|
|
1490
1496
|
borderRadius: 8,
|
|
1491
|
-
backgroundColor:
|
|
1492
|
-
color:
|
|
1497
|
+
backgroundColor: f.palette.ink["6s"],
|
|
1498
|
+
color: f.palette.white["5s"],
|
|
1493
1499
|
pointerEvents: "auto",
|
|
1494
1500
|
overflow: "hidden",
|
|
1495
1501
|
flexDirection: "column",
|
|
@@ -1505,7 +1511,7 @@ const ir = [
|
|
|
1505
1511
|
content: '""',
|
|
1506
1512
|
position: "absolute",
|
|
1507
1513
|
inset: 0,
|
|
1508
|
-
backgroundColor:
|
|
1514
|
+
backgroundColor: f.palette.white["1s"]
|
|
1509
1515
|
}
|
|
1510
1516
|
},
|
|
1511
1517
|
ref: (a) => {
|
|
@@ -1515,10 +1521,10 @@ const ir = [
|
|
|
1515
1521
|
}
|
|
1516
1522
|
});
|
|
1517
1523
|
},
|
|
1518
|
-
children: s.icon && /* @__PURE__ */ n(
|
|
1524
|
+
children: s.icon && /* @__PURE__ */ n(Jt, { width: void 0, height: void 0, ...s.icon })
|
|
1519
1525
|
}
|
|
1520
1526
|
),
|
|
1521
|
-
/* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...
|
|
1527
|
+
/* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...ke.xs }, children: s.name })
|
|
1522
1528
|
] }, l)) }) })
|
|
1523
1529
|
] });
|
|
1524
1530
|
}, Lr = ({ group: e }) => {
|
|
@@ -1527,14 +1533,14 @@ const ir = [
|
|
|
1527
1533
|
onOpenChange: o,
|
|
1528
1534
|
placement: "right-start",
|
|
1529
1535
|
middleware: [
|
|
1530
|
-
|
|
1536
|
+
Ce(),
|
|
1531
1537
|
Je({
|
|
1532
|
-
apply({ elements:
|
|
1533
|
-
const
|
|
1538
|
+
apply({ elements: p }) {
|
|
1539
|
+
const b = {
|
|
1534
1540
|
zIndex: `${Xe}`,
|
|
1535
|
-
height: `${
|
|
1541
|
+
height: `${p.reference.getBoundingClientRect().height}px`
|
|
1536
1542
|
};
|
|
1537
|
-
Object.assign(
|
|
1543
|
+
Object.assign(p.floating.style, b);
|
|
1538
1544
|
}
|
|
1539
1545
|
})
|
|
1540
1546
|
],
|
|
@@ -1543,7 +1549,7 @@ const ir = [
|
|
|
1543
1549
|
V(() => {
|
|
1544
1550
|
r.setPositionReference(document.querySelector("aside"));
|
|
1545
1551
|
}, [r]);
|
|
1546
|
-
const l = Ke(s, { move: !1, handleClose:
|
|
1552
|
+
const l = Ke(s, { move: !1, handleClose: yn() }), a = Qe(s), d = et(s), k = tt(s), { getReferenceProps: h, getFloatingProps: u } = nt([l, a, d, k]), c = e.renderer;
|
|
1547
1553
|
return /* @__PURE__ */ w(ie, { children: [
|
|
1548
1554
|
/* @__PURE__ */ w(
|
|
1549
1555
|
"button",
|
|
@@ -1556,17 +1562,17 @@ const ir = [
|
|
|
1556
1562
|
borderRadius: 8,
|
|
1557
1563
|
textAlign: "left",
|
|
1558
1564
|
width: "100%",
|
|
1559
|
-
color:
|
|
1565
|
+
color: f.palette.white["5s"],
|
|
1560
1566
|
"&:hover": {
|
|
1561
|
-
color:
|
|
1562
|
-
backgroundColor:
|
|
1567
|
+
color: f.palette.white["6s"],
|
|
1568
|
+
backgroundColor: f.palette.white["1s"],
|
|
1563
1569
|
fontWeight: 500
|
|
1564
1570
|
}
|
|
1565
1571
|
},
|
|
1566
|
-
...
|
|
1572
|
+
...h(),
|
|
1567
1573
|
ref: r.setReference,
|
|
1568
1574
|
children: [
|
|
1569
|
-
e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor:
|
|
1575
|
+
e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: f.palette.white["1s"] }, children: /* @__PURE__ */ n(I, { ...e.icon }) }),
|
|
1570
1576
|
/* @__PURE__ */ n(
|
|
1571
1577
|
"span",
|
|
1572
1578
|
{
|
|
@@ -1583,45 +1589,45 @@ const ir = [
|
|
|
1583
1589
|
]
|
|
1584
1590
|
}
|
|
1585
1591
|
),
|
|
1586
|
-
t && /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n("div", { style: i, ...
|
|
1592
|
+
t && /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n("div", { style: i, ...u(), ref: r.setFloating, children: /* @__PURE__ */ w(
|
|
1587
1593
|
"div",
|
|
1588
1594
|
{
|
|
1589
1595
|
css: {
|
|
1590
1596
|
display: "flex",
|
|
1591
1597
|
flexDirection: "column",
|
|
1592
1598
|
height: "100%",
|
|
1593
|
-
backgroundColor:
|
|
1594
|
-
color:
|
|
1599
|
+
backgroundColor: f.palette.ink["6s"],
|
|
1600
|
+
color: f.palette.white["6s"],
|
|
1595
1601
|
borderLeftWidth: 1,
|
|
1596
1602
|
borderLeftStyle: "solid",
|
|
1597
1603
|
borderTopWidth: 1,
|
|
1598
1604
|
borderTopStyle: "solid",
|
|
1599
|
-
borderColor:
|
|
1600
|
-
...
|
|
1605
|
+
borderColor: f.palette.white["2s"],
|
|
1606
|
+
...f.text.sm
|
|
1601
1607
|
},
|
|
1602
1608
|
children: [
|
|
1603
1609
|
/* @__PURE__ */ n("div", { css: { display: "flex", paddingInline: 8, alignItems: "center", height: 48 }, children: /* @__PURE__ */ n("h6", { css: { fontWeight: 500 }, children: e.name }) }),
|
|
1604
|
-
/* @__PURE__ */ n(ce, { css: { paddingInline: 12, flex: 1 }, children: c ? /* @__PURE__ */ n(c, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((
|
|
1610
|
+
/* @__PURE__ */ n(ce, { css: { paddingInline: 12, flex: 1 }, children: c ? /* @__PURE__ */ n(c, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((p, b) => /* @__PURE__ */ mn(Wr, { ...p, key: b })) }) })
|
|
1605
1611
|
]
|
|
1606
1612
|
}
|
|
1607
1613
|
) }) })
|
|
1608
1614
|
] });
|
|
1609
1615
|
}, Wr = ({ template: e, autoFocus: t = !0, onCreate: o }) => {
|
|
1610
|
-
const [, r] = P(!1), i = $(), { actions: s, connectors: l, resolver: a, query: d } = H((
|
|
1611
|
-
resolver:
|
|
1616
|
+
const [, r] = P(!1), i = $(), { actions: s, connectors: l, resolver: a, query: d } = H((h) => ({
|
|
1617
|
+
resolver: h.options.resolver
|
|
1612
1618
|
})), k = P(() => {
|
|
1613
|
-
const
|
|
1614
|
-
let
|
|
1615
|
-
"rootNodeId" in
|
|
1616
|
-
const { rootNodeId: c, nodes:
|
|
1617
|
-
return Object.entries(
|
|
1618
|
-
const m =
|
|
1619
|
-
|
|
1619
|
+
const h = typeof e == "function" ? e() : e;
|
|
1620
|
+
let u;
|
|
1621
|
+
"rootNodeId" in h ? u = h : u = d.parseReactElement(h).toNodeTree();
|
|
1622
|
+
const { rootNodeId: c, nodes: p } = u, b = {};
|
|
1623
|
+
return Object.entries(p).forEach(([g, x]) => {
|
|
1624
|
+
const m = Xt(x.data, a), T = g === c ? _ : g;
|
|
1625
|
+
b[T] = {
|
|
1620
1626
|
...m,
|
|
1621
1627
|
parent: m.parent === c ? _ : m.parent,
|
|
1622
1628
|
nodes: m.nodes?.map((S) => S === c ? _ : S)
|
|
1623
1629
|
};
|
|
1624
|
-
}),
|
|
1630
|
+
}), b;
|
|
1625
1631
|
})[0];
|
|
1626
1632
|
return /* @__PURE__ */ n(
|
|
1627
1633
|
"div",
|
|
@@ -1632,12 +1638,12 @@ const ir = [
|
|
|
1632
1638
|
cursor: "grab",
|
|
1633
1639
|
borderStyle: "solid",
|
|
1634
1640
|
borderWidth: 1,
|
|
1635
|
-
borderColor:
|
|
1641
|
+
borderColor: f.palette.white["1s"]
|
|
1636
1642
|
},
|
|
1637
|
-
ref: (
|
|
1638
|
-
|
|
1639
|
-
onCreate(
|
|
1640
|
-
(typeof t == "function" ? t(
|
|
1643
|
+
ref: (h) => {
|
|
1644
|
+
h && l.create(h, e, {
|
|
1645
|
+
onCreate(u) {
|
|
1646
|
+
(typeof t == "function" ? t(u) : t) && s.selectNode(u.rootNodeId), o?.(u);
|
|
1641
1647
|
}
|
|
1642
1648
|
});
|
|
1643
1649
|
},
|
|
@@ -1655,15 +1661,15 @@ const ir = [
|
|
|
1655
1661
|
aspectRatio: "16 / 9"
|
|
1656
1662
|
},
|
|
1657
1663
|
children: /* @__PURE__ */ n("div", { css: { position: "absolute", inset: 0 }, children: /* @__PURE__ */ n(
|
|
1658
|
-
|
|
1664
|
+
ut,
|
|
1659
1665
|
{
|
|
1660
1666
|
containerProps: {
|
|
1661
1667
|
style: {
|
|
1662
1668
|
backgroundColor: i.theme.palette.background.default
|
|
1663
1669
|
}
|
|
1664
1670
|
},
|
|
1665
|
-
viewport: { width:
|
|
1666
|
-
children: /* @__PURE__ */ n(rt, { resolver: a, children: /* @__PURE__ */ n(
|
|
1671
|
+
viewport: { width: bn.md.minWidth },
|
|
1672
|
+
children: /* @__PURE__ */ n(rt, { resolver: a, children: /* @__PURE__ */ n(In, { data: k }) })
|
|
1667
1673
|
}
|
|
1668
1674
|
) })
|
|
1669
1675
|
}
|
|
@@ -1696,40 +1702,39 @@ const ir = [
|
|
|
1696
1702
|
displayName: l,
|
|
1697
1703
|
children: a,
|
|
1698
1704
|
depth: d
|
|
1699
|
-
} =
|
|
1700
|
-
expanded:
|
|
1701
|
-
displayName: Ze(t.node(
|
|
1702
|
-
})), { selected: k, selectable:
|
|
1703
|
-
const
|
|
1705
|
+
} = en((p) => ({
|
|
1706
|
+
expanded: p.expanded,
|
|
1707
|
+
displayName: Ze(t.node(p.id).get())
|
|
1708
|
+
})), { selected: k, selectable: h } = H((p, b) => {
|
|
1709
|
+
const g = b.node(r).get();
|
|
1704
1710
|
return {
|
|
1705
|
-
selected:
|
|
1706
|
-
nodeDOM:
|
|
1707
|
-
selectable: Ue(
|
|
1711
|
+
selected: b.getEvent("selected").contains(r),
|
|
1712
|
+
nodeDOM: g.dom,
|
|
1713
|
+
selectable: Ue(g)
|
|
1708
1714
|
};
|
|
1709
1715
|
});
|
|
1710
1716
|
V(() => {
|
|
1711
1717
|
r === _ && s.setExpandedState(!0);
|
|
1712
1718
|
}, [s, r]), V(() => {
|
|
1713
1719
|
if (a.length === 0) return;
|
|
1714
|
-
a.some((
|
|
1715
|
-
const
|
|
1716
|
-
return
|
|
1720
|
+
a.some((b) => {
|
|
1721
|
+
const g = t.getEvent("selected").all();
|
|
1722
|
+
return g.includes(b) ? !0 : t.node(b).descendants(!0).some((m) => g.includes(m));
|
|
1717
1723
|
}) && s.setExpandedState(!0);
|
|
1718
1724
|
}, [a, s, t]);
|
|
1719
|
-
const
|
|
1725
|
+
const u = () => {
|
|
1720
1726
|
o.selectNode(r);
|
|
1721
|
-
}, c = (
|
|
1722
|
-
|
|
1727
|
+
}, c = (p) => {
|
|
1728
|
+
p.stopPropagation(), s.toggleLayer();
|
|
1723
1729
|
};
|
|
1724
1730
|
return /* @__PURE__ */ w(
|
|
1725
1731
|
"div",
|
|
1726
1732
|
{
|
|
1727
|
-
css: { paddingBlock: 4 },
|
|
1728
1733
|
children: [
|
|
1729
1734
|
/* @__PURE__ */ w(
|
|
1730
1735
|
"div",
|
|
1731
1736
|
{
|
|
1732
|
-
onClick:
|
|
1737
|
+
onClick: u,
|
|
1733
1738
|
style: {
|
|
1734
1739
|
paddingLeft: Math.max(0, d - 1) * 16
|
|
1735
1740
|
},
|
|
@@ -1742,13 +1747,13 @@ const ir = [
|
|
|
1742
1747
|
gap: 2,
|
|
1743
1748
|
borderWidth: 1,
|
|
1744
1749
|
borderStyle: "solid",
|
|
1745
|
-
borderColor:
|
|
1750
|
+
borderColor: f.palette.white["1s"],
|
|
1746
1751
|
cursor: "pointer",
|
|
1747
1752
|
borderRadius: 4,
|
|
1748
|
-
"&:hover": { backgroundColor:
|
|
1753
|
+
"&:hover": { backgroundColor: f.palette.white["1s"] }
|
|
1749
1754
|
},
|
|
1750
|
-
!
|
|
1751
|
-
k && { backgroundColor:
|
|
1755
|
+
!h && { pointerEvents: "none" },
|
|
1756
|
+
k && { backgroundColor: f.palette.black["7s"] },
|
|
1752
1757
|
r === _ && { display: "none" }
|
|
1753
1758
|
],
|
|
1754
1759
|
children: [
|
|
@@ -1771,9 +1776,10 @@ const ir = [
|
|
|
1771
1776
|
overflow: "hidden",
|
|
1772
1777
|
textOverflow: "ellipsis",
|
|
1773
1778
|
whiteSpace: "nowrap",
|
|
1774
|
-
flex: 1
|
|
1779
|
+
flex: 1,
|
|
1780
|
+
...ke.xs
|
|
1775
1781
|
},
|
|
1776
|
-
!
|
|
1782
|
+
!h && { color: f.palette.white["3s"] }
|
|
1777
1783
|
],
|
|
1778
1784
|
children: l
|
|
1779
1785
|
}
|
|
@@ -1787,7 +1793,11 @@ const ir = [
|
|
|
1787
1793
|
css: {
|
|
1788
1794
|
display: "flex",
|
|
1789
1795
|
flexDirection: "column",
|
|
1790
|
-
gap: 4
|
|
1796
|
+
gap: 4,
|
|
1797
|
+
marginTop: 4,
|
|
1798
|
+
":empty": {
|
|
1799
|
+
display: "none"
|
|
1800
|
+
}
|
|
1791
1801
|
},
|
|
1792
1802
|
children: e.children
|
|
1793
1803
|
}
|
|
@@ -1800,7 +1810,7 @@ const ir = [
|
|
|
1800
1810
|
t.start(r);
|
|
1801
1811
|
};
|
|
1802
1812
|
return /* @__PURE__ */ n(he, { children: /* @__PURE__ */ w(
|
|
1803
|
-
|
|
1813
|
+
Kt.div,
|
|
1804
1814
|
{
|
|
1805
1815
|
drag: !0,
|
|
1806
1816
|
dragControls: t,
|
|
@@ -1811,10 +1821,10 @@ const ir = [
|
|
|
1811
1821
|
display: "flex",
|
|
1812
1822
|
flexDirection: "column",
|
|
1813
1823
|
borderRadius: 6,
|
|
1814
|
-
backgroundColor:
|
|
1824
|
+
backgroundColor: f.palette.ink["6s"],
|
|
1815
1825
|
borderWidth: 1,
|
|
1816
1826
|
borderStyle: "solid",
|
|
1817
|
-
borderColor:
|
|
1827
|
+
borderColor: f.palette.white["2s"],
|
|
1818
1828
|
color: "white"
|
|
1819
1829
|
},
|
|
1820
1830
|
children: [
|
|
@@ -1837,14 +1847,14 @@ const ir = [
|
|
|
1837
1847
|
"p",
|
|
1838
1848
|
{
|
|
1839
1849
|
css: {
|
|
1840
|
-
...
|
|
1850
|
+
...f.text.sm,
|
|
1841
1851
|
fontWeight: 500
|
|
1842
1852
|
},
|
|
1843
1853
|
children: "Layers"
|
|
1844
1854
|
}
|
|
1845
1855
|
)
|
|
1846
1856
|
] }),
|
|
1847
|
-
/* @__PURE__ */ n(W, { onClick: e, children: /* @__PURE__ */ n(I, { source:
|
|
1857
|
+
/* @__PURE__ */ n(W, { onClick: e, children: /* @__PURE__ */ n(I, { source: _e }) })
|
|
1848
1858
|
]
|
|
1849
1859
|
}
|
|
1850
1860
|
),
|
|
@@ -1856,16 +1866,16 @@ const ir = [
|
|
|
1856
1866
|
overflow: "auto",
|
|
1857
1867
|
borderTopWidth: 1,
|
|
1858
1868
|
borderTopStyle: "solid",
|
|
1859
|
-
borderColor:
|
|
1869
|
+
borderColor: f.palette.white["1s"],
|
|
1860
1870
|
flex: 1
|
|
1861
1871
|
},
|
|
1862
|
-
children: /* @__PURE__ */ n(
|
|
1872
|
+
children: /* @__PURE__ */ n(Qt, { renderLayer: Ar })
|
|
1863
1873
|
}
|
|
1864
1874
|
)
|
|
1865
1875
|
]
|
|
1866
1876
|
}
|
|
1867
1877
|
) });
|
|
1868
|
-
},
|
|
1878
|
+
}, pt = {
|
|
1869
1879
|
primary: "Primary",
|
|
1870
1880
|
secondary: "Secondary",
|
|
1871
1881
|
red: "Red",
|
|
@@ -1875,42 +1885,42 @@ const ir = [
|
|
|
1875
1885
|
blue: "Blue",
|
|
1876
1886
|
neutral: "Neutral",
|
|
1877
1887
|
violet: "Violet"
|
|
1878
|
-
}, Br = ["primary", "secondary"], Pr = Object.keys(
|
|
1879
|
-
const e = $(), t = !!e.handlers.saveTheme, o = e.theme.palette, r =
|
|
1888
|
+
}, Br = ["primary", "secondary"], Pr = Object.keys(pt), jr = [100, 200, 300, 400, 500, 600, 700, 800], Vr = () => {
|
|
1889
|
+
const e = $(), t = !!e.handlers.saveTheme, o = e.theme.palette, r = G(e.theme), i = G(!1);
|
|
1880
1890
|
V(() => {
|
|
1881
1891
|
const c = r.current;
|
|
1882
1892
|
return () => {
|
|
1883
1893
|
i.current || e.setState({ theme: c });
|
|
1884
1894
|
};
|
|
1885
1895
|
}, []);
|
|
1886
|
-
const s = (c) => o[c], l = (c,
|
|
1887
|
-
const
|
|
1896
|
+
const s = (c) => o[c], l = (c, p) => {
|
|
1897
|
+
const b = s(c), g = {
|
|
1888
1898
|
palette: {
|
|
1889
1899
|
background: o.background,
|
|
1890
1900
|
border: o.border,
|
|
1891
1901
|
surface: o.surface,
|
|
1892
|
-
[c]: { main:
|
|
1902
|
+
[c]: { main: p, contrast: b.contrast }
|
|
1893
1903
|
}
|
|
1894
1904
|
};
|
|
1895
|
-
e.setState({ theme:
|
|
1896
|
-
}, a = (c,
|
|
1897
|
-
const
|
|
1905
|
+
e.setState({ theme: Re(g) });
|
|
1906
|
+
}, a = (c, p) => {
|
|
1907
|
+
const b = s(c), g = {
|
|
1898
1908
|
palette: {
|
|
1899
1909
|
background: o.background,
|
|
1900
1910
|
border: o.border,
|
|
1901
1911
|
surface: o.surface,
|
|
1902
|
-
[c]: { main:
|
|
1912
|
+
[c]: { main: b[600], contrast: p }
|
|
1903
1913
|
}
|
|
1904
1914
|
};
|
|
1905
|
-
e.setState({ theme:
|
|
1906
|
-
}, [d, k] = P(!1),
|
|
1915
|
+
e.setState({ theme: Re(g) });
|
|
1916
|
+
}, [d, k] = P(!1), h = async () => {
|
|
1907
1917
|
k(!0);
|
|
1908
1918
|
try {
|
|
1909
1919
|
await e.handlers.saveTheme?.(e.theme), i.current = !0;
|
|
1910
1920
|
} finally {
|
|
1911
1921
|
k(!1);
|
|
1912
1922
|
}
|
|
1913
|
-
},
|
|
1923
|
+
}, u = () => {
|
|
1914
1924
|
e.setState({ theme: r.current, action: void 0 });
|
|
1915
1925
|
};
|
|
1916
1926
|
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
@@ -1923,30 +1933,30 @@ const ir = [
|
|
|
1923
1933
|
paddingBlock: 8,
|
|
1924
1934
|
borderTopWidth: 1,
|
|
1925
1935
|
borderTopStyle: "solid",
|
|
1926
|
-
borderColor:
|
|
1936
|
+
borderColor: f.palette.white["1s"],
|
|
1927
1937
|
flex: 1
|
|
1928
1938
|
},
|
|
1929
1939
|
children: /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: Pr.map((c) => {
|
|
1930
|
-
const
|
|
1940
|
+
const p = s(c), b = Br.includes(c);
|
|
1931
1941
|
return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
|
|
1932
|
-
/* @__PURE__ */ n("p", { css: { ...
|
|
1942
|
+
/* @__PURE__ */ n("p", { css: { ...ke.xs, color: f.palette.white["4s"] }, children: pt[c] }),
|
|
1933
1943
|
/* @__PURE__ */ w("div", { css: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
1934
|
-
t &&
|
|
1944
|
+
t && b && /* @__PURE__ */ w("div", { css: { display: "flex", gap: 4 }, children: [
|
|
1935
1945
|
/* @__PURE__ */ n(
|
|
1936
|
-
|
|
1946
|
+
Le,
|
|
1937
1947
|
{
|
|
1938
1948
|
hidePalette: !0,
|
|
1939
|
-
color:
|
|
1940
|
-
onChange: (
|
|
1949
|
+
color: p[600],
|
|
1950
|
+
onChange: (g) => l(c, g),
|
|
1941
1951
|
placement: "right-start"
|
|
1942
1952
|
}
|
|
1943
1953
|
),
|
|
1944
1954
|
/* @__PURE__ */ n(
|
|
1945
|
-
|
|
1955
|
+
Le,
|
|
1946
1956
|
{
|
|
1947
1957
|
hidePalette: !0,
|
|
1948
|
-
color:
|
|
1949
|
-
onChange: (
|
|
1958
|
+
color: p.contrast,
|
|
1959
|
+
onChange: (g) => a(c, g),
|
|
1950
1960
|
placement: "right-start"
|
|
1951
1961
|
}
|
|
1952
1962
|
)
|
|
@@ -1959,7 +1969,7 @@ const ir = [
|
|
|
1959
1969
|
gap: 4,
|
|
1960
1970
|
flex: 1
|
|
1961
1971
|
},
|
|
1962
|
-
children: jr.map((
|
|
1972
|
+
children: jr.map((g) => /* @__PURE__ */ n(
|
|
1963
1973
|
"div",
|
|
1964
1974
|
{
|
|
1965
1975
|
css: {
|
|
@@ -1969,18 +1979,18 @@ const ir = [
|
|
|
1969
1979
|
padding: 1,
|
|
1970
1980
|
borderWidth: 1,
|
|
1971
1981
|
borderStyle: "solid",
|
|
1972
|
-
borderColor:
|
|
1982
|
+
borderColor: f.palette.white["3s"]
|
|
1973
1983
|
},
|
|
1974
|
-
title: `${c}.${
|
|
1984
|
+
title: `${c}.${g}`,
|
|
1975
1985
|
children: /* @__PURE__ */ n(
|
|
1976
1986
|
"div",
|
|
1977
1987
|
{
|
|
1978
1988
|
css: { width: "100%", height: "100%", borderRadius: 1 },
|
|
1979
|
-
style: { backgroundColor: g
|
|
1989
|
+
style: { backgroundColor: p[g] }
|
|
1980
1990
|
}
|
|
1981
1991
|
)
|
|
1982
1992
|
},
|
|
1983
|
-
|
|
1993
|
+
g
|
|
1984
1994
|
))
|
|
1985
1995
|
}
|
|
1986
1996
|
)
|
|
@@ -1998,11 +2008,11 @@ const ir = [
|
|
|
1998
2008
|
padding: 8,
|
|
1999
2009
|
borderTopWidth: 1,
|
|
2000
2010
|
borderTopStyle: "solid",
|
|
2001
|
-
borderColor:
|
|
2011
|
+
borderColor: f.palette.white["1s"]
|
|
2002
2012
|
},
|
|
2003
2013
|
children: [
|
|
2004
|
-
/* @__PURE__ */ n(oe, { variant: "text", onClick:
|
|
2005
|
-
/* @__PURE__ */ n(oe, { onClick:
|
|
2014
|
+
/* @__PURE__ */ n(oe, { variant: "text", onClick: u, disabled: d, css: { flex: 1 }, children: "Cancel" }),
|
|
2015
|
+
/* @__PURE__ */ n(oe, { onClick: h, isLoading: d, css: { flex: 1 }, children: d ? "Saving..." : "Save" })
|
|
2006
2016
|
]
|
|
2007
2017
|
}
|
|
2008
2018
|
)
|
|
@@ -2023,19 +2033,19 @@ const ir = [
|
|
|
2023
2033
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.59903 20.3231H7.30203C10.287 20.3231 11.782 16.7141 9.67103 14.6031V14.6031C8.11903 13.0511 5.48303 13.6221 4.71303 15.6771L3.19103 19.7351C3.08503 20.0201 3.29503 20.3231 3.59903 20.3231Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
2024
2034
|
</svg>
|
|
2025
2035
|
`, $r = ({ insert: e }) => {
|
|
2026
|
-
const [t, o] =
|
|
2027
|
-
const
|
|
2036
|
+
const [t, o] = ot(!1), { action: r = "insert", setState: i } = $(), { actions: s, isDeletable: l, focusedNode: a } = H((u, c) => {
|
|
2037
|
+
const p = c.getEvent("selected").first(), b = p ? c.node(p) : null;
|
|
2028
2038
|
return {
|
|
2029
|
-
enabled:
|
|
2030
|
-
isDeletable: !!(
|
|
2031
|
-
focusedNode:
|
|
2039
|
+
enabled: u.options.enabled,
|
|
2040
|
+
isDeletable: !!(b?.isDeletable() && (b.get().data.custom?.deletable ?? !0)),
|
|
2041
|
+
focusedNode: b?.get()
|
|
2032
2042
|
};
|
|
2033
2043
|
}), d = () => {
|
|
2034
2044
|
s.selectNode();
|
|
2035
|
-
}, k = (
|
|
2036
|
-
s.delete(
|
|
2037
|
-
},
|
|
2038
|
-
const c =
|
|
2045
|
+
}, k = (u) => {
|
|
2046
|
+
s.delete(u.currentTarget.value);
|
|
2047
|
+
}, h = (u) => {
|
|
2048
|
+
const c = u.currentTarget.value;
|
|
2039
2049
|
c === "layers" ? o() : (d(), i({ action: c }));
|
|
2040
2050
|
};
|
|
2041
2051
|
return /* @__PURE__ */ w(ie, { children: [
|
|
@@ -2046,16 +2056,16 @@ const ir = [
|
|
|
2046
2056
|
display: "flex",
|
|
2047
2057
|
position: "relative",
|
|
2048
2058
|
alignItems: "stretch",
|
|
2049
|
-
backgroundColor:
|
|
2050
|
-
color:
|
|
2059
|
+
backgroundColor: f.palette.ink["6s"],
|
|
2060
|
+
color: f.palette.white["6s"],
|
|
2051
2061
|
borderTopWidth: 1,
|
|
2052
2062
|
borderTopStyle: "solid",
|
|
2053
|
-
borderColor:
|
|
2054
|
-
...
|
|
2063
|
+
borderColor: f.palette.white["2s"],
|
|
2064
|
+
...f.text.sm
|
|
2055
2065
|
},
|
|
2056
2066
|
children: [
|
|
2057
2067
|
/* @__PURE__ */ w("div", { css: { display: "flex", paddingInline: 4, flexDirection: "column", gap: 4 }, children: [
|
|
2058
|
-
!!e && /* @__PURE__ */ w(
|
|
2068
|
+
!!e && /* @__PURE__ */ w(Oe, { children: [
|
|
2059
2069
|
/* @__PURE__ */ n(
|
|
2060
2070
|
W,
|
|
2061
2071
|
{
|
|
@@ -2063,14 +2073,14 @@ const ir = [
|
|
|
2063
2073
|
content: "Insert",
|
|
2064
2074
|
placement: "right"
|
|
2065
2075
|
},
|
|
2066
|
-
onClick:
|
|
2076
|
+
onClick: h,
|
|
2067
2077
|
value: "insert",
|
|
2068
2078
|
css: { position: "relative" },
|
|
2069
2079
|
size: "32",
|
|
2070
|
-
children: /* @__PURE__ */ n(I, { source:
|
|
2080
|
+
children: /* @__PURE__ */ n(I, { source: $e })
|
|
2071
2081
|
}
|
|
2072
2082
|
),
|
|
2073
|
-
/* @__PURE__ */ n("hr", { css: { borderColor:
|
|
2083
|
+
/* @__PURE__ */ n("hr", { css: { borderColor: f.palette.white["2s"] } })
|
|
2074
2084
|
] }),
|
|
2075
2085
|
/* @__PURE__ */ n(
|
|
2076
2086
|
W,
|
|
@@ -2079,14 +2089,14 @@ const ir = [
|
|
|
2079
2089
|
content: "Layers",
|
|
2080
2090
|
placement: "right"
|
|
2081
2091
|
},
|
|
2082
|
-
onClick:
|
|
2092
|
+
onClick: h,
|
|
2083
2093
|
value: "layers",
|
|
2084
2094
|
css: { position: "relative" },
|
|
2085
2095
|
size: "32",
|
|
2086
2096
|
children: /* @__PURE__ */ n(I, { source: Fr })
|
|
2087
2097
|
}
|
|
2088
2098
|
),
|
|
2089
|
-
/* @__PURE__ */ n("hr", { css: { borderColor:
|
|
2099
|
+
/* @__PURE__ */ n("hr", { css: { borderColor: f.palette.white["2s"] } }),
|
|
2090
2100
|
/* @__PURE__ */ n(
|
|
2091
2101
|
W,
|
|
2092
2102
|
{
|
|
@@ -2094,7 +2104,7 @@ const ir = [
|
|
|
2094
2104
|
content: "Theme",
|
|
2095
2105
|
placement: "right"
|
|
2096
2106
|
},
|
|
2097
|
-
onClick:
|
|
2107
|
+
onClick: h,
|
|
2098
2108
|
value: "theme",
|
|
2099
2109
|
css: { position: "relative" },
|
|
2100
2110
|
size: "32",
|
|
@@ -2113,7 +2123,7 @@ const ir = [
|
|
|
2113
2123
|
width: 288,
|
|
2114
2124
|
borderLeftWidth: 1,
|
|
2115
2125
|
borderLeftStyle: "solid",
|
|
2116
|
-
borderColor:
|
|
2126
|
+
borderColor: f.palette.white["1s"]
|
|
2117
2127
|
},
|
|
2118
2128
|
children: [
|
|
2119
2129
|
r === "theme" && /* @__PURE__ */ n("div", { css: { overflow: "auto", flex: 1 }, children: /* @__PURE__ */ n(Vr, {}) }),
|
|
@@ -2121,8 +2131,8 @@ const ir = [
|
|
|
2121
2131
|
r !== "theme" && !!a?.related?.inspector && /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", overflow: "hidden", flex: 1 }, children: [
|
|
2122
2132
|
/* @__PURE__ */ w("div", { css: { display: "flex", paddingInline: 8, paddingBlock: 8, alignItems: "center", gap: 8 }, children: [
|
|
2123
2133
|
/* @__PURE__ */ n(W, { onClick: d, children: /* @__PURE__ */ n(I, { source: Or }) }),
|
|
2124
|
-
/* @__PURE__ */ n("div", { css: { overflow: "hidden", flex: 1 }, children: /* @__PURE__ */ n(
|
|
2125
|
-
l && /* @__PURE__ */ n(W, { value: a.id, onClick: k, children: /* @__PURE__ */ n(I, { css: { color:
|
|
2134
|
+
/* @__PURE__ */ n("div", { css: { overflow: "hidden", flex: 1 }, children: /* @__PURE__ */ n(ze, { fullWidth: !0, value: Ze(a), size: "32" }) }),
|
|
2135
|
+
l && /* @__PURE__ */ n(W, { value: a.id, onClick: k, children: /* @__PURE__ */ n(I, { css: { color: f.palette.red["4s"] }, source: tn }) })
|
|
2126
2136
|
] }),
|
|
2127
2137
|
/* @__PURE__ */ n(
|
|
2128
2138
|
"div",
|
|
@@ -2132,9 +2142,9 @@ const ir = [
|
|
|
2132
2142
|
flex: 1,
|
|
2133
2143
|
borderTopWidth: 1,
|
|
2134
2144
|
borderTopStyle: "solid",
|
|
2135
|
-
borderColor:
|
|
2145
|
+
borderColor: f.palette.white["1s"]
|
|
2136
2146
|
},
|
|
2137
|
-
children: /* @__PURE__ */ n(
|
|
2147
|
+
children: /* @__PURE__ */ n(pn, { fallback: null, children: Ye(a.related.inspector) })
|
|
2138
2148
|
}
|
|
2139
2149
|
)
|
|
2140
2150
|
] })
|
|
@@ -2147,9 +2157,9 @@ const ir = [
|
|
|
2147
2157
|
t && /* @__PURE__ */ n(Dr, { onClose: o })
|
|
2148
2158
|
] });
|
|
2149
2159
|
}, _r = () => {
|
|
2150
|
-
const { dom: e } =
|
|
2160
|
+
const { dom: e } = me((s) => ({
|
|
2151
2161
|
dom: s.dom
|
|
2152
|
-
})), { document: t } =
|
|
2162
|
+
})), { document: t } = ve(), { floatingStyles: o, refs: r } = le({
|
|
2153
2163
|
open: !0,
|
|
2154
2164
|
strategy: "fixed",
|
|
2155
2165
|
placement: "bottom-start",
|
|
@@ -2172,7 +2182,7 @@ const ir = [
|
|
|
2172
2182
|
V(() => {
|
|
2173
2183
|
r.setReference(e);
|
|
2174
2184
|
}, [e, r]);
|
|
2175
|
-
const i =
|
|
2185
|
+
const i = gn((s) => r.setFloating(s), [r]);
|
|
2176
2186
|
return e ? /* @__PURE__ */ n(he, { root: t?.body, children: /* @__PURE__ */ n(
|
|
2177
2187
|
"div",
|
|
2178
2188
|
{
|
|
@@ -2183,29 +2193,29 @@ const ir = [
|
|
|
2183
2193
|
zIndex: 9999,
|
|
2184
2194
|
borderWidth: 1,
|
|
2185
2195
|
borderStyle: "dashed",
|
|
2186
|
-
borderColor:
|
|
2196
|
+
borderColor: f.palette.ink["6s"]
|
|
2187
2197
|
}
|
|
2188
2198
|
}
|
|
2189
2199
|
) }) : null;
|
|
2190
|
-
},
|
|
2191
|
-
const { id: t, toolbar: o } =
|
|
2192
|
-
toolbar:
|
|
2200
|
+
}, zr = ({ render: e }) => {
|
|
2201
|
+
const { id: t, toolbar: o } = me((s) => ({
|
|
2202
|
+
toolbar: sn(s).toolbar
|
|
2193
2203
|
})), { mode: r } = $(), { isActiveSelectable: i } = H((s, l) => {
|
|
2194
2204
|
const a = l.getEvent("selected").contains(t) && t !== _, d = a ? Ue(l.node(t).get()) : !1;
|
|
2195
2205
|
return { isActiveSelectable: a && d };
|
|
2196
2206
|
});
|
|
2197
2207
|
return /* @__PURE__ */ w(ie, { children: [
|
|
2198
2208
|
i && r === "full" && /* @__PURE__ */ w(ie, { children: [
|
|
2199
|
-
/* @__PURE__ */ n(
|
|
2209
|
+
/* @__PURE__ */ n(Gr, { children: o ? Ye(o) : /* @__PURE__ */ n(Ur, {}) }),
|
|
2200
2210
|
/* @__PURE__ */ n(_r, {})
|
|
2201
2211
|
] }),
|
|
2202
2212
|
e
|
|
2203
2213
|
] });
|
|
2204
|
-
},
|
|
2205
|
-
const { dom: t } =
|
|
2214
|
+
}, Gr = ({ children: e }) => {
|
|
2215
|
+
const { dom: t } = me((s) => ({ dom: s.dom })), { document: o } = ve(), { floatingStyles: r, refs: i } = le({
|
|
2206
2216
|
open: !0,
|
|
2207
2217
|
placement: "bottom-start",
|
|
2208
|
-
middleware: [
|
|
2218
|
+
middleware: [Ce(), qe(4)],
|
|
2209
2219
|
whileElementsMounted: de
|
|
2210
2220
|
});
|
|
2211
2221
|
return V(() => {
|
|
@@ -2216,8 +2226,8 @@ const ir = [
|
|
|
2216
2226
|
css: {
|
|
2217
2227
|
paddingBlock: 4,
|
|
2218
2228
|
paddingInline: 6,
|
|
2219
|
-
backgroundColor:
|
|
2220
|
-
color:
|
|
2229
|
+
backgroundColor: f.palette.ink["6s"],
|
|
2230
|
+
color: f.palette.white["6s"],
|
|
2221
2231
|
borderRadius: 4
|
|
2222
2232
|
},
|
|
2223
2233
|
ref: i.setFloating,
|
|
@@ -2234,9 +2244,9 @@ const ir = [
|
|
|
2234
2244
|
gap: 4
|
|
2235
2245
|
},
|
|
2236
2246
|
children: [
|
|
2247
|
+
/* @__PURE__ */ n(nn, {}),
|
|
2237
2248
|
/* @__PURE__ */ n(rn, {}),
|
|
2238
|
-
/* @__PURE__ */ n(on, {})
|
|
2239
|
-
/* @__PURE__ */ n(sn, {})
|
|
2249
|
+
/* @__PURE__ */ n(on, {})
|
|
2240
2250
|
]
|
|
2241
2251
|
}
|
|
2242
2252
|
), To = ({
|
|
@@ -2244,8 +2254,8 @@ const ir = [
|
|
|
2244
2254
|
insert: t,
|
|
2245
2255
|
resolver: o,
|
|
2246
2256
|
handlers: r,
|
|
2247
|
-
|
|
2248
|
-
|
|
2257
|
+
variableDefinitions: i,
|
|
2258
|
+
headerActions: s,
|
|
2249
2259
|
children: l
|
|
2250
2260
|
}) => {
|
|
2251
2261
|
const { screen: a } = $({
|
|
@@ -2253,9 +2263,9 @@ const ir = [
|
|
|
2253
2263
|
handlers: r,
|
|
2254
2264
|
mode: "full",
|
|
2255
2265
|
screen: "xs",
|
|
2256
|
-
variableDefinitions:
|
|
2266
|
+
variableDefinitions: i
|
|
2257
2267
|
});
|
|
2258
|
-
return /* @__PURE__ */ w(rt, { enabled: !0, onRender:
|
|
2268
|
+
return /* @__PURE__ */ w(rt, { enabled: !0, onRender: zr, resolver: o, children: [
|
|
2259
2269
|
/* @__PURE__ */ w(
|
|
2260
2270
|
"div",
|
|
2261
2271
|
{
|
|
@@ -2268,23 +2278,23 @@ const ir = [
|
|
|
2268
2278
|
color: fe.white["6s"]
|
|
2269
2279
|
},
|
|
2270
2280
|
children: [
|
|
2271
|
-
/* @__PURE__ */ n(dr, {}),
|
|
2281
|
+
/* @__PURE__ */ n(dr, { actions: s }),
|
|
2272
2282
|
/* @__PURE__ */ w("div", { css: { display: "flex", overflow: "hidden", flex: 1 }, children: [
|
|
2273
2283
|
/* @__PURE__ */ n($r, { insert: t }),
|
|
2274
2284
|
/* @__PURE__ */ n(
|
|
2275
|
-
|
|
2285
|
+
ut,
|
|
2276
2286
|
{
|
|
2277
2287
|
viewport: {
|
|
2278
|
-
width: (d) => a === "lg" ? Math.max(d,
|
|
2288
|
+
width: (d) => a === "lg" ? Math.max(d, We[a]) : We[a]
|
|
2279
2289
|
},
|
|
2280
|
-
children:
|
|
2290
|
+
children: l
|
|
2281
2291
|
}
|
|
2282
2292
|
)
|
|
2283
2293
|
] })
|
|
2284
2294
|
]
|
|
2285
2295
|
}
|
|
2286
2296
|
),
|
|
2287
|
-
/* @__PURE__ */ n(
|
|
2297
|
+
/* @__PURE__ */ n(an, {})
|
|
2288
2298
|
] });
|
|
2289
2299
|
};
|
|
2290
2300
|
export {
|
|
@@ -2294,13 +2304,13 @@ export {
|
|
|
2294
2304
|
Wo as BorderToolbar,
|
|
2295
2305
|
No as ChildNodesToolbar,
|
|
2296
2306
|
Ro as ColorPickerContent,
|
|
2297
|
-
|
|
2307
|
+
Le as ColorPickerPopover,
|
|
2298
2308
|
Ao as ColorPreview,
|
|
2299
|
-
|
|
2309
|
+
Lt as ColorToolbar,
|
|
2300
2310
|
Do as ColorVariantToolbar,
|
|
2301
2311
|
Bo as ColumnGapToolbar,
|
|
2302
|
-
|
|
2303
|
-
|
|
2312
|
+
Nt as CssFontWeightToolbar,
|
|
2313
|
+
xt as CssSizeInput,
|
|
2304
2314
|
Po as CssTextAlignToolbar,
|
|
2305
2315
|
jo as CssWidthToolbar,
|
|
2306
2316
|
ko as DegreePicker,
|
|
@@ -2310,21 +2320,21 @@ export {
|
|
|
2310
2320
|
vo as FlexToolbar,
|
|
2311
2321
|
Fo as FlexWrapToolbar,
|
|
2312
2322
|
Oo as FontSizeToolbar,
|
|
2313
|
-
|
|
2323
|
+
ut as FramePreview,
|
|
2314
2324
|
Ho as GridAlignItemsToolbar,
|
|
2315
2325
|
$o as HeightToolbar,
|
|
2316
2326
|
_o as HtmlAnchorTargetToolbar,
|
|
2317
|
-
|
|
2318
|
-
|
|
2327
|
+
zo as ImageSourceSelection,
|
|
2328
|
+
Go as InsertInlineToolbar,
|
|
2319
2329
|
Uo as InsertLinkToolbar,
|
|
2320
2330
|
Zo as JustifyContentToolbar,
|
|
2321
2331
|
Yo as JustifyItemsToolbar,
|
|
2322
2332
|
mo as LineHeightToolbar,
|
|
2323
2333
|
Xo as MarginToolbar,
|
|
2324
2334
|
xo as MinWidthToolbar,
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2335
|
+
on as NodeDeleteToolbar,
|
|
2336
|
+
nn as NodeDragToolbar,
|
|
2337
|
+
rn as NodeNameToolbar,
|
|
2328
2338
|
qo as NumberField,
|
|
2329
2339
|
Jo as NumberFieldMixOptions,
|
|
2330
2340
|
Ko as ObjectFitToolbar,
|
|
@@ -2333,16 +2343,16 @@ export {
|
|
|
2333
2343
|
ts as RowGapToolbar,
|
|
2334
2344
|
ns as SvgSourceToolbar,
|
|
2335
2345
|
rs as TagNameToolbar,
|
|
2336
|
-
|
|
2346
|
+
Et as TextSizeVariantToolbar,
|
|
2337
2347
|
yo as TextStyleGroupToolbar,
|
|
2338
|
-
|
|
2339
|
-
|
|
2348
|
+
Wt as TextStyleToolbar,
|
|
2349
|
+
Rt as TextTransformToolbar,
|
|
2340
2350
|
J as ToolbarField,
|
|
2341
2351
|
os as ToolbarGroup,
|
|
2342
2352
|
ss as VisibilityToolbar,
|
|
2343
2353
|
oe as WbButton,
|
|
2344
|
-
|
|
2345
|
-
|
|
2354
|
+
At as WbButtonGroup,
|
|
2355
|
+
qt as WbCollapse,
|
|
2346
2356
|
is as WbColorPicker,
|
|
2347
2357
|
as as WbDatePicker,
|
|
2348
2358
|
go as WbDialog,
|
|
@@ -2353,26 +2363,26 @@ export {
|
|
|
2353
2363
|
hs as WbDropzone,
|
|
2354
2364
|
Ln as WbFloating,
|
|
2355
2365
|
us as WbFloatingClose,
|
|
2356
|
-
|
|
2357
|
-
|
|
2366
|
+
bt as WbFloatingContent,
|
|
2367
|
+
ft as WbFloatingContext,
|
|
2358
2368
|
wo as WbFormLabel,
|
|
2359
2369
|
I as WbIcon,
|
|
2360
2370
|
W as WbIconButton,
|
|
2361
|
-
|
|
2362
|
-
|
|
2371
|
+
ze as WbInput,
|
|
2372
|
+
mt as WbInputNumber,
|
|
2363
2373
|
ps as WbLoadingOverlay,
|
|
2364
2374
|
gs as WbMenu,
|
|
2365
2375
|
fs as WbMenuItem,
|
|
2366
2376
|
bs as WbMenuList,
|
|
2367
2377
|
ws as WbMenuTrigger,
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2378
|
+
yt as WbPopover,
|
|
2379
|
+
St as WbPopoverClose,
|
|
2380
|
+
Mt as WbPopoverContent,
|
|
2381
|
+
Tt as WbPopoverTrigger,
|
|
2382
|
+
He as WbRadioButton,
|
|
2373
2383
|
ce as WbScrollView,
|
|
2374
|
-
|
|
2375
|
-
|
|
2384
|
+
vt as WbSelect,
|
|
2385
|
+
Jt as WbSvgLoader,
|
|
2376
2386
|
ks as WbSwitch,
|
|
2377
2387
|
ms as WbTab,
|
|
2378
2388
|
Cs as WbTabContent,
|
|
@@ -2388,5 +2398,5 @@ export {
|
|
|
2388
2398
|
$ as useEditor,
|
|
2389
2399
|
Ls as useEditorResponsive,
|
|
2390
2400
|
Ws as useInlineEditable,
|
|
2391
|
-
|
|
2401
|
+
wt as useWbFloatingContext
|
|
2392
2402
|
};
|