@templatical/editor 0.10.0 → 0.10.2
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/{AiChatSidebar-D30WPhbv.js → AiChatSidebar-BMwpZx-6.js} +14 -14
- package/dist/{AiFeatureMenu-B5CJX5zr.js → AiFeatureMenu-xgaIGUCo.js} +8 -8
- package/dist/{BlockIssueBadge-CkB4Yyz2.js → BlockIssueBadge-3kNs6WoD.js} +5 -5
- package/dist/{CloudEditor-nT-R769W.js → CloudEditor-Dm9hiaui.js} +159 -156
- package/dist/{CollaboratorBar-CwhlXODK.js → CollaboratorBar-Cz_evoU4.js} +4 -4
- package/dist/{CommentsSidebar-gpZMMI5w.js → CommentsSidebar-jFZj_CTo.js} +13 -13
- package/dist/{CountdownBlock-BNvuXucv.js → CountdownBlock-S-SCyVye.js} +4 -4
- package/dist/{CountdownToolbar-Dl82DAmI.js → CountdownToolbar-Ckdo-3P-.js} +3 -3
- package/dist/{DesignReferenceSidebar-Bs5AMxVd.js → DesignReferenceSidebar-B9QNPZNV.js} +10 -10
- package/dist/{IssuesPanel-CqQa2BtU.js → IssuesPanel-_E_fbSM8.js} +8 -8
- package/dist/{LoadingTrack-xCOLUR3o.js → LoadingTrack-BZ5KJyZ_.js} +2 -2
- package/dist/{ModuleBrowserModal-BWWgF0LC.js → ModuleBrowserModal-BB22urqi.js} +10 -10
- package/dist/{ModulePreviewCanvas-D7Tk5HOt.js → ModulePreviewCanvas-CH5OdXv8.js} +3 -3
- package/dist/{NumberWithSuffix-DVy5HxMi.js → NumberWithSuffix-BHDXHMpo.js} +3 -3
- package/dist/{ParagraphEditor-DVSGdMOo.js → ParagraphEditor-BmY7LLgN.js} +26 -26
- package/dist/{RichTextEditorContent-DN-fRjMa.js → RichTextEditorContent-COijbaWp.js} +8 -8
- package/dist/{SaveModuleDialog-CkEYkyVD.js → SaveModuleDialog-D5WN-je_.js} +7 -7
- package/dist/{SnapshotHistory-Nx9wrlbF.js → SnapshotHistory-BQ55Rhri.js} +9 -9
- package/dist/{TemplateScoringPanel-BG9M-29t.js → TemplateScoringPanel-Dhf_Qgr7.js} +15 -15
- package/dist/{TestEmailModal-CRjtEs6S.js → TestEmailModal-DH_Viz_m.js} +5 -5
- package/dist/{TitleEditor-CvtV4pCA.js → TitleEditor-Dn613K8o.js} +12 -12
- package/dist/{TplModal-BudEYVcJ.js → TplModal-Dxa3rhHI.js} +4 -4
- package/dist/{blockTypeIcons-Dd-UvfnC.js → blockTypeIcons-CrcSCTD6.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js → AiFeatureMenu-CCsgxyN9.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js.map → AiFeatureMenu-CCsgxyN9.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js → BlockIssueBadge-Lc3NWFV8.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js.map → BlockIssueBadge-Lc3NWFV8.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-xc_uOEgn.js → CloudEditor-KkwvBhyt.js} +131 -128
- package/dist/cdn/chunks/CloudEditor-KkwvBhyt.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js → CollaboratorBar-BGIGiFSm.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js.map → CollaboratorBar-BGIGiFSm.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js → CountdownBlock-gqnpxKp_.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js.map → CountdownBlock-gqnpxKp_.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js → CountdownToolbar-xHpaWQE2.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js.map → CountdownToolbar-xHpaWQE2.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js → IssuesPanel-DHTTHu65.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js.map → IssuesPanel-DHTTHu65.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js → ModuleBrowserModal-DDTjrKph.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js.map → ModuleBrowserModal-DDTjrKph.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js → ModulePreviewCanvas-DeFq0hVi.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js.map → ModulePreviewCanvas-DeFq0hVi.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js → NumberWithSuffix-D4wtmU9O.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js.map → NumberWithSuffix-D4wtmU9O.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js → ParagraphEditor-CwY8GeWa.js} +20 -20
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js.map → ParagraphEditor-CwY8GeWa.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js → RichTextEditorContent-C_bMURGF.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js.map → RichTextEditorContent-C_bMURGF.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js → SaveModuleDialog-DEi8PSP6.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js.map → SaveModuleDialog-DEi8PSP6.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js → TitleEditor-Betpo8AZ.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js.map → TitleEditor-Betpo8AZ.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js → blockTypeIcons-Xz6OBq3U.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js.map → blockTypeIcons-Xz6OBq3U.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BwWMFq33.js → draggable-BTGr7_-X.js} +1271 -1270
- package/dist/cdn/chunks/draggable-BTGr7_-X.js.map +1 -0
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js → extensions-D_j4UWxi.js} +108 -105
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js.map → extensions-D_j4UWxi.js.map} +1 -1
- package/dist/cdn/chunks/{features-CwZTdcbt.js → features-A28DQtjE.js} +831 -820
- package/dist/cdn/chunks/features-A28DQtjE.js.map +1 -0
- package/dist/cdn/chunks/{icons-CbNEr1kc.js → icons-C9D3N0-J.js} +12 -12
- package/dist/cdn/chunks/{icons-CbNEr1kc.js.map → icons-C9D3N0-J.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js → liquid.browser-DUDc3U21.js} +10 -10
- package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js.map → liquid.browser-DUDc3U21.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BRpHZOl7.js → media-library-CH1Wx5wP.js} +13 -9
- package/dist/cdn/chunks/media-library-CH1Wx5wP.js.map +1 -0
- package/dist/cdn/chunks/pusher-CHo5Cua0.js.map +1 -1
- package/dist/cdn/chunks/{quality-BqJqIPRU.js → quality-D4NeyFej.js} +530 -530
- package/dist/cdn/chunks/{quality-BqJqIPRU.js.map → quality-D4NeyFej.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-CGVYkdUi.js → renderer-BQnGfLhL.js} +62 -61
- package/dist/cdn/chunks/renderer-BQnGfLhL.js.map +1 -0
- package/dist/cdn/chunks/{src-CvzfrFlT.js → src-BkKEyLw1.js} +6 -6
- package/dist/cdn/chunks/{src-CvzfrFlT.js.map → src-BkKEyLw1.js.map} +1 -1
- package/dist/cdn/chunks/{styles-2P5yvfsS.js → styles-BDVaiw3K.js} +150 -150
- package/dist/cdn/chunks/{styles-2P5yvfsS.js.map → styles-BDVaiw3K.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BBbH3IT9.js → tiptap-P5abGB13.js} +4437 -2580
- package/dist/cdn/chunks/tiptap-P5abGB13.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +100 -100
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ChQyfxJ3.js → check-KooI2jyS.js} +1 -1
- package/dist/{chevron-down-DJjo0jSV.js → chevron-down-mnlFgueW.js} +1 -1
- package/dist/{circle-alert-CPH6l3Lc.js → circle-alert-D89_hB8j.js} +1 -1
- package/dist/{clock-DHl_BIkU.js → clock-BaadyUrg.js} +1 -1
- package/dist/{cloud-BBC7bv8q.js → cloud-D-FScaHx.js} +80 -74
- package/dist/{createLucideIcon-XgXOJ05E.js → createLucideIcon-D-6fpD2L.js} +3 -3
- package/dist/{dist-DXaxGLsw.js → dist-BttO3Zdx.js} +44 -44
- package/dist/{dist-C8wMh_gi.js → dist-C1WcikEF.js} +5 -5
- package/dist/dist-CjULgTep.js +4072 -0
- package/dist/{dist-GAmhYvUK.js → dist-D6L_WdRL.js} +96 -86
- package/dist/{dist-DYO-w_Jf.js → dist-DaajG7Fo.js} +5 -5
- package/dist/dist-Df4eV6Zi.js +5 -0
- package/dist/{dist-D8C6jIXM.js → dist-Dnqx5UF3.js} +171 -158
- package/dist/{dist-CUpJmrjt.js → dist-Drp5bNAu.js} +5 -5
- package/dist/dist-WJ1fVd5b.js +5 -0
- package/dist/{dist-BxP6TB0l.js → dist-XA2i70J5.js} +8 -8
- package/dist/{dist-UK-lbEBc.js → dist-b52vYHb5.js} +2 -2
- package/dist/{dist-CNLAS2v2.js → dist-cl33Ip6W.js} +3 -3
- package/dist/{dist-C0jo8wtG.js → dist-sqf7pq5q.js} +16 -16
- package/dist/{dist-BzuC8o3y.js → dist-zInT3Lf6.js} +78 -60
- package/dist/{extensions-C87ZSllQ.js → extensions-DA-w1gVg.js} +128 -125
- package/dist/{image-up-CPBCOMit.js → image-up-DjwfAom6.js} +1 -1
- package/dist/{info-DIY9mguM.js → info-Db3HlTr8.js} +1 -1
- package/dist/{keys-Vt3XipJl.js → keys-BjmL5YCT.js} +1 -1
- package/dist/{liquid.browser-IgQrXHPQ.js → liquid.browser--qtl1Fqy.js} +9 -9
- package/dist/{list-checks-CSCyu3fH.js → list-checks-BlAB0X8a.js} +1 -1
- package/dist/{loader-circle-Rz_4vJLH.js → loader-circle-EVqyIxjU.js} +1 -1
- package/dist/{message-circle-D-umK_MU.js → message-circle-BuI5pBVG.js} +1 -1
- package/dist/{refresh-cw-CvWF4jfR.js → refresh-cw-C2vM_6zQ.js} +1 -1
- package/dist/{scan-line-wanvAFDr.js → scan-line-AUIh_SHI.js} +1 -1
- package/dist/{send-BhbhbIFT.js → send-nrbwF7xg.js} +1 -1
- package/dist/{shield-check-CXPPMWth.js → shield-check-B55Ozmva.js} +1 -1
- package/dist/{sparkles-CrUN0KWY.js → sparkles-oh1NUSFq.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DOjWbqA9.js → styles-Byhh107n.js} +41 -41
- package/dist/templatical-editor.js +81 -80
- package/dist/{text-align-end-Bkq8oBrD.js → text-align-start-B2MqzZwU.js} +11 -11
- package/dist/{trash-2-BpY5BCLT.js → trash-2-DH8RBwAx.js} +1 -1
- package/dist/{triangle-alert-MwJBKR2e.js → triangle-alert-BQHjCt3B.js} +1 -1
- package/dist/{useAliveFlag-BLyG8L4d.js → useAliveFlag-B_b9ubwD.js} +1 -1
- package/dist/{useCloudI18n-sRfoQCZY.js → useCloudI18n-BHCrmQgj.js} +2 -2
- package/dist/{useEditorCore-DxApq2hZ.js → useEditorCore-BEgc3KFu.js} +370 -377
- package/dist/{useI18n-lF6hYgZu.js → useI18n-Bb9-ha9X.js} +2 -2
- package/dist/{useMergeTag-CZVI7Xe5.js → useMergeTag-HykzEtBn.js} +3 -3
- package/dist/usePopoverRoot-BZDkRRry.js +8 -0
- package/dist/{vue.runtime.esm-bundler-BDSGA5hA.js → vue.runtime.esm-bundler-MzYCkFSH.js} +1306 -1305
- package/dist/{x-rcnxRG8Y.js → x-DgCCENgP.js} +1 -1
- package/package.json +27 -27
- package/dist/cdn/chunks/CloudEditor-xc_uOEgn.js.map +0 -1
- package/dist/cdn/chunks/draggable-BwWMFq33.js.map +0 -1
- package/dist/cdn/chunks/features-CwZTdcbt.js.map +0 -1
- package/dist/cdn/chunks/media-library-BRpHZOl7.js.map +0 -1
- package/dist/cdn/chunks/renderer-CGVYkdUi.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BBbH3IT9.js.map +0 -1
- package/dist/dist-BDgf2G-V.js +0 -2243
- package/dist/dist-D5lmdi1F.js +0 -5
- package/dist/dist-DILjuzSv.js +0 -5
- package/dist/usePopoverRoot-p2BanBI7.js +0 -8
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, B as t, E as n, M as r, S as i, X as a, a as o, at as s, b as c, c as l, d as u, f as d, h as f, l as p, m, n as h, ot as g, p as _, rt as v, s as y, st as b, z as x } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { C as S, D as C, n as w, w as T } from "./dist-
|
|
3
|
-
import { t as E } from "./useI18n-
|
|
4
|
-
import { t as D } from "./useMergeTag-
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
1
|
+
import { A as e, B as t, E as n, M as r, S as i, X as a, a as o, at as s, b as c, c as l, d as u, f as d, h as f, l as p, m, n as h, ot as g, p as _, rt as v, s as y, st as b, z as x } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
|
|
2
|
+
import { C as S, D as C, n as w, w as T } from "./dist-D6L_WdRL.js";
|
|
3
|
+
import { t as E } from "./useI18n-Bb9-ha9X.js";
|
|
4
|
+
import { t as D } from "./useMergeTag-HykzEtBn.js";
|
|
5
|
+
import { F as O, Sn as k, i as A, o as j, p as M, qt as N, u as P, vn as F, xn as ee, yn as I } from "./dist-zInT3Lf6.js";
|
|
6
|
+
import { n as L, t as R } from "./dist-Dnqx5UF3.js";
|
|
7
7
|
//#region src/extensions/FontSize.ts
|
|
8
|
-
var
|
|
8
|
+
var te = A.create({
|
|
9
9
|
name: "fontSize",
|
|
10
10
|
addOptions() {
|
|
11
11
|
return { types: ["textStyle"] };
|
|
@@ -26,7 +26,7 @@ var ee = N.create({
|
|
|
26
26
|
unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
}),
|
|
29
|
+
}), ne = A.create({
|
|
30
30
|
name: "letterSpacing",
|
|
31
31
|
addOptions() {
|
|
32
32
|
return { types: ["textStyle"] };
|
|
@@ -47,7 +47,7 @@ var ee = N.create({
|
|
|
47
47
|
unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
}),
|
|
50
|
+
}), re = A.create({
|
|
51
51
|
name: "lineHeight",
|
|
52
52
|
addOptions() {
|
|
53
53
|
return {
|
|
@@ -71,7 +71,7 @@ var ee = N.create({
|
|
|
71
71
|
unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
}),
|
|
74
|
+
}), z = [
|
|
75
75
|
"aria-label",
|
|
76
76
|
"data-tooltip",
|
|
77
77
|
"onKeydown"
|
|
@@ -107,7 +107,7 @@ var ee = N.create({
|
|
|
107
107
|
function N(e) {
|
|
108
108
|
e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (T.value = !1);
|
|
109
109
|
}
|
|
110
|
-
return (n, i) => (e(), _(v(
|
|
110
|
+
return (n, i) => (e(), _(v(R), {
|
|
111
111
|
as: "span",
|
|
112
112
|
class: s(h.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
|
|
113
113
|
style: g(h.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
|
|
@@ -131,7 +131,7 @@ var ee = N.create({
|
|
|
131
131
|
"data-tooltip": r.node.attrs.value,
|
|
132
132
|
onClick: l(j, ["stop"]),
|
|
133
133
|
onKeydown: [y(l(j, ["stop"]), ["enter"]), y(l(j, ["prevent", "stop"]), ["space"])]
|
|
134
|
-
}, b(w.value), 41,
|
|
134
|
+
}, b(w.value), 41, z)) : (e(), f("span", {
|
|
135
135
|
key: 2,
|
|
136
136
|
role: "button",
|
|
137
137
|
tabindex: "0",
|
|
@@ -177,11 +177,11 @@ function U(e, t) {
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/extensions/renderVueNodeView.ts
|
|
179
179
|
function W(e) {
|
|
180
|
-
return
|
|
180
|
+
return L(e);
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region src/extensions/LogicMergeTagNode.ts
|
|
184
|
-
var G =
|
|
184
|
+
var G = P.create({
|
|
185
185
|
name: "logicMergeTagNode",
|
|
186
186
|
group: "inline",
|
|
187
187
|
inline: !0,
|
|
@@ -213,7 +213,7 @@ var G = I.create({
|
|
|
213
213
|
let n = S(e.attrs.value, this.options.syntax);
|
|
214
214
|
return [
|
|
215
215
|
"span",
|
|
216
|
-
|
|
216
|
+
N(t, {
|
|
217
217
|
"data-logic-merge-tag": e.attrs.value,
|
|
218
218
|
"data-keyword": n
|
|
219
219
|
}),
|
|
@@ -230,7 +230,7 @@ var G = I.create({
|
|
|
230
230
|
};
|
|
231
231
|
},
|
|
232
232
|
addInputRules() {
|
|
233
|
-
return [new
|
|
233
|
+
return [new j({
|
|
234
234
|
find: RegExp(this.options.syntax.logic.source + "$", ""),
|
|
235
235
|
handler: ({ state: e, range: t, match: n }) => {
|
|
236
236
|
let r = n[0];
|
|
@@ -244,7 +244,7 @@ var G = I.create({
|
|
|
244
244
|
})];
|
|
245
245
|
},
|
|
246
246
|
addPasteRules() {
|
|
247
|
-
return [new
|
|
247
|
+
return [new M({
|
|
248
248
|
find: new RegExp(this.options.syntax.logic.source, "g"),
|
|
249
249
|
handler: ({ state: e, range: t, match: n }) => {
|
|
250
250
|
let r = n[0];
|
|
@@ -285,7 +285,7 @@ var G = I.create({
|
|
|
285
285
|
function w(e) {
|
|
286
286
|
e.key === "Enter" ? (e.preventDefault(), C()) : e.key === "Escape" && (m.value = !1);
|
|
287
287
|
}
|
|
288
|
-
return (n, i) => (e(), _(v(
|
|
288
|
+
return (n, i) => (e(), _(v(R), {
|
|
289
289
|
as: "span",
|
|
290
290
|
class: "tpl-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium tpl:select-none tpl:text-[var(--tpl-primary)]",
|
|
291
291
|
style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
|
|
@@ -337,7 +337,7 @@ var G = I.create({
|
|
|
337
337
|
_: 1
|
|
338
338
|
}));
|
|
339
339
|
}
|
|
340
|
-
}), Y =
|
|
340
|
+
}), Y = P.create({
|
|
341
341
|
name: "mergeTagNode",
|
|
342
342
|
group: "inline",
|
|
343
343
|
inline: !0,
|
|
@@ -367,7 +367,7 @@ var G = I.create({
|
|
|
367
367
|
let n = T(e.attrs.value, this.options.mergeTags);
|
|
368
368
|
return [
|
|
369
369
|
"span",
|
|
370
|
-
|
|
370
|
+
N(t, {
|
|
371
371
|
"data-merge-tag": e.attrs.value,
|
|
372
372
|
"data-label": n
|
|
373
373
|
}),
|
|
@@ -393,7 +393,7 @@ var G = I.create({
|
|
|
393
393
|
};
|
|
394
394
|
},
|
|
395
395
|
addInputRules() {
|
|
396
|
-
return [new
|
|
396
|
+
return [new j({
|
|
397
397
|
find: RegExp(this.options.syntax.value.source + "$", ""),
|
|
398
398
|
handler: ({ state: e, range: t, match: n }) => {
|
|
399
399
|
let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
|
|
@@ -405,7 +405,7 @@ var G = I.create({
|
|
|
405
405
|
})];
|
|
406
406
|
},
|
|
407
407
|
addPasteRules() {
|
|
408
|
-
return [new
|
|
408
|
+
return [new M({
|
|
409
409
|
find: new RegExp(this.options.syntax.value.source, "g"),
|
|
410
410
|
handler: ({ state: e, range: t, match: n }) => {
|
|
411
411
|
let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
|
|
@@ -418,9 +418,9 @@ var G = I.create({
|
|
|
418
418
|
}
|
|
419
419
|
});
|
|
420
420
|
//#endregion
|
|
421
|
-
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.
|
|
421
|
+
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.26.0_@tiptap+core@3.26.0_@tiptap+pm@3.26.0__@tiptap+pm@3.26.0/node_modules/@tiptap/suggestion/dist/index.js
|
|
422
422
|
function ie(e) {
|
|
423
|
-
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c =
|
|
423
|
+
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = O(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
|
|
424
424
|
if (!p) return null;
|
|
425
425
|
let m = o.pos - p.length, h = Array.from(p.matchAll(f)).pop();
|
|
426
426
|
if (!h || h.input === void 0 || h.index === void 0) return null;
|
|
@@ -444,7 +444,7 @@ function ae(e) {
|
|
|
444
444
|
return /\s/.test(n);
|
|
445
445
|
}) : !1;
|
|
446
446
|
}
|
|
447
|
-
var oe = new
|
|
447
|
+
var oe = new k("suggestion");
|
|
448
448
|
function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: i = !1, allowedPrefixes: a = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: c = "suggestion", decorationContent: l = "", decorationEmptyClass: u = "is-empty", command: d = () => null, items: f = () => [], render: p = () => ({}), allow: m = () => !0, findSuggestionMatch: h = ie, shouldShow: g, shouldResetDismissed: _ }) {
|
|
449
449
|
let v, y = p?.(), b = r && !i, x = () => {
|
|
450
450
|
let e = t.state.selection.$anchor.pos, { top: n, right: r, bottom: i, left: a } = t.view.coordsAtPos(e);
|
|
@@ -492,7 +492,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
|
|
|
492
492
|
let a = n.state.tr.setMeta(r, { exit: !0 });
|
|
493
493
|
n.dispatch(a);
|
|
494
494
|
}
|
|
495
|
-
let T = new
|
|
495
|
+
let T = new ee({
|
|
496
496
|
key: e,
|
|
497
497
|
view() {
|
|
498
498
|
return {
|
|
@@ -605,7 +605,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
|
|
|
605
605
|
let { active: t, range: n, decorationId: r, query: i } = T.getState(e);
|
|
606
606
|
if (!t) return null;
|
|
607
607
|
let a = !i?.length, o = [c];
|
|
608
|
-
return a && o.push(u),
|
|
608
|
+
return a && o.push(u), I.create(e.doc, [F.inline(n.from, n.to, {
|
|
609
609
|
nodeName: s,
|
|
610
610
|
class: o.join(" "),
|
|
611
611
|
"data-decoration-id": r,
|
|
@@ -670,7 +670,105 @@ function Q(e, t) {
|
|
|
670
670
|
function $(e, t, n, r) {
|
|
671
671
|
return t.length === 0 ? e.key === "Enter" || e.key === "Tab" : e.key === "ArrowDown" ? (n.value = (n.value + 1) % t.length, !0) : e.key === "ArrowUp" ? (n.value = (n.value - 1 + t.length) % t.length, !0) : e.key === "Enter" || e.key === "Tab" ? (r(t[n.value]), !0) : !1;
|
|
672
672
|
}
|
|
673
|
-
|
|
673
|
+
function he(e, t) {
|
|
674
|
+
return () => {
|
|
675
|
+
let n = null, r = null, o = null, s = a([]), c = a(0), l = null, u = `tpl-merge-tag-suggestion-${++me}`, d = null, f = [], p = null;
|
|
676
|
+
function m() {
|
|
677
|
+
b(d?.() ?? null);
|
|
678
|
+
}
|
|
679
|
+
function g() {
|
|
680
|
+
m(), p !== null && cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
681
|
+
p = null, m();
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
function _(e) {
|
|
685
|
+
let t = [], n = e?.parentElement ?? null;
|
|
686
|
+
for (; n && n !== document.body && n !== document.documentElement;) {
|
|
687
|
+
let e = window.getComputedStyle(n), r = e.overflow + e.overflowX + e.overflowY;
|
|
688
|
+
/(auto|scroll|overlay)/.test(r) && t.push(n), n = n.parentElement;
|
|
689
|
+
}
|
|
690
|
+
return t;
|
|
691
|
+
}
|
|
692
|
+
function v(e) {
|
|
693
|
+
f = [window, ..._(e)];
|
|
694
|
+
for (let e of f) e.addEventListener("scroll", m, {
|
|
695
|
+
passive: !0,
|
|
696
|
+
capture: !0
|
|
697
|
+
});
|
|
698
|
+
window.addEventListener("resize", m, { passive: !0 });
|
|
699
|
+
}
|
|
700
|
+
function y() {
|
|
701
|
+
for (let e of f) e.removeEventListener("scroll", m, { capture: !0 });
|
|
702
|
+
window.removeEventListener("resize", m), f = [];
|
|
703
|
+
}
|
|
704
|
+
function b(e) {
|
|
705
|
+
if (!r || !e || e.bottom < 0 || e.top > window.innerHeight) return;
|
|
706
|
+
r.style.position = "fixed", r.style.left = `${e.left}px`, r.style.zIndex = "9999", r.style.top = `${e.bottom}px`;
|
|
707
|
+
let t = r.offsetHeight;
|
|
708
|
+
if (t !== 0 && window.innerHeight - e.bottom < t) {
|
|
709
|
+
let n = Math.max(0, e.top - t);
|
|
710
|
+
r.style.top = `${n}px`;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
function x(e, t) {
|
|
714
|
+
let n = t?.closest("[data-tpl-theme]");
|
|
715
|
+
if (!n) return;
|
|
716
|
+
let r = n.getAttribute("data-tpl-theme");
|
|
717
|
+
r && e.setAttribute("data-tpl-theme", r);
|
|
718
|
+
let i = window.getComputedStyle(n);
|
|
719
|
+
for (let t = 0; t < i.length; t++) {
|
|
720
|
+
let n = i[t];
|
|
721
|
+
n.startsWith("--tpl-") && e.style.setProperty(n, i.getPropertyValue(n));
|
|
722
|
+
}
|
|
723
|
+
e.style.fontFamily = i.fontFamily, e.style.fontSize = i.fontSize, e.style.lineHeight = i.lineHeight;
|
|
724
|
+
}
|
|
725
|
+
function S(e) {
|
|
726
|
+
o && (e ? (o.setAttribute("role", "combobox"), o.setAttribute("aria-haspopup", "listbox"), o.setAttribute("aria-expanded", "true"), o.setAttribute("aria-controls", u)) : (o.removeAttribute("aria-expanded"), o.removeAttribute("aria-controls"), o.removeAttribute("aria-activedescendant"), o.removeAttribute("aria-haspopup"), o.removeAttribute("role")));
|
|
727
|
+
}
|
|
728
|
+
function C() {
|
|
729
|
+
if (o) {
|
|
730
|
+
if (s.value.length === 0) {
|
|
731
|
+
o.removeAttribute("aria-activedescendant");
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
o.setAttribute("aria-activedescendant", `${u}-opt-${c.value}`);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
function w(e) {
|
|
738
|
+
l?.(e);
|
|
739
|
+
}
|
|
740
|
+
return {
|
|
741
|
+
onStart: (a) => {
|
|
742
|
+
s.value = a.items, c.value = 0, l = (e) => a.command(e), r = document.createElement("div"), r.setAttribute("data-testid", "merge-tag-suggestion-popup");
|
|
743
|
+
let f = a.editor.view?.dom;
|
|
744
|
+
o = f ?? null, x(r, f ?? null), (t?.value ?? document.body).appendChild(r), n = h({ render() {
|
|
745
|
+
return i(pe, {
|
|
746
|
+
items: s.value,
|
|
747
|
+
selectedIndex: c.value,
|
|
748
|
+
emptyText: e,
|
|
749
|
+
listId: u,
|
|
750
|
+
onSelect: (e) => w(e),
|
|
751
|
+
onHover: (e) => {
|
|
752
|
+
c.value = e, C();
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
} }), n.mount(r), S(!0), C(), d = a.clientRect ?? null, g(), v(f ?? null);
|
|
756
|
+
},
|
|
757
|
+
onUpdate: (e) => {
|
|
758
|
+
s.value = e.items, c.value >= e.items.length && (c.value = 0), l = (t) => e.command(t), C(), d = e.clientRect ?? null, g();
|
|
759
|
+
},
|
|
760
|
+
onKeyDown: (e) => {
|
|
761
|
+
if (e.event.key === "Escape") return !0;
|
|
762
|
+
let t = $(e.event, s.value, c, w);
|
|
763
|
+
return t && C(), t;
|
|
764
|
+
},
|
|
765
|
+
onExit: () => {
|
|
766
|
+
p !== null && (cancelAnimationFrame(p), p = null), y(), S(!1), n?.unmount(), r?.remove(), n = null, r = null, o = null, l = null, d = null;
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
var ge = A.create({
|
|
674
772
|
name: "mergeTagSuggestion",
|
|
675
773
|
addOptions() {
|
|
676
774
|
return {
|
|
@@ -696,102 +794,7 @@ var he = N.create({
|
|
|
696
794
|
}
|
|
697
795
|
}).run();
|
|
698
796
|
},
|
|
699
|
-
render: ()
|
|
700
|
-
let e = null, r = null, o = null, s = a([]), c = a(0), l = null, u = `tpl-merge-tag-suggestion-${++me}`, d = null, f = [], p = null;
|
|
701
|
-
function m() {
|
|
702
|
-
b(d?.() ?? null);
|
|
703
|
-
}
|
|
704
|
-
function g() {
|
|
705
|
-
m(), p !== null && cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
706
|
-
p = null, m();
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
function _(e) {
|
|
710
|
-
let t = [], n = e?.parentElement ?? null;
|
|
711
|
-
for (; n && n !== document.body && n !== document.documentElement;) {
|
|
712
|
-
let e = window.getComputedStyle(n), r = e.overflow + e.overflowX + e.overflowY;
|
|
713
|
-
/(auto|scroll|overlay)/.test(r) && t.push(n), n = n.parentElement;
|
|
714
|
-
}
|
|
715
|
-
return t;
|
|
716
|
-
}
|
|
717
|
-
function v(e) {
|
|
718
|
-
f = [window, ..._(e)];
|
|
719
|
-
for (let e of f) e.addEventListener("scroll", m, {
|
|
720
|
-
passive: !0,
|
|
721
|
-
capture: !0
|
|
722
|
-
});
|
|
723
|
-
window.addEventListener("resize", m, { passive: !0 });
|
|
724
|
-
}
|
|
725
|
-
function y() {
|
|
726
|
-
for (let e of f) e.removeEventListener("scroll", m, { capture: !0 });
|
|
727
|
-
window.removeEventListener("resize", m), f = [];
|
|
728
|
-
}
|
|
729
|
-
function b(e) {
|
|
730
|
-
if (!r || !e || e.bottom < 0 || e.top > window.innerHeight) return;
|
|
731
|
-
r.style.position = "fixed", r.style.left = `${e.left}px`, r.style.zIndex = "9999", r.style.top = `${e.bottom}px`;
|
|
732
|
-
let t = r.offsetHeight;
|
|
733
|
-
if (t !== 0 && window.innerHeight - e.bottom < t) {
|
|
734
|
-
let n = Math.max(0, e.top - t);
|
|
735
|
-
r.style.top = `${n}px`;
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
function x(e, t) {
|
|
739
|
-
let n = t?.closest("[data-tpl-theme]");
|
|
740
|
-
if (!n) return;
|
|
741
|
-
let r = n.getAttribute("data-tpl-theme");
|
|
742
|
-
r && e.setAttribute("data-tpl-theme", r);
|
|
743
|
-
let i = window.getComputedStyle(n);
|
|
744
|
-
for (let t = 0; t < i.length; t++) {
|
|
745
|
-
let n = i[t];
|
|
746
|
-
n.startsWith("--tpl-") && e.style.setProperty(n, i.getPropertyValue(n));
|
|
747
|
-
}
|
|
748
|
-
e.style.fontFamily = i.fontFamily, e.style.fontSize = i.fontSize, e.style.lineHeight = i.lineHeight;
|
|
749
|
-
}
|
|
750
|
-
function S(e) {
|
|
751
|
-
o && (e ? (o.setAttribute("role", "combobox"), o.setAttribute("aria-haspopup", "listbox"), o.setAttribute("aria-expanded", "true"), o.setAttribute("aria-controls", u)) : (o.removeAttribute("aria-expanded"), o.removeAttribute("aria-controls"), o.removeAttribute("aria-activedescendant"), o.removeAttribute("aria-haspopup"), o.removeAttribute("role")));
|
|
752
|
-
}
|
|
753
|
-
function C() {
|
|
754
|
-
if (o) {
|
|
755
|
-
if (s.value.length === 0) {
|
|
756
|
-
o.removeAttribute("aria-activedescendant");
|
|
757
|
-
return;
|
|
758
|
-
}
|
|
759
|
-
o.setAttribute("aria-activedescendant", `${u}-opt-${c.value}`);
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
function w(e) {
|
|
763
|
-
l?.(e);
|
|
764
|
-
}
|
|
765
|
-
return {
|
|
766
|
-
onStart: (a) => {
|
|
767
|
-
s.value = a.items, c.value = 0, l = (e) => a.command(e), r = document.createElement("div"), r.setAttribute("data-testid", "merge-tag-suggestion-popup");
|
|
768
|
-
let f = a.editor.view?.dom;
|
|
769
|
-
o = f ?? null, x(r, f ?? null), (n?.value ?? document.body).appendChild(r), e = h({ render() {
|
|
770
|
-
return i(pe, {
|
|
771
|
-
items: s.value,
|
|
772
|
-
selectedIndex: c.value,
|
|
773
|
-
emptyText: t,
|
|
774
|
-
listId: u,
|
|
775
|
-
onSelect: (e) => w(e),
|
|
776
|
-
onHover: (e) => {
|
|
777
|
-
c.value = e, C();
|
|
778
|
-
}
|
|
779
|
-
});
|
|
780
|
-
} }), e.mount(r), S(!0), C(), d = a.clientRect ?? null, g(), v(f ?? null);
|
|
781
|
-
},
|
|
782
|
-
onUpdate: (e) => {
|
|
783
|
-
s.value = e.items, c.value >= e.items.length && (c.value = 0), l = (t) => e.command(t), C(), d = e.clientRect ?? null, g();
|
|
784
|
-
},
|
|
785
|
-
onKeyDown: (e) => {
|
|
786
|
-
if (e.event.key === "Escape") return !0;
|
|
787
|
-
let t = $(e.event, s.value, c, w);
|
|
788
|
-
return t && C(), t;
|
|
789
|
-
},
|
|
790
|
-
onExit: () => {
|
|
791
|
-
p !== null && (cancelAnimationFrame(p), p = null), y(), S(!1), e?.unmount(), r?.remove(), e = null, r = null, o = null, l = null, d = null;
|
|
792
|
-
}
|
|
793
|
-
};
|
|
794
|
-
}
|
|
797
|
+
render: he(t, n)
|
|
795
798
|
};
|
|
796
799
|
return [ce({
|
|
797
800
|
editor: this.editor,
|
|
@@ -800,4 +803,4 @@ var he = N.create({
|
|
|
800
803
|
}
|
|
801
804
|
});
|
|
802
805
|
//#endregion
|
|
803
|
-
export {
|
|
806
|
+
export { te as FontSize, ne as LetterSpacing, re as LineHeight, G as LogicMergeTagNode, Y as MergeTagNode, ge as MergeTagSuggestion, Q as filterMergeTags, $ as handleSuggestionKeyDown };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as e } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { w as e } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
|
|
2
2
|
//#region src/keys.ts
|
|
3
3
|
var t = Symbol("translations"), n = Symbol("editor"), r = Symbol("history"), i = Symbol("blockActions"), a = Symbol("conditionPreview"), o = Symbol("fontsManager"), s = Symbol("themeStyles"), c = Symbol("tplUiTheme"), l = Symbol("blockDefaults"), u = Symbol("blockRegistry"), d = Symbol("customBlockDefinitions"), f = Symbol("customBlockStylesheets"), p = Symbol("mergeTags"), m = Symbol("mergeTagSyntax"), h = Symbol("onRequestMergeTag"), g = Symbol("mergeTagAutocomplete"), _ = Symbol("mergeTagPicker"), v = Symbol("onRequestMedia"), y = Symbol("displayConditions"), b = Symbol("allowCustomConditions"), x = Symbol("capabilities"), S = Symbol("keyboardReorder"), C = Symbol("templateLint"), w = Symbol("editorRoot"), T = Symbol("popoverRoot"), E = Symbol("authManager"), D = Symbol("aiConfig"), O = Symbol("comments"), k = Symbol("savedModulesHeadless"), A = Symbol("scoring"), j = Symbol("cloudTranslations");
|
|
4
4
|
function M(t, n) {
|
|
@@ -1088,7 +1088,7 @@ function $t(e) {
|
|
|
1088
1088
|
function en(e) {
|
|
1089
1089
|
return Jt(e, ".");
|
|
1090
1090
|
}
|
|
1091
|
-
var tn =
|
|
1091
|
+
var tn = /*#__PURE__*/ Object.freeze({
|
|
1092
1092
|
__proto__: null,
|
|
1093
1093
|
resolve: Yt,
|
|
1094
1094
|
readFile: Xt,
|
|
@@ -1180,7 +1180,7 @@ function hn(e) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
return r;
|
|
1182
1182
|
}
|
|
1183
|
-
var gn =
|
|
1183
|
+
var gn = /*#__PURE__*/ Object.freeze({
|
|
1184
1184
|
__proto__: null,
|
|
1185
1185
|
escape: un,
|
|
1186
1186
|
xml_escape: dn,
|
|
@@ -2111,7 +2111,7 @@ function cr(e, t = 0) {
|
|
|
2111
2111
|
let n = 10 ** t, r = e * n;
|
|
2112
2112
|
return Math.sign(e) * Math.round(Math.abs(r)) / n;
|
|
2113
2113
|
}
|
|
2114
|
-
var lr =
|
|
2114
|
+
var lr = /*#__PURE__*/ Object.freeze({
|
|
2115
2115
|
__proto__: null,
|
|
2116
2116
|
abs: Qn,
|
|
2117
2117
|
at_least: $n,
|
|
@@ -2140,7 +2140,7 @@ function gr(e, t = "default", n = !1) {
|
|
|
2140
2140
|
function _r(e) {
|
|
2141
2141
|
return e.replace(/[àáâãäå]/g, "a").replace(/[æ]/g, "ae").replace(/[ç]/g, "c").replace(/[èéêë]/g, "e").replace(/[ìíîï]/g, "i").replace(/[ð]/g, "d").replace(/[ñ]/g, "n").replace(/[òóôõöø]/g, "o").replace(/[ùúûü]/g, "u").replace(/[ýÿ]/g, "y").replace(/[ß]/g, "ss").replace(/[œ]/g, "oe").replace(/[þ]/g, "th").replace(/[ẞ]/g, "SS").replace(/[Œ]/g, "OE").replace(/[Þ]/g, "TH");
|
|
2142
2142
|
}
|
|
2143
|
-
var vr =
|
|
2143
|
+
var vr = /*#__PURE__*/ Object.freeze({
|
|
2144
2144
|
__proto__: null,
|
|
2145
2145
|
url_decode: ur,
|
|
2146
2146
|
url_encode: dr,
|
|
@@ -2314,7 +2314,7 @@ function ei(e, t = 1) {
|
|
|
2314
2314
|
let n = [...e].sort(() => Math.random() - .5);
|
|
2315
2315
|
return t === 1 ? n[0] : n.slice(0, t);
|
|
2316
2316
|
}
|
|
2317
|
-
var ti =
|
|
2317
|
+
var ti = /*#__PURE__*/ Object.freeze({
|
|
2318
2318
|
__proto__: null,
|
|
2319
2319
|
join: yr,
|
|
2320
2320
|
last: br,
|
|
@@ -2379,7 +2379,7 @@ function ci(e, t, n) {
|
|
|
2379
2379
|
let r, i = n ?? t.timezoneOffset, o = t.locale;
|
|
2380
2380
|
if (e = f(e), !p(e)) return r = e === "now" || e === "today" ? new k(Date.now(), o, i) : te(e) ? new k(e * 1e3, o, i) : a(e) ? /^\d+$/.test(e) ? new k(e * 1e3, o, i) : t.preserveTimezones && n === void 0 ? k.createDateFixedToTimezone(e, o) : new k(e, o, i) : new k(e, o, i), r.valid() ? r : void 0;
|
|
2381
2381
|
}
|
|
2382
|
-
var li =
|
|
2382
|
+
var li = /*#__PURE__*/ Object.freeze({
|
|
2383
2383
|
__proto__: null,
|
|
2384
2384
|
date: ni,
|
|
2385
2385
|
date_to_xmlschema: ri,
|
|
@@ -2511,7 +2511,7 @@ function Mi(e, t = "and") {
|
|
|
2511
2511
|
default: return `${e.slice(0, -1).join(", ")}, ${t} ${e[e.length - 1]}`;
|
|
2512
2512
|
}
|
|
2513
2513
|
}
|
|
2514
|
-
var Ni =
|
|
2514
|
+
var Ni = /*#__PURE__*/ Object.freeze({
|
|
2515
2515
|
__proto__: null,
|
|
2516
2516
|
append: fi,
|
|
2517
2517
|
prepend: pi,
|
|
@@ -2550,7 +2550,7 @@ function Li(e) {
|
|
|
2550
2550
|
let t = l(e);
|
|
2551
2551
|
return this.context.memoryLimit.use(t.length), Fi(t);
|
|
2552
2552
|
}
|
|
2553
|
-
var Ri =
|
|
2553
|
+
var Ri = /*#__PURE__*/ Object.freeze({
|
|
2554
2554
|
__proto__: null,
|
|
2555
2555
|
base64_encode: Ii,
|
|
2556
2556
|
base64_decode: Li
|
|
@@ -2583,7 +2583,7 @@ function Ui(e, t) {
|
|
|
2583
2583
|
let n = l(e), r = l(t);
|
|
2584
2584
|
return this.context.memoryLimit.use(n.length + r.length), Vi(n, r);
|
|
2585
2585
|
}
|
|
2586
|
-
var Wi =
|
|
2586
|
+
var Wi = /*#__PURE__*/ Object.freeze({
|
|
2587
2587
|
__proto__: null,
|
|
2588
2588
|
sha256: Hi,
|
|
2589
2589
|
hmac_sha256: Ui
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-D-6fpD2L.js";
|
|
2
2
|
var t = e("message-circle", [["path", {
|
|
3
3
|
d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
|
|
4
4
|
key: "1sd12s"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-D-6fpD2L.js";
|
|
2
2
|
var t = e("eye", [["path", {
|
|
3
3
|
d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
|
|
4
4
|
key: "1nclc0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-D-6fpD2L.js";
|
|
2
2
|
var t = e("send", [["path", {
|
|
3
3
|
d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
|
|
4
4
|
key: "1ffxy3"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-D-6fpD2L.js";
|
|
2
2
|
var t = e("shield-check", [["path", {
|
|
3
3
|
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",
|
|
4
4
|
key: "oel41y"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-D-6fpD2L.js";
|
|
2
2
|
var t = e("sparkles", [
|
|
3
3
|
["path", {
|
|
4
4
|
d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
|