@templatical/editor 0.46.0 → 0.48.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 (317) hide show
  1. package/dist/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-DxPHFNoT.js} +14 -14
  2. package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-C8GVqu1d.js} +7 -7
  3. package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-BShkuJis.js} +5 -5
  4. package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
  5. package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-CUSftQdm.js} +5 -5
  6. package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-Dgw7tb4R.js} +9 -9
  7. package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-5rfopCPx.js} +4 -4
  8. package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-DiWzYtnZ.js} +2 -2
  9. package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-BOqj16Al.js} +14 -14
  10. package/dist/CountdownBlock-zx39Dyby.js +92 -0
  11. package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-C4y3Ft7H.js} +7 -7
  12. package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-BWAi3eQQ.js} +13 -13
  13. package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-C-x3I012.js} +8 -8
  14. package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
  15. package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-B1_Wy0AN.js} +13 -13
  16. package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-ByOvznRC.js} +4 -4
  17. package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-9mDBv4aL.js} +2 -2
  18. package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-fOewuF27.js} +3 -3
  19. package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-BXamLcv7.js} +7 -7
  20. package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-BVjOwwHx.js} +100 -85
  21. package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-BEKXx9xk.js} +6 -6
  22. package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-D7kp7iig.js} +12 -12
  23. package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-SJu0lecx.js} +34 -35
  24. package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-DbmIS5uK.js} +14 -14
  25. package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-Dr5Fxx9Z.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DnEWBZJy.js} +5 -5
  27. package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-ynbGl-sr.js} +16 -16
  28. package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-Bi01S3H3.js} +12 -12
  29. package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-CbRY8HQx.js} +14 -14
  30. package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-NAOmt3xi.js} +2 -2
  31. package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-Cc3DHbuN.js} +15 -15
  32. package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-Ozc7YU38.js} +2 -2
  33. package/dist/Toolbar-B-2lO0I8.js +3156 -0
  34. package/dist/{TplModal-BGFawHY9.js → TplModal-Bz4-IZ9R.js} +6 -6
  35. package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-CjV1d1zk.js} +10 -10
  36. package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-BtwxrKJn.js} +2 -2
  37. package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-BLAei1kj.js} +4 -4
  38. package/dist/WrapperBlock-D0qgNqjD.js +45 -0
  39. package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-CEDZytqP.js} +50 -20
  40. package/dist/bundle-stats.json +8 -8
  41. package/dist/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +38 -1
  42. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-Dk0rJBQN.js} +8 -8
  43. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-B7b0w8ZS.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-C7sdnkrF.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
  48. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
  49. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
  50. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-B4fhuwc_.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-awqHfJqC.js} +8 -8
  53. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-CS0ivqkr.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CbzxwsyI.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-DWPHZuQm.js} +8 -8
  59. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
  60. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
  61. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
  62. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-Cqg8FUH-.js} +8 -8
  63. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BW9cHnA9.js} +12 -12
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-cXf9ywA4.js} +8 -8
  67. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
  70. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BMB9vShs.js} +89 -89
  71. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-zXfcArr4.js} +4 -4
  73. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-Cp4XB_dH.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-DLqrA9co.js} +4 -4
  77. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-BRiJzzn5.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-D4aq9eeC.js} +116 -101
  81. package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BgR6RXSb.js} +6 -6
  83. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-C4DMAn0g.js} +11 -11
  85. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BaIsQd09.js} +41 -42
  87. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-CtnB58p_.js} +10 -10
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-BhEOMzEQ.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-CcdqTEIp.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-BrWqJCSP.js} +9 -9
  95. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-BkkWTDHD.js} +14 -14
  97. package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-V5mwHsUV.js} +13 -13
  99. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-DxrKuctP.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-CsZiG3TT.js} +19 -19
  103. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BB-bQADJ.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
  106. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
  107. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-DC_eodTV.js} +6 -6
  109. package/dist/cdn/chunks/TplModal-DC_eodTV.js.map +1 -0
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-DXnM5Df2.js} +11 -11
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-DXSqmaLS.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-DKyN6BhO.js} +5 -5
  115. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
  116. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
  117. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
  118. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
  119. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
  120. package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +39 -2
  121. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-BHClP3e2.js} +3 -3
  123. package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-BHClP3e2.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-Vd0N4elZ.js} +18 -9
  125. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +1 -0
  126. package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DMquBpZM.js} +39 -2
  127. package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
  129. package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
  131. package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
  132. package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
  133. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
  134. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-vEEmZ8Tu.js} +93 -93
  135. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
  136. package/dist/cdn/chunks/{en-BTiiAC-B.js → en-C8Mp71sO.js} +39 -2
  137. package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
  138. package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
  139. package/dist/cdn/chunks/{es-CdTOcSTf.js → es-Byq4tthI.js} +39 -2
  140. package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-hJ9VqzDc.js} +7 -7
  142. package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-hJ9VqzDc.js.map} +1 -1
  143. package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +39 -2
  144. package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
  145. package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-aTYwH5-g.js} +107 -78
  146. package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
  147. package/dist/{ja-BhdkqENz.js → cdn/chunks/ja-D7txAuGS.js} +40 -1
  148. package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
  149. package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
  150. package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
  151. package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-ClJ3BY3F.js} +40 -1
  152. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
  153. package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-ByfuSjtL.js} +4 -2
  154. package/dist/cdn/chunks/preRenderCustomBlocks-ByfuSjtL.js.map +1 -0
  155. package/dist/{pt-BR-CUIT4rq4.js → cdn/chunks/pt-BR-DibcXcmv.js} +40 -1
  156. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
  157. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +1279 -0
  158. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
  159. package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-DYCDeBDM.js} +437 -256
  160. package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
  161. package/dist/cdn/chunks/{src-B0pZeTYO.js → src-DlFlC9Tt.js} +334 -268
  162. package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
  163. package/dist/cdn/chunks/src-dZ4D_tuP.js +649 -0
  164. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
  165. package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
  166. package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
  167. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
  168. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
  169. package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
  170. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
  171. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
  172. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
  173. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
  174. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
  175. package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bb2UcB20.js} +780 -764
  176. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
  177. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
  178. package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
  179. package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
  180. package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
  181. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-HsyUCQtl.js} +4 -4
  182. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
  183. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-Dg9pE85U.js} +4 -4
  184. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
  185. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
  186. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
  187. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
  188. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
  189. package/dist/cdn/chunks/withCurrentFont-oLcATrQ8.js +21 -0
  190. package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
  191. package/dist/cdn/editor.css +1 -1
  192. package/dist/cdn/editor.js +641 -631
  193. package/dist/cdn/editor.js.map +1 -1
  194. package/dist/{check-ZKvtMdpe.js → check-ClwqRMgv.js} +1 -1
  195. package/dist/{chevron-down-RrwkYMlp.js → chevron-down-te6qn-zE.js} +1 -1
  196. package/dist/{chevron-right-CklHaa1U.js → chevron-right-W2hbH1FM.js} +1 -1
  197. package/dist/{chevron-up-DjN2NTbo.js → chevron-up-Bf5Zo7o4.js} +1 -1
  198. package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-CIEGV5DN.js} +1 -1
  199. package/dist/{clock-BEagNj21.js → clock-Y4cx0gkJ.js} +1 -1
  200. package/dist/{cloud-DPGjMGfv.js → cloud-B5xwm_4X.js} +2 -2
  201. package/dist/{copy-D6DNoSq1.js → copy-BEcsAlfB.js} +1 -1
  202. package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-zNPkF6T9.js} +17 -8
  203. package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-CYHXK9hn.js} +6 -6
  204. package/dist/{de-CGjbQ2mt.js → de-DMquBpZM.js} +38 -1
  205. package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
  206. package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
  207. package/dist/dist-BPFcLKTw.js +5 -0
  208. package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
  209. package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
  210. package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
  211. package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
  212. package/dist/dist-D7Yj7E-F.js +5 -0
  213. package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
  214. package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
  215. package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
  216. package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
  217. package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
  218. package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
  219. package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-tsmnQugO.js} +207 -174
  220. package/dist/{editor-modal-oRmkDlUs.js → editor-modal-AlVLkU91.js} +20 -20
  221. package/dist/en-B0FUfNwz.js +1 -0
  222. package/dist/{en-BTiiAC-B.js → en-C8Mp71sO.js} +38 -1
  223. package/dist/{es-CdTOcSTf.js → es-Byq4tthI.js} +38 -1
  224. package/dist/{extensions-CYigjb1g.js → extensions-pjO8VGkM.js} +9 -9
  225. package/dist/{eye-DvsTBI57.js → eye-Ddnz8nnm.js} +1 -1
  226. package/dist/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +38 -1
  227. package/dist/{image-up-BoFGZm5Q.js → image-up-CM_HC0Dx.js} +1 -1
  228. package/dist/index.d.ts +124 -11
  229. package/dist/{info-0bQQGjTV.js → info-DXLmzoeY.js} +1 -1
  230. package/dist/{cdn/chunks/ja-BhdkqENz.js → ja-D7txAuGS.js} +38 -3
  231. package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
  232. package/dist/{link-Cstrr3Ep.js → link-Cel46wgo.js} +1 -1
  233. package/dist/{list-Dx9Rmy5s.js → list-Cl0GwiV9.js} +1 -1
  234. package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-uAwpvfys.js} +1 -1
  235. package/dist/{message-circle-D78ELX6I.js → message-circle-DWU1pTM_.js} +1 -1
  236. package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-ClJ3BY3F.js} +38 -3
  237. package/dist/{package-DOvM9sHE.js → package-CbyG_yU_.js} +1 -1
  238. package/dist/{pencil-B6m0OG0n.js → pencil-BzoDcwKu.js} +1 -1
  239. package/dist/{plus-D-nEKxTc.js → plus-8cDvoCjZ.js} +1 -1
  240. package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-DMP5RuHl.js} +6 -4
  241. package/dist/{cdn/chunks/pt-BR-CUIT4rq4.js → pt-BR-DibcXcmv.js} +38 -3
  242. package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-9WinWixo.js} +1 -1
  243. package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
  244. package/dist/{search-DSvil0jo.js → search-CqgGq1gG.js} +1 -1
  245. package/dist/{send-BBR28V94.js → send-Ceo3c9Db.js} +1 -1
  246. package/dist/{shield-check-ByxUnaU9.js → shield-check-uDAwur5D.js} +1 -1
  247. package/dist/{smartphone-CNOwGf5T.js → smartphone-CcLaCpGK.js} +1 -1
  248. package/dist/socialIcons-PTiwhLoC.js +1359 -0
  249. package/dist/{sparkles-DO1hzwzf.js → sparkles-Do9XjAuT.js} +1 -1
  250. package/dist/style.css +1 -1
  251. package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
  252. package/dist/templatical-editor.js +519 -509
  253. package/dist/{text-align-start-BKEKMheq.js → text-align-start-DvzC0HQA.js} +1 -1
  254. package/dist/timeouts-Cv2jvusx.js +4 -0
  255. package/dist/{trash-CKEQH4vH.js → trash-vlINTx32.js} +1 -1
  256. package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-MRYSJ9T2.js} +1 -1
  257. package/dist/{upload-C8uO7KsR.js → upload-CtNOI6J2.js} +1 -1
  258. package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
  259. package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
  260. package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-PvErWWsp.js} +1002 -991
  261. package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
  262. package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
  263. package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-BHn67tDd.js} +3 -3
  264. package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-CRkm5Ig6.js} +5 -5
  265. package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
  266. package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-CXmcHQQN.js} +3 -3
  267. package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
  268. package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-CxRGeHO3.js} +1 -1
  269. package/dist/{x-gEC0yMci.js → x-Cd6SFw8r.js} +1 -1
  270. package/package.json +23 -23
  271. package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
  272. package/dist/CountdownBlock-RNx3hIu0.js +0 -91
  273. package/dist/Toolbar-CqhRb6EM.js +0 -2732
  274. package/dist/WrapperBlock-CTkmA887.js +0 -34
  275. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
  276. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
  277. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
  278. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
  279. package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
  280. package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
  281. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js +0 -2646
  282. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
  283. package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
  284. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
  285. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
  286. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js +0 -21
  287. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js.map +0 -1
  288. package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
  289. package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
  290. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
  291. package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
  292. package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
  293. package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
  294. package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
  295. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
  296. package/dist/cdn/chunks/icons-Dr9erFGs.js.map +0 -1
  297. package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
  298. package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
  299. package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
  300. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
  301. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
  302. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
  303. package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
  304. package/dist/cdn/chunks/src-BMw3u-iV.js +0 -614
  305. package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
  306. package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
  307. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
  308. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
  309. package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
  310. package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
  311. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
  312. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
  313. package/dist/dist-CFC4pg2o.js +0 -5
  314. package/dist/dist-j2FavQmU.js +0 -5
  315. package/dist/en-Bk4iCfjp.js +0 -1
  316. package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
  317. package/dist/timeouts-DHPZQ0G3.js +0 -4
@@ -1,1031 +0,0 @@
1
- import { B as e, Q as t, W as n, X as r, Y as i, Z as a, f as o, ot as s, rt as c } from "./draggable-BUTN5vZC.js";
2
- import { A as l, D as u, E as d, J as f, Y as p, Z as m, gt as h, j as g, t as _ } from "./src-Bh0MoJ67.js";
3
- import { r as v } from "./dist-C5nRd_ua.js";
4
- import { o as y, s as b } from "./usePopoverPosition-CtVNwoHj.js";
5
- //#region ../core/src/error-reporting.ts
6
- function x(e) {
7
- return e instanceof Error ? e : Error(String(e), { cause: e });
8
- }
9
- function S(e, t) {
10
- try {
11
- t();
12
- } catch (t) {
13
- e?.(x(t));
14
- }
15
- }
16
- //#endregion
17
- //#region ../core/src/editor.ts
18
- function C(e) {
19
- return e === "1" ? 1 : e === "3" ? 3 : 2;
20
- }
21
- function w(e) {
22
- let t = e.content ?? m(e.defaultFontFamily, e.templateDefaults);
23
- d(t), u(t);
24
- let i = r({
25
- template: null,
26
- content: t,
27
- selectedBlockId: null,
28
- viewport: "desktop",
29
- darkMode: !1,
30
- previewMode: !1,
31
- isDirty: !1,
32
- isSaving: !1,
33
- isLoading: !1,
34
- uiTheme: "auto"
35
- }), o = 0;
36
- function s() {
37
- i.isDirty = !0, o++;
38
- }
39
- let c = n({
40
- get: () => i.content,
41
- set: (e) => {
42
- i.content = e, s();
43
- }
44
- }), l = n(() => i.selectedBlockId ? f(i.content.blocks, i.selectedBlockId) : null);
45
- function f(e, t) {
46
- for (let n of e) {
47
- if (n.id === t) return n;
48
- if (n.type === "section") for (let e of n.children) {
49
- let n = f(e, t);
50
- if (n) return n;
51
- }
52
- }
53
- return null;
54
- }
55
- function p(e, t) {
56
- if (t.add(e.id), e.type === "section") for (let n of e.children) for (let e of n) p(e, t);
57
- }
58
- function h(e, t, n = { blocks: e }) {
59
- for (let r = 0; r < e.length; r++) {
60
- let i = e[r];
61
- if (i.id === t) return n;
62
- if (i.type === "section") for (let e = 0; e < i.children.length; e++) {
63
- let n = h(i.children[e], t, {
64
- blocks: i.children[e],
65
- sectionId: i.id,
66
- columnIndex: e
67
- });
68
- if (n) return n;
69
- }
70
- }
71
- return null;
72
- }
73
- function g(t) {
74
- return e.lockedBlocks?.value.has(t) ?? !1;
75
- }
76
- function v(e) {
77
- let t = h(i.content.blocks, e);
78
- if (!t) return null;
79
- let n = t.blocks.findIndex((t) => t.id === e);
80
- return n === -1 ? null : {
81
- targetSectionId: t.sectionId,
82
- columnIndex: t.columnIndex,
83
- index: n
84
- };
85
- }
86
- function y(e, t = !0) {
87
- d(e), u(e), i.content = e, t && s();
88
- }
89
- function b(e) {
90
- e && g(e) || (i.selectedBlockId = e);
91
- }
92
- function x(e) {
93
- i.viewport = e;
94
- }
95
- function w(e) {
96
- i.darkMode = e;
97
- }
98
- function T(e) {
99
- i.uiTheme = e;
100
- }
101
- function E(e) {
102
- i.previewMode = e, e && (i.selectedBlockId = null);
103
- }
104
- function D(e, t) {
105
- if (g(e)) return;
106
- let n = f(i.content.blocks, e);
107
- n && (Object.assign(n, t), s());
108
- }
109
- function O(e) {
110
- i.content.settings = {
111
- ...i.content.settings,
112
- ...e
113
- }, s();
114
- }
115
- function k(e, t, n = 0, r) {
116
- let a = {
117
- settings: i.content.settings,
118
- blocks: [e]
119
- };
120
- if (d(a), u(a), !(t && e.type === "section")) {
121
- if (t) {
122
- if (g(t)) return;
123
- let a = f(i.content.blocks, t);
124
- if (a && a.type === "section") {
125
- if (n < 0 || n >= C(a.columns)) return;
126
- a.children[n] = a.children[n] || [];
127
- let t = a.children[n];
128
- r !== void 0 && r < t.length ? t.splice(r, 0, e) : t.push(e);
129
- }
130
- } else r !== void 0 && r < i.content.blocks.length ? i.content.blocks.splice(r, 0, e) : i.content.blocks.push(e);
131
- s();
132
- }
133
- }
134
- function A(e) {
135
- if (g(e)) return;
136
- let t = h(i.content.blocks, e);
137
- if (t) {
138
- let n = t.blocks.findIndex((t) => t.id === e);
139
- if (n !== -1) {
140
- let [e] = t.blocks.splice(n, 1);
141
- if (i.selectedBlockId) {
142
- let t = /* @__PURE__ */ new Set();
143
- p(e, t), t.has(i.selectedBlockId) && (i.selectedBlockId = null);
144
- }
145
- s();
146
- }
147
- }
148
- }
149
- function j(e, t, n, r = 0) {
150
- if (g(e) || n && g(n)) return;
151
- let a = h(i.content.blocks, e);
152
- if (!a) return;
153
- let o = a.blocks.findIndex((t) => t.id === e);
154
- if (o === -1 || n && a.blocks[o].type === "section") return;
155
- let c;
156
- if (n) {
157
- let e = f(i.content.blocks, n);
158
- if (!e || e.type !== "section" || r < 0 || r >= C(e.columns)) return;
159
- e.children[r] = e.children[r] || [], c = e.children[r];
160
- } else c = i.content.blocks;
161
- let [l] = a.blocks.splice(o, 1);
162
- c.splice(t, 0, l), s();
163
- }
164
- function M() {
165
- s();
166
- }
167
- function N(e, t) {
168
- throw new _(`[Templatical] Templates: ${e} ${t}`);
169
- }
170
- function P(t) {
171
- S(e.onError, t);
172
- }
173
- function F(t) {
174
- let { templates: n } = e;
175
- return n || N(t, "needs a templates provider. Pass one as `init({ templates })` to enable saving and loading."), n;
176
- }
177
- function I(e) {
178
- i.template && (i.template = {
179
- ...i.template,
180
- name: e
181
- }, s());
182
- }
183
- async function L(t) {
184
- let n = F("create()"), { create: r } = n;
185
- typeof r != "function" && N("create()", "is disabled by the provider — its `create` is `false`.");
186
- let a;
187
- i.isLoading = !0;
188
- try {
189
- t?.content && (i.content = t.content);
190
- let e = o;
191
- a = await r(t?.name === void 0 ? { content: i.content } : {
192
- name: t.name,
193
- content: i.content
194
- }), i.template = a, o === e && (i.isDirty = !1);
195
- } catch (t) {
196
- throw e.onError?.(t), t;
197
- } finally {
198
- i.isLoading = !1;
199
- }
200
- return P(() => n.onCreated?.(a)), a;
201
- }
202
- async function R(t) {
203
- let n = F("load()"), r;
204
- i.isLoading = !0;
205
- try {
206
- r = await n.load(t), d(r.content), u(r.content), i.template = r, i.content = r.content, i.isDirty = !1;
207
- } catch (t) {
208
- throw e.onError?.(t), t;
209
- } finally {
210
- i.isLoading = !1;
211
- }
212
- return P(() => n.onLoaded?.(r)), r;
213
- }
214
- async function z(t = "api") {
215
- let n = F("save()"), { save: r } = n;
216
- typeof r != "function" && N("save()", "is disabled by the provider — its `save` is `false`.");
217
- let a = i.template;
218
- a || N("save()", "has no template loaded. Call create() or load() first.");
219
- let s = a.name === void 0 ? { content: i.content } : {
220
- name: a.name,
221
- content: i.content
222
- }, c;
223
- i.isSaving = !0;
224
- try {
225
- let e = o;
226
- if (c = await r(a.id, s), i.template?.id === a.id) {
227
- let e = i.template.name;
228
- i.template = e === a.name ? c : {
229
- ...c,
230
- name: e
231
- };
232
- }
233
- o === e && (i.isDirty = !1);
234
- } catch (t) {
235
- throw e.onError?.(t), t;
236
- } finally {
237
- i.isSaving = !1;
238
- }
239
- return P(() => n.onSaved?.(c, { trigger: t })), c;
240
- }
241
- function B() {
242
- return i.template?.id !== void 0;
243
- }
244
- return {
245
- state: a(i),
246
- content: c,
247
- selectedBlock: l,
248
- isBlockLocked: g,
249
- setContent: y,
250
- selectBlock: b,
251
- setViewport: x,
252
- setDarkMode: w,
253
- setUiTheme: T,
254
- setPreviewMode: E,
255
- updateBlock: D,
256
- updateSettings: O,
257
- addBlock: k,
258
- removeBlock: A,
259
- moveBlock: j,
260
- markDirty: M,
261
- findBlockLocation: v,
262
- setName: I,
263
- create: L,
264
- load: R,
265
- save: z,
266
- hasTemplate: B
267
- };
268
- }
269
- //#endregion
270
- //#region ../core/src/history.ts
271
- var T = 50, E = 300, D = 1500;
272
- function O(e) {
273
- let { content: r, setContent: i, isRemoteOperation: a, maxSize: o = T } = e, s = t([]), c = t([]), l = t(!1), u = null, d = null, f = n(() => s.value.length > 0), m = n(() => c.value.length > 0);
274
- function h() {
275
- return p(r.value);
276
- }
277
- function g(e) {
278
- s.value.push(e), s.value.length > o && s.value.splice(0, s.value.length - o);
279
- }
280
- function _() {
281
- d &&= (clearTimeout(d.timeoutId), null);
282
- }
283
- function v() {
284
- a?.() || (_(), g(h()), c.value = []);
285
- }
286
- function y(e) {
287
- a?.() || (d && d.blockId === e ? (clearTimeout(d.timeoutId), d.timeoutId = setTimeout(() => {
288
- d = null;
289
- }, E)) : (_(), g(h()), c.value = [], d = {
290
- blockId: e,
291
- timeoutId: setTimeout(() => {
292
- d = null;
293
- }, E)
294
- }));
295
- }
296
- function b() {
297
- l.value = !0, u && clearTimeout(u), u = setTimeout(() => {
298
- l.value = !1, u = null;
299
- }, D);
300
- }
301
- function x() {
302
- if (s.value.length === 0) return;
303
- _();
304
- let e = s.value.pop();
305
- c.value.push(h()), i(e, !0), b();
306
- }
307
- function S() {
308
- if (c.value.length === 0) return;
309
- _();
310
- let e = c.value.pop();
311
- s.value.push(h()), i(e, !0), b();
312
- }
313
- function C() {
314
- s.value = [], c.value = [], _();
315
- }
316
- function w() {
317
- C(), u &&= (clearTimeout(u), null);
318
- }
319
- return {
320
- canUndo: f,
321
- canRedo: m,
322
- isNavigating: l,
323
- undo: x,
324
- redo: S,
325
- record: v,
326
- recordDebounced: y,
327
- clear: C,
328
- destroy: w
329
- };
330
- }
331
- //#endregion
332
- //#region ../core/src/block-actions.ts
333
- function k(e) {
334
- let { addBlock: t, removeBlock: n, updateBlock: r, selectBlock: i, findBlockLocation: a } = e;
335
- function o(n, r, a) {
336
- let o = typeof e.blockDefaults == "function" ? e.blockDefaults() : e.blockDefaults, s = g(n, o);
337
- return t(s, r, a), i(s.id), s;
338
- }
339
- function s(e, n, r) {
340
- let o = l(e);
341
- if (n !== void 0 || r !== void 0) t(o, n, r);
342
- else {
343
- let i = a?.(e.id) ?? null;
344
- i ? t(o, i.targetSectionId, i.columnIndex, i.index + 1) : t(o, n, r);
345
- }
346
- return i(o.id), o;
347
- }
348
- function c(e) {
349
- n(e);
350
- }
351
- function u(e, t, n) {
352
- r(e, { [t]: n });
353
- }
354
- return {
355
- createAndAddBlock: o,
356
- duplicateBlock: s,
357
- deleteBlock: c,
358
- updateBlockProperty: u
359
- };
360
- }
361
- //#endregion
362
- //#region ../core/src/auto-save.ts
363
- var A = 2e3;
364
- function j(e) {
365
- let { content: t, isDirty: n, onChange: r, debounce: i = A, enabled: a = !0 } = e, o = null, c = !1;
366
- function l() {
367
- return typeof a == "function" ? a() : a;
368
- }
369
- function u() {
370
- c = !0, f();
371
- }
372
- function d() {
373
- c = !1;
374
- }
375
- function f() {
376
- o &&= (clearTimeout(o), null);
377
- }
378
- function p() {
379
- f(), n() && r(JSON.parse(JSON.stringify(t.value)));
380
- }
381
- function m() {
382
- l() && !c && (f(), o = setTimeout(() => {
383
- o = null, l() && !c && n() && r(JSON.parse(JSON.stringify(t.value)));
384
- }, i));
385
- }
386
- let h = s(t, () => {
387
- m();
388
- }, { deep: !0 });
389
- function g() {
390
- h(), f();
391
- }
392
- return {
393
- flush: p,
394
- cancel: f,
395
- pause: u,
396
- resume: d,
397
- destroy: g
398
- };
399
- }
400
- //#endregion
401
- //#region ../core/src/condition-preview.ts
402
- function M(e) {
403
- let t = r(/* @__PURE__ */ new Set()), i = n(() => t.size > 0);
404
- function a(e) {
405
- return t.has(e);
406
- }
407
- function o(n) {
408
- t.has(n) ? t.delete(n) : (t.add(n), e.state.selectedBlockId === n && e.selectBlock(null));
409
- }
410
- function s() {
411
- t.clear();
412
- }
413
- return {
414
- isHidden: a,
415
- toggleBlock: o,
416
- reset: s,
417
- hasHiddenBlocks: i
418
- };
419
- }
420
- //#endregion
421
- //#region ../core/src/data-source-fetch.ts
422
- function N(e) {
423
- let r = t(!1), i = t(!1), a = n(() => !!e.definition.value?.dataSource), o = n(() => a.value && !e.block.value.dataSourceFetched);
424
- async function s() {
425
- let t = e.definition.value;
426
- if (t?.dataSource) {
427
- r.value = !0, i.value = !1;
428
- try {
429
- let n = await t.dataSource.onFetch({
430
- fieldValues: { ...e.block.value.fieldValues },
431
- blockId: e.block.value.id
432
- });
433
- if (n == null) return;
434
- let r = { ...e.block.value.fieldValues };
435
- for (let e of Object.keys(r)) e in n && (r[e] = n[e]);
436
- e.onUpdate(r, !0);
437
- } catch (e) {
438
- console.warn("[Templatical] Data source fetch error:", e), i.value = !0;
439
- } finally {
440
- r.value = !1;
441
- }
442
- }
443
- }
444
- return {
445
- isFetching: r,
446
- fetchError: i,
447
- fetch: s,
448
- hasDataSource: a,
449
- needsFetch: o
450
- };
451
- }
452
- //#endregion
453
- //#region ../core/src/history-interceptor.ts
454
- function P(e, t) {
455
- let n = e.addBlock, r = e.removeBlock, i = e.moveBlock, a = e.updateBlock, o = e.updateSettings;
456
- e.addBlock = (r, i, a, o) => {
457
- i && e.isBlockLocked(i) || (t.record(), n(r, i, a, o));
458
- }, e.removeBlock = (n) => {
459
- e.isBlockLocked(n) || (t.record(), r(n));
460
- }, e.moveBlock = (n, r, a, o) => {
461
- e.isBlockLocked(n) || a && e.isBlockLocked(a) || (t.record(), i(n, r, a, o));
462
- }, e.updateBlock = (n, r) => {
463
- e.isBlockLocked(n) || (t.recordDebounced(n), a(n, r));
464
- }, e.updateSettings = (e) => {
465
- t.record(), o(e);
466
- };
467
- }
468
- //#endregion
469
- //#region ../core/src/saved-blocks.ts
470
- function F(e) {
471
- let { provider: n } = e, r = t([]), i = t(!1), a = o(() => {
472
- let e = /* @__PURE__ */ new Set();
473
- for (let t of r.value) {
474
- let n = t.category?.trim();
475
- n && e.add(n);
476
- }
477
- return [...e].sort((e, t) => e.localeCompare(t));
478
- }), s = o(() => typeof n.create == "function"), c = o(() => typeof n.update == "function"), l = o(() => typeof n.delete == "function");
479
- function u(e) {
480
- return c.value && e.canUpdate !== !1;
481
- }
482
- function d(e) {
483
- return l.value && e.canDelete !== !1;
484
- }
485
- function f(e, t) {
486
- throw new _(`[Templatical] Saved blocks: ${e} is ${t}. Check the capability before calling — the editor's own UI hides the action.`);
487
- }
488
- function p(t) {
489
- S(e.onError, t);
490
- }
491
- async function m(t) {
492
- i.value = !0;
493
- try {
494
- r.value = await n.list(t);
495
- } catch (t) {
496
- throw e.onError?.(t), t;
497
- } finally {
498
- i.value = !1;
499
- }
500
- }
501
- async function h(t, i, a) {
502
- let { create: o } = n;
503
- typeof o != "function" && f("create", "disabled by the provider");
504
- try {
505
- let e = await o(a ? {
506
- name: t,
507
- content: i,
508
- category: a
509
- } : {
510
- name: t,
511
- content: i
512
- });
513
- return r.value = [e, ...r.value], p(() => n.onCreated?.(e)), e;
514
- } catch (t) {
515
- throw e.onError?.(t), t;
516
- }
517
- }
518
- async function g(t, i) {
519
- let { update: a } = n;
520
- typeof a != "function" && f("update", "disabled by the provider");
521
- let o = r.value.find((e) => e.id === t);
522
- o && o.canUpdate === !1 && f("update", `not permitted for entry "${t}"`);
523
- try {
524
- let e = await a(t, i);
525
- return r.value = r.value.map((n) => n.id === t ? e : n), p(() => n.onUpdated?.(e)), e;
526
- } catch (t) {
527
- throw e.onError?.(t), t;
528
- }
529
- }
530
- async function v(t) {
531
- let { delete: i } = n;
532
- typeof i != "function" && f("delete", "disabled by the provider");
533
- let a = r.value.find((e) => e.id === t) ?? null;
534
- a && a.canDelete === !1 && f("delete", `not permitted for entry "${t}"`);
535
- try {
536
- await i(t), r.value = r.value.filter((e) => e.id !== t), a && p(() => n.onDeleted?.(a));
537
- } catch (t) {
538
- throw e.onError?.(t), t;
539
- }
540
- }
541
- return {
542
- savedBlocks: r,
543
- isLoading: i,
544
- categories: a,
545
- canCreate: s,
546
- canUpdate: c,
547
- canDelete: l,
548
- canUpdateBlock: u,
549
- canDeleteBlock: d,
550
- load: m,
551
- create: h,
552
- update: g,
553
- remove: v
554
- };
555
- }
556
- //#endregion
557
- //#region ../core/src/saved-blocks-local.ts
558
- var I = "templatical:saved-blocks";
559
- function L(e = {}) {
560
- let t = e.key ?? I;
561
- function n() {
562
- if (typeof localStorage > "u") throw Error("[Templatical] createLocalStorageSavedBlocksProvider requires a browser environment with localStorage. Supply your own SavedBlocksProvider for server-side or non-browser use.");
563
- return localStorage;
564
- }
565
- function r() {
566
- let e = n().getItem(t);
567
- if (!e) return [];
568
- try {
569
- let t = JSON.parse(e);
570
- return Array.isArray(t) ? t : [];
571
- } catch {
572
- return [];
573
- }
574
- }
575
- function i(e) {
576
- n().setItem(t, JSON.stringify(e));
577
- }
578
- return {
579
- async list(e) {
580
- let t = r(), n = e?.search?.trim().toLowerCase(), i = e?.category?.trim();
581
- return t.filter((e) => !(n && !e.name.toLowerCase().includes(n) || i && e.category !== i));
582
- },
583
- async create(e) {
584
- let t = (/* @__PURE__ */ new Date()).toISOString(), n = {
585
- id: f(),
586
- name: e.name,
587
- content: e.content,
588
- ...e.category ? { category: e.category } : {},
589
- createdAt: t,
590
- updatedAt: t
591
- };
592
- return i([n, ...r()]), n;
593
- },
594
- async update(e, t) {
595
- let n = r(), a = n.findIndex((t) => t.id === e);
596
- if (a === -1) throw Error(`[Templatical] Saved block not found: ${e}`);
597
- let o = {
598
- ...n[a],
599
- ...t,
600
- updatedAt: (/* @__PURE__ */ new Date()).toISOString()
601
- }, s = [...n];
602
- return s[a] = o, i(s), o;
603
- },
604
- async delete(e) {
605
- let t = r();
606
- if (!t.some((t) => t.id === e)) throw Error(`[Templatical] Saved block not found: ${e}`);
607
- i(t.filter((t) => t.id !== e));
608
- }
609
- };
610
- }
611
- //#endregion
612
- //#region ../core/src/media-local.ts
613
- var R = "templatical:media", z = 50;
614
- function B(e = {}) {
615
- let t = e.key ?? R;
616
- function n() {
617
- if (typeof localStorage > "u") throw Error("[Templatical] createLocalStorageMediaProvider requires a browser environment with localStorage. Supply your own MediaProvider for server-side or non-browser use.");
618
- return localStorage;
619
- }
620
- function r() {
621
- let e = n().getItem(t);
622
- if (!e) return [];
623
- try {
624
- let t = JSON.parse(e);
625
- return Array.isArray(t) ? t : [];
626
- } catch {
627
- return [];
628
- }
629
- }
630
- function i(e) {
631
- n().setItem(t, JSON.stringify(e));
632
- }
633
- function a(e) {
634
- return typeof FileReader > "u" ? Promise.reject(/* @__PURE__ */ Error("[Templatical] createLocalStorageMediaProvider requires a browser environment with FileReader.")) : new Promise((t, n) => {
635
- let r = new FileReader();
636
- r.onload = () => {
637
- typeof r.result == "string" ? t(r.result) : n(/* @__PURE__ */ Error("[Templatical] Failed to read file as a data URL."));
638
- }, r.onerror = () => {
639
- n(r.error ?? /* @__PURE__ */ Error("[Templatical] Failed to read file as a data URL."));
640
- }, r.readAsDataURL(e);
641
- });
642
- }
643
- return {
644
- async list(e) {
645
- let t = r(), n = e?.search?.trim().toLowerCase(), i = n ? t.filter((e) => {
646
- let t = e.filename?.toLowerCase() ?? "", r = e.alt?.toLowerCase() ?? "";
647
- return t.includes(n) || r.includes(n);
648
- }) : t, a = e?.cursor ? Number.parseInt(e.cursor, 10) : 0, o = Number.isFinite(a) && a > 0 ? a : 0, s = i.slice(o, o + z), c = { items: s }, l = o + s.length;
649
- return l < i.length && (c.nextCursor = String(l)), c;
650
- },
651
- async create(e) {
652
- let t = await a(e.file), n = (/* @__PURE__ */ new Date()).toISOString(), o = {
653
- id: f(),
654
- url: t,
655
- filename: e.filename || e.file.name,
656
- createdAt: n,
657
- updatedAt: n,
658
- size: e.file.size
659
- };
660
- return e.alt !== void 0 && (o.alt = e.alt), e.file.type && (o.mimeType = e.file.type), e.folderId !== void 0 && (o.folderId = e.folderId), i([o, ...r()]), o;
661
- },
662
- async update(e, t) {
663
- let n = r(), a = n.findIndex((t) => t.id === e);
664
- if (a === -1) throw Error(`[Templatical] Media asset not found: ${e}`);
665
- let o = n[a], s = {
666
- ...o,
667
- ...t,
668
- id: o.id,
669
- url: o.url,
670
- updatedAt: (/* @__PURE__ */ new Date()).toISOString()
671
- }, c = [...n];
672
- return c[a] = s, i(c), s;
673
- },
674
- async delete(e) {
675
- let t = r();
676
- for (let n of e) if (!t.some((e) => e.id === n)) throw Error(`[Templatical] Media asset not found: ${n}`);
677
- let n = new Set(e);
678
- i(t.filter((e) => !n.has(e.id)));
679
- },
680
- folders: !1,
681
- replace: !1,
682
- importFromUrl: !1,
683
- checkUsage: !1,
684
- frequentlyUsed: !1,
685
- storage: !1
686
- };
687
- }
688
- //#endregion
689
- //#region ../core/src/version-history.ts
690
- function V(e) {
691
- let { provider: n, getTemplateId: r } = e, i = t([]), a = t(!1), s = t(void 0), c = t(!1), l = /* @__PURE__ */ new Map(), u = o(() => typeof n.create == "function"), d = o(() => typeof n.restore == "function");
692
- function f(e) {
693
- let t = r();
694
- if (!t) throw new _(`[Templatical] Version history: ${e} needs a template. Call create() or load() first.`);
695
- return t;
696
- }
697
- function p(e) {
698
- throw new _(`[Templatical] Version history: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
699
- }
700
- function m(t) {
701
- S(e.onError, t);
702
- }
703
- async function h(t) {
704
- let r = f("list");
705
- a.value = !0;
706
- try {
707
- let e = await n.list(r, t);
708
- i.value = e.versions, s.value = e.nextCursor;
709
- } catch (t) {
710
- throw e.onError?.(t), t;
711
- } finally {
712
- a.value = !1;
713
- }
714
- }
715
- function g(e) {
716
- return e.content ?? l.get(e.id) ?? null;
717
- }
718
- async function v(t) {
719
- let r = g(t);
720
- if (r) return r;
721
- let i = f("get");
722
- try {
723
- let e = await n.get(i, t.id);
724
- return l.set(t.id, e), e;
725
- } catch (t) {
726
- throw e.onError?.(t), t;
727
- }
728
- }
729
- async function y(t, r) {
730
- let { create: a } = n;
731
- typeof a != "function" && p("create");
732
- let o = f("create");
733
- try {
734
- let e = await a(o, t, r);
735
- return i.value = [e, ...i.value], m(() => n.onCreated?.(e)), e;
736
- } catch (t) {
737
- throw e.onError?.(t), t;
738
- }
739
- }
740
- async function b(t) {
741
- let { restore: r } = n;
742
- typeof r != "function" && p("restore");
743
- let i = f("restore"), a;
744
- c.value = !0;
745
- try {
746
- a = await r(i, t);
747
- } catch (t) {
748
- throw e.onError?.(t), t;
749
- } finally {
750
- c.value = !1;
751
- }
752
- return m(() => n.onRestored?.(a)), a;
753
- }
754
- return {
755
- nextCursor: s,
756
- versions: i,
757
- isLoading: a,
758
- isRestoring: c,
759
- canCreate: u,
760
- canRestore: d,
761
- load: h,
762
- peekContent: g,
763
- resolveContent: v,
764
- create: y,
765
- restore: b
766
- };
767
- }
768
- //#endregion
769
- //#region ../core/src/comments.ts
770
- function H(e) {
771
- let { provider: n, getTemplateId: r, getUser: i } = e, a = t([]), s = t(!1), c = t(!1), l = o(() => typeof n.create == "function"), u = o(() => typeof n.update == "function"), d = o(() => typeof n.delete == "function"), f = o(() => typeof n.setResolved == "function"), p = o(() => a.value.reduce((e, t) => e + 1 + (t.replies?.length ?? 0), 0)), m = o(() => a.value.filter((e) => !e.resolvedAt).length), h = o(() => {
772
- let e = /* @__PURE__ */ new Map();
773
- for (let t of a.value) t.blockId && e.set(t.blockId, (e.get(t.blockId) ?? 0) + 1 + (t.replies?.length ?? 0));
774
- return e;
775
- });
776
- function g(e) {
777
- let t = r();
778
- if (!t) throw new _(`[Templatical] Comments: ${e} needs a template. Call create() or load() first.`);
779
- return t;
780
- }
781
- function v(e) {
782
- let t = i();
783
- if (!t) throw new _(`[Templatical] Comments: ${e} needs to know who is commenting. Pass init({ user: { id, name } }) — an unattributed comment is not written.`);
784
- return t;
785
- }
786
- function y(e) {
787
- throw new _(`[Templatical] Comments: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
788
- }
789
- function b(e) {
790
- for (let t of a.value) {
791
- if (t.id === e) return t;
792
- for (let n of t.replies ?? []) if (n.id === e) return n;
793
- }
794
- return null;
795
- }
796
- function C(e) {
797
- let t = i();
798
- return t !== null && e.author.id === t.id;
799
- }
800
- function w(t) {
801
- let n = x(t);
802
- throw e.onError?.(n), n;
803
- }
804
- function T(t) {
805
- S(e.onError, t);
806
- }
807
- function E(e, t, n) {
808
- return [
809
- ...e.slice(0, t),
810
- n,
811
- ...e.slice(t + 1)
812
- ];
813
- }
814
- function D(e, t) {
815
- return e !== void 0 && JSON.stringify(e) === JSON.stringify(t);
816
- }
817
- function O(e) {
818
- if (e.parentId) {
819
- let t = !1, n = a.value.map((n) => {
820
- if (n.id !== e.parentId) return n;
821
- let r = n.replies ?? [], i = r.findIndex((t) => t.id === e.id);
822
- return i !== -1 && D(r[i], e) ? n : (t = !0, {
823
- ...n,
824
- replies: i === -1 ? [...r, e] : E(r, i, e)
825
- });
826
- });
827
- return t && (a.value = n), t;
828
- }
829
- let t = a.value.findIndex((t) => t.id === e.id);
830
- if (t === -1) return a.value = [...a.value, e], !0;
831
- let n = {
832
- ...e,
833
- replies: e.replies ?? a.value[t].replies
834
- };
835
- return !D(a.value[t], n) && (a.value = E(a.value, t, n), !0);
836
- }
837
- function k(e, t) {
838
- let n = b(e), r = t ?? n?.parentId ?? null;
839
- return r ? a.value = a.value.map((t) => t.id === r ? {
840
- ...t,
841
- replies: (t.replies ?? []).filter((t) => t.id !== e)
842
- } : t) : a.value = a.value.filter((t) => t.id !== e), n;
843
- }
844
- async function A(e) {
845
- let t = g("list");
846
- s.value = !0;
847
- try {
848
- a.value = await n.list(t, e);
849
- } catch (e) {
850
- w(e);
851
- } finally {
852
- s.value = !1;
853
- }
854
- }
855
- async function j(e) {
856
- let { create: t } = n;
857
- typeof t != "function" && y("create");
858
- let r = g("create");
859
- v("create"), c.value = !0;
860
- try {
861
- let i = await t(r, e);
862
- return O(i), T(() => n.onCreated?.(i, { origin: "local" })), i;
863
- } catch (e) {
864
- w(e);
865
- } finally {
866
- c.value = !1;
867
- }
868
- }
869
- async function M(e, t) {
870
- let { update: r } = n;
871
- typeof r != "function" && y("update");
872
- let i = g("update");
873
- v("update"), c.value = !0;
874
- try {
875
- let a = await r(i, e, t);
876
- return O(a), T(() => n.onUpdated?.(a, { origin: "local" })), a;
877
- } catch (e) {
878
- w(e);
879
- } finally {
880
- c.value = !1;
881
- }
882
- }
883
- async function N(e) {
884
- let { delete: t } = n;
885
- typeof t != "function" && y("delete");
886
- let r = g("delete");
887
- v("delete");
888
- let i = b(e);
889
- c.value = !0;
890
- try {
891
- await t(r, e), k(e), i && T(() => n.onDeleted?.(i, { origin: "local" }));
892
- } catch (e) {
893
- w(e);
894
- } finally {
895
- c.value = !1;
896
- }
897
- }
898
- async function P(e, t) {
899
- let { setResolved: r } = n;
900
- typeof r != "function" && y("setResolved");
901
- let i = g("setResolved");
902
- v("setResolved"), c.value = !0;
903
- try {
904
- let a = await r(i, e, t);
905
- return O(a), T(() => (a.resolvedAt ? n.onResolved : n.onUnresolved)?.(a, { origin: "local" })), a;
906
- } catch (e) {
907
- w(e);
908
- } finally {
909
- c.value = !1;
910
- }
911
- }
912
- function F(e) {
913
- O(e) && T(() => n.onCreated?.(e, { origin: "remote" }));
914
- }
915
- function I(e) {
916
- O(e) && T(() => (e.resolvedAt ? n.onResolved : n.onUpdated)?.(e, { origin: "remote" }));
917
- }
918
- function L(e, t) {
919
- let r = k(e, t);
920
- r && T(() => n.onDeleted?.(r, { origin: "remote" }));
921
- }
922
- return {
923
- comments: a,
924
- isLoading: s,
925
- isSubmitting: c,
926
- canCreate: l,
927
- canUpdate: u,
928
- canDelete: d,
929
- canResolve: f,
930
- totalCount: p,
931
- unresolvedCount: m,
932
- commentCountByBlock: h,
933
- load: A,
934
- create: j,
935
- update: M,
936
- remove: N,
937
- setResolved: P,
938
- find: b,
939
- isOwn: C,
940
- applyRemoteCreate: F,
941
- applyRemoteUpdate: I,
942
- applyRemoteDelete: L
943
- };
944
- }
945
- function U(t) {
946
- let { comments: n, provider: r, getTemplateId: a } = t, { subscribe: o } = r;
947
- if (typeof o != "function") return;
948
- let s = null;
949
- function c() {
950
- s?.(), s = null;
951
- }
952
- e(() => a(), (e) => {
953
- c(), e && (s = o(e, (e) => {
954
- switch (e.type) {
955
- case "created":
956
- n.applyRemoteCreate(e.comment);
957
- break;
958
- case "updated":
959
- n.applyRemoteUpdate(e.comment);
960
- break;
961
- case "deleted": n.applyRemoteDelete(e.commentId, e.parentId);
962
- }
963
- }));
964
- }, { immediate: !0 }), i(c);
965
- }
966
- //#endregion
967
- //#region src/utils/blockTypeLabels.ts
968
- function W(e, t) {
969
- return t.blocks[e] ?? e;
970
- }
971
- function G(e, t, n = []) {
972
- if (e.type !== "custom") return W(e.type, t);
973
- let { customType: r } = e;
974
- return n.find((e) => e.type === r)?.name ?? r;
975
- }
976
- //#endregion
977
- //#region src/utils/resolveFieldColors.ts
978
- function K(e, t) {
979
- let n = b({ presets: e.presets }, y), r = n.presets.length === 0;
980
- return {
981
- presets: r ? t.presets : n.presets,
982
- allowCustom: t.allowCustom === !1 ? !1 : e.allowCustom ?? t.allowCustom,
983
- invalidPresets: n.invalidPresets,
984
- emptyPresets: e.presets !== void 0 && e.presets.length === 0,
985
- presetsInherited: r,
986
- allowCustomIgnored: e.allowCustom === !0 && t.allowCustom === !1
987
- };
988
- }
989
- //#endregion
990
- //#region src/composables/useImageDrop.ts
991
- var q = "image/";
992
- function J(e) {
993
- let { target: t, onFiles: n, enabled: r } = e, i = () => r === void 0 || c(r), { isOverDropZone: a } = v(t, {
994
- preventDefaultForUnhandled: !0,
995
- onDrop: (e) => {
996
- if (!i()) return;
997
- let t = (e ?? []).filter((e) => e.type.startsWith(q));
998
- t.length > 0 && n([t[0]]);
999
- }
1000
- });
1001
- return { isOver: o(() => i() && a.value) };
1002
- }
1003
- //#endregion
1004
- //#region src/constants/socialIcons.ts
1005
- var Y = h, X = {
1006
- small: 24,
1007
- medium: 32,
1008
- large: 48
1009
- }, Z = [
1010
- "facebook",
1011
- "twitter",
1012
- "instagram",
1013
- "linkedin",
1014
- "youtube",
1015
- "tiktok",
1016
- "pinterest",
1017
- "email",
1018
- "website",
1019
- "whatsapp",
1020
- "telegram",
1021
- "discord",
1022
- "snapchat",
1023
- "reddit",
1024
- "github",
1025
- "dribbble",
1026
- "behance"
1027
- ];
1028
- //#endregion
1029
- export { A as _, K as a, O as b, U as c, B as d, L as f, M as g, N as h, J as i, H as l, P as m, Y as n, G as o, F as p, Z as r, W as s, X as t, V as u, j as v, w as x, k as y };
1030
-
1031
- //# sourceMappingURL=socialIcons-ClJVDZwt.js.map