@templatical/editor 0.0.1 → 0.0.3

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.
Files changed (130) hide show
  1. package/dist/AiChatSidebar-busJk9hm.js +214 -0
  2. package/dist/AiFeatureMenu-DLGv_-pj.js +63 -0
  3. package/dist/CloudEditor-BDnHd6Um.js +919 -0
  4. package/dist/CollaboratorBar-Dv3l52vC.js +91 -0
  5. package/dist/CommentsSidebar-4tjp0VU5.js +439 -0
  6. package/dist/DesignReferenceSidebar-CmwXvltV.js +273 -0
  7. package/dist/LoadingTrack-vK8W2PJf.js +10 -0
  8. package/dist/ModuleBrowserModal-lrk3Fr0H.js +205 -0
  9. package/dist/ModulePreviewCanvas-BcBJLnwL.js +106 -0
  10. package/dist/ParagraphEditor-DH8cSC6m.js +625 -0
  11. package/dist/RichTextEditorContent-CQqodi7p.js +133 -0
  12. package/dist/SaveModuleDialog-Bmzi72td.js +122 -0
  13. package/dist/SnapshotHistory-AEgi9Xsn.js +126 -0
  14. package/dist/TemplateScoringPanel-CTgMtc0-.js +249 -0
  15. package/dist/TestEmailModal-Dpq1is9S.js +94 -0
  16. package/dist/TitleEditor-CLcDdcWI.js +167 -0
  17. package/dist/TplModal-CGzRjR96.js +44 -0
  18. package/dist/_plugin-vue_export-helper-B1-bu7yR.js +47 -0
  19. package/dist/blockTypeIcons-BpPTqcok.js +126 -0
  20. package/dist/cdn/chunks/ParagraphEditor-CCtWbGDv.js +3 -0
  21. package/dist/cdn/chunks/ParagraphEditor-CCtWbGDv.js.map +1 -0
  22. package/dist/cdn/chunks/RichTextEditorContent-BUD9veXd.js +2 -0
  23. package/dist/cdn/chunks/RichTextEditorContent-BUD9veXd.js.map +1 -0
  24. package/dist/cdn/chunks/TitleEditor-e_UTyxjd.js +3 -0
  25. package/dist/cdn/chunks/TitleEditor-e_UTyxjd.js.map +1 -0
  26. package/dist/cdn/chunks/dist-0UheN8rK.js +1 -0
  27. package/dist/cdn/chunks/dist-55mmbGQ9.js +1 -0
  28. package/dist/cdn/chunks/dist-B31mxKyP.js +1 -0
  29. package/dist/cdn/chunks/dist-B5JI9nIg.js +1 -0
  30. package/dist/cdn/chunks/dist-B93vLKhU.js +1 -0
  31. package/dist/cdn/chunks/dist-BDt3FJvj.js +1 -0
  32. package/dist/cdn/chunks/dist-BJRuFHmi.js +1 -0
  33. package/dist/cdn/chunks/dist-BKSzrf0L.js +1 -0
  34. package/dist/cdn/chunks/dist-BL8c5gYQ.js +1 -0
  35. package/dist/cdn/chunks/dist-CYThWMP5.js +1 -0
  36. package/dist/cdn/chunks/dist-DxZbPJYt.js +1 -0
  37. package/dist/cdn/chunks/draggable-ClUwYCFL.js +17 -0
  38. package/dist/cdn/chunks/draggable-ClUwYCFL.js.map +1 -0
  39. package/dist/cdn/chunks/emojiData-6fVLNqeH.js +2 -0
  40. package/dist/cdn/chunks/emojiData-6fVLNqeH.js.map +1 -0
  41. package/dist/cdn/chunks/extensions-ea_ewKUl.js +2 -0
  42. package/dist/cdn/chunks/extensions-ea_ewKUl.js.map +1 -0
  43. package/dist/cdn/chunks/icons-vmLJTaJk.js +2 -0
  44. package/dist/cdn/chunks/icons-vmLJTaJk.js.map +1 -0
  45. package/dist/cdn/chunks/rolldown-runtime-BakkzWXw.js +1 -0
  46. package/dist/cdn/chunks/styleConstants-CNejCb-L.js +2 -0
  47. package/dist/cdn/chunks/styleConstants-CNejCb-L.js.map +1 -0
  48. package/dist/cdn/chunks/tiptap-Cya4P9CN.js +145 -0
  49. package/dist/cdn/chunks/tiptap-Cya4P9CN.js.map +1 -0
  50. package/dist/cdn/chunks/useEditorCore-CwuxQuvh.js +2 -0
  51. package/dist/cdn/chunks/useEditorCore-CwuxQuvh.js.map +1 -0
  52. package/dist/cdn/chunks/useMergeTag-DVOz1v9p.js +2 -0
  53. package/dist/cdn/chunks/useMergeTag-DVOz1v9p.js.map +1 -0
  54. package/dist/cdn/editor.css +1 -0
  55. package/dist/cdn/editor.js +2 -0
  56. package/dist/cdn/editor.js.map +1 -0
  57. package/dist/check-B7kDuZmP.js +7 -0
  58. package/dist/chevron-down-DJLW2Q9Z.js +7 -0
  59. package/dist/circle-alert-E2vYPs5r.js +25 -0
  60. package/dist/clock-lWIIQA3C.js +12 -0
  61. package/dist/de-B4Ob4vCo.js +682 -0
  62. package/dist/dist-4LiM9FDd.js +35 -0
  63. package/dist/dist-Bu7veieH.js +776 -0
  64. package/dist/dist-C1BIRHCQ.js +61 -0
  65. package/dist/dist-CG-vEqSU.js +314 -0
  66. package/dist/dist-C_ymrGFi.js +10625 -0
  67. package/dist/dist-ChAGLpWo.js +35 -0
  68. package/dist/dist-D_HQYSY-.js +189 -0
  69. package/dist/dist-DkypH7qG.js +5 -0
  70. package/dist/dist-DmOE-Ubp.js +74 -0
  71. package/dist/dist-DmpMJbmZ.js +513 -0
  72. package/dist/dist-DrvKRSU6.js +47 -0
  73. package/dist/dist-Dxnd0GRf.js +5 -0
  74. package/dist/dist-DysAFIPy.js +2054 -0
  75. package/dist/emojiData-BfWQS72m.js +17 -0
  76. package/dist/en-YXsspZJG.js +682 -0
  77. package/dist/extensions-CKM99njP.js +420 -0
  78. package/dist/formatRelativeTime-DX3FgqN9.js +8 -0
  79. package/dist/i18n-CJsFtdbZ.js +23 -0
  80. package/dist/image-up-X4xIq4ea.js +23 -0
  81. package/dist/keys-Dwa2PmdD.js +10 -0
  82. package/dist/liquid.browser-BemTg3sZ.js +3272 -0
  83. package/dist/loader-circle-BTQQxC3l.js +7 -0
  84. package/dist/message-circle-Blgm6V_h.js +7 -0
  85. package/dist/refresh-cw-Bb4PEeW1.js +44 -0
  86. package/dist/scan-line-7lZPfOdm.js +25 -0
  87. package/dist/send-C0ltAQrv.js +10 -0
  88. package/dist/shield-check-f-qv4RKs.js +10 -0
  89. package/dist/sparkles-KhBCGlqB.js +23 -0
  90. package/dist/styleConstants-D4SOZGBV.js +94 -0
  91. package/dist/styles-DSw1VNU3.js +3406 -0
  92. package/dist/templatical-editor.css +2 -1
  93. package/dist/templatical-editor.js +242 -9
  94. package/dist/templatical-editor.umd.cjs +112 -524
  95. package/dist/timeouts-CmBrLeZA.js +4 -0
  96. package/dist/trash-2-OwjZ-guZ.js +25 -0
  97. package/dist/triangle-alert-DOSRIUYZ.js +17 -0
  98. package/dist/useEditorCore-Cc4RCwWq.js +5556 -0
  99. package/dist/useI18n-DUirdXEX.js +17 -0
  100. package/dist/useMergeTag-DVnlvPYJ.js +33 -0
  101. package/dist/x-CGlq2XQe.js +10 -0
  102. package/package.json +30 -20
  103. package/dist/AiChatSidebar-0vx9TP5B.js +0 -305
  104. package/dist/AiFeatureMenu-CI-v74ND.js +0 -69
  105. package/dist/CloudEditor-Wdfv_9xn.js +0 -1132
  106. package/dist/CollaboratorBar-B3uV4Wtw.js +0 -89
  107. package/dist/CommentsSidebar-PVUlloyB.js +0 -655
  108. package/dist/DesignReferenceSidebar-DAlAWrxU.js +0 -351
  109. package/dist/ModuleBrowserModal-1JEcChd8.js +0 -323
  110. package/dist/ModulePreviewCanvas-Cdp484Ae.js +0 -169
  111. package/dist/SaveModuleDialog-eNyr3XKn.js +0 -168
  112. package/dist/SnapshotHistory-D-ZiIj1v.js +0 -169
  113. package/dist/TemplateScoringPanel-DSZPo15C.js +0 -385
  114. package/dist/TestEmailModal-Cwre5elw.js +0 -128
  115. package/dist/TextEditor-BuUOIByX.js +0 -780
  116. package/dist/de-BWIAblxs.js +0 -685
  117. package/dist/en-cYyUzNV1.js +0 -685
  118. package/dist/index-0tWUczNu.js +0 -47
  119. package/dist/index-4okvXjqk.js +0 -41
  120. package/dist/index-BSc6h5zo.js +0 -967
  121. package/dist/index-CrvwWlhN.js +0 -41
  122. package/dist/index-D-iD-7lO.js +0 -10961
  123. package/dist/index-D-ygXbc8.js +0 -2452
  124. package/dist/index-DbrWKz-e.js +0 -1415
  125. package/dist/index-DeUeHy6g.js +0 -422
  126. package/dist/index-Ude6e9RU.js +0 -41
  127. package/dist/index-ZQzHBwkr.js +0 -12767
  128. package/dist/liquid.browser-CeNxS2GL.js +0 -3493
  129. package/dist/loader-circle-tM9j2mRh.js +0 -13
  130. package/dist/shield-check-Ngi9jAQc.js +0 -20
@@ -0,0 +1,7 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("loader-circle", [["path", {
3
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
4
+ key: "13zald"
5
+ }]]);
6
+ //#endregion
7
+ export { t };
@@ -0,0 +1,7 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("message-circle", [["path", {
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
+ key: "1sd12s"
5
+ }]]);
6
+ //#endregion
7
+ export { t };
@@ -0,0 +1,44 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("eye", [["path", {
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
+ key: "1nclc0"
5
+ }], ["circle", {
6
+ cx: "12",
7
+ cy: "12",
8
+ r: "3",
9
+ key: "1v7zrd"
10
+ }]]), n = e("info", [
11
+ ["circle", {
12
+ cx: "12",
13
+ cy: "12",
14
+ r: "10",
15
+ key: "1mglay"
16
+ }],
17
+ ["path", {
18
+ d: "M12 16v-4",
19
+ key: "1dtifu"
20
+ }],
21
+ ["path", {
22
+ d: "M12 8h.01",
23
+ key: "e9boi3"
24
+ }]
25
+ ]), r = e("refresh-cw", [
26
+ ["path", {
27
+ d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
28
+ key: "v9h5vc"
29
+ }],
30
+ ["path", {
31
+ d: "M21 3v5h-5",
32
+ key: "1q7to0"
33
+ }],
34
+ ["path", {
35
+ d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
36
+ key: "3uifl3"
37
+ }],
38
+ ["path", {
39
+ d: "M8 16H3v5",
40
+ key: "1cv678"
41
+ }]
42
+ ]);
43
+ //#endregion
44
+ export { n, t as r, r as t };
@@ -0,0 +1,25 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("scan-line", [
3
+ ["path", {
4
+ d: "M3 7V5a2 2 0 0 1 2-2h2",
5
+ key: "aa7l1z"
6
+ }],
7
+ ["path", {
8
+ d: "M17 3h2a2 2 0 0 1 2 2v2",
9
+ key: "4qcy5o"
10
+ }],
11
+ ["path", {
12
+ d: "M21 17v2a2 2 0 0 1-2 2h-2",
13
+ key: "6vwrx8"
14
+ }],
15
+ ["path", {
16
+ d: "M7 21H5a2 2 0 0 1-2-2v-2",
17
+ key: "ioqczr"
18
+ }],
19
+ ["path", {
20
+ d: "M7 12h10",
21
+ key: "b7w52i"
22
+ }]
23
+ ]);
24
+ //#endregion
25
+ export { t };
@@ -0,0 +1,10 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("send", [["path", {
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
+ key: "1ffxy3"
5
+ }], ["path", {
6
+ d: "m21.854 2.147-10.94 10.939",
7
+ key: "12cjpa"
8
+ }]]);
9
+ //#endregion
10
+ export { t };
@@ -0,0 +1,10 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("shield-check", [["path", {
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
+ key: "oel41y"
5
+ }], ["path", {
6
+ d: "m9 12 2 2 4-4",
7
+ key: "dzmm74"
8
+ }]]);
9
+ //#endregion
10
+ export { t };
@@ -0,0 +1,23 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("sparkles", [
3
+ ["path", {
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",
5
+ key: "1s2grr"
6
+ }],
7
+ ["path", {
8
+ d: "M20 2v4",
9
+ key: "1rf3ol"
10
+ }],
11
+ ["path", {
12
+ d: "M22 4h-4",
13
+ key: "gwowj6"
14
+ }],
15
+ ["circle", {
16
+ cx: "4",
17
+ cy: "20",
18
+ r: "2",
19
+ key: "6kqj1y"
20
+ }]
21
+ ]);
22
+ //#endregion
23
+ export { t };
@@ -0,0 +1,94 @@
1
+ import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
2
+ var t = e("text-align-center", [
3
+ ["path", {
4
+ d: "M21 5H3",
5
+ key: "1fi0y6"
6
+ }],
7
+ ["path", {
8
+ d: "M17 12H7",
9
+ key: "16if0g"
10
+ }],
11
+ ["path", {
12
+ d: "M19 19H5",
13
+ key: "vjpgq2"
14
+ }]
15
+ ]), n = e("text-align-end", [
16
+ ["path", {
17
+ d: "M21 5H3",
18
+ key: "1fi0y6"
19
+ }],
20
+ ["path", {
21
+ d: "M21 12H9",
22
+ key: "dn1m92"
23
+ }],
24
+ ["path", {
25
+ d: "M21 19H7",
26
+ key: "4cu937"
27
+ }]
28
+ ]), r = e("text-align-start", [
29
+ ["path", {
30
+ d: "M21 5H3",
31
+ key: "1fi0y6"
32
+ }],
33
+ ["path", {
34
+ d: "M15 12H3",
35
+ key: "6jk70r"
36
+ }],
37
+ ["path", {
38
+ d: "M17 19H3",
39
+ key: "z6ezky"
40
+ }]
41
+ ]), i = "tpl:block tpl:mb-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]", a = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", o = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-l-[var(--tpl-radius-sm)] tpl:rounded-r-none tpl:border-r-0 tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", s = "tpl:flex tpl:items-center tpl:px-2.5 tpl:text-xs tpl:border tpl:border-l-0 tpl:text-[var(--tpl-text-dim)] tpl:bg-[var(--tpl-bg-hover)] tpl:border-[var(--tpl-border)] tpl:rounded-r-[var(--tpl-radius-sm)]", c = "tpl:flex-1 tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-mono tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", l = "tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-4 tpl:border tpl:border-[var(--tpl-border)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)]", u = "tpl-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3.5 tpl:py-2 tpl:text-sm tpl:font-medium tpl:whitespace-nowrap tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-primary)] hover:tpl:text-[var(--tpl-bg)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", d = [
42
+ "10px",
43
+ "12px",
44
+ "14px",
45
+ "16px",
46
+ "18px",
47
+ "20px",
48
+ "24px",
49
+ "28px",
50
+ "32px",
51
+ "36px",
52
+ "48px",
53
+ "64px"
54
+ ], f = [
55
+ "1",
56
+ "1.2",
57
+ "1.4",
58
+ "1.5",
59
+ "1.6",
60
+ "1.8",
61
+ "2",
62
+ "2.5"
63
+ ], p = [
64
+ {
65
+ label: "Normal",
66
+ value: "normal"
67
+ },
68
+ {
69
+ label: "-0.5px",
70
+ value: "-0.5px"
71
+ },
72
+ {
73
+ label: "0.5px",
74
+ value: "0.5px"
75
+ },
76
+ {
77
+ label: "1px",
78
+ value: "1px"
79
+ },
80
+ {
81
+ label: "1.5px",
82
+ value: "1.5px"
83
+ },
84
+ {
85
+ label: "2px",
86
+ value: "2px"
87
+ },
88
+ {
89
+ label: "3px",
90
+ value: "3px"
91
+ }
92
+ ], m = "#000000", h = "#ffffff", g = "#ffff00", _ = "#f2f2f2";
93
+ //#endregion
94
+ export { t as _, d as a, l as c, a as d, o as f, n as g, r as h, m as i, c as l, i as m, g as n, p as o, s as p, _ as r, f as s, h as t, u };