@templatical/editor 0.0.5 → 0.1.0

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 (169) hide show
  1. package/LICENSE +56 -0
  2. package/README.md +69 -0
  3. package/dist/{AiChatSidebar-DwME3f-a.js → AiChatSidebar-DSbBLDkW.js} +9 -9
  4. package/dist/{AiFeatureMenu-DJvWL1GZ.js → AiFeatureMenu-d04gmgud.js} +5 -5
  5. package/dist/{CloudEditor-Fe0ssRgi.js → CloudEditor-CjO4tzbV.js} +218 -227
  6. package/dist/{CollaboratorBar-DTT0EkZn.js → CollaboratorBar-DYBSTuMW.js} +3 -3
  7. package/dist/{CommentsSidebar-DrJhQRXK.js → CommentsSidebar-CQvUh5xt.js} +9 -9
  8. package/dist/CountdownBlock-D3olfssJ.js +92 -0
  9. package/dist/CountdownToolbar-ClpBwFoX.js +210 -0
  10. package/dist/{DesignReferenceSidebar-DdOht5zn.js → DesignReferenceSidebar-BOfeETis.js} +5 -5
  11. package/dist/{LoadingTrack-vK8W2PJf.js → LoadingTrack-CdqDYVR-.js} +1 -1
  12. package/dist/{ModuleBrowserModal-CiV_jOEM.js → ModuleBrowserModal-DKSSQonv.js} +7 -7
  13. package/dist/{ModulePreviewCanvas-Bmy6Y1WE.js → ModulePreviewCanvas-CoLNuu1o.js} +32 -32
  14. package/dist/NumberWithSuffix-_0l3Q4jq.js +424 -0
  15. package/dist/{ParagraphEditor-CoQ3NlS7.js → ParagraphEditor-C9R2ou7x.js} +57 -56
  16. package/dist/{RichTextEditorContent-CHJlh7HJ.js → RichTextEditorContent-BcY3Rcp4.js} +2 -2
  17. package/dist/{SaveModuleDialog-CD2ZYq1o.js → SaveModuleDialog-DmFe4VUc.js} +3 -3
  18. package/dist/{SnapshotHistory-DltsKvhP.js → SnapshotHistory-CAhikAOr.js} +7 -7
  19. package/dist/{TemplateScoringPanel-DmnmUE3y.js → TemplateScoringPanel-b5DnyIll.js} +10 -10
  20. package/dist/{TestEmailModal-Dl633j9o.js → TestEmailModal-BmDIzGYz.js} +3 -3
  21. package/dist/{TitleEditor-C7fds2Nc.js → TitleEditor-DtRYx-LS.js} +11 -11
  22. package/dist/{TplModal-C5_CF-qn.js → TplModal-BLbMDMd6.js} +4 -4
  23. package/dist/{_plugin-vue_export-helper-B1-bu7yR.js → _plugin-vue_export-helper-BHUPLLh1.js} +2 -2
  24. package/dist/{blockTypeIcons-BrKZB10B.js → blockTypeIcons-CEU2dMe1.js} +2 -2
  25. package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js → AiFeatureMenu-DWMSYD2J.js} +4 -4
  26. package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js.map → AiFeatureMenu-DWMSYD2J.js.map} +1 -1
  27. package/dist/cdn/chunks/{CloudEditor-DeTolKnf.js → CloudEditor-HrfSfr3G.js} +179 -188
  28. package/dist/cdn/chunks/CloudEditor-HrfSfr3G.js.map +1 -0
  29. package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js → CollaboratorBar-Cfok52TZ.js} +4 -4
  30. package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js.map → CollaboratorBar-Cfok52TZ.js.map} +1 -1
  31. package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js +93 -0
  32. package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js.map +1 -0
  33. package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js +212 -0
  34. package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js.map +1 -0
  35. package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js → ModuleBrowserModal-sASaPRot.js} +7 -7
  36. package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js.map → ModuleBrowserModal-sASaPRot.js.map} +1 -1
  37. package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js → ModulePreviewCanvas-D8zsajMf.js} +19 -19
  38. package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js.map → ModulePreviewCanvas-D8zsajMf.js.map} +1 -1
  39. package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js +425 -0
  40. package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js.map +1 -0
  41. package/dist/cdn/chunks/{ParagraphEditor-DU3oUKA7.js → ParagraphEditor-C1vQWGzW.js} +37 -37
  42. package/dist/cdn/chunks/ParagraphEditor-C1vQWGzW.js.map +1 -0
  43. package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js → RichTextEditorContent-CT8dBB0R.js} +5 -5
  44. package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js.map → RichTextEditorContent-CT8dBB0R.js.map} +1 -1
  45. package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js → SaveModuleDialog-BkwKrB0N.js} +5 -5
  46. package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js.map → SaveModuleDialog-BkwKrB0N.js.map} +1 -1
  47. package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js → TitleEditor-BXqt42Px.js} +11 -11
  48. package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js.map → TitleEditor-BXqt42Px.js.map} +1 -1
  49. package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js → blockTypeIcons-BS6pWyGO.js} +3 -3
  50. package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js.map → blockTypeIcons-BS6pWyGO.js.map} +1 -1
  51. package/dist/cdn/chunks/{de-BvYD17KT.js → de-3exf7MYE.js} +1 -1
  52. package/dist/cdn/chunks/{de-BvYD17KT.js.map → de-3exf7MYE.js.map} +1 -1
  53. package/dist/cdn/chunks/{de-BB3dgVOc.js → de-C8LxVUsb.js} +1 -1
  54. package/dist/cdn/chunks/de-C8LxVUsb.js.map +1 -0
  55. package/dist/cdn/chunks/{dist-KYv9v_1z2.js → dist-BpOx-ugr.js} +10 -3
  56. package/dist/cdn/chunks/dist-BpOx-ugr.js.map +1 -0
  57. package/dist/cdn/chunks/{draggable-BQNU47zu.js → draggable-Bcb86AsV.js} +1591 -1563
  58. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +1 -0
  59. package/dist/cdn/chunks/{emojiData-BVEJHcNH.js → emojiData-DUHzsh4j.js} +1 -1
  60. package/dist/cdn/chunks/{emojiData-BVEJHcNH.js.map → emojiData-DUHzsh4j.js.map} +1 -1
  61. package/dist/cdn/chunks/{en-DeDcpnoS.js → en-BoEycuqw.js} +1 -1
  62. package/dist/cdn/chunks/en-BoEycuqw.js.map +1 -0
  63. package/dist/cdn/chunks/{en-CpotcOPr.js → en-KNPUKxYp.js} +1 -1
  64. package/dist/cdn/chunks/{en-CpotcOPr.js.map → en-KNPUKxYp.js.map} +1 -1
  65. package/dist/cdn/chunks/{extensions-Bj7USRLr.js → extensions-DBxH6pz0.js} +21 -21
  66. package/dist/cdn/chunks/{extensions-Bj7USRLr.js.map → extensions-DBxH6pz0.js.map} +1 -1
  67. package/dist/cdn/chunks/{features-Ds0XUfte.js → features-C3n7AeUc.js} +1338 -1422
  68. package/dist/cdn/chunks/features-C3n7AeUc.js.map +1 -0
  69. package/dist/cdn/chunks/{icons-fWsuSvgd.js → icons-Hmpb0_8s.js} +2 -2
  70. package/dist/cdn/chunks/icons-Hmpb0_8s.js.map +1 -0
  71. package/dist/cdn/chunks/{liquid.browser-C1VIYISn.js → liquid.browser-CEMn-ZqL.js} +24 -17
  72. package/dist/cdn/chunks/liquid.browser-CEMn-ZqL.js.map +1 -0
  73. package/dist/cdn/chunks/{media-library-BGQm_OyC.js → media-library-C1wCpRY1.js} +114 -110
  74. package/dist/cdn/chunks/media-library-C1wCpRY1.js.map +1 -0
  75. package/dist/cdn/chunks/{pusher-DJPhQnE8.js → pusher-DwSQn6BA.js} +11 -8
  76. package/dist/cdn/chunks/pusher-DwSQn6BA.js.map +1 -0
  77. package/dist/cdn/chunks/readableTextColor-Cd_cgWO_.js.map +1 -1
  78. package/dist/cdn/chunks/{rolldown-runtime-DPITmOBR.js → rolldown-runtime-BNuo_Jkg.js} +1 -1
  79. package/dist/cdn/chunks/{src-3i8rPuqd.js → src-BUszJqfd.js} +8 -8
  80. package/dist/cdn/chunks/{src-3i8rPuqd.js.map → src-BUszJqfd.js.map} +1 -1
  81. package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js → styleConstants-DP1VOca8.js} +1 -1
  82. package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js.map → styleConstants-DP1VOca8.js.map} +1 -1
  83. package/dist/cdn/chunks/{styles-Dgijy53u.js → styles-U2VFFgxC.js} +623 -1239
  84. package/dist/cdn/chunks/styles-U2VFFgxC.js.map +1 -0
  85. package/dist/cdn/chunks/{tiptap-BhxaWR8R.js → tiptap-w5IqC8oW.js} +1610 -1364
  86. package/dist/cdn/chunks/tiptap-w5IqC8oW.js.map +1 -0
  87. package/dist/cdn/editor.css +1 -1
  88. package/dist/cdn/editor.js +92 -97
  89. package/dist/cdn/editor.js.map +1 -1
  90. package/dist/{check-B7kDuZmP.js → check-BDE2uFIC.js} +1 -1
  91. package/dist/{chevron-down-DJLW2Q9Z.js → chevron-down-BL1DcOiT.js} +1 -1
  92. package/dist/{circle-alert-E2vYPs5r.js → circle-alert-1tetIFJU.js} +1 -1
  93. package/dist/{clock-lWIIQA3C.js → clock-CNc3isoG.js} +1 -1
  94. package/dist/{dist-DysAFIPy.js → dist-7SaUYnxo.js} +385 -357
  95. package/dist/{dist-DmOE-Ubp.js → dist-BKZ5gvJf.js} +5 -5
  96. package/dist/{dist-CG-vEqSU.js → dist-CLg2qE0p.js} +2 -2
  97. package/dist/dist-CdzaZZSx.js +5 -0
  98. package/dist/dist-Cl9giA3B.js +5 -0
  99. package/dist/{dist-C_ymrGFi.js → dist-CpHKN3mI.js} +541 -508
  100. package/dist/{dist-4LiM9FDd.js → dist-DMuaebdo.js} +2 -2
  101. package/dist/{dist-ChAGLpWo.js → dist-DW_4_uv3.js} +2 -2
  102. package/dist/{dist-C1BIRHCQ.js → dist-DYG6FL7b.js} +2 -2
  103. package/dist/{dist-DrvKRSU6.js → dist-DbFMBx8E.js} +2 -2
  104. package/dist/{dist-D_HQYSY-.js → dist-Dn9cOicG.js} +2 -2
  105. package/dist/{dist-Ci5lFuUy.js → dist-ENKQZrNg.js} +138 -132
  106. package/dist/{dist-Bu7veieH.js → dist-fEtcLxee.js} +15 -15
  107. package/dist/{extensions-DWx_jj8v.js → extensions-Y880c0sP.js} +3 -3
  108. package/dist/{image-up-X4xIq4ea.js → image-up-4ZmaHFga.js} +1 -1
  109. package/dist/index.d.ts +234 -0
  110. package/dist/{liquid.browser-BemTg3sZ.js → liquid.browser-DZ62L7up.js} +20 -15
  111. package/dist/{loader-circle-BTQQxC3l.js → loader-circle-C7YEH4do.js} +1 -1
  112. package/dist/{message-circle-Blgm6V_h.js → message-circle-B_lxRh4z.js} +1 -1
  113. package/dist/{refresh-cw-Bb4PEeW1.js → refresh-cw-DmZNoimV.js} +1 -1
  114. package/dist/rolldown-runtime-gEudmnaM.js +23 -0
  115. package/dist/{scan-line-7lZPfOdm.js → scan-line-Cc9KlXo5.js} +1 -1
  116. package/dist/{send-C0ltAQrv.js → send-CMwNWTPX.js} +1 -1
  117. package/dist/{shield-check-f-qv4RKs.js → shield-check-DZFf4LTh.js} +1 -1
  118. package/dist/{sparkles-KhBCGlqB.js → sparkles-D80W88H8.js} +1 -1
  119. package/dist/{styleConstants-Cxw88naD.js → styleConstants-Codo7aUT.js} +6 -45
  120. package/dist/styles-unyYKihg.js +2942 -0
  121. package/dist/templatical-editor.css +1 -1
  122. package/dist/templatical-editor.js +85 -90
  123. package/dist/text-align-start-Cje6pwo4.js +43 -0
  124. package/dist/{trash-2-OwjZ-guZ.js → trash-2-BWvxOB4Q.js} +1 -1
  125. package/dist/{triangle-alert-DOSRIUYZ.js → triangle-alert-C6y94qVX.js} +1 -1
  126. package/dist/{useEditorCore-DUGD6pq_.js → useEditorCore-CQwWl2js.js} +1143 -1247
  127. package/dist/{x-CGlq2XQe.js → x-IyhJ6V90.js} +1 -1
  128. package/package.json +70 -52
  129. package/dist/cdn/chunks/AiChatSidebar-X_Bv3Qys.js +0 -2
  130. package/dist/cdn/chunks/CloudEditor-DeTolKnf.js.map +0 -1
  131. package/dist/cdn/chunks/CommentsSidebar-4MTw_hue.js +0 -2
  132. package/dist/cdn/chunks/DesignReferenceSidebar-Bswh4Yx4.js +0 -2
  133. package/dist/cdn/chunks/ParagraphEditor-DU3oUKA7.js.map +0 -1
  134. package/dist/cdn/chunks/SnapshotHistory-KME4xmn_.js +0 -2
  135. package/dist/cdn/chunks/TemplateScoringPanel-DgB3xDN6.js +0 -2
  136. package/dist/cdn/chunks/TestEmailModal-DdpvRbYf.js +0 -2
  137. package/dist/cdn/chunks/de-BB3dgVOc.js.map +0 -1
  138. package/dist/cdn/chunks/dist-BF5c3Dr-.js +0 -2
  139. package/dist/cdn/chunks/dist-BGzvIxcJ.js +0 -2
  140. package/dist/cdn/chunks/dist-CFemF8rI.js +0 -2
  141. package/dist/cdn/chunks/dist-Co6uFhFK.js +0 -2
  142. package/dist/cdn/chunks/dist-DCikBY9K.js +0 -2
  143. package/dist/cdn/chunks/dist-DUILafAC.js +0 -2
  144. package/dist/cdn/chunks/dist-DghiKH0A.js +0 -2
  145. package/dist/cdn/chunks/dist-Dw8ckvfK.js +0 -2
  146. package/dist/cdn/chunks/dist-H07p0KAw.js +0 -2
  147. package/dist/cdn/chunks/dist-KYv9v_1z2.js.map +0 -1
  148. package/dist/cdn/chunks/dist-MjnKIc0W.js +0 -2
  149. package/dist/cdn/chunks/dist-odp0vGRv.js +0 -2
  150. package/dist/cdn/chunks/draggable-BQNU47zu.js.map +0 -1
  151. package/dist/cdn/chunks/en-DeDcpnoS.js.map +0 -1
  152. package/dist/cdn/chunks/features-Ds0XUfte.js.map +0 -1
  153. package/dist/cdn/chunks/icons-fWsuSvgd.js.map +0 -1
  154. package/dist/cdn/chunks/liquid.browser-C1VIYISn.js.map +0 -1
  155. package/dist/cdn/chunks/media-library-BGQm_OyC.js.map +0 -1
  156. package/dist/cdn/chunks/pusher-DJPhQnE8.js.map +0 -1
  157. package/dist/cdn/chunks/styles-Dgijy53u.js.map +0 -1
  158. package/dist/cdn/chunks/tiptap-BhxaWR8R.js.map +0 -1
  159. package/dist/dist-DkypH7qG.js +0 -5
  160. package/dist/dist-Dxnd0GRf.js +0 -5
  161. package/dist/styles-fdXNRqI3.js +0 -3556
  162. package/dist/templatical-editor.umd.cjs +0 -179
  163. /package/dist/cdn/chunks/{_rolldown_dynamic_import_helper-DMEI4TQ3.js → _rolldown_dynamic_import_helper-BRcA6nWq.js} +0 -0
  164. /package/dist/{de-D7TLGIPA.js → de-DCRASLfd.js} +0 -0
  165. /package/dist/{emojiData-BfWQS72m.js → emojiData-CyACq8qV.js} +0 -0
  166. /package/dist/{en-DvtiEMwP.js → en-BC0igPeg.js} +0 -0
  167. /package/dist/{formatRelativeTime-DX3FgqN9.js → formatRelativeTime-mRxw8HK8.js} +0 -0
  168. /package/dist/{readableTextColor-LDlmVEUv.js → readableTextColor-B809bF5J.js} +0 -0
  169. /package/dist/{useMergeTag-BZ3X0bNr.js → useMergeTag-CSXcnFBc.js} +0 -0
