@janbox/storefront-builder 2.0.8 → 2.0.9
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/{countdown-timer.inspector-BZH-hb1h.js → countdown-timer.inspector-EFXiJ973.js} +51 -52
- package/dist/{dataset-BMKs5zYr.js → dataset-DQ21hyBo.js} +42 -43
- package/dist/editor.js +83 -84
- package/dist/index-Cx5nImHp.js +4 -0
- package/dist/index.js +101 -102
- package/dist/style.css +1 -1
- package/dist/templates.js +7 -8
- package/dist/{tooltip-BTVACKyw.js → tooltip-Bi1eNiUc.js} +1 -1
- package/package.json +1 -1
- package/dist/index-DWK1bwW0.js +0 -4
package/dist/{countdown-timer.inspector-BZH-hb1h.js → countdown-timer.inspector-EFXiJ973.js}
RENAMED
|
@@ -7,7 +7,7 @@ import { BubbleMenu as zo } from "@tiptap/react/menus";
|
|
|
7
7
|
import { StarterKit as Fo } from "@tiptap/starter-kit";
|
|
8
8
|
import { isFunction as jo, merge as zn, set as Fn, isNumber as wt, isNil as D, isUndefined as Kt, get as Ke, parseInt as Zo, trimStart as Xt, isString as de } from "lodash-es";
|
|
9
9
|
import { useFrame as Yt } from "react-frame-component";
|
|
10
|
-
import { f as oe, g as kt, t as v, ac as re, a5 as B, a6 as k, b as Ye, M as jn, av as $o, aw as _o, ax as Uo, ay as Zn, ag as Go, as as Fe, ar as je, aq as Ze, af as $n, ap as qo, az as Jo, Q as Ne, ai as $e, aa as ae, ab as Y, ad as Ve, E as ht, O as $t, a7 as Se, a8 as Le, a9 as Te, at as ce, a as Ko, Y as H, F as Xo, au as Yo, a3 as Ce, aA as He, aB as Qo, N as Oe, a2 as er, p as tr, v as nr, w as or, r as rr, o as ar, c as ir, d as sr, P as Nn, e as lr } from "./dataset-
|
|
10
|
+
import { f as oe, g as kt, t as v, ac as re, a5 as B, a6 as k, b as Ye, M as jn, av as $o, aw as _o, ax as Uo, ay as Zn, ag as Go, as as Fe, ar as je, aq as Ze, af as $n, ap as qo, az as Jo, Q as Ne, ai as $e, aa as ae, ab as Y, ad as Ve, E as ht, O as $t, a7 as Se, a8 as Le, a9 as Te, at as ce, a as Ko, Y as H, F as Xo, au as Yo, a3 as Ce, aA as He, aB as Qo, N as Oe, a2 as er, p as tr, v as nr, w as or, r as rr, o as ar, c as ir, d as sr, P as Nn, e as lr } from "./dataset-DQ21hyBo.js";
|
|
11
11
|
import { useControllableState as Re } from "@janbox/storefront-ui/hooks";
|
|
12
12
|
import { ClassNames as dr } from "@emotion/react";
|
|
13
13
|
import { useMergeRefs as Qt, useFloating as Rt, autoUpdate as yt, offset as St, flip as Lt, size as en, useClick as tn, useHover as cr, safePolygon as ur, useDismiss as nn, useRole as on, useInteractions as rn, useFloatingParentNodeId as hr, FloatingTree as pr, FloatingPortal as an } from "@floating-ui/react";
|
|
@@ -17,7 +17,6 @@ import "react-colorful";
|
|
|
17
17
|
import { OverlayScrollbarsComponent as fr } from "overlayscrollbars-react";
|
|
18
18
|
import { useVirtualizer as Cr } from "@tanstack/react-virtual";
|
|
19
19
|
import vr, { useDropzone as br } from "react-dropzone";
|
|
20
|
-
import "react-datepicker/dist/react-datepicker.css";
|
|
21
20
|
import { DatePicker as xr } from "react-datepicker";
|
|
22
21
|
import { useNode as ne, Element as wr, ROOT_NODE as kr, Frame as Rr, Editor as yr, DefaultEventHandlers as Sr } from "@craftjs/core";
|
|
23
22
|
import { flatten as _n } from "flat";
|
|
@@ -25,7 +24,7 @@ import { getGridProps as Lr, getCellProps as Tr, GRID_MINIMUM_COLS as Mn, GRID_M
|
|
|
25
24
|
import { getResponsiveProp as $r, getColorShadesByVariant as _r } from "@janbox/storefront-ui/utils";
|
|
26
25
|
import { useToggle as Un } from "usehooks-ts";
|
|
27
26
|
import { Draggable as ln, DragDropContext as dn, Droppable as cn } from "@hello-pangea/dnd";
|
|
28
|
-
import { W as Ur } from "./tooltip-
|
|
27
|
+
import { W as Ur } from "./tooltip-Bi1eNiUc.js";
|
|
29
28
|
const O = (e = {}) => {
|
|
30
29
|
const { id: o } = ne(), r = e?.nodeId ?? o, { nodeProps: n, actions: a } = oe((l) => ({
|
|
31
30
|
nodeProps: l.nodes[r ?? o]?.data.props ?? {}
|
|
@@ -105,7 +104,7 @@ const O = (e = {}) => {
|
|
|
105
104
|
value: "neutral",
|
|
106
105
|
label: "Neutral"
|
|
107
106
|
}
|
|
108
|
-
],
|
|
107
|
+
], Vl = {
|
|
109
108
|
xs: 390,
|
|
110
109
|
sm: 768,
|
|
111
110
|
md: 1280,
|
|
@@ -1219,7 +1218,7 @@ const O = (e = {}) => {
|
|
|
1219
1218
|
]
|
|
1220
1219
|
}
|
|
1221
1220
|
);
|
|
1222
|
-
},
|
|
1221
|
+
}, Hl = ({ options: e, deps: o, ref: r }) => {
|
|
1223
1222
|
const { document: n } = Yt(), a = Ho(
|
|
1224
1223
|
{
|
|
1225
1224
|
...e,
|
|
@@ -3357,7 +3356,7 @@ const O = (e = {}) => {
|
|
|
3357
3356
|
label: "New tab",
|
|
3358
3357
|
value: "_blank"
|
|
3359
3358
|
}
|
|
3360
|
-
].map((a) => /* @__PURE__ */ t(Y, { value: a.value, size: "28", children: a.label }, a.value)) }) }),
|
|
3359
|
+
].map((a) => /* @__PURE__ */ t(Y, { value: a.value, size: "28", children: a.label }, a.value)) }) }), Ol = () => {
|
|
3361
3360
|
const { nodeProps: e, setNodeResponsiveProps: o, setNodeProps: r } = Gr(), { getResponsiveProp: n, currentScreen: a } = W(), i = (y, T = a) => {
|
|
3362
3361
|
r({
|
|
3363
3362
|
sx: H(y, T)
|
|
@@ -3501,7 +3500,7 @@ const O = (e = {}) => {
|
|
|
3501
3500
|
)
|
|
3502
3501
|
}
|
|
3503
3502
|
) });
|
|
3504
|
-
},
|
|
3503
|
+
}, Dl = () => {
|
|
3505
3504
|
const { nodeProps: e, setNodeProps: o } = uo(), { currentScreen: r, getResponsiveProp: n } = W(), a = (p, h = r) => {
|
|
3506
3505
|
o({ sx: H(p, h) });
|
|
3507
3506
|
}, i = {
|
|
@@ -3600,7 +3599,7 @@ const O = (e = {}) => {
|
|
|
3600
3599
|
rel: n.target.value ? n.target.value : void 0
|
|
3601
3600
|
});
|
|
3602
3601
|
}, value: e.rel ?? "", placeholder: "nofollow, noreferrer, noopener, ugc" }) }) });
|
|
3603
|
-
},
|
|
3602
|
+
}, zl = () => {
|
|
3604
3603
|
const { nodeProps: e, setNodeResponsiveProps: o, setNodeProps: r } = Cn(), { currentScreen: n, getResponsiveProp: a } = W(), i = (m, x = n) => {
|
|
3605
3604
|
r({ sx: H(m, x) });
|
|
3606
3605
|
}, s = {
|
|
@@ -5308,7 +5307,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5308
5307
|
n.value
|
|
5309
5308
|
);
|
|
5310
5309
|
}) }) });
|
|
5311
|
-
},
|
|
5310
|
+
}, Fl = ({ readonlyTo: e }) => {
|
|
5312
5311
|
const { nodeProps: o, setNodeProps: r } = Mt(), { currentScreen: n, getResponsiveProp: a } = W(), i = (p, h = n) => {
|
|
5313
5312
|
r({
|
|
5314
5313
|
sx: H(p, h)
|
|
@@ -5414,7 +5413,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5414
5413
|
},
|
|
5415
5414
|
s.value
|
|
5416
5415
|
)) }) });
|
|
5417
|
-
},
|
|
5416
|
+
}, jl = () => {
|
|
5418
5417
|
const { nodeProps: e, setNodeProps: o } = Po(), { currentScreen: r, getResponsiveProp: n } = W(), a = (f, R = r) => {
|
|
5419
5418
|
o({ sx: H(f, R) });
|
|
5420
5419
|
}, i = {
|
|
@@ -5558,7 +5557,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5558
5557
|
)
|
|
5559
5558
|
});
|
|
5560
5559
|
}, checked: a !== 0 }) });
|
|
5561
|
-
},
|
|
5560
|
+
}, Zl = () => {
|
|
5562
5561
|
const { nodeProps: e, setNodeProps: o } = In(), { currentScreen: r, getResponsiveProp: n } = W(), a = (p, h = r) => {
|
|
5563
5562
|
o({ sx: H(p, h) });
|
|
5564
5563
|
}, i = {
|
|
@@ -5767,7 +5766,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5767
5766
|
] })
|
|
5768
5767
|
] })
|
|
5769
5768
|
] });
|
|
5770
|
-
},
|
|
5769
|
+
}, $l = () => /* @__PURE__ */ t(No, {}), _l = () => {
|
|
5771
5770
|
const { id: e } = ne(), { document: o } = Yt(), { actions: r, query: n } = oe(), [a, i] = E(!1), {
|
|
5772
5771
|
dom: s,
|
|
5773
5772
|
name: l,
|
|
@@ -5858,7 +5857,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5858
5857
|
]
|
|
5859
5858
|
}
|
|
5860
5859
|
) }) }) });
|
|
5861
|
-
},
|
|
5860
|
+
}, Ul = () => {
|
|
5862
5861
|
const { dom: e } = ne((a) => ({
|
|
5863
5862
|
dom: a.dom
|
|
5864
5863
|
})), { window: o } = Yt(), [r, n] = E(null);
|
|
@@ -5896,7 +5895,7 @@ const bs = ({ readonlyTo: e }) => {
|
|
|
5896
5895
|
}
|
|
5897
5896
|
}
|
|
5898
5897
|
) : null;
|
|
5899
|
-
},
|
|
5898
|
+
}, Gl = () => /* @__PURE__ */ t(No, { availableTags: ["h1", "h2", "h3", "h4", "h5", "h6", "div"] }), nt = () => O({
|
|
5900
5899
|
transform: Wr
|
|
5901
5900
|
}), Bs = () => {
|
|
5902
5901
|
const { nodeProps: e, setNodeProps: o } = nt();
|
|
@@ -6051,7 +6050,7 @@ const Ns = [
|
|
|
6051
6050
|
});
|
|
6052
6051
|
}, source: e.src })
|
|
6053
6052
|
] });
|
|
6054
|
-
},
|
|
6053
|
+
}, ql = () => {
|
|
6055
6054
|
const { currentScreen: e, getResponsiveProp: o } = W(), { readOnly: r } = ne((g) => ({
|
|
6056
6055
|
readOnly: g.dom?.getAttribute("aria-readonly") === Ce.True
|
|
6057
6056
|
})), { nodeProps: n, setNodeProps: a } = nt(), i = o(n.sx ?? {}, "aspectRatio") ?? "auto", s = (g, m = e) => {
|
|
@@ -6137,7 +6136,7 @@ const Ns = [
|
|
|
6137
6136
|
] });
|
|
6138
6137
|
}, Vs = () => O({
|
|
6139
6138
|
transform: Ar
|
|
6140
|
-
}),
|
|
6139
|
+
}), Jl = ({ children: e, data: o }) => {
|
|
6141
6140
|
const { resolver: r } = oe((a) => ({
|
|
6142
6141
|
resolver: a.options.resolver
|
|
6143
6142
|
})), n = xt(() => {
|
|
@@ -6173,7 +6172,7 @@ const Ns = [
|
|
|
6173
6172
|
transform: jr
|
|
6174
6173
|
}), Zs = () => O({
|
|
6175
6174
|
transform: Zr
|
|
6176
|
-
}),
|
|
6175
|
+
}), Kl = ({ resolver: e, children: o, ...r }) => /* @__PURE__ */ t(
|
|
6177
6176
|
yr,
|
|
6178
6177
|
{
|
|
6179
6178
|
enabled: !1,
|
|
@@ -6233,7 +6232,7 @@ const Us = () => {
|
|
|
6233
6232
|
}, Gs = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6234
6233
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.73122 20.833C7.22415 21.0977 6.6107 21.0511 6.14944 20.7129C5.68817 20.3746 5.45931 19.8035 5.55932 19.2404L6.36865 14.6014L2.96123 11.3361C2.54474 10.9389 2.39209 10.3385 2.56833 9.79059C2.74456 9.24271 3.21862 8.84388 3.78858 8.764L8.51955 8.08772L10.6554 3.82694C10.9087 3.31595 11.4297 2.99268 12 2.99268C12.5703 2.99268 13.0913 3.31595 13.3446 3.82694L15.4804 8.08772L20.2114 8.764C20.7814 8.84388 21.2554 9.24271 21.4317 9.79059C21.6079 10.3385 21.4553 10.9389 21.0388 11.3361L17.6313 14.6014L18.4407 19.2414C18.5407 19.8045 18.3118 20.3756 17.8506 20.7139C17.3893 21.0521 16.7758 21.0987 16.2688 20.834L12 18.6281L7.73122 20.833Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6235
6234
|
</svg>
|
|
6236
|
-
`,
|
|
6235
|
+
`, Xl = () => {
|
|
6237
6236
|
const { nodeProps: e, setNodeProps: o, setNodeResponsiveProps: r } = Vs(), { currentScreen: n, getResponsiveProp: a } = W(), i = (x, f = n) => {
|
|
6238
6237
|
o({ sx: H(x, f) });
|
|
6239
6238
|
}, s = {
|
|
@@ -6580,7 +6579,7 @@ const Us = () => {
|
|
|
6580
6579
|
onChange: a
|
|
6581
6580
|
}
|
|
6582
6581
|
) });
|
|
6583
|
-
},
|
|
6582
|
+
}, Yl = () => {
|
|
6584
6583
|
const { nodeProps: e, setNodeProps: o } = Wo(), { currentScreen: r, getResponsiveProp: n } = W(), a = (c, p = r) => {
|
|
6585
6584
|
o({ sx: H(c, p) });
|
|
6586
6585
|
}, i = {
|
|
@@ -6698,7 +6697,7 @@ const Us = () => {
|
|
|
6698
6697
|
]
|
|
6699
6698
|
}
|
|
6700
6699
|
) });
|
|
6701
|
-
},
|
|
6700
|
+
}, Ql = () => {
|
|
6702
6701
|
const { nodeProps: e, setNodeResponsiveProps: o, setNodeProps: r } = Ht(), { getResponsiveProp: n, currentScreen: a } = W(), i = (m, x = a) => {
|
|
6703
6702
|
r({ sx: H(m, x) });
|
|
6704
6703
|
}, s = () => /* @__PURE__ */ t(
|
|
@@ -6802,7 +6801,7 @@ const Us = () => {
|
|
|
6802
6801
|
] })
|
|
6803
6802
|
] })
|
|
6804
6803
|
] });
|
|
6805
|
-
},
|
|
6804
|
+
}, ed = () => {
|
|
6806
6805
|
const { nodeProps: e, setNodeProps: o } = js(), { currentScreen: r, getResponsiveProp: n } = W(), a = (h, C = r) => {
|
|
6807
6806
|
o({ sx: H(h, C) });
|
|
6808
6807
|
}, i = {
|
|
@@ -6878,7 +6877,7 @@ const Us = () => {
|
|
|
6878
6877
|
] })
|
|
6879
6878
|
] })
|
|
6880
6879
|
] });
|
|
6881
|
-
},
|
|
6880
|
+
}, td = () => {
|
|
6882
6881
|
const { nodeProps: e, setNodeProps: o, setNodeResponsiveProps: r } = zs(), { currentScreen: n, getResponsiveProp: a } = W(), i = (g, m = n) => {
|
|
6883
6882
|
o({
|
|
6884
6883
|
sx: H(g, m)
|
|
@@ -7235,7 +7234,7 @@ const Us = () => {
|
|
|
7235
7234
|
});
|
|
7236
7235
|
};
|
|
7237
7236
|
return /* @__PURE__ */ t(L, { name: "Open mode", children: /* @__PURE__ */ t(Q, { value: o.openMode, onSelectionChange: i, children: a.map((s) => /* @__PURE__ */ t(Y, { value: s.value, children: s.label }, s.value)) }) });
|
|
7238
|
-
},
|
|
7237
|
+
}, nd = () => {
|
|
7239
7238
|
const { nodeProps: e, setNodeProps: o } = Vt(), { getResponsiveProp: r, currentScreen: n } = W(), a = (g, m = n) => {
|
|
7240
7239
|
o({ sx: H(g, m) });
|
|
7241
7240
|
}, i = {
|
|
@@ -7319,7 +7318,7 @@ const Us = () => {
|
|
|
7319
7318
|
] })
|
|
7320
7319
|
] })
|
|
7321
7320
|
] });
|
|
7322
|
-
},
|
|
7321
|
+
}, od = () => {
|
|
7323
7322
|
const { currentScreen: e, getResponsiveProp: o } = W(), { nodeProps: r, setNodeProps: n } = Zs(), a = {
|
|
7324
7323
|
aspectRatio: o(r.sx ?? {}, "aspectRatio")
|
|
7325
7324
|
}, i = (C, g = e) => {
|
|
@@ -7434,7 +7433,7 @@ const Us = () => {
|
|
|
7434
7433
|
] })
|
|
7435
7434
|
] })
|
|
7436
7435
|
] });
|
|
7437
|
-
},
|
|
7436
|
+
}, rd = () => {
|
|
7438
7437
|
const { nodeProps: e, setNodeProps: o } = Os(), { getResponsiveProp: r, currentScreen: n } = W(), a = (p, h = n) => {
|
|
7439
7438
|
o({ sx: H(p, h) });
|
|
7440
7439
|
}, i = {
|
|
@@ -7520,7 +7519,7 @@ const Us = () => {
|
|
|
7520
7519
|
] })
|
|
7521
7520
|
] })
|
|
7522
7521
|
] });
|
|
7523
|
-
},
|
|
7522
|
+
}, ad = () => {
|
|
7524
7523
|
const { nodeProps: e, setNodeProps: o } = Ds(), { getResponsiveProp: r, currentScreen: n } = W(), a = (c, p = n) => {
|
|
7525
7524
|
o({ sx: H(c, p) });
|
|
7526
7525
|
}, i = {
|
|
@@ -7969,7 +7968,7 @@ const Us = () => {
|
|
|
7969
7968
|
] }, l.value)) })
|
|
7970
7969
|
] }) })
|
|
7971
7970
|
] }) });
|
|
7972
|
-
},
|
|
7971
|
+
}, id = () => {
|
|
7973
7972
|
const { nodeProps: e, setNodeProps: o } = ot(), { getResponsiveProp: r, currentScreen: n } = W(), a = (h, C = n) => {
|
|
7974
7973
|
o({ sx: H(h, C) });
|
|
7975
7974
|
}, i = {
|
|
@@ -8087,34 +8086,34 @@ const Us = () => {
|
|
|
8087
8086
|
};
|
|
8088
8087
|
export {
|
|
8089
8088
|
lo as $,
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8089
|
+
nd as A,
|
|
8090
|
+
rd as B,
|
|
8091
|
+
Jl as C,
|
|
8092
|
+
_l as D,
|
|
8094
8093
|
Vs as E,
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8094
|
+
Zl as F,
|
|
8095
|
+
Ol as G,
|
|
8096
|
+
Gl as H,
|
|
8097
|
+
td as I,
|
|
8099
8098
|
Ht as J,
|
|
8100
8099
|
Fs as K,
|
|
8101
|
-
|
|
8102
|
-
|
|
8100
|
+
zl as L,
|
|
8101
|
+
Xl as M,
|
|
8103
8102
|
te as N,
|
|
8104
8103
|
Wo as O,
|
|
8105
|
-
|
|
8104
|
+
$l as P,
|
|
8106
8105
|
js as Q,
|
|
8107
8106
|
Zs as R,
|
|
8108
8107
|
xs as S,
|
|
8109
|
-
|
|
8110
|
-
|
|
8108
|
+
Hl as T,
|
|
8109
|
+
ed as U,
|
|
8111
8110
|
ks as V,
|
|
8112
8111
|
ea as W,
|
|
8113
8112
|
L as X,
|
|
8114
8113
|
A as Y,
|
|
8115
8114
|
be as Z,
|
|
8116
8115
|
qn as _,
|
|
8117
|
-
|
|
8116
|
+
Ul as a,
|
|
8118
8117
|
We as a0,
|
|
8119
8118
|
Pt as a1,
|
|
8120
8119
|
Ue as a2,
|
|
@@ -8139,7 +8138,7 @@ export {
|
|
|
8139
8138
|
na as aL,
|
|
8140
8139
|
Aa as aM,
|
|
8141
8140
|
W as aN,
|
|
8142
|
-
|
|
8141
|
+
Vl as aa,
|
|
8143
8142
|
_a as ab,
|
|
8144
8143
|
ue as ac,
|
|
8145
8144
|
G as ad,
|
|
@@ -8165,17 +8164,17 @@ export {
|
|
|
8165
8164
|
io as ax,
|
|
8166
8165
|
z as ay,
|
|
8167
8166
|
et as az,
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8167
|
+
Fl as b,
|
|
8168
|
+
Dl as c,
|
|
8169
|
+
Kl as d,
|
|
8170
|
+
ad as e,
|
|
8171
|
+
id as f,
|
|
8172
|
+
jl as g,
|
|
8173
|
+
ql as h,
|
|
8174
|
+
Ql as i,
|
|
8175
|
+
Yl as j,
|
|
8177
8176
|
No as k,
|
|
8178
|
-
|
|
8177
|
+
od as l,
|
|
8179
8178
|
Vt as m,
|
|
8180
8179
|
Hs as n,
|
|
8181
8180
|
Os as o,
|
|
@@ -13,7 +13,6 @@ import { HexColorPicker as ul } from "react-colorful";
|
|
|
13
13
|
import "overlayscrollbars-react";
|
|
14
14
|
import "@tanstack/react-virtual";
|
|
15
15
|
import "react-dropzone";
|
|
16
|
-
import "react-datepicker/dist/react-datepicker.css";
|
|
17
16
|
import "react-datepicker";
|
|
18
17
|
import { useEditor as dl, useNode as O } from "@craftjs/core";
|
|
19
18
|
import { jsx as Mt, Fragment as fl, jsxs as hl } from "react/jsx-runtime";
|
|
@@ -1906,7 +1905,7 @@ function Jl() {
|
|
|
1906
1905
|
})(Xt)), Xt;
|
|
1907
1906
|
}
|
|
1908
1907
|
var Ql = Jl();
|
|
1909
|
-
const Fi = /* @__PURE__ */ Ul(Ql), tc = Fi.default || Fi,
|
|
1908
|
+
const Fi = /* @__PURE__ */ Ul(Ql), tc = Fi.default || Fi, yp = (t, e = "int", n = ",") => {
|
|
1910
1909
|
const r = (e === "int" ? ol : parseFloat)((t ?? "").toString().trim().replaceAll(n, ""));
|
|
1911
1910
|
return isNaN(r) ? void 0 : r;
|
|
1912
1911
|
};
|
|
@@ -1951,7 +1950,7 @@ const vs = (t) => t.info ?? {}, ys = (t) => t.data?.custom ?? {}, nc = (t) => {
|
|
|
1951
1950
|
return e.displayName;
|
|
1952
1951
|
const n = vs(t);
|
|
1953
1952
|
return pn(n.displayName) ? n.displayName : n.displayName?.(t.data.props) ?? t.data.displayName;
|
|
1954
|
-
}, wt = (t) => t.data.displayName,
|
|
1953
|
+
}, wt = (t) => t.data.displayName, bp = (t) => t.related ?? {}, ic = (t) => ys(t).selectable ?? vs(t).selectable ?? !0, Tp = (t, e) => {
|
|
1955
1954
|
try {
|
|
1956
1955
|
t.craft && (t.craft = {
|
|
1957
1956
|
...t.craft,
|
|
@@ -1963,7 +1962,7 @@ const vs = (t) => t.info ?? {}, ys = (t) => t.data?.custom ?? {}, nc = (t) => {
|
|
|
1963
1962
|
} catch (n) {
|
|
1964
1963
|
console.error(`Error setting related for ${t.craft?.displayName}`, n);
|
|
1965
1964
|
}
|
|
1966
|
-
},
|
|
1965
|
+
}, xp = (t, e = "xs") => e === "xs" ? t : { [e]: t }, L = (t, e) => {
|
|
1967
1966
|
const { resolved: n, ...i } = e;
|
|
1968
1967
|
return t.craft = {
|
|
1969
1968
|
displayName: n,
|
|
@@ -2178,7 +2177,7 @@ let Bi = !1;
|
|
|
2178
2177
|
const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
2179
2178
|
...Oa(we.subscribe, we.getSnapshot),
|
|
2180
2179
|
setState: we.setState
|
|
2181
|
-
}), oc = La(() => import("./index-
|
|
2180
|
+
}), oc = La(() => import("./index-Cx5nImHp.js").then((t) => ({ default: t.WbTooltip }))), ac = q(
|
|
2182
2181
|
({ tooltip: t, size: e = "24", type: n = "button", isHighlighted: i, ...r }, o) => {
|
|
2183
2182
|
const s = {
|
|
2184
2183
|
width: Number(e),
|
|
@@ -2225,7 +2224,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2225
2224
|
`, lc = ls`
|
|
2226
2225
|
from { transform: rotate(0deg); }
|
|
2227
2226
|
to { transform: rotate(360deg); }
|
|
2228
|
-
`,
|
|
2227
|
+
`, wp = q(
|
|
2229
2228
|
({
|
|
2230
2229
|
size: t = "32",
|
|
2231
2230
|
variant: e = "contained",
|
|
@@ -2431,7 +2430,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2431
2430
|
}
|
|
2432
2431
|
)
|
|
2433
2432
|
] });
|
|
2434
|
-
},
|
|
2433
|
+
}, Cp = '<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19,13H5a1,1,0,0,1,0-2H19a1,1,0,0,1,0,2Z"></path></svg>', cc = `<svg width="24" height="24" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2435
2434
|
<path d="M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z" fill="currentColor"/>
|
|
2436
2435
|
</svg>
|
|
2437
2436
|
`, Ss = ut({}), Es = () => G(Ss), ji = ({
|
|
@@ -2535,7 +2534,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2535
2534
|
},
|
|
2536
2535
|
children: /* @__PURE__ */ g(ul, { ...e })
|
|
2537
2536
|
}
|
|
2538
|
-
), hc = ut({}), Rs = () => G(hc),
|
|
2537
|
+
), hc = ut({}), Rs = () => G(hc), Ap = q(({ children: t, ...e }, n) => {
|
|
2539
2538
|
const { getReferenceProps: i, context: r } = Rs(), o = W([r.refs.setReference, cs(t, "ref"), n]);
|
|
2540
2539
|
return Gt(t) ? In(
|
|
2541
2540
|
t,
|
|
@@ -2544,7 +2543,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2544
2543
|
ref: o
|
|
2545
2544
|
})
|
|
2546
2545
|
) : /* @__PURE__ */ g("button", { type: "button", ...i(e), ref: o, children: t });
|
|
2547
|
-
}),
|
|
2546
|
+
}), Sp = q(({ style: t, ...e }, n) => {
|
|
2548
2547
|
const { getFloatingProps: i, context: r, refs: o } = Rs();
|
|
2549
2548
|
return r.open ? /* @__PURE__ */ g(Ln, { children: /* @__PURE__ */ g(
|
|
2550
2549
|
"div",
|
|
@@ -2574,7 +2573,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2574
2573
|
)
|
|
2575
2574
|
}
|
|
2576
2575
|
) }) : /* @__PURE__ */ g(yt, {});
|
|
2577
|
-
}),
|
|
2576
|
+
}), Ep = q(({ children: t, isActive: e, ...n }, i) => /* @__PURE__ */ g(
|
|
2578
2577
|
"li",
|
|
2579
2578
|
{
|
|
2580
2579
|
css: [
|
|
@@ -2597,7 +2596,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2597
2596
|
ref: i,
|
|
2598
2597
|
children: t
|
|
2599
2598
|
}
|
|
2600
|
-
)),
|
|
2599
|
+
)), Pp = q(
|
|
2601
2600
|
({ children: t, size: e = 20, ...n }, i) => /* @__PURE__ */ I("label", { css: { display: "inline-flex", alignItems: "center", gap: 8, cursor: "pointer", ...R.text.xs }, children: [
|
|
2602
2601
|
/* @__PURE__ */ I(
|
|
2603
2602
|
"span",
|
|
@@ -2645,7 +2644,7 @@ const Fn = (t) => (t && !Bi && (Bi = !0, we.initialize(t)), {
|
|
|
2645
2644
|
),
|
|
2646
2645
|
Gt(t) ? t : /* @__PURE__ */ g("span", { css: { flex: 1 }, children: t })
|
|
2647
2646
|
] })
|
|
2648
|
-
), pc = ut({}),
|
|
2647
|
+
), pc = ut({}), Rp = () => G(pc), Bn = ut({});
|
|
2649
2648
|
function jn(t) {
|
|
2650
2649
|
const e = rt(null);
|
|
2651
2650
|
return e.current === null && (e.current = t()), e.current;
|
|
@@ -7465,7 +7464,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7465
7464
|
}, Uh), ra = /* @__PURE__ */ Pc(Wh), Hh = ls`
|
|
7466
7465
|
from { transform: rotate(0deg); }
|
|
7467
7466
|
to { transform: rotate(360deg); }
|
|
7468
|
-
`,
|
|
7467
|
+
`, kp = ({
|
|
7469
7468
|
style: t,
|
|
7470
7469
|
children: e,
|
|
7471
7470
|
isLoading: n,
|
|
@@ -7507,7 +7506,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7507
7506
|
)
|
|
7508
7507
|
]
|
|
7509
7508
|
}
|
|
7510
|
-
),
|
|
7509
|
+
), Mp = q(({ children: t, ...e }, n) => /* @__PURE__ */ I(
|
|
7511
7510
|
"label",
|
|
7512
7511
|
{
|
|
7513
7512
|
css: {
|
|
@@ -7583,7 +7582,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7583
7582
|
)
|
|
7584
7583
|
]
|
|
7585
7584
|
}
|
|
7586
|
-
)),
|
|
7585
|
+
)), Vp = q(({ ...t }, e) => /* @__PURE__ */ g(
|
|
7587
7586
|
"textarea",
|
|
7588
7587
|
{
|
|
7589
7588
|
css: {
|
|
@@ -7606,7 +7605,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7606
7605
|
...t,
|
|
7607
7606
|
ref: e
|
|
7608
7607
|
}
|
|
7609
|
-
)),
|
|
7608
|
+
)), _p = q(
|
|
7610
7609
|
({ children: t, open: e = !0, collapsedSize: n = 0, orientation: i = "vertical", ...r }, o) => {
|
|
7611
7610
|
const s = rt(e), a = st(() => {
|
|
7612
7611
|
const l = {};
|
|
@@ -7628,7 +7627,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7628
7627
|
}
|
|
7629
7628
|
);
|
|
7630
7629
|
}
|
|
7631
|
-
), Gh = ut({}), sa = () => G(Gh),
|
|
7630
|
+
), Gh = ut({}), sa = () => G(Gh), Ip = q(
|
|
7632
7631
|
({ style: t, floatingPortalProps: e, floatingFocusManagerProps: n, floatingOverlayProps: i, ...r }, o) => {
|
|
7633
7632
|
const { getFloatingProps: s, context: a } = sa(), c = W([a.refs.setFloating, o]);
|
|
7634
7633
|
return /* @__PURE__ */ g(bc, { children: a.open && /* @__PURE__ */ g(Ln, { root: document.body, ...e, children: /* @__PURE__ */ g(
|
|
@@ -7674,7 +7673,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7674
7673
|
};
|
|
7675
7674
|
}, [t, o, e]), /* @__PURE__ */ g("div", { css: { display: "contents" }, ...n, ref: s });
|
|
7676
7675
|
}
|
|
7677
|
-
), zh = $h,
|
|
7676
|
+
), zh = $h, Op = q(({ ...t }, e) => /* @__PURE__ */ g(
|
|
7678
7677
|
"div",
|
|
7679
7678
|
{
|
|
7680
7679
|
css: {
|
|
@@ -7700,7 +7699,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7700
7699
|
<rect width="13.5" height="13.5" fill="white" transform="translate(5 5)" />
|
|
7701
7700
|
</clipPath>
|
|
7702
7701
|
</defs>
|
|
7703
|
-
</svg>`,
|
|
7702
|
+
</svg>`, Lp = q(
|
|
7704
7703
|
({ children: t, closeable: e = !0, ...n }, i) => /* @__PURE__ */ I(
|
|
7705
7704
|
"div",
|
|
7706
7705
|
{
|
|
@@ -7745,7 +7744,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7745
7744
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 21V21C7.029 21 3 16.971 3 12V12C3 7.029 7.029 3 12 3V3C16.971 3 21 7.029 21 12V12C21 16.971 16.971 21 12 21Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7746
7745
|
<path d="M12 12V17" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7747
7746
|
</svg>
|
|
7748
|
-
`, Fe = Ga(Wa),
|
|
7747
|
+
`, Fe = Ga(Wa), Np = ({ color: t, onChange: e }) => {
|
|
7749
7748
|
const n = (s) => {
|
|
7750
7749
|
e?.(Fe[s.currentTarget.value]);
|
|
7751
7750
|
}, { theme: i } = Fn(), r = On(t, i.palette)?.hex();
|
|
@@ -7796,7 +7795,7 @@ const Uh = (t, e) => qn(t) ? new jh(e) : new Bh(e, {
|
|
|
7796
7795
|
}
|
|
7797
7796
|
)
|
|
7798
7797
|
] });
|
|
7799
|
-
},
|
|
7798
|
+
}, Fp = ({
|
|
7800
7799
|
color: t,
|
|
7801
7800
|
onChange: e,
|
|
7802
7801
|
children: n,
|
|
@@ -8610,7 +8609,7 @@ L(Ia, {
|
|
|
8610
8609
|
displayName: "Video"
|
|
8611
8610
|
}
|
|
8612
8611
|
});
|
|
8613
|
-
const
|
|
8612
|
+
const Bp = {
|
|
8614
8613
|
// Root
|
|
8615
8614
|
[E.Root]: bs,
|
|
8616
8615
|
// Unknown
|
|
@@ -8656,7 +8655,7 @@ const jp = {
|
|
|
8656
8655
|
[E.CountdownTimer]: wa
|
|
8657
8656
|
};
|
|
8658
8657
|
export {
|
|
8659
|
-
|
|
8658
|
+
Ip as $,
|
|
8660
8659
|
va as A,
|
|
8661
8660
|
ca as B,
|
|
8662
8661
|
xa as C,
|
|
@@ -8667,21 +8666,21 @@ export {
|
|
|
8667
8666
|
ha as H,
|
|
8668
8667
|
pa as I,
|
|
8669
8668
|
vs as J,
|
|
8670
|
-
|
|
8669
|
+
bp as K,
|
|
8671
8670
|
la as L,
|
|
8672
|
-
|
|
8671
|
+
Cp as M,
|
|
8673
8672
|
wt as N,
|
|
8674
8673
|
ic as O,
|
|
8675
8674
|
fa as P,
|
|
8676
|
-
|
|
8675
|
+
yp as Q,
|
|
8677
8676
|
bs as R,
|
|
8678
8677
|
Ea as S,
|
|
8679
8678
|
Ra as T,
|
|
8680
8679
|
Ts as U,
|
|
8681
8680
|
Ia as V,
|
|
8682
8681
|
ec as W,
|
|
8683
|
-
|
|
8684
|
-
|
|
8682
|
+
Tp as X,
|
|
8683
|
+
xp as Y,
|
|
8685
8684
|
jn as Z,
|
|
8686
8685
|
Gh as _,
|
|
8687
8686
|
aa as a,
|
|
@@ -8689,39 +8688,39 @@ export {
|
|
|
8689
8688
|
rc as a1,
|
|
8690
8689
|
gt as a2,
|
|
8691
8690
|
ds as a3,
|
|
8692
|
-
|
|
8691
|
+
Pp as a4,
|
|
8693
8692
|
ac as a5,
|
|
8694
8693
|
me as a6,
|
|
8695
8694
|
uc as a7,
|
|
8696
8695
|
dc as a8,
|
|
8697
8696
|
fc as a9,
|
|
8698
8697
|
E as aA,
|
|
8699
|
-
|
|
8698
|
+
Bp as aB,
|
|
8700
8699
|
qh as aa,
|
|
8701
|
-
|
|
8700
|
+
wp as ab,
|
|
8702
8701
|
As as ac,
|
|
8703
|
-
|
|
8702
|
+
_p as ad,
|
|
8704
8703
|
ws as ae,
|
|
8705
8704
|
Nn as af,
|
|
8706
8705
|
ra as ag,
|
|
8707
|
-
|
|
8708
|
-
|
|
8706
|
+
Np as ah,
|
|
8707
|
+
Fp as ai,
|
|
8709
8708
|
Vn as aj,
|
|
8710
8709
|
Ps as ak,
|
|
8711
8710
|
zh as al,
|
|
8712
|
-
|
|
8713
|
-
|
|
8711
|
+
Op as am,
|
|
8712
|
+
Lp as an,
|
|
8714
8713
|
$h as ao,
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8714
|
+
kp as ap,
|
|
8715
|
+
Ep as aq,
|
|
8716
|
+
Sp as ar,
|
|
8717
|
+
Ap as as,
|
|
8718
|
+
Mp as at,
|
|
8719
|
+
Vp as au,
|
|
8721
8720
|
Es as av,
|
|
8722
8721
|
hc as aw,
|
|
8723
8722
|
pc as ax,
|
|
8724
|
-
|
|
8723
|
+
Rp as ay,
|
|
8725
8724
|
oa as az,
|
|
8726
8725
|
cc as b,
|
|
8727
8726
|
ya as c,
|