@versini/sassysaint 8.107.3 → 8.108.0
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/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.55tIwnGe.js} +2 -2
- package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.D1zAHjel.js} +7 -7
- package/dist/chunks/{App.FyINLNSp.js → App.Br7HE-y0.js} +1746 -1908
- package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.Ic_8FEhH.js} +47 -74
- package/dist/chunks/{Table.Dzy9ts3i.js → ButtonIconDelete.DRBd_G40.js} +125 -104
- package/dist/chunks/{Chart.DYVf2gst.js → Chart.CwIVbBYb.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.DHlLzqdc.js} +199 -208
- package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.D7ksCr76.js} +27 -36
- package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.DhUDW7QO.js} +108 -121
- package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.BxnMfiXN.js} +6 -6
- package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.XF9rPWdB.js} +4 -4
- package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.CnTI8jpv.js} +304 -385
- package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BjNXrPW2.js} +164 -169
- package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.S6XO2uMT.js} +4 -4
- package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.C5jHUJzu.js} +5 -5
- package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry.CQTLPweE.js} +5 -5
- package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
- package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
- package/dist/chunks/arc.CLrqhM1J.js +83 -0
- package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
- package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
- package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
- package/dist/chunks/browser.B8WuOmYx.js +260 -0
- package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
- package/dist/chunks/channel.D7pUQPat.js +5 -0
- package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
- package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
- package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
- package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
- package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
- package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
- package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
- package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
- package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
- package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
- package/dist/chunks/clone.47X4nGV4.js +8 -0
- package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
- package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
- package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
- package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
- package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
- package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
- package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
- package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
- package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
- package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
- package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
- package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
- package/dist/chunks/graph.BmJVbvPo.js +247 -0
- package/dist/chunks/index.Bi0z4EE1.js +90 -0
- package/dist/chunks/{index.QiLu2wkI.js → index.C0El17wt.js} +2 -2
- package/dist/chunks/{index.DBovegdE.js → index.CUn5zNJg.js} +1 -1
- package/dist/chunks/index.CbEVdl_N.js +279 -0
- package/dist/chunks/{index.BT3Do9Po.js → index.CoZgV6rn.js} +34 -43
- package/dist/chunks/{index.16gcBvke.js → index.DCqTKdor.js} +60 -69
- package/dist/chunks/index.DctDXsYU.js +67 -0
- package/dist/chunks/{index.BfTDtoYy.js → index.Df-tNwfZ.js} +1 -1
- package/dist/chunks/{index.BI1_ccPN.js → index.DxGkXGdu.js} +3 -3
- package/dist/chunks/{index.uILjvEfo.js → index.z2e7pMwp.js} +1 -1
- package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
- package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
- package/dist/chunks/init.DAGnb5BH.js +16 -0
- package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
- package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
- package/dist/chunks/{index.DJlv39cv.js → katex.D0sQThIv.js} +1638 -1943
- package/dist/chunks/layout.DtZQLIyC.js +1332 -0
- package/dist/chunks/linear.CIDfImUo.js +625 -0
- package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
- package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
- package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
- package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
- package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
- package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
- package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
- package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
- package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
- package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
- package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
- package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
- package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
- package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
- package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
- package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
- package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.CxuK_DLo.js} +2078 -2072
- package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/chunks/index.BjnVQ4X3.js +0 -99
- package/dist/chunks/index.uVDYkuxz.js +0 -297
|
@@ -1,81 +1,72 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useUniqueId as
|
|
1
|
+
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { useUniqueId as v } from "./LogoEntry.CnTI8jpv.js";
|
|
3
3
|
import u from "clsx";
|
|
4
|
-
|
|
5
|
-
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
|
6
|
-
version: "6.0.1",
|
|
7
|
-
buildTime: "12/24/2025 09:20 AM EST",
|
|
8
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-card",
|
|
9
|
-
license: "MIT"
|
|
10
|
-
});
|
|
11
|
-
} catch {
|
|
12
|
-
}
|
|
13
|
-
const f = "av-card", I = ({ className: e, headerClassName: d, bodyClassName: c, footerClassName: t, mode: r, compact: i, noBorder: n }) => {
|
|
4
|
+
const f = "av-card", A = ({ className: d, headerClassName: e, bodyClassName: c, footerClassName: t, mode: r, compact: l, noBorder: n }) => {
|
|
14
5
|
const a = u(f, "rounded-md", {
|
|
15
6
|
"border-none": n,
|
|
16
7
|
border: !n,
|
|
17
|
-
"p-4": !
|
|
18
|
-
"p-1 sm:p-2":
|
|
8
|
+
"p-4": !l,
|
|
9
|
+
"p-1 sm:p-2": l,
|
|
19
10
|
"border-border-accent bg-surface-darker text-copy-light": r === "darker",
|
|
20
11
|
"border-border-accent bg-surface-dark text-copy-light": r === "dark",
|
|
21
12
|
"border-border-dark bg-surface-lighter text-copy-dark": r === "light",
|
|
22
13
|
"border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": r === "system",
|
|
23
14
|
"border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": r === "alt-system"
|
|
24
|
-
},
|
|
15
|
+
}, d), k = e || u(`${f}__header mt-0 border-b`, {
|
|
25
16
|
"text-copy-light border-border-accent": r === "darker",
|
|
26
17
|
"border-border-accent": r === "dark",
|
|
27
18
|
"border-border-medium": r === "light",
|
|
28
19
|
"border-border-medium dark:border-border-accent": r === "system",
|
|
29
20
|
"border-border-accent dark:border-border-medium": r === "alt-system",
|
|
30
|
-
"mb-4": !
|
|
31
|
-
"mb-2":
|
|
32
|
-
}),
|
|
21
|
+
"mb-4": !l,
|
|
22
|
+
"mb-2": l
|
|
23
|
+
}), g = u(c), p = t || u(`${f}__footer pt-2`);
|
|
33
24
|
return {
|
|
34
25
|
wrapper: a,
|
|
35
|
-
header:
|
|
36
|
-
body:
|
|
26
|
+
header: k,
|
|
27
|
+
body: g,
|
|
37
28
|
footer: p
|
|
38
29
|
};
|
|
39
30
|
};
|
|
40
|
-
function
|
|
41
|
-
return typeof
|
|
42
|
-
id:
|
|
31
|
+
function C({ id: d, content: e, userAriaLabelledby: c, className: t }) {
|
|
32
|
+
return typeof e == "string" ? /* @__PURE__ */ o("h2", {
|
|
33
|
+
id: d,
|
|
43
34
|
className: t,
|
|
44
|
-
children:
|
|
35
|
+
children: e
|
|
45
36
|
}) : c ? /* @__PURE__ */ o("div", {
|
|
46
37
|
className: t,
|
|
47
|
-
children:
|
|
48
|
-
}) :
|
|
38
|
+
children: e
|
|
39
|
+
}) : e ? /* @__PURE__ */ o("div", {
|
|
49
40
|
className: t,
|
|
50
|
-
id:
|
|
51
|
-
children:
|
|
41
|
+
id: d,
|
|
42
|
+
children: e
|
|
52
43
|
}) : null;
|
|
53
44
|
}
|
|
54
|
-
const
|
|
55
|
-
let s = null,
|
|
56
|
-
const h = typeof
|
|
57
|
-
className:
|
|
58
|
-
headerClassName:
|
|
45
|
+
const I = ({ header: d, headerClassName: e, footer: c, footerClassName: t, children: r, className: l, bodyClassName: n, "aria-labelledby": a, mode: k = "system", compact: g = !1, noBorder: p = !1, ...m }) => {
|
|
46
|
+
let s = null, i = null;
|
|
47
|
+
const h = typeof d == "string", y = v(f), b = A({
|
|
48
|
+
className: l,
|
|
49
|
+
headerClassName: e,
|
|
59
50
|
bodyClassName: n,
|
|
60
51
|
footerClassName: t,
|
|
61
|
-
mode:
|
|
62
|
-
compact:
|
|
52
|
+
mode: k,
|
|
53
|
+
compact: g,
|
|
63
54
|
noBorder: p
|
|
64
55
|
});
|
|
65
|
-
return h ? (s =
|
|
56
|
+
return h ? (s = y, i = s) : !h && d && a ? (s = null, i = a) : !h && d && !a ? (s = y, i = s) : (s = null, i = a || null), /* @__PURE__ */ o("div", {
|
|
66
57
|
className: b.wrapper,
|
|
67
|
-
children: /* @__PURE__ */
|
|
68
|
-
...
|
|
69
|
-
"aria-labelledby":
|
|
58
|
+
children: /* @__PURE__ */ x("section", {
|
|
59
|
+
...i && {
|
|
60
|
+
"aria-labelledby": i
|
|
70
61
|
},
|
|
71
62
|
className: b.body,
|
|
72
|
-
...
|
|
63
|
+
...m,
|
|
73
64
|
children: [
|
|
74
|
-
/* @__PURE__ */ o(
|
|
65
|
+
/* @__PURE__ */ o(C, {
|
|
75
66
|
...s && {
|
|
76
67
|
id: s
|
|
77
68
|
},
|
|
78
|
-
content:
|
|
69
|
+
content: d,
|
|
79
70
|
className: b.header,
|
|
80
71
|
userAriaLabelledby: a
|
|
81
72
|
}),
|
|
@@ -91,5 +82,5 @@ const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, child
|
|
|
91
82
|
});
|
|
92
83
|
};
|
|
93
84
|
export {
|
|
94
|
-
|
|
85
|
+
I as Card
|
|
95
86
|
};
|
|
@@ -1,28 +1,19 @@
|
|
|
1
|
-
import { jsxs as F, jsx as g, Fragment as
|
|
2
|
-
import { useResizeObserver as
|
|
3
|
-
import { LiveRegion as H } from "./index.
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as F, jsx as g, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { useResizeObserver as B, useUniqueId as W, useMergeRefs as z } from "./LogoEntry.CnTI8jpv.js";
|
|
3
|
+
import { LiveRegion as H } from "./index.Bi0z4EE1.js";
|
|
4
|
+
import P, { useState as w, useRef as N, useLayoutEffect as O, useEffect as G } from "react";
|
|
5
5
|
import l from "clsx";
|
|
6
|
-
|
|
7
|
-
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
8
|
-
version: "6.0.1",
|
|
9
|
-
buildTime: "12/24/2025 09:20 AM EST",
|
|
10
|
-
homepage: "https://www.npmjs.com/package/@versini/ui-textinput",
|
|
11
|
-
license: "MIT"
|
|
12
|
-
});
|
|
13
|
-
} catch {
|
|
14
|
-
}
|
|
15
|
-
const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helper-text", J = ({ mode: e }) => l({
|
|
6
|
+
const $ = "av-text-input", J = "av-text-input-wrapper", M = "av-text-input-helper-text", K = ({ mode: e }) => l({
|
|
16
7
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
17
8
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
18
9
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
19
10
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
20
|
-
}),
|
|
11
|
+
}), Q = ({ focusMode: e }) => l("focus:outline-2 focus:outline-offset-2", {
|
|
21
12
|
"focus:outline-focus-dark": e === "dark",
|
|
22
13
|
"focus:outline-focus-light": e === "light",
|
|
23
14
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
24
15
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
25
|
-
}),
|
|
16
|
+
}), V = ({ noBorder: e, error: s }) => l("border-2", {
|
|
26
17
|
"border-border-dark": !e && !s,
|
|
27
18
|
"focus:border-border-dark": !e && s,
|
|
28
19
|
"border-border-error-dark": !e && s,
|
|
@@ -50,25 +41,25 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
50
41
|
if (s)
|
|
51
42
|
return "";
|
|
52
43
|
if (r)
|
|
53
|
-
return l(
|
|
44
|
+
return l(M, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
|
|
54
45
|
if (!e)
|
|
55
|
-
return l(
|
|
46
|
+
return l(M, "absolute px-2 font-medium", {
|
|
56
47
|
"text-copy-lighter": t === "dark",
|
|
57
48
|
"text-copy-dark": t === "light",
|
|
58
49
|
"text-copy-dark dark:text-copy-lighter": t === "system",
|
|
59
50
|
"text-copy-lighter dark:text-copy-dark": t === "alt-system"
|
|
60
51
|
});
|
|
61
52
|
if (e)
|
|
62
|
-
return l(
|
|
53
|
+
return l(M, "absolute px-2 font-medium", {
|
|
63
54
|
"text-copy-error-light bg-surface-darker": t === "dark",
|
|
64
55
|
"text-copy-error-dark": t === "light",
|
|
65
56
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": t === "system",
|
|
66
57
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": t === "alt-system"
|
|
67
58
|
});
|
|
68
|
-
}, ee = ({ className: e, inputClassName: s, raw: t, disabled: r, noBorder: n, error: p, mode: d, focusMode:
|
|
69
|
-
const
|
|
59
|
+
}, ee = ({ className: e, inputClassName: s, raw: t, disabled: r, noBorder: n, error: p, mode: d, focusMode: b, size: m, rightElementClassName: T }) => {
|
|
60
|
+
const I = t ? e : l("relative flex w-full flex-col justify-center", J, e);
|
|
70
61
|
let c = "";
|
|
71
|
-
switch (
|
|
62
|
+
switch (m) {
|
|
72
63
|
case "xs":
|
|
73
64
|
c = "h-8";
|
|
74
65
|
break;
|
|
@@ -85,16 +76,16 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
85
76
|
c = "h-12";
|
|
86
77
|
break;
|
|
87
78
|
}
|
|
88
|
-
const E = t ? l(s) : l(
|
|
79
|
+
const E = t ? l(s) : l($, c, "rounded-md text-base px-4", K({
|
|
89
80
|
mode: d
|
|
90
|
-
}), K({
|
|
91
|
-
focusMode: m
|
|
92
81
|
}), Q({
|
|
82
|
+
focusMode: b
|
|
83
|
+
}), V({
|
|
93
84
|
noBorder: n,
|
|
94
85
|
error: p
|
|
95
86
|
}), {
|
|
96
87
|
"disabled:cursor-not-allowed disabled:opacity-50": r
|
|
97
|
-
}, s),
|
|
88
|
+
}, s), R = t ? void 0 : "sr-only", o = Y({
|
|
98
89
|
disabled: r,
|
|
99
90
|
raw: t,
|
|
100
91
|
error: p,
|
|
@@ -106,18 +97,18 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
106
97
|
disabled: r
|
|
107
98
|
}), f = t ? void 0 : l("absolute right-3", T);
|
|
108
99
|
return {
|
|
109
|
-
wrapper:
|
|
100
|
+
wrapper: I,
|
|
110
101
|
input: E,
|
|
111
|
-
accessibleLabel:
|
|
102
|
+
accessibleLabel: R,
|
|
112
103
|
visibleLabel: o,
|
|
113
104
|
helperText: x,
|
|
114
105
|
rightElement: f
|
|
115
106
|
};
|
|
116
|
-
},
|
|
117
|
-
const [
|
|
107
|
+
}, D = /* @__PURE__ */ P.forwardRef(({ id: e, name: s, label: t, error: r = !1, raw: n = !1, className: p, inputClassName: d, mode: b = "system", focusMode: m = "system", disabled: T = !1, noBorder: I = !1, labelId: c, labelHidden: E = !1, type: R = "text", helperText: o = "", rightElement: x, rightElementClassName: f, size: i = "md", ...v }, A) => {
|
|
108
|
+
const [L, u] = B(), [S, _] = w(0), y = W({
|
|
118
109
|
id: e,
|
|
119
|
-
prefix: `${
|
|
120
|
-
}),
|
|
110
|
+
prefix: `${$}-`
|
|
111
|
+
}), U = `${s} error, ${o}`, C = N(null), a = N(null), h = {
|
|
121
112
|
xs: {
|
|
122
113
|
label: "-25px",
|
|
123
114
|
helperText: "30px"
|
|
@@ -143,20 +134,20 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
143
134
|
inputClassName: d,
|
|
144
135
|
error: r,
|
|
145
136
|
raw: n,
|
|
146
|
-
focusMode:
|
|
137
|
+
focusMode: m,
|
|
147
138
|
disabled: T,
|
|
148
|
-
noBorder:
|
|
149
|
-
mode:
|
|
139
|
+
noBorder: I,
|
|
140
|
+
mode: b,
|
|
150
141
|
size: i,
|
|
151
142
|
rightElementClassName: f
|
|
152
143
|
});
|
|
153
144
|
return O(() => {
|
|
154
|
-
u && u.width &&
|
|
145
|
+
u && u.width && _(u.width + 18 + 10);
|
|
155
146
|
}, [
|
|
156
147
|
u
|
|
157
148
|
]), O(() => {
|
|
158
|
-
const { label:
|
|
159
|
-
|
|
149
|
+
const { label: X, helperText: j } = h[i];
|
|
150
|
+
C?.current?.style.setProperty("--av-text-input-label", X), a?.current?.style.setProperty("--av-text-input-helper-text", j);
|
|
160
151
|
}, [
|
|
161
152
|
i
|
|
162
153
|
]), /* @__PURE__ */ F("div", {
|
|
@@ -169,10 +160,10 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
169
160
|
children: t
|
|
170
161
|
}),
|
|
171
162
|
/* @__PURE__ */ g("input", {
|
|
172
|
-
ref:
|
|
163
|
+
ref: A,
|
|
173
164
|
id: y,
|
|
174
165
|
name: s,
|
|
175
|
-
type:
|
|
166
|
+
type: R,
|
|
176
167
|
disabled: T,
|
|
177
168
|
placeholder: n ? void 0 : " ",
|
|
178
169
|
className: k.input,
|
|
@@ -187,10 +178,10 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
187
178
|
paddingRight: S
|
|
188
179
|
}
|
|
189
180
|
},
|
|
190
|
-
...
|
|
181
|
+
...v
|
|
191
182
|
}),
|
|
192
183
|
!n && !E && /* @__PURE__ */ g("label", {
|
|
193
|
-
ref:
|
|
184
|
+
ref: C,
|
|
194
185
|
"aria-hidden": !0,
|
|
195
186
|
htmlFor: y,
|
|
196
187
|
className: k.visibleLabel,
|
|
@@ -203,29 +194,29 @@ const X = "av-text-input", G = "av-text-input-wrapper", U = "av-text-input-helpe
|
|
|
203
194
|
children: o
|
|
204
195
|
}),
|
|
205
196
|
x && /* @__PURE__ */ g("div", {
|
|
206
|
-
ref:
|
|
197
|
+
ref: L,
|
|
207
198
|
className: k.rightElement,
|
|
208
199
|
children: x
|
|
209
200
|
}),
|
|
210
201
|
r && o && /* @__PURE__ */ g(H, {
|
|
211
202
|
politeness: "polite",
|
|
212
203
|
clearAnnouncementDelay: 500,
|
|
213
|
-
children:
|
|
204
|
+
children: U
|
|
214
205
|
})
|
|
215
206
|
]
|
|
216
207
|
});
|
|
217
208
|
});
|
|
218
|
-
|
|
219
|
-
const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */
|
|
220
|
-
const [E,
|
|
209
|
+
D.displayName = "TextInput";
|
|
210
|
+
const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ P.forwardRef(({ name: e, disabled: s, label: t, labelHidden: r, onMaskChange: n, onChange: p, onBlur: d, onFocus: b, onTextInputMaskBlur: m, rightElement: T, ...I }, c) => {
|
|
211
|
+
const [E, R] = w(!0), [o, x] = w({
|
|
221
212
|
message: null,
|
|
222
213
|
politeness: null
|
|
223
|
-
}), f =
|
|
214
|
+
}), f = N(!0), i = N(null), v = N(null), A = z([
|
|
224
215
|
c,
|
|
225
|
-
|
|
226
|
-
]),
|
|
216
|
+
v
|
|
217
|
+
]), L = E ? "Show" : "Hide", u = () => {
|
|
227
218
|
i.current && clearTimeout(i.current), f.current || (i.current = setTimeout(() => {
|
|
228
|
-
f.current = !0,
|
|
219
|
+
f.current = !0, R(!0), x({
|
|
229
220
|
announcementTimeout: re,
|
|
230
221
|
politeness: "polite",
|
|
231
222
|
message: `${t} hiding characters`
|
|
@@ -234,43 +225,43 @@ const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ M.forwardRef(({ name: e
|
|
|
234
225
|
}, S = (a) => {
|
|
235
226
|
a.preventDefault();
|
|
236
227
|
const h = !f.current;
|
|
237
|
-
f.current = h, u(),
|
|
228
|
+
f.current = h, u(), R(h), x({
|
|
238
229
|
announcementTimeout: te,
|
|
239
230
|
politeness: "assertive",
|
|
240
231
|
message: h ? "Characters hidden" : "Characters showing"
|
|
241
232
|
}), n && n(h);
|
|
242
|
-
},
|
|
233
|
+
}, _ = (a) => {
|
|
243
234
|
const { relatedTarget: h } = a;
|
|
244
|
-
|
|
235
|
+
v.current?.parentElement?.contains(h) || m && m();
|
|
245
236
|
}, y = (a) => {
|
|
246
|
-
u(), d && d(a),
|
|
247
|
-
},
|
|
248
|
-
u(),
|
|
249
|
-
},
|
|
237
|
+
u(), d && d(a), _(a);
|
|
238
|
+
}, U = (a) => {
|
|
239
|
+
u(), b && b(a);
|
|
240
|
+
}, C = (a) => {
|
|
250
241
|
u(), p && p(a);
|
|
251
242
|
};
|
|
252
|
-
return
|
|
243
|
+
return G(() => () => {
|
|
253
244
|
i.current && clearTimeout(i.current);
|
|
254
|
-
}, []), /* @__PURE__ */ F(
|
|
245
|
+
}, []), /* @__PURE__ */ F(q, {
|
|
255
246
|
children: [
|
|
256
|
-
/* @__PURE__ */ g(
|
|
257
|
-
ref:
|
|
247
|
+
/* @__PURE__ */ g(D, {
|
|
248
|
+
ref: A,
|
|
258
249
|
name: e,
|
|
259
250
|
label: t,
|
|
260
251
|
labelHidden: r,
|
|
261
252
|
type: E ? "password" : "text",
|
|
262
253
|
disabled: s,
|
|
263
254
|
onBlur: y,
|
|
264
|
-
onFocus:
|
|
265
|
-
onChange:
|
|
266
|
-
rightElement: /* @__PURE__ */
|
|
255
|
+
onFocus: U,
|
|
256
|
+
onChange: C,
|
|
257
|
+
rightElement: /* @__PURE__ */ P.cloneElement(T, {
|
|
267
258
|
ref: c,
|
|
268
|
-
label:
|
|
259
|
+
label: L,
|
|
269
260
|
onClick: S,
|
|
270
|
-
onBlur:
|
|
261
|
+
onBlur: _,
|
|
271
262
|
disabled: s
|
|
272
263
|
}),
|
|
273
|
-
...
|
|
264
|
+
...I
|
|
274
265
|
}),
|
|
275
266
|
/* @__PURE__ */ g(H, {
|
|
276
267
|
role: "status",
|
|
@@ -283,6 +274,6 @@ const te = 500, re = 5e3, se = 2e4, ae = /* @__PURE__ */ M.forwardRef(({ name: e
|
|
|
283
274
|
});
|
|
284
275
|
ae.displayName = "TextInputMask";
|
|
285
276
|
export {
|
|
286
|
-
|
|
277
|
+
D as TextInput,
|
|
287
278
|
ae as TextInputMask
|
|
288
279
|
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { fromHtmlIsomorphic as w } from "./browser.B8WuOmYx.js";
|
|
2
|
+
import u from "./katex.D0sQThIv.js";
|
|
3
|
+
import { visitParents as C, SKIP as I } from "./useMarkdown.CxuK_DLo.js";
|
|
4
|
+
import { toText as O } from "./index.CUn5zNJg.js";
|
|
5
|
+
const S = {}, T = [];
|
|
6
|
+
function E(d) {
|
|
7
|
+
const s = d || S;
|
|
8
|
+
return function(f, g) {
|
|
9
|
+
C(f, "element", function(r, o) {
|
|
10
|
+
const n = Array.isArray(r.properties.className) ? r.properties.className : T, p = n.includes("language-math"), m = n.includes("math-display"), y = n.includes("math-inline");
|
|
11
|
+
let a = m;
|
|
12
|
+
if (!p && !m && !y)
|
|
13
|
+
return;
|
|
14
|
+
let t = o[o.length - 1], i = r;
|
|
15
|
+
if (r.tagName === "code" && p && t && t.type === "element" && t.tagName === "pre" && (i = t, t = o[o.length - 2], a = !0), !t) return;
|
|
16
|
+
const c = O(i, { whitespace: "pre" });
|
|
17
|
+
let e;
|
|
18
|
+
try {
|
|
19
|
+
e = u.renderToString(c, {
|
|
20
|
+
...s,
|
|
21
|
+
displayMode: a,
|
|
22
|
+
throwOnError: !0
|
|
23
|
+
});
|
|
24
|
+
} catch (l) {
|
|
25
|
+
const h = (
|
|
26
|
+
/** @type {Error} */
|
|
27
|
+
l
|
|
28
|
+
), N = h.name.toLowerCase();
|
|
29
|
+
g.message("Could not render math with KaTeX", {
|
|
30
|
+
ancestors: [...o, r],
|
|
31
|
+
cause: h,
|
|
32
|
+
place: r.position,
|
|
33
|
+
ruleId: N,
|
|
34
|
+
source: "rehype-katex"
|
|
35
|
+
});
|
|
36
|
+
try {
|
|
37
|
+
e = u.renderToString(c, {
|
|
38
|
+
...s,
|
|
39
|
+
displayMode: a,
|
|
40
|
+
strict: "ignore",
|
|
41
|
+
throwOnError: !1
|
|
42
|
+
});
|
|
43
|
+
} catch {
|
|
44
|
+
e = [
|
|
45
|
+
{
|
|
46
|
+
type: "element",
|
|
47
|
+
tagName: "span",
|
|
48
|
+
properties: {
|
|
49
|
+
className: ["katex-error"],
|
|
50
|
+
style: "color:" + (s.errorColor || "#cc0000"),
|
|
51
|
+
title: String(l)
|
|
52
|
+
},
|
|
53
|
+
children: [{ type: "text", value: c }]
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
typeof e == "string" && (e = /** @type {Array<ElementContent>} */
|
|
59
|
+
w(e, { fragment: !0 }).children);
|
|
60
|
+
const x = t.children.indexOf(i);
|
|
61
|
+
return t.children.splice(x, 1, ...e), I;
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
E as default
|
|
67
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.CxuK_DLo.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
|
2
|
-
import { visit as In } from "./useMarkdown.
|
|
3
|
-
import { toText as Cn } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.Br7HE-y0.js";
|
|
2
|
+
import { visit as In } from "./useMarkdown.CxuK_DLo.js";
|
|
3
|
+
import { toText as Cn } from "./index.CUn5zNJg.js";
|
|
4
4
|
function xn(e) {
|
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
|
6
6
|
className: "type",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EmptyFileSystem as i, inject as t, MermaidGeneratedSharedModule as u, createDefaultSharedCoreModule as d, __name as r, InfoGeneratedModule as s, createDefaultCoreModule as l, CommonValueConverter as c, AbstractMermaidTokenBuilder as f } from "./mermaid-parser.core.CO83pegl.js";
|
|
2
|
+
var e, m = (e = class extends f {
|
|
3
|
+
constructor() {
|
|
4
|
+
super(["info", "showInfo"]);
|
|
5
|
+
}
|
|
6
|
+
}, r(e, "InfoTokenBuilder"), e), v = {
|
|
7
|
+
parser: {
|
|
8
|
+
TokenBuilder: /* @__PURE__ */ r(() => new m(), "TokenBuilder"),
|
|
9
|
+
ValueConverter: /* @__PURE__ */ r(() => new c(), "ValueConverter")
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
function I(a = i) {
|
|
13
|
+
const o = t(
|
|
14
|
+
d(a),
|
|
15
|
+
u
|
|
16
|
+
), n = t(
|
|
17
|
+
l({ shared: o }),
|
|
18
|
+
s,
|
|
19
|
+
v
|
|
20
|
+
);
|
|
21
|
+
return o.ServiceRegistry.register(n), { shared: o, Info: n };
|
|
22
|
+
}
|
|
23
|
+
r(I, "createInfoServices");
|
|
24
|
+
export {
|
|
25
|
+
v as InfoModule,
|
|
26
|
+
I as createInfoServices
|
|
27
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __name as a, log as n, selectSvgElement as s, configureSvgSize as i, package_default as g } from "./rehype-mermaid.DkS2NcIa.js";
|
|
2
|
+
import { parse as v } from "./mermaid-parser.core.CO83pegl.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parse: /* @__PURE__ */ a(async (r) => {
|
|
5
|
+
const e = await v("info", r);
|
|
6
|
+
n.debug(e);
|
|
7
|
+
}, "parse")
|
|
8
|
+
}, p = {
|
|
9
|
+
version: g.version + ""
|
|
10
|
+
}, c = /* @__PURE__ */ a(() => p.version, "getVersion"), m = {
|
|
11
|
+
getVersion: c
|
|
12
|
+
}, f = /* @__PURE__ */ a((r, e, o) => {
|
|
13
|
+
n.debug(`rendering info diagram
|
|
14
|
+
` + r);
|
|
15
|
+
const t = s(e);
|
|
16
|
+
i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${o}`);
|
|
17
|
+
}, "draw"), l = { draw: f }, b = {
|
|
18
|
+
parser: d,
|
|
19
|
+
db: m,
|
|
20
|
+
renderer: l
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
b as diagram
|
|
24
|
+
};
|