@@ -0,0 +1,234 @@
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
+ /**
111
+ * Show the "Powered by Templatical" footer. Defaults to `true`.
112
+ * Set to `false` to hide the footer (no attribution required by the license).
113
+ * Cloud white-label plans hide the footer regardless of this setting.
114
+ */
115
+ branding?: boolean;
116
+ ai?: AiConfig | false;
117
+ commenting?: boolean;
118
+ collaboration?: CollaborationConfig;
119
+ mcp?: McpConfig;
120
+ blockDefaults?: BlockDefaults_2;
121
+ templateDefaults?: TemplateDefaults_2;
122
+ modules?: boolean;
123
+ autoSave?: boolean;
124
+ autoSaveDebounce?: number;
125
+ mergeTags?: MergeTagsConfig_2;
126
+ displayConditions?: DisplayConditionsConfig_2;
127
+ customBlocks?: CustomBlockDefinition_2[];
128
+ fonts?: FontsConfig_2;
129
+ onChange?: (content: TemplateContent_2) => void;
130
+ onSave?: (result: SaveResult_2) => void;
131
+ onCreate?: (template: Template_2) => void;
132
+ onLoad?: (template: Template_2) => void;
133
+ onError?: (error: Error) => void;
134
+ onComment?: (event: CommentEvent) => void;
135
+ onUnmount?: () => void;
136
+ onRequestMedia?: (context: MediaRequestContext_2) => Promise<MediaItem | null>;
137
+ onBeforeTestEmail?: (html: string) => string | Promise<string>;
138
+ }
139
+
140
+ export declare interface TemplaticalEditor {
141
+ getContent(): TemplateContent;
142
+ setContent(content: TemplateContent): void;
143
+ setTheme(theme: UiTheme): void;
144
+ unmount(): void;
145
+ toMjml?(): string;
146
+ }
147
+
148
+ export declare interface TemplaticalEditorConfig {
149
+ container: string | HTMLElement;
150
+ content?: TemplateContent;
151
+ onChange?: (content: TemplateContent) => void;
152
+ onSave?: (content: TemplateContent) => void;
153
+ onError?: (error: Error) => void;
154
+ onRequestMedia?: OnRequestMedia;
155
+ mergeTags?: MergeTagsConfig;
156
+ displayConditions?: DisplayConditionsConfig;
157
+ customBlocks?: CustomBlockDefinition[];
158
+ fonts?: FontsConfig;
159
+ blockDefaults?: BlockDefaults;
160
+ templateDefaults?: TemplateDefaults;
161
+ theme?: ThemeOverrides;
162
+ uiTheme?: UiTheme;
163
+ locale?: string;
164
+ /**
165
+ * Show the "Powered by Templatical" footer. Defaults to `true`.
166
+ * Set to `false` to hide the footer (no attribution required by the license).
167
+ */
168
+ branding?: boolean;
169
+ }
170
+
171
+ export { ThemeOverrides }
172
+
173
+ export { UiTheme }
174
+
175
+ export declare function unmount(): void;
176
+
177
+ export declare function useFonts(config?: FontsConfig_2): UseFontsReturn;
178
+
179
+ export declare interface UseFontsReturn {
180
+ fonts: ComputedRef<FontOption[]>;
181
+ defaultFont: ComputedRef<string>;
182
+ defaultFallback: ComputedRef<string>;
183
+ customFonts: Ref<CustomFont_2[]>;
184
+ customFontsEnabled: Ref<boolean>;
185
+ isLoaded: Ref<boolean>;
186
+ setCustomFontsEnabled: (enabled: boolean) => void;
187
+ loadCustomFonts: () => Promise<void>;
188
+ cleanupFontLinks: () => void;
189
+ getFontWithFallback: (fontName: string) => string;
190
+ getDefaultFont: () => string;
191
+ }
192
+
193
+ export { ViewportSize }
194
+
195
+ export { }
196
+
197
+
198
+ declare module "@tiptap/core" {
199
+ interface Commands<ReturnType> {
200
+ letterSpacing: {
201
+ setLetterSpacing: (spacing: string) => ReturnType;
202
+ unsetLetterSpacing: () => ReturnType;
203
+ };
204
+ }
205
+ }
206
+
207
+
208
+ declare module "@tiptap/core" {
209
+ interface Commands<ReturnType> {
210
+ fontSize: {
211
+ setFontSize: (size: string) => ReturnType;
212
+ unsetFontSize: () => ReturnType;
213
+ };
214
+ }
215
+ }
216
+
217
+
218
+ declare module "@tiptap/core" {
219
+ interface Commands<ReturnType> {
220
+ lineHeight: {
221
+ setLineHeight: (lineHeight: string) => ReturnType;
222
+ unsetLineHeight: () => ReturnType;
223
+ };
224
+ }
225
+ }
226
+
227
+
228
+ declare module "@tiptap/core" {
229
+ interface Commands<ReturnType> {
230
+ mergeTagNode: {
231
+ insertMergeTag: (attrs: MergeTag) => ReturnType;
232
+ };
233
+ }
234
+ }
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.bun/liquidjs@10.25.5/node_modules/liquidjs/dist/liquid.browser.mjs
1
+ //#region ../../node_modules/.pnpm/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-BHUPLLh1.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-BHUPLLh1.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-BHUPLLh1.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-BHUPLLh1.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-BHUPLLh1.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-BHUPLLh1.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-BHUPLLh1.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,44 +1,5 @@
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: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 = [
1
+ //#region src/constants/styleConstants.ts
2
+ var e = "tpl:block tpl:mb-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]", t = "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)]", n = "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)]", r = "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)]", i = "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)]", a = "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)]", o = "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)]", s = "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)]", c = "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)]", l = "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", u = [
42
3
  "10px",
43
4
  "12px",
44
5
  "14px",
@@ -51,7 +12,7 @@ var t = e("text-align-center", [
51
12
  "36px",
52
13
  "48px",
53
14
  "64px"
54
- ], h = [
15
+ ], d = [
55
16
  "1",
56
17
  "1.2",
57
18
  "1.4",
@@ -60,7 +21,7 @@ var t = e("text-align-center", [
60
21
  "1.8",
61
22
  "2",
62
23
  "2.5"
63
- ], g = [
24
+ ], f = [
64
25
  {
65
26
  label: "Normal",
66
27
  value: "normal"
@@ -89,6 +50,6 @@ var t = e("text-align-center", [
89
50
  label: "3px",
90
51
  value: "3px"
91
52
  }
92
- ], _ = "#000000", v = "#ffffff", y = "#ffff00", b = "#f2f2f2";
53
+ ], p = "#000000", m = "#ffffff", h = "#ffff00", g = "#f2f2f2";
93
54
  //#endregion
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 };
55
+ export { o as _, u as a, s as c, l as d, t as f, c as g, e as h, p as i, a as l, r as m, h as n, f as o, n as p, g as r, d as s, m as t, i as u };