@templatical/editor 0.10.0 → 0.10.1
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-Dz5bH1z3.js} +13 -13
- package/dist/{AiFeatureMenu-B5CJX5zr.js → AiFeatureMenu-D2Xn0jFx.js} +7 -7
- package/dist/{BlockIssueBadge-CkB4Yyz2.js → BlockIssueBadge-CnqD1cGo.js} +5 -5
- package/dist/{CloudEditor-nT-R769W.js → CloudEditor-BizZwsfD.js} +158 -155
- package/dist/{CollaboratorBar-CwhlXODK.js → CollaboratorBar-Bn2JDu6l.js} +4 -4
- package/dist/{CommentsSidebar-gpZMMI5w.js → CommentsSidebar-BAG6rdVC.js} +12 -12
- package/dist/{CountdownBlock-BNvuXucv.js → CountdownBlock-B_Hr9Bm9.js} +3 -3
- package/dist/{CountdownToolbar-Dl82DAmI.js → CountdownToolbar-DaqDLKLk.js} +3 -3
- package/dist/{DesignReferenceSidebar-Bs5AMxVd.js → DesignReferenceSidebar-I9LWjvrj.js} +9 -9
- package/dist/{IssuesPanel-CqQa2BtU.js → IssuesPanel-B32Ifp4x.js} +8 -8
- package/dist/{LoadingTrack-xCOLUR3o.js → LoadingTrack-UTqOUN4O.js} +1 -1
- package/dist/{ModuleBrowserModal-BWWgF0LC.js → ModuleBrowserModal-DodRped1.js} +10 -10
- package/dist/{ModulePreviewCanvas-D7Tk5HOt.js → ModulePreviewCanvas-DhcnddJF.js} +3 -3
- package/dist/{NumberWithSuffix-DVy5HxMi.js → NumberWithSuffix-DB7GyyCI.js} +3 -3
- package/dist/{ParagraphEditor-DVSGdMOo.js → ParagraphEditor-pJA9BHAL.js} +25 -25
- package/dist/{RichTextEditorContent-DN-fRjMa.js → RichTextEditorContent-dTGSUff_.js} +6 -6
- package/dist/{SaveModuleDialog-CkEYkyVD.js → SaveModuleDialog-D634e99d.js} +7 -7
- package/dist/{SnapshotHistory-Nx9wrlbF.js → SnapshotHistory-m_nGAHlb.js} +9 -9
- package/dist/{TemplateScoringPanel-BG9M-29t.js → TemplateScoringPanel-BOQh9neV.js} +14 -14
- package/dist/{TestEmailModal-CRjtEs6S.js → TestEmailModal-DOcwoKkc.js} +5 -5
- package/dist/{TitleEditor-CvtV4pCA.js → TitleEditor-t6JMWamY.js} +12 -12
- package/dist/{TplModal-BudEYVcJ.js → TplModal-BAtbfDB0.js} +4 -4
- package/dist/{blockTypeIcons-Dd-UvfnC.js → blockTypeIcons-C4lXx3Au.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js → AiFeatureMenu-BeOyHAoZ.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js.map → AiFeatureMenu-BeOyHAoZ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js → BlockIssueBadge-C6YilQdl.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js.map → BlockIssueBadge-C6YilQdl.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-xc_uOEgn.js → CloudEditor-DEA37rdW.js} +35 -32
- package/dist/cdn/chunks/CloudEditor-DEA37rdW.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js → CollaboratorBar-CKW7jOW4.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js.map → CollaboratorBar-CKW7jOW4.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js → CountdownBlock-DU9ga9Ki.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js.map → CountdownBlock-DU9ga9Ki.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js → CountdownToolbar-BHWsxth7.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js.map → CountdownToolbar-BHWsxth7.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js → IssuesPanel-BkYhij39.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js.map → IssuesPanel-BkYhij39.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js → ModuleBrowserModal-D51w942J.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js.map → ModuleBrowserModal-D51w942J.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js → ModulePreviewCanvas-BqTqcKHS.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js.map → ModulePreviewCanvas-BqTqcKHS.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js → NumberWithSuffix-DuUcF2zG.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js.map → NumberWithSuffix-DuUcF2zG.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js → ParagraphEditor-Bqjn3ZNm.js} +19 -19
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js.map → ParagraphEditor-Bqjn3ZNm.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js → RichTextEditorContent-mIkkb5EK.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js.map → RichTextEditorContent-mIkkb5EK.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js → SaveModuleDialog-Felfmkcj.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js.map → SaveModuleDialog-Felfmkcj.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js → TitleEditor-Dcldr8D6.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js.map → TitleEditor-Dcldr8D6.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js → blockTypeIcons-D05Wqf5u.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js.map → blockTypeIcons-D05Wqf5u.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BwWMFq33.js → draggable-J_1CPXYc.js} +1254 -1253
- package/dist/cdn/chunks/draggable-J_1CPXYc.js.map +1 -0
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js → extensions-CNmpC18A.js} +108 -105
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js.map → extensions-CNmpC18A.js.map} +1 -1
- package/dist/cdn/chunks/{features-CwZTdcbt.js → features-_ar9QbVv.js} +264 -258
- package/dist/cdn/chunks/{features-CwZTdcbt.js.map → features-_ar9QbVv.js.map} +1 -1
- package/dist/cdn/chunks/{icons-CbNEr1kc.js → icons-CnwCLJX-.js} +12 -12
- package/dist/cdn/chunks/{icons-CbNEr1kc.js.map → icons-CnwCLJX-.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BRpHZOl7.js → media-library-9jyt7Bf9.js} +10 -6
- package/dist/cdn/chunks/media-library-9jyt7Bf9.js.map +1 -0
- package/dist/cdn/chunks/{quality-BqJqIPRU.js → quality-CO9mj_RH.js} +2 -2
- package/dist/cdn/chunks/{quality-BqJqIPRU.js.map → quality-CO9mj_RH.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-CGVYkdUi.js → renderer-m6XTCWCL.js} +55 -54
- package/dist/cdn/chunks/renderer-m6XTCWCL.js.map +1 -0
- package/dist/cdn/chunks/{src-CvzfrFlT.js → src-DfMSYqvE.js} +5 -5
- package/dist/cdn/chunks/{src-CvzfrFlT.js.map → src-DfMSYqvE.js.map} +1 -1
- package/dist/cdn/chunks/{styles-2P5yvfsS.js → styles-1uFWdD5T.js} +17 -17
- package/dist/cdn/chunks/{styles-2P5yvfsS.js.map → styles-1uFWdD5T.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BBbH3IT9.js → tiptap-CJbIm_hE.js} +5 -5
- package/dist/cdn/chunks/{tiptap-BBbH3IT9.js.map → tiptap-CJbIm_hE.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +7 -7
- package/dist/{check-ChQyfxJ3.js → check-Bs6_uQpm.js} +1 -1
- package/dist/{chevron-down-DJjo0jSV.js → chevron-down-so1rnGwF.js} +1 -1
- package/dist/{circle-alert-CPH6l3Lc.js → circle-alert-CrKv0AuW.js} +1 -1
- package/dist/{clock-DHl_BIkU.js → clock-Cpx6GYpa.js} +1 -1
- package/dist/{cloud-BBC7bv8q.js → cloud-bHhCNRZa.js} +80 -74
- package/dist/{createLucideIcon-XgXOJ05E.js → createLucideIcon-DFBxEm5K.js} +3 -3
- package/dist/{dist-C0jo8wtG.js → dist-0RguD1vS.js} +1 -1
- package/dist/{dist-CNLAS2v2.js → dist-2-A7SaKm.js} +3 -3
- package/dist/{dist-UK-lbEBc.js → dist-74n2Mqc6.js} +1 -1
- package/dist/{dist-BzuC8o3y.js → dist-B3CcePtK.js} +3 -3
- package/dist/{dist-D8C6jIXM.js → dist-BejBMbBX.js} +3 -3
- package/dist/{dist-DILjuzSv.js → dist-Bvje_Tqb.js} +1 -1
- package/dist/{dist-BDgf2G-V.js → dist-BxHa6kIT.js} +3 -3
- package/dist/{dist-CUpJmrjt.js → dist-CIK3BYgh.js} +1 -1
- package/dist/{dist-C8wMh_gi.js → dist-CMkZaqX1.js} +1 -1
- package/dist/{dist-BxP6TB0l.js → dist-CoaWXQ7N.js} +1 -1
- package/dist/{dist-D5lmdi1F.js → dist-D1YvgM6p.js} +1 -1
- package/dist/{dist-DYO-w_Jf.js → dist-DJ5YJLXn.js} +1 -1
- package/dist/{dist-DXaxGLsw.js → dist-DwEpKyry.js} +1 -1
- package/dist/{extensions-C87ZSllQ.js → extensions-C810eSzv.js} +107 -104
- package/dist/{image-up-CPBCOMit.js → image-up-kMLE5GsI.js} +1 -1
- package/dist/{info-DIY9mguM.js → info-xqRxLfNz.js} +1 -1
- package/dist/{keys-Vt3XipJl.js → keys-BoYBr3PU.js} +1 -1
- package/dist/{list-checks-CSCyu3fH.js → list-checks-C81htkBJ.js} +1 -1
- package/dist/{loader-circle-Rz_4vJLH.js → loader-circle-C6cZPIum.js} +1 -1
- package/dist/{message-circle-D-umK_MU.js → message-circle-dqOBRe07.js} +1 -1
- package/dist/{refresh-cw-CvWF4jfR.js → refresh-cw-DCjNd6o0.js} +1 -1
- package/dist/{scan-line-wanvAFDr.js → scan-line-DXz0nZVJ.js} +1 -1
- package/dist/{send-BhbhbIFT.js → send-C4uH_WaI.js} +1 -1
- package/dist/{shield-check-CXPPMWth.js → shield-check-B3U68ssA.js} +1 -1
- package/dist/{sparkles-CrUN0KWY.js → sparkles-CsDweGUy.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DOjWbqA9.js → styles-CBlNpqL9.js} +35 -35
- package/dist/templatical-editor.js +5 -5
- package/dist/{text-align-end-Bkq8oBrD.js → text-align-start-BkKQePFp.js} +11 -11
- package/dist/{trash-2-BpY5BCLT.js → trash-2-BIOkaEz1.js} +1 -1
- package/dist/{triangle-alert-MwJBKR2e.js → triangle-alert-Bbgu6uUG.js} +1 -1
- package/dist/{useAliveFlag-BLyG8L4d.js → useAliveFlag-Bc99FWyR.js} +1 -1
- package/dist/{useCloudI18n-sRfoQCZY.js → useCloudI18n-DiwsLi6z.js} +2 -2
- package/dist/{useEditorCore-DxApq2hZ.js → useEditorCore-7c1QpPlw.js} +20 -20
- package/dist/{useI18n-lF6hYgZu.js → useI18n-DskZMfRJ.js} +2 -2
- package/dist/{useMergeTag-CZVI7Xe5.js → useMergeTag-Co4xYwG6.js} +3 -3
- package/dist/usePopoverRoot-DYH_gX8o.js +8 -0
- package/dist/{vue.runtime.esm-bundler-BDSGA5hA.js → vue.runtime.esm-bundler-D0Hg03Ub.js} +1289 -1288
- package/dist/{x-rcnxRG8Y.js → x-DWU6NCuE.js} +1 -1
- package/package.json +9 -9
- 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/media-library-BRpHZOl7.js.map +0 -1
- package/dist/cdn/chunks/renderer-CGVYkdUi.js.map +0 -1
- package/dist/usePopoverRoot-p2BanBI7.js +0 -8
- package/dist/{dist-GAmhYvUK.js → dist-BufRk8ZY.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as e, L as t, X as n, Y as r, d as i, q as a } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { r as o, u as s } from "./dist-
|
|
1
|
+
import { J as e, L as t, X as n, Y as r, d as i, q as a } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { r as o, u as s } from "./dist-BufRk8ZY.js";
|
|
3
3
|
//#region ../core/dist/cloud/index.js
|
|
4
4
|
var c = class e {
|
|
5
5
|
static DEFAULT_BASE_URL = "https://templatical.com";
|
|
@@ -150,10 +150,10 @@ var u = "/api/v1/projects/{project}/tenants/{tenant}", d = `${u}/templates/{temp
|
|
|
150
150
|
"savedModules.update": `${h}/{savedModule}`,
|
|
151
151
|
"savedModules.destroy": `${h}/{savedModule}`
|
|
152
152
|
}, _ = class {
|
|
153
|
+
authManager;
|
|
153
154
|
constructor(e) {
|
|
154
155
|
this.authManager = e;
|
|
155
156
|
}
|
|
156
|
-
authManager;
|
|
157
157
|
get projectId() {
|
|
158
158
|
return this.authManager.projectId;
|
|
159
159
|
}
|
|
@@ -431,7 +431,10 @@ function b(e, t) {
|
|
|
431
431
|
break;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
function x(
|
|
434
|
+
function x(e) {
|
|
435
|
+
return e === "1" ? 1 : e === "3" ? 3 : 2;
|
|
436
|
+
}
|
|
437
|
+
function S(t) {
|
|
435
438
|
let n = new _(t.authManager), a = e({
|
|
436
439
|
template: null,
|
|
437
440
|
content: s(t.defaultFontFamily, t.templateDefaults),
|
|
@@ -500,18 +503,18 @@ function x(t) {
|
|
|
500
503
|
function b(e) {
|
|
501
504
|
a.previewMode = e, e && (a.selectedBlockId = null);
|
|
502
505
|
}
|
|
503
|
-
function
|
|
506
|
+
function S(e, t) {
|
|
504
507
|
if (p(e)) return;
|
|
505
508
|
let n = d(a.content.blocks, e);
|
|
506
509
|
n && (Object.assign(n, t), a.isDirty = !0);
|
|
507
510
|
}
|
|
508
|
-
function
|
|
511
|
+
function C(e) {
|
|
509
512
|
a.content.settings = {
|
|
510
513
|
...a.content.settings,
|
|
511
514
|
...e
|
|
512
515
|
}, a.isDirty = !0;
|
|
513
516
|
}
|
|
514
|
-
function
|
|
517
|
+
function w(e, t, n = 0, r) {
|
|
515
518
|
if (t) {
|
|
516
519
|
let i = d(a.content.blocks, t);
|
|
517
520
|
if (i && i.type === "section") {
|
|
@@ -522,7 +525,7 @@ function x(t) {
|
|
|
522
525
|
} else r !== void 0 && r < a.content.blocks.length ? a.content.blocks.splice(r, 0, e) : a.content.blocks.push(e);
|
|
523
526
|
a.isDirty = !0;
|
|
524
527
|
}
|
|
525
|
-
function
|
|
528
|
+
function T(e) {
|
|
526
529
|
if (p(e)) return;
|
|
527
530
|
let t = f(a.content.blocks, e);
|
|
528
531
|
if (t) {
|
|
@@ -530,19 +533,21 @@ function x(t) {
|
|
|
530
533
|
n !== -1 && (t.blocks.splice(n, 1), a.selectedBlockId === e && (a.selectedBlockId = null), a.isDirty = !0);
|
|
531
534
|
}
|
|
532
535
|
}
|
|
533
|
-
function
|
|
536
|
+
function E(e, t, n, r = 0) {
|
|
534
537
|
let i = f(a.content.blocks, e);
|
|
535
538
|
if (!i) return;
|
|
536
539
|
let o = i.blocks.findIndex((t) => t.id === e);
|
|
537
540
|
if (o === -1) return;
|
|
538
|
-
let
|
|
541
|
+
let s;
|
|
539
542
|
if (n) {
|
|
540
543
|
let e = d(a.content.blocks, n);
|
|
541
|
-
e
|
|
542
|
-
|
|
543
|
-
|
|
544
|
+
if (!e || e.type !== "section" || r < 0 || r >= x(e.columns)) return;
|
|
545
|
+
e.children[r] = e.children[r] || [], s = e.children[r];
|
|
546
|
+
} else s = a.content.blocks;
|
|
547
|
+
let [c] = i.blocks.splice(o, 1);
|
|
548
|
+
s.splice(t, 0, c), a.isDirty = !0;
|
|
544
549
|
}
|
|
545
|
-
async function
|
|
550
|
+
async function D(e) {
|
|
546
551
|
a.isLoading = !0;
|
|
547
552
|
try {
|
|
548
553
|
e && (a.content = e);
|
|
@@ -554,7 +559,7 @@ function x(t) {
|
|
|
554
559
|
a.isLoading = !1;
|
|
555
560
|
}
|
|
556
561
|
}
|
|
557
|
-
async function
|
|
562
|
+
async function O(e) {
|
|
558
563
|
a.isLoading = !0;
|
|
559
564
|
try {
|
|
560
565
|
let t = await n.getTemplate(e);
|
|
@@ -565,7 +570,7 @@ function x(t) {
|
|
|
565
570
|
a.isLoading = !1;
|
|
566
571
|
}
|
|
567
572
|
}
|
|
568
|
-
async function
|
|
573
|
+
async function k() {
|
|
569
574
|
if (!a.template?.id) throw new o("No template loaded. Call create() or load() before saving.");
|
|
570
575
|
a.isSaving = !0;
|
|
571
576
|
try {
|
|
@@ -577,20 +582,20 @@ function x(t) {
|
|
|
577
582
|
a.isSaving = !1;
|
|
578
583
|
}
|
|
579
584
|
}
|
|
580
|
-
async function
|
|
585
|
+
async function A() {
|
|
581
586
|
if (a.template?.id) try {
|
|
582
587
|
await n.createSnapshot(a.template.id, a.content);
|
|
583
588
|
} catch (e) {
|
|
584
589
|
throw t.onError?.(e), e;
|
|
585
590
|
}
|
|
586
591
|
}
|
|
587
|
-
function
|
|
592
|
+
function j() {
|
|
588
593
|
return a.template?.id !== void 0;
|
|
589
594
|
}
|
|
590
|
-
function
|
|
595
|
+
function M() {
|
|
591
596
|
a.isDirty = !0;
|
|
592
597
|
}
|
|
593
|
-
function
|
|
598
|
+
function N(e) {
|
|
594
599
|
let t = f(a.content.blocks, e);
|
|
595
600
|
if (!t) return null;
|
|
596
601
|
let n = t.blocks.findIndex((t) => t.id === e);
|
|
@@ -606,31 +611,31 @@ function x(t) {
|
|
|
606
611
|
selectedBlock: l,
|
|
607
612
|
savedBlockIds: u,
|
|
608
613
|
isBlockLocked: p,
|
|
609
|
-
findBlockLocation:
|
|
614
|
+
findBlockLocation: N,
|
|
610
615
|
setContent: m,
|
|
611
616
|
selectBlock: h,
|
|
612
617
|
setViewport: g,
|
|
613
618
|
setDarkMode: v,
|
|
614
619
|
setUiTheme: y,
|
|
615
620
|
setPreviewMode: b,
|
|
616
|
-
updateBlock:
|
|
617
|
-
updateSettings:
|
|
618
|
-
addBlock:
|
|
619
|
-
removeBlock:
|
|
620
|
-
moveBlock:
|
|
621
|
-
create:
|
|
622
|
-
load:
|
|
623
|
-
save:
|
|
624
|
-
createSnapshot:
|
|
625
|
-
hasTemplate:
|
|
626
|
-
markDirty:
|
|
621
|
+
updateBlock: S,
|
|
622
|
+
updateSettings: C,
|
|
623
|
+
addBlock: w,
|
|
624
|
+
removeBlock: T,
|
|
625
|
+
moveBlock: E,
|
|
626
|
+
create: D,
|
|
627
|
+
load: O,
|
|
628
|
+
save: k,
|
|
629
|
+
createSnapshot: A,
|
|
630
|
+
hasTemplate: j,
|
|
631
|
+
markDirty: M
|
|
627
632
|
};
|
|
628
633
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
631
|
-
return `msg_${Date.now()}_${++
|
|
634
|
+
var C = 0;
|
|
635
|
+
function w() {
|
|
636
|
+
return `msg_${Date.now()}_${++C}`;
|
|
632
637
|
}
|
|
633
|
-
function
|
|
638
|
+
function T(e) {
|
|
634
639
|
let { authManager: t, getTemplateId: r, onApply: i, onError: a } = e, o = n([]), s = n(!1), c = n(!1), u = n(null), d = n(null), f = n(null), p = n(null), m = n(null), h = n(null), _ = n(!1), v = n([]), y = n(!1);
|
|
635
640
|
function b(e, t) {
|
|
636
641
|
let n = o.value.findIndex((t) => t.id === e);
|
|
@@ -720,18 +725,18 @@ function w(e) {
|
|
|
720
725
|
}
|
|
721
726
|
}
|
|
722
727
|
}
|
|
723
|
-
async function
|
|
728
|
+
async function C(e, n, c) {
|
|
724
729
|
let y = r();
|
|
725
730
|
if (!y) throw Error("Template must be saved before using AI generation");
|
|
726
731
|
s.value = !0, u.value = null, d.value = null, v.value = [];
|
|
727
|
-
let x =
|
|
732
|
+
let x = w();
|
|
728
733
|
o.value = [...o.value, {
|
|
729
734
|
id: x,
|
|
730
735
|
role: "user",
|
|
731
736
|
content: e,
|
|
732
737
|
timestamp: Date.now()
|
|
733
738
|
}];
|
|
734
|
-
let S =
|
|
739
|
+
let S = w();
|
|
735
740
|
o.value = [...o.value, {
|
|
736
741
|
id: S,
|
|
737
742
|
role: "assistant",
|
|
@@ -813,14 +818,14 @@ function w(e) {
|
|
|
813
818
|
failedPrompt: d,
|
|
814
819
|
suggestions: v,
|
|
815
820
|
isLoadingSuggestions: y,
|
|
816
|
-
sendPrompt:
|
|
821
|
+
sendPrompt: C,
|
|
817
822
|
toggleLastRevert: T,
|
|
818
823
|
loadConversation: x,
|
|
819
824
|
loadSuggestions: S,
|
|
820
825
|
clearChat: E
|
|
821
826
|
};
|
|
822
827
|
}
|
|
823
|
-
function
|
|
828
|
+
function E(e) {
|
|
824
829
|
function t(t) {
|
|
825
830
|
return e === !1 ? !1 : e?.[t] !== !1;
|
|
826
831
|
}
|
|
@@ -829,7 +834,7 @@ function T(e) {
|
|
|
829
834
|
hasAnyMenuFeature: i(() => t("chat") || t("scoring") || t("designToTemplate"))
|
|
830
835
|
};
|
|
831
836
|
}
|
|
832
|
-
function
|
|
837
|
+
function D(e) {
|
|
833
838
|
let { authManager: t, getTemplateId: r } = e, i = n(!1), a = n(null), o = n(null), s = n(null), c = n(""), u = n(null);
|
|
834
839
|
async function d(e, n) {
|
|
835
840
|
let s = r();
|
|
@@ -972,7 +977,7 @@ function E(e) {
|
|
|
972
977
|
reset: m
|
|
973
978
|
};
|
|
974
979
|
}
|
|
975
|
-
function
|
|
980
|
+
function O(e) {
|
|
976
981
|
let { authManager: t, getTemplateId: r, onApply: i, onError: a } = e, o = n(!1), s = n(null);
|
|
977
982
|
async function c(e) {
|
|
978
983
|
let n = r();
|
|
@@ -1033,7 +1038,7 @@ function D(e) {
|
|
|
1033
1038
|
reset: u
|
|
1034
1039
|
};
|
|
1035
1040
|
}
|
|
1036
|
-
function
|
|
1041
|
+
function k(e) {
|
|
1037
1042
|
let { authManager: t, getTemplateId: r, getSocketId: a, onComment: o, onError: s, hasCommentingFeature: c } = e, l = new _(t), u = n([]), d = n(!1), f = n(!1), p = i(() => (c?.() ?? !1) && t.userConfig !== null), m = i(() => {
|
|
1038
1043
|
let e = 0;
|
|
1039
1044
|
for (let t of u.value) e += 1 + (t.replies?.length ?? 0);
|
|
@@ -1231,17 +1236,17 @@ function O(e) {
|
|
|
1231
1236
|
applyRemoteDelete: k
|
|
1232
1237
|
};
|
|
1233
1238
|
}
|
|
1234
|
-
function
|
|
1239
|
+
function A(e) {
|
|
1235
1240
|
let { comments: n, channel: r } = e;
|
|
1236
1241
|
t(r, (e, t) => {
|
|
1237
1242
|
t && t.unbind("comment-broadcast"), e && e.bind("comment-broadcast", (e) => {
|
|
1238
|
-
|
|
1243
|
+
j(n, e);
|
|
1239
1244
|
});
|
|
1240
1245
|
}), a(() => {
|
|
1241
1246
|
r.value?.unbind("comment-broadcast");
|
|
1242
1247
|
});
|
|
1243
1248
|
}
|
|
1244
|
-
function
|
|
1249
|
+
function j(e, t) {
|
|
1245
1250
|
switch (t.action) {
|
|
1246
1251
|
case "comment_created":
|
|
1247
1252
|
e.applyRemoteCreate(t.comment);
|
|
@@ -1258,7 +1263,7 @@ function A(e, t) {
|
|
|
1258
1263
|
break;
|
|
1259
1264
|
}
|
|
1260
1265
|
}
|
|
1261
|
-
var
|
|
1266
|
+
var M = [
|
|
1262
1267
|
"pusher:member_added",
|
|
1263
1268
|
"pusher:member_removed",
|
|
1264
1269
|
"client-block_locked",
|
|
@@ -1266,10 +1271,10 @@ var j = [
|
|
|
1266
1271
|
"client-operation",
|
|
1267
1272
|
"mcp-operation"
|
|
1268
1273
|
];
|
|
1269
|
-
function
|
|
1270
|
-
for (let t of
|
|
1274
|
+
function N(e) {
|
|
1275
|
+
for (let t of M) e.unbind(t);
|
|
1271
1276
|
}
|
|
1272
|
-
var
|
|
1277
|
+
var P = [
|
|
1273
1278
|
"#3b82f6",
|
|
1274
1279
|
"#ef4444",
|
|
1275
1280
|
"#10b981",
|
|
@@ -1281,10 +1286,10 @@ var N = [
|
|
|
1281
1286
|
"#6366f1",
|
|
1282
1287
|
"#14b8a6"
|
|
1283
1288
|
];
|
|
1284
|
-
function
|
|
1289
|
+
function F(e) {
|
|
1285
1290
|
let { authManager: r, editor: o, channel: s } = e, c = n([]), l = n(/* @__PURE__ */ new Map()), u = 0, d = !1, f = i(() => r.userConfig?.id ?? "");
|
|
1286
1291
|
function p() {
|
|
1287
|
-
let e =
|
|
1292
|
+
let e = P[u % P.length];
|
|
1288
1293
|
return u++, e;
|
|
1289
1294
|
}
|
|
1290
1295
|
function m(e) {
|
|
@@ -1346,7 +1351,7 @@ function P(e) {
|
|
|
1346
1351
|
return t(() => o.state.selectedBlockId, (e, t) => {
|
|
1347
1352
|
d || (t && S(t), e && x(e));
|
|
1348
1353
|
}), t(s, (t, n) => {
|
|
1349
|
-
if (n &&
|
|
1354
|
+
if (n && N(n), !t) {
|
|
1350
1355
|
c.value = [], l.value = /* @__PURE__ */ new Map(), u = 0;
|
|
1351
1356
|
return;
|
|
1352
1357
|
}
|
|
@@ -1378,7 +1383,7 @@ function P(e) {
|
|
|
1378
1383
|
v(e);
|
|
1379
1384
|
});
|
|
1380
1385
|
}), a(() => {
|
|
1381
|
-
s.value &&
|
|
1386
|
+
s.value && N(s.value);
|
|
1382
1387
|
}), {
|
|
1383
1388
|
collaborators: c,
|
|
1384
1389
|
lockedBlocks: l,
|
|
@@ -1386,15 +1391,16 @@ function P(e) {
|
|
|
1386
1391
|
_isProcessingRemoteOperation: () => d
|
|
1387
1392
|
};
|
|
1388
1393
|
}
|
|
1389
|
-
function
|
|
1394
|
+
function I(e, t) {
|
|
1390
1395
|
let n = e.addBlock, r = e.updateBlock, i = e.removeBlock, a = e.moveBlock, o = e.updateSettings, s = e.setContent;
|
|
1391
|
-
e.addBlock = (e, r, i) => {
|
|
1392
|
-
n(e, r, i), t._broadcastOperation({
|
|
1396
|
+
e.addBlock = (e, r, i, a) => {
|
|
1397
|
+
n(e, r, i, a), t._broadcastOperation({
|
|
1393
1398
|
operation: "add_block",
|
|
1394
1399
|
data: {
|
|
1395
1400
|
block: e,
|
|
1396
1401
|
section_id: r,
|
|
1397
|
-
column_index: i
|
|
1402
|
+
column_index: i,
|
|
1403
|
+
index: a
|
|
1398
1404
|
},
|
|
1399
1405
|
timestamp: Date.now()
|
|
1400
1406
|
});
|
|
@@ -1438,7 +1444,7 @@ function F(e, t) {
|
|
|
1438
1444
|
});
|
|
1439
1445
|
};
|
|
1440
1446
|
}
|
|
1441
|
-
function
|
|
1447
|
+
function L(e) {
|
|
1442
1448
|
let { authManager: t, onError: r } = e, i = n(null), a = n(!1), o = null, s = null;
|
|
1443
1449
|
async function c(e, n) {
|
|
1444
1450
|
if (o) return;
|
|
@@ -1468,7 +1474,7 @@ function I(e) {
|
|
|
1468
1474
|
getSocketId: u
|
|
1469
1475
|
};
|
|
1470
1476
|
}
|
|
1471
|
-
function
|
|
1477
|
+
function R(e) {
|
|
1472
1478
|
let t = new _(e.authManager), r = n([]), i = n(!1);
|
|
1473
1479
|
async function a(n) {
|
|
1474
1480
|
i.value = !0;
|
|
@@ -1515,7 +1521,7 @@ function L(e) {
|
|
|
1515
1521
|
deleteModule: c
|
|
1516
1522
|
};
|
|
1517
1523
|
}
|
|
1518
|
-
function
|
|
1524
|
+
function z(e) {
|
|
1519
1525
|
let t = new _(e.authManager), r = n([]), i = n(!1), a = n(!1);
|
|
1520
1526
|
async function o() {
|
|
1521
1527
|
i.value = !0;
|
|
@@ -1546,7 +1552,7 @@ function R(e) {
|
|
|
1546
1552
|
restoreSnapshot: s
|
|
1547
1553
|
};
|
|
1548
1554
|
}
|
|
1549
|
-
function
|
|
1555
|
+
function B(e) {
|
|
1550
1556
|
let { authManager: r, getTemplateId: a, save: o, exportHtml: s, onError: c, isAuthReady: l, onBeforeTestEmail: u } = e, d = new _(r), f = n(!1), p = n(null), m = n(null);
|
|
1551
1557
|
l && t(l, (e) => {
|
|
1552
1558
|
e && (m.value = r.testEmailConfig);
|
|
@@ -1581,7 +1587,7 @@ function z(e) {
|
|
|
1581
1587
|
sendTestEmail: v
|
|
1582
1588
|
};
|
|
1583
1589
|
}
|
|
1584
|
-
function
|
|
1590
|
+
function V(e) {
|
|
1585
1591
|
let { authManager: t, getFontsConfig: n, canUseCustomFonts: r } = e, i = new _(t);
|
|
1586
1592
|
function a() {
|
|
1587
1593
|
let e = n?.();
|
|
@@ -1606,7 +1612,7 @@ function B(e) {
|
|
|
1606
1612
|
getMjmlSource: s
|
|
1607
1613
|
};
|
|
1608
1614
|
}
|
|
1609
|
-
function
|
|
1615
|
+
function H(e) {
|
|
1610
1616
|
let { authManager: t, onError: r } = e, a = n(null), o = n(!1), s = new _(t), c = i(() => a.value?.features ?? null);
|
|
1611
1617
|
function l(e) {
|
|
1612
1618
|
return a.value?.features[e] ?? !1;
|
|
@@ -1631,11 +1637,11 @@ function V(e) {
|
|
|
1631
1637
|
fetchConfig: u
|
|
1632
1638
|
};
|
|
1633
1639
|
}
|
|
1634
|
-
var
|
|
1635
|
-
function
|
|
1640
|
+
var U = 5e3;
|
|
1641
|
+
function W(e) {
|
|
1636
1642
|
return e.authManager ? e.authManager.resolveUrl(g.health) : `${(e.baseUrl ?? "https://templatical.com").replace(/\/$/, "")}${g.health}`;
|
|
1637
1643
|
}
|
|
1638
|
-
async function
|
|
1644
|
+
async function G(e, t) {
|
|
1639
1645
|
let n = performance.now();
|
|
1640
1646
|
try {
|
|
1641
1647
|
let r = t ? await t.authenticatedFetch(g.health, {
|
|
@@ -1687,7 +1693,7 @@ async function W(e, t) {
|
|
|
1687
1693
|
};
|
|
1688
1694
|
}
|
|
1689
1695
|
}
|
|
1690
|
-
async function
|
|
1696
|
+
async function K(e) {
|
|
1691
1697
|
if (!e?.host || !e?.app_key) return {
|
|
1692
1698
|
ok: !1,
|
|
1693
1699
|
error: "WebSocket configuration not available"
|
|
@@ -1703,7 +1709,7 @@ async function G(e) {
|
|
|
1703
1709
|
ok: !1,
|
|
1704
1710
|
error: "WebSocket connection timed out"
|
|
1705
1711
|
});
|
|
1706
|
-
},
|
|
1712
|
+
}, U);
|
|
1707
1713
|
try {
|
|
1708
1714
|
n = new WebSocket(t);
|
|
1709
1715
|
} catch (t) {
|
|
@@ -1723,8 +1729,8 @@ async function G(e) {
|
|
|
1723
1729
|
};
|
|
1724
1730
|
});
|
|
1725
1731
|
}
|
|
1726
|
-
async function
|
|
1727
|
-
let t = await W(
|
|
1732
|
+
async function q(e = {}) {
|
|
1733
|
+
let t = await G(W(e), e.authManager), n = await K(t.wsConfig);
|
|
1728
1734
|
return {
|
|
1729
1735
|
api: t.api,
|
|
1730
1736
|
websocket: n,
|
|
@@ -1732,7 +1738,7 @@ async function K(e = {}) {
|
|
|
1732
1738
|
overall: t.api.ok && t.auth.ok
|
|
1733
1739
|
};
|
|
1734
1740
|
}
|
|
1735
|
-
function
|
|
1741
|
+
function J(e) {
|
|
1736
1742
|
let { editor: n, channel: r, onOperation: i } = e;
|
|
1737
1743
|
t(r, (e, t) => {
|
|
1738
1744
|
t && t.unbind("mcp-operation"), e && e.bind("mcp-operation", (e) => {
|
|
@@ -1741,4 +1747,4 @@ function q(e) {
|
|
|
1741
1747
|
});
|
|
1742
1748
|
}
|
|
1743
1749
|
//#endregion
|
|
1744
|
-
export {
|
|
1750
|
+
export { D as _, E as a, A as c, S as d, V as f, z as g, R as h, T as i, k as l, H as m, q as n, F as o, J as p, v as r, I as s, c as t, O as u, B as v, L as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e, d as t, w as n } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
1
|
+
import { S as e, d as t, w as n } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.17.0_vue@3.5.35_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
|
|
3
3
|
var r = (e) => e === "", i = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), o = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), s = (e) => {
|
|
4
4
|
let t = o(e);
|
|
5
5
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
@@ -18,7 +18,7 @@ function u() {
|
|
|
18
18
|
return n(l, {});
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
21
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.17.0_vue@3.5.35_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
22
22
|
var d = ({ name: n, iconNode: o, absoluteStrokeWidth: l, "absolute-stroke-width": d, strokeWidth: f, "stroke-width": p, size: m, color: h, ...g }, { slots: _ }) => {
|
|
23
23
|
let { size: v, color: y, strokeWidth: b = 2, absoluteStrokeWidth: x = !1, class: S = "" } = u(), C = t(() => {
|
|
24
24
|
let e = r(l) || r(d) || l === !0 || d === !0 || x === !0, t = f || p || b || c["stroke-width"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t, dt as n, i as r } from "./dist-
|
|
1
|
+
import { Gt as e, c as t, dt as n, i as r } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-text-style/dist/index.js
|
|
3
3
|
var i = 20, a = (e, t = 0) => {
|
|
4
4
|
let n = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, X as c, Z as l, d as u, q as d, rt as f, tt as p, w as m, x as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.
|
|
1
|
+
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, X as c, Z as l, d as u, q as d, rt as f, tt as p, w as m, x as h } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.35_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
3
|
function g(e, t) {
|
|
4
4
|
return s() ? (d(e, t), !0) : !1;
|
|
5
5
|
}
|
|
@@ -131,7 +131,7 @@ function B(e, t, n) {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
//#endregion
|
|
134
|
-
//#region ../../node_modules/.pnpm/@vueuse+core@14.3.0_vue@3.5.
|
|
134
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@14.3.0_vue@3.5.35_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
135
135
|
var V = y ? window : void 0;
|
|
136
136
|
y && window.document, y && window.navigator, y && window.location;
|
|
137
137
|
function H(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
1
|
+
import { i as e } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
@@ -64,7 +64,7 @@ e.prototype = {
|
|
|
64
64
|
return new e(n);
|
|
65
65
|
};
|
|
66
66
|
//#endregion
|
|
67
|
-
//#region ../../node_modules/.pnpm/prosemirror-model@1.25.
|
|
67
|
+
//#region ../../node_modules/.pnpm/prosemirror-model@1.25.7/node_modules/prosemirror-model/dist/index.js
|
|
68
68
|
function t(e, n, r) {
|
|
69
69
|
for (let i = 0;; i++) {
|
|
70
70
|
if (i == e.childCount || i == n.childCount) return e.childCount == n.childCount ? null : r;
|
|
@@ -1793,8 +1793,8 @@ function $e(e) {
|
|
|
1793
1793
|
return n(e), t;
|
|
1794
1794
|
}
|
|
1795
1795
|
function et(e, t, n, r) {
|
|
1796
|
-
if (t.nodeType ==
|
|
1797
|
-
if (t.dom && t.dom.nodeType ==
|
|
1796
|
+
if (t.nodeType == 1) return { dom: t };
|
|
1797
|
+
if (t.dom && t.dom.nodeType == 1) return t;
|
|
1798
1798
|
let i = t[0], a;
|
|
1799
1799
|
if (typeof i != "string") throw RangeError("Invalid array passed to renderSpec");
|
|
1800
1800
|
if (r && (a = Qe(r)) && a.indexOf(t) > -1) throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, E as r, H as i, J as a, K as o, O as ee, Q as te, R as s, S as c, X as l, b as u, j as d, r as f, rt as ne, x as re } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as W, a as Oe, an as ke, at as Ae, b as je, bt as Me, c as Ne, cn as Pe, ct as Fe, d as Ie, dn as Le, dt as Re, en as ze, et as Be, f as G, fn as Ve, ft as He, g as Ue, gt as We, h as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kt as $e, l as K, ln as et, lt as tt, m as nt, mn as rt, mt as it, n as at, nn as ot, nt as st, o as ct, on as lt, ot as ut, p as dt, pn as ft, pt, q as mt, qt as ht, r as gt, rn as _t, rt as vt, s as yt, sn as bt, st as xt, t as St, tn as Ct, tt as wt, u as Tt, un as Et, ut as Dt, v as Ot, vt as kt, w as At, wt as jt, x as Mt, xt as Nt, y as Pt, yt as Ft, z as It, zt as Lt } from "./dist-
|
|
4
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.23.6_@floating-ui+dom@1.7.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@
|
|
2
|
+
import { $ as t, D as n, E as r, H as i, J as a, K as o, O as ee, Q as te, R as s, S as c, X as l, b as u, j as d, r as f, rt as ne, x as re } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
3
|
+
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as p, D as m, Dt as h, E as g, Et as _, F as v, Ft as y, G as b, Gt as x, H as S, Ht as C, I as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Lt as j, M, Mt as N, N as P, Nt as F, O as I, Ot as L, P as R, Pt as z, Q as B, Qt as V, R as H, Rt as U, S as de, St as fe, T as pe, Tt as me, U as he, Ut as ge, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as Ee, _ as De, _t as W, a as Oe, an as ke, at as Ae, b as je, bt as Me, c as Ne, cn as Pe, ct as Fe, d as Ie, dn as Le, dt as Re, en as ze, et as Be, f as G, fn as Ve, ft as He, g as Ue, gt as We, h as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kt as $e, l as K, ln as et, lt as tt, m as nt, mn as rt, mt as it, n as at, nn as ot, nt as st, o as ct, on as lt, ot as ut, p as dt, pn as ft, pt, q as mt, qt as ht, r as gt, rn as _t, rt as vt, s as yt, sn as bt, st as xt, t as St, tn as Ct, tt as wt, u as Tt, un as Et, ut as Dt, v as Ot, vt as kt, w as At, wt as jt, x as Mt, xt as Nt, y as Pt, yt as Ft, z as It, zt as Lt } from "./dist-B3CcePtK.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.23.6_@floating-ui+dom@1.7.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tip_fe3bebbdbeb5c59dbf1eecc92b0aac8a/node_modules/@tiptap/vue-3/dist/index.js
|
|
5
5
|
var Rt = /* @__PURE__ */ e({
|
|
6
6
|
CommandManager: () => St,
|
|
7
7
|
Editor: () => J,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color as e } from "./dist-
|
|
1
|
+
import { Color as e } from "./dist-0RguD1vS.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-color@3.23.6_@tiptap+extension-text-style@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__/node_modules/@tiptap/extension-color/dist/index.js
|
|
3
3
|
var t = e;
|
|
4
4
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cn as e, Ct as t, En as n, Gt as r, Ht as i, Jt as a, Mt as o, Nt as s, Qt as c, Sn as l, St as u, Tn as d, Ut as f, X as p, _ as m, _n as h, at as ee, bn as g, c as _, fn as v, gn as y, hn as te, i as b, it as ne, jt as x, mn as S, nn as re, nt as ie, u as C, v as ae, vn as w, wn as oe, xn as T, yn as E } from "./dist-
|
|
2
|
-
import { Link as se } from "./dist-
|
|
3
|
-
import { Underline as ce } from "./dist-
|
|
1
|
+
import { Cn as e, Ct as t, En as n, Gt as r, Ht as i, Jt as a, Mt as o, Nt as s, Qt as c, Sn as l, St as u, Tn as d, Ut as f, X as p, _ as m, _n as h, at as ee, bn as g, c as _, fn as v, gn as y, hn as te, i as b, it as ne, jt as x, mn as S, nn as re, nt as ie, u as C, v as ae, vn as w, wn as oe, xn as T, yn as E } from "./dist-B3CcePtK.js";
|
|
2
|
+
import { Link as se } from "./dist-DwEpKyry.js";
|
|
3
|
+
import { Underline as ce } from "./dist-DJ5YJLXn.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@tiptap+core@3.23.6_@tiptap+pm@3.23.6/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
|
|
5
5
|
var D = (e, t) => {
|
|
6
6
|
if (e === "slot") return 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t } from "./dist-
|
|
1
|
+
import { Gt as e, c as t } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "superscript",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t } from "./dist-
|
|
1
|
+
import { Gt as e, c as t } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-subscript@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/extension-subscript/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "subscript",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, Ht as t, Ut as n, c as r, dt as i } from "./dist-
|
|
1
|
+
import { Gt as e, Ht as t, Ut as n, c as r, dt as i } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-highlight/dist/index.js
|
|
3
3
|
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = r.create({
|
|
4
4
|
name: "highlight",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontFamily as e } from "./dist-
|
|
1
|
+
import { FontFamily as e } from "./dist-0RguD1vS.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.23.6_@tiptap+extension-text-style@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__/node_modules/@tiptap/extension-font-family/dist/index.js
|
|
3
3
|
var t = e;
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t } from "./dist-
|
|
1
|
+
import { Gt as e, c as t } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "underline",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, J as t, K as n, L as r, Ut as i, bn as a, c as o, tt as s, y as c, yn as l } from "./dist-
|
|
1
|
+
import { Gt as e, J as t, K as n, L as r, Ut as i, bn as a, c as o, tt as s, y as c, yn as l } from "./dist-B3CcePtK.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", d = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", f = "numeric", p = "ascii", m = "alpha", h = "asciinumeric", g = "alphanumeric", _ = "domain", ee = "emoji", te = "scheme", v = "slashscheme", y = "whitespace";
|
|
4
4
|
function b(e, t) {
|