@surrealdb/ui 3.0.0-beta.3 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons.js +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/ui.js +196 -196
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Check as Le, Warning as Pe, Info as lt, Star as Il, Copy as Pn, ChevronDown as Sn, Edit as Nd, ChevronRight as Qr, Pause as Ld, Play as Bl, Mute as Id, Unmute as Bd, Reset as Md, Paperclip as Ml, Plus as bi, Minus as xi, Text as Fa, List as Kd, ViewList as Hd, Comment as Jd, Braces as Op, Table as Kl, Image as ep, Cursor as tp, ViewGrid as rp, TextBox as ap, Routes as ip, Surrealist as np, CheckCircle as mn, Tag as op, History as sp, Bookmark as lp, ChevronLeft as cp, Search as Qp, DotsVertical as $p, Close as Hl, ArrowUpRight as Ir, ArrowRight as pa, Variable as up, Function as dp, Circle as Jl, ErrorCircle as Oc } from "./icons.js";
|
|
2
|
-
import { AI as
|
|
2
|
+
import { AI as j6, API as C6, Account as G6, AccountPlus as E6, AccountSecure as D6, Alert as A6, ArrowDown as F6, ArrowDownFat as N6, ArrowEnter as L6, ArrowLeft as I6, ArrowLeftFat as B6, ArrowUp as M6, Atom as K6, Auth as H6, AuthKeyhole as J6, AutoFix as OG, Balance as eG, Book as tG, BrandBluesky as rG, BrandDev as aG, BrandDiscord as iG, BrandGitHub as nG, BrandInstagram as oG, BrandLinkedin as sG, BrandMedium as lG, BrandReddit as cG, BrandStackOverflow as QG, BrandX as $G, BrandYouTube as uG, BroadcastOff as dG, BroadcastOn as pG, Bucket as XG, Bug as fG, Bullhorn as PG, Business as SG, Calculator as mG, Cancel as hG, Chart as gG, Chat as TG, ChatGPT as wG, ChevronUp as yG, ChevronY as ZG, CircleFilled as _G, Claude as RG, Clock as bG, Cloud as xG, CloudClock as vG, Cog as WG, Combined as kG, Command as VG, Community as YG, Connection as qG, Console as zG, CreditCard as UG, DataSilo as jG, DataTable as CG, Database as GG, DatabaseSecure as EG, Delete as DG, Designer as AG, Discord as FG, DistributedStorage as NG, Dollar as LG, Download as IG, Drag as BG, Earth as MG, Email as KG, ExitToAp as HG, Explorer as JG, Eye as OE, EyeOff as eE, File as tE, Filter as rE, Flag as aE, Floppy as iE, FolderPlus as nE, FolderSecure as oE, Fullscreen as sE, Graphql as lE, Grid as cE, Hammer as QE, Heart as $E, Help as uE, Home as dE, HomePlus as pE, Inbox as XE, Index as fE, Integration as PE, JSON as SE, Key as mE, KeyboardControl as hE, KeyboardOption as gE, KeyboardShift as TE, LangC as wE, LangDart as yE, LangDotNet as ZE, LangGo as _E, LangJava as RE, LangJavaScript as bE, LangKotlin as xE, LangMojo as vE, LangPHP as WE, LangPython as kE, LangRust as VE, LangSwift as YE, Laptop as qE, Launch as zE, Live as UE, MCP as jE, MagnifyMinus as CE, MagnifyPlus as GE, Marker as EE, Maximize as DE, Memory as AE, Minimize as FE, Model as NE, ModuleML as LE, Moon as IE, Namespace as BE, Network as ME, Newspaper as KE, Office as HE, Open as JE, OpenFolder as O9, Organization as e9, PackageClosed as t9, Pin as r9, PinOff as a9, Plugin as i9, Power as n9, ProgressClock as o9, Query as s9, Referral as l9, Refresh as c9, Relation as Q9, RelationIn as $9, RelationOut as u9, Restore as d9, Sandbox as p9, Seal as X9, Send as f9, Server as P9, ServerSecure as S9, Sidebar as m9, Sidekick as h9, Spectron as g9, Split as T9, StarPlus as w9, Stop as y9, Studio as Z9, Sun as _9, Surreal as R9, Surrealism as b9, Target as x9, TextBoxMinus as v9, TextBoxPlus as W9, Transfer as k9, Trash as V9, Trend as Y9, Tune as q9, University as z9, Upload as U9, Video as j9, Wrench as C9, Xml as G9 } from "./icons.js";
|
|
3
3
|
import { undo as pp, redo as Co, undoSelection as Xp, redoSelection as fp, history as ec, defaultKeymap as tc, indentWithTab as Pp, insertNewline as Sp } from "@codemirror/commands";
|
|
4
4
|
import { Transaction as mp, EditorState as Ge, EditorSelection as sO, Compartment as Go, Facet as hp, combineConfig as gp, RangeSetBuilder as Tp, StateField as be, StateEffect as $r, Prec as nt, countColumn as Kt, Text as wp, Annotation as yp } from "@codemirror/state";
|
|
5
5
|
import { EditorView as lO, keymap as Ie, lineNumbers as Zp, ViewPlugin as Be, Decoration as PO, highlightSpecialChars as _p, drawSelection as Rp, dropCursor as bp, rectangularSelection as xp, crosshairCursor as vp, highlightActiveLineGutter as Wp, WidgetType as hn } from "@codemirror/view";
|
|
@@ -10382,7 +10382,7 @@ const Gk = "_root_ronnv_24", Ek = "_title_ronnv_29", Dk = "_icon_ronnv_35", Ak =
|
|
|
10382
10382
|
title: Ek,
|
|
10383
10383
|
icon: Dk,
|
|
10384
10384
|
label: Ak
|
|
10385
|
-
},
|
|
10385
|
+
}, t6 = ["note", "tip", "important", "warning", "caution"], Fk = {
|
|
10386
10386
|
note: "blue",
|
|
10387
10387
|
tip: "green",
|
|
10388
10388
|
important: "lilac",
|
|
@@ -10466,7 +10466,7 @@ class Ik extends wt {
|
|
|
10466
10466
|
}
|
|
10467
10467
|
}
|
|
10468
10468
|
const A$ = Ke(null);
|
|
10469
|
-
function
|
|
10469
|
+
function r6() {
|
|
10470
10470
|
return fa(A$);
|
|
10471
10471
|
}
|
|
10472
10472
|
function Bk({
|
|
@@ -10777,7 +10777,7 @@ function M$(O, e, t) {
|
|
|
10777
10777
|
if (a)
|
|
10778
10778
|
return t.slug(a);
|
|
10779
10779
|
}
|
|
10780
|
-
function
|
|
10780
|
+
function a6(O, e, t) {
|
|
10781
10781
|
const r = new Set(t?.depths ?? [2, 3]), a = [], i = new N$();
|
|
10782
10782
|
return O.iterate({
|
|
10783
10783
|
enter(n) {
|
|
@@ -15973,7 +15973,7 @@ function Hz(O) {
|
|
|
15973
15973
|
const e = Kz(O).split(/\s+/).filter(Boolean).length;
|
|
15974
15974
|
return Math.max(1, Math.ceil(e / Mz));
|
|
15975
15975
|
}
|
|
15976
|
-
function
|
|
15976
|
+
function i6(O) {
|
|
15977
15977
|
return `${Hz(O)} min read`;
|
|
15978
15978
|
}
|
|
15979
15979
|
const Fu = Ke(null);
|
|
@@ -16063,7 +16063,7 @@ function QU(O) {
|
|
|
16063
16063
|
function Dt(O) {
|
|
16064
16064
|
return Iu(Bu[O].translate);
|
|
16065
16065
|
}
|
|
16066
|
-
const
|
|
16066
|
+
const n6 = {
|
|
16067
16067
|
right: Dt("right"),
|
|
16068
16068
|
left: Dt("left"),
|
|
16069
16069
|
top: Dt("top"),
|
|
@@ -16477,7 +16477,7 @@ function CU(O, e) {
|
|
|
16477
16477
|
return O;
|
|
16478
16478
|
}
|
|
16479
16479
|
}
|
|
16480
|
-
function
|
|
16480
|
+
function o6({
|
|
16481
16481
|
children: O,
|
|
16482
16482
|
mobileQuery: e = OU,
|
|
16483
16483
|
zIndex: t = eU
|
|
@@ -16666,11 +16666,11 @@ function Lr(O, e) {
|
|
|
16666
16666
|
function rd(O) {
|
|
16667
16667
|
return O.multiple ? `${O.id}-${crypto.randomUUID().slice(0, 8)}` : O.id;
|
|
16668
16668
|
}
|
|
16669
|
-
function
|
|
16669
|
+
function s6(O, e, t, r, a = Vo) {
|
|
16670
16670
|
const i = O.find((n) => n.id === t);
|
|
16671
16671
|
return !i || !Lr(i, e) ? [...e] : DU(e, { id: rd(i), type: i.id, config: r }, i.size, a);
|
|
16672
16672
|
}
|
|
16673
|
-
function
|
|
16673
|
+
function l6(O, e, t = Vo) {
|
|
16674
16674
|
const r = e.flatMap((a) => {
|
|
16675
16675
|
const i = O.find((n) => n.id === a.type);
|
|
16676
16676
|
return i ? [
|
|
@@ -16684,7 +16684,7 @@ function lG(O, e, t = Vo) {
|
|
|
16684
16684
|
});
|
|
16685
16685
|
return AU(r, t);
|
|
16686
16686
|
}
|
|
16687
|
-
const IU = "
|
|
16687
|
+
const IU = "_grid_12zpi_24", BU = "_slots_12zpi_30", MU = "_slot_12zpi_30", KU = "_lit_12zpi_43", HU = "_cell_12zpi_47", JU = "_dragging_12zpi_53", Oj = "_frame_12zpi_60", ej = "_header_12zpi_66", tj = "_body_12zpi_71", rj = "_footer_12zpi_77", aj = "_lip_12zpi_83", ij = "_resize_12zpi_120", nj = "_resizing_12zpi_145", oj = "_size_12zpi_157", sj = "_optionItem_12zpi_171", lj = "_option_12zpi_171", cj = "_optionIcon_12zpi_191", Qj = "_count_12zpi_196", $j = "_rowIcon_12zpi_201", uj = "_row_12zpi_201", dj = "_trailing_12zpi_228", pj = "_marker_12zpi_233", Xj = "_column_12zpi_238", fj = "_divided_12zpi_242", Pj = "_stats_12zpi_250", Sj = "_stat_12zpi_250", mj = "_leading_12zpi_260", hj = "_striped_12zpi_265", gj = "_band_12zpi_269", Tj = "_titleIcon_12zpi_277", wj = "_listScroll_12zpi_286", yj = "_listScrollContent_12zpi_290", Zj = "_figure_12zpi_294", _j = "_optionCategory_12zpi_299", Rj = "_inline_12zpi_304", bj = "_cells_12zpi_308", xj = "_head_12zpi_66", D = {
|
|
16688
16688
|
grid: IU,
|
|
16689
16689
|
slots: BU,
|
|
16690
16690
|
slot: MU,
|
|
@@ -16727,7 +16727,7 @@ function Yl(O, e) {
|
|
|
16727
16727
|
const t = e.toLowerCase();
|
|
16728
16728
|
return O.toLowerCase().split(/\s+/).every((r) => t.includes(r));
|
|
16729
16729
|
}
|
|
16730
|
-
function
|
|
16730
|
+
function c6() {
|
|
16731
16731
|
const { open: O, close: e } = Jz();
|
|
16732
16732
|
return M(({ onAdd: t, ...r }) => {
|
|
16733
16733
|
O({
|
|
@@ -17082,7 +17082,7 @@ function zj(O, e) {
|
|
|
17082
17082
|
const t = O.schema?.safeParse(e ?? {});
|
|
17083
17083
|
return t ? t.success ? t.data : {} : e ?? {};
|
|
17084
17084
|
}
|
|
17085
|
-
function
|
|
17085
|
+
function Q6({
|
|
17086
17086
|
registry: O,
|
|
17087
17087
|
value: e,
|
|
17088
17088
|
onChange: t,
|
|
@@ -17516,7 +17516,7 @@ function Lj(O, e, t, r) {
|
|
|
17516
17516
|
rows: Math.max(0, Math.floor(O.height / e))
|
|
17517
17517
|
};
|
|
17518
17518
|
}
|
|
17519
|
-
const $
|
|
17519
|
+
const $6 = ({ path: O, accent: e, isDimmed: t }) => /* @__PURE__ */ u(
|
|
17520
17520
|
w,
|
|
17521
17521
|
{
|
|
17522
17522
|
className: D.rowIcon,
|
|
@@ -17537,7 +17537,7 @@ const $G = ({ path: O, accent: e, isDimmed: t }) => /* @__PURE__ */ u(
|
|
|
17537
17537
|
className: E(D.row, O),
|
|
17538
17538
|
children: e
|
|
17539
17539
|
}
|
|
17540
|
-
),
|
|
17540
|
+
), u6 = ({ path: O, children: e }) => /* @__PURE__ */ T(VO, { children: [
|
|
17541
17541
|
/* @__PURE__ */ u(
|
|
17542
17542
|
x,
|
|
17543
17543
|
{
|
|
@@ -17547,7 +17547,7 @@ const $G = ({ path: O, accent: e, isDimmed: t }) => /* @__PURE__ */ u(
|
|
|
17547
17547
|
}
|
|
17548
17548
|
),
|
|
17549
17549
|
e
|
|
17550
|
-
] }),
|
|
17550
|
+
] }), d6 = ({
|
|
17551
17551
|
leading: O,
|
|
17552
17552
|
title: e,
|
|
17553
17553
|
badge: t,
|
|
@@ -17837,7 +17837,7 @@ function Mj({
|
|
|
17837
17837
|
}
|
|
17838
17838
|
);
|
|
17839
17839
|
}
|
|
17840
|
-
const
|
|
17840
|
+
const p6 = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
17841
17841
|
kO,
|
|
17842
17842
|
{
|
|
17843
17843
|
h: "100%",
|
|
@@ -17876,7 +17876,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
17876
17876
|
)
|
|
17877
17877
|
]
|
|
17878
17878
|
}
|
|
17879
|
-
),
|
|
17879
|
+
), X6 = ({ label: O, icon: e, onClick: t, blockedReason: r }) => /* @__PURE__ */ u(
|
|
17880
17880
|
Me,
|
|
17881
17881
|
{
|
|
17882
17882
|
label: r ?? O,
|
|
@@ -17931,7 +17931,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
17931
17931
|
t && /* @__PURE__ */ u(w, { mt: 2, children: t })
|
|
17932
17932
|
]
|
|
17933
17933
|
}
|
|
17934
|
-
), Hj = 84,
|
|
17934
|
+
), Hj = 84, f6 = ({
|
|
17935
17935
|
stats: O,
|
|
17936
17936
|
minWidth: e = 160
|
|
17937
17937
|
}) => {
|
|
@@ -17957,7 +17957,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
17957
17957
|
))
|
|
17958
17958
|
}
|
|
17959
17959
|
);
|
|
17960
|
-
},
|
|
17960
|
+
}, P6 = ({ facts: O }) => {
|
|
17961
17961
|
const { height: e } = qo(), t = O.slice(0, Math.max(1, Math.floor(e / 40)));
|
|
17962
17962
|
return /* @__PURE__ */ u(
|
|
17963
17963
|
kO,
|
|
@@ -17998,7 +17998,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
17998
17998
|
))
|
|
17999
17999
|
}
|
|
18000
18000
|
);
|
|
18001
|
-
},
|
|
18001
|
+
}, S6 = ({ date: O }) => /* @__PURE__ */ T(
|
|
18002
18002
|
kO,
|
|
18003
18003
|
{
|
|
18004
18004
|
gap: 0,
|
|
@@ -18030,7 +18030,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
18030
18030
|
)
|
|
18031
18031
|
]
|
|
18032
18032
|
}
|
|
18033
|
-
),
|
|
18033
|
+
), m6 = ({ value: O, aside: e, caption: t }) => /* @__PURE__ */ T(w, { children: [
|
|
18034
18034
|
/* @__PURE__ */ T(
|
|
18035
18035
|
$O,
|
|
18036
18036
|
{
|
|
@@ -18071,7 +18071,7 @@ const pG = ({ title: O, children: e, action: t }) => /* @__PURE__ */ T(
|
|
|
18071
18071
|
}
|
|
18072
18072
|
)
|
|
18073
18073
|
] });
|
|
18074
|
-
function
|
|
18074
|
+
function h6({
|
|
18075
18075
|
label: O,
|
|
18076
18076
|
choices: e,
|
|
18077
18077
|
value: t,
|
|
@@ -18090,7 +18090,7 @@ function hG({
|
|
|
18090
18090
|
))
|
|
18091
18091
|
] });
|
|
18092
18092
|
}
|
|
18093
|
-
const
|
|
18093
|
+
const g6 = ({ checked: O, onChange: e, children: t }) => /* @__PURE__ */ u(
|
|
18094
18094
|
XO.Item,
|
|
18095
18095
|
{
|
|
18096
18096
|
rightSection: O && /* @__PURE__ */ u(x, { path: Le }),
|
|
@@ -18098,7 +18098,7 @@ const gG = ({ checked: O, onChange: e, children: t }) => /* @__PURE__ */ u(
|
|
|
18098
18098
|
children: t
|
|
18099
18099
|
}
|
|
18100
18100
|
);
|
|
18101
|
-
function
|
|
18101
|
+
function T6(O) {
|
|
18102
18102
|
return O;
|
|
18103
18103
|
}
|
|
18104
18104
|
const Jj = "_root_d5hzj_24", O2 = "_arrow_d5hzj_30", pn = {
|
|
@@ -18303,7 +18303,7 @@ function d2(...O) {
|
|
|
18303
18303
|
O.includes(r.key) && e.includes(r.key) && t((a) => a.filter((i) => i !== r.key));
|
|
18304
18304
|
}), e.length > 0;
|
|
18305
18305
|
}
|
|
18306
|
-
function
|
|
18306
|
+
function w6(O) {
|
|
18307
18307
|
const e = fa($d);
|
|
18308
18308
|
if (!e)
|
|
18309
18309
|
throw new Error("useConfirmation must be used within a ConfirmationProvider");
|
|
@@ -18312,7 +18312,7 @@ function wG(O) {
|
|
|
18312
18312
|
});
|
|
18313
18313
|
}
|
|
18314
18314
|
const p2 = "Are you sure?", X2 = "Close", f2 = "Continue";
|
|
18315
|
-
function
|
|
18315
|
+
function y6({
|
|
18316
18316
|
enterConfirms: O,
|
|
18317
18317
|
children: e
|
|
18318
18318
|
}) {
|
|
@@ -18589,7 +18589,7 @@ const _2 = "_appContent_1rzhz_24", R2 = "_scrim_1rzhz_32", b2 = "_container_1rzh
|
|
|
18589
18589
|
laneLabel: z2,
|
|
18590
18590
|
body: U2
|
|
18591
18591
|
}, j2 = 0.5, C2 = 0.06, G2 = 16, E2 = 0.3, fd = Ke(null);
|
|
18592
|
-
function
|
|
18592
|
+
function Z6({ children: O, state: e }) {
|
|
18593
18593
|
const { progress: t, dragging: r, collapse: a } = e, i = t > j2;
|
|
18594
18594
|
return /* @__PURE__ */ T(fd.Provider, { value: e, children: [
|
|
18595
18595
|
/* @__PURE__ */ u(
|
|
@@ -18666,7 +18666,7 @@ function N2({
|
|
|
18666
18666
|
function L2(O, e, t) {
|
|
18667
18667
|
return t <= -Cl ? !0 : t >= Cl ? !1 : O < e / 2;
|
|
18668
18668
|
}
|
|
18669
|
-
function
|
|
18669
|
+
function _6(O) {
|
|
18670
18670
|
const [e] = B(() => Z2()), [t, r] = B(!1), [a, i] = B(O.defaultCurrentLane), { progress: n, dragging: o, dragRef: s, collapse: l, translate: c, expandedHeight: Q, maxTranslate: $ } = N2({
|
|
18671
18671
|
open: t,
|
|
18672
18672
|
setOpen: r
|
|
@@ -18799,7 +18799,7 @@ function H2({ lane: O, children: e, className: t, ...r }) {
|
|
|
18799
18799
|
}
|
|
18800
18800
|
);
|
|
18801
18801
|
}
|
|
18802
|
-
const
|
|
18802
|
+
const R6 = Object.assign(B2, {
|
|
18803
18803
|
Lanes: M2,
|
|
18804
18804
|
Lane: K2,
|
|
18805
18805
|
Body: H2
|
|
@@ -18927,7 +18927,7 @@ const t7 = "_root_t1wx0_24", r7 = "_media_t1wx0_42", a7 = "_body_t1wx0_49", i7 =
|
|
|
18927
18927
|
});
|
|
18928
18928
|
md.classes = Sd;
|
|
18929
18929
|
md.displayName = "@surrealdb/ui/LinkCard";
|
|
18930
|
-
const
|
|
18930
|
+
const b6 = ({
|
|
18931
18931
|
mode: O = Hn,
|
|
18932
18932
|
extensions: e,
|
|
18933
18933
|
withTableFormatter: t = !1,
|
|
@@ -19015,7 +19015,7 @@ const bG = ({
|
|
|
19015
19015
|
}
|
|
19016
19016
|
)
|
|
19017
19017
|
] });
|
|
19018
|
-
},
|
|
19018
|
+
}, x6 = ({
|
|
19019
19019
|
content: O = "",
|
|
19020
19020
|
tree: e,
|
|
19021
19021
|
codeRenderers: t = Yn,
|
|
@@ -19105,7 +19105,7 @@ const c7 = "_root_otfoe_24", hd = {
|
|
|
19105
19105
|
);
|
|
19106
19106
|
gd.classes = hd;
|
|
19107
19107
|
gd.displayName = "@surrealdb/ui/Muted";
|
|
19108
|
-
function
|
|
19108
|
+
function v6({
|
|
19109
19109
|
tabs: O,
|
|
19110
19110
|
value: e,
|
|
19111
19111
|
defaultValue: t,
|
|
@@ -19659,7 +19659,7 @@ function u4(O) {
|
|
|
19659
19659
|
const p = a(s[s.length - 1]), X = Zi(e, r, a, l, p - 1);
|
|
19660
19660
|
return X && Q.push(X), Q;
|
|
19661
19661
|
}
|
|
19662
|
-
function
|
|
19662
|
+
function W6(O) {
|
|
19663
19663
|
return `${O} filtered ${O === 1 ? "entry" : "entries"}`;
|
|
19664
19664
|
}
|
|
19665
19665
|
function d4(O, e, t) {
|
|
@@ -20767,7 +20767,7 @@ function Y4(O) {
|
|
|
20767
20767
|
function q4(O) {
|
|
20768
20768
|
return /* @__PURE__ */ u(Y4, { ...O });
|
|
20769
20769
|
}
|
|
20770
|
-
const
|
|
20770
|
+
const k6 = Object.assign(
|
|
20771
20771
|
Ep(q4),
|
|
20772
20772
|
{
|
|
20773
20773
|
classes: G,
|
|
@@ -21213,7 +21213,7 @@ const lC = [
|
|
|
21213
21213
|
graphite: dC,
|
|
21214
21214
|
accent: XC,
|
|
21215
21215
|
slate: pC
|
|
21216
|
-
},
|
|
21216
|
+
}, V6 = {
|
|
21217
21217
|
database: "lilac",
|
|
21218
21218
|
memory: "violet"
|
|
21219
21219
|
}, Ad = {
|
|
@@ -21221,7 +21221,7 @@ const lC = [
|
|
|
21221
21221
|
lilac: { default: "var(--mantine-color-white)", contrast: "var(--mantine-color-black)" },
|
|
21222
21222
|
purple: { default: "var(--mantine-color-white)", contrast: "var(--mantine-color-white)" },
|
|
21223
21223
|
violet: { default: "var(--mantine-color-white)", contrast: "var(--mantine-color-white)" }
|
|
21224
|
-
}, PC = "
|
|
21224
|
+
}, PC = "_control_11h6s_40", SC = "_paginationControl_11h6s_84", mC = "_paper_11h6s_97", hC = "_badge_11h6s_131", gC = "_dropdown_11h6s_146", TC = "_tooltip_11h6s_159", wC = "_menuItem_11h6s_212", yC = "_menuItemSection_11h6s_249", ZC = "_menuLabel_11h6s_269", _C = "_menuDivider_11h6s_276", RC = "_overlayContent_11h6s_301", bC = "_drawerContent_11h6s_313", xC = "_overlayHeader_11h6s_317", vC = "_overlayTitle_11h6s_322", WC = "_notification_11h6s_337", kC = "_notificationIcon_11h6s_354", VC = "_notificationTitle_11h6s_362", YC = "_notificationDescription_11h6s_368", qC = "_input_11h6s_381", zC = "_numberInputControl_11h6s_432", UC = "_pill_11h6s_450", jC = "_comboboxSearch_11h6s_467", CC = "_inputLabel_11h6s_491", GC = "_inputDescription_11h6s_498", EC = "_navLink_11h6s_509", DC = "_breadcrumbSeparator_11h6s_530", AC = "_accordionItem_11h6s_539", FC = "_accordionControl_11h6s_544", NC = "_accordionContent_11h6s_552", LC = "_code_11h6s_560", IC = "_kbd_11h6s_566", BC = "_anchor_11h6s_577", MC = "_alert_11h6s_596", KC = "_alertMessage_11h6s_605", HC = "_blockquote_11h6s_612", JC = "_tabsRoot_11h6s_623", O8 = "_tabsList_11h6s_639", e8 = "_tab_11h6s_623", t8 = "_segmentedControl_11h6s_675", r8 = "_segmentedControlItem_11h6s_685", a8 = "_segmentedIndicator_11h6s_689", i8 = "_segmentedLabel_11h6s_694", n8 = "_scrollbar_11h6s_707", o8 = "_scrollThumb_11h6s_716", s8 = "_closeButton_11h6s_727", l8 = "_switchTrack_11h6s_751", c8 = "_switchThumb_11h6s_766", Q8 = "_selectionInput_11h6s_784", $8 = "_skeleton_11h6s_814", u8 = "_tableRow_11h6s_822", d8 = "_tableHead_11h6s_830", b = {
|
|
21225
21225
|
control: PC,
|
|
21226
21226
|
paginationControl: SC,
|
|
21227
21227
|
paper: mC,
|
|
@@ -21954,7 +21954,7 @@ function g8() {
|
|
|
21954
21954
|
"--mantine-primary-color-contrast": "var(--surreal-on-action)"
|
|
21955
21955
|
};
|
|
21956
21956
|
}
|
|
21957
|
-
const
|
|
21957
|
+
const Y6 = (O) => {
|
|
21958
21958
|
const e = O.other?.contrastMode === !0, t = Object.fromEntries(
|
|
21959
21959
|
Object.entries(Ad).map(([i, n]) => [
|
|
21960
21960
|
`--surreal-on-${i}`,
|
|
@@ -21978,7 +21978,7 @@ const YG = (O) => {
|
|
|
21978
21978
|
light: a,
|
|
21979
21979
|
dark: a
|
|
21980
21980
|
};
|
|
21981
|
-
}, T8 = '"JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace', Ll = '"Geist Variable", Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
|
|
21981
|
+
}, T8 = '"JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace', Ll = '"Geist Variable", Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif', q6 = wX({
|
|
21982
21982
|
fontFamily: Ll,
|
|
21983
21983
|
fontFamilyMonospace: T8,
|
|
21984
21984
|
colors: fC,
|
|
@@ -22091,17 +22091,17 @@ export {
|
|
|
22091
22091
|
qn as Check,
|
|
22092
22092
|
yo as CodeBlock,
|
|
22093
22093
|
Q2 as CodeEditor,
|
|
22094
|
-
|
|
22094
|
+
y6 as ConfirmationProvider,
|
|
22095
22095
|
Yn as DEFAULT_CODE_RENDERERS,
|
|
22096
22096
|
YP as DEFAULT_COMPONENTS,
|
|
22097
22097
|
Hn as DEFAULT_MARKDOWN_MODE,
|
|
22098
22098
|
zz as DEFAULT_SLASH_COMMANDS,
|
|
22099
|
-
|
|
22099
|
+
n6 as DRAWER_TRANSITIONS,
|
|
22100
22100
|
Tr as Details,
|
|
22101
22101
|
ho as DetailsSummary,
|
|
22102
22102
|
dd as Display,
|
|
22103
|
-
|
|
22104
|
-
|
|
22103
|
+
R6 as Drawer,
|
|
22104
|
+
Z6 as DrawerProvider,
|
|
22105
22105
|
Nu as EASE_BACK,
|
|
22106
22106
|
Lu as EASE_BACK_SUBTLE,
|
|
22107
22107
|
cU as EASE_OUT,
|
|
@@ -22111,23 +22111,23 @@ export {
|
|
|
22111
22111
|
x as Icon,
|
|
22112
22112
|
cC as LILAC,
|
|
22113
22113
|
md as LinkCard,
|
|
22114
|
-
|
|
22114
|
+
q6 as MANTINE_THEME,
|
|
22115
22115
|
bP as MarkdownContent,
|
|
22116
|
-
|
|
22117
|
-
|
|
22116
|
+
b6 as MarkdownEditor,
|
|
22117
|
+
x6 as MarkdownViewer,
|
|
22118
22118
|
Iz as MarkdownWidgetPortals,
|
|
22119
22119
|
jf as MermaidCodeRenderer,
|
|
22120
22120
|
mP as MiniController,
|
|
22121
22121
|
gd as Muted,
|
|
22122
|
-
|
|
22122
|
+
t6 as NOTE_KINDS,
|
|
22123
22123
|
yt as Note,
|
|
22124
22124
|
uC as OBSIDIAN,
|
|
22125
22125
|
lC as PINK,
|
|
22126
|
-
|
|
22126
|
+
V6 as PRODUCT_COLORS,
|
|
22127
22127
|
QC as PURPLE,
|
|
22128
22128
|
Un as RailroadDiagram,
|
|
22129
|
-
|
|
22130
|
-
|
|
22129
|
+
v6 as ResponsiveTabs,
|
|
22130
|
+
k6 as RichTimeline,
|
|
22131
22131
|
o4 as RichTimelineActions,
|
|
22132
22132
|
bd as RichTimelineBadge,
|
|
22133
22133
|
yd as RichTimelineCard,
|
|
@@ -22158,7 +22158,7 @@ export {
|
|
|
22158
22158
|
Ez as SlashCommandMenu,
|
|
22159
22159
|
zo as Spacer,
|
|
22160
22160
|
Zo as Spinner,
|
|
22161
|
-
|
|
22161
|
+
o6 as StackerProvider,
|
|
22162
22162
|
Gd as StatusIcon,
|
|
22163
22163
|
Dd as StepperTimeline,
|
|
22164
22164
|
ma as SurrealistMini,
|
|
@@ -22169,25 +22169,25 @@ export {
|
|
|
22169
22169
|
dn as TRANSITION_DURATION,
|
|
22170
22170
|
xP as Tabs,
|
|
22171
22171
|
go as ThemedImage,
|
|
22172
|
-
|
|
22172
|
+
X6 as TileAction,
|
|
22173
22173
|
kj as TileBlank,
|
|
22174
|
-
|
|
22174
|
+
h6 as TileChoiceOptions,
|
|
22175
22175
|
ad as TileChromeContext,
|
|
22176
|
-
|
|
22177
|
-
|
|
22178
|
-
|
|
22176
|
+
S6 as TileDateBlock,
|
|
22177
|
+
p6 as TileEmpty,
|
|
22178
|
+
P6 as TileFacts,
|
|
22179
22179
|
Wj as TileFrame,
|
|
22180
|
-
|
|
22181
|
-
|
|
22180
|
+
Q6 as TileGrid,
|
|
22181
|
+
m6 as TileHeadline,
|
|
22182
22182
|
Mj as TileList,
|
|
22183
|
-
|
|
22183
|
+
d6 as TileRow,
|
|
22184
22184
|
zl as TileRowButton,
|
|
22185
|
-
$
|
|
22185
|
+
$6 as TileRowIcon,
|
|
22186
22186
|
Ij as TileScrollRows,
|
|
22187
22187
|
Kj as TileStat,
|
|
22188
|
-
|
|
22189
|
-
|
|
22190
|
-
|
|
22188
|
+
f6 as TileStatGrid,
|
|
22189
|
+
u6 as TileTitleIcon,
|
|
22190
|
+
g6 as TileToggleOption,
|
|
22191
22191
|
$C as VIOLET,
|
|
22192
22192
|
jn as Version,
|
|
22193
22193
|
ka as VideoPlayer,
|
|
@@ -22349,10 +22349,10 @@ export {
|
|
|
22349
22349
|
du as createHighlighter,
|
|
22350
22350
|
A8 as createSerializedState,
|
|
22351
22351
|
N8 as createStyleHighlighter,
|
|
22352
|
-
|
|
22352
|
+
s6 as createTile,
|
|
22353
22353
|
kc as customHistoryKeymap,
|
|
22354
|
-
|
|
22355
|
-
|
|
22354
|
+
W6 as defaultGapLabel,
|
|
22355
|
+
T6 as defineTile,
|
|
22356
22356
|
lU as drawerDepthStyle,
|
|
22357
22357
|
Dt as drawerTransition,
|
|
22358
22358
|
QU as drawerTransitionVars,
|
|
@@ -22360,11 +22360,11 @@ export {
|
|
|
22360
22360
|
ff as editorTheme,
|
|
22361
22361
|
Hz as estimateMarkdownReadTimeMinutes,
|
|
22362
22362
|
G8 as extractCdnId,
|
|
22363
|
-
|
|
22363
|
+
a6 as extractHeadings,
|
|
22364
22364
|
Su as extractTest,
|
|
22365
22365
|
Uz as filterSlashCommands,
|
|
22366
22366
|
EU as findFreeSpot,
|
|
22367
|
-
|
|
22367
|
+
i6 as formatMarkdownReadTime,
|
|
22368
22368
|
Qf as generateRandomId,
|
|
22369
22369
|
E8 as getCDNImageURL,
|
|
22370
22370
|
D8 as getCDNVideoURL,
|
|
@@ -22372,153 +22372,153 @@ export {
|
|
|
22372
22372
|
Jn as getMarkdownMode,
|
|
22373
22373
|
QV as headingCustomIdSuffixRange,
|
|
22374
22374
|
ba as headingTitleBounds,
|
|
22375
|
-
|
|
22376
|
-
|
|
22377
|
-
|
|
22378
|
-
|
|
22379
|
-
|
|
22380
|
-
|
|
22381
|
-
|
|
22382
|
-
|
|
22383
|
-
|
|
22384
|
-
|
|
22385
|
-
|
|
22375
|
+
j6 as iconAI,
|
|
22376
|
+
C6 as iconAPI,
|
|
22377
|
+
G6 as iconAccount,
|
|
22378
|
+
E6 as iconAccountPlus,
|
|
22379
|
+
D6 as iconAccountSecure,
|
|
22380
|
+
A6 as iconAlert,
|
|
22381
|
+
F6 as iconArrowDown,
|
|
22382
|
+
N6 as iconArrowDownFat,
|
|
22383
|
+
L6 as iconArrowEnter,
|
|
22384
|
+
I6 as iconArrowLeft,
|
|
22385
|
+
B6 as iconArrowLeftFat,
|
|
22386
22386
|
pa as iconArrowRight,
|
|
22387
|
-
|
|
22387
|
+
M6 as iconArrowUp,
|
|
22388
22388
|
Ir as iconArrowUpRight,
|
|
22389
|
-
|
|
22390
|
-
|
|
22391
|
-
|
|
22392
|
-
|
|
22393
|
-
|
|
22394
|
-
|
|
22389
|
+
K6 as iconAtom,
|
|
22390
|
+
H6 as iconAuth,
|
|
22391
|
+
J6 as iconAuthKeyhole,
|
|
22392
|
+
OG as iconAutoFix,
|
|
22393
|
+
eG as iconBalance,
|
|
22394
|
+
tG as iconBook,
|
|
22395
22395
|
lp as iconBookmark,
|
|
22396
22396
|
Op as iconBraces,
|
|
22397
|
-
|
|
22398
|
-
|
|
22399
|
-
|
|
22400
|
-
|
|
22401
|
-
|
|
22402
|
-
|
|
22403
|
-
|
|
22404
|
-
|
|
22405
|
-
|
|
22406
|
-
$
|
|
22407
|
-
|
|
22408
|
-
|
|
22409
|
-
|
|
22410
|
-
|
|
22411
|
-
|
|
22412
|
-
|
|
22413
|
-
|
|
22414
|
-
|
|
22415
|
-
|
|
22416
|
-
|
|
22417
|
-
|
|
22418
|
-
|
|
22397
|
+
rG as iconBrandBluesky,
|
|
22398
|
+
aG as iconBrandDev,
|
|
22399
|
+
iG as iconBrandDiscord,
|
|
22400
|
+
nG as iconBrandGitHub,
|
|
22401
|
+
oG as iconBrandInstagram,
|
|
22402
|
+
sG as iconBrandLinkedin,
|
|
22403
|
+
lG as iconBrandMedium,
|
|
22404
|
+
cG as iconBrandReddit,
|
|
22405
|
+
QG as iconBrandStackOverflow,
|
|
22406
|
+
$G as iconBrandX,
|
|
22407
|
+
uG as iconBrandYouTube,
|
|
22408
|
+
dG as iconBroadcastOff,
|
|
22409
|
+
pG as iconBroadcastOn,
|
|
22410
|
+
XG as iconBucket,
|
|
22411
|
+
fG as iconBug,
|
|
22412
|
+
PG as iconBullhorn,
|
|
22413
|
+
SG as iconBusiness,
|
|
22414
|
+
mG as iconCalculator,
|
|
22415
|
+
hG as iconCancel,
|
|
22416
|
+
gG as iconChart,
|
|
22417
|
+
TG as iconChat,
|
|
22418
|
+
wG as iconChatGPT,
|
|
22419
22419
|
Le as iconCheck,
|
|
22420
22420
|
mn as iconCheckCircle,
|
|
22421
22421
|
Sn as iconChevronDown,
|
|
22422
22422
|
cp as iconChevronLeft,
|
|
22423
22423
|
Qr as iconChevronRight,
|
|
22424
|
-
|
|
22425
|
-
|
|
22424
|
+
yG as iconChevronUp,
|
|
22425
|
+
ZG as iconChevronY,
|
|
22426
22426
|
Jl as iconCircle,
|
|
22427
|
-
|
|
22428
|
-
|
|
22429
|
-
|
|
22427
|
+
_G as iconCircleFilled,
|
|
22428
|
+
RG as iconClaude,
|
|
22429
|
+
bG as iconClock,
|
|
22430
22430
|
Hl as iconClose,
|
|
22431
|
-
|
|
22432
|
-
|
|
22433
|
-
|
|
22434
|
-
|
|
22435
|
-
|
|
22431
|
+
xG as iconCloud,
|
|
22432
|
+
vG as iconCloudClock,
|
|
22433
|
+
WG as iconCog,
|
|
22434
|
+
kG as iconCombined,
|
|
22435
|
+
VG as iconCommand,
|
|
22436
22436
|
Jd as iconComment,
|
|
22437
|
-
|
|
22438
|
-
|
|
22439
|
-
|
|
22437
|
+
YG as iconCommunity,
|
|
22438
|
+
qG as iconConnection,
|
|
22439
|
+
zG as iconConsole,
|
|
22440
22440
|
Pn as iconCopy,
|
|
22441
|
-
|
|
22441
|
+
UG as iconCreditCard,
|
|
22442
22442
|
tp as iconCursor,
|
|
22443
|
-
|
|
22444
|
-
|
|
22445
|
-
|
|
22446
|
-
|
|
22447
|
-
|
|
22448
|
-
|
|
22449
|
-
|
|
22450
|
-
|
|
22451
|
-
|
|
22443
|
+
jG as iconDataSilo,
|
|
22444
|
+
CG as iconDataTable,
|
|
22445
|
+
GG as iconDatabase,
|
|
22446
|
+
EG as iconDatabaseSecure,
|
|
22447
|
+
DG as iconDelete,
|
|
22448
|
+
AG as iconDesigner,
|
|
22449
|
+
FG as iconDiscord,
|
|
22450
|
+
NG as iconDistributedStorage,
|
|
22451
|
+
LG as iconDollar,
|
|
22452
22452
|
$p as iconDotsVertical,
|
|
22453
|
-
|
|
22454
|
-
|
|
22455
|
-
|
|
22453
|
+
IG as iconDownload,
|
|
22454
|
+
BG as iconDrag,
|
|
22455
|
+
MG as iconEarth,
|
|
22456
22456
|
Nd as iconEdit,
|
|
22457
|
-
|
|
22457
|
+
KG as iconEmail,
|
|
22458
22458
|
Oc as iconErrorCircle,
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
22462
|
-
|
|
22463
|
-
|
|
22464
|
-
|
|
22465
|
-
|
|
22466
|
-
|
|
22467
|
-
|
|
22468
|
-
|
|
22469
|
-
|
|
22459
|
+
HG as iconExitToAp,
|
|
22460
|
+
JG as iconExplorer,
|
|
22461
|
+
OE as iconEye,
|
|
22462
|
+
eE as iconEyeOff,
|
|
22463
|
+
tE as iconFile,
|
|
22464
|
+
rE as iconFilter,
|
|
22465
|
+
aE as iconFlag,
|
|
22466
|
+
iE as iconFloppy,
|
|
22467
|
+
nE as iconFolderPlus,
|
|
22468
|
+
oE as iconFolderSecure,
|
|
22469
|
+
sE as iconFullscreen,
|
|
22470
22470
|
dp as iconFunction,
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
$
|
|
22475
|
-
|
|
22471
|
+
lE as iconGraphql,
|
|
22472
|
+
cE as iconGrid,
|
|
22473
|
+
QE as iconHammer,
|
|
22474
|
+
$E as iconHeart,
|
|
22475
|
+
uE as iconHelp,
|
|
22476
22476
|
sp as iconHistory,
|
|
22477
|
-
|
|
22478
|
-
|
|
22477
|
+
dE as iconHome,
|
|
22478
|
+
pE as iconHomePlus,
|
|
22479
22479
|
ep as iconImage,
|
|
22480
|
-
|
|
22481
|
-
|
|
22480
|
+
XE as iconInbox,
|
|
22481
|
+
fE as iconIndex,
|
|
22482
22482
|
lt as iconInfo,
|
|
22483
|
-
|
|
22484
|
-
|
|
22485
|
-
|
|
22486
|
-
|
|
22487
|
-
|
|
22488
|
-
|
|
22489
|
-
|
|
22490
|
-
|
|
22491
|
-
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
|
|
22496
|
-
|
|
22497
|
-
|
|
22498
|
-
|
|
22499
|
-
|
|
22500
|
-
|
|
22501
|
-
|
|
22502
|
-
|
|
22483
|
+
PE as iconIntegration,
|
|
22484
|
+
SE as iconJSON,
|
|
22485
|
+
mE as iconKey,
|
|
22486
|
+
hE as iconKeyboardControl,
|
|
22487
|
+
gE as iconKeyboardOption,
|
|
22488
|
+
TE as iconKeyboardShift,
|
|
22489
|
+
wE as iconLangC,
|
|
22490
|
+
yE as iconLangDart,
|
|
22491
|
+
ZE as iconLangDotNet,
|
|
22492
|
+
_E as iconLangGo,
|
|
22493
|
+
RE as iconLangJava,
|
|
22494
|
+
bE as iconLangJavaScript,
|
|
22495
|
+
xE as iconLangKotlin,
|
|
22496
|
+
vE as iconLangMojo,
|
|
22497
|
+
WE as iconLangPHP,
|
|
22498
|
+
kE as iconLangPython,
|
|
22499
|
+
VE as iconLangRust,
|
|
22500
|
+
YE as iconLangSwift,
|
|
22501
|
+
qE as iconLaptop,
|
|
22502
|
+
zE as iconLaunch,
|
|
22503
22503
|
Kd as iconList,
|
|
22504
|
-
|
|
22505
|
-
|
|
22506
|
-
|
|
22507
|
-
|
|
22508
|
-
|
|
22509
|
-
|
|
22510
|
-
|
|
22511
|
-
|
|
22504
|
+
UE as iconLive,
|
|
22505
|
+
jE as iconMCP,
|
|
22506
|
+
CE as iconMagnifyMinus,
|
|
22507
|
+
GE as iconMagnifyPlus,
|
|
22508
|
+
EE as iconMarker,
|
|
22509
|
+
DE as iconMaximize,
|
|
22510
|
+
AE as iconMemory,
|
|
22511
|
+
FE as iconMinimize,
|
|
22512
22512
|
xi as iconMinus,
|
|
22513
|
-
|
|
22514
|
-
|
|
22515
|
-
|
|
22513
|
+
NE as iconModel,
|
|
22514
|
+
LE as iconModuleML,
|
|
22515
|
+
IE as iconMoon,
|
|
22516
22516
|
Id as iconMute,
|
|
22517
|
-
|
|
22518
|
-
|
|
22519
|
-
|
|
22520
|
-
|
|
22521
|
-
|
|
22517
|
+
BE as iconNamespace,
|
|
22518
|
+
ME as iconNetwork,
|
|
22519
|
+
KE as iconNewspaper,
|
|
22520
|
+
HE as iconOffice,
|
|
22521
|
+
JE as iconOpen,
|
|
22522
22522
|
O9 as iconOpenFolder,
|
|
22523
22523
|
e9 as iconOrganization,
|
|
22524
22524
|
t9 as iconPackageClosed,
|
|
@@ -22586,7 +22586,7 @@ export {
|
|
|
22586
22586
|
io as isMarkdownComponentBlock,
|
|
22587
22587
|
vl as isSameLayout,
|
|
22588
22588
|
uu as isVideoUrl,
|
|
22589
|
-
|
|
22589
|
+
l6 as layoutTiles,
|
|
22590
22590
|
LU as limitsOfTile,
|
|
22591
22591
|
kz as liveMarkdownEditor,
|
|
22592
22592
|
zP as markdownEditorReady,
|
|
@@ -22870,18 +22870,18 @@ export {
|
|
|
22870
22870
|
WU as shouldDismiss,
|
|
22871
22871
|
CU as stackerReducer,
|
|
22872
22872
|
F8 as suggestCompletions,
|
|
22873
|
-
|
|
22873
|
+
Y6 as surrealCssVariablesResolver,
|
|
22874
22874
|
f8 as surrealVariantColorsResolver,
|
|
22875
22875
|
ca as topOpened,
|
|
22876
22876
|
oV as trimCustomHeadingIdFromRange,
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22877
|
+
c6 as useAddTileDrawer,
|
|
22878
|
+
w6 as useConfirmation,
|
|
22879
|
+
_6 as useDrawer,
|
|
22880
22880
|
za as useDrawerState,
|
|
22881
22881
|
Tf as useEditor,
|
|
22882
22882
|
wf as useKeyNavigation,
|
|
22883
22883
|
L8 as useLater,
|
|
22884
|
-
|
|
22884
|
+
r6 as useMarkdownBlock,
|
|
22885
22885
|
Dz as useMarkdownSlashStore,
|
|
22886
22886
|
Bz as useMarkdownWidgetStore,
|
|
22887
22887
|
J8 as useMiniController,
|