@aswin.dev/editor 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccessibilityPanel-EmQ19wiS.js → AccessibilityPanel-COL6Wm7p.js} +1 -1
- package/dist/{AiChatSidebar-DeB0w_32.js → AiChatSidebar-DM2ri7KX.js} +9 -9
- package/dist/{AiFeatureMenu-DoLD5Cde.js → AiFeatureMenu-BrZBJ0R5.js} +5 -5
- package/dist/{BlockA11yBadge-DkNbDvJA.js → BlockA11yBadge-Qs6HtXid.js} +1 -1
- package/dist/{CloudEditor-zo9PjjvY.js → CloudEditor-BRpzzfQn.js} +327 -290
- package/dist/{CollaboratorBar-BsXMY-8e.js → CollaboratorBar-DsRXj3Kn.js} +2 -2
- package/dist/{CommentsSidebar-DIWIa4rS.js → CommentsSidebar-DE6ZsM4D.js} +15 -16
- package/dist/CountdownBlock-Ba3T-i2X.js +1536 -0
- package/dist/CountdownToolbar-B9IAZzeV.js +194 -0
- package/dist/{DesignReferenceSidebar-RDlnhL-6.js → DesignReferenceSidebar-B1iw3Bb7.js} +5 -5
- package/dist/{LoadingTrack-BJ59h9ok.js → LoadingTrack-Ba2pfF57.js} +1 -1
- package/dist/{ModuleBrowserModal-b7HbpByz.js → ModuleBrowserModal-DVnd1dqR.js} +7 -7
- package/dist/{ModulePreviewCanvas-D__YlOLS.js → ModulePreviewCanvas-D9jBAoBQ.js} +47 -42
- package/dist/{ParagraphEditor-B1aYPO-6.js → ParagraphEditor-CO3V0H_V.js} +25 -25
- package/dist/{RichTextEditorContent-BmEVMrkJ.js → RichTextEditorContent-CrqPQdnk.js} +1 -1
- package/dist/{SaveModuleDialog-ClovqI6h.js → SaveModuleDialog-CboNFwIA.js} +3 -3
- package/dist/{NumberWithSuffix-Ca3vNY84.js → SlidingPillSelect-DfcBdJqN.js} +123 -107
- package/dist/{SnapshotHistory-DoqtH0cw.js → SnapshotHistory-C26pvPre.js} +5 -5
- package/dist/{TemplateScoringPanel-DQv2ZAiL.js → TemplateScoringPanel-CS7o62zS.js} +7 -7
- package/dist/{TestEmailModal-iIeYJYsj.js → TestEmailModal-B4OoUWb_.js} +3 -3
- package/dist/{TitleEditor-CTDIwRF_.js → TitleEditor-DU_QWG_m.js} +7 -7
- package/dist/{TplModal-CBq1J1pG.js → TplModal-Dr6Do8oU.js} +1 -1
- package/dist/blockTypeIcons-cRDr36gk.js +189 -0
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AccessibilityPanel-BeU8nz7A.js → AccessibilityPanel-Csd47zqI.js} +9 -9
- package/dist/cdn/chunks/{AccessibilityPanel-BeU8nz7A.js.map → AccessibilityPanel-Csd47zqI.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B2mhscyP.js → AiFeatureMenu-BlnZF5pf.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B2mhscyP.js.map → AiFeatureMenu-BlnZF5pf.js.map} +1 -1
- package/dist/cdn/chunks/{BlockA11yBadge-C4g77gF0.js → BlockA11yBadge-VY8NqI9n.js} +3 -3
- package/dist/cdn/chunks/{BlockA11yBadge-C4g77gF0.js.map → BlockA11yBadge-VY8NqI9n.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-Btyr0b0_.js → CloudEditor-D0TrKlva.js} +250 -213
- package/dist/cdn/chunks/CloudEditor-D0TrKlva.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-YBiIjiRh.js → CollaboratorBar-BhMNTI_h.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-YBiIjiRh.js.map → CollaboratorBar-BhMNTI_h.js.map} +1 -1
- package/dist/cdn/chunks/CountdownToolbar-DsP6O1fl.js +196 -0
- package/dist/cdn/chunks/CountdownToolbar-DsP6O1fl.js.map +1 -0
- package/dist/cdn/chunks/{ModuleBrowserModal-C2CDWKW6.js → ModuleBrowserModal-CpYPeiKv.js} +7 -7
- package/dist/cdn/chunks/{ModuleBrowserModal-C2CDWKW6.js.map → ModuleBrowserModal-CpYPeiKv.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-Drt8Evai.js → ModulePreviewCanvas-BIYYnqUq.js} +51 -47
- package/dist/cdn/chunks/ModulePreviewCanvas-BIYYnqUq.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-BA1WbHI7.js → ParagraphEditor-ZV5SYYw8.js} +47 -47
- package/dist/cdn/chunks/{ParagraphEditor-BA1WbHI7.js.map → ParagraphEditor-ZV5SYYw8.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BtWCA_Oc.js → RichTextEditorContent-Dx05ETtt.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-BtWCA_Oc.js.map → RichTextEditorContent-Dx05ETtt.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-AwL0tkCV.js → SaveModuleDialog-DJEEK7Wb.js} +23 -23
- package/dist/cdn/chunks/{SaveModuleDialog-AwL0tkCV.js.map → SaveModuleDialog-DJEEK7Wb.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-Ty1bp9vB.js → SlidingPillSelect-BhPCkqVu.js} +132 -116
- package/dist/cdn/chunks/SlidingPillSelect-BhPCkqVu.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-DbSyeixS.js → TitleEditor-fu1A87Ld.js} +21 -21
- package/dist/cdn/chunks/{TitleEditor-DbSyeixS.js.map → TitleEditor-fu1A87Ld.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-CJirTS-q.js +25 -0
- package/dist/cdn/chunks/blockTypeIcons-CJirTS-q.js.map +1 -0
- package/dist/cdn/chunks/{de-RQrZR56a.js → de-BPHtelu7.js} +1 -1
- package/dist/cdn/chunks/{de-RQrZR56a.js.map → de-BPHtelu7.js.map} +1 -1
- package/dist/cdn/chunks/{de-Ce-LbJ2J.js → de-BRDqJwJe.js} +1 -1
- package/dist/cdn/chunks/{de-Ce-LbJ2J.js.map → de-BRDqJwJe.js.map} +1 -1
- package/dist/cdn/chunks/{de-_tooy3Q8.js → de-BsYijc0r.js} +120 -4
- package/dist/cdn/chunks/de-BsYijc0r.js.map +1 -0
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js → emojiData-DUHzsh4j.js} +1 -1
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js.map → emojiData-DUHzsh4j.js.map} +1 -1
- package/dist/cdn/chunks/{en-DiCWK5fG.js → en-Cdj_Ikl1.js} +1 -1
- package/dist/cdn/chunks/{en-DiCWK5fG.js.map → en-Cdj_Ikl1.js.map} +1 -1
- package/dist/cdn/chunks/{en-CNqLoIm9.js → en-DMu9hPIC.js} +120 -4
- package/dist/cdn/chunks/en-DMu9hPIC.js.map +1 -0
- package/dist/cdn/chunks/{en-Bl1ecfRF.js → en-DejwuJhw.js} +1 -1
- package/dist/cdn/chunks/{en-Bl1ecfRF.js.map → en-DejwuJhw.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BVKQw_sp.js → extensions-BbFKsjyT.js} +20 -20
- package/dist/cdn/chunks/{extensions-BVKQw_sp.js.map → extensions-BbFKsjyT.js.map} +1 -1
- package/dist/cdn/chunks/{features-DIBEo4xl.js → features-uApxwJMz.js} +3401 -1520
- package/dist/cdn/chunks/features-uApxwJMz.js.map +1 -0
- package/dist/cdn/chunks/{icons-C1Gg-ov-.js → icons-DZb4EX9m.js} +128 -60
- package/dist/cdn/chunks/icons-DZb4EX9m.js.map +1 -0
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-CllF-us3.js} +1 -1
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js.map → liquid.browser-CllF-us3.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BTF_Ko70.js → media-library-B3g52j8R.js} +838 -822
- package/dist/cdn/chunks/media-library-B3g52j8R.js.map +1 -0
- package/dist/cdn/chunks/{pusher-CDbNlZBE.js → pusher-i7-OBujc.js} +1 -1
- package/dist/cdn/chunks/{pusher-CDbNlZBE.js.map → pusher-i7-OBujc.js.map} +1 -1
- package/dist/cdn/chunks/{quality-C5AmotmP.js → quality-Ug5lFGHP.js} +301 -301
- package/dist/cdn/chunks/{quality-C5AmotmP.js.map → quality-Ug5lFGHP.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-D0L44Vlp.js → renderer-jXCdXjV-.js} +12 -12
- package/dist/cdn/chunks/{renderer-D0L44Vlp.js.map → renderer-jXCdXjV-.js.map} +1 -1
- package/dist/cdn/chunks/{src-RKexlYjA.js → src-FMtH5ZvJ.js} +9 -9
- package/dist/cdn/chunks/{src-RKexlYjA.js.map → src-FMtH5ZvJ.js.map} +1 -1
- package/dist/cdn/chunks/{styleConstants-PgmvNBzQ.js → styleConstants-DfcU8u_r.js} +1 -1
- package/dist/cdn/chunks/{styleConstants-PgmvNBzQ.js.map → styleConstants-DfcU8u_r.js.map} +1 -1
- package/dist/cdn/chunks/{styles-CQR6ed13.js → styles-Co9vw4ag.js} +2401 -1339
- package/dist/cdn/chunks/styles-Co9vw4ag.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-CDzAbF2j.js → tiptap-qXOh0vzV.js} +2 -2
- package/dist/cdn/chunks/{tiptap-CDzAbF2j.js.map → tiptap-qXOh0vzV.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +93 -64
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cloud-DJG4tb4_.js → cloud-COUuu_KE.js} +1 -1
- package/dist/{de-2LEvILeZ.js → de-CR1qAkAm.js} +119 -3
- package/dist/{dist-BSJvAvH3.js → dist-BUzw1buG.js} +1 -1
- package/dist/{dist-b-XUqAoF.js → dist-BZyY-SS4.js} +1 -1
- package/dist/{dist-Df4ie7vZ.js → dist-BadNx4qo.js} +1 -1
- package/dist/{dist-wfAedlzi.js → dist-BesOh2mk.js} +1 -1
- package/dist/{dist-kZfaVUpW.js → dist-Bz3M4RXG.js} +3 -3
- package/dist/{dist-BvPgo-UK.js → dist-C3T2AKtB.js} +1 -1
- package/dist/{dist-CPVBKMmd.js → dist-C9ckKEZL.js} +1 -1
- package/dist/{dist-DxOoemkW.js → dist-CBItRG-Z.js} +1 -1
- package/dist/{dist-BeFnymxK.js → dist-COSzWQUs.js} +1 -1
- package/dist/{dist-Bmir0gYb.js → dist-DP82Y0rs.js} +254 -136
- package/dist/{dist-CivF9P8b.js → dist-Djgi0A6k.js} +92 -77
- package/dist/{dist-BHAeXaUY.js → dist-DtiDUrX-.js} +1 -1
- package/dist/{dist-HEQ52gTJ.js → dist-Dzt5foyL.js} +1 -1
- package/dist/{en-D2RU2Poj.js → en-jbnp1n6M.js} +119 -3
- package/dist/{extensions-BQ1xXx3d.js → extensions-Bg22D6c8.js} +12 -12
- package/dist/index.d.ts +10 -10
- package/dist/{pencil-BZJPNYWR.js → pencil-Bpimrzzw.js} +5 -2
- package/dist/style.css +1 -1
- package/dist/{styles-CavWjvol.js → styles-DgL0UYj0.js} +2321 -1236
- package/dist/templatical-editor.js +149 -120
- package/dist/{useEditorCore-BGnzcT7p.js → useEditorCore-CSlYQZWx.js} +3890 -3666
- package/dist/useMergeTag-BVL3A4OO.js +34 -0
- package/package.json +7 -7
- package/dist/CountdownBlock-BCi7-DAM.js +0 -92
- package/dist/CountdownToolbar-BuS8p5ju.js +0 -210
- package/dist/blockTypeIcons-QkC6f5UE.js +0 -140
- package/dist/cdn/chunks/CloudEditor-Btyr0b0_.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js +0 -93
- package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js.map +0 -1
- package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js +0 -212
- package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js.map +0 -1
- package/dist/cdn/chunks/ModulePreviewCanvas-Drt8Evai.js.map +0 -1
- package/dist/cdn/chunks/NumberWithSuffix-Ty1bp9vB.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js +0 -23
- package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js.map +0 -1
- package/dist/cdn/chunks/de-_tooy3Q8.js.map +0 -1
- package/dist/cdn/chunks/en-CNqLoIm9.js.map +0 -1
- package/dist/cdn/chunks/features-DIBEo4xl.js.map +0 -1
- package/dist/cdn/chunks/icons-C1Gg-ov-.js.map +0 -1
- package/dist/cdn/chunks/media-library-BTF_Ko70.js.map +0 -1
- package/dist/cdn/chunks/styles-CQR6ed13.js.map +0 -1
- package/dist/check-DJrpDKO_.js +0 -7
- package/dist/useMergeTag-CfuZq2fF.js +0 -34
- /package/dist/{_plugin-vue_export-helper-Bwh4ceeO.js → _plugin-vue_export-helper-BVAJ4lgT.js} +0 -0
- /package/dist/{clock-ik2pRJKG.js → clock-Ba4p3rJM.js} +0 -0
- /package/dist/{de-D2npYjrZ.js → de-GOtR9DwW.js} +0 -0
- /package/dist/{dist-DvHLtWVP.js → dist-DXa1uAMh.js} +0 -0
- /package/dist/{emojiData-DvQBBzmO.js → emojiData-DrBuvEoP.js} +0 -0
- /package/dist/{en-ib-4h3_o.js → en-dFFQVzNn.js} +0 -0
- /package/dist/{formatRelativeTime-CFDZnEIs.js → formatRelativeTime-BhhO8yCl.js} +0 -0
- /package/dist/{liquid.browser-7Rv0QDiO.js → liquid.browser-BvCyLQII.js} +0 -0
- /package/dist/{scan-line-DlghmhNf.js → scan-line-CzfFJO1o.js} +0 -0
- /package/dist/{send-DDdhIRj8.js → send-D2eSo4GH.js} +0 -0
- /package/dist/{shield-check-OSQ-JVTX.js → shield-check-jkpgcC0-.js} +0 -0
- /package/dist/{sparkles-BN4a-CoF.js → sparkles-Chm5CZfb.js} +0 -0
- /package/dist/{styleConstants-wWRbcuEK.js → styleConstants-34eUKPOZ.js} +0 -0
- /package/dist/{text-align-start-D1weisjS.js → text-align-start-CzBnJsW8.js} +0 -0
- /package/dist/{trash-2-CMWvQ5KX.js → trash-2-CtK2apEH.js} +0 -0
- /package/dist/{triangle-alert-DyidRNX_.js → triangle-alert-KpDVNbpn.js} +0 -0
- /package/dist/{undo-2-Cg8I7obC.js → undo-2-m1EUDbUg.js} +0 -0
- /package/dist/{useCloudI18n-BTTNBk5i.js → useCloudI18n-DOKSZql1.js} +0 -0
- /package/dist/{x-CgIhNcT9.js → x-BkaOMosX.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { At as e, C as t, F as n, Ft as r, I as i, N as a, R as o, U as s, _ as c,
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { h as b, i as x, m as S, p as C, u as w } from "./styleConstants-
|
|
1
|
+
import { At as e, C as t, F as n, Ft as r, I as i, N as a, R as o, U as s, _ as c, b as l, et as u, f as d, g as f, h as p, jt as m, m as h, st as g, t as _, u as v, v as y, x as ee } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
+
import { t as te } from "./dist-Djgi0A6k.js";
|
|
3
|
+
import { t as ne } from "./useI18n-C2xQZ6K9.js";
|
|
4
|
+
import { h as b, i as x, m as S, p as C, u as w } from "./styleConstants-34eUKPOZ.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
6
6
|
var T = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, E = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n;
|
|
7
7
|
360 / (Math.PI * 2);
|
|
8
|
-
var
|
|
8
|
+
var re = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.length < 6 ? {
|
|
9
9
|
r: parseInt(e[0] + e[0], 16),
|
|
10
10
|
g: parseInt(e[1] + e[1], 16),
|
|
11
11
|
b: parseInt(e[2] + e[2], 16),
|
|
@@ -15,7 +15,7 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
15
15
|
g: parseInt(e.substring(2, 4), 16),
|
|
16
16
|
b: parseInt(e.substring(4, 6), 16),
|
|
17
17
|
a: e.length === 8 ? E(parseInt(e.substring(6, 8), 16) / 255, 2) : 1
|
|
18
|
-
}),
|
|
18
|
+
}), ie = (e) => A(oe(e)), ae = ({ h: e, s: t, v: n, a: r }) => {
|
|
19
19
|
let i = (200 - t) * n / 100;
|
|
20
20
|
return {
|
|
21
21
|
h: E(e),
|
|
@@ -23,10 +23,10 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
23
23
|
l: E(i / 2),
|
|
24
24
|
a: E(r, 2)
|
|
25
25
|
};
|
|
26
|
-
},
|
|
27
|
-
let { h: t, s: n, l: r } =
|
|
26
|
+
}, O = (e) => {
|
|
27
|
+
let { h: t, s: n, l: r } = ae(e);
|
|
28
28
|
return `hsl(${t}, ${n}%, ${r}%)`;
|
|
29
|
-
},
|
|
29
|
+
}, oe = ({ h: e, s: t, v: n, a: r }) => {
|
|
30
30
|
e = e / 360 * 6, t /= 100, n /= 100;
|
|
31
31
|
let i = Math.floor(e), a = n * (1 - t), o = n * (1 - (e - i) * t), s = n * (1 - (1 - e + i) * t), c = i % 6;
|
|
32
32
|
return {
|
|
@@ -56,12 +56,12 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
56
56
|
][c] * 255),
|
|
57
57
|
a: E(r, 2)
|
|
58
58
|
};
|
|
59
|
-
},
|
|
59
|
+
}, k = (e) => {
|
|
60
60
|
let t = e.toString(16);
|
|
61
61
|
return t.length < 2 ? "0" + t : t;
|
|
62
|
-
},
|
|
63
|
-
let i = r < 1 ?
|
|
64
|
-
return "#" +
|
|
62
|
+
}, A = ({ r: e, g: t, b: n, a: r }) => {
|
|
63
|
+
let i = r < 1 ? k(E(r * 255)) : "";
|
|
64
|
+
return "#" + k(e) + k(t) + k(n) + i;
|
|
65
65
|
}, j = ({ r: e, g: t, b: n, a: r }) => {
|
|
66
66
|
let i = Math.max(e, t, n), a = i - Math.min(e, t, n), o = a ? i === e ? (t - n) / a : i === t ? 2 + (n - e) / a : 4 + (e - t) / a : 0;
|
|
67
67
|
return {
|
|
@@ -74,7 +74,7 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
74
74
|
if (e === t) return !0;
|
|
75
75
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
76
76
|
return !0;
|
|
77
|
-
},
|
|
77
|
+
}, se = (e, t) => e.toLowerCase() === t.toLowerCase() ? !0 : M(D(e), D(t)), N = {}, P = (e) => {
|
|
78
78
|
let t = N[e];
|
|
79
79
|
return t || (t = document.createElement("template"), t.innerHTML = e, N[e] = t), t;
|
|
80
80
|
}, F = (e, t, n) => {
|
|
@@ -137,7 +137,7 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
137
137
|
update({ h: e }) {
|
|
138
138
|
this.h = e, this.style([{
|
|
139
139
|
left: `${e / 360 * 100}%`,
|
|
140
|
-
color:
|
|
140
|
+
color: O({
|
|
141
141
|
h: e,
|
|
142
142
|
s: 100,
|
|
143
143
|
v: 100,
|
|
@@ -156,8 +156,8 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
156
156
|
this.hsva = e, this.style([{
|
|
157
157
|
top: `${100 - e.v}%`,
|
|
158
158
|
left: `${e.s}%`,
|
|
159
|
-
color:
|
|
160
|
-
}, { "background-color":
|
|
159
|
+
color: O(e)
|
|
160
|
+
}, { "background-color": O({
|
|
161
161
|
h: e.h,
|
|
162
162
|
s: 100,
|
|
163
163
|
v: 100,
|
|
@@ -170,7 +170,7 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
170
170
|
v: t ? T(this.hsva.v - e.y * 100, 0, 100) : Math.round(100 - e.y * 100)
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
}, W = ":host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:\"\";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}", G = "[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}", K = "[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}", q = Symbol("same"), J = Symbol("color"), Y = Symbol("hsva"), X = Symbol("update"), Z = Symbol("parts"), Q = Symbol("css"), $ = Symbol("sliders"),
|
|
173
|
+
}, W = ":host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:\"\";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}", G = "[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}", K = "[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}", q = Symbol("same"), J = Symbol("color"), Y = Symbol("hsva"), X = Symbol("update"), Z = Symbol("parts"), Q = Symbol("css"), $ = Symbol("sliders"), ce = class extends HTMLElement {
|
|
174
174
|
static get observedAttributes() {
|
|
175
175
|
return ["color"];
|
|
176
176
|
}
|
|
@@ -223,35 +223,35 @@ var ne = (e) => j(D(e)), D = (e) => (e[0] === "#" && (e = e.substring(1)), e.len
|
|
|
223
223
|
[X](e) {
|
|
224
224
|
this[Y] = e, this[Z].forEach((t) => t.update(e));
|
|
225
225
|
}
|
|
226
|
-
},
|
|
226
|
+
}, le = {
|
|
227
227
|
defaultColor: "#000",
|
|
228
|
-
toHsva:
|
|
229
|
-
fromHsva: ({ h: e, s: t, v: n }) =>
|
|
228
|
+
toHsva: re,
|
|
229
|
+
fromHsva: ({ h: e, s: t, v: n }) => ie({
|
|
230
230
|
h: e,
|
|
231
231
|
s: t,
|
|
232
232
|
v: n,
|
|
233
233
|
a: 1
|
|
234
234
|
}),
|
|
235
|
-
equal:
|
|
235
|
+
equal: se,
|
|
236
236
|
fromAttr: (e) => e
|
|
237
|
-
},
|
|
237
|
+
}, ue = class extends ce {
|
|
238
238
|
get colorModel() {
|
|
239
|
-
return
|
|
239
|
+
return le;
|
|
240
240
|
}
|
|
241
|
-
},
|
|
242
|
-
customElements.define("hex-color-picker",
|
|
241
|
+
}, de = class extends ue {};
|
|
242
|
+
customElements.define("hex-color-picker", de);
|
|
243
243
|
//#endregion
|
|
244
244
|
//#region src/components/ColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
245
|
-
var
|
|
245
|
+
var fe = [
|
|
246
246
|
"disabled",
|
|
247
247
|
"aria-label",
|
|
248
248
|
"aria-expanded"
|
|
249
|
-
],
|
|
249
|
+
], pe = [
|
|
250
250
|
"value",
|
|
251
251
|
"placeholder",
|
|
252
252
|
"disabled",
|
|
253
253
|
"aria-label"
|
|
254
|
-
],
|
|
254
|
+
], me = ["color", "aria-label"], he = /* @__PURE__ */ t({
|
|
255
255
|
__name: "ColorPicker",
|
|
256
256
|
props: {
|
|
257
257
|
modelValue: {},
|
|
@@ -268,50 +268,50 @@ var de = [
|
|
|
268
268
|
},
|
|
269
269
|
emits: ["update:modelValue"],
|
|
270
270
|
setup(t, { emit: n }) {
|
|
271
|
-
let r = t, i = n, { t: o } =
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}, { ignore: [
|
|
275
|
-
let
|
|
271
|
+
let r = t, i = n, { t: o } = ne(), l = u(!1), d = u(), f = u();
|
|
272
|
+
te(d, () => {
|
|
273
|
+
l.value = !1;
|
|
274
|
+
}, { ignore: [f] });
|
|
275
|
+
let b = h({
|
|
276
276
|
get: () => r.modelValue || "#000000",
|
|
277
277
|
set: (e) => i("update:modelValue", e)
|
|
278
278
|
});
|
|
279
|
-
function
|
|
280
|
-
|
|
279
|
+
function x(e) {
|
|
280
|
+
b.value = e.detail.value;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
|
|
282
|
+
function S(e) {
|
|
283
|
+
b.value = e.target.value;
|
|
284
284
|
}
|
|
285
|
-
return (n, r) => (a(),
|
|
286
|
-
|
|
285
|
+
return (n, r) => (a(), y("div", { class: e(["tpl:flex tpl:gap-2 tpl:relative tpl:w-full tpl:min-w-0", t.disabled && "tpl:opacity-60 tpl:cursor-not-allowed"]) }, [
|
|
286
|
+
p("button", {
|
|
287
287
|
ref_key: "swatchRef",
|
|
288
|
-
ref:
|
|
288
|
+
ref: f,
|
|
289
289
|
type: "button",
|
|
290
290
|
disabled: t.disabled,
|
|
291
|
-
"aria-label":
|
|
292
|
-
"aria-expanded":
|
|
291
|
+
"aria-label": g(o).colorPicker.pickColor,
|
|
292
|
+
"aria-expanded": l.value,
|
|
293
293
|
class: e([
|
|
294
294
|
"tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-0.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
295
295
|
t.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer",
|
|
296
|
-
|
|
296
|
+
l.value ? "tpl:border-[var(--tpl-primary)] tpl:shadow-[var(--tpl-ring)]" : !t.disabled && "hover:tpl:border-[var(--tpl-text-dim)]",
|
|
297
297
|
t.size === "large" ? "tpl:size-12" : "tpl:size-10"
|
|
298
298
|
]),
|
|
299
|
-
onClick: r[0] ||= (e) => !t.disabled && (
|
|
300
|
-
}, [
|
|
299
|
+
onClick: r[0] ||= (e) => !t.disabled && (l.value = !l.value)
|
|
300
|
+
}, [p("span", {
|
|
301
301
|
class: "tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]",
|
|
302
|
-
style:
|
|
303
|
-
}, null, 4)], 10,
|
|
304
|
-
t.swatchOnly ? c("", !0) : (a(),
|
|
302
|
+
style: m({ backgroundColor: b.value })
|
|
303
|
+
}, null, 4)], 10, fe),
|
|
304
|
+
t.swatchOnly ? c("", !0) : (a(), y("input", {
|
|
305
305
|
key: 0,
|
|
306
306
|
type: "text",
|
|
307
|
-
class: e(
|
|
307
|
+
class: e(g(w)),
|
|
308
308
|
value: t.modelValue,
|
|
309
309
|
placeholder: t.placeholder,
|
|
310
310
|
disabled: t.disabled,
|
|
311
|
-
"aria-label":
|
|
312
|
-
onInput:
|
|
313
|
-
}, null, 42,
|
|
314
|
-
|
|
311
|
+
"aria-label": g(o).colorPicker.hexValue,
|
|
312
|
+
onInput: S
|
|
313
|
+
}, null, 42, pe)),
|
|
314
|
+
ee(_, {
|
|
315
315
|
"enter-active-class": "tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
316
316
|
"enter-from-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1",
|
|
317
317
|
"enter-to-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
|
|
@@ -319,27 +319,76 @@ var de = [
|
|
|
319
319
|
"leave-from-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
|
|
320
320
|
"leave-to-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1"
|
|
321
321
|
}, {
|
|
322
|
-
default: s(() => [
|
|
322
|
+
default: s(() => [l.value ? (a(), y("div", {
|
|
323
323
|
key: 0,
|
|
324
324
|
ref_key: "popoverRef",
|
|
325
325
|
ref: d,
|
|
326
326
|
class: "tpl:absolute tpl:left-0 tpl:top-full tpl:z-50 tpl:mt-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-3 tpl:shadow-lg"
|
|
327
|
-
}, [
|
|
328
|
-
color:
|
|
329
|
-
"aria-label":
|
|
330
|
-
onColorChanged:
|
|
331
|
-
onKeydown: r[1] ||=
|
|
332
|
-
}, null, 40,
|
|
327
|
+
}, [p("hex-color-picker", {
|
|
328
|
+
color: b.value,
|
|
329
|
+
"aria-label": g(o).colorPicker.pickColor,
|
|
330
|
+
onColorChanged: x,
|
|
331
|
+
onKeydown: r[1] ||= v((e) => l.value = !1, ["escape"])
|
|
332
|
+
}, null, 40, me)], 512)) : c("", !0)]),
|
|
333
333
|
_: 1
|
|
334
334
|
})
|
|
335
335
|
], 2));
|
|
336
336
|
}
|
|
337
|
-
}),
|
|
337
|
+
}), ge = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text)]" }, _e = ["checked"], ve = /* @__PURE__ */ t({
|
|
338
|
+
__name: "CheckboxItem",
|
|
339
|
+
props: {
|
|
340
|
+
modelValue: { type: Boolean },
|
|
341
|
+
label: {}
|
|
342
|
+
},
|
|
343
|
+
emits: ["update:modelValue"],
|
|
344
|
+
setup(e, { emit: t }) {
|
|
345
|
+
let n = t;
|
|
346
|
+
return (t, i) => (a(), y("label", ge, [p("input", {
|
|
347
|
+
type: "checkbox",
|
|
348
|
+
class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
|
|
349
|
+
checked: e.modelValue,
|
|
350
|
+
onChange: i[0] ||= (e) => n("update:modelValue", e.target.checked)
|
|
351
|
+
}, null, 40, _e), l(" " + r(e.label), 1)]));
|
|
352
|
+
}
|
|
353
|
+
}), ye = { class: "tpl:mb-3.5" }, be = /* @__PURE__ */ t({
|
|
354
|
+
__name: "FieldRow",
|
|
355
|
+
props: { label: {} },
|
|
356
|
+
setup(t) {
|
|
357
|
+
return (n, o) => (a(), y("div", ye, [t.label ? (a(), y("label", {
|
|
358
|
+
key: 0,
|
|
359
|
+
class: e(g(b))
|
|
360
|
+
}, r(t.label), 3)) : c("", !0), i(n.$slots, "default")]));
|
|
361
|
+
}
|
|
362
|
+
}), xe = { class: "tpl:flex tpl:items-stretch" }, Se = [
|
|
363
|
+
"value",
|
|
364
|
+
"min",
|
|
365
|
+
"max"
|
|
366
|
+
], Ce = /* @__PURE__ */ t({
|
|
367
|
+
__name: "NumberWithSuffix",
|
|
368
|
+
props: {
|
|
369
|
+
modelValue: {},
|
|
370
|
+
min: {},
|
|
371
|
+
max: {},
|
|
372
|
+
suffix: {}
|
|
373
|
+
},
|
|
374
|
+
emits: ["update:modelValue"],
|
|
375
|
+
setup(t, { emit: n }) {
|
|
376
|
+
let i = n;
|
|
377
|
+
return (n, o) => (a(), y("div", xe, [p("input", {
|
|
378
|
+
type: "number",
|
|
379
|
+
class: e(g(C)),
|
|
380
|
+
value: t.modelValue,
|
|
381
|
+
min: t.min,
|
|
382
|
+
max: t.max,
|
|
383
|
+
onInput: o[0] ||= (e) => i("update:modelValue", Number(e.target.value))
|
|
384
|
+
}, null, 42, Se), p("span", { class: e(g(S)) }, r(t.suffix), 3)]));
|
|
385
|
+
}
|
|
386
|
+
}), we = [
|
|
338
387
|
"aria-checked",
|
|
339
388
|
"aria-label",
|
|
340
389
|
"title",
|
|
341
390
|
"onClick"
|
|
342
|
-
],
|
|
391
|
+
], Te = { key: 1 }, Ee = /* @__PURE__ */ t({
|
|
343
392
|
__name: "SlidingPillSelect",
|
|
344
393
|
props: {
|
|
345
394
|
options: {},
|
|
@@ -347,76 +396,43 @@ var de = [
|
|
|
347
396
|
},
|
|
348
397
|
emits: ["update:modelValue"],
|
|
349
398
|
setup(e, { emit: t }) {
|
|
350
|
-
let i = e, s = t, l =
|
|
351
|
-
return (t, i) => (a(),
|
|
399
|
+
let i = e, s = t, l = h(() => i.options.findIndex((e) => e.value === i.modelValue)), u = h(() => `translateX(${Math.max(l.value, 0) * 100}%)`);
|
|
400
|
+
return (t, i) => (a(), y("div", {
|
|
352
401
|
role: "radiogroup",
|
|
353
402
|
class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
|
|
354
|
-
style:
|
|
403
|
+
style: m({
|
|
355
404
|
gridTemplateColumns: `repeat(${e.options.length}, 1fr)`,
|
|
356
405
|
backgroundColor: "var(--tpl-bg-hover)"
|
|
357
406
|
})
|
|
358
|
-
}, [l.value >= 0 ? (a(),
|
|
407
|
+
}, [l.value >= 0 ? (a(), y("div", {
|
|
359
408
|
key: 0,
|
|
360
409
|
class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
|
|
361
|
-
style:
|
|
410
|
+
style: m({
|
|
362
411
|
left: "4px",
|
|
363
412
|
width: `calc((100% - 8px) / ${e.options.length})`,
|
|
364
|
-
transform:
|
|
413
|
+
transform: u.value,
|
|
365
414
|
backgroundColor: "var(--tpl-bg)",
|
|
366
415
|
boxShadow: "var(--tpl-shadow)",
|
|
367
416
|
transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
368
417
|
})
|
|
369
|
-
}, null, 4)) : c("", !0), (a(!0),
|
|
418
|
+
}, null, 4)) : c("", !0), (a(!0), y(d, null, n(e.options, (t) => (a(), y("button", {
|
|
370
419
|
key: t.value,
|
|
371
420
|
role: "radio",
|
|
372
421
|
"aria-checked": e.modelValue === t.value,
|
|
373
422
|
"aria-label": t.label,
|
|
374
423
|
class: "tpl:relative tpl:z-10 tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:py-[5px] tpl:text-xs tpl:font-medium",
|
|
375
|
-
style:
|
|
424
|
+
style: m({
|
|
376
425
|
color: e.modelValue === t.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
377
426
|
transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
378
427
|
}),
|
|
379
428
|
title: t.label,
|
|
380
429
|
onClick: (e) => s("update:modelValue", t.value)
|
|
381
|
-
}, [t.icon ? (a(),
|
|
430
|
+
}, [t.icon ? (a(), f(o(t.icon), {
|
|
382
431
|
key: 0,
|
|
383
432
|
size: 14,
|
|
384
433
|
"stroke-width": 2
|
|
385
|
-
})) : (a(),
|
|
386
|
-
}
|
|
387
|
-
}), ve = { class: "tpl:mb-3.5" }, ye = /* @__PURE__ */ t({
|
|
388
|
-
__name: "FieldRow",
|
|
389
|
-
props: { label: {} },
|
|
390
|
-
setup(t) {
|
|
391
|
-
return (n, o) => (a(), _("div", ve, [t.label ? (a(), _("label", {
|
|
392
|
-
key: 0,
|
|
393
|
-
class: e(h(b))
|
|
394
|
-
}, r(t.label), 3)) : c("", !0), i(n.$slots, "default")]));
|
|
395
|
-
}
|
|
396
|
-
}), be = { class: "tpl:flex tpl:items-stretch" }, xe = [
|
|
397
|
-
"value",
|
|
398
|
-
"min",
|
|
399
|
-
"max"
|
|
400
|
-
], Se = /* @__PURE__ */ t({
|
|
401
|
-
__name: "NumberWithSuffix",
|
|
402
|
-
props: {
|
|
403
|
-
modelValue: {},
|
|
404
|
-
min: {},
|
|
405
|
-
max: {},
|
|
406
|
-
suffix: {}
|
|
407
|
-
},
|
|
408
|
-
emits: ["update:modelValue"],
|
|
409
|
-
setup(t, { emit: n }) {
|
|
410
|
-
let i = n;
|
|
411
|
-
return (n, o) => (a(), _("div", be, [f("input", {
|
|
412
|
-
type: "number",
|
|
413
|
-
class: e(h(C)),
|
|
414
|
-
value: t.modelValue,
|
|
415
|
-
min: t.min,
|
|
416
|
-
max: t.max,
|
|
417
|
-
onInput: o[0] ||= (e) => i("update:modelValue", Number(e.target.value))
|
|
418
|
-
}, null, 42, xe), f("span", { class: e(h(S)) }, r(t.suffix), 3)]));
|
|
434
|
+
})) : (a(), y("span", Te, r(t.label), 1))], 12, we))), 128))], 4));
|
|
419
435
|
}
|
|
420
436
|
});
|
|
421
437
|
//#endregion
|
|
422
|
-
export {
|
|
438
|
+
export { he as a, ve as i, Ce as n, be as r, Ee as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { At as e, C as t, F as n, Ft as r, N as i, U as a, V as o, _ as s, d as c, et as l, f as u, h as d, m as f, st as p, t as m, v as h, x as g } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as _ } from "./dist-
|
|
2
|
+
import "./useEditorCore-CSlYQZWx.js";
|
|
3
|
+
import { t as _ } from "./dist-Djgi0A6k.js";
|
|
4
4
|
import { t as v } from "./useI18n-C2xQZ6K9.js";
|
|
5
5
|
import { t as y } from "./chevron-down-C5oBUhT8.js";
|
|
6
6
|
import { n as b, t as x } from "./chevron-right-BqCptpdp.js";
|
|
7
|
-
import { t as S } from "./clock-
|
|
7
|
+
import { t as S } from "./clock-Ba4p3rJM.js";
|
|
8
8
|
import { t as C } from "./loader-circle-Balo8p3d.js";
|
|
9
|
-
import { n as w } from "./useCloudI18n-
|
|
10
|
-
import { t as T } from "./formatRelativeTime-
|
|
9
|
+
import { n as w } from "./useCloudI18n-DOKSZql1.js";
|
|
10
|
+
import { t as T } from "./formatRelativeTime-BhhO8yCl.js";
|
|
11
11
|
//#region src/cloud/components/SnapshotHistory.vue?vue&type=script&setup=true&lang.ts
|
|
12
12
|
var E = ["disabled", "title"], D = ["title"], O = {
|
|
13
13
|
key: 0,
|
|
@@ -6,13 +6,13 @@ import { t as x } from "./circle-alert-ZQQc98HC.js";
|
|
|
6
6
|
import { n as S, t as C } from "./refresh-cw-DwDqGUM0.js";
|
|
7
7
|
import { t as ae } from "./info-BSPGcsSM.js";
|
|
8
8
|
import { t as w } from "./loader-circle-Balo8p3d.js";
|
|
9
|
-
import { t as T } from "./shield-check-
|
|
10
|
-
import { t as E } from "./sparkles-
|
|
11
|
-
import { t as oe } from "./triangle-alert-
|
|
12
|
-
import { t as se } from "./x-
|
|
13
|
-
import { t as ce } from "./LoadingTrack-
|
|
14
|
-
import { t as D } from "./_plugin-vue_export-helper-
|
|
15
|
-
import { n as le } from "./useCloudI18n-
|
|
9
|
+
import { t as T } from "./shield-check-jkpgcC0-.js";
|
|
10
|
+
import { t as E } from "./sparkles-Chm5CZfb.js";
|
|
11
|
+
import { t as oe } from "./triangle-alert-KpDVNbpn.js";
|
|
12
|
+
import { t as se } from "./x-BkaOMosX.js";
|
|
13
|
+
import { t as ce } from "./LoadingTrack-Ba2pfF57.js";
|
|
14
|
+
import { t as D } from "./_plugin-vue_export-helper-BVAJ4lgT.js";
|
|
15
|
+
import { n as le } from "./useCloudI18n-DOKSZql1.js";
|
|
16
16
|
var O = b("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",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { At as e, C as t, F as n, Ft as r, N as i, U as a, V as o, W as s, _ as c, b as l, et as u, f as d, g as f, h as p, s as m, st as h, v as g, x as _ } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-CSlYQZWx.js";
|
|
3
3
|
import { t as v } from "./loader-circle-Balo8p3d.js";
|
|
4
|
-
import { n as y } from "./useCloudI18n-
|
|
5
|
-
import { t as b } from "./TplModal-
|
|
4
|
+
import { n as y } from "./useCloudI18n-DOKSZql1.js";
|
|
5
|
+
import { t as b } from "./TplModal-Dr6Do8oU.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,10 +1,10 @@
|
|
|
1
1
|
import { At as e, C as t, D as n, Ft as r, N as i, Y as a, _ as o, b as s, f as c, g as l, h as u, jt as d, p as f, st as p, v as m, x as h } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as g } from "./useEditorCore-CSlYQZWx.js";
|
|
3
3
|
import { D as _, k as v } from "./keys-CvX8D-8C.js";
|
|
4
4
|
import { t as y } from "./useI18n-C2xQZ6K9.js";
|
|
5
|
-
import { a as b, i as x, n as S, r as C, t as w } from "./RichTextEditorContent-
|
|
5
|
+
import { a as b, i as x, n as S, r as C, t as w } from "./RichTextEditorContent-CrqPQdnk.js";
|
|
6
6
|
import { t as T } from "./loader-circle-Balo8p3d.js";
|
|
7
|
-
import { t as E } from "./scan-line-
|
|
7
|
+
import { t as E } from "./scan-line-CzfFJO1o.js";
|
|
8
8
|
//#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var ee = { class: "tpl-text-editor-wrapper tpl:relative" }, D = ["data-tpl-theme", "aria-label"], O = ["aria-label", "title"], k = ["aria-label", "title"], A = ["aria-label", "title"], j = {
|
|
10
10
|
key: 0,
|
|
@@ -27,10 +27,10 @@ var ee = { class: "tpl-text-editor-wrapper tpl:relative" }, D = ["data-tpl-theme
|
|
|
27
27
|
editorName: "TitleEditor",
|
|
28
28
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
29
29
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d }] = await Promise.all([
|
|
30
|
-
import("./dist-
|
|
31
|
-
import("./dist-
|
|
32
|
-
import("./dist-
|
|
33
|
-
import("./extensions-
|
|
30
|
+
import("./dist-C9ckKEZL.js").then((e) => e.r),
|
|
31
|
+
import("./dist-Bz3M4RXG.js"),
|
|
32
|
+
import("./dist-C3T2AKtB.js"),
|
|
33
|
+
import("./extensions-Bg22D6c8.js")
|
|
34
34
|
]);
|
|
35
35
|
return {
|
|
36
36
|
TiptapEditor: a,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as e, D as t, I as n, N as r, U as i, _ as a, d as o, et as s, g as c, h as l, m as u, p as d, st as f, t as p, v as m, x as h } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D as g } from "./useEditorCore-CSlYQZWx.js";
|
|
3
3
|
import { k as _ } from "./keys-CvX8D-8C.js";
|
|
4
4
|
//#region src/cloud/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var v = ["data-tpl-theme"], y = /* @__PURE__ */ e({
|