@templatical/editor 0.0.4 → 0.0.6

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 (163) hide show
  1. package/dist/AiChatSidebar-CNhSl_ty.js +228 -0
  2. package/dist/{AiFeatureMenu-K44aZa_P.js → AiFeatureMenu-BFVsjUJY.js} +23 -23
  3. package/dist/CloudEditor-Bz5Xkxej.js +1082 -0
  4. package/dist/{CollaboratorBar-BuCEcdbB.js → CollaboratorBar-D2Gu5Xj2.js} +3 -3
  5. package/dist/{CommentsSidebar-2lcqMfIP.js → CommentsSidebar-CTeEAZTj.js} +131 -131
  6. package/dist/{DesignReferenceSidebar-CNMu4Zrx.js → DesignReferenceSidebar-u2tKSQK0.js} +52 -52
  7. package/dist/{LoadingTrack-vK8W2PJf.js → LoadingTrack--aUassFH.js} +1 -1
  8. package/dist/{ModuleBrowserModal-CvQ0xyQf.js → ModuleBrowserModal-DNxODPlX.js} +58 -58
  9. package/dist/{ModulePreviewCanvas-Be2B3Y07.js → ModulePreviewCanvas-DnGe1Y-2.js} +32 -32
  10. package/dist/ParagraphEditor-CYrzYJO5.js +688 -0
  11. package/dist/{RichTextEditorContent-CHJlh7HJ.js → RichTextEditorContent-BeqlWlWB.js} +2 -2
  12. package/dist/{SaveModuleDialog-BaaeH5Xm.js → SaveModuleDialog-Kde6X13X.js} +25 -25
  13. package/dist/{SnapshotHistory-BPfjiuu1.js → SnapshotHistory-B3EfIcLW.js} +7 -7
  14. package/dist/TemplateScoringPanel-D2vCRGgx.js +254 -0
  15. package/dist/{TestEmailModal-DIAlB3e_.js → TestEmailModal-Egk0DFDf.js} +3 -3
  16. package/dist/{TitleEditor-D9DPjQkX.js → TitleEditor-DwUpo4gF.js} +11 -11
  17. package/dist/{TplModal-CmTSvCY-.js → TplModal-BCruYWks.js} +4 -4
  18. package/dist/{_plugin-vue_export-helper-B1-bu7yR.js → _plugin-vue_export-helper-5TQrnOhO.js} +2 -2
  19. package/dist/{blockTypeIcons-D1RTWOkx.js → blockTypeIcons-rW4BUUNC.js} +2 -2
  20. package/dist/cdn/chunks/{AiFeatureMenu-lxVm1RjH.js → AiFeatureMenu-Dcbshcfu.js} +16 -16
  21. package/dist/cdn/chunks/AiFeatureMenu-Dcbshcfu.js.map +1 -0
  22. package/dist/cdn/chunks/CloudEditor-Bca3RyBW.js +1056 -0
  23. package/dist/cdn/chunks/CloudEditor-Bca3RyBW.js.map +1 -0
  24. package/dist/cdn/chunks/{CollaboratorBar-D2PKtlOw.js → CollaboratorBar-sToKJfHi.js} +4 -4
  25. package/dist/cdn/chunks/{CollaboratorBar-D2PKtlOw.js.map → CollaboratorBar-sToKJfHi.js.map} +1 -1
  26. package/dist/cdn/chunks/{ModuleBrowserModal-CxDXzkKS.js → ModuleBrowserModal-BNhwXbWw.js} +52 -52
  27. package/dist/cdn/chunks/ModuleBrowserModal-BNhwXbWw.js.map +1 -0
  28. package/dist/cdn/chunks/{ModulePreviewCanvas-DEfHampA.js → ModulePreviewCanvas-DylUylPU.js} +3 -3
  29. package/dist/cdn/chunks/{ModulePreviewCanvas-DEfHampA.js.map → ModulePreviewCanvas-DylUylPU.js.map} +1 -1
  30. package/dist/cdn/chunks/ParagraphEditor-BBw90y_p.js +539 -0
  31. package/dist/cdn/chunks/ParagraphEditor-BBw90y_p.js.map +1 -0
  32. package/dist/cdn/chunks/{RichTextEditorContent-DWUzizsC.js → RichTextEditorContent-DvyIO3nR.js} +5 -5
  33. package/dist/cdn/chunks/{RichTextEditorContent-DWUzizsC.js.map → RichTextEditorContent-DvyIO3nR.js.map} +1 -1
  34. package/dist/cdn/chunks/{SaveModuleDialog-DVna2xUl.js → SaveModuleDialog-DvbSHvhF.js} +24 -24
  35. package/dist/cdn/chunks/SaveModuleDialog-DvbSHvhF.js.map +1 -0
  36. package/dist/cdn/chunks/{TitleEditor-DDf_OcHS.js → TitleEditor-tS3mgoVr.js} +10 -10
  37. package/dist/cdn/chunks/{TitleEditor-DDf_OcHS.js.map → TitleEditor-tS3mgoVr.js.map} +1 -1
  38. package/dist/cdn/chunks/{blockTypeIcons-BnobReQm.js → blockTypeIcons-DbnbyEQE.js} +3 -3
  39. package/dist/cdn/chunks/{blockTypeIcons-BnobReQm.js.map → blockTypeIcons-DbnbyEQE.js.map} +1 -1
  40. package/dist/cdn/chunks/{de-BvYD17KT.js → de-CgUR_S5I.js} +1 -1
  41. package/dist/cdn/chunks/{de-BvYD17KT.js.map → de-CgUR_S5I.js.map} +1 -1
  42. package/dist/cdn/chunks/{de-BB3dgVOc.js → de-D8oDPhBD.js} +1 -1
  43. package/dist/cdn/chunks/de-D8oDPhBD.js.map +1 -0
  44. package/dist/cdn/chunks/{dist-B878xb_62.js → dist-BUmN5e4r.js} +15 -12
  45. package/dist/cdn/chunks/dist-BUmN5e4r.js.map +1 -0
  46. package/dist/cdn/chunks/{draggable-BQNU47zu.js → draggable-m78lz0gI.js} +1591 -1563
  47. package/dist/cdn/chunks/draggable-m78lz0gI.js.map +1 -0
  48. package/dist/cdn/chunks/{emojiData-BVEJHcNH.js → emojiData-CNNgvDqx.js} +1 -1
  49. package/dist/cdn/chunks/{emojiData-BVEJHcNH.js.map → emojiData-CNNgvDqx.js.map} +1 -1
  50. package/dist/cdn/chunks/{en-CpotcOPr.js → en-BBmfBDqY.js} +1 -1
  51. package/dist/cdn/chunks/{en-CpotcOPr.js.map → en-BBmfBDqY.js.map} +1 -1
  52. package/dist/cdn/chunks/{en-DeDcpnoS.js → en-HseRPPeK.js} +1 -1
  53. package/dist/cdn/chunks/en-HseRPPeK.js.map +1 -0
  54. package/dist/cdn/chunks/{extensions-B_kcV0tK.js → extensions-ClpY3m0W.js} +31 -31
  55. package/dist/cdn/chunks/{extensions-B_kcV0tK.js.map → extensions-ClpY3m0W.js.map} +1 -1
  56. package/dist/cdn/chunks/{features-ofOGnSC0.js → features-B5dGxWLi.js} +1645 -1608
  57. package/dist/cdn/chunks/features-B5dGxWLi.js.map +1 -0
  58. package/dist/cdn/chunks/{icons-bIb7PBOE.js → icons-hflTyPmb.js} +8 -8
  59. package/dist/cdn/chunks/icons-hflTyPmb.js.map +1 -0
  60. package/dist/cdn/chunks/{liquid.browser-C1VIYISn.js → liquid.browser-BxyRVCKv.js} +24 -17
  61. package/dist/cdn/chunks/liquid.browser-BxyRVCKv.js.map +1 -0
  62. package/dist/cdn/chunks/{media-library-BIYzV2Y2.js → media-library-Dgy-V-JA.js} +547 -543
  63. package/dist/cdn/chunks/{media-library-BIYzV2Y2.js.map → media-library-Dgy-V-JA.js.map} +1 -1
  64. package/dist/cdn/chunks/{pusher-DJPhQnE8.js → pusher-D-m2WSdL.js} +10 -7
  65. package/dist/cdn/chunks/pusher-D-m2WSdL.js.map +1 -0
  66. package/dist/cdn/chunks/readableTextColor-Cd_cgWO_.js.map +1 -1
  67. package/dist/cdn/chunks/{rolldown-runtime-DPITmOBR.js → rolldown-runtime-BNuo_Jkg.js} +1 -1
  68. package/dist/cdn/chunks/{src-BuW9oYtm.js → src-TDwMmqm0.js} +7 -7
  69. package/dist/cdn/chunks/{src-BuW9oYtm.js.map → src-TDwMmqm0.js.map} +1 -1
  70. package/dist/cdn/chunks/{styleConstants-1KwsBMxJ.js → styleConstants-DFe3I4Op.js} +6 -6
  71. package/dist/cdn/chunks/{styleConstants-1KwsBMxJ.js.map → styleConstants-DFe3I4Op.js.map} +1 -1
  72. package/dist/cdn/chunks/{styles-DQFExz-T.js → styles-hCOCOR6K.js} +1229 -1101
  73. package/dist/cdn/chunks/styles-hCOCOR6K.js.map +1 -0
  74. package/dist/cdn/chunks/{tiptap-DplY-S-k.js → tiptap-C28NLMX8.js} +1531 -1309
  75. package/dist/cdn/chunks/tiptap-C28NLMX8.js.map +1 -0
  76. package/dist/cdn/editor.css +1 -1
  77. package/dist/cdn/editor.js +112 -141
  78. package/dist/cdn/editor.js.map +1 -1
  79. package/dist/{check-B7kDuZmP.js → check-B5S-C0bz.js} +1 -1
  80. package/dist/{chevron-down-DJLW2Q9Z.js → chevron-down-CjsV1T0W.js} +1 -1
  81. package/dist/{circle-alert-E2vYPs5r.js → circle-alert-CVTmJHKW.js} +1 -1
  82. package/dist/{clock-lWIIQA3C.js → clock-CAjdSHBy.js} +1 -1
  83. package/dist/{dist-CG-vEqSU.js → dist-Ac4o1O4a.js} +2 -2
  84. package/dist/{dist-BkIys9zn.js → dist-B4LTlrAn.js} +6 -6
  85. package/dist/{dist-ChAGLpWo.js → dist-BTtKPcd2.js} +2 -2
  86. package/dist/{dist-C1BIRHCQ.js → dist-CBr-qhie.js} +2 -2
  87. package/dist/{dist-DmOE-Ubp.js → dist-COOFiBFV.js} +2 -2
  88. package/dist/{dist-4LiM9FDd.js → dist-COguaIvm.js} +2 -2
  89. package/dist/{dist-Bu7veieH.js → dist-Crqkuf-w.js} +2 -2
  90. package/dist/{dist-DkypH7qG.js → dist-DEJZ9iAU.js} +2 -2
  91. package/dist/{dist-D_HQYSY-.js → dist-DHYuVJ_7.js} +2 -2
  92. package/dist/{dist-C_ymrGFi.js → dist-DJrDTuRr.js} +973 -958
  93. package/dist/{dist-DysAFIPy.js → dist-DPM-DFvh.js} +142 -114
  94. package/dist/{dist-DrvKRSU6.js → dist-DfqLGwSF.js} +2 -2
  95. package/dist/dist-DmVOCJjI.js +5 -0
  96. package/dist/{extensions-DEjfEFhD.js → extensions-C6xp_B7K.js} +3 -3
  97. package/dist/{image-up-X4xIq4ea.js → image-up-vZa1Txr-.js} +1 -1
  98. package/dist/index.d.ts +223 -0
  99. package/dist/{liquid.browser-BemTg3sZ.js → liquid.browser-C02owkex.js} +20 -15
  100. package/dist/{loader-circle-BTQQxC3l.js → loader-circle-DilFjHSk.js} +1 -1
  101. package/dist/{message-circle-Blgm6V_h.js → message-circle-Dpcnc2oa.js} +1 -1
  102. package/dist/{refresh-cw-Bb4PEeW1.js → refresh-cw-4r7rkHHX.js} +1 -1
  103. package/dist/rolldown-runtime-gEudmnaM.js +23 -0
  104. package/dist/{scan-line-7lZPfOdm.js → scan-line-684IxPQ0.js} +1 -1
  105. package/dist/{send-C0ltAQrv.js → send-ChDw64yL.js} +1 -1
  106. package/dist/{shield-check-f-qv4RKs.js → shield-check-9dhLdyST.js} +1 -1
  107. package/dist/{sparkles-KhBCGlqB.js → sparkles-Co9fkDcv.js} +1 -1
  108. package/dist/{styleConstants-D4SOZGBV.js → styleConstants-RV3eYwkD.js} +6 -6
  109. package/dist/styles-nvxFh6L6.js +3557 -0
  110. package/dist/templatical-editor.css +1 -1
  111. package/dist/templatical-editor.js +111 -141
  112. package/dist/templatical-editor.umd.cjs +63 -73
  113. package/dist/{trash-2-OwjZ-guZ.js → trash-2-CZkMtjeC.js} +1 -1
  114. package/dist/{triangle-alert-DOSRIUYZ.js → triangle-alert-Dvt51agD.js} +1 -1
  115. package/dist/{useEditorCore-CjwRMl7K.js → useEditorCore-ColJh1ST.js} +1183 -1182
  116. package/dist/{x-CGlq2XQe.js → x-CU2XZOkQ.js} +1 -1
  117. package/package.json +52 -49
  118. package/dist/AiChatSidebar-CjfhTZwo.js +0 -214
  119. package/dist/CloudEditor-DFyuRxUV.js +0 -926
  120. package/dist/ParagraphEditor-CcMPnbDr.js +0 -652
  121. package/dist/TemplateScoringPanel-D58A23Vq.js +0 -249
  122. package/dist/cdn/chunks/AiChatSidebar-CmPTbTFG.js +0 -2
  123. package/dist/cdn/chunks/AiFeatureMenu-lxVm1RjH.js.map +0 -1
  124. package/dist/cdn/chunks/CloudEditor-Bmp5IlWi.js +0 -900
  125. package/dist/cdn/chunks/CloudEditor-Bmp5IlWi.js.map +0 -1
  126. package/dist/cdn/chunks/CommentsSidebar-BOelj4Ca.js +0 -2
  127. package/dist/cdn/chunks/DesignReferenceSidebar-Bf6rg0A7.js +0 -2
  128. package/dist/cdn/chunks/ModuleBrowserModal-CxDXzkKS.js.map +0 -1
  129. package/dist/cdn/chunks/ParagraphEditor-DHdu6lb3.js +0 -503
  130. package/dist/cdn/chunks/ParagraphEditor-DHdu6lb3.js.map +0 -1
  131. package/dist/cdn/chunks/SaveModuleDialog-DVna2xUl.js.map +0 -1
  132. package/dist/cdn/chunks/SnapshotHistory-BFF2SsTN.js +0 -2
  133. package/dist/cdn/chunks/TemplateScoringPanel-gi8wc_m7.js +0 -2
  134. package/dist/cdn/chunks/TestEmailModal-Qtd6aC-6.js +0 -2
  135. package/dist/cdn/chunks/de-BB3dgVOc.js.map +0 -1
  136. package/dist/cdn/chunks/dist-B6AUkMyh.js +0 -2
  137. package/dist/cdn/chunks/dist-B878xb_62.js.map +0 -1
  138. package/dist/cdn/chunks/dist-Bf1Op9A1.js +0 -2
  139. package/dist/cdn/chunks/dist-BkETaOfw.js +0 -2
  140. package/dist/cdn/chunks/dist-CJcMnY7o.js +0 -2
  141. package/dist/cdn/chunks/dist-CWsl6S1K.js +0 -2
  142. package/dist/cdn/chunks/dist-CllLxIMQ.js +0 -2
  143. package/dist/cdn/chunks/dist-Cs0wFwdw.js +0 -2
  144. package/dist/cdn/chunks/dist-DLWHlekl.js +0 -2
  145. package/dist/cdn/chunks/dist-DS3_HVpX.js +0 -2
  146. package/dist/cdn/chunks/dist-DTXopj1a.js +0 -2
  147. package/dist/cdn/chunks/dist-DnwLoNLm.js +0 -2
  148. package/dist/cdn/chunks/draggable-BQNU47zu.js.map +0 -1
  149. package/dist/cdn/chunks/en-DeDcpnoS.js.map +0 -1
  150. package/dist/cdn/chunks/features-ofOGnSC0.js.map +0 -1
  151. package/dist/cdn/chunks/icons-bIb7PBOE.js.map +0 -1
  152. package/dist/cdn/chunks/liquid.browser-C1VIYISn.js.map +0 -1
  153. package/dist/cdn/chunks/pusher-DJPhQnE8.js.map +0 -1
  154. package/dist/cdn/chunks/styles-DQFExz-T.js.map +0 -1
  155. package/dist/cdn/chunks/tiptap-DplY-S-k.js.map +0 -1
  156. package/dist/dist-Dxnd0GRf.js +0 -5
  157. package/dist/styles-CgLaxDfu.js +0 -3428
  158. /package/dist/{de-D7TLGIPA.js → de-Dh8ON-dm.js} +0 -0
  159. /package/dist/{emojiData-BfWQS72m.js → emojiData-Qc8mH_zW.js} +0 -0
  160. /package/dist/{en-DvtiEMwP.js → en-C7IShRSD.js} +0 -0
  161. /package/dist/{formatRelativeTime-DX3FgqN9.js → formatRelativeTime-D8f6NR7i.js} +0 -0
  162. /package/dist/{readableTextColor-LDlmVEUv.js → readableTextColor-B809bF5J.js} +0 -0
  163. /package/dist/{useMergeTag-BZ3X0bNr.js → useMergeTag-CSXcnFBc.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { i as e } from "./dist-C_ymrGFi.js";
2
- //#region ../../node_modules/.bun/@tiptap+extension-text-align@3.22.1+ea875cbca4543ce7/node_modules/@tiptap/extension-text-align/dist/index.js
1
+ import { i as e } from "./dist-DJrDTuRr.js";
2
+ //#region ../../node_modules/.bun/@tiptap+extension-text-align@3.22.4+426911c3531ad19c/node_modules/@tiptap/extension-text-align/dist/index.js
3
3
  var t = e.create({
4
4
  name: "textAlign",
5
5
  addOptions() {
@@ -0,0 +1,5 @@
1
+ import { Color as e } from "./dist-DHYuVJ_7.js";
2
+ //#region ../../node_modules/.bun/@tiptap+extension-color@3.22.4+241d540e4b8e753d/node_modules/@tiptap/extension-color/dist/index.js
3
+ var t = e;
4
+ //#endregion
5
+ export { e as Color, t as default };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./useI18n-D6m7ZUgY.js";
2
- import { t } from "./useMergeTag-BZ3X0bNr.js";
3
- import { Wt as n, i as r, o as i, p as a, u as o } from "./dist-C_ymrGFi.js";
4
- import { n as s, t as c } from "./dist-BkIys9zn.js";
2
+ import { t } from "./useMergeTag-CSXcnFBc.js";
3
+ import { Wt as n, i as r, o as i, p as a, u as o } from "./dist-DJrDTuRr.js";
4
+ import { n as s, t as c } from "./dist-B4LTlrAn.js";
5
5
  import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, openBlock as v, ref as y, toDisplayString as b, unref as x, vModelText as S, withCtx as C, withDirectives as w, withKeys as T, withModifiers as E } from "vue";
6
6
  import { SYNTAX_PRESETS as D, getLogicMergeTagKeyword as O, getMergeTagLabel as k, isLogicMergeTagValue as A } from "@templatical/types";
7
7
  //#region src/extensions/FontSize.ts
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.js";
2
2
  var t = e("image-up", [
3
3
  ["path", {
4
4
  d: "M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",
@@ -0,0 +1,223 @@
1
+ import { AiConfig } from '../../../types/src/index.ts';
2
+ import { BlockDefaults } from '../../types/src/index.ts';
3
+ import { BlockDefaults as BlockDefaults_2 } from '../../../types/src/index.ts';
4
+ import { CollaborationConfig } from '../../../types/src/index.ts';
5
+ import { CommentEvent } from '../../../types/src/index.ts';
6
+ import { ComputedRef } from 'vue';
7
+ import { CustomBlockDefinition } from '../../types/src/index.ts';
8
+ import { CustomBlockDefinition as CustomBlockDefinition_2 } from '../../../types/src/index.ts';
9
+ import { CustomFont } from '../../types/src/index.ts';
10
+ import { CustomFont as CustomFont_2 } from '../../../types/src/index.ts';
11
+ import { DisplayConditionsConfig } from '../../types/src/index.ts';
12
+ import { DisplayConditionsConfig as DisplayConditionsConfig_2 } from '../../../types/src/index.ts';
13
+ import { FontsConfig } from '../../types/src/index.ts';
14
+ import { FontsConfig as FontsConfig_2 } from '../../../types/src/index.ts';
15
+ import { McpConfig } from '../../../types/src/index.ts';
16
+ import { MediaItem } from '../../../media-library/src/index.ts';
17
+ import { MediaRequestContext } from '../../media-library/src/index.ts';
18
+ import { MediaRequestContext as MediaRequestContext_2 } from '../../../media-library/src/index.ts';
19
+ import { MediaResult } from '../../types/src/index.ts';
20
+ import { MergeTagsConfig } from '../../types/src/index.ts';
21
+ import { MergeTagsConfig as MergeTagsConfig_2 } from '../../../types/src/index.ts';
22
+ import { Ref } from 'vue';
23
+ import { SaveResult } from '../../types/src/index.ts';
24
+ import { SaveResult as SaveResult_2 } from '../../../types/src/index.ts';
25
+ import { Template } from '../../types/src/index.ts';
26
+ import { Template as Template_2 } from '../../../types/src/index.ts';
27
+ import { TemplateContent } from '../../types/src/index.ts';
28
+ import { TemplateContent as TemplateContent_2 } from '../../../types/src/index.ts';
29
+ import { TemplateDefaults } from '../../types/src/index.ts';
30
+ import { TemplateDefaults as TemplateDefaults_2 } from '../../../types/src/index.ts';
31
+ import { ThemeOverrides } from '../../types/src/index.ts';
32
+ import { ThemeOverrides as ThemeOverrides_2 } from '../../../types/src/index.ts';
33
+ import { UiTheme } from '../../types/src/index.ts';
34
+ import { UiTheme as UiTheme_2 } from '../../../types/src/index.ts';
35
+ import { ViewportSize } from '../../types/src/index.ts';
36
+
37
+ export { BlockDefaults }
38
+
39
+ export { CustomBlockDefinition }
40
+
41
+ export { CustomFont }
42
+
43
+ export { DisplayConditionsConfig }
44
+
45
+ export declare interface EditorCapabilities {
46
+ plan?: {
47
+ hasFeature(feature: string): boolean;
48
+ };
49
+ ai?: {
50
+ isFeatureEnabled(feature: string): boolean;
51
+ };
52
+ comments?: {
53
+ getBlockCount(blockId: string): number;
54
+ openForBlock(blockId: string): void;
55
+ };
56
+ savedModules?: {
57
+ openSaveDialog(blockId: string): void;
58
+ openBrowser(): void;
59
+ moduleCount: ComputedRef<number>;
60
+ };
61
+ }
62
+
63
+ export declare interface FontOption {
64
+ value: string;
65
+ label: string;
66
+ isCustom?: boolean;
67
+ }
68
+
69
+ export { FontsConfig }
70
+
71
+ export declare function init(config: TemplaticalEditorConfig): Promise<TemplaticalEditor>;
72
+
73
+ export declare function initCloud(config: TemplaticalCloudEditorConfig): Promise<TemplaticalCloudEditor>;
74
+
75
+ export { MergeTagsConfig }
76
+
77
+ /** Function type for media browser requests, used by both OSS and Cloud editors. */
78
+ export declare type OnRequestMedia = (context?: MediaRequestContext) => Promise<MediaResult | null>;
79
+
80
+ export { SaveResult }
81
+
82
+ export { Template }
83
+
84
+ export { TemplateContent }
85
+
86
+ export { TemplateDefaults }
87
+
88
+ export declare interface TemplaticalCloudEditor extends TemplaticalEditor {
89
+ create(content?: TemplateContent): Promise<Template>;
90
+ load(templateId: string): Promise<Template>;
91
+ save(): Promise<SaveResult>;
92
+ }
93
+
94
+ export declare interface TemplaticalCloudEditorConfig {
95
+ container: string | HTMLElement;
96
+ content?: TemplateContent_2;
97
+ auth: {
98
+ url: string;
99
+ baseUrl?: string;
100
+ requestOptions?: {
101
+ method?: "GET" | "POST";
102
+ headers?: Record<string, string>;
103
+ body?: Record<string, unknown>;
104
+ credentials?: RequestCredentials;
105
+ };
106
+ };
107
+ theme?: ThemeOverrides_2;
108
+ uiTheme?: UiTheme_2;
109
+ locale?: string;
110
+ ai?: AiConfig | false;
111
+ commenting?: boolean;
112
+ collaboration?: CollaborationConfig;
113
+ mcp?: McpConfig;
114
+ blockDefaults?: BlockDefaults_2;
115
+ templateDefaults?: TemplateDefaults_2;
116
+ modules?: boolean;
117
+ autoSave?: boolean;
118
+ autoSaveDebounce?: number;
119
+ mergeTags?: MergeTagsConfig_2;
120
+ displayConditions?: DisplayConditionsConfig_2;
121
+ customBlocks?: CustomBlockDefinition_2[];
122
+ fonts?: FontsConfig_2;
123
+ onChange?: (content: TemplateContent_2) => void;
124
+ onSave?: (result: SaveResult_2) => void;
125
+ onCreate?: (template: Template_2) => void;
126
+ onLoad?: (template: Template_2) => void;
127
+ onError?: (error: Error) => void;
128
+ onComment?: (event: CommentEvent) => void;
129
+ onUnmount?: () => void;
130
+ onRequestMedia?: (context: MediaRequestContext_2) => Promise<MediaItem | null>;
131
+ onBeforeTestEmail?: (html: string) => string | Promise<string>;
132
+ }
133
+
134
+ export declare interface TemplaticalEditor {
135
+ getContent(): TemplateContent;
136
+ setContent(content: TemplateContent): void;
137
+ setTheme(theme: UiTheme): void;
138
+ unmount(): void;
139
+ toMjml?(): string;
140
+ }
141
+
142
+ export declare interface TemplaticalEditorConfig {
143
+ container: string | HTMLElement;
144
+ content?: TemplateContent;
145
+ onChange?: (content: TemplateContent) => void;
146
+ onSave?: (content: TemplateContent) => void;
147
+ onError?: (error: Error) => void;
148
+ onRequestMedia?: OnRequestMedia;
149
+ mergeTags?: MergeTagsConfig;
150
+ displayConditions?: DisplayConditionsConfig;
151
+ customBlocks?: CustomBlockDefinition[];
152
+ fonts?: FontsConfig;
153
+ blockDefaults?: BlockDefaults;
154
+ templateDefaults?: TemplateDefaults;
155
+ theme?: ThemeOverrides;
156
+ uiTheme?: UiTheme;
157
+ locale?: string;
158
+ }
159
+
160
+ export { ThemeOverrides }
161
+
162
+ export { UiTheme }
163
+
164
+ export declare function unmount(): void;
165
+
166
+ export declare function useFonts(config?: FontsConfig_2): UseFontsReturn;
167
+
168
+ export declare interface UseFontsReturn {
169
+ fonts: ComputedRef<FontOption[]>;
170
+ defaultFont: ComputedRef<string>;
171
+ defaultFallback: ComputedRef<string>;
172
+ customFonts: Ref<CustomFont_2[]>;
173
+ customFontsEnabled: Ref<boolean>;
174
+ isLoaded: Ref<boolean>;
175
+ setCustomFontsEnabled: (enabled: boolean) => void;
176
+ loadCustomFonts: () => Promise<void>;
177
+ cleanupFontLinks: () => void;
178
+ getFontWithFallback: (fontName: string) => string;
179
+ getDefaultFont: () => string;
180
+ }
181
+
182
+ export { ViewportSize }
183
+
184
+ export { }
185
+
186
+
187
+ declare module "@tiptap/core" {
188
+ interface Commands<ReturnType> {
189
+ mergeTagNode: {
190
+ insertMergeTag: (attrs: MergeTag) => ReturnType;
191
+ };
192
+ }
193
+ }
194
+
195
+
196
+ declare module "@tiptap/core" {
197
+ interface Commands<ReturnType> {
198
+ fontSize: {
199
+ setFontSize: (size: string) => ReturnType;
200
+ unsetFontSize: () => ReturnType;
201
+ };
202
+ }
203
+ }
204
+
205
+
206
+ declare module "@tiptap/core" {
207
+ interface Commands<ReturnType> {
208
+ letterSpacing: {
209
+ setLetterSpacing: (spacing: string) => ReturnType;
210
+ unsetLetterSpacing: () => ReturnType;
211
+ };
212
+ }
213
+ }
214
+
215
+
216
+ declare module "@tiptap/core" {
217
+ interface Commands<ReturnType> {
218
+ lineHeight: {
219
+ setLineHeight: (lineHeight: string) => ReturnType;
220
+ unsetLineHeight: () => ReturnType;
221
+ };
222
+ }
223
+ }
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/liquidjs@10.25.5/node_modules/liquidjs/dist/liquid.browser.mjs
1
+ //#region ../../node_modules/.bun/liquidjs@10.25.7/node_modules/liquidjs/dist/liquid.browser.mjs
2
2
  var e = class {
3
3
  constructor(e, t, n, r, i) {
4
4
  this.kind = e, this.input = t, this.begin = n, this.end = r, this.file = i;
@@ -1656,11 +1656,13 @@ var En = class {
1656
1656
  }
1657
1657
  }, Dn = class extends Cn {
1658
1658
  constructor(e, t) {
1659
- super(e), this.value = new B(new L(e.input, t.options.operators, e.file, e.contentRange).readFilteredValue(), t);
1660
- let n = this.value.filters, r = t.options.outputEscape;
1661
- if (!n[n.length - 1]?.raw && r) {
1662
- let e = new Ct(toString.call(r), [], "", 0, 0);
1663
- n.push(new En(e, r, t));
1659
+ super(e);
1660
+ let n = new L(e.input, t.options.operators, e.file, e.contentRange);
1661
+ this.value = new B(n.readFilteredValue(), t);
1662
+ let r = this.value.filters, i = t.options.outputEscape;
1663
+ if (!r[r.length - 1]?.raw && i) {
1664
+ let e = new Ct(toString.call(i), [], "", 0, 0);
1665
+ r.push(new En(e, i, t));
1664
1666
  }
1665
1667
  }
1666
1668
  *render(e, t) {
@@ -1987,8 +1989,8 @@ var Q = class e {
1987
1989
  constructor(e = {}, t = F, n = {}, { memoryLimit: r, renderLimit: i } = {}) {
1988
1990
  this.scopes = [{}], this.registers = {}, this.breakCalled = !1, this.continueCalled = !1, this.sync = !!n.sync, this.opts = t, this.globals = n.globals ?? t.globals, this.environments = h(e) ? e : Object(e), this.strictVariables = n.strictVariables ?? this.opts.strictVariables, this.ownPropertyOnly = n.ownPropertyOnly ?? t.ownPropertyOnly, this.memoryLimit = r ?? new dt("memory alloc", n.memoryLimit ?? t.memoryLimit), this.renderLimit = i ?? new dt("template render", Ft().now() + (n.renderLimit ?? t.renderLimit));
1989
1991
  }
1990
- getRegister(e) {
1991
- return this.registers[e] = this.registers[e] || {};
1992
+ getRegister(e, t = void 0) {
1993
+ return this.registers[e] = this.registers[e] || t;
1992
1994
  }
1993
1995
  setRegister(e, t) {
1994
1996
  return this.registers[e] = t;
@@ -2511,6 +2513,7 @@ function Pi(e) {
2511
2513
  return new TextDecoder().decode(Uint8Array.from(atob(e), (e) => e.charCodeAt(0)));
2512
2514
  }
2513
2515
  function Fi(e) {
2516
+ if (typeof Buffer < "u" && Buffer.isBuffer(e)) return this.context.memoryLimit.use(e.byteLength), e.toString("base64");
2514
2517
  let t = l(e);
2515
2518
  return this.context.memoryLimit.use(t.length), Ni(t);
2516
2519
  }
@@ -2561,7 +2564,7 @@ var Li = /* @__PURE__ */ Object.freeze({
2561
2564
  return;
2562
2565
  }
2563
2566
  let i = "continue-" + this.variable + "-" + this.collection.getText();
2564
- e.push({ continue: e.getRegister(i) });
2567
+ e.push({ continue: e.getRegister(i, {}) });
2565
2568
  let a = yield this.hash.render(e);
2566
2569
  e.pop(), r = (this.liquid.options.orderedFilterParameters ? Object.keys(a).filter((e) => Bi.includes(e)) : Bi.filter((e) => a[e] !== void 0)).reduce((e, t) => t === "offset" ? Ui(e, a.offset) : t === "limit" ? Wi(e, a.limit) : Hi(e), r), e.setRegister(i, (a.offset || 0) + r.length);
2567
2570
  let o = { forloop: new Ie(r.length, this.collection.getText(), this.variable) };
@@ -2809,7 +2812,7 @@ var Qi = class extends R {
2809
2812
  this.tokenizer.assert(this.candidates.length, () => `empty candidates: "${e.getText()}"`);
2810
2813
  }
2811
2814
  *render(e, t) {
2812
- let n = `cycle:${yield j(this.group, e)}:` + this.candidates.join(","), r = e.getRegister("cycle"), i = r[n];
2815
+ let n = `cycle:${yield j(this.group, e)}:` + this.candidates.join(","), r = e.getRegister("cycle", {}), i = r[n];
2813
2816
  i === void 0 && (i = r[n] = 0);
2814
2817
  let a = this.candidates[i];
2815
2818
  return i = (i + 1) % this.candidates.length, r[n] = i, yield j(a, e);
@@ -2879,7 +2882,7 @@ var Qi = class extends R {
2879
2882
  C(o, () => `illegal file path "${o}"`);
2880
2883
  let s = yield n._parseLayoutFile(o, e.sync, this.currentFile);
2881
2884
  e.setRegister("blockMode", $.STORE);
2882
- let c = yield a.renderTemplates(this.templates, e), l = e.getRegister("blocks");
2885
+ let c = yield a.renderTemplates(this.templates, e), l = e.getRegister("blocks", {});
2883
2886
  l[""] === void 0 && (l[""] = (e, t) => t.write(c)), e.setRegister("blockMode", $.OUTPUT), e.push(yield r.render(e)), yield a.renderTemplates(s, e, t), e.pop();
2884
2887
  }
2885
2888
  *children(e) {
@@ -2911,13 +2914,15 @@ var Qi = class extends R {
2911
2914
  }
2912
2915
  *render(e, t) {
2913
2916
  let n = this.getBlockRender(e);
2914
- e.getRegister("blockMode") === $.STORE ? e.getRegister("blocks")[this.block] = n : yield n(new Be(), t);
2917
+ e.getRegister("blockMode") === $.STORE ? e.getRegister("blocks", {})[this.block] = n : yield n(new Be(), t);
2915
2918
  }
2916
2919
  getBlockRender(e) {
2917
- let { liquid: t, templates: n } = this, r = e.getRegister("blocks")[this.block], i = function* (r, i) {
2918
- e.push({ block: r }), yield t.renderer.renderTemplates(n, e, i), e.pop();
2920
+ let t = this, { liquid: n, templates: r } = this, i = e.getRegister("blocks", {})[this.block], a = function* (i, a) {
2921
+ let o = e.getRegister("blockStack", []);
2922
+ if (o.includes(t)) throw Error("block tag cannot be nested");
2923
+ o.push(t), e.push({ block: i }), yield n.renderer.renderTemplates(r, e, a), e.pop(), o.pop();
2919
2924
  };
2920
- return r ? (e, t) => r(new Be((t) => i(e, t)), t) : i;
2925
+ return i ? (e, t) => i(new Be((t) => a(e, t)), t) : a;
2921
2926
  }
2922
2927
  *children() {
2923
2928
  return this.templates;
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.js";
2
2
  var t = e("loader-circle", [["path", {
3
3
  d: "M21 12a9 9 0 1 1-6.219-8.56",
4
4
  key: "13zald"
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.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 { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.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"
@@ -0,0 +1,23 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, l = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, u = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e), f = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
19
+ if (typeof require < "u") return require.apply(this, arguments);
20
+ throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
21
+ });
22
+ //#endregion
23
+ export { d as a, f as i, o as n, u as o, c as r, s as t };
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.js";
2
2
  var t = e("scan-line", [
3
3
  ["path", {
4
4
  d: "M3 7V5a2 2 0 0 1 2-2h2",
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.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 { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.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 { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.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",
@@ -1,4 +1,4 @@
1
- import { n as e } from "./_plugin-vue_export-helper-B1-bu7yR.js";
1
+ import { n as e } from "./_plugin-vue_export-helper-5TQrnOhO.js";
2
2
  var t = e("text-align-center", [
3
3
  ["path", {
4
4
  d: "M21 5H3",
@@ -38,7 +38,7 @@ var t = e("text-align-center", [
38
38
  d: "M17 19H3",
39
39
  key: "z6ezky"
40
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 = [
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:flex tpl:size-8 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]", d = "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]", f = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2.5 tpl:py-2 tpl:font-mono tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-150 tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", p = "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", m = [
42
42
  "10px",
43
43
  "12px",
44
44
  "14px",
@@ -51,7 +51,7 @@ var t = e("text-align-center", [
51
51
  "36px",
52
52
  "48px",
53
53
  "64px"
54
- ], f = [
54
+ ], h = [
55
55
  "1",
56
56
  "1.2",
57
57
  "1.4",
@@ -60,7 +60,7 @@ var t = e("text-align-center", [
60
60
  "1.8",
61
61
  "2",
62
62
  "2.5"
63
- ], p = [
63
+ ], g = [
64
64
  {
65
65
  label: "Normal",
66
66
  value: "normal"
@@ -89,6 +89,6 @@ var t = e("text-align-center", [
89
89
  label: "3px",
90
90
  value: "3px"
91
91
  }
92
- ], m = "#000000", h = "#ffffff", g = "#ffff00", _ = "#f2f2f2";
92
+ ], _ = "#000000", v = "#ffffff", y = "#ffff00", b = "#f2f2f2";
93
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 };
94
+ export { u as _, m as a, t as b, d as c, p as d, a as f, f as g, i as h, _ as i, l, s as m, y as n, g as o, o as p, b as r, h as s, v as t, c as u, r as v, n as y };