@templatical/editor 0.6.7 → 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/README.md +26 -1
- package/dist/{AccessibilityPanel-B2MT0M58.js → AccessibilityPanel-D-PqmHdH.js} +2 -2
- package/dist/{AiChatSidebar-w5ek3Z76.js → AiChatSidebar-BwLECwsO.js} +1 -1
- package/dist/{AiFeatureMenu-ChlAWywJ.js → AiFeatureMenu-CVHKharv.js} +3 -3
- package/dist/{BlockA11yBadge-C0S6kPC4.js → BlockA11yBadge-BFIw0h1m.js} +2 -2
- package/dist/{CloudEditor-DYYaScFe.js → CloudEditor-DdZatjUe.js} +30 -21
- package/dist/{CollaboratorBar-Bo8vtPId.js → CollaboratorBar-VZKOv_Zn.js} +2 -2
- package/dist/{CommentsSidebar-BQROg36f.js → CommentsSidebar-BiRtaXYD.js} +3 -3
- package/dist/{CountdownBlock-Bxqe7zwL.js → CountdownBlock-Cq8A8WrM.js} +1 -1
- package/dist/{CountdownToolbar-CpFAnjSo.js → CountdownToolbar-CojjlZet.js} +2 -2
- package/dist/{DesignReferenceSidebar-CfqpcWX6.js → DesignReferenceSidebar-Ci9HIGbf.js} +2 -2
- package/dist/ModuleBrowserModal-D7IYx1Nh.js +206 -0
- package/dist/{ModulePreviewCanvas-Cw9GeGus.js → ModulePreviewCanvas-I-uMcK5G.js} +2 -2
- package/dist/{NumberWithSuffix-Dw8dN1Pt.js → NumberWithSuffix-CLTBb2Rj.js} +1 -1
- package/dist/{ParagraphEditor-DjDiUzmv.js → ParagraphEditor-BRQTNDFO.js} +156 -151
- package/dist/{RichTextEditorContent-CK3Om7ES.js → RichTextEditorContent-C3QSg7gd.js} +32 -28
- package/dist/{SaveModuleDialog-CSUPmfRP.js → SaveModuleDialog-DGGGNZfm.js} +6 -6
- package/dist/{SnapshotHistory-DwX2fj6N.js → SnapshotHistory-C97Iw6xw.js} +3 -3
- package/dist/{TemplateScoringPanel-BIAeCAEP.js → TemplateScoringPanel-V79yrEPC.js} +3 -3
- package/dist/{TestEmailModal-CIlBvWWn.js → TestEmailModal-B7S8H-VG.js} +3 -3
- package/dist/{TitleEditor-BCV5k6wj.js → TitleEditor-DhFTYzrw.js} +65 -60
- package/dist/{TplModal-C3Hq9b58.js → TplModal-BgABm6ju.js} +21 -17
- package/dist/{blockTypeIcons-iUurP50H.js → blockTypeIcons-BSf-3RJ-.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AccessibilityPanel-DnNB30b0.js → AccessibilityPanel-kgNBRaZV.js} +28 -28
- package/dist/cdn/chunks/{AccessibilityPanel-DnNB30b0.js.map → AccessibilityPanel-kgNBRaZV.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BKBh_ueF.js → AiFeatureMenu-CRkzwdMg.js} +15 -15
- package/dist/cdn/chunks/{AiFeatureMenu-BKBh_ueF.js.map → AiFeatureMenu-CRkzwdMg.js.map} +1 -1
- package/dist/cdn/chunks/{BlockA11yBadge-CnBu14Fj.js → BlockA11yBadge-BfuH2Hrg.js} +9 -9
- package/dist/cdn/chunks/{BlockA11yBadge-CnBu14Fj.js.map → BlockA11yBadge-BfuH2Hrg.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-CmR17piA.js → CloudEditor-h5JXI8WQ.js} +252 -243
- package/dist/cdn/chunks/CloudEditor-h5JXI8WQ.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-BejZaFtY.js → CollaboratorBar-CMl3lAZU.js} +15 -15
- package/dist/cdn/chunks/{CollaboratorBar-BejZaFtY.js.map → CollaboratorBar-CMl3lAZU.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CjvUEHhE.js → CountdownBlock-D1RoaOgF.js} +18 -18
- package/dist/cdn/chunks/{CountdownBlock-CjvUEHhE.js.map → CountdownBlock-D1RoaOgF.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Caokkqsg.js → CountdownToolbar-DltwuOer.js} +42 -42
- package/dist/cdn/chunks/{CountdownToolbar-Caokkqsg.js.map → CountdownToolbar-DltwuOer.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-Tb9a7L-K.js → ModuleBrowserModal-3uu2mXR9.js} +36 -36
- package/dist/cdn/chunks/{ModuleBrowserModal-Tb9a7L-K.js.map → ModuleBrowserModal-3uu2mXR9.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-JWIEv5oS.js → ModulePreviewCanvas-K9CQFr7p.js} +37 -37
- package/dist/cdn/chunks/{ModulePreviewCanvas-JWIEv5oS.js.map → ModulePreviewCanvas-K9CQFr7p.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DrV8eumz.js → NumberWithSuffix-BIFgtqGs.js} +74 -74
- package/dist/cdn/chunks/{NumberWithSuffix-DrV8eumz.js.map → NumberWithSuffix-BIFgtqGs.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CSfShBAO.js → ParagraphEditor-DlpZX_x4.js} +180 -176
- package/dist/cdn/chunks/ParagraphEditor-DlpZX_x4.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-DgqZzl8n.js → RichTextEditorContent-CPGT8h-O.js} +40 -37
- package/dist/cdn/chunks/RichTextEditorContent-CPGT8h-O.js.map +1 -0
- package/dist/cdn/chunks/{SaveModuleDialog-CxTwrIgx.js → SaveModuleDialog-_uaJscj1.js} +24 -24
- package/dist/cdn/chunks/{SaveModuleDialog-CxTwrIgx.js.map → SaveModuleDialog-_uaJscj1.js.map} +1 -1
- package/dist/cdn/chunks/TitleEditor-Kerz6US8.js +175 -0
- package/dist/cdn/chunks/TitleEditor-Kerz6US8.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-DMt-2qR6.js → blockTypeIcons-BeOhGtoo.js} +7 -7
- package/dist/cdn/chunks/{blockTypeIcons-DMt-2qR6.js.map → blockTypeIcons-BeOhGtoo.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-CNhyCGIO.js → draggable-P6QWzy4g.js} +1182 -1171
- package/dist/cdn/chunks/{draggable-CNhyCGIO.js.map → draggable-P6QWzy4g.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CUvwrffu.js → extensions-BZYkPlKr.js} +107 -108
- package/dist/cdn/chunks/extensions-BZYkPlKr.js.map +1 -0
- package/dist/cdn/chunks/{features-U3nzKc-R.js → features-DzIN-Nua.js} +925 -896
- package/dist/cdn/chunks/features-DzIN-Nua.js.map +1 -0
- package/dist/cdn/chunks/{icons-QcjADKIW.js → icons-Nvr6w13E.js} +2 -2
- package/dist/cdn/chunks/{icons-QcjADKIW.js.map → icons-Nvr6w13E.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-Zcd_GInj.js → media-library-BzT7BoGU.js} +1189 -1183
- package/dist/cdn/chunks/media-library-BzT7BoGU.js.map +1 -0
- package/dist/cdn/chunks/{quality-8eo6DM3p.js → quality-C328caFm.js} +45 -45
- package/dist/cdn/chunks/{quality-8eo6DM3p.js.map → quality-C328caFm.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-eHJyPiJH.js → renderer-DYpHh_uV.js} +20 -20
- package/dist/cdn/chunks/{renderer-eHJyPiJH.js.map → renderer-DYpHh_uV.js.map} +1 -1
- package/dist/cdn/chunks/{src-CthVYW_o.js → src-DKNTQJVO.js} +144 -144
- package/dist/cdn/chunks/{src-CthVYW_o.js.map → src-DKNTQJVO.js.map} +1 -1
- package/dist/cdn/chunks/{styles-CV5w3kjq.js → styles-DaTht5d7.js} +924 -899
- package/dist/cdn/chunks/styles-DaTht5d7.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-IyIsncxY.js → tiptap-BwTCLVWl.js} +7 -7
- package/dist/cdn/chunks/{tiptap-IyIsncxY.js.map → tiptap-BwTCLVWl.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +197 -146
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{extensions-BF39Siqk.js → extensions-D-J02CiP.js} +50 -51
- package/dist/index.d.ts +56 -11
- package/dist/{keys-Bqs_0du9.js → keys-B5SJtPWf.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{styles-BgmKdc2x.js → styles-D_fEz49o.js} +497 -472
- package/dist/templatical-editor.js +182 -131
- package/dist/{useCloudI18n-CL_AwWwi.js → useCloudI18n-ByEMykjO.js} +1 -1
- package/dist/{useEditorCore-CnXrv71D.js → useEditorCore-uCU9Ny0M.js} +637 -619
- package/dist/{useI18n-CgmQftNf.js → useI18n-PEB8ioi_.js} +1 -1
- package/dist/{useMergeTag-vpwrZ9eQ.js → useMergeTag-C47xwU7X.js} +2 -2
- package/dist/usePopoverRoot-BxJrqnMD.js +8 -0
- package/package.json +7 -7
- package/dist/ModuleBrowserModal-CKhsaPnA.js +0 -206
- package/dist/cdn/chunks/CloudEditor-CmR17piA.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-CSfShBAO.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-DgqZzl8n.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-DlqV7ODD.js +0 -171
- package/dist/cdn/chunks/TitleEditor-DlqV7ODD.js.map +0 -1
- package/dist/cdn/chunks/extensions-CUvwrffu.js.map +0 -1
- package/dist/cdn/chunks/features-U3nzKc-R.js.map +0 -1
- package/dist/cdn/chunks/media-library-Zcd_GInj.js.map +0 -1
- package/dist/cdn/chunks/styles-CV5w3kjq.js.map +0 -1
- /package/dist/{de-DcVOh9Fp.js → de-BhIWu_bO.js} +0 -0
- /package/dist/{de-DCaaCE5s.js → de-Di4MEjjx.js} +0 -0
- /package/dist/{emojiData-PQyVa4bU.js → emojiData-DX3E0XT-.js} +0 -0
- /package/dist/{en-DXCyK4-X.js → en-BSuzi-Pd.js} +0 -0
- /package/dist/{en-TZVJ_f6v.js → en-D7HRbYah.js} +0 -0
- /package/dist/{pt-BR-Vq7D7c11.js → pt-BR-CCVBRais.js} +0 -0
- /package/dist/{pt-BR-BMGasLBa.js → pt-BR-K32lt6YP.js} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { A as e, B as t, F as n, I as r, T as i, _ as a, a as o, b as s, c, f as l, h as u, m as d, ot as f, p, rt as m, st as h, u as g, v as _, w as v } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import { D as y,
|
|
3
|
-
import { t as x } from "./useI18n-
|
|
2
|
+
import { D as y, k as b } from "./keys-B5SJtPWf.js";
|
|
3
|
+
import { t as x } from "./useI18n-PEB8ioi_.js";
|
|
4
4
|
import { t as S } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
5
|
import { t as C } from "./x-Dlaenqta.js";
|
|
6
|
-
|
|
6
|
+
import { t as w } from "./usePopoverRoot-BxJrqnMD.js";
|
|
7
|
+
var T = S("bold", [["path", {
|
|
7
8
|
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
8
9
|
key: "mg9rjx"
|
|
9
|
-
}]]),
|
|
10
|
+
}]]), E = S("italic", [
|
|
10
11
|
["line", {
|
|
11
12
|
x1: "19",
|
|
12
13
|
x2: "10",
|
|
@@ -28,19 +29,19 @@ var w = S("bold", [["path", {
|
|
|
28
29
|
y2: "20",
|
|
29
30
|
key: "uljnxc"
|
|
30
31
|
}]
|
|
31
|
-
]),
|
|
32
|
+
]), D = S("link", [["path", {
|
|
32
33
|
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
33
34
|
key: "1cjeqo"
|
|
34
35
|
}], ["path", {
|
|
35
36
|
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
36
37
|
key: "19qd67"
|
|
37
|
-
}]]),
|
|
38
|
+
}]]), O = ["data-tpl-theme"], k = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-5 tpl:py-4" }, A = {
|
|
38
39
|
id: "tpl-link-dialog-title",
|
|
39
40
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
40
|
-
},
|
|
41
|
+
}, j = ["aria-label"], M = { class: "tpl:p-5" }, N = { class: "tpl:mb-4 tpl:last:mb-0" }, P = {
|
|
41
42
|
for: "tpl-link-dialog-url",
|
|
42
43
|
class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase"
|
|
43
|
-
},
|
|
44
|
+
}, F = ["placeholder"], I = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, L = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, R = /* @__PURE__ */ s({
|
|
44
45
|
__name: "RichTextLinkDialog",
|
|
45
46
|
props: /* @__PURE__ */ i({
|
|
46
47
|
visible: { type: Boolean },
|
|
@@ -58,12 +59,15 @@ var w = S("bold", [["path", {
|
|
|
58
59
|
"keydown"
|
|
59
60
|
], ["update:linkUrl", "update:dialogRef"]),
|
|
60
61
|
setup(n, { emit: i }) {
|
|
61
|
-
let a = r(n, "linkUrl"), s = r(n, "dialogRef"), S = i,
|
|
62
|
-
return (r, i) => (
|
|
62
|
+
let a = r(n, "linkUrl"), s = r(n, "dialogRef"), S = i, T = v(y, null), E = v(b, null), D = w(), { t: R } = x();
|
|
63
|
+
return (r, i) => m(D) ? (e(), p(g, {
|
|
63
64
|
key: 0,
|
|
64
|
-
|
|
65
|
+
to: m(D)
|
|
66
|
+
}, [n.visible ? (e(), u("div", {
|
|
67
|
+
key: 0,
|
|
68
|
+
"data-tpl-theme": m(E),
|
|
65
69
|
class: "tpl tpl-link-dialog tpl:fixed tpl:inset-0 tpl:z-modal tpl:flex tpl:items-center tpl:justify-center",
|
|
66
|
-
style: f(m(
|
|
70
|
+
style: f(m(T)),
|
|
67
71
|
onClick: i[6] ||= c((e) => S("close"), ["self"])
|
|
68
72
|
}, [l("div", {
|
|
69
73
|
ref: (e) => s.value = e,
|
|
@@ -72,47 +76,47 @@ var w = S("bold", [["path", {
|
|
|
72
76
|
"aria-labelledby": "tpl-link-dialog-title",
|
|
73
77
|
class: "tpl:w-[400px] tpl:overflow-hidden tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-lg"
|
|
74
78
|
}, [
|
|
75
|
-
l("div",
|
|
79
|
+
l("div", k, [l("h4", A, h(n.isEditingLink ? m(R).linkDialog.editLink : m(R).linkDialog.insertLink), 1), l("button", {
|
|
76
80
|
type: "button",
|
|
77
|
-
"aria-label": m(
|
|
81
|
+
"aria-label": m(R).linkDialog.cancel,
|
|
78
82
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
79
83
|
onClick: i[0] ||= (e) => S("close")
|
|
80
84
|
}, [_(m(C), {
|
|
81
85
|
size: 16,
|
|
82
86
|
"stroke-width": 2
|
|
83
|
-
})], 8,
|
|
84
|
-
l("div",
|
|
87
|
+
})], 8, j)]),
|
|
88
|
+
l("div", M, [l("div", N, [l("label", P, h(m(R).linkDialog.urlLabel), 1), t(l("input", {
|
|
85
89
|
id: "tpl-link-dialog-url",
|
|
86
90
|
"onUpdate:modelValue": i[1] ||= (e) => a.value = e,
|
|
87
91
|
type: "url",
|
|
88
92
|
class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:outline-none tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]",
|
|
89
|
-
placeholder: m(
|
|
93
|
+
placeholder: m(R).linkDialog.urlPlaceholder,
|
|
90
94
|
autofocus: "",
|
|
91
95
|
onKeydown: i[2] ||= (e) => S("keydown", e)
|
|
92
|
-
}, null, 40,
|
|
93
|
-
l("div",
|
|
96
|
+
}, null, 40, F), [[o, a.value]])])]),
|
|
97
|
+
l("div", I, [n.isEditingLink ? (e(), u("button", {
|
|
94
98
|
key: 0,
|
|
95
99
|
type: "button",
|
|
96
100
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-danger)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-danger)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-danger-light)]",
|
|
97
101
|
onClick: i[3] ||= (e) => S("remove")
|
|
98
|
-
}, h(m(
|
|
102
|
+
}, h(m(R).linkDialog.removeLink), 1)) : d("", !0), l("div", L, [l("button", {
|
|
99
103
|
type: "button",
|
|
100
104
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
101
105
|
onClick: i[4] ||= (e) => S("close")
|
|
102
|
-
}, h(m(
|
|
106
|
+
}, h(m(R).linkDialog.cancel), 1), l("button", {
|
|
103
107
|
type: "button",
|
|
104
108
|
class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-primary-hover)] tpl:text-[var(--tpl-bg)]",
|
|
105
109
|
onClick: i[5] ||= (e) => S("insert")
|
|
106
|
-
}, h(n.isEditingLink ? m(
|
|
107
|
-
], 512)], 12,
|
|
110
|
+
}, h(n.isEditingLink ? m(R).linkDialog.updateLink : m(R).linkDialog.insertLink), 1)])])
|
|
111
|
+
], 512)], 12, O)) : d("", !0)], 8, ["to"])) : d("", !0);
|
|
108
112
|
}
|
|
109
|
-
}),
|
|
113
|
+
}), z = {
|
|
110
114
|
key: 0,
|
|
111
115
|
class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:border-[var(--tpl-primary)] tpl:p-2"
|
|
112
|
-
},
|
|
116
|
+
}, B = { class: "tpl:animate-pulse tpl:text-[var(--tpl-text-dim)]" }, V = {
|
|
113
117
|
key: 1,
|
|
114
118
|
class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:p-2 tpl:text-center tpl:text-xs tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-text-muted)]"
|
|
115
|
-
},
|
|
119
|
+
}, H = /* @__PURE__ */ s({
|
|
116
120
|
__name: "RichTextEditorContent",
|
|
117
121
|
props: {
|
|
118
122
|
editor: {},
|
|
@@ -123,7 +127,7 @@ var w = S("bold", [["path", {
|
|
|
123
127
|
emits: ["retry"],
|
|
124
128
|
setup(t, { emit: r }) {
|
|
125
129
|
let i = r, { t: o } = x();
|
|
126
|
-
return (r, s) => t.isLoading ? (e(), u("div",
|
|
130
|
+
return (r, s) => t.isLoading ? (e(), u("div", z, [l("div", B, h(m(o).errors.editorLoading), 1)])) : t.initError ? (e(), u("div", V, [a(h(m(o).errors.editorLoadFailed) + " ", 1), l("button", {
|
|
127
131
|
class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
|
|
128
132
|
onClick: s[0] ||= (e) => i("retry")
|
|
129
133
|
}, h(m(o).errors.retry), 1)])) : t.editorContent && t.editor ? (e(), p(n(t.editorContent), {
|
|
@@ -134,4 +138,4 @@ var w = S("bold", [["path", {
|
|
|
134
138
|
}
|
|
135
139
|
});
|
|
136
140
|
//#endregion
|
|
137
|
-
export {
|
|
141
|
+
export { T as a, E as i, R as n, D as r, H as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { A as e, B as t, L as n, M as r, X as i, _ as a, a as o, at as s, b as c, d as l, f as u, h as d, l as ee, m as f, ot as p, p as m, rt as h, st as g, v as _, z as v } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import {
|
|
4
|
-
import { t as S } from "./useI18n-
|
|
2
|
+
import "./useEditorCore-uCU9Ny0M.js";
|
|
3
|
+
import { A as y, T as b, m as x } from "./keys-B5SJtPWf.js";
|
|
4
|
+
import { t as S } from "./useI18n-PEB8ioi_.js";
|
|
5
5
|
import { t as te } from "./loader-circle-_9bP23op.js";
|
|
6
|
-
import { n as ne } from "./useCloudI18n-
|
|
7
|
-
import { t as C } from "./TplModal-
|
|
6
|
+
import { n as ne } from "./useCloudI18n-ByEMykjO.js";
|
|
7
|
+
import { t as C } from "./TplModal-BgABm6ju.js";
|
|
8
8
|
//#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var w = ["aria-busy"], T = {
|
|
10
10
|
id: "tpl-save-module-title",
|
|
@@ -28,7 +28,7 @@ var w = ["aria-busy"], T = {
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["close", "saved"],
|
|
30
30
|
setup(c, { emit: R }) {
|
|
31
|
-
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U =
|
|
31
|
+
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = y(x, "SaveModuleDialog"), W = y(b, "SaveModuleDialog"), G = i(""), K = i(/* @__PURE__ */ new Set()), q = i(!1), J = i(null), Y = l(() => U.content.value.blocks);
|
|
32
32
|
function X(e, t) {
|
|
33
33
|
let n = e.type;
|
|
34
34
|
return `${V.blocks[n] ?? e.type} ${t + 1}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { A as e, L as t, M as n, X as r, at as i, b as a, c as o, d as s, f as c, h as l, l as u, m as d, rt as f, st as p, t as m, v as h, z as g } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-uCU9Ny0M.js";
|
|
3
3
|
import { t as _ } from "./dist-BzRLLpfq.js";
|
|
4
|
-
import { t as v } from "./useI18n-
|
|
4
|
+
import { t as v } from "./useI18n-PEB8ioi_.js";
|
|
5
5
|
import { t as y } from "./createLucideIcon-Di4mqmGn.js";
|
|
6
6
|
import { t as b } from "./chevron-down-tee-ghFi.js";
|
|
7
7
|
import { t as x } from "./clock-CDlEdqiP.js";
|
|
8
8
|
import { t as S } from "./loader-circle-_9bP23op.js";
|
|
9
|
-
import { n as C } from "./useCloudI18n-
|
|
9
|
+
import { n as C } from "./useCloudI18n-ByEMykjO.js";
|
|
10
10
|
import { t as w } from "./formatRelativeTime-BOEf47hq.js";
|
|
11
11
|
var T = y("chevron-left", [["path", {
|
|
12
12
|
d: "m15 18-6-6 6-6",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, F as t, L as n, M as r, X as i, _ as a, at as ee, b as o, f as s, h as c, l, m as u, ot as d, p as f, rt as p, st as m, t as h, v as g, w as te, z as ne } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as _, E as re, m as ie, y as v } from "./keys-B5SJtPWf.js";
|
|
3
3
|
import { t as y } from "./createLucideIcon-Di4mqmGn.js";
|
|
4
4
|
import { t as ae } from "./chevron-down-tee-ghFi.js";
|
|
5
5
|
import { t as b } from "./circle-alert-C0L9pUQ4.js";
|
|
@@ -12,7 +12,7 @@ import { t as se } from "./triangle-alert-DWQySIE2.js";
|
|
|
12
12
|
import { t as ce } from "./x-Dlaenqta.js";
|
|
13
13
|
import { t as le } from "./LoadingTrack-CFkDkjBb.js";
|
|
14
14
|
import { t as E } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
15
|
-
import { n as D } from "./useCloudI18n-
|
|
15
|
+
import { n as D } from "./useCloudI18n-ByEMykjO.js";
|
|
16
16
|
var O = y("shield-x", [
|
|
17
17
|
["path", {
|
|
18
18
|
d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
|
|
@@ -90,7 +90,7 @@ var P = {
|
|
|
90
90
|
props: { visible: { type: Boolean } },
|
|
91
91
|
emits: ["close"],
|
|
92
92
|
setup(o, { emit: y }) {
|
|
93
|
-
let E = o, G = y, { t: K } = D(), q = _(
|
|
93
|
+
let E = o, G = y, { t: K } = D(), q = _(ie, "TemplateScoringPanel"), J = _(re, "TemplateScoringPanel"), Y = te(v, []), X = i({
|
|
94
94
|
spam: !0,
|
|
95
95
|
readability: !0,
|
|
96
96
|
accessibility: !0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as e, B as t, L as n, M as r, X as i, _ as a, at as o, b as s, f as c, h as l, i as u, l as d, m as f, p, rt as m, st as h, v as g, z as _ } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-uCU9Ny0M.js";
|
|
3
3
|
import { t as v } from "./loader-circle-_9bP23op.js";
|
|
4
|
-
import { n as y } from "./useCloudI18n-
|
|
5
|
-
import { t as b } from "./TplModal-
|
|
4
|
+
import { n as y } from "./useCloudI18n-ByEMykjO.js";
|
|
5
|
+
import { t as b } from "./TplModal-BgABm6ju.js";
|
|
6
6
|
//#region src/cloud/components/TestEmailModal.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var x = ["aria-busy"], S = {
|
|
8
8
|
id: "tpl-test-email-title",
|
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { A as e, G as t, _ as n, at as r, b as i, f as a, h as o, l as s, m as c, ot as l, p as u, rt as d, st as f, u as p, v as m, w as h } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import { b as g } from "./useEditorCore-
|
|
3
|
-
import { D as _,
|
|
4
|
-
import { t as y } from "./useI18n-
|
|
5
|
-
import { a as b, i as x, n as S, r as C, t as w } from "./RichTextEditorContent-
|
|
2
|
+
import { b as g } from "./useEditorCore-uCU9Ny0M.js";
|
|
3
|
+
import { D as _, k as v } from "./keys-B5SJtPWf.js";
|
|
4
|
+
import { t as y } from "./useI18n-PEB8ioi_.js";
|
|
5
|
+
import { a as b, i as x, n as S, r as C, t as w } from "./RichTextEditorContent-C3QSg7gd.js";
|
|
6
6
|
import { t as T } from "./loader-circle-_9bP23op.js";
|
|
7
|
-
import { t as
|
|
7
|
+
import { t as E } from "./scan-line-DUEg6DoT.js";
|
|
8
|
+
import { t as ee } from "./usePopoverRoot-BxJrqnMD.js";
|
|
8
9
|
//#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
10
|
+
var D = { class: "tpl-text-editor-wrapper tpl:relative" }, O = ["data-tpl-theme", "aria-label"], k = ["aria-label", "title"], A = ["aria-label", "title"], j = ["aria-label", "title"], M = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "tpl:mx-1.5 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]"
|
|
12
|
-
},
|
|
13
|
+
}, N = ["aria-label", "title"], P = {
|
|
13
14
|
key: 1,
|
|
14
15
|
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
15
|
-
},
|
|
16
|
+
}, F = /* @__PURE__ */ i({
|
|
16
17
|
__name: "TitleEditor",
|
|
17
18
|
props: {
|
|
18
19
|
block: {},
|
|
19
20
|
toolbarPosition: {}
|
|
20
21
|
},
|
|
21
22
|
emits: ["done"],
|
|
22
|
-
setup(i, { emit:
|
|
23
|
-
let
|
|
24
|
-
blockId: () =>
|
|
25
|
-
blockContent: () =>
|
|
26
|
-
onDone: () =>
|
|
23
|
+
setup(i, { emit: F }) {
|
|
24
|
+
let I = i, L = F, R = h(_, null), z = h(v, null), B = ee(), { t: V } = y(), { editor: H, EditorContent: U, isLoading: W, initError: G, retry: K, showLinkDialog: q, linkUrl: J, linkDialogRef: Y, canRequestMergeTag: X, openLinkDialog: Z, insertLink: Q, removeLink: te, closeLinkDialog: ne, handleLinkKeydown: re, handleAddMergeTag: $ } = g({
|
|
25
|
+
blockId: () => I.block.id,
|
|
26
|
+
blockContent: () => I.block.content,
|
|
27
|
+
onDone: () => L("done"),
|
|
27
28
|
editorName: "TitleEditor",
|
|
28
29
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
29
30
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d }] = await Promise.all([
|
|
30
31
|
import("./dist-Pk4MhWMP.js").then((e) => e.r),
|
|
31
32
|
import("./dist-D90y8dvT.js"),
|
|
32
33
|
import("./dist-DDJIWTRY.js"),
|
|
33
|
-
import("./extensions-
|
|
34
|
+
import("./extensions-D-J02CiP.js")
|
|
34
35
|
]);
|
|
35
36
|
return {
|
|
36
37
|
TiptapEditor: a,
|
|
@@ -61,82 +62,86 @@ var E = { class: "tpl-text-editor-wrapper tpl:relative" }, D = ["data-tpl-theme"
|
|
|
61
62
|
...r && n && e.length > 0 ? [u.configure({
|
|
62
63
|
mergeTags: e,
|
|
63
64
|
char: n,
|
|
64
|
-
emptyText: i
|
|
65
|
+
emptyText: i,
|
|
66
|
+
popoverRoot: B
|
|
65
67
|
})] : []
|
|
66
68
|
]
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
});
|
|
70
|
-
return (h, g) => (e(), o("div",
|
|
71
|
-
(e(), u(p, {
|
|
72
|
-
|
|
72
|
+
return (h, g) => (e(), o("div", D, [
|
|
73
|
+
d(B) ? (e(), u(p, {
|
|
74
|
+
key: 0,
|
|
75
|
+
to: d(B)
|
|
76
|
+
}, [a("div", {
|
|
77
|
+
"data-tpl-theme": d(z),
|
|
73
78
|
role: "toolbar",
|
|
74
|
-
"aria-label": d(
|
|
79
|
+
"aria-label": d(V).titleEditor.toolbar,
|
|
75
80
|
class: "tpl tpl-text-toolbar tpl:fixed tpl:z-popover tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-lg",
|
|
76
81
|
style: l({
|
|
77
|
-
...d(
|
|
82
|
+
...d(R),
|
|
78
83
|
top: `${i.toolbarPosition.top}px`,
|
|
79
84
|
left: `${i.toolbarPosition.left}px`,
|
|
80
85
|
transform: "translateY(-100%)"
|
|
81
86
|
})
|
|
82
|
-
}, [!d(
|
|
87
|
+
}, [!d(W) && d(H) ? (e(), o(s, { key: 0 }, [
|
|
83
88
|
a("button", {
|
|
84
89
|
type: "button",
|
|
85
|
-
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(
|
|
86
|
-
"aria-label": d(
|
|
87
|
-
title: d(
|
|
88
|
-
onClick: g[0] ||= (e) => d(
|
|
90
|
+
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(H)?.isActive("bold") }]),
|
|
91
|
+
"aria-label": d(V).titleEditor.bold,
|
|
92
|
+
title: d(V).titleEditor.bold,
|
|
93
|
+
onClick: g[0] ||= (e) => d(H)?.chain().focus().toggleBold().run()
|
|
89
94
|
}, [m(d(b), {
|
|
90
95
|
size: 16,
|
|
91
96
|
"stroke-width": 2.5
|
|
92
|
-
})], 10,
|
|
97
|
+
})], 10, k),
|
|
93
98
|
a("button", {
|
|
94
99
|
type: "button",
|
|
95
|
-
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(
|
|
96
|
-
"aria-label": d(
|
|
97
|
-
title: d(
|
|
98
|
-
onClick: g[1] ||= (e) => d(
|
|
100
|
+
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(H)?.isActive("italic") }]),
|
|
101
|
+
"aria-label": d(V).titleEditor.italic,
|
|
102
|
+
title: d(V).titleEditor.italic,
|
|
103
|
+
onClick: g[1] ||= (e) => d(H)?.chain().focus().toggleItalic().run()
|
|
99
104
|
}, [m(d(x), {
|
|
100
105
|
size: 16,
|
|
101
106
|
"stroke-width": 2
|
|
102
|
-
})], 10,
|
|
107
|
+
})], 10, A),
|
|
103
108
|
g[6] ||= a("span", {
|
|
104
109
|
class: "tpl:mx-1.5 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
|
|
105
110
|
"aria-hidden": "true"
|
|
106
111
|
}, null, -1),
|
|
107
112
|
a("button", {
|
|
108
113
|
type: "button",
|
|
109
|
-
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(
|
|
110
|
-
"aria-label": d(
|
|
111
|
-
title: d(
|
|
112
|
-
onClick: g[2] ||= (...e) => d(
|
|
114
|
+
class: r(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": d(H)?.isActive("link") }]),
|
|
115
|
+
"aria-label": d(V).titleEditor.addLink,
|
|
116
|
+
title: d(V).titleEditor.addLink,
|
|
117
|
+
onClick: g[2] ||= (...e) => d(Z) && d(Z)(...e)
|
|
113
118
|
}, [m(d(C), {
|
|
114
119
|
size: 16,
|
|
115
120
|
"stroke-width": 2
|
|
116
|
-
})], 10,
|
|
117
|
-
d(
|
|
118
|
-
d(
|
|
121
|
+
})], 10, j),
|
|
122
|
+
d(X) ? (e(), o("span", M)) : c("", !0),
|
|
123
|
+
d(X) ? (e(), o("button", {
|
|
119
124
|
key: 1,
|
|
120
125
|
type: "button",
|
|
121
126
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
122
|
-
"aria-label": d(
|
|
123
|
-
title: d(
|
|
127
|
+
"aria-label": d(V).mergeTag.add,
|
|
128
|
+
title: d(V).mergeTag.add,
|
|
124
129
|
onClick: g[3] ||= (...e) => d($) && d($)(...e)
|
|
125
|
-
}, [m(d(
|
|
130
|
+
}, [m(d(E), {
|
|
126
131
|
size: 16,
|
|
127
132
|
"stroke-width": 2
|
|
128
|
-
}), n(" " + f(d(
|
|
129
|
-
], 64)) : (e(), o("div",
|
|
133
|
+
}), n(" " + f(d(V).mergeTag.add), 1)], 8, N)) : c("", !0)
|
|
134
|
+
], 64)) : (e(), o("div", P, [m(d(T), {
|
|
130
135
|
class: "tpl-spinner",
|
|
131
136
|
size: 14,
|
|
132
137
|
"stroke-width": 2
|
|
133
|
-
}), n(" " + f(d(
|
|
138
|
+
}), n(" " + f(d(V).errors.editorLoading), 1)]))], 12, O)], 8, ["to"])) : c("", !0),
|
|
134
139
|
m(w, {
|
|
135
|
-
editor: d(
|
|
136
|
-
"editor-content": d(
|
|
137
|
-
"is-loading": d(
|
|
138
|
-
"init-error": d(
|
|
139
|
-
onRetry: d(
|
|
140
|
+
editor: d(H),
|
|
141
|
+
"editor-content": d(U),
|
|
142
|
+
"is-loading": d(W),
|
|
143
|
+
"init-error": d(G),
|
|
144
|
+
onRetry: d(K)
|
|
140
145
|
}, null, 8, [
|
|
141
146
|
"editor",
|
|
142
147
|
"editor-content",
|
|
@@ -145,16 +150,16 @@ var E = { class: "tpl-text-editor-wrapper tpl:relative" }, D = ["data-tpl-theme"
|
|
|
145
150
|
"onRetry"
|
|
146
151
|
]),
|
|
147
152
|
m(S, {
|
|
148
|
-
visible: d(
|
|
149
|
-
"is-editing-link": d(
|
|
150
|
-
"dialog-ref": d(
|
|
151
|
-
"onUpdate:dialogRef": g[4] ||= (e) => t(
|
|
152
|
-
"link-url": d(
|
|
153
|
-
"onUpdate:linkUrl": g[5] ||= (e) => t(
|
|
154
|
-
onClose: d(
|
|
155
|
-
onInsert: d(
|
|
156
|
-
onRemove: d(
|
|
157
|
-
onKeydown: d(
|
|
153
|
+
visible: d(q),
|
|
154
|
+
"is-editing-link": d(H)?.isActive("link") ?? !1,
|
|
155
|
+
"dialog-ref": d(Y),
|
|
156
|
+
"onUpdate:dialogRef": g[4] ||= (e) => t(Y) ? Y.value = e : null,
|
|
157
|
+
"link-url": d(J),
|
|
158
|
+
"onUpdate:linkUrl": g[5] ||= (e) => t(J) ? J.value = e : null,
|
|
159
|
+
onClose: d(ne),
|
|
160
|
+
onInsert: d(Q),
|
|
161
|
+
onRemove: d(te),
|
|
162
|
+
onKeydown: d(re)
|
|
158
163
|
}, null, 8, [
|
|
159
164
|
"visible",
|
|
160
165
|
"is-editing-link",
|
|
@@ -169,4 +174,4 @@ var E = { class: "tpl-text-editor-wrapper tpl:relative" }, D = ["data-tpl-theme"
|
|
|
169
174
|
}
|
|
170
175
|
});
|
|
171
176
|
//#endregion
|
|
172
|
-
export {
|
|
177
|
+
export { F as default };
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import { A as e, N as t, X as n, b as r, c as i, d as a, f as o, h as s, m as c, p as l, rt as u, t as d, u as f, v as p, w as m, z as h } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import { w as g } from "./useEditorCore-
|
|
3
|
-
import {
|
|
2
|
+
import { w as g } from "./useEditorCore-uCU9Ny0M.js";
|
|
3
|
+
import { k as _ } from "./keys-B5SJtPWf.js";
|
|
4
|
+
import { t as v } from "./usePopoverRoot-BxJrqnMD.js";
|
|
4
5
|
//#region src/cloud/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
6
|
+
var y = ["data-tpl-theme"], b = /* @__PURE__ */ r({
|
|
6
7
|
__name: "TplModal",
|
|
7
8
|
props: { visible: { type: Boolean } },
|
|
8
9
|
emits: ["close", "keydown"],
|
|
9
|
-
setup(r, { emit:
|
|
10
|
-
let
|
|
11
|
-
g(
|
|
12
|
-
let
|
|
13
|
-
function
|
|
14
|
-
e.key === "Escape" &&
|
|
10
|
+
setup(r, { emit: b }) {
|
|
11
|
+
let x = r, S = b, C = n(null);
|
|
12
|
+
g(C, a(() => x.visible));
|
|
13
|
+
let w = m(_), T = v();
|
|
14
|
+
function E(e) {
|
|
15
|
+
e.key === "Escape" && S("close"), S("keydown", e);
|
|
15
16
|
}
|
|
16
|
-
return (n, a) => (e(), l(f, {
|
|
17
|
+
return (n, a) => u(T) ? (e(), l(f, {
|
|
18
|
+
key: 0,
|
|
19
|
+
to: u(T)
|
|
20
|
+
}, [p(d, {
|
|
17
21
|
"enter-active-class": "tpl:transition tpl:duration-150",
|
|
18
22
|
"enter-from-class": "tpl:opacity-0",
|
|
19
23
|
"enter-to-class": "tpl:opacity-100",
|
|
@@ -23,22 +27,22 @@ var v = ["data-tpl-theme"], y = /* @__PURE__ */ r({
|
|
|
23
27
|
}, {
|
|
24
28
|
default: h(() => [r.visible ? (e(), s("div", {
|
|
25
29
|
key: 0,
|
|
26
|
-
"data-tpl-theme": u(
|
|
30
|
+
"data-tpl-theme": u(w),
|
|
27
31
|
class: "tpl tpl:fixed tpl:inset-0 tpl:z-modal tpl:flex tpl:items-center tpl:justify-center",
|
|
28
32
|
style: {
|
|
29
33
|
"background-color": "var(--tpl-overlay)",
|
|
30
34
|
"backdrop-filter": "blur(8px)",
|
|
31
35
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
32
36
|
},
|
|
33
|
-
onClick: a[0] ||= i((e) =>
|
|
34
|
-
onKeydown:
|
|
37
|
+
onClick: a[0] ||= i((e) => S("close"), ["self"]),
|
|
38
|
+
onKeydown: E
|
|
35
39
|
}, [o("div", {
|
|
36
40
|
ref_key: "dialogRef",
|
|
37
|
-
ref:
|
|
38
|
-
}, [t(n.$slots, "default")], 512)], 40,
|
|
41
|
+
ref: C
|
|
42
|
+
}, [t(n.$slots, "default")], 512)], 40, y)) : c("", !0)]),
|
|
39
43
|
_: 3
|
|
40
|
-
})]));
|
|
44
|
+
})], 8, ["to"])) : c("", !0);
|
|
41
45
|
}
|
|
42
46
|
});
|
|
43
47
|
//#endregion
|
|
44
|
-
export {
|
|
48
|
+
export { b as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-
|
|
1
|
+
import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-uCU9Ny0M.js";
|
|
2
2
|
import { t as a } from "./createLucideIcon-Di4mqmGn.js";
|
|
3
3
|
var o = a("columns-3", [
|
|
4
4
|
["rect", {
|
package/dist/bundle-stats.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"initialGzipBytes":
|
|
4
|
-
"initialRawBytes":
|
|
2
|
+
"version": "0.7.0",
|
|
3
|
+
"initialGzipBytes": 151078,
|
|
4
|
+
"initialRawBytes": 530528,
|
|
5
5
|
"initialFileCount": 33,
|
|
6
|
-
"lazyGzipBytes":
|
|
7
|
-
"lazyRawBytes":
|
|
8
|
-
"lazyFileCount":
|
|
9
|
-
"generatedAt": "2026-05-
|
|
6
|
+
"lazyGzipBytes": 264929,
|
|
7
|
+
"lazyRawBytes": 916707,
|
|
8
|
+
"lazyFileCount": 48,
|
|
9
|
+
"generatedAt": "2026-05-12T20:31:54.300Z"
|
|
10
10
|
}
|