@templatical/editor 0.48.0 → 0.50.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.
- package/README.md +4 -2
- package/dist/AiAltTextPopover-BZQ95GXL.js +106 -0
- package/dist/AiAltTextReview-DoBEudnE.js +206 -0
- package/dist/AiChatPanel-Bs6sES3b.js +550 -0
- package/dist/AiHeaderMenu-BEaTazx4.js +36 -0
- package/dist/AiPanels-CfN7A-ZA.js +33 -0
- package/dist/AiRewriteMenu-C3ZfDDYy.js +276 -0
- package/dist/{BlockIssueBadge-BShkuJis.js → BlockIssueBadge-CKwZ1Vgn.js} +11 -11
- package/dist/{BlockPreviewCanvas-tzAtDkXH.js → BlockPreviewCanvas-BXNLLLYi.js} +33 -33
- package/dist/CloudHeaderExtras-CsJMEiyN.js +23 -0
- package/dist/CloudPanels-B4F5m7vy.js +168 -0
- package/dist/CollaborationNotices-CNuDp7Y2.js +76 -0
- package/dist/CollaboratorBar-BtHPiuHq.js +123 -0
- package/dist/{CommentsPanel-DiWzYtnZ.js → CommentsPanel-CyCM-BvT.js} +4 -4
- package/dist/CommentsSidebar-Ca3DyFOX.js +500 -0
- package/dist/{cdn/chunks/CountdownBlock-Dasj191h.js → CountdownBlock-DR4Xm2-T.js} +24 -26
- package/dist/{CountdownToolbar-C4y3Ft7H.js → CountdownToolbar-CEIMPojJ.js} +56 -56
- package/dist/IssuesPanel-C8nMUccy.js +360 -0
- package/dist/{LoadingTrack-6XsqodoY.js → LoadingTrack-B0RKQWq3.js} +2 -2
- package/dist/{LogicTagInsertButton-B1_Wy0AN.js → LogicTagInsertButton-CqfU52CO.js} +272 -267
- package/dist/{cdn/chunks/MediaEditModal-zXfcArr4.js → MediaEditModal-DHtkZ4OU.js} +202 -186
- package/dist/{MediaPanels-9mDBv4aL.js → MediaPanels-CGcOB2pR.js} +4 -4
- package/dist/{MergeTagInput-fOewuF27.js → MergeTagInput-YnEkorTZ.js} +26 -26
- package/dist/{MergeTagModeToggle-BXamLcv7.js → MergeTagModeToggle-Dhb1DAcQ.js} +40 -40
- package/dist/MergeTagTextarea-e4lnwtqZ.js +70 -0
- package/dist/ParagraphEditor-B6NK0ytw.js +799 -0
- package/dist/{RestoreVersionDialog-BEKXx9xk.js → RestoreVersionDialog-Bq_IGOLJ.js} +22 -22
- package/dist/{RichTextEditorContent-D7kp7iig.js → RichTextEditorContent-AOM6fylS.js} +48 -48
- package/dist/{SaveBlockDialog-SJu0lecx.js → SaveBlockDialog-C8GngfQx.js} +88 -88
- package/dist/{cdn/chunks/SavedBlocksBrowserModal-CtnB58p_.js → SavedBlocksBrowserModal-wnkvxpm_.js} +102 -99
- package/dist/{SavedBlocksPanels-Dr5Fxx9Z.js → SavedBlocksPanels-C2s3q0pJ.js} +9 -9
- package/dist/{SavedBlocksPickBar-DnEWBZJy.js → SavedBlocksPickBar-BjcTiV87.js} +14 -14
- package/dist/TemplateSettings-BVBWpiDU.js +237 -0
- package/dist/{TestEmailModal-CbRY8HQx.js → TestEmailModal-SyhO9bn3.js} +57 -57
- package/dist/{TestEmailPanel-NAOmt3xi.js → TestEmailPanel-BDd2Rtav.js} +4 -4
- package/dist/{TitleEditor-Cc3DHbuN.js → TitleEditor-pxD53y_l.js} +75 -75
- package/dist/ToggleSwitch-D51U9cmR.js +37 -0
- package/dist/Toolbar-CZSPZYbj.js +3153 -0
- package/dist/{TplModal-Bz4-IZ9R.js → TplModal-DCzBzicE.js} +19 -19
- package/dist/{VersionHistoryMenu-CjV1d1zk.js → VersionHistoryMenu-BQeWPT85.js} +35 -35
- package/dist/{VersionHistoryPanels-BtwxrKJn.js → VersionHistoryPanels-BBm7YbRQ.js} +5 -5
- package/dist/{VersionPreviewBanner-BLAei1kj.js → VersionPreviewBanner-DUGF0tUJ.js} +10 -10
- package/dist/WrapperBlock-BO619LAb.js +45 -0
- package/dist/aiErrors-D5UOoYOt.js +41 -0
- package/dist/aiImageContext-BH4Ss1h3.js +48 -0
- package/dist/aiRewritePreview-DLGM05Ge.js +44 -0
- package/dist/{blockTypeIcons-CEDZytqP.js → blockTypeIcons-NzaYvAI4.js} +15 -14
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-CbNzJM3I.js → ca-C7mTzW1r.js} +147 -8
- package/dist/cdn/chunks/AiAltTextPopover-CQu0Q_ZX.js +107 -0
- package/dist/cdn/chunks/AiAltTextPopover-CQu0Q_ZX.js.map +1 -0
- package/dist/cdn/chunks/AiAltTextReview-CI2HbWfn.js +207 -0
- package/dist/cdn/chunks/AiAltTextReview-CI2HbWfn.js.map +1 -0
- package/dist/cdn/chunks/AiChatPanel-BYqn1bKu.js +476 -0
- package/dist/cdn/chunks/AiChatPanel-BYqn1bKu.js.map +1 -0
- package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js +37 -0
- package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js.map +1 -0
- package/dist/cdn/chunks/AiPanels-CIFKQv8Y.js +34 -0
- package/dist/cdn/chunks/AiPanels-CIFKQv8Y.js.map +1 -0
- package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js +208 -0
- package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js → BlockIssueBadge-DAn2vsMJ.js} +13 -13
- package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js.map → BlockIssueBadge-DAn2vsMJ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js → BlockPreviewCanvas-D0--EQkP.js} +39 -39
- package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js.map → BlockPreviewCanvas-D0--EQkP.js.map} +1 -1
- package/dist/cdn/chunks/CloudHeaderExtras-DaUU8P8R.js +25 -0
- package/dist/cdn/chunks/CloudHeaderExtras-DaUU8P8R.js.map +1 -0
- package/dist/cdn/chunks/{CloudPanels-awqHfJqC.js → CloudPanels-C3jsxo_f.js} +52 -100
- package/dist/cdn/chunks/CloudPanels-C3jsxo_f.js.map +1 -0
- package/dist/cdn/chunks/CollaborationNotices-DjRI8gvs.js +78 -0
- package/dist/cdn/chunks/CollaborationNotices-DjRI8gvs.js.map +1 -0
- package/dist/cdn/chunks/CollaboratorBar-Dfzm6A9A.js +72 -0
- package/dist/cdn/chunks/CollaboratorBar-Dfzm6A9A.js.map +1 -0
- package/dist/cdn/chunks/CommentsPanel-CSO79OeX.js +20 -0
- package/dist/cdn/chunks/{CommentsPanel-CbzxwsyI.js.map → CommentsPanel-CSO79OeX.js.map} +1 -1
- package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js +470 -0
- package/dist/cdn/chunks/{CommentsSidebar-DWPHZuQm.js.map → CommentsSidebar-CCvplq1Z.js.map} +1 -1
- package/dist/{CountdownBlock-zx39Dyby.js → cdn/chunks/CountdownBlock-C6USdwk3.js} +19 -17
- package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js.map → CountdownBlock-C6USdwk3.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js → CountdownToolbar-Cjud2Tos.js} +71 -71
- package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js.map → CountdownToolbar-Cjud2Tos.js.map} +1 -1
- package/dist/cdn/chunks/IssuesPanel-BaWHPDxZ.js +340 -0
- package/dist/cdn/chunks/IssuesPanel-BaWHPDxZ.js.map +1 -0
- package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js → LoadingTrack-BIcL4NiY.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js.map → LoadingTrack-BIcL4NiY.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BMB9vShs.js → LogicTagInsertButton-CsL2JDOG.js} +374 -369
- package/dist/cdn/chunks/LogicTagInsertButton-CsL2JDOG.js.map +1 -0
- package/dist/{MediaEditModal-ByOvznRC.js → cdn/chunks/MediaEditModal-BuHCiyMu.js} +544 -560
- package/dist/cdn/chunks/MediaEditModal-BuHCiyMu.js.map +1 -0
- package/dist/cdn/chunks/MediaPanels-DAgUf_T1.js +45 -0
- package/dist/cdn/chunks/{MediaPanels-Cp4XB_dH.js.map → MediaPanels-DAgUf_T1.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js → MergeTagInput-C8U-7LxL.js} +34 -34
- package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js.map → MergeTagInput-C8U-7LxL.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js → MergeTagModeToggle-Mm-p0A52.js} +41 -41
- package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js.map → MergeTagModeToggle-Mm-p0A52.js.map} +1 -1
- package/dist/cdn/chunks/MergeTagTextarea-DuLScsWM.js +72 -0
- package/dist/cdn/chunks/MergeTagTextarea-DuLScsWM.js.map +1 -0
- package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js +634 -0
- package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js → RestoreVersionDialog-CdA5osuA.js} +26 -26
- package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js.map → RestoreVersionDialog-CdA5osuA.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js → RichTextEditorContent-Q1d2xqBT.js} +46 -46
- package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js.map → RichTextEditorContent-Q1d2xqBT.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js → SaveBlockDialog-CijargAy.js} +78 -78
- package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js.map → SaveBlockDialog-CijargAy.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +357 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CtnB58p_.js.map → SavedBlocksBrowserModal-DtOz_X5S.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksPanels-BowyED5h.js +38 -0
- package/dist/cdn/chunks/{SavedBlocksPanels-BhEOMzEQ.js.map → SavedBlocksPanels-BowyED5h.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js → SavedBlocksPickBar-BPRaJBv3.js} +19 -19
- package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js.map → SavedBlocksPickBar-BPRaJBv3.js.map} +1 -1
- package/dist/cdn/chunks/TemplateSettings-ByZeBO34.js +209 -0
- package/dist/cdn/chunks/{TemplateSettings-BkkWTDHD.js.map → TemplateSettings-ByZeBO34.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js → TestEmailModal-BUVTj3Ic.js} +54 -54
- package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js.map → TestEmailModal-BUVTj3Ic.js.map} +1 -1
- package/dist/cdn/chunks/TestEmailPanel-BxutYoWg.js +35 -0
- package/dist/cdn/chunks/{TestEmailPanel-DxrKuctP.js.map → TestEmailPanel-BxutYoWg.js.map} +1 -1
- package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js +199 -0
- package/dist/cdn/chunks/{TitleEditor-CsZiG3TT.js.map → TitleEditor-Ccv6uoTz.js.map} +1 -1
- package/dist/cdn/chunks/ToggleSwitch-Ctdmj621.js +39 -0
- package/dist/cdn/chunks/ToggleSwitch-Ctdmj621.js.map +1 -0
- package/dist/cdn/chunks/{Toolbar-C_x2TfFk.js → Toolbar-DoprRgTn.js} +1097 -1101
- package/dist/cdn/chunks/Toolbar-DoprRgTn.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-DC_eodTV.js → TplModal-BXQzmsJX.js} +21 -21
- package/dist/cdn/chunks/{TplModal-DC_eodTV.js.map → TplModal-BXQzmsJX.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js → VersionHistoryMenu-BF2fNCvq.js} +41 -41
- package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js.map → VersionHistoryMenu-BF2fNCvq.js.map} +1 -1
- package/dist/cdn/chunks/VersionHistoryPanels-Dal0Uk69.js +48 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-DXSqmaLS.js.map → VersionHistoryPanels-Dal0Uk69.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js → VersionPreviewBanner-BaGcn-b1.js} +13 -13
- package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js.map → VersionPreviewBanner-BaGcn-b1.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-DkQJtLz0.js +47 -0
- package/dist/cdn/chunks/{WrapperBlock-gG_Bleug.js.map → WrapperBlock-DkQJtLz0.js.map} +1 -1
- package/dist/cdn/chunks/aiErrors-D5UOoYOt.js +43 -0
- package/dist/cdn/chunks/aiErrors-D5UOoYOt.js.map +1 -0
- package/dist/cdn/chunks/aiImageContext-BH4Ss1h3.js +50 -0
- package/dist/cdn/chunks/aiImageContext-BH4Ss1h3.js.map +1 -0
- package/dist/cdn/chunks/aiRewritePreview-DLGM05Ge.js +46 -0
- package/dist/cdn/chunks/aiRewritePreview-DLGM05Ge.js.map +1 -0
- package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +22 -0
- package/dist/cdn/chunks/{blockTypeIcons-HrMJDfVg.js.map → blockTypeIcons-ikZAmd6U.js.map} +1 -1
- package/dist/{ca-CbNzJM3I.js → cdn/chunks/ca-C7mTzW1r.js} +149 -6
- package/dist/cdn/chunks/ca-C7mTzW1r.js.map +1 -0
- package/dist/cdn/chunks/createCloudRuntime-DpBWhrv3.js +1408 -0
- package/dist/cdn/chunks/createCloudRuntime-DpBWhrv3.js.map +1 -0
- package/dist/cdn/chunks/de-DBOTcDj2.js +22 -0
- package/dist/cdn/chunks/de-DBOTcDj2.js.map +1 -0
- package/dist/{de-DMquBpZM.js → cdn/chunks/de-DNuYQTmS.js} +149 -6
- package/dist/cdn/chunks/de-DNuYQTmS.js.map +1 -0
- package/dist/{dist-CUWI-IvA.js → cdn/chunks/dist-Bo8Thh8v.js} +60 -58
- package/dist/cdn/chunks/{dist-CjL6JHML.js.map → dist-Bo8Thh8v.js.map} +1 -1
- package/dist/cdn/chunks/dist-S-rLGqax.js +406 -0
- package/dist/cdn/chunks/{dist-MNQYSEWU.js.map → dist-S-rLGqax.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-DrsNwZuB.js → draggable-DZ0gwUJ6.js} +1359 -1266
- package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js → editor-modal-CI6EfeMd.js} +881 -881
- package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js.map → editor-modal-CI6EfeMd.js.map} +1 -1
- package/dist/cdn/chunks/en-CDhWRrF_.js +22 -0
- package/dist/cdn/chunks/en-CDhWRrF_.js.map +1 -0
- package/dist/{en-C8Mp71sO.js → cdn/chunks/en-CW71OK66.js} +149 -6
- package/dist/cdn/chunks/en-CW71OK66.js.map +1 -0
- package/dist/cdn/chunks/en-ifvu6oPv.js +1 -0
- package/dist/{es-Byq4tthI.js → cdn/chunks/es-DdK7zQfi.js} +149 -6
- package/dist/cdn/chunks/es-DdK7zQfi.js.map +1 -0
- package/dist/cdn/chunks/{extensions-hJ9VqzDc.js → extensions-taJTZlLK.js} +71 -71
- package/dist/cdn/chunks/{extensions-hJ9VqzDc.js.map → extensions-taJTZlLK.js.map} +1 -1
- package/dist/{fr-B3j35HEw.js → cdn/chunks/fr-Dz5Bgb7-.js} +149 -6
- package/dist/cdn/chunks/fr-Dz5Bgb7-.js.map +1 -0
- package/dist/cdn/chunks/{icons-aTYwH5-g.js → icons-DNX6StSs.js} +183 -150
- package/dist/cdn/chunks/icons-DNX6StSs.js.map +1 -0
- package/dist/{ja-D7txAuGS.js → cdn/chunks/ja-Di-zJiT8.js} +149 -6
- package/dist/cdn/chunks/ja-Di-zJiT8.js.map +1 -0
- package/dist/cdn/chunks/keys-BTpmg2Tt.js +12 -0
- package/dist/cdn/chunks/keys-BTpmg2Tt.js.map +1 -0
- package/dist/{logger-BBlvSn6q.js → cdn/chunks/logger-Tj0RPskW.js} +7 -1
- package/dist/cdn/chunks/logger-Tj0RPskW.js.map +1 -0
- package/dist/{nl-ClJ3BY3F.js → cdn/chunks/nl-CvVuHYFL.js} +149 -6
- package/dist/cdn/chunks/nl-CvVuHYFL.js.map +1 -0
- package/dist/cdn/chunks/normalizeMergeTagMarkup-DyePIGqu.js +199 -0
- package/dist/cdn/chunks/normalizeMergeTagMarkup-DyePIGqu.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js → preRenderCustomBlocks-Dc-QLntG.js} +4 -4
- package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js.map → preRenderCustomBlocks-Dc-QLntG.js.map} +1 -1
- package/dist/cdn/chunks/pt-BR-CHM-ZKvE.js +22 -0
- package/dist/cdn/chunks/pt-BR-CHM-ZKvE.js.map +1 -0
- package/dist/{pt-BR-DibcXcmv.js → cdn/chunks/pt-BR-ZhO4vgyq.js} +149 -6
- package/dist/cdn/chunks/pt-BR-ZhO4vgyq.js.map +1 -0
- package/dist/cdn/chunks/{pusher-C8DeiO2X.js → pusher-Cs4GGEtd.js} +2 -2
- package/dist/cdn/chunks/pusher-Cs4GGEtd.js.map +1 -0
- package/dist/cdn/chunks/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-Y_bBpyJl.js} +1 -1
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +62 -0
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +1 -0
- package/dist/cdn/chunks/socialIcons-BBvsTwCV.js +2032 -0
- package/dist/cdn/chunks/socialIcons-BBvsTwCV.js.map +1 -0
- package/dist/cdn/chunks/{src-DYCDeBDM.js → src-BNFnxfrA.js} +694 -329
- package/dist/cdn/chunks/src-BNFnxfrA.js.map +1 -0
- package/dist/cdn/chunks/{src-dZ4D_tuP.js → src-BcTUmgLe.js} +181 -181
- package/dist/cdn/chunks/src-BcTUmgLe.js.map +1 -0
- package/dist/cdn/chunks/src-Bs_yxk3h.js +4392 -0
- package/dist/cdn/chunks/src-Bs_yxk3h.js.map +1 -0
- package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +2 -4
- package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js.map → styleConstants-v1dNKgJf.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BPigZk5G.js → tiptap-CtVrAViq.js} +44 -44
- package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js → useCloudI18n-AVXhzbhQ.js} +4 -4
- package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js.map → useCloudI18n-AVXhzbhQ.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +2586 -0
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-CTc6O8al.js.map → useEditorRoot-CR5GjJD6.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js → useI18n-CbVubQhM.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js.map → useI18n-CbVubQhM.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js → useLogicTag-B49Nc53Y.js} +5 -5
- package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js.map → useLogicTag-B49Nc53Y.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js → useMergeTag-B0KryMj8.js} +7 -7
- package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js.map → useMergeTag-B0KryMj8.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js → usePopoverPosition-C829ps5i.js} +4 -4
- package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js.map → usePopoverPosition-C829ps5i.js.map} +1 -1
- package/dist/cdn/chunks/useScrollToBlock-CAwvulog.js +51 -0
- package/dist/cdn/chunks/useScrollToBlock-CAwvulog.js.map +1 -0
- package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js → withCurrentFont-DFPXeVfG.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js.map → withCurrentFont-DFPXeVfG.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +2235 -1311
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ClwqRMgv.js → check-yYsp5Xpk.js} +1 -1
- package/dist/{chevron-down-te6qn-zE.js → chevron-down-DTmD06_j.js} +1 -1
- package/dist/{chevron-right-W2hbH1FM.js → chevron-right-BSeYZOxc.js} +1 -1
- package/dist/{chevron-up-Bf5Zo7o4.js → chevron-up-BOApwrxi.js} +1 -1
- package/dist/{circle-alert-CIEGV5DN.js → circle-alert-BMszY8im.js} +1 -1
- package/dist/{clock-Y4cx0gkJ.js → clock-HADxnl6-.js} +1 -1
- package/dist/createCloudRuntime-DVQI_ReU.js +1379 -0
- package/dist/{createLucideIcon-CYHXK9hn.js → createLucideIcon-0lYYH3EW.js} +6 -6
- package/dist/de-DBOTcDj2.js +20 -0
- package/dist/{cdn/chunks/de-DMquBpZM.js → de-DNuYQTmS.js} +147 -8
- package/dist/{cdn/chunks/dist-CjL6JHML.js → dist-C7EtxNCb.js} +49 -51
- package/dist/{dist-DuufrR8O.js → dist-C_dV9QAx.js} +130 -130
- package/dist/{cdn/chunks/dist-MNQYSEWU.js → dist-DI4_YSnG.js} +111 -110
- package/dist/{dist-tsmnQugO.js → dist-DtOF3bDW.js} +648 -294
- package/dist/{editor-modal-AlVLkU91.js → editor-modal-Bzhl-PgI.js} +832 -834
- package/dist/en-CDhWRrF_.js +20 -0
- package/dist/{cdn/chunks/en-C8Mp71sO.js → en-CW71OK66.js} +147 -8
- package/dist/en-DwV15ltA.js +1 -0
- package/dist/{cdn/chunks/es-Byq4tthI.js → es-DdK7zQfi.js} +147 -8
- package/dist/{extensions-pjO8VGkM.js → extensions-CdyweA50.js} +54 -54
- package/dist/{eye-Ddnz8nnm.js → eye-DWkSvYpj.js} +1 -1
- package/dist/{cdn/chunks/fr-B3j35HEw.js → fr-Dz5Bgb7-.js} +147 -8
- package/dist/image-DesWjcZ4.js +28 -0
- package/dist/index.d.ts +640 -48
- package/dist/{info-DXLmzoeY.js → info-ClWJGoZy.js} +1 -1
- package/dist/{cdn/chunks/ja-D7txAuGS.js → ja-Di-zJiT8.js} +147 -8
- package/dist/keys-Zd9KWRD1.js +10 -0
- package/dist/{link-Cel46wgo.js → link-BqRicFTA.js} +1 -1
- package/dist/{list-Cl0GwiV9.js → list-bojQr9bn.js} +1 -1
- package/dist/{loader-circle-uAwpvfys.js → loader-circle-B2B8LbUu.js} +1 -1
- package/dist/{cdn/chunks/logger-ByvdoAwq.js → logger-k9Nbj3Cp.js} +5 -3
- package/dist/{message-circle-DWU1pTM_.js → message-circle-BEuiNsyZ.js} +1 -1
- package/dist/{cdn/chunks/nl-ClJ3BY3F.js → nl-CvVuHYFL.js} +147 -8
- package/dist/normalizeMergeTagMarkup-P6SUBuPv.js +197 -0
- package/dist/{package-CbyG_yU_.js → package-DCROB4aM.js} +1 -1
- package/dist/{pencil-BzoDcwKu.js → pencil-CEotCKbf.js} +1 -1
- package/dist/{preRenderCustomBlocks-DMP5RuHl.js → preRenderCustomBlocks-D8rr61_z.js} +3 -3
- package/dist/pt-BR-CHM-ZKvE.js +20 -0
- package/dist/{cdn/chunks/pt-BR-DibcXcmv.js → pt-BR-ZhO4vgyq.js} +147 -8
- package/dist/{refresh-cw-9WinWixo.js → refresh-cw-C6M2mHNC.js} +12 -2
- package/dist/{runtime-dom.esm-bundler-lFF-QG3j.js → runtime-dom.esm-bundler-B8WCZWUm.js} +134 -134
- package/dist/sanitizeRichTextHtml-DeISfLFr.js +60 -0
- package/dist/{search-CqgGq1gG.js → search-Cy99zPYf.js} +1 -1
- package/dist/{send-Ceo3c9Db.js → send-BDLJFsf3.js} +1 -1
- package/dist/{smartphone-CcLaCpGK.js → smartphone-CVvQaNA4.js} +1 -1
- package/dist/socialIcons-Dd-jRiVe.js +2086 -0
- package/dist/{sparkles-Do9XjAuT.js → sparkles-Ce0Qz0ox.js} +1 -1
- package/dist/square-BWlolnXe.js +15 -0
- package/dist/style.css +1 -1
- package/dist/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +1 -3
- package/dist/templatical-editor.js +2272 -1327
- package/dist/{text-align-start-DvzC0HQA.js → text-align-start-D1V5gPTy.js} +1 -1
- package/dist/{trash-vlINTx32.js → trash-CZfiUFmw.js} +1 -1
- package/dist/{triangle-alert-MRYSJ9T2.js → triangle-alert-CFDzyFC7.js} +1 -1
- package/dist/upload-BJfvdIrD.js +36 -0
- package/dist/{useCloudI18n-Nwqo7pI_.js → useCloudI18n-Dcjua65H.js} +5 -5
- package/dist/{useEditorCore-PvErWWsp.js → useEditorCore-BTLeAVlM.js} +1534 -1549
- package/dist/{useEditorRoot-BD3piYtD.js → useEditorRoot-DUy67lJu.js} +2 -2
- package/dist/{useI18n-CxVEpurs.js → useI18n-BdoY7xDE.js} +4 -4
- package/dist/{useLogicTag-BHn67tDd.js → useLogicTag-DKLZ1T9H.js} +3 -3
- package/dist/{useMergeTag-CRkm5Ig6.js → useMergeTag-Bhdx7AKk.js} +5 -5
- package/dist/{usePopoverPosition-CwnH1o5g.js → usePopoverPosition-BZea45XK.js} +2 -2
- package/dist/useScrollToBlock-FmNMALM_.js +74 -0
- package/dist/{vue.runtime.esm-bundler-CAzmrXdD.js → vue.runtime.esm-bundler-DgFJ6GPG.js} +1182 -1087
- package/dist/{withCurrentFont-CxRGeHO3.js → withCurrentFont-BATJHNve.js} +1 -1
- package/dist/{x-Cd6SFw8r.js → x-CZ0Js0hA.js} +1 -1
- package/package.json +17 -15
- package/dist/AiChatSidebar-DxPHFNoT.js +0 -230
- package/dist/AiFeatureMenu-C8GVqu1d.js +0 -57
- package/dist/CloudHeaderExtras-CUSftQdm.js +0 -59
- package/dist/CloudPanels-Dgw7tb4R.js +0 -216
- package/dist/CollaboratorBar-5rfopCPx.js +0 -103
- package/dist/CommentsSidebar-BOqj16Al.js +0 -500
- package/dist/DesignReferenceSidebar-BWAi3eQQ.js +0 -279
- package/dist/IssuesPanel-C-x3I012.js +0 -117
- package/dist/ParagraphEditor-BVjOwwHx.js +0 -797
- package/dist/SavedBlocksBrowserModal-DbmIS5uK.js +0 -360
- package/dist/TemplateScoringPanel-ynbGl-sr.js +0 -273
- package/dist/TemplateSettings-Bi01S3H3.js +0 -246
- package/dist/ToggleSwitch-Ozc7YU38.js +0 -102
- package/dist/Toolbar-B-2lO0I8.js +0 -3156
- package/dist/WrapperBlock-D0qgNqjD.js +0 -45
- package/dist/cdn/chunks/AiChatSidebar-Dk0rJBQN.js +0 -205
- package/dist/cdn/chunks/AiChatSidebar-Dk0rJBQN.js.map +0 -1
- package/dist/cdn/chunks/AiFeatureMenu-B7b0w8ZS.js +0 -57
- package/dist/cdn/chunks/AiFeatureMenu-B7b0w8ZS.js.map +0 -1
- package/dist/cdn/chunks/CloudHeaderExtras-B4fhuwc_.js +0 -60
- package/dist/cdn/chunks/CloudHeaderExtras-B4fhuwc_.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-awqHfJqC.js.map +0 -1
- package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js +0 -52
- package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js.map +0 -1
- package/dist/cdn/chunks/CommentsPanel-CbzxwsyI.js +0 -20
- package/dist/cdn/chunks/CommentsSidebar-DWPHZuQm.js +0 -470
- package/dist/cdn/chunks/DesignReferenceSidebar-BW9cHnA9.js +0 -229
- package/dist/cdn/chunks/DesignReferenceSidebar-BW9cHnA9.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-cXf9ywA4.js +0 -100
- package/dist/cdn/chunks/IssuesPanel-cXf9ywA4.js.map +0 -1
- package/dist/cdn/chunks/LogicTagInsertButton-BMB9vShs.js.map +0 -1
- package/dist/cdn/chunks/MediaEditModal-zXfcArr4.js.map +0 -1
- package/dist/cdn/chunks/MediaPanels-Cp4XB_dH.js +0 -45
- package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js +0 -632
- package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPanels-BhEOMzEQ.js +0 -38
- package/dist/cdn/chunks/TemplateScoringPanel-BrWqJCSP.js +0 -237
- package/dist/cdn/chunks/TemplateScoringPanel-BrWqJCSP.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js +0 -208
- package/dist/cdn/chunks/TestEmailPanel-DxrKuctP.js +0 -35
- package/dist/cdn/chunks/TitleEditor-CsZiG3TT.js +0 -199
- package/dist/cdn/chunks/ToggleSwitch-BB-bQADJ.js +0 -104
- package/dist/cdn/chunks/ToggleSwitch-BB-bQADJ.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +0 -1
- package/dist/cdn/chunks/VersionHistoryPanels-DXSqmaLS.js +0 -48
- package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +0 -47
- package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +0 -22
- package/dist/cdn/chunks/ca-CbNzJM3I.js.map +0 -1
- package/dist/cdn/chunks/cloud-BHClP3e2.js +0 -1736
- package/dist/cdn/chunks/cloud-BHClP3e2.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js +0 -400
- package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +0 -1
- package/dist/cdn/chunks/de-DMquBpZM.js.map +0 -1
- package/dist/cdn/chunks/de-mMY5yQJu.js +0 -93
- package/dist/cdn/chunks/de-mMY5yQJu.js.map +0 -1
- package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +0 -1
- package/dist/cdn/chunks/en-C8Mp71sO.js.map +0 -1
- package/dist/cdn/chunks/en-ChVeGQBY.js +0 -93
- package/dist/cdn/chunks/en-ChVeGQBY.js.map +0 -1
- package/dist/cdn/chunks/en-eWpiXyZu.js +0 -1
- package/dist/cdn/chunks/es-Byq4tthI.js.map +0 -1
- package/dist/cdn/chunks/fr-B3j35HEw.js.map +0 -1
- package/dist/cdn/chunks/icons-aTYwH5-g.js.map +0 -1
- package/dist/cdn/chunks/ja-D7txAuGS.js.map +0 -1
- package/dist/cdn/chunks/keys-HI-INbkz.js +0 -12
- package/dist/cdn/chunks/keys-HI-INbkz.js.map +0 -1
- package/dist/cdn/chunks/logger-ByvdoAwq.js.map +0 -1
- package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CoCwRUi0.js +0 -93
- package/dist/cdn/chunks/pt-BR-CoCwRUi0.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +0 -1
- package/dist/cdn/chunks/pusher-C8DeiO2X.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +0 -1279
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +0 -1
- package/dist/cdn/chunks/src-DYCDeBDM.js.map +0 -1
- package/dist/cdn/chunks/src-DlFlC9Tt.js +0 -1272
- package/dist/cdn/chunks/src-DlFlC9Tt.js.map +0 -1
- package/dist/cdn/chunks/src-dZ4D_tuP.js.map +0 -1
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js +0 -6
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +0 -1
- package/dist/cdn/chunks/useAliveFlag-DCB96vzR.js +0 -12
- package/dist/cdn/chunks/useAliveFlag-DCB96vzR.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js +0 -2602
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +0 -10
- package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js +0 -21
- package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js.map +0 -1
- package/dist/cloud-B5xwm_4X.js +0 -1689
- package/dist/copy-BEcsAlfB.js +0 -19
- package/dist/createCloudRuntime-zNPkF6T9.js +0 -398
- package/dist/de-mMY5yQJu.js +0 -91
- package/dist/dist-DAAJogrx.js +0 -407
- package/dist/en-B0FUfNwz.js +0 -1
- package/dist/en-ChVeGQBY.js +0 -91
- package/dist/image-up-CM_HC0Dx.js +0 -27
- package/dist/keys-BKFq19a2.js +0 -10
- package/dist/plus-8cDvoCjZ.js +0 -14
- package/dist/pt-BR-CoCwRUi0.js +0 -91
- package/dist/shield-check-uDAwur5D.js +0 -14
- package/dist/socialIcons-PTiwhLoC.js +0 -1359
- package/dist/timeouts-Cv2jvusx.js +0 -4
- package/dist/upload-CtNOI6J2.js +0 -21
- package/dist/useAliveFlag-Dd06mRxe.js +0 -10
- package/dist/useScrollToBlock-CXmcHQQN.js +0 -47
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as p } from "./useI18n-
|
|
3
|
-
import { c as m } from "./LogicTagInsertButton-
|
|
4
|
-
import { p as h } from "./styleConstants-
|
|
5
|
-
import { t as g } from "./ToggleSwitch-
|
|
6
|
-
import { t as _ } from "./withCurrentFont-
|
|
7
|
-
import { i as v, n as y, r as b } from "./Toolbar-
|
|
1
|
+
import { At as e, Mt as t, N as n, V as r, _ as i, c as a, f as o, j as s, l as c, ot as l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
|
|
2
|
+
import { t as p } from "./useI18n-BdoY7xDE.js";
|
|
3
|
+
import { c as m } from "./LogicTagInsertButton-CqfU52CO.js";
|
|
4
|
+
import { p as h } from "./styleConstants-v1dNKgJf.js";
|
|
5
|
+
import { t as g } from "./ToggleSwitch-D51U9cmR.js";
|
|
6
|
+
import { t as _ } from "./withCurrentFont-BATJHNve.js";
|
|
7
|
+
import { i as v, n as y, r as b } from "./Toolbar-CZSPZYbj.js";
|
|
8
8
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, T = ["value"], E = { value: "" }, D = ["value"], O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, j = [
|
|
10
10
|
"value",
|
|
@@ -52,7 +52,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
52
52
|
"Hours",
|
|
53
53
|
"Minutes",
|
|
54
54
|
"Seconds"
|
|
55
|
-
], B =
|
|
55
|
+
], B = a(() => z.map((e) => ({
|
|
56
56
|
unit: e,
|
|
57
57
|
showKey: `show${e}`,
|
|
58
58
|
labelKey: `label${e}`,
|
|
@@ -61,34 +61,34 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
61
61
|
function V(e, t) {
|
|
62
62
|
F("update", { [e]: t });
|
|
63
63
|
}
|
|
64
|
-
return (
|
|
65
|
-
|
|
66
|
-
default:
|
|
64
|
+
return (a, p) => (s(), o(u, null, [
|
|
65
|
+
i(y, { label: l(I).countdown.targetDate }, {
|
|
66
|
+
default: r(() => [c("input", {
|
|
67
67
|
type: "datetime-local",
|
|
68
|
-
class:
|
|
68
|
+
class: e(l(h)),
|
|
69
69
|
value: f.block.targetDate,
|
|
70
70
|
onInput: p[0] ||= (e) => V("targetDate", e.target.value)
|
|
71
71
|
}, null, 42, x)]),
|
|
72
72
|
_: 1
|
|
73
73
|
}, 8, ["label"]),
|
|
74
|
-
|
|
75
|
-
default:
|
|
76
|
-
class:
|
|
74
|
+
i(y, { label: l(I).countdown.timezone }, {
|
|
75
|
+
default: r(() => [c("select", {
|
|
76
|
+
class: e(l(h)),
|
|
77
77
|
value: f.block.timezone,
|
|
78
78
|
onChange: p[1] ||= (e) => V("timezone", e.target.value)
|
|
79
|
-
}, [(
|
|
79
|
+
}, [(s(), o(u, null, n(L, (e) => c("option", {
|
|
80
80
|
key: e,
|
|
81
81
|
value: e
|
|
82
|
-
},
|
|
82
|
+
}, t(e), 9, C)), 64))], 42, S)]),
|
|
83
83
|
_: 1
|
|
84
84
|
}, 8, ["label"]),
|
|
85
|
-
|
|
86
|
-
default:
|
|
87
|
-
key:
|
|
85
|
+
i(y, { label: l(I).countdown.display }, {
|
|
86
|
+
default: r(() => [c("div", w, [(s(!0), o(u, null, n(B.value, (e) => (s(), d(g, {
|
|
87
|
+
key: e.unit,
|
|
88
88
|
class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
89
|
-
"model-value": f.block[
|
|
90
|
-
label:
|
|
91
|
-
"onUpdate:modelValue": (
|
|
89
|
+
"model-value": f.block[e.showKey],
|
|
90
|
+
label: l(I).countdown[e.translationKey],
|
|
91
|
+
"onUpdate:modelValue": (t) => V(e.showKey, t)
|
|
92
92
|
}, null, 8, [
|
|
93
93
|
"model-value",
|
|
94
94
|
"label",
|
|
@@ -96,27 +96,27 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
96
96
|
]))), 128))])]),
|
|
97
97
|
_: 1
|
|
98
98
|
}, 8, ["label"]),
|
|
99
|
-
|
|
100
|
-
default:
|
|
99
|
+
i(y, { label: l(I).countdown.separator }, {
|
|
100
|
+
default: r(() => [i(v, {
|
|
101
101
|
options: R,
|
|
102
102
|
"model-value": f.block.separator,
|
|
103
103
|
"onUpdate:modelValue": p[2] ||= (e) => V("separator", e)
|
|
104
104
|
}, null, 8, ["model-value"])]),
|
|
105
105
|
_: 1
|
|
106
106
|
}, 8, ["label"]),
|
|
107
|
-
|
|
108
|
-
default:
|
|
109
|
-
class:
|
|
110
|
-
value:
|
|
107
|
+
i(y, { label: l(I).countdown.fontFamily }, {
|
|
108
|
+
default: r(() => [c("select", {
|
|
109
|
+
class: e(l(h)),
|
|
110
|
+
value: l(_)(f.block.fontFamily),
|
|
111
111
|
onChange: p[3] ||= (e) => V("fontFamily", e.target.value || void 0)
|
|
112
|
-
}, [
|
|
113
|
-
key:
|
|
114
|
-
value:
|
|
115
|
-
},
|
|
112
|
+
}, [c("option", E, t(l(I).countdown.inheritFont), 1), (s(!0), o(u, null, n(f.fontFamilies, (e) => (s(), o("option", {
|
|
113
|
+
key: e.value,
|
|
114
|
+
value: e.value
|
|
115
|
+
}, t(e.label), 9, D))), 128))], 42, T)]),
|
|
116
116
|
_: 1
|
|
117
117
|
}, 8, ["label"]),
|
|
118
|
-
|
|
119
|
-
default:
|
|
118
|
+
c("div", O, [i(y, { label: l(I).countdown.digitFontSize }, {
|
|
119
|
+
default: r(() => [i(b, {
|
|
120
120
|
"model-value": f.block.digitFontSize,
|
|
121
121
|
min: 12,
|
|
122
122
|
max: 72,
|
|
@@ -124,8 +124,8 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
124
124
|
"onUpdate:modelValue": p[4] ||= (e) => V("digitFontSize", e)
|
|
125
125
|
}, null, 8, ["model-value"])]),
|
|
126
126
|
_: 1
|
|
127
|
-
}, 8, ["label"]),
|
|
128
|
-
default:
|
|
127
|
+
}, 8, ["label"]), i(y, { label: l(I).countdown.labelFontSize }, {
|
|
128
|
+
default: r(() => [i(b, {
|
|
129
129
|
"model-value": f.block.labelFontSize,
|
|
130
130
|
min: 8,
|
|
131
131
|
max: 24,
|
|
@@ -134,61 +134,61 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
134
134
|
}, null, 8, ["model-value"])]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["label"])]),
|
|
137
|
-
|
|
138
|
-
default:
|
|
137
|
+
c("div", k, [i(y, { label: l(I).countdown.digitColor }, {
|
|
138
|
+
default: r(() => [i(m, {
|
|
139
139
|
"model-value": f.block.digitColor,
|
|
140
140
|
"onUpdate:modelValue": p[6] ||= (e) => V("digitColor", e)
|
|
141
141
|
}, null, 8, ["model-value"])]),
|
|
142
142
|
_: 1
|
|
143
|
-
}, 8, ["label"]),
|
|
144
|
-
default:
|
|
143
|
+
}, 8, ["label"]), i(y, { label: l(I).countdown.labelColor }, {
|
|
144
|
+
default: r(() => [i(m, {
|
|
145
145
|
"model-value": f.block.labelColor,
|
|
146
146
|
"onUpdate:modelValue": p[7] ||= (e) => V("labelColor", e)
|
|
147
147
|
}, null, 8, ["model-value"])]),
|
|
148
148
|
_: 1
|
|
149
149
|
}, 8, ["label"])]),
|
|
150
|
-
|
|
151
|
-
default:
|
|
150
|
+
i(y, { label: l(I).countdown.background }, {
|
|
151
|
+
default: r(() => [i(m, {
|
|
152
152
|
"model-value": f.block.backgroundColor,
|
|
153
153
|
"onUpdate:modelValue": p[8] ||= (e) => V("backgroundColor", e)
|
|
154
154
|
}, null, 8, ["model-value"])]),
|
|
155
155
|
_: 1
|
|
156
156
|
}, 8, ["label"]),
|
|
157
|
-
|
|
158
|
-
default:
|
|
157
|
+
i(y, { label: l(I).countdown.labels }, {
|
|
158
|
+
default: r(() => [c("div", A, [(s(!0), o(u, null, n(B.value, (t) => (s(), o("input", {
|
|
159
159
|
key: t.unit,
|
|
160
160
|
type: "text",
|
|
161
|
-
class:
|
|
161
|
+
class: e(l(h)),
|
|
162
162
|
value: f.block[t.labelKey],
|
|
163
|
-
placeholder:
|
|
163
|
+
placeholder: l(I).countdown[t.translationKey],
|
|
164
164
|
onInput: (e) => V(t.labelKey, e.target.value)
|
|
165
165
|
}, null, 42, j))), 128))])]),
|
|
166
166
|
_: 1
|
|
167
167
|
}, 8, ["label"]),
|
|
168
|
-
|
|
169
|
-
default:
|
|
168
|
+
i(y, { label: l(I).countdown.expiry }, {
|
|
169
|
+
default: r(() => [c("input", {
|
|
170
170
|
type: "text",
|
|
171
|
-
class:
|
|
171
|
+
class: e(l(h)),
|
|
172
172
|
value: f.block.expiredMessage,
|
|
173
|
-
placeholder:
|
|
173
|
+
placeholder: l(I).countdown.expiredMessagePlaceholder,
|
|
174
174
|
onInput: p[9] ||= (e) => V("expiredMessage", e.target.value)
|
|
175
175
|
}, null, 42, M)]),
|
|
176
176
|
_: 1
|
|
177
177
|
}, 8, ["label"]),
|
|
178
|
-
|
|
179
|
-
default:
|
|
178
|
+
i(y, { label: l(I).countdown.expiredImageUrl }, {
|
|
179
|
+
default: r(() => [c("input", {
|
|
180
180
|
type: "url",
|
|
181
|
-
class:
|
|
181
|
+
class: e(l(h)),
|
|
182
182
|
value: f.block.expiredImageUrl,
|
|
183
183
|
placeholder: "https://...",
|
|
184
184
|
onInput: p[10] ||= (e) => V("expiredImageUrl", e.target.value)
|
|
185
185
|
}, null, 42, N)]),
|
|
186
186
|
_: 1
|
|
187
187
|
}, 8, ["label"]),
|
|
188
|
-
|
|
188
|
+
i(g, {
|
|
189
189
|
class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
190
190
|
"model-value": f.block.hideOnExpiry,
|
|
191
|
-
label:
|
|
191
|
+
label: l(I).countdown.hideOnExpiry,
|
|
192
192
|
"onUpdate:modelValue": p[11] ||= (e) => V("hideOnExpiry", e)
|
|
193
193
|
}, null, 8, ["model-value", "label"])
|
|
194
194
|
], 64));
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { A as e, At as t, C as n, D as r, I as ee, Mt as i, N as te, Q as a, _ as o, c as s, d as c, f as l, g as u, j as d, l as f, ot as p, r as ne, u as m, v as re, y as ie, z as h } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
|
|
2
|
+
import { G as ae, K as oe, X as se, g as ce, t as le } from "./keys-Zd9KWRD1.js";
|
|
3
|
+
import { t as ue } from "./useI18n-BdoY7xDE.js";
|
|
4
|
+
import { t as g } from "./createLucideIcon-0lYYH3EW.js";
|
|
5
|
+
import { t as de } from "./check-yYsp5Xpk.js";
|
|
6
|
+
import { t as fe } from "./circle-alert-BMszY8im.js";
|
|
7
|
+
import { t as pe } from "./info-ClWJGoZy.js";
|
|
8
|
+
import { a as me, n as _, o as he, r as ge, t as _e } from "./useScrollToBlock-FmNMALM_.js";
|
|
9
|
+
import { t as v } from "./sparkles-Ce0Qz0ox.js";
|
|
10
|
+
import { t as ve } from "./square-BWlolnXe.js";
|
|
11
|
+
import { t as ye } from "./triangle-alert-CFDzyFC7.js";
|
|
12
|
+
var be = g({
|
|
13
|
+
name: "arrow-right",
|
|
14
|
+
size: 24,
|
|
15
|
+
node: [["path", {
|
|
16
|
+
d: "M5 12h14",
|
|
17
|
+
key: "1ays0h"
|
|
18
|
+
}], ["path", {
|
|
19
|
+
d: "m12 5 7 7-7 7",
|
|
20
|
+
key: "xquz4c"
|
|
21
|
+
}]]
|
|
22
|
+
}), xe = g({
|
|
23
|
+
name: "wrench",
|
|
24
|
+
size: 24,
|
|
25
|
+
node: [["path", {
|
|
26
|
+
d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
|
|
27
|
+
key: "1ngwbx"
|
|
28
|
+
}]]
|
|
29
|
+
}), Se = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, Ce = { class: "tpl:flex tpl:items-center tpl:gap-2" }, we = ["title"], Te = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:text-xs"
|
|
32
|
+
}, Ee = { class: "tpl:m-0 tpl:font-semibold tpl:text-[var(--tpl-text)]" }, De = { class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]" }, Oe = ["disabled"], ke = {
|
|
33
|
+
key: 0,
|
|
34
|
+
"data-testid": "issue-size-result",
|
|
35
|
+
class: "tpl:m-0 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[var(--tpl-text-muted)]"
|
|
36
|
+
}, Ae = {
|
|
37
|
+
key: 1,
|
|
38
|
+
role: "status",
|
|
39
|
+
class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]"
|
|
40
|
+
}, je = {
|
|
41
|
+
key: 2,
|
|
42
|
+
role: "alert",
|
|
43
|
+
class: "tpl:m-0 tpl:text-[var(--tpl-danger)]"
|
|
44
|
+
}, Me = {
|
|
45
|
+
key: 1,
|
|
46
|
+
role: "status",
|
|
47
|
+
"data-testid": "issue-ai-status",
|
|
48
|
+
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
49
|
+
}, Ne = ["disabled"], Pe = {
|
|
50
|
+
key: 4,
|
|
51
|
+
class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
52
|
+
}, Fe = {
|
|
53
|
+
key: 5,
|
|
54
|
+
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
55
|
+
}, Ie = { class: "tpl:ml-auto tpl:font-normal tpl:opacity-70" }, Le = {
|
|
56
|
+
key: 1,
|
|
57
|
+
class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
|
|
58
|
+
}, Re = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, ze = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Be = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Ve = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, He = ["href"], Ue = ["onClick"], We = ["title", "onClick"], Ge = ["disabled", "onClick"], Ke = ["disabled", "onClick"], qe = {
|
|
59
|
+
key: 1,
|
|
60
|
+
role: "status",
|
|
61
|
+
class: "tpl:m-0 tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
62
|
+
}, y = /* @__PURE__ */ ie({
|
|
63
|
+
__name: "IssuesPanel",
|
|
64
|
+
setup(ie) {
|
|
65
|
+
let g = re(() => import("./AiAltTextPopover-BZQ95GXL.js")), y = re(() => import("./AiAltTextReview-DoBEudnE.js")), b = a(null), x = a(null);
|
|
66
|
+
function Je() {
|
|
67
|
+
j && !j.busy.value && (O(), b.value = [...Q.value]);
|
|
68
|
+
}
|
|
69
|
+
async function S() {
|
|
70
|
+
b.value = null, await r(), !V && C.value === null && (x.value ?? T.value)?.focus();
|
|
71
|
+
}
|
|
72
|
+
let C = a(null), Ye = s(() => C.value?.blockId ?? null), w = a(null), T = a(null), E = null;
|
|
73
|
+
function D(e) {
|
|
74
|
+
let t = C.value;
|
|
75
|
+
return t !== null && t.blockId === e.blockId && t.ruleId === e.ruleId && t.severity === e.severity;
|
|
76
|
+
}
|
|
77
|
+
function Xe(e, t) {
|
|
78
|
+
e.blockId && !D(e) && (b.value = null, w.value?.abort(), w.value = null, E = t.currentTarget, C.value = {
|
|
79
|
+
blockId: e.blockId,
|
|
80
|
+
ruleId: e.ruleId,
|
|
81
|
+
severity: e.severity
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
async function O(e = "button") {
|
|
85
|
+
if (C.value === null) return;
|
|
86
|
+
C.value = null, w.value?.abort(), w.value = null;
|
|
87
|
+
let t = E;
|
|
88
|
+
E = null, await r(), !(V || C.value !== null || b.value !== null) && (e === "button" && t?.isConnected ? t : T.value)?.focus();
|
|
89
|
+
}
|
|
90
|
+
function Ze(e, t) {
|
|
91
|
+
D(e) && (w.value = t);
|
|
92
|
+
}
|
|
93
|
+
let { t: k, format: A } = ue(), j = n(le, null), M = n(oe, null), N = n(ce, null), P = n(ae, null), Qe = n(se, "en"), $e = _e(), et = s(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = a(!1), I = a(null), L = a(null), R = a(""), z = a(!1), B = 0, V = !1;
|
|
94
|
+
N && h(N.content, () => {
|
|
95
|
+
B++, I.value !== null && (z.value = !0);
|
|
96
|
+
}, { deep: !0 }), e(() => {
|
|
97
|
+
V = !0;
|
|
98
|
+
});
|
|
99
|
+
async function tt() {
|
|
100
|
+
if (!P || !et.value || F.value) return;
|
|
101
|
+
let e = B;
|
|
102
|
+
F.value = !0, R.value = "";
|
|
103
|
+
try {
|
|
104
|
+
let t = await P.renderHtml(), n = await import("@templatical/quality");
|
|
105
|
+
if (V) return;
|
|
106
|
+
I.value = new TextEncoder().encode(t).byteLength, L.value = n.lintCompiledHtml(t, {
|
|
107
|
+
...P.options,
|
|
108
|
+
locale: P.options.locale ?? Qe
|
|
109
|
+
})[0] ?? null, z.value = e !== B;
|
|
110
|
+
} catch (e) {
|
|
111
|
+
V || (R.value = e instanceof Error ? e.message : String(e));
|
|
112
|
+
} finally {
|
|
113
|
+
V || (F.value = !1);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
let H = s(() => [...M?.issues.value ?? [], ...L.value && !z.value ? [L.value] : []]), U = s(() => H.value.filter((e) => e.severity === "error")), W = s(() => H.value.filter((e) => e.severity === "warning")), G = s(() => H.value.filter((e) => e.severity === "info")), K = s(() => U.value.length + W.value.length + G.value.length), q = /* @__PURE__ */ new Set(), J = a(/* @__PURE__ */ new Set()), Y = a(null), X = (e) => JSON.stringify([e.ruleId, e.blockId]);
|
|
117
|
+
function nt(e) {
|
|
118
|
+
let t = new Set(e.map(X));
|
|
119
|
+
for (let e of J.value) t.has(e) || J.value.delete(e);
|
|
120
|
+
for (let e of q) t.has(e) && J.value.add(e);
|
|
121
|
+
q.clear();
|
|
122
|
+
}
|
|
123
|
+
M && h(M.issues, nt, { flush: "sync" }), j && (h([
|
|
124
|
+
j.templateId,
|
|
125
|
+
j.isAvailable,
|
|
126
|
+
() => N?.loadVersion?.value
|
|
127
|
+
], () => {
|
|
128
|
+
b.value !== null && S();
|
|
129
|
+
}, { flush: "sync" }), h(j.templateSession, () => {
|
|
130
|
+
O();
|
|
131
|
+
}, { flush: "sync" }), h(j.sessionIdentity, () => {
|
|
132
|
+
q.clear(), J.value.clear();
|
|
133
|
+
}, { flush: "sync" }));
|
|
134
|
+
let Z = s(() => {
|
|
135
|
+
let e = /* @__PURE__ */ new Set();
|
|
136
|
+
return new Set([
|
|
137
|
+
...U.value,
|
|
138
|
+
...W.value,
|
|
139
|
+
...G.value
|
|
140
|
+
].filter((t) => {
|
|
141
|
+
let n = X(t);
|
|
142
|
+
return !e.has(n) && (e.add(n), !0);
|
|
143
|
+
}));
|
|
144
|
+
}), rt = s(() => {
|
|
145
|
+
let e = /* @__PURE__ */ new Set();
|
|
146
|
+
return new Set([
|
|
147
|
+
...U.value,
|
|
148
|
+
...W.value,
|
|
149
|
+
...G.value
|
|
150
|
+
].filter((t) => !t.blockId || !_.includes(t.ruleId) || e.has(t.blockId) ? !1 : (e.add(t.blockId), !0)));
|
|
151
|
+
}), Q = s(() => {
|
|
152
|
+
if (!N) return [];
|
|
153
|
+
let e = new Set(H.value.filter((e) => _.includes(e.ruleId)).map((e) => e.blockId).filter((e) => e !== null)), t = N.content.value.blocks;
|
|
154
|
+
return [...e].flatMap((e) => {
|
|
155
|
+
let n = N.findBlockLocation(e);
|
|
156
|
+
return n ? [{
|
|
157
|
+
id: e,
|
|
158
|
+
root: n.targetSectionId ? t.findIndex((e) => e.id === n.targetSectionId) : n.index,
|
|
159
|
+
column: n.columnIndex ?? -1,
|
|
160
|
+
index: n.index
|
|
161
|
+
}] : [];
|
|
162
|
+
}).sort((e, t) => e.root - t.root || e.column - t.column || e.index - t.index).map(({ id: e }) => e);
|
|
163
|
+
});
|
|
164
|
+
h(() => C.value === null || H.value.some(D) && (!N || N.findBlockLocation(C.value.blockId) !== null), (e) => {
|
|
165
|
+
e || O("panel");
|
|
166
|
+
}, { flush: "sync" });
|
|
167
|
+
function it(e) {
|
|
168
|
+
return !!j && j.isAvailable.value && j.has("altText") && rt.value.has(e);
|
|
169
|
+
}
|
|
170
|
+
function $(e) {
|
|
171
|
+
return !!j && j.isAvailable.value && j.has("fixFinding") && !e.fix && ge.includes(e.ruleId) && Z.value.has(e);
|
|
172
|
+
}
|
|
173
|
+
async function at(e) {
|
|
174
|
+
if (!$(e) || !j || j.busy.value || Y.value !== null) return;
|
|
175
|
+
let t = X(e), n = j.sessionIdentity.value;
|
|
176
|
+
Y.value = t, J.value.delete(t);
|
|
177
|
+
try {
|
|
178
|
+
let r = await j.fix(me(e));
|
|
179
|
+
!V && j.sessionIdentity.value === n && !r.failed && (q.add(t), M?.contentVersion && M.lintVersion.value === M.contentVersion.value && nt(M.issues.value));
|
|
180
|
+
} finally {
|
|
181
|
+
Y.value = null;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function ot(e) {
|
|
185
|
+
N && e.blockId && (N.selectBlock(e.blockId), $e(e.blockId));
|
|
186
|
+
}
|
|
187
|
+
function st(e) {
|
|
188
|
+
M?.applyFix(e);
|
|
189
|
+
}
|
|
190
|
+
return (e, n) => (d(), l("div", Se, [
|
|
191
|
+
f("header", Ce, [
|
|
192
|
+
o(p(he), {
|
|
193
|
+
size: 16,
|
|
194
|
+
"stroke-width": 1.5
|
|
195
|
+
}),
|
|
196
|
+
f("h3", {
|
|
197
|
+
ref_key: "panelHeading",
|
|
198
|
+
ref: T,
|
|
199
|
+
tabindex: "-1",
|
|
200
|
+
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
201
|
+
}, i(p(k).issues.panelTitle), 513),
|
|
202
|
+
K.value > 0 ? (d(), l("span", {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]",
|
|
205
|
+
title: p(A)(p(k).issues.issueCountTooltip, { count: K.value })
|
|
206
|
+
}, i(K.value), 9, we)) : c("", !0)
|
|
207
|
+
]),
|
|
208
|
+
et.value ? (d(), l("section", Te, [
|
|
209
|
+
f("h4", Ee, i(p(k).issues.emailSize), 1),
|
|
210
|
+
f("p", De, i(p(k).issues.sizeExplainer), 1),
|
|
211
|
+
f("button", {
|
|
212
|
+
type: "button",
|
|
213
|
+
"data-testid": "issue-check-size",
|
|
214
|
+
disabled: F.value,
|
|
215
|
+
class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:font-medium tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-active)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
216
|
+
onClick: tt
|
|
217
|
+
}, i(F.value ? p(k).issues.checkingSize : z.value ? p(k).issues.checkSizeAgain : p(k).issues.checkSize), 9, Oe),
|
|
218
|
+
I.value === null ? c("", !0) : (d(), l("p", ke, [!L.value && !z.value ? (d(), m(p(de), {
|
|
219
|
+
key: 0,
|
|
220
|
+
size: 14,
|
|
221
|
+
"stroke-width": 2,
|
|
222
|
+
"aria-hidden": "true"
|
|
223
|
+
})) : c("", !0), u(" " + i(p(A)(!L.value && !z.value ? p(k).issues.sizePass : p(k).issues.sizeResult, { size: new Intl.NumberFormat(p(Qe), {
|
|
224
|
+
minimumFractionDigits: 1,
|
|
225
|
+
maximumFractionDigits: 1
|
|
226
|
+
}).format(I.value / 1024) })), 1)])),
|
|
227
|
+
z.value ? (d(), l("p", Ae, i(p(k).issues.sizeOutdated), 1)) : c("", !0),
|
|
228
|
+
R.value ? (d(), l("p", je, i(p(A)(p(k).issues.sizeError, { error: R.value })), 1)) : c("", !0)
|
|
229
|
+
])) : c("", !0),
|
|
230
|
+
Y.value !== null || w.value !== null ? (d(), l("div", Me, [f("span", null, i(w.value ? p(k).ai.altText.drafting : p(k).ai.fix.fixing), 1), f("button", {
|
|
231
|
+
type: "button",
|
|
232
|
+
"data-testid": "issue-ai-stop",
|
|
233
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]",
|
|
234
|
+
onClick: n[0] ||= (e) => w.value ? w.value.abort() : p(j)?.stop()
|
|
235
|
+
}, [o(p(ve), {
|
|
236
|
+
size: 10,
|
|
237
|
+
"stroke-width": 2
|
|
238
|
+
}), u(" " + i(p(k).ai.chat.stop), 1)])])) : c("", !0),
|
|
239
|
+
p(j)?.isAvailable.value && p(j).has("altText") && Q.value.length >= 2 ? (d(), l("button", {
|
|
240
|
+
key: 2,
|
|
241
|
+
ref_key: "bulkButton",
|
|
242
|
+
ref: x,
|
|
243
|
+
type: "button",
|
|
244
|
+
"data-testid": "issue-ai-alt-text-bulk",
|
|
245
|
+
disabled: p(j).busy.value,
|
|
246
|
+
class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
247
|
+
onClick: Je
|
|
248
|
+
}, [o(p(v), {
|
|
249
|
+
size: 12,
|
|
250
|
+
"stroke-width": 2,
|
|
251
|
+
"aria-hidden": "true"
|
|
252
|
+
}), u(" " + i(p(A)(p(k).ai.altText.bulk, { count: Q.value.length })), 1)], 8, Ne)) : c("", !0),
|
|
253
|
+
b.value !== null && p(j) ? (d(), m(p(y), {
|
|
254
|
+
key: 3,
|
|
255
|
+
"block-ids": b.value,
|
|
256
|
+
feature: p(j),
|
|
257
|
+
onClose: S
|
|
258
|
+
}, null, 8, ["block-ids", "feature"])) : c("", !0),
|
|
259
|
+
!p(M) || p(M).unavailable.value ? (d(), l("div", Pe)) : K.value === 0 ? (d(), l("div", Fe, i(p(k).issues.emptyState), 1)) : (d(!0), l(ne, { key: 6 }, te([
|
|
260
|
+
{
|
|
261
|
+
key: "errors",
|
|
262
|
+
title: p(k).issues.groupErrors,
|
|
263
|
+
icon: p(fe),
|
|
264
|
+
items: U.value,
|
|
265
|
+
tone: "tpl:text-[var(--tpl-danger)]"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
key: "warnings",
|
|
269
|
+
title: p(k).issues.groupWarnings,
|
|
270
|
+
icon: p(ye),
|
|
271
|
+
items: W.value,
|
|
272
|
+
tone: "tpl:text-[var(--tpl-warning)]"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
key: "info",
|
|
276
|
+
title: p(k).issues.groupInfo,
|
|
277
|
+
icon: p(pe),
|
|
278
|
+
items: G.value,
|
|
279
|
+
tone: "tpl:text-[var(--tpl-text-muted)]"
|
|
280
|
+
}
|
|
281
|
+
], (e) => (d(), l("section", { key: e.key }, [e.items.length > 0 ? (d(), l("header", {
|
|
282
|
+
key: 0,
|
|
283
|
+
class: t(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-semibold tpl:uppercase tpl:tracking-wide", e.tone])
|
|
284
|
+
}, [
|
|
285
|
+
(d(), m(ee(e.icon), {
|
|
286
|
+
size: 12,
|
|
287
|
+
"stroke-width": 2
|
|
288
|
+
})),
|
|
289
|
+
u(" " + i(e.title) + " ", 1),
|
|
290
|
+
f("span", Ie, i(e.items.length), 1)
|
|
291
|
+
], 2)) : c("", !0), e.items.length > 0 ? (d(), l("ul", Le, [(d(!0), l(ne, null, te(e.items, (e) => (d(), l("li", {
|
|
292
|
+
key: `${e.ruleId}-${e.blockId ?? "template"}`,
|
|
293
|
+
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
|
|
294
|
+
}, [
|
|
295
|
+
f("p", Re, i(e.message), 1),
|
|
296
|
+
f("p", ze, i(e.suggestion), 1),
|
|
297
|
+
f("p", Be, i(e.ruleId), 1),
|
|
298
|
+
f("div", Ve, [
|
|
299
|
+
f("a", {
|
|
300
|
+
href: e.reference,
|
|
301
|
+
target: "_blank",
|
|
302
|
+
rel: "noopener",
|
|
303
|
+
class: "tpl:inline-block tpl:text-xs tpl:text-[var(--tpl-primary)] tpl:underline tpl:underline-offset-2 tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]"
|
|
304
|
+
}, i(p(k).issues.learnMore), 9, He),
|
|
305
|
+
e.blockId ? (d(), l("button", {
|
|
306
|
+
key: 0,
|
|
307
|
+
type: "button",
|
|
308
|
+
"data-testid": "issue-jump",
|
|
309
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
|
|
310
|
+
onClick: (t) => ot(e)
|
|
311
|
+
}, [o(p(be), {
|
|
312
|
+
size: 10,
|
|
313
|
+
"stroke-width": 2
|
|
314
|
+
}), u(" " + i(p(k).issues.jump), 1)], 8, Ue)) : c("", !0),
|
|
315
|
+
e.fix ? (d(), l("button", {
|
|
316
|
+
key: 1,
|
|
317
|
+
type: "button",
|
|
318
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)]",
|
|
319
|
+
title: e.fix.description,
|
|
320
|
+
onClick: (t) => st(e)
|
|
321
|
+
}, [o(p(xe), {
|
|
322
|
+
size: 10,
|
|
323
|
+
"stroke-width": 2
|
|
324
|
+
}), u(" " + i(p(k).issues.fix), 1)], 8, We)) : c("", !0),
|
|
325
|
+
it(e) ? (d(), l("button", {
|
|
326
|
+
key: 2,
|
|
327
|
+
type: "button",
|
|
328
|
+
"data-testid": "issue-ai-alt-text",
|
|
329
|
+
disabled: p(j).busy.value,
|
|
330
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
331
|
+
onClick: (t) => Xe(e, t)
|
|
332
|
+
}, [o(p(v), {
|
|
333
|
+
size: 10,
|
|
334
|
+
"stroke-width": 2
|
|
335
|
+
}), u(" " + i(p(k).ai.altText.button), 1)], 8, Ge)) : c("", !0),
|
|
336
|
+
$(e) ? (d(), l("button", {
|
|
337
|
+
key: 3,
|
|
338
|
+
type: "button",
|
|
339
|
+
"data-testid": "issue-ai-fix",
|
|
340
|
+
disabled: p(j).busy.value,
|
|
341
|
+
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
342
|
+
onClick: (t) => at(e)
|
|
343
|
+
}, [o(p(v), {
|
|
344
|
+
size: 10,
|
|
345
|
+
"stroke-width": 2
|
|
346
|
+
}), u(" " + i(p(k).ai.fix.button), 1)], 8, Ke)) : c("", !0)
|
|
347
|
+
]),
|
|
348
|
+
D(e) && Z.value.has(e) ? (d(), m(p(g), {
|
|
349
|
+
key: JSON.stringify(C.value),
|
|
350
|
+
"block-id": Ye.value,
|
|
351
|
+
onClose: O,
|
|
352
|
+
onDrafting: (t) => Ze(e, t)
|
|
353
|
+
}, null, 8, ["block-id", "onDrafting"])) : c("", !0),
|
|
354
|
+
J.value.has(X(e)) && Z.value.has(e) ? (d(), l("p", qe, i(p(k).ai.fix.stillFlagged), 1)) : c("", !0)
|
|
355
|
+
]))), 128))])) : c("", !0)]))), 128))
|
|
356
|
+
]));
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
//#endregion
|
|
360
|
+
export { y as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as e, j as t } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
//#region src/components/LoadingTrack.vue
|
|
4
4
|
var r = {}, i = { class: "tpl-loading-track" };
|
|
5
5
|
function a(n, r) {
|
|
6
|
-
return
|
|
6
|
+
return t(), e("div", i);
|
|
7
7
|
}
|
|
8
8
|
var o = /*#__PURE__*/ n(r, [["render", a], ["__scopeId", "data-v-e61f3b63"]]);
|
|
9
9
|
//#endregion
|