@aswin.dev/editor 0.6.3 → 0.7.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/AccessibilityPanel-CvQGLdu6.js +108 -0
- package/dist/AiChatSidebar-B3SJIKG_.js +229 -0
- package/dist/AiFeatureMenu-BLLKoOos.js +63 -0
- package/dist/BlockA11yBadge-CXDLqkcJ.js +34 -0
- package/dist/CloudEditor-BCz1ZTYC.js +1172 -0
- package/dist/CollaboratorBar-DuPYW5iF.js +95 -0
- package/dist/CommentsSidebar-B1pvJdqF.js +441 -0
- package/dist/CountdownBlock-BNSj1jvJ.js +92 -0
- package/dist/CountdownToolbar-ClJr2GzL.js +210 -0
- package/dist/DesignReferenceSidebar-B8V_F2yF.js +276 -0
- package/dist/LoadingTrack-B0CWFHXQ.js +10 -0
- package/dist/ModuleBrowserModal-DrUFMTDx.js +206 -0
- package/dist/ModulePreviewCanvas-CHdOwV_4.js +106 -0
- package/dist/NumberWithSuffix-DkXUez9t.js +422 -0
- package/dist/ParagraphEditor-D75wl3BX.js +695 -0
- package/dist/RichTextEditorContent-DYkIauIk.js +137 -0
- package/dist/SaveModuleDialog-FZ9lxY7_.js +123 -0
- package/dist/SnapshotHistory-BR3eV120.js +127 -0
- package/dist/TemplateScoringPanel-4GTNHej5.js +256 -0
- package/dist/TestEmailModal--ue5w9fT.js +94 -0
- package/dist/TitleEditor-fStSADI-.js +172 -0
- package/dist/TplModal-BwSfxIHf.js +44 -0
- package/dist/_plugin-vue_export-helper-B0hnzhyu.js +8 -0
- package/dist/accessibility-e8JYu_zd.js +27 -0
- package/dist/blockTypeIcons-BcTrDjmH.js +126 -0
- package/dist/bundle-stats.json +10 -0
- package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js +97 -0
- package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js.map +1 -0
- package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js +59 -0
- package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js.map +1 -0
- package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js +33 -0
- package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js.map +1 -0
- package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js +1143 -0
- package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +1 -0
- package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js +51 -0
- package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js.map +1 -0
- package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js +93 -0
- package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js.map +1 -0
- package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +212 -0
- package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js.map +1 -0
- package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js +195 -0
- package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js.map +1 -0
- package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js +107 -0
- package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js.map +1 -0
- package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js +423 -0
- package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js.map +1 -0
- package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js +544 -0
- package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js.map +1 -0
- package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js +106 -0
- package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js.map +1 -0
- package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js +119 -0
- package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js.map +1 -0
- package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js +171 -0
- package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js.map +1 -0
- package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js +22 -0
- package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js.map +1 -0
- package/dist/cdn/chunks/de-Ce-LbJ2J.js +89 -0
- package/dist/cdn/chunks/de-Ce-LbJ2J.js.map +1 -0
- package/dist/cdn/chunks/de-D8CnZxV9.js +523 -0
- package/dist/cdn/chunks/de-D8CnZxV9.js.map +1 -0
- package/dist/cdn/chunks/de-RQrZR56a.js +209 -0
- package/dist/cdn/chunks/de-RQrZR56a.js.map +1 -0
- package/dist/cdn/chunks/draggable-Bcb86AsV.js +11572 -0
- package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +1 -0
- package/dist/cdn/chunks/emojiData-EMFlj6FJ.js +19 -0
- package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +1 -0
- package/dist/cdn/chunks/en-8FHaQv4V.js +523 -0
- package/dist/cdn/chunks/en-8FHaQv4V.js.map +1 -0
- package/dist/cdn/chunks/en-Bl1ecfRF.js +209 -0
- package/dist/cdn/chunks/en-Bl1ecfRF.js.map +1 -0
- package/dist/cdn/chunks/en-DiCWK5fG.js +89 -0
- package/dist/cdn/chunks/en-DiCWK5fG.js.map +1 -0
- package/dist/cdn/chunks/extensions-DIxF31tA.js +598 -0
- package/dist/cdn/chunks/extensions-DIxF31tA.js.map +1 -0
- package/dist/cdn/chunks/features-DEMb13KS.js +6814 -0
- package/dist/cdn/chunks/features-DEMb13KS.js.map +1 -0
- package/dist/cdn/chunks/icons-CsLTcirh.js +700 -0
- package/dist/cdn/chunks/icons-CsLTcirh.js.map +1 -0
- package/dist/cdn/chunks/liquid.browser-lQbkge2E.js +3279 -0
- package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +1 -0
- package/dist/cdn/chunks/media-library-CVaNvhpM.js +6014 -0
- package/dist/cdn/chunks/media-library-CVaNvhpM.js.map +1 -0
- package/dist/cdn/chunks/pusher-CDbNlZBE.js +2508 -0
- package/dist/cdn/chunks/pusher-CDbNlZBE.js.map +1 -0
- package/dist/cdn/chunks/quality-BaBfc54_.js +1456 -0
- package/dist/cdn/chunks/quality-BaBfc54_.js.map +1 -0
- package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js +32 -0
- package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -0
- package/dist/cdn/chunks/renderer-CUxvx7ro.js +548 -0
- package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +1 -0
- package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +20 -0
- package/dist/cdn/chunks/src-CRaqN-p8.js +497 -0
- package/dist/cdn/chunks/src-CRaqN-p8.js.map +1 -0
- package/dist/cdn/chunks/styleConstants-DP1VOca8.js +57 -0
- package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +1 -0
- package/dist/cdn/chunks/styles-BHJULjNR.js +2947 -0
- package/dist/cdn/chunks/styles-BHJULjNR.js.map +1 -0
- package/dist/cdn/chunks/tiptap-ZhwKyFp7.js +14654 -0
- package/dist/cdn/chunks/tiptap-ZhwKyFp7.js.map +1 -0
- package/dist/cdn/editor.css +2 -0
- package/dist/cdn/editor.js +250 -0
- package/dist/cdn/editor.js.map +1 -0
- package/dist/check-Da05j8yl.js +7 -0
- package/dist/chevron-down-R2uY34iD.js +7 -0
- package/dist/circle-alert-DZuGWPX-.js +25 -0
- package/dist/clock-CRp2sIub.js +12 -0
- package/dist/cloud-DEk_b4CR.js +1733 -0
- package/dist/createLucideIcon-C3pa2siy.js +43 -0
- package/dist/de-Brqvgr43.js +521 -0
- package/dist/de-DCaaCE5s.js +207 -0
- package/dist/dist-B1IR0bpH.js +326 -0
- package/dist/dist-BFawx6IS.js +519 -0
- package/dist/dist-BaQIYPsn.js +35 -0
- package/dist/dist-Cp0zXPAD.js +189 -0
- package/dist/dist-D6uC2xhi.js +5 -0
- package/dist/dist-D90y8dvT.js +2082 -0
- package/dist/dist-DDJIWTRY.js +776 -0
- package/dist/dist-DJmnUmW9.js +362 -0
- package/dist/dist-DjviJBCi.js +74 -0
- package/dist/dist-KoBJjK1G.js +61 -0
- package/dist/dist-aRzjfSRN.js +35 -0
- package/dist/dist-iLBdeBDR.js +10658 -0
- package/dist/dist-us-RpCWN.js +47 -0
- package/dist/dist-wzMIGj-D.js +5 -0
- package/dist/emojiData-PQyVa4bU.js +17 -0
- package/dist/en-DXCyK4-X.js +207 -0
- package/dist/en-WDVp87TE.js +521 -0
- package/dist/extensions-CUcl9Ok4.js +799 -0
- package/dist/formatRelativeTime-BOEf47hq.js +12 -0
- package/dist/image-up-MBZKKg9p.js +23 -0
- package/dist/index.d.ts +275 -0
- package/dist/info-CJEC7piy.js +19 -0
- package/dist/keys-ciNfSSGj.js +10 -0
- package/dist/liquid.browser-CdMv1BTn.js +3277 -0
- package/dist/loader-circle-DsY5Yg33.js +7 -0
- package/dist/message-circle-yElBbR2C.js +7 -0
- package/dist/readableTextColor-CY3SiRnt.js +30 -0
- package/dist/refresh-cw-CE_AGtn8.js +29 -0
- package/dist/rolldown-runtime-BZGGJVDF.js +20 -0
- package/dist/scan-line-D0vcUekt.js +25 -0
- package/dist/send-DH4oDQqC.js +10 -0
- package/dist/shield-check-CfJgs2Hd.js +10 -0
- package/dist/sparkles-CvRXGqFs.js +23 -0
- package/dist/style.css +2 -0
- package/dist/styleConstants-fWzlIIwN.js +55 -0
- package/dist/styles-DEXEkBvg.js +3176 -0
- package/dist/templatical-editor.js +249 -0
- package/dist/text-align-start-BT9VUDxK.js +43 -0
- package/dist/timeouts-BSGxjuUF.js +4 -0
- package/dist/trash-2-DbP2Y6t2.js +25 -0
- package/dist/triangle-alert-aOXceTSe.js +17 -0
- package/dist/useCloudI18n-BuIwR6OE.js +23 -0
- package/dist/useEditorCore-C6ost42Q.js +9342 -0
- package/dist/useI18n-lb2DHDiu.js +17 -0
- package/dist/useMergeTag-CBwKnnNB.js +34 -0
- package/dist/vue.runtime.esm-bundler-DpvJL-nX.js +5775 -0
- package/dist/x-u2oVmjN_.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Dt as e, E as t, L as n, M as r, Mt as i, P as a, S as o, _ as s, b as c, d as l, g as u, h as d, it as f, m as p, p as m, y as h } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
|
|
2
|
+
import { m as g, t as _ } from "./keys-ciNfSSGj.js";
|
|
3
|
+
import { t as v } from "./useI18n-lb2DHDiu.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-C3pa2siy.js";
|
|
5
|
+
import { t as b } from "./accessibility-e8JYu_zd.js";
|
|
6
|
+
import { t as x } from "./circle-alert-DZuGWPX-.js";
|
|
7
|
+
import { t as S } from "./info-CJEC7piy.js";
|
|
8
|
+
import { t as C } from "./triangle-alert-aOXceTSe.js";
|
|
9
|
+
var w = y("arrow-right", [["path", {
|
|
10
|
+
d: "M5 12h14",
|
|
11
|
+
key: "1ays0h"
|
|
12
|
+
}], ["path", {
|
|
13
|
+
d: "m12 5 7 7-7 7",
|
|
14
|
+
key: "xquz4c"
|
|
15
|
+
}]]), T = y("wrench", [["path", {
|
|
16
|
+
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
|
|
17
|
+
key: "1ngwbx"
|
|
18
|
+
}]]), E = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, D = { class: "tpl:flex tpl:items-center tpl:gap-2" }, O = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, k = ["title"], A = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
21
|
+
}, j = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
24
|
+
}, M = { class: "tpl:ml-auto tpl:font-normal tpl:opacity-70" }, N = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
|
|
27
|
+
}, P = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, F = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, I = { class: "tpl:flex tpl:gap-1.5" }, L = ["onClick"], R = ["title", "onClick"], z = /* @__PURE__ */ o({
|
|
28
|
+
__name: "AccessibilityPanel",
|
|
29
|
+
setup(o) {
|
|
30
|
+
let { t: y, format: z } = v(), B = t(_, null), V = t(g, null), H = m(() => (B?.issues.value ?? []).filter((e) => e.severity === "error")), U = m(() => (B?.issues.value ?? []).filter((e) => e.severity === "warning")), W = m(() => (B?.issues.value ?? []).filter((e) => e.severity === "info")), G = m(() => H.value.length + U.value.length + W.value.length);
|
|
31
|
+
function K(e) {
|
|
32
|
+
V && e.blockId && V.selectBlock(e.blockId);
|
|
33
|
+
}
|
|
34
|
+
function q(e) {
|
|
35
|
+
B?.applyFix(e);
|
|
36
|
+
}
|
|
37
|
+
return (t, o) => (r(), s("div", E, [p("header", D, [
|
|
38
|
+
c(f(b), {
|
|
39
|
+
size: 16,
|
|
40
|
+
"stroke-width": 1.5
|
|
41
|
+
}),
|
|
42
|
+
p("h3", O, i(f(y).accessibility.panelTitle), 1),
|
|
43
|
+
G.value > 0 ? (r(), s("span", {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]",
|
|
46
|
+
title: f(z)(f(y).accessibility.issueCountTooltip, { count: G.value })
|
|
47
|
+
}, i(G.value), 9, k)) : u("", !0)
|
|
48
|
+
]), !f(B) || f(B).unavailable.value ? (r(), s("div", A)) : G.value === 0 ? (r(), s("div", j, i(f(y).accessibility.emptyState), 1)) : (r(!0), s(l, { key: 2 }, a([
|
|
49
|
+
{
|
|
50
|
+
key: "errors",
|
|
51
|
+
title: f(y).accessibility.groupErrors,
|
|
52
|
+
icon: f(x),
|
|
53
|
+
items: H.value,
|
|
54
|
+
tone: "tpl:text-[var(--tpl-danger)]"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "warnings",
|
|
58
|
+
title: f(y).accessibility.groupWarnings,
|
|
59
|
+
icon: f(C),
|
|
60
|
+
items: U.value,
|
|
61
|
+
tone: "tpl:text-[var(--tpl-warning)]"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
key: "info",
|
|
65
|
+
title: f(y).accessibility.groupInfo,
|
|
66
|
+
icon: f(S),
|
|
67
|
+
items: W.value,
|
|
68
|
+
tone: "tpl:text-[var(--tpl-text-muted)]"
|
|
69
|
+
}
|
|
70
|
+
], (t) => (r(), s("section", { key: t.key }, [t.items.length > 0 ? (r(), s("header", {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: e(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-[11px] tpl:font-semibold tpl:uppercase tpl:tracking-wide", t.tone])
|
|
73
|
+
}, [
|
|
74
|
+
(r(), d(n(t.icon), {
|
|
75
|
+
size: 12,
|
|
76
|
+
"stroke-width": 2
|
|
77
|
+
})),
|
|
78
|
+
h(" " + i(t.title) + " ", 1),
|
|
79
|
+
p("span", M, i(t.items.length), 1)
|
|
80
|
+
], 2)) : u("", !0), t.items.length > 0 ? (r(), s("ul", N, [(r(!0), s(l, null, a(t.items, (e) => (r(), s("li", {
|
|
81
|
+
key: `${e.ruleId}-${e.blockId ?? "template"}`,
|
|
82
|
+
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
|
|
83
|
+
}, [
|
|
84
|
+
p("p", P, i(e.message), 1),
|
|
85
|
+
p("p", F, i(e.ruleId), 1),
|
|
86
|
+
p("div", I, [e.blockId ? (r(), s("button", {
|
|
87
|
+
key: 0,
|
|
88
|
+
type: "button",
|
|
89
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text)]",
|
|
90
|
+
onClick: (t) => K(e)
|
|
91
|
+
}, [c(f(w), {
|
|
92
|
+
size: 10,
|
|
93
|
+
"stroke-width": 2
|
|
94
|
+
}), h(" " + i(f(y).accessibility.jump), 1)], 8, L)) : u("", !0), e.fix ? (r(), s("button", {
|
|
95
|
+
key: 1,
|
|
96
|
+
type: "button",
|
|
97
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-[11px] tpl:font-medium tpl:text-white",
|
|
98
|
+
title: e.fix.description,
|
|
99
|
+
onClick: (t) => q(e)
|
|
100
|
+
}, [c(f(T), {
|
|
101
|
+
size: 10,
|
|
102
|
+
"stroke-width": 2
|
|
103
|
+
}), h(" " + i(f(y).accessibility.fix), 1)], 8, R)) : u("", !0)])
|
|
104
|
+
]))), 128))])) : u("", !0)]))), 128))]));
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
//#endregion
|
|
108
|
+
export { z as default };
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { Dt as e, E as t, H as n, M as r, Mt as i, O as a, P as o, Q as s, S as c, V as ee, _ as l, b as u, d, g as f, h as p, it as m, k as h, m as g, s as te, t as ne, y as _, z as v } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
|
|
2
|
+
import { o as re, s as ie } from "./dist-B1IR0bpH.js";
|
|
3
|
+
import { O as y, i as ae, l as oe, m as se, v as ce } from "./keys-ciNfSSGj.js";
|
|
4
|
+
import { t as b } from "./createLucideIcon-C3pa2siy.js";
|
|
5
|
+
import { t as le } from "./circle-alert-DZuGWPX-.js";
|
|
6
|
+
import { t as ue } from "./loader-circle-DsY5Yg33.js";
|
|
7
|
+
import { t as de } from "./send-DH4oDQqC.js";
|
|
8
|
+
import { t as x } from "./sparkles-CvRXGqFs.js";
|
|
9
|
+
import { t as fe } from "./trash-2-DbP2Y6t2.js";
|
|
10
|
+
import { t as pe } from "./x-u2oVmjN_.js";
|
|
11
|
+
import { t as me } from "./LoadingTrack-B0CWFHXQ.js";
|
|
12
|
+
import { t as S } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
13
|
+
import { i as C } from "./cloud-DEk_b4CR.js";
|
|
14
|
+
var w = b("redo-2", [["path", {
|
|
15
|
+
d: "m15 14 5-5-5-5",
|
|
16
|
+
key: "12vg1m"
|
|
17
|
+
}], ["path", {
|
|
18
|
+
d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",
|
|
19
|
+
key: "6uklza"
|
|
20
|
+
}]]), T = b("undo-2", [["path", {
|
|
21
|
+
d: "M9 14 4 9l5-5",
|
|
22
|
+
key: "102s5s"
|
|
23
|
+
}], ["path", {
|
|
24
|
+
d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
|
|
25
|
+
key: "f3b9sd"
|
|
26
|
+
}]]);
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/composables/useAliveFlag.ts
|
|
29
|
+
function E() {
|
|
30
|
+
let e = { alive: !0 };
|
|
31
|
+
return h(() => {
|
|
32
|
+
e.alive = !1;
|
|
33
|
+
}), e;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/cloud/components/AiChatSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
37
|
+
var D = {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:z-panel tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
40
|
+
}, O = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, k = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, A = { class: "tpl:flex tpl:items-center tpl:gap-1" }, j = ["title"], M = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, N = {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
43
|
+
}, P = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, F = {
|
|
44
|
+
key: 1,
|
|
45
|
+
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
46
|
+
}, I = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, L = {
|
|
47
|
+
key: 2,
|
|
48
|
+
class: "tpl:flex tpl:flex-col tpl:gap-4"
|
|
49
|
+
}, R = {
|
|
50
|
+
key: 0,
|
|
51
|
+
class: "tpl:self-end tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3.5 tpl:py-2.5 tpl:text-sm",
|
|
52
|
+
style: {
|
|
53
|
+
"background-color": "var(--tpl-primary-light)",
|
|
54
|
+
color: "var(--tpl-text)",
|
|
55
|
+
"max-width": "85%",
|
|
56
|
+
"box-shadow": "var(--tpl-shadow)"
|
|
57
|
+
}
|
|
58
|
+
}, z = {
|
|
59
|
+
key: 1,
|
|
60
|
+
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
61
|
+
}, B = {
|
|
62
|
+
key: 1,
|
|
63
|
+
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3.5 tpl:py-2.5 tpl:text-sm tpl:whitespace-pre-wrap",
|
|
64
|
+
style: {
|
|
65
|
+
"max-width": "85%",
|
|
66
|
+
"background-color": "var(--tpl-bg)",
|
|
67
|
+
color: "var(--tpl-text)",
|
|
68
|
+
"box-shadow": "var(--tpl-shadow)"
|
|
69
|
+
}
|
|
70
|
+
}, he = {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "tpl:mx-3 tpl:mb-2 tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs",
|
|
73
|
+
style: {
|
|
74
|
+
"background-color": "var(--tpl-danger-light)",
|
|
75
|
+
color: "var(--tpl-danger)"
|
|
76
|
+
}
|
|
77
|
+
}, ge = {
|
|
78
|
+
key: 1,
|
|
79
|
+
class: "tpl:absolute tpl:right-0 tpl:bottom-0 tpl:left-0 tpl:z-10 tpl:px-3 tpl:pb-3",
|
|
80
|
+
style: {
|
|
81
|
+
"background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 50%,\n transparent\n )",
|
|
82
|
+
"backdrop-filter": "blur(2px)"
|
|
83
|
+
}
|
|
84
|
+
}, _e = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, ve = ["onClick"], ye = { class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]" }, be = { class: "tpl-ai-input-wrapper tpl:flex tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, xe = ["placeholder", "disabled"], Se = ["disabled"], Ce = { class: "tpl:m-0 tpl:px-1 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, V = /* @__PURE__ */ S(/* @__PURE__ */ c({
|
|
85
|
+
__name: "AiChatSidebar",
|
|
86
|
+
props: {
|
|
87
|
+
visible: { type: Boolean },
|
|
88
|
+
onApply: { type: Function }
|
|
89
|
+
},
|
|
90
|
+
emits: ["close"],
|
|
91
|
+
setup(c, { emit: h }) {
|
|
92
|
+
let b = c, S = h, V = y(oe, "AiChatSidebar"), H = y(se, "AiChatSidebar"), we = y(ae, "AiChatSidebar"), U = t(ce, []), W = E(), G = C({
|
|
93
|
+
authManager: we,
|
|
94
|
+
getTemplateId: () => H.state.template?.id ?? null,
|
|
95
|
+
onApply: b.onApply,
|
|
96
|
+
onError: void 0
|
|
97
|
+
}), K = s(""), q = s(null), J = s(!1), Y = s(0), { pause: X, resume: Te } = re(() => {
|
|
98
|
+
let e = G.suggestions.value?.length ?? 0;
|
|
99
|
+
Y.value < e ? Y.value++ : X();
|
|
100
|
+
}, 150, { immediate: !1 }), { start: Ee } = ie(() => Te(), 100, { immediate: !1 });
|
|
101
|
+
v(() => G.suggestions.value?.length ?? 0, (e) => {
|
|
102
|
+
if (X(), e === 0) {
|
|
103
|
+
Y.value = 0;
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
Y.value = 0, Ee();
|
|
107
|
+
});
|
|
108
|
+
function Z() {
|
|
109
|
+
a(() => {
|
|
110
|
+
q.value && (q.value.scrollTop = q.value.scrollHeight);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
v(() => G.messages.value?.length ?? 0, () => Z()), v(() => b.visible, async (e) => {
|
|
114
|
+
if (e && !J.value) {
|
|
115
|
+
if (J.value = !0, await G.loadConversation(), !W.alive) return;
|
|
116
|
+
(G.messages.value?.length ?? 0) === 0 && H.content.value.blocks.length === 0 && G.loadSuggestions(H.content.value, U);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
async function Q() {
|
|
120
|
+
let e = K.value.trim();
|
|
121
|
+
!e || G.isGenerating.value || (K.value = "", G.error.value = null, G.failedPrompt.value = null, Z(), await G.sendPrompt(e, H.content.value, U), W.alive && (G.failedPrompt.value && (K.value = G.failedPrompt.value), Z()));
|
|
122
|
+
}
|
|
123
|
+
function $(e) {
|
|
124
|
+
return e.replace(/```json[\s\S]*?```/g, "").replace(/```json[\s\S]*/g, "").trim();
|
|
125
|
+
}
|
|
126
|
+
function De(e) {
|
|
127
|
+
X(), K.value = e, Q();
|
|
128
|
+
}
|
|
129
|
+
function Oe(e) {
|
|
130
|
+
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q());
|
|
131
|
+
}
|
|
132
|
+
return (t, a) => (r(), p(ne, {
|
|
133
|
+
"enter-active-class": "tpl-ai-slide-enter-active",
|
|
134
|
+
"enter-from-class": "tpl:translate-x-full",
|
|
135
|
+
"enter-to-class": "tpl:translate-x-0",
|
|
136
|
+
"leave-active-class": "tpl-ai-slide-leave-active",
|
|
137
|
+
"leave-from-class": "tpl:translate-x-0",
|
|
138
|
+
"leave-to-class": "tpl:translate-x-full"
|
|
139
|
+
}, {
|
|
140
|
+
default: ee(() => [c.visible ? (r(), l("div", D, [
|
|
141
|
+
g("div", O, [g("div", k, [u(m(x), {
|
|
142
|
+
size: 13,
|
|
143
|
+
"stroke-width": 2
|
|
144
|
+
}), g("span", null, i(m(V).aiChat.title), 1)]), g("div", A, [(m(G).messages.value?.length ?? 0) > 0 ? (r(), l("button", {
|
|
145
|
+
key: 0,
|
|
146
|
+
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
|
|
147
|
+
title: m(V).aiChat.clear,
|
|
148
|
+
onClick: a[0] ||= (e) => m(G).clearChat()
|
|
149
|
+
}, [u(m(fe), {
|
|
150
|
+
size: 14,
|
|
151
|
+
"stroke-width": 2
|
|
152
|
+
})], 8, j)) : f("", !0), g("button", {
|
|
153
|
+
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
|
|
154
|
+
onClick: a[1] ||= (e) => S("close")
|
|
155
|
+
}, [u(m(pe), {
|
|
156
|
+
size: 14,
|
|
157
|
+
"stroke-width": 2
|
|
158
|
+
})])])]),
|
|
159
|
+
g("div", M, [
|
|
160
|
+
g("div", {
|
|
161
|
+
ref_key: "messagesContainer",
|
|
162
|
+
ref: q,
|
|
163
|
+
class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4"
|
|
164
|
+
}, [m(G).isLoadingHistory.value ? (r(), l("div", N, [u(m(ue), {
|
|
165
|
+
class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
|
|
166
|
+
size: 24,
|
|
167
|
+
"stroke-width": 2
|
|
168
|
+
}), g("p", P, i(m(V).aiChat.loadingHistory), 1)])) : (m(G).messages.value?.length ?? 0) === 0 ? (r(), l("div", F, [u(m(x), {
|
|
169
|
+
size: 32,
|
|
170
|
+
"stroke-width": 1.5,
|
|
171
|
+
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
172
|
+
}), g("p", I, i(m(V).aiChat.placeholder), 1)])) : (r(), l("div", L, [(r(!0), l(d, null, o(m(G).messages.value, (e, t) => (r(), l("div", {
|
|
173
|
+
key: e.id,
|
|
174
|
+
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
175
|
+
}, [e.role === "user" ? (r(), l("div", R, i(e.content), 1)) : (r(), l("div", z, [!$(e.content) && m(G).isGenerating.value && t === (m(G).messages.value?.length ?? 0) - 1 ? (r(), p(me, { key: 0 })) : (r(), l("div", B, i($(e.content) || m(V).aiChat.applied), 1)), e.id === m(G).lastApplyMessageId.value && !m(G).isGenerating.value ? (r(), l("button", {
|
|
176
|
+
key: 2,
|
|
177
|
+
class: "tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:self-start tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
|
|
178
|
+
style: {
|
|
179
|
+
"border-color": "var(--tpl-border)",
|
|
180
|
+
color: "var(--tpl-text-muted)",
|
|
181
|
+
"background-color": "transparent"
|
|
182
|
+
},
|
|
183
|
+
onClick: a[2] ||= (e) => m(G).toggleLastRevert()
|
|
184
|
+
}, [m(G).isLastChangeReverted.value ? (r(), l(d, { key: 0 }, [u(m(w), {
|
|
185
|
+
size: 12,
|
|
186
|
+
"stroke-width": 2
|
|
187
|
+
}), _(" " + i(m(V).aiChat.reapply), 1)], 64)) : (r(), l(d, { key: 1 }, [u(m(T), {
|
|
188
|
+
size: 12,
|
|
189
|
+
"stroke-width": 2
|
|
190
|
+
}), _(" " + i(m(V).aiChat.revert), 1)], 64))])) : f("", !0)]))]))), 128))]))], 512),
|
|
191
|
+
m(G).error.value ? (r(), l("div", he, [u(m(le), {
|
|
192
|
+
size: 14,
|
|
193
|
+
"stroke-width": 2,
|
|
194
|
+
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
195
|
+
}), g("span", null, i(m(G).error.value === "ai_apply_failed" ? m(V).aiChat.applyFailed : m(V).aiChat.error), 1)])) : f("", !0),
|
|
196
|
+
(m(G).suggestions.value?.length ?? 0) > 0 ? (r(), l("div", ge, [g("div", _e, [(r(!0), l(d, null, o(m(G).suggestions.value ?? [], (t, n) => (r(), l("button", {
|
|
197
|
+
key: n,
|
|
198
|
+
class: e(["tpl-suggestion-btn tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:leading-snug tpl:transition-all tpl:duration-300 tpl:ease-out", (m(G).suggestions.value?.length ?? 0) - 1 - n < Y.value ? "tpl:translate-y-0 tpl:opacity-100" : "tpl:pointer-events-none tpl:-translate-y-2 tpl:opacity-0"]),
|
|
199
|
+
style: {
|
|
200
|
+
"border-color": "var(--tpl-border)",
|
|
201
|
+
color: "var(--tpl-primary)",
|
|
202
|
+
"background-color": "var(--tpl-bg)",
|
|
203
|
+
"box-shadow": "var(--tpl-shadow)"
|
|
204
|
+
},
|
|
205
|
+
onClick: (e) => De(t)
|
|
206
|
+
}, i(t), 11, ve))), 128))])])) : f("", !0)
|
|
207
|
+
]),
|
|
208
|
+
g("div", ye, [g("div", be, [n(g("textarea", {
|
|
209
|
+
"onUpdate:modelValue": a[3] ||= (e) => K.value = e,
|
|
210
|
+
class: "tpl:max-h-32 tpl:min-h-[64px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-sm tpl:outline-none tpl:text-[var(--tpl-text)]",
|
|
211
|
+
placeholder: m(V).aiChat.inputPlaceholder,
|
|
212
|
+
disabled: m(G).isGenerating.value,
|
|
213
|
+
rows: "3",
|
|
214
|
+
onKeydown: Oe
|
|
215
|
+
}, null, 40, xe), [[te, K.value]]), g("button", {
|
|
216
|
+
class: "tpl-ai-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:duration-150 tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
|
|
217
|
+
disabled: !K.value.trim() || m(G).isGenerating.value,
|
|
218
|
+
onClick: Q
|
|
219
|
+
}, [u(m(de), {
|
|
220
|
+
size: 16,
|
|
221
|
+
"stroke-width": 2
|
|
222
|
+
})], 8, Se)]), g("p", Ce, i(m(V).aiMenu.disclaimer), 1)])
|
|
223
|
+
])) : f("", !0)]),
|
|
224
|
+
_: 1
|
|
225
|
+
}));
|
|
226
|
+
}
|
|
227
|
+
}), [["__scopeId", "data-v-a55e4bff"]]);
|
|
228
|
+
//#endregion
|
|
229
|
+
export { V as default };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { L as e, M as t, Mt as n, Ot as r, P as i, S as a, _ as o, d as s, h as c, m as l, p as u } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
|
|
2
|
+
import "./useEditorCore-C6ost42Q.js";
|
|
3
|
+
import { O as d, n as f } from "./keys-ciNfSSGj.js";
|
|
4
|
+
import { t as p } from "./image-up-MBZKKg9p.js";
|
|
5
|
+
import { t as m } from "./shield-check-CfJgs2Hd.js";
|
|
6
|
+
import { t as h } from "./sparkles-CvRXGqFs.js";
|
|
7
|
+
import { t as g } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
8
|
+
import { n as _ } from "./useCloudI18n-BuIwR6OE.js";
|
|
9
|
+
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var v = {
|
|
11
|
+
class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
12
|
+
style: {
|
|
13
|
+
"backdrop-filter": "blur(8px)",
|
|
14
|
+
"-webkit-backdrop-filter": "blur(8px)"
|
|
15
|
+
}
|
|
16
|
+
}, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /* @__PURE__ */ g(/* @__PURE__ */ a({
|
|
17
|
+
__name: "AiFeatureMenu",
|
|
18
|
+
props: { activeFeature: {} },
|
|
19
|
+
emits: ["select"],
|
|
20
|
+
setup(a, { emit: g }) {
|
|
21
|
+
let C = g, { t: w } = _(), T = d(f, "AiFeatureMenu"), E = {
|
|
22
|
+
"ai-chat": "chat",
|
|
23
|
+
"design-reference": "designToTemplate",
|
|
24
|
+
scoring: "scoring"
|
|
25
|
+
}, D = [
|
|
26
|
+
{
|
|
27
|
+
key: "ai-chat",
|
|
28
|
+
icon: h
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
key: "design-reference",
|
|
32
|
+
icon: p
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
key: "scoring",
|
|
36
|
+
icon: m
|
|
37
|
+
}
|
|
38
|
+
], O = u(() => D.filter((e) => T.isFeatureEnabled(E[e.key])));
|
|
39
|
+
function k(e) {
|
|
40
|
+
return e === "ai-chat" ? w.aiMenu.aiAssistant : e === "design-reference" ? w.aiMenu.designToTemplate : w.aiMenu.templateScore;
|
|
41
|
+
}
|
|
42
|
+
function A(e) {
|
|
43
|
+
return e === "ai-chat" ? w.aiMenu.aiAssistantDesc : e === "design-reference" ? w.aiMenu.designToTemplateDesc : w.aiMenu.templateScoreDesc;
|
|
44
|
+
}
|
|
45
|
+
return (u, d) => (t(), o("div", v, [(t(!0), o(s, null, i(O.value, (i) => (t(), o("button", {
|
|
46
|
+
key: i.key,
|
|
47
|
+
class: "tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100",
|
|
48
|
+
style: r({ backgroundColor: a.activeFeature === i.key ? "var(--tpl-primary-light)" : "transparent" }),
|
|
49
|
+
onClick: (e) => C("select", i.key)
|
|
50
|
+
}, [l("div", {
|
|
51
|
+
class: "tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]",
|
|
52
|
+
style: r({
|
|
53
|
+
backgroundColor: a.activeFeature === i.key ? "var(--tpl-primary)" : "var(--tpl-bg-active)",
|
|
54
|
+
color: a.activeFeature === i.key ? "var(--tpl-bg)" : "var(--tpl-text-muted)"
|
|
55
|
+
})
|
|
56
|
+
}, [(t(), c(e(i.icon), {
|
|
57
|
+
size: 15,
|
|
58
|
+
"stroke-width": 2
|
|
59
|
+
}))], 4), l("div", b, [l("span", x, n(k(i.key)), 1), l("span", S, n(A(i.key)), 1)])], 12, y))), 128))]));
|
|
60
|
+
}
|
|
61
|
+
}), [["__scopeId", "data-v-07839fa3"]]);
|
|
62
|
+
//#endregion
|
|
63
|
+
export { C as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Dt as e, E as t, M as n, S as r, _ as i, g as a, h as o, it as s, p as c } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
|
|
2
|
+
import { t as l } from "./keys-ciNfSSGj.js";
|
|
3
|
+
import { t as u } from "./useI18n-lb2DHDiu.js";
|
|
4
|
+
import { t as d } from "./circle-alert-DZuGWPX-.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-aOXceTSe.js";
|
|
6
|
+
//#region src/components/canvas/BlockA11yBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var p = ["title", "aria-label"], m = /* @__PURE__ */ r({
|
|
8
|
+
__name: "BlockA11yBadge",
|
|
9
|
+
props: { blockId: {} },
|
|
10
|
+
setup(r) {
|
|
11
|
+
let m = r, { t: h } = u(), g = t(l, null), _ = c(() => (g?.issues.value ?? []).filter((e) => e.blockId === m.blockId)), v = c(() => _.value.some((e) => e.severity === "error") ? "error" : _.value.some((e) => e.severity === "warning") ? "warning" : null), y = c(() => v.value === "error" ? h.accessibility.badgeError : h.accessibility.badgeWarning);
|
|
12
|
+
return (t, r) => v.value ? (n(), i("span", {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: e(["tpl:absolute tpl:top-1 tpl:right-1 tpl:z-10 tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]", v.value === "error" ? "tpl:text-[var(--tpl-danger)]" : "tpl:text-[var(--tpl-warning)]"]),
|
|
15
|
+
title: y.value,
|
|
16
|
+
"aria-label": y.value,
|
|
17
|
+
role: "img"
|
|
18
|
+
}, [v.value === "error" ? (n(), o(s(d), {
|
|
19
|
+
key: 0,
|
|
20
|
+
size: 14,
|
|
21
|
+
"stroke-width": 2.25,
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
stroke: "var(--tpl-bg)"
|
|
24
|
+
})) : (n(), o(s(f), {
|
|
25
|
+
key: 1,
|
|
26
|
+
size: 14,
|
|
27
|
+
"stroke-width": 2.25,
|
|
28
|
+
fill: "currentColor",
|
|
29
|
+
stroke: "var(--tpl-bg)"
|
|
30
|
+
}))], 10, p)) : a("", !0);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { m as default };
|