@templatical/editor 0.57.0 → 0.57.1
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/dist/{AiAltTextPopover-BjClNscQ.js → AiAltTextPopover-BiZHthAB.js} +1 -1
- package/dist/{AiAltTextReview-DeMdVbtT.js → AiAltTextReview-BwhROHiF.js} +1 -1
- package/dist/{AiRewriteMenu-BSzj1dKC.js → AiRewriteMenu-6b8GNj64.js} +4 -4
- package/dist/{BlockPreviewCanvas-D-If_vd_.js → BlockPreviewCanvas-BAYIy-QJ.js} +4 -4
- package/dist/{CloudPanels-DPeK_siQ.js → CloudPanels-Cb54vtYC.js} +1 -1
- package/dist/{CountdownToolbar-DBu2ZqC6.js → CountdownToolbar-CTbJPh8B.js} +4 -4
- package/dist/{IssuesPanel-BnUut-p-.js → IssuesPanel-BUKc8lld.js} +1 -1
- package/dist/{LanguageMenu-DfTxrbvp.js → LanguageMenu-DruJAMET.js} +3 -3
- package/dist/{LogicTagInsertButton-CJ1Jk6jv.js → LogicTagInsertButton-Ci7V0Exe.js} +3 -3
- package/dist/{MergeTagInput-CV-z85s9.js → MergeTagInput-BA89v7KJ.js} +1 -1
- package/dist/{MergeTagModeToggle-CixgX5C_.js → MergeTagModeToggle-De_FNmcG.js} +1 -1
- package/dist/{MergeTagTextarea-B1zOC_Nr.js → MergeTagTextarea-BRMB24Dg.js} +2 -2
- package/dist/{ParagraphEditor-C9UhWvRB.js → ParagraphEditor-DYqh0kEa.js} +8 -8
- package/dist/{RestoreVersionDialog-Do7fZWpT.js → RestoreVersionDialog-CRkyFafq.js} +1 -1
- package/dist/{RichTextEditorContent-wW_SMun2.js → RichTextEditorContent-WeCqqCy3.js} +2 -2
- package/dist/{SaveBlockDialog-CCHIUfR-.js → SaveBlockDialog-D992yyO4.js} +4 -4
- package/dist/{SavedBlocksBrowserModal-DtPHhfw9.js → SavedBlocksBrowserModal-tH74h2Tz.js} +4 -4
- package/dist/{SavedBlocksPanels-CYIby5pR.js → SavedBlocksPanels-BuzEwYfp.js} +1 -1
- package/dist/{SavedBlocksPickBar-CCwBugqN.js → SavedBlocksPickBar-DbULBPsI.js} +1 -1
- package/dist/{TemplateSettings-B8IVy5q9.js → TemplateSettings-eMBAy_wd.js} +4 -4
- package/dist/{TestEmailModal-CS5JoKRH.js → TestEmailModal-hb9iopaZ.js} +5 -5
- package/dist/{TestEmailPanel-sOIZfKzc.js → TestEmailPanel-DbeZjj0u.js} +1 -1
- package/dist/{TitleEditor-ZlBcq9_P.js → TitleEditor-CisDioGi.js} +4 -4
- package/dist/{Toolbar-c4_rLLJT.js → Toolbar-BUVRjylH.js} +9 -9
- package/dist/{TplModal-DnFFEulp.js → TplModal-BPPP-uM6.js} +1 -1
- package/dist/{VersionHistoryPanels-TdGaMaa_.js → VersionHistoryPanels-BNONrE-8.js} +1 -1
- package/dist/{WrapperBlock-BiW4ye3w.js → WrapperBlock-B3UAv5kv.js} +3 -3
- package/dist/{blockTypeIcons-D1aYMC1M.js → blockTypeIcons-BPPpqFc2.js} +1 -1
- package/dist/bundle-stats.json +5 -5
- package/dist/cdn/chunks/{AiAltTextPopover-CfGJNBOb.js → AiAltTextPopover-CafZSF50.js} +2 -2
- package/dist/cdn/chunks/{AiAltTextPopover-CfGJNBOb.js.map → AiAltTextPopover-CafZSF50.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-PKe31R_g.js → AiAltTextReview-BJcaqyp5.js} +2 -2
- package/dist/cdn/chunks/{AiAltTextReview-PKe31R_g.js.map → AiAltTextReview-BJcaqyp5.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-ZDBwReuU.js → AiRewriteMenu-DFUZWA7e.js} +5 -5
- package/dist/cdn/chunks/{AiRewriteMenu-ZDBwReuU.js.map → AiRewriteMenu-DFUZWA7e.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-D7U6nQ7t.js → BlockPreviewCanvas-D0VhkzY8.js} +5 -5
- package/dist/cdn/chunks/{BlockPreviewCanvas-D7U6nQ7t.js.map → BlockPreviewCanvas-D0VhkzY8.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-EXXNMLbs.js → CloudPanels-BiU1MD-4.js} +2 -2
- package/dist/cdn/chunks/{CloudPanels-EXXNMLbs.js.map → CloudPanels-BiU1MD-4.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BN2_zvRj.js → CountdownToolbar-CH8UK01N.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-BN2_zvRj.js.map → CountdownToolbar-CH8UK01N.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BDwegn0s.js → IssuesPanel-3NPqHXJx.js} +3 -3
- package/dist/cdn/chunks/{IssuesPanel-BDwegn0s.js.map → IssuesPanel-3NPqHXJx.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-DXq9cXUd.js → LanguageMenu-75uu4P2d.js} +4 -4
- package/dist/cdn/chunks/{LanguageMenu-DXq9cXUd.js.map → LanguageMenu-75uu4P2d.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BEArlbra.js → LogicTagInsertButton-C5L73hYh.js} +4 -4
- package/dist/cdn/chunks/{LogicTagInsertButton-BEArlbra.js.map → LogicTagInsertButton-C5L73hYh.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-B3SLXXzL.js → MergeTagInput-D8cbnnZu.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-B3SLXXzL.js.map → MergeTagInput-D8cbnnZu.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Dywp9ntA.js → MergeTagModeToggle-D-RhwBsO.js} +2 -2
- package/dist/cdn/chunks/{MergeTagModeToggle-Dywp9ntA.js.map → MergeTagModeToggle-D-RhwBsO.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-B9TM7FgM.js → MergeTagTextarea-CAJIi2FE.js} +3 -3
- package/dist/cdn/chunks/{MergeTagTextarea-B9TM7FgM.js.map → MergeTagTextarea-CAJIi2FE.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CVGtTYta.js → ParagraphEditor-sRPXZDzp.js} +9 -9
- package/dist/cdn/chunks/{ParagraphEditor-CVGtTYta.js.map → ParagraphEditor-sRPXZDzp.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Dt_0qOOW.js → RestoreVersionDialog-CJK-14PX.js} +2 -2
- package/dist/cdn/chunks/{RestoreVersionDialog-Dt_0qOOW.js.map → RestoreVersionDialog-CJK-14PX.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BjN4mnzL.js → RichTextEditorContent-DU0wtA_j.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-BjN4mnzL.js.map → RichTextEditorContent-DU0wtA_j.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-D9eBjE99.js → SaveBlockDialog-C8hY9xA-.js} +5 -5
- package/dist/cdn/chunks/{SaveBlockDialog-D9eBjE99.js.map → SaveBlockDialog-C8hY9xA-.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-ClsTpkdk.js → SavedBlocksBrowserModal-B3nFAgAa.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-ClsTpkdk.js.map → SavedBlocksBrowserModal-B3nFAgAa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-CxlNHhUs.js → SavedBlocksPanels-CQenugHO.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-CxlNHhUs.js.map → SavedBlocksPanels-CQenugHO.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-C7_Z8phX.js → SavedBlocksPickBar-DzUP4IYv.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPickBar-C7_Z8phX.js.map → SavedBlocksPickBar-DzUP4IYv.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-B6zDtjSs.js → TemplateSettings-DnOwyN_1.js} +5 -5
- package/dist/cdn/chunks/{TemplateSettings-B6zDtjSs.js.map → TemplateSettings-DnOwyN_1.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-CJ_QYFua.js → TestEmailModal-BFqmfOZ1.js} +6 -6
- package/dist/cdn/chunks/{TestEmailModal-CJ_QYFua.js.map → TestEmailModal-BFqmfOZ1.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CsFrTq_a.js → TestEmailPanel-DFOhhaa9.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-CsFrTq_a.js.map → TestEmailPanel-DFOhhaa9.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CuKJptyw.js → TitleEditor-ChPXTB9T.js} +4 -4
- package/dist/cdn/chunks/{TitleEditor-CuKJptyw.js.map → TitleEditor-ChPXTB9T.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-TS2WwlPW.js → Toolbar-bbO5WoKo.js} +9 -9
- package/dist/cdn/chunks/{Toolbar-TS2WwlPW.js.map → Toolbar-bbO5WoKo.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-CsadClrH.js → TplModal-Bg97XHIJ.js} +2 -2
- package/dist/cdn/chunks/{TplModal-CsadClrH.js.map → TplModal-Bg97XHIJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-CieY91f0.js → VersionHistoryPanels-CyyRXWPU.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-CieY91f0.js.map → VersionHistoryPanels-CyyRXWPU.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DtnRuKWE.js → WrapperBlock-ZBCf7Y8u.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-DtnRuKWE.js.map → WrapperBlock-ZBCf7Y8u.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CUIiW9OD.js → composables-CMBZad02.js} +10 -10
- package/dist/cdn/chunks/{composables-CUIiW9OD.js.map → composables-CMBZad02.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-B7D04wKf.js → createCloudRuntime-BHGFjpek.js} +3 -3
- package/dist/cdn/chunks/{createCloudRuntime-B7D04wKf.js.map → createCloudRuntime-BHGFjpek.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-Cbvk9i08.js → extensions-Beg0g2wm.js} +4 -4
- package/dist/cdn/chunks/{extensions-Cbvk9i08.js.map → extensions-Beg0g2wm.js.map} +1 -1
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-BJ-MnCqF.js → normalizeMergeTagMarkup-B8yU4usU.js} +2 -2
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-BJ-MnCqF.js.map → normalizeMergeTagMarkup-B8yU4usU.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-D2wISRHq.js → preRenderCustomBlocks-CPHm2GOQ.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-D2wISRHq.js.map → preRenderCustomBlocks-CPHm2GOQ.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-CB7fjHFs.js → sanitizeHtml-B7LC0gKK.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-CB7fjHFs.js.map → sanitizeHtml-B7LC0gKK.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-C_yggK1_.js → socialIcons-D9D02_y5.js} +2 -2
- package/dist/cdn/chunks/{socialIcons-C_yggK1_.js.map → socialIcons-D9D02_y5.js.map} +1 -1
- package/dist/cdn/chunks/{src-Bp7bZcuD.js → src-BCrSqaj8.js} +2 -2
- package/dist/cdn/chunks/{src-Bp7bZcuD.js.map → src-BCrSqaj8.js.map} +1 -1
- package/dist/cdn/chunks/{src-D-URHI0Z.js → src-BO4aXl_Y.js} +3 -3
- package/dist/cdn/chunks/{src-D-URHI0Z.js.map → src-BO4aXl_Y.js.map} +1 -1
- package/dist/cdn/chunks/{src-CdVAke9t.js → src-DeywvttP.js} +547 -540
- package/dist/cdn/chunks/src-DeywvttP.js.map +1 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-slFOCPrh.js → useLocalizedDisplay-oykFcYrW.js} +2 -2
- package/dist/cdn/chunks/{useLocalizedDisplay-slFOCPrh.js.map → useLocalizedDisplay-oykFcYrW.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-lPjCGeGC.js → useLogicTag-D_qg9qqO.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-lPjCGeGC.js.map → useLogicTag-D_qg9qqO.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BKNBwIry.js → useMergeTag-VLnVHtxV.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-BKNBwIry.js.map → useMergeTag-VLnVHtxV.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-CzTFFaJA.js → withCurrentFont-m6TtR0dC.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-CzTFFaJA.js.map → withCurrentFont-m6TtR0dC.js.map} +1 -1
- package/dist/cdn/editor.js +17 -17
- package/dist/{composables-DbjgUQlV.js → composables-Cq7rsxRc.js} +8 -8
- package/dist/{createCloudRuntime-Cnh2M6iT.js → createCloudRuntime-CHsFF8DI.js} +2 -2
- package/dist/{dist-CAvsz9cW.js → dist-C0hVefGI.js} +343 -336
- package/dist/{extensions-7fb-XtNJ.js → extensions-BSXjPQEc.js} +3 -3
- package/dist/{normalizeMergeTagMarkup-GrXJfXsQ.js → normalizeMergeTagMarkup-CBLCQe02.js} +1 -1
- package/dist/{preRenderCustomBlocks-DuXtzD-F.js → preRenderCustomBlocks-e2OlY4aU.js} +1 -1
- package/dist/{sanitizeHtml-eV4_BpI6.js → sanitizeHtml-Dfn-fH17.js} +1 -1
- package/dist/{socialIcons-brRkK9Om.js → socialIcons-BZRLo0eT.js} +1 -1
- package/dist/templatical-editor.js +17 -17
- package/dist/{useLocalizedDisplay-DoaT7nWk.js → useLocalizedDisplay-B7tlQF4g.js} +1 -1
- package/dist/{useLogicTag-cTC2KbWd.js → useLogicTag-k_y-4o4W.js} +1 -1
- package/dist/{useMergeTag-D2YDZ8vR.js → useMergeTag-BiZ6XOdL.js} +1 -1
- package/dist/{withCurrentFont-DAmED4fN.js → withCurrentFont-CPhRujet.js} +1 -1
- package/package.json +7 -7
- package/dist/cdn/chunks/src-CdVAke9t.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, B as t, Ft as n, M as r, O as ee, c as i, ct as a, d as o, et as s, f as c, j as l, l as u, w as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as p, s as m } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { at as h, n as g, v as te } from "./keys-D9oKZN1h.js";
|
|
4
|
-
import { n as _ } from "./useLocalizedDisplay-
|
|
4
|
+
import { n as _ } from "./useLocalizedDisplay-B7tlQF4g.js";
|
|
5
5
|
import { t as v } from "./useI18n-CM9vKbYc.js";
|
|
6
6
|
import { n as y, r as b } from "./aiErrors-C3QEMB0x.js";
|
|
7
7
|
import { n as x, r as S } from "./aiImageContext-BQ5mQ6B5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, B as t, Ft as n, M as r, P as i, _ as a, c as o, ct as s, d as c, et as l, f as u, j as d, l as f, r as ee, w as p, y as m } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as h, s as g } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { n as _ } from "./useLocalizedDisplay-
|
|
3
|
+
import { n as _ } from "./useLocalizedDisplay-B7tlQF4g.js";
|
|
4
4
|
import { t as v } from "./useI18n-CM9vKbYc.js";
|
|
5
5
|
import { at as y, v as b } from "./keys-D9oKZN1h.js";
|
|
6
6
|
import { n as x } from "./aiErrors-C3QEMB0x.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { B as e, Ft as t, M as n, Mt as r, P as i, W as a, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, k as ee, l as p, r as m, w as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as te } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { _ as ne, v as re } from "./dist-
|
|
4
|
-
import { i as ie, n as ae, t as oe } from "./sanitizeHtml-
|
|
3
|
+
import { _ as ne, v as re } from "./dist-C0hVefGI.js";
|
|
4
|
+
import { i as ie, n as ae, t as oe } from "./sanitizeHtml-Dfn-fH17.js";
|
|
5
5
|
import { t as se } from "./sparkles-JWQlUiSn.js";
|
|
6
6
|
import { t as ce } from "./square-DshDy1Il.js";
|
|
7
7
|
import { t as _ } from "./createLucideIcon-D-mELTSY.js";
|
|
8
8
|
import { t as le } from "./x-DbLX5Qdm.js";
|
|
9
|
-
import { n as ue } from "./ParagraphEditor-
|
|
9
|
+
import { n as ue } from "./ParagraphEditor-DYqh0kEa.js";
|
|
10
10
|
import { t as de } from "./useI18n-CM9vKbYc.js";
|
|
11
11
|
import { w as v, x as y } from "./styleConstants-CgiNKdnc.js";
|
|
12
12
|
import { B as fe, P as pe, V as me, at as he, ct as ge, n as _e, v as ve } from "./keys-D9oKZN1h.js";
|
|
13
13
|
import { n as ye } from "./aiErrors-C3QEMB0x.js";
|
|
14
14
|
import { n as be, t as b } from "./aiRewritePreview-DlMyx6Si.js";
|
|
15
|
-
import { r as x } from "./normalizeMergeTagMarkup-
|
|
15
|
+
import { r as x } from "./normalizeMergeTagMarkup-CBLCQe02.js";
|
|
16
16
|
var S = _({
|
|
17
17
|
name: "wand-sparkles",
|
|
18
18
|
size: 24,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { I as t, L as n, M as r, N as i, P as a, Pt as o, c as s, ct as c, f as l, l as u, r as d, u as f, w as p, y as m } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
3
|
-
import { D as h, E as g, S as _, T as v, _ as y, a as b, d as x, g as S, h as C, i as w, k as T, m as E, o as D, r as O, v as k, x as A, y as j } from "./composables-
|
|
3
|
+
import { D as h, E as g, S as _, T as v, _ as y, a as b, d as x, g as S, h as C, i as w, k as T, m as E, o as D, r as O, v as k, x as A, y as j } from "./composables-Cq7rsxRc.js";
|
|
4
4
|
import { B as M, C as N, R as P, Y as F, b as I, ct as L, l as R, m as ee, st as te, v as ne } from "./keys-D9oKZN1h.js";
|
|
5
|
-
import { t as re } from "./WrapperBlock-
|
|
6
|
-
import { c as z, l as B, o as V } from "./socialIcons-
|
|
7
|
-
import { Ht as H, _ as U } from "./dist-
|
|
5
|
+
import { t as re } from "./WrapperBlock-B3UAv5kv.js";
|
|
6
|
+
import { c as z, l as B, o as V } from "./socialIcons-BZRLo0eT.js";
|
|
7
|
+
import { Ht as H, _ as U } from "./dist-C0hVefGI.js";
|
|
8
8
|
// src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__PURE__ */ m({
|
|
10
10
|
name: "PreviewSectionBlock",
|
|
@@ -4,7 +4,7 @@ import { t as h } from "./circle-exclamation-point-DHjORV_I.js";
|
|
|
4
4
|
import { C as g, b as _, f as v } from "./styleConstants-CgiNKdnc.js";
|
|
5
5
|
import { t as y } from "./useCloudI18n-HhCZYRV6.js";
|
|
6
6
|
import { t as b } from "./triangle-exclamation-point-BhJvBEoT.js";
|
|
7
|
-
import { t as x } from "./TplModal-
|
|
7
|
+
import { t as x } from "./TplModal-BPPP-uM6.js";
|
|
8
8
|
// src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var S = {
|
|
10
10
|
key: 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, c as o, ct as s, f as c, l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { c as p } from "./LogicTagInsertButton-
|
|
3
|
-
import { n as m, r as h } from "./Toolbar-
|
|
4
|
-
import { n as g } from "./MergeTagTextarea-
|
|
2
|
+
import { c as p } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
3
|
+
import { n as m, r as h } from "./Toolbar-BUVRjylH.js";
|
|
4
|
+
import { n as g } from "./MergeTagTextarea-BRMB24Dg.js";
|
|
5
5
|
import { t as _ } from "./ToggleSwitch-BIPdFWUr.js";
|
|
6
6
|
import { t as v } from "./useI18n-CM9vKbYc.js";
|
|
7
7
|
import { h as y } from "./styleConstants-CgiNKdnc.js";
|
|
8
|
-
import { t as b } from "./withCurrentFont-
|
|
8
|
+
import { t as b } from "./withCurrentFont-CPhRujet.js";
|
|
9
9
|
// src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
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 = [
|
|
11
11
|
"value",
|
|
@@ -62,7 +62,7 @@ var xe = _({
|
|
|
62
62
|
}, y = /* @__PURE__ */ re({
|
|
63
63
|
__name: "IssuesPanel",
|
|
64
64
|
setup(re) {
|
|
65
|
-
let _ = h(() => import("./AiAltTextPopover-
|
|
65
|
+
let _ = h(() => import("./AiAltTextPopover-BiZHthAB.js")), y = h(() => import("./AiAltTextReview-BwhROHiF.js")), b = l(null), x = l(null);
|
|
66
66
|
function Ye() {
|
|
67
67
|
j && !j.busy.value && (O(), b.value = [...Q.value]);
|
|
68
68
|
}
|
|
@@ -7,14 +7,14 @@ import { t as re } from "./chevron-down-DftQrAkI.js";
|
|
|
7
7
|
import { t as ie } from "./chevron-right-B-DULGbg.js";
|
|
8
8
|
import { t as ae } from "./plus-CotJVDxb.js";
|
|
9
9
|
import { t as oe } from "./trash-B1lZp2Tv.js";
|
|
10
|
-
import { Mt as se, Nt as b, lt as ce, nt as le, rt as ue } from "./dist-
|
|
10
|
+
import { Mt as se, Nt as b, lt as ce, nt as le, rt as ue } from "./dist-C0hVefGI.js";
|
|
11
11
|
import { t as de } from "./useI18n-CM9vKbYc.js";
|
|
12
|
-
import { t as fe } from "./useLocalizedDisplay-
|
|
12
|
+
import { t as fe } from "./useLocalizedDisplay-B7tlQF4g.js";
|
|
13
13
|
import { E as pe, at as me, h as he, t as ge } from "./keys-D9oKZN1h.js";
|
|
14
14
|
import { t as x } from "./plural-CyxrJXL1.js";
|
|
15
15
|
import { t as S } from "./languageName-DEEOhDWI.js";
|
|
16
16
|
import { C as _e, b as ve, f as ye, u as be, w as xe } from "./styleConstants-CgiNKdnc.js";
|
|
17
|
-
import { t as Se } from "./TplModal-
|
|
17
|
+
import { t as Se } from "./TplModal-BPPP-uM6.js";
|
|
18
18
|
import { t as C } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
19
19
|
var Ce = y({
|
|
20
20
|
name: "arrow-up-to-line",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, S as s, U as c, Y as l, Z as u, _ as d, a as f, c as p, ct as m, d as h, et as g, f as _, g as v, l as y, q as b, r as x, u as S, w as C, y as w } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as T, n as E, s as ee, t as D } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { Xt as O, Zt as k, dt as A, ht as j, k as M, mt as N, xt as P } from "./dist-
|
|
3
|
+
import { Xt as O, Zt as k, dt as A, ht as j, k as M, mt as N, xt as P } from "./dist-C0hVefGI.js";
|
|
4
4
|
import { t as F } from "./createLucideIcon-D-mELTSY.js";
|
|
5
5
|
import { t as I } from "./pencil-C2TRSR-Y.js";
|
|
6
6
|
import { t as L } from "./x-DbLX5Qdm.js";
|
|
@@ -8,9 +8,9 @@ import { nt as te, ot as ne, p as re, rt as ie } from "./keys-D9oKZN1h.js";
|
|
|
8
8
|
import { t as R } from "./useI18n-CM9vKbYc.js";
|
|
9
9
|
import { d as ae } from "./styleConstants-CgiNKdnc.js";
|
|
10
10
|
import { t as oe } from "./dist-B6ptxfPo.js";
|
|
11
|
-
import { t as z } from "./useMergeTag-
|
|
11
|
+
import { t as z } from "./useMergeTag-BiZ6XOdL.js";
|
|
12
12
|
import { a as se, c as ce, n as le, o as ue, r as de, s as fe, t as pe } from "./usePopoverPosition-CVRzzLkC.js";
|
|
13
|
-
import { t as me } from "./useLogicTag-
|
|
13
|
+
import { t as me } from "./useLogicTag-k_y-4o4W.js";
|
|
14
14
|
var B = F({
|
|
15
15
|
name: "braces",
|
|
16
16
|
size: 24,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as e, Mt as t, _ as n, ct as r, d as i, et as a, f as o, l as s, u as c, y as l } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-
|
|
2
|
+
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
3
3
|
import { h as m } from "./styleConstants-CgiNKdnc.js";
|
|
4
4
|
import { t as h } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
// src/components/MergeTagInput.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ft as e, M as t, P as n, Pt as r, c as i, ct as a, d as o, f as s, l as c, r as l, u, w as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { gt as p } from "./dist-
|
|
2
|
+
import { gt as p } from "./dist-C0hVefGI.js";
|
|
3
3
|
import { t as m } from "./createLucideIcon-D-mELTSY.js";
|
|
4
4
|
import { n as h, t as g } from "./smartphone-rLz4X-Dd.js";
|
|
5
5
|
import { t as _ } from "./sparkles-JWQlUiSn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as e, Ft as t, M as n, Mt as r, Nt as i, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, l as f, u as p, w as m, x as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { et as _, lt as v, zt as y } from "./dist-
|
|
3
|
-
import { i as b, n as x, r as S, t as C } from "./LogicTagInsertButton-
|
|
2
|
+
import { et as _, lt as v, zt as y } from "./dist-C0hVefGI.js";
|
|
3
|
+
import { i as b, n as x, r as S, t as C } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
4
4
|
import { t as w } from "./rotate-ccw-BlnQ3y6R.js";
|
|
5
5
|
import { v as T } from "./keys-D9oKZN1h.js";
|
|
6
6
|
import { t as E } from "./useI18n-CM9vKbYc.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { Ft as t, L as n, M as r, Mt as i, P as a, Pt as o, Y as s, _ as c, a as l, c as u, ct as d, d as f, et as p, f as m, g as h, l as g, r as _, u as v, v as y, w as b, y as x } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
3
3
|
import { c as S, s as C } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
4
|
-
import { B as w, H as T, U as E, z as D } from "./composables-
|
|
4
|
+
import { B as w, H as T, U as E, z as D } from "./composables-Cq7rsxRc.js";
|
|
5
5
|
import { n as O } from "./usePopoverPosition-CVRzzLkC.js";
|
|
6
|
-
import { Ht as ee } from "./dist-
|
|
7
|
-
import { n as te } from "./useLocalizedDisplay-
|
|
6
|
+
import { Ht as ee } from "./dist-C0hVefGI.js";
|
|
7
|
+
import { n as te } from "./useLocalizedDisplay-B7tlQF4g.js";
|
|
8
8
|
import { I as ne, M as k, b as A, ct as j, d as M, nt as N, ot as P, v as F } from "./keys-D9oKZN1h.js";
|
|
9
|
-
import { c as I, l as re, u as ie } from "./LogicTagInsertButton-
|
|
9
|
+
import { c as I, l as re, u as ie } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
10
10
|
import { t as L } from "./dist-B6ptxfPo.js";
|
|
11
11
|
import { t as R } from "./createLucideIcon-D-mELTSY.js";
|
|
12
12
|
import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
13
|
-
import { n as ae, t as oe } from "./withCurrentFont-
|
|
13
|
+
import { n as ae, t as oe } from "./withCurrentFont-CPhRujet.js";
|
|
14
14
|
import { n as se, r as ce, t as le } from "./text-align-start-CyasaQtr.js";
|
|
15
15
|
import { t as B } from "./useI18n-CM9vKbYc.js";
|
|
16
|
-
import { i as ue, n as V, r as de, t as H } from "./RichTextEditorContent-
|
|
16
|
+
import { i as ue, n as V, r as de, t as H } from "./RichTextEditorContent-WeCqqCy3.js";
|
|
17
17
|
import { t as fe } from "./link-C2icj0iH.js";
|
|
18
18
|
import { t as pe } from "./list-KYC_Jb5A.js";
|
|
19
19
|
import { t as me } from "./loader-circle-DmyagWpc.js";
|
|
@@ -337,7 +337,7 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
|
|
|
337
337
|
"add-logic-tag"
|
|
338
338
|
],
|
|
339
339
|
setup(e, { emit: n }) {
|
|
340
|
-
let i = y(() => import("./AiRewriteMenu-
|
|
340
|
+
let i = y(() => import("./AiRewriteMenu-6b8GNj64.js")), a = e, s = b(M, {}), p = u(() => s.ai?.isFeatureEnabled("rewrite") ?? !1), x = n, S = b(N, null), C = b(P, null), w = j(A, "ParagraphToolbar"), T = O(), E = b(ne, null), D = b(k, null), ee = b(F, null), te = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: L } = B(), R = w.fonts, z = _e.map((e) => ({
|
|
341
341
|
value: e,
|
|
342
342
|
label: e === "normal" ? L.paragraphEditor.letterSpacingNormal : e
|
|
343
343
|
}));
|
|
@@ -695,7 +695,7 @@ var Ne = ["data-tpl-theme", "aria-label"], Pe = ["disabled", "inert"], Fe = { cl
|
|
|
695
695
|
import("./dist-D9cbSSSx.js"),
|
|
696
696
|
import("./dist-ELLEk-lS.js"),
|
|
697
697
|
import("./dist-DI_8rB1X.js"),
|
|
698
|
-
import("./extensions-
|
|
698
|
+
import("./extensions-BSXjPQEc.js")
|
|
699
699
|
]);
|
|
700
700
|
return {
|
|
701
701
|
TiptapEditor: o,
|
|
@@ -2,7 +2,7 @@ import { Ft as e, M as t, Mt as n, U as r, _ as i, ct as a, d as o, f as s, g as
|
|
|
2
2
|
import { C as f, b as p, f as m } from "./styleConstants-CgiNKdnc.js";
|
|
3
3
|
import { t as h } from "./triangle-exclamation-point-BhJvBEoT.js";
|
|
4
4
|
import { t as g } from "./loader-circle-DmyagWpc.js";
|
|
5
|
-
import { t as _ } from "./TplModal-
|
|
5
|
+
import { t as _ } from "./TplModal-BPPP-uM6.js";
|
|
6
6
|
import { t as v } from "./useI18n-CM9vKbYc.js";
|
|
7
7
|
// src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { E as e, Ft as t, L as n, M as r, Pt as i, R as a, _ as o, a as s, c, ct as l, d as u, f as d, g as f, l as p, u as m, w as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as _ } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { t as v } from "./createLucideIcon-D-mELTSY.js";
|
|
4
|
-
import { c as y } from "./LogicTagInsertButton-
|
|
4
|
+
import { c as y } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
5
5
|
import { t as b } from "./x-DbLX5Qdm.js";
|
|
6
6
|
import { nt as x, ot as S, v as C } from "./keys-D9oKZN1h.js";
|
|
7
7
|
import { t as w } from "./useI18n-CM9vKbYc.js";
|
|
8
8
|
import { n as T } from "./usePopoverPosition-CVRzzLkC.js";
|
|
9
|
-
import { t as E } from "./MergeTagInput-
|
|
9
|
+
import { t as E } from "./MergeTagInput-BA89v7KJ.js";
|
|
10
10
|
var D = v({
|
|
11
11
|
name: "italic",
|
|
12
12
|
size: 24,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { A as e, B as t, Ft as n, L as r, M as i, Mt as a, P as o, Pt as s, U as c, W as l, _ as u, c as d, ct as f, d as p, et as m, f as h, g, k as _, l as v, r as y, u as b, w as x, y as S } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { b as E } from "./styleConstants-CgiNKdnc.js";
|
|
4
|
-
import { t as D } from "./BlockPreviewCanvas-
|
|
5
|
-
import { W as ee, c as O } from "./composables-
|
|
4
|
+
import { t as D } from "./BlockPreviewCanvas-BAYIy-QJ.js";
|
|
5
|
+
import { W as ee, c as O } from "./composables-Cq7rsxRc.js";
|
|
6
6
|
import { Z as k, ct as A, h as j, v as M } from "./keys-D9oKZN1h.js";
|
|
7
|
-
import { l as N, y as te } from "./socialIcons-
|
|
7
|
+
import { l as N, y as te } from "./socialIcons-BZRLo0eT.js";
|
|
8
8
|
import { t as P } from "./chevron-down-DftQrAkI.js";
|
|
9
9
|
import { t as F } from "./useI18n-CM9vKbYc.js";
|
|
10
10
|
import { t as I } from "./chevron-up-CeYsyD8c.js";
|
|
11
|
-
import { t as L } from "./TplModal-
|
|
11
|
+
import { t as L } from "./TplModal-BPPP-uM6.js";
|
|
12
12
|
import { t as R } from "./loader-circle-DmyagWpc.js";
|
|
13
13
|
// src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
14
14
|
var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { B as e, Ft as t, L as n, M as r, Mt as i, O as a, P as o, Pt as ee, U as te, W as s, _ as c, c as l, ct as u, d, et as f, f as p, l as m, r as h, u as g, v as ne, w as re, y as _ } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { b as ie } from "./styleConstants-CgiNKdnc.js";
|
|
4
|
-
import { t as ae } from "./TplModal-
|
|
5
|
-
import "./composables-
|
|
6
|
-
import { t as S } from "./blockTypeIcons-
|
|
4
|
+
import { t as ae } from "./TplModal-BPPP-uM6.js";
|
|
5
|
+
import "./composables-Cq7rsxRc.js";
|
|
6
|
+
import { t as S } from "./blockTypeIcons-BPPpqFc2.js";
|
|
7
7
|
import { t as oe } from "./formatAbsoluteDateTime-Ck2_zXra.js";
|
|
8
8
|
import { t as se } from "./formatRelativeTime-BTD8Ktt-.js";
|
|
9
9
|
import { Z as ce, at as le, ct as C, v as ue } from "./keys-D9oKZN1h.js";
|
|
@@ -75,7 +75,7 @@ var _e = {
|
|
|
75
75
|
props: { visible: { type: Boolean } },
|
|
76
76
|
emits: ["close", "insert"],
|
|
77
77
|
setup(_, { emit: T }) {
|
|
78
|
-
let pt = _, E = T, mt = ne(() => import("./BlockPreviewCanvas-
|
|
78
|
+
let pt = _, E = T, mt = ne(() => import("./BlockPreviewCanvas-BAYIy-QJ.js").then((e) => e.n)), { t: D, format: O } = fe(), k = C(ce, "SavedBlocksBrowserModal"), A = C(ue, "SavedBlocksBrowserModal"), ht = re(le, void 0), j = f(""), M = f(""), N = f(null), P = f(null), F = f(null), I = f(""), L = f(""), R = f(null), z = f(null), B = f(null), V = f("end"), H = /* @__PURE__ */ new Map();
|
|
79
79
|
function gt(e, t) {
|
|
80
80
|
t ? H.set(e, t) : H.delete(e);
|
|
81
81
|
}
|
|
@@ -4,7 +4,7 @@ var c = /* @__PURE__ */ s({
|
|
|
4
4
|
__name: "SavedBlocksPanels",
|
|
5
5
|
props: { feature: {} },
|
|
6
6
|
setup(s) {
|
|
7
|
-
let c = s, l = o(() => import("./SavedBlocksPickBar-
|
|
7
|
+
let c = s, l = o(() => import("./SavedBlocksPickBar-DbULBPsI.js")), u = o(() => import("./SaveBlockDialog-D992yyO4.js")), d = o(() => import("./SavedBlocksBrowserModal-tH74h2Tz.js"));
|
|
8
8
|
function f(e, t) {
|
|
9
9
|
c.feature.insert(e, t);
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ft as e, M as t, Mt as n, _ as r, ct as i, f as a, g as o, l as s, y as c } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { K as l } from "./composables-
|
|
2
|
+
import { K as l } from "./composables-Cq7rsxRc.js";
|
|
3
3
|
import { C as u, b as d } from "./styleConstants-CgiNKdnc.js";
|
|
4
4
|
import { t as f } from "./useI18n-CM9vKbYc.js";
|
|
5
5
|
import { t as p } from "./x-DbLX5Qdm.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Ft as e, M as t, Mt as n, P as r, Pt as ee, U as i, _ as a, c as o, ct as s, d as c, f as l, l as u, r as d, w as f, y as p } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { n as m, t as te } from "./MergeTagTextarea-
|
|
3
|
-
import { c as h } from "./LogicTagInsertButton-
|
|
2
|
+
import { n as m, t as te } from "./MergeTagTextarea-BRMB24Dg.js";
|
|
3
|
+
import { c as h } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
4
4
|
import { t as g } from "./ToggleSwitch-BIPdFWUr.js";
|
|
5
5
|
import { t as ne } from "./useI18n-CM9vKbYc.js";
|
|
6
|
-
import { Ht as re } from "./dist-
|
|
6
|
+
import { Ht as re } from "./dist-C0hVefGI.js";
|
|
7
7
|
import { _, g as v, h as y, l as ie, t as ae, v as oe } from "./styleConstants-CgiNKdnc.js";
|
|
8
8
|
import { t as b } from "./createLucideIcon-D-mELTSY.js";
|
|
9
9
|
import { t as se } from "./eye-fe5sKF_K.js";
|
|
10
10
|
import { t as ce } from "./info-DDbLU4pT.js";
|
|
11
11
|
import { t as le } from "./square-DshDy1Il.js";
|
|
12
|
-
import { n as x, t as S } from "./withCurrentFont-
|
|
12
|
+
import { n as x, t as S } from "./withCurrentFont-CPhRujet.js";
|
|
13
13
|
import { b as C, ct as w, tt as T } from "./keys-D9oKZN1h.js";
|
|
14
14
|
import { n as E, t as D } from "./templateSettingsFields-cjlP-jdw.js";
|
|
15
15
|
var O = b({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { B as e, Ft as t, M as n, Mt as r, P as i, U as a, W as o, _ as s, c, ct as l, d as u, et as d, f, g as p, l as m, r as h, u as g, w as _, y as v } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as ee, i as te } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { b as ne } from "./styleConstants-CgiNKdnc.js";
|
|
4
|
-
import { t as re } from "./TplModal-
|
|
5
|
-
import { t as ie } from "./BlockPreviewCanvas-
|
|
6
|
-
import { n as ae, t as oe } from "./MergeTagModeToggle-
|
|
4
|
+
import { t as re } from "./TplModal-BPPP-uM6.js";
|
|
5
|
+
import { t as ie } from "./BlockPreviewCanvas-BAYIy-QJ.js";
|
|
6
|
+
import { n as ae, t as oe } from "./MergeTagModeToggle-De_FNmcG.js";
|
|
7
7
|
import { t as se } from "./useI18n-CM9vKbYc.js";
|
|
8
8
|
import { t as ce } from "./check-C7ua4TAK.js";
|
|
9
9
|
import { t as le } from "./loader-circle-DmyagWpc.js";
|
|
10
|
-
import { S as ue, gt as de, qt as y } from "./dist-
|
|
10
|
+
import { S as ue, gt as de, qt as y } from "./dist-C0hVefGI.js";
|
|
11
11
|
import { P as fe, R as pe, T as me, V as he, X as ge, v as _e } from "./keys-D9oKZN1h.js";
|
|
12
|
-
import { L as ve } from "./composables-
|
|
12
|
+
import { L as ve } from "./composables-Cq7rsxRc.js";
|
|
13
13
|
// src/utils/validateEmailShape.ts
|
|
14
14
|
var b = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
|
|
15
15
|
function x(e) {
|
|
@@ -4,7 +4,7 @@ var o = /* @__PURE__ */ a({
|
|
|
4
4
|
__name: "TestEmailPanel",
|
|
5
5
|
props: { feature: {} },
|
|
6
6
|
setup(a) {
|
|
7
|
-
let o = a, s = i(() => import("./TestEmailModal-
|
|
7
|
+
let o = a, s = i(() => import("./TestEmailModal-hb9iopaZ.js"));
|
|
8
8
|
function c(e) {
|
|
9
9
|
o.feature.send(e);
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ft as e, M as t, Mt as n, Pt as r, Y as i, _ as a, a as o, c as s, ct as c, d as l, f as u, g as d, l as f, r as p, u as m, w as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { B as _, z as v } from "./composables-
|
|
2
|
+
import { B as _, z as v } from "./composables-Cq7rsxRc.js";
|
|
3
3
|
import { n as y } from "./usePopoverPosition-CVRzzLkC.js";
|
|
4
|
-
import { i as ee, n as te, r as ne, t as re } from "./RichTextEditorContent-
|
|
5
|
-
import { l as ie, u as ae } from "./LogicTagInsertButton-
|
|
4
|
+
import { i as ee, n as te, r as ne, t as re } from "./RichTextEditorContent-WeCqqCy3.js";
|
|
5
|
+
import { l as ie, u as ae } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
6
6
|
import { t as oe } from "./link-C2icj0iH.js";
|
|
7
7
|
import { t as se } from "./loader-circle-DmyagWpc.js";
|
|
8
8
|
import { t as ce } from "./useI18n-CM9vKbYc.js";
|
|
@@ -35,7 +35,7 @@ var S = { class: "tpl-text-editor-wrapper tpl:relative" }, C = ["data-tpl-theme"
|
|
|
35
35
|
import("./dist-BxKFi2h_.js").then((e) => e.r),
|
|
36
36
|
import("./dist-CMBOqk9I.js"),
|
|
37
37
|
import("./dist-B3G4Yvpd.js"),
|
|
38
|
-
import("./extensions-
|
|
38
|
+
import("./extensions-BSXjPQEc.js")
|
|
39
39
|
]);
|
|
40
40
|
return {
|
|
41
41
|
TiptapEditor: a,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, rt as C, u as w, v as T, w as E, y as D } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
3
3
|
import { a as O, o as k } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
4
|
-
import { n as A, t as j } from "./MergeTagTextarea-
|
|
5
|
-
import { c as M } from "./LogicTagInsertButton-
|
|
6
|
-
import { t as N } from "./MergeTagInput-
|
|
4
|
+
import { n as A, t as j } from "./MergeTagTextarea-BRMB24Dg.js";
|
|
5
|
+
import { c as M } from "./LogicTagInsertButton-Ci7V0Exe.js";
|
|
6
|
+
import { t as N } from "./MergeTagInput-BA89v7KJ.js";
|
|
7
7
|
import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
|
|
8
8
|
import { C as F, S as I, _ as L, b as ee, c as R, g as z, h as B, r as te, v as V, y as ne } from "./styleConstants-CgiNKdnc.js";
|
|
9
9
|
import { t as re } from "./link-C2icj0iH.js";
|
|
10
10
|
import { t as ie } from "./createLucideIcon-D-mELTSY.js";
|
|
11
11
|
import { t as H } from "./useI18n-CM9vKbYc.js";
|
|
12
|
-
import { M as ae, Wt as oe, Yt as se, _ as ce, _t as le, cn as ue, i as de, j as U, jt as fe, lt as pe, n as me, on as he, p as W, r as G, t as K, ut as q, yt as J } from "./dist-
|
|
13
|
-
import { n as ge, t as Y } from "./withCurrentFont-
|
|
12
|
+
import { M as ae, Wt as oe, Yt as se, _ as ce, _t as le, cn as ue, i as de, j as U, jt as fe, lt as pe, n as me, on as he, p as W, r as G, t as K, ut as q, yt as J } from "./dist-C0hVefGI.js";
|
|
13
|
+
import { n as ge, t as Y } from "./withCurrentFont-CPhRujet.js";
|
|
14
14
|
import { t as _e } from "./languageName-DEEOhDWI.js";
|
|
15
|
-
import { n as X, t as ve } from "./blockTypeIcons-
|
|
15
|
+
import { n as X, t as ve } from "./blockTypeIcons-BPPpqFc2.js";
|
|
16
16
|
import { t as Z } from "./plus-CotJVDxb.js";
|
|
17
17
|
import { t as ye } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
18
|
-
import { B as be, T as xe, _ as Se, b as Ce, d as we, f as Te, g as Ee, h as Q, i as De, k as Oe, l as ke, m as Ae, p as je, r as Me, s as Ne, u as Pe, v as Fe } from "./socialIcons-
|
|
18
|
+
import { B as be, T as xe, _ as Se, b as Ce, d as we, f as Te, g as Ee, h as Q, i as De, k as Oe, l as ke, m as Ae, p as je, r as Me, s as Ne, u as Pe, v as Fe } from "./socialIcons-BZRLo0eT.js";
|
|
19
19
|
import { t as Ie } from "./image-CUC7SZiW.js";
|
|
20
20
|
import { B as Le, C as Re, H as ze, O as Be, Q as Ve, T as He, W as Ue, _ as We, b as Ge, ct as Ke, h as qe, p as Je, r as Ye, v as Xe } from "./keys-D9oKZN1h.js";
|
|
21
21
|
import { t as Ze } from "./chevron-down-DftQrAkI.js";
|
|
@@ -26,7 +26,7 @@ import { t as nt } from "./refresh-cw-CuCRV6D5.js";
|
|
|
26
26
|
import { c as rt, r as it } from "./usePopoverPosition-CVRzzLkC.js";
|
|
27
27
|
import { t as at } from "./trash-B1lZp2Tv.js";
|
|
28
28
|
import { t as ot } from "./info-DDbLU4pT.js";
|
|
29
|
-
import { n as st } from "./useLocalizedDisplay-
|
|
29
|
+
import { n as st } from "./useLocalizedDisplay-B7tlQF4g.js";
|
|
30
30
|
import { _ as ct } from "./dist-A328tG0Z.js";
|
|
31
31
|
import { n as lt, r as ut, t as dt } from "./text-align-start-CyasaQtr.js";
|
|
32
32
|
import { t as ft } from "./x-DbLX5Qdm.js";
|
|
@@ -3885,7 +3885,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
|
|
|
3885
3885
|
"duplicate"
|
|
3886
3886
|
],
|
|
3887
3887
|
setup(e, { emit: t }) {
|
|
3888
|
-
let n = T(() => import("./CountdownToolbar-
|
|
3888
|
+
let n = T(() => import("./CountdownToolbar-CTbJPh8B.js")), o = e, s = t, { t: c } = H(), l = rt(), u = Ke(Ge, "Toolbar"), d = E(qe, []), f = m(() => o.block.type), _ = m(() => J(o.block)), y = m(() => {
|
|
3889
3889
|
if (_.value) return d.find((e) => e.type === o.block.customType);
|
|
3890
3890
|
}), x = m(() => _.value ? y.value?.name ?? o.block.customType : Ce(f.value, c)), S = m(() => ge(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
|
|
3891
3891
|
function C(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as e, M as t, Pt as n, U as r, _ as i, a, c as o, ct as s, d as c, et as l, f as u, l as d, u as f, w as p, y as m } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as h, t as g } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { U as _ } from "./composables-
|
|
3
|
+
import { U as _ } from "./composables-Cq7rsxRc.js";
|
|
4
4
|
import { n as v } from "./usePopoverPosition-CVRzzLkC.js";
|
|
5
5
|
import { nt as y, ot as b } from "./keys-D9oKZN1h.js";
|
|
6
6
|
// src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -4,7 +4,7 @@ var c = /* @__PURE__ */ s({
|
|
|
4
4
|
__name: "VersionHistoryPanels",
|
|
5
5
|
props: { feature: {} },
|
|
6
6
|
setup(s) {
|
|
7
|
-
let c = s, l = o(() => import("./VersionPreviewBanner-lkAf7tc8.js")), u = o(() => import("./RestoreVersionDialog-
|
|
7
|
+
let c = s, l = o(() => import("./VersionPreviewBanner-lkAf7tc8.js")), u = o(() => import("./RestoreVersionDialog-CRkyFafq.js"));
|
|
8
8
|
async function d() {
|
|
9
9
|
try {
|
|
10
10
|
await c.feature.requestRestore();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { B as e, L as t, M as n, Mt as r, P as i, Pt as a, c as o, ct as s, f as c, r as l, u, w as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { C as p, E as m, O as h, k as g, w as _ } from "./composables-
|
|
3
|
-
import { _ as v } from "./dist-
|
|
2
|
+
import { C as p, E as m, O as h, k as g, w as _ } from "./composables-Cq7rsxRc.js";
|
|
3
|
+
import { _ as v } from "./dist-C0hVefGI.js";
|
|
4
4
|
import { B as y, C as b, T as x, l as S, v as C } from "./keys-D9oKZN1h.js";
|
|
5
|
-
import { S as w, o as T, w as E } from "./socialIcons-
|
|
5
|
+
import { S as w, o as T, w as E } from "./socialIcons-BZRLo0eT.js";
|
|
6
6
|
// src/components/blocks/WrapperBlock.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var D = ["data-block-id"], O = ["data-block-id"], k = /* @__PURE__ */ f({
|
|
8
8
|
name: "WrapperBlock",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, E as t, O as n, k as r } from "./socialIcons-
|
|
1
|
+
import { D as e, E as t, O as n, k as r } from "./socialIcons-BZRLo0eT.js";
|
|
2
2
|
import { t as i } from "./createLucideIcon-D-mELTSY.js";
|
|
3
3
|
import { t as a } from "./image-CUC7SZiW.js";
|
|
4
4
|
var o = i({
|
package/dist/bundle-stats.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.57.
|
|
3
|
-
"initialGzipBytes":
|
|
4
|
-
"initialRawBytes":
|
|
2
|
+
"version": "0.57.1",
|
|
3
|
+
"initialGzipBytes": 258486,
|
|
4
|
+
"initialRawBytes": 859884,
|
|
5
5
|
"initialFileCount": 56,
|
|
6
|
-
"lazyGzipBytes":
|
|
6
|
+
"lazyGzipBytes": 490181,
|
|
7
7
|
"lazyRawBytes": 1729053,
|
|
8
8
|
"lazyFileCount": 90,
|
|
9
|
-
"generatedAt": "2026-11-
|
|
9
|
+
"generatedAt": "2026-11-08T19:44:04.219Z"
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, F as t, H as n, N as r, O as i, P as a, _ as o, c as s, ct as c, g as l, j as u, l as d, m as f, mt as p, p as m, tt as h } from "./draggable-IRVFEZ-b.js";
|
|
2
2
|
import { at as g, n as _, v } from "./keys-BQqbBUag.js";
|
|
3
|
-
import { n as ee } from "./useLocalizedDisplay-
|
|
3
|
+
import { n as ee } from "./useLocalizedDisplay-oykFcYrW.js";
|
|
4
4
|
import { t as y } from "./useI18n-CSf-ZpcM.js";
|
|
5
5
|
import { n as b, r as x } from "./aiErrors-C3QEMB0x.js";
|
|
6
6
|
import { n as S, r as C } from "./aiImageContext-BQ5mQ6B5.js";
|
|
@@ -104,4 +104,4 @@ var w = ["onKeydown"], T = [
|
|
|
104
104
|
});
|
|
105
105
|
export { M as default };
|
|
106
106
|
|
|
107
|
-
//# sourceMappingURL=AiAltTextPopover-
|
|
107
|
+
//# sourceMappingURL=AiAltTextPopover-CafZSF50.js.map
|
package/dist/cdn/chunks/{AiAltTextPopover-CfGJNBOb.js.map → AiAltTextPopover-CafZSF50.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiAltTextPopover-CfGJNBOb.js","names":["_openBlock","_createElementBlock","_withKeys","_withModifiers","_createElementVNode","_unref","_toDisplayString","_createCommentVNode","_sfc_main","defineComponent","openBlock","watch","onMounted","inject","onUnmounted","createElementBlock","withKeys","unref","createCommentVNode","nextTick","withModifiers","createBaseVNode","toDisplayString","computed","ref","UI_LOCALE_KEY","AI_FEATURE_KEY","useLocalizedDisplay","useI18n","aiErrorMessage","isSdkError","aiImageSnapshot","sameAiImage","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","AiAltTextPopover_default","__emit","props","__props","emit","ai","editor","EDITOR_KEY","localized","captured","refused","stale","locale","alt","drafting","applying","failed","detail","textarea","controller","closed","editAlt","input","event","close","error","t","format","apply","decorative","_cache"],"sources":["../../../src/components/ai/AiAltTextPopover.vue","../../../src/components/ai/AiAltTextPopover.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n computed,\n inject,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n watch,\n} from \"vue\";\nimport { AI_FEATURE_KEY, EDITOR_KEY, UI_LOCALE_KEY } from \"../../keys\";\nimport { useLocalizedDisplay } from \"../../composables/useLocalizedDisplay\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { aiErrorMessage } from \"../../utils/aiErrors\";\nimport { aiImageSnapshot, sameAiImage } from \"../../utils/aiImageContext\";\nimport { isSdkError } from \"../../utils/isSdkError\";\n\nconst props = defineProps<{ blockId: string }>();\nconst emit = defineEmits<{\n close: [];\n drafting: [controller: AbortController | null];\n}>();\nconst ai = inject(AI_FEATURE_KEY, null);\nconst editor = inject(EDITOR_KEY, null);\nconst localized = editor ? useLocalizedDisplay(editor) : null;\nconst captured = localized\n ? aiImageSnapshot(localized.content.value, props.blockId)\n : null;\nconst refused = ref(false);\nconst stale = computed(\n () =>\n refused.value ||\n (editor !== null &&\n !sameAiImage(\n aiImageSnapshot(localized!.content.value, props.blockId),\n captured,\n )),\n);\nconst locale = inject(UI_LOCALE_KEY, \"en\");\nconst { t, format } = useI18n();\nconst alt = ref(\"\");\nconst drafting = ref(true);\nconst applying = ref(false);\nconst failed = ref(false);\nconst detail = ref(\"\");\nconst textarea = ref<HTMLTextAreaElement | null>(null);\nconst controller = new AbortController();\nlet closed = false;\nfunction editAlt(event: Event): void {\n const input = event.target as HTMLTextAreaElement;\n if (drafting.value) {\n input.value = alt.value;\n return;\n }\n alt.value = input.value;\n}\nfunction close(): void {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n emit(\"close\");\n}\nif (ai) watch(ai.templateSession, close, { flush: \"sync\" });\nif (editor?.activeLocale) watch(editor.activeLocale, close, { flush: \"sync\" });\nonMounted(async () => {\n emit(\"drafting\", controller);\n try {\n if (ai) alt.value = await ai.draftAltText(props.blockId, controller.signal);\n } catch (error) {\n if (!controller.signal.aborted) {\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n }\n } finally {\n drafting.value = false;\n emit(\"drafting\", null);\n await nextTick();\n if (!closed) textarea.value?.focus();\n }\n});\nonUnmounted(() => {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n});\nasync function apply(decorative: boolean): Promise<void> {\n if (\n closed ||\n !ai ||\n applying.value ||\n drafting.value ||\n ai.busy.value ||\n stale.value\n )\n return;\n applying.value = true;\n try {\n await ai.applyAltTexts([\n {\n blockId: props.blockId,\n alt: decorative ? \"\" : alt.value,\n decorative,\n ...(captured ? { expect: captured } : {}),\n },\n ]);\n close();\n } catch (error) {\n if (\n isSdkError(error) &&\n (error.code === \"precondition_failed\" || error.code === \"block_missing\")\n )\n refused.value = true;\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n } finally {\n applying.value = false;\n }\n}\n</script>\n\n<template>\n <div\n class=\"tpl:mt-3 tpl:flex tpl:flex-col tpl:gap-2\"\n @keydown.esc.stop.prevent=\"close\"\n >\n <textarea\n ref=\"textarea\"\n :value=\"alt\"\n :disabled=\"drafting\"\n :readonly=\"drafting\"\n :aria-busy=\"drafting\"\n @input=\"editAlt\"\n :aria-label=\"t.ai.altText.title\"\n rows=\"3\"\n class=\"tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n />\n <p class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]\">\n {{ t.ai.altText.note }}\n </p>\n <p\n v-if=\"stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.stale }}\n </p>\n <p\n v-if=\"failed && !stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.failed }} {{ detail }}\n </p>\n <div class=\"tpl:flex tpl:flex-wrap tpl:gap-2\">\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-on-primary)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(false)\"\n >\n {{ t.ai.altText.accept }}\n </button>\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(true)\"\n >\n {{ t.ai.altText.decorative }}\n </button>\n <button\n type=\"button\"\n class=\"tpl:rounded-md tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n @click=\"close\"\n >\n {{ t.ai.altText.cancel }}\n </button>\n </div>\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport {\n computed,\n inject,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n watch,\n} from \"vue\";\nimport { AI_FEATURE_KEY, EDITOR_KEY, UI_LOCALE_KEY } from \"../../keys\";\nimport { useLocalizedDisplay } from \"../../composables/useLocalizedDisplay\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { aiErrorMessage } from \"../../utils/aiErrors\";\nimport { aiImageSnapshot, sameAiImage } from \"../../utils/aiImageContext\";\nimport { isSdkError } from \"../../utils/isSdkError\";\n\nconst props = defineProps<{ blockId: string }>();\nconst emit = defineEmits<{\n close: [];\n drafting: [controller: AbortController | null];\n}>();\nconst ai = inject(AI_FEATURE_KEY, null);\nconst editor = inject(EDITOR_KEY, null);\nconst localized = editor ? useLocalizedDisplay(editor) : null;\nconst captured = localized\n ? aiImageSnapshot(localized.content.value, props.blockId)\n : null;\nconst refused = ref(false);\nconst stale = computed(\n () =>\n refused.value ||\n (editor !== null &&\n !sameAiImage(\n aiImageSnapshot(localized!.content.value, props.blockId),\n captured,\n )),\n);\nconst locale = inject(UI_LOCALE_KEY, \"en\");\nconst { t, format } = useI18n();\nconst alt = ref(\"\");\nconst drafting = ref(true);\nconst applying = ref(false);\nconst failed = ref(false);\nconst detail = ref(\"\");\nconst textarea = ref<HTMLTextAreaElement | null>(null);\nconst controller = new AbortController();\nlet closed = false;\nfunction editAlt(event: Event): void {\n const input = event.target as HTMLTextAreaElement;\n if (drafting.value) {\n input.value = alt.value;\n return;\n }\n alt.value = input.value;\n}\nfunction close(): void {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n emit(\"close\");\n}\nif (ai) watch(ai.templateSession, close, { flush: \"sync\" });\nif (editor?.activeLocale) watch(editor.activeLocale, close, { flush: \"sync\" });\nonMounted(async () => {\n emit(\"drafting\", controller);\n try {\n if (ai) alt.value = await ai.draftAltText(props.blockId, controller.signal);\n } catch (error) {\n if (!controller.signal.aborted) {\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n }\n } finally {\n drafting.value = false;\n emit(\"drafting\", null);\n await nextTick();\n if (!closed) textarea.value?.focus();\n }\n});\nonUnmounted(() => {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n});\nasync function apply(decorative: boolean): Promise<void> {\n if (\n closed ||\n !ai ||\n applying.value ||\n drafting.value ||\n ai.busy.value ||\n stale.value\n )\n return;\n applying.value = true;\n try {\n await ai.applyAltTexts([\n {\n blockId: props.blockId,\n alt: decorative ? \"\" : alt.value,\n decorative,\n ...(captured ? { expect: captured } : {}),\n },\n ]);\n close();\n } catch (error) {\n if (\n isSdkError(error) &&\n (error.code === \"precondition_failed\" || error.code === \"block_missing\")\n )\n refused.value = true;\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n } finally {\n applying.value = false;\n }\n}\n</script>\n\n<template>\n <div\n class=\"tpl:mt-3 tpl:flex tpl:flex-col tpl:gap-2\"\n @keydown.esc.stop.prevent=\"close\"\n >\n <textarea\n ref=\"textarea\"\n :value=\"alt\"\n :disabled=\"drafting\"\n :readonly=\"drafting\"\n :aria-busy=\"drafting\"\n @input=\"editAlt\"\n :aria-label=\"t.ai.altText.title\"\n rows=\"3\"\n class=\"tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n />\n <p class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]\">\n {{ t.ai.altText.note }}\n </p>\n <p\n v-if=\"stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.stale }}\n </p>\n <p\n v-if=\"failed && !stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.failed }} {{ detail }}\n </p>\n <div class=\"tpl:flex tpl:flex-wrap tpl:gap-2\">\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-on-primary)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(false)\"\n >\n {{ t.ai.altText.accept }}\n </button>\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(true)\"\n >\n {{ t.ai.altText.decorative }}\n </button>\n <button\n type=\"button\"\n class=\"tpl:rounded-md tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n @click=\"close\"\n >\n {{ t.ai.altText.cancel }}\n </button>\n </div>\n </div>\n</template>\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"AiAltTextPopover-CafZSF50.js","names":["_openBlock","_createElementBlock","_withKeys","_withModifiers","_createElementVNode","_unref","_toDisplayString","_createCommentVNode","_sfc_main","defineComponent","openBlock","watch","onMounted","inject","onUnmounted","createElementBlock","withKeys","unref","createCommentVNode","nextTick","withModifiers","createBaseVNode","toDisplayString","computed","ref","UI_LOCALE_KEY","AI_FEATURE_KEY","useLocalizedDisplay","useI18n","aiErrorMessage","isSdkError","aiImageSnapshot","sameAiImage","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","AiAltTextPopover_default","__emit","props","__props","emit","ai","editor","EDITOR_KEY","localized","captured","refused","stale","locale","alt","drafting","applying","failed","detail","textarea","controller","closed","editAlt","input","event","close","error","t","format","apply","decorative","_cache"],"sources":["../../../src/components/ai/AiAltTextPopover.vue","../../../src/components/ai/AiAltTextPopover.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n computed,\n inject,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n watch,\n} from \"vue\";\nimport { AI_FEATURE_KEY, EDITOR_KEY, UI_LOCALE_KEY } from \"../../keys\";\nimport { useLocalizedDisplay } from \"../../composables/useLocalizedDisplay\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { aiErrorMessage } from \"../../utils/aiErrors\";\nimport { aiImageSnapshot, sameAiImage } from \"../../utils/aiImageContext\";\nimport { isSdkError } from \"../../utils/isSdkError\";\n\nconst props = defineProps<{ blockId: string }>();\nconst emit = defineEmits<{\n close: [];\n drafting: [controller: AbortController | null];\n}>();\nconst ai = inject(AI_FEATURE_KEY, null);\nconst editor = inject(EDITOR_KEY, null);\nconst localized = editor ? useLocalizedDisplay(editor) : null;\nconst captured = localized\n ? aiImageSnapshot(localized.content.value, props.blockId)\n : null;\nconst refused = ref(false);\nconst stale = computed(\n () =>\n refused.value ||\n (editor !== null &&\n !sameAiImage(\n aiImageSnapshot(localized!.content.value, props.blockId),\n captured,\n )),\n);\nconst locale = inject(UI_LOCALE_KEY, \"en\");\nconst { t, format } = useI18n();\nconst alt = ref(\"\");\nconst drafting = ref(true);\nconst applying = ref(false);\nconst failed = ref(false);\nconst detail = ref(\"\");\nconst textarea = ref<HTMLTextAreaElement | null>(null);\nconst controller = new AbortController();\nlet closed = false;\nfunction editAlt(event: Event): void {\n const input = event.target as HTMLTextAreaElement;\n if (drafting.value) {\n input.value = alt.value;\n return;\n }\n alt.value = input.value;\n}\nfunction close(): void {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n emit(\"close\");\n}\nif (ai) watch(ai.templateSession, close, { flush: \"sync\" });\nif (editor?.activeLocale) watch(editor.activeLocale, close, { flush: \"sync\" });\nonMounted(async () => {\n emit(\"drafting\", controller);\n try {\n if (ai) alt.value = await ai.draftAltText(props.blockId, controller.signal);\n } catch (error) {\n if (!controller.signal.aborted) {\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n }\n } finally {\n drafting.value = false;\n emit(\"drafting\", null);\n await nextTick();\n if (!closed) textarea.value?.focus();\n }\n});\nonUnmounted(() => {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n});\nasync function apply(decorative: boolean): Promise<void> {\n if (\n closed ||\n !ai ||\n applying.value ||\n drafting.value ||\n ai.busy.value ||\n stale.value\n )\n return;\n applying.value = true;\n try {\n await ai.applyAltTexts([\n {\n blockId: props.blockId,\n alt: decorative ? \"\" : alt.value,\n decorative,\n ...(captured ? { expect: captured } : {}),\n },\n ]);\n close();\n } catch (error) {\n if (\n isSdkError(error) &&\n (error.code === \"precondition_failed\" || error.code === \"block_missing\")\n )\n refused.value = true;\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n } finally {\n applying.value = false;\n }\n}\n</script>\n\n<template>\n <div\n class=\"tpl:mt-3 tpl:flex tpl:flex-col tpl:gap-2\"\n @keydown.esc.stop.prevent=\"close\"\n >\n <textarea\n ref=\"textarea\"\n :value=\"alt\"\n :disabled=\"drafting\"\n :readonly=\"drafting\"\n :aria-busy=\"drafting\"\n @input=\"editAlt\"\n :aria-label=\"t.ai.altText.title\"\n rows=\"3\"\n class=\"tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n />\n <p class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]\">\n {{ t.ai.altText.note }}\n </p>\n <p\n v-if=\"stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.stale }}\n </p>\n <p\n v-if=\"failed && !stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.failed }} {{ detail }}\n </p>\n <div class=\"tpl:flex tpl:flex-wrap tpl:gap-2\">\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-on-primary)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(false)\"\n >\n {{ t.ai.altText.accept }}\n </button>\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(true)\"\n >\n {{ t.ai.altText.decorative }}\n </button>\n <button\n type=\"button\"\n class=\"tpl:rounded-md tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n @click=\"close\"\n >\n {{ t.ai.altText.cancel }}\n </button>\n </div>\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport {\n computed,\n inject,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n watch,\n} from \"vue\";\nimport { AI_FEATURE_KEY, EDITOR_KEY, UI_LOCALE_KEY } from \"../../keys\";\nimport { useLocalizedDisplay } from \"../../composables/useLocalizedDisplay\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { aiErrorMessage } from \"../../utils/aiErrors\";\nimport { aiImageSnapshot, sameAiImage } from \"../../utils/aiImageContext\";\nimport { isSdkError } from \"../../utils/isSdkError\";\n\nconst props = defineProps<{ blockId: string }>();\nconst emit = defineEmits<{\n close: [];\n drafting: [controller: AbortController | null];\n}>();\nconst ai = inject(AI_FEATURE_KEY, null);\nconst editor = inject(EDITOR_KEY, null);\nconst localized = editor ? useLocalizedDisplay(editor) : null;\nconst captured = localized\n ? aiImageSnapshot(localized.content.value, props.blockId)\n : null;\nconst refused = ref(false);\nconst stale = computed(\n () =>\n refused.value ||\n (editor !== null &&\n !sameAiImage(\n aiImageSnapshot(localized!.content.value, props.blockId),\n captured,\n )),\n);\nconst locale = inject(UI_LOCALE_KEY, \"en\");\nconst { t, format } = useI18n();\nconst alt = ref(\"\");\nconst drafting = ref(true);\nconst applying = ref(false);\nconst failed = ref(false);\nconst detail = ref(\"\");\nconst textarea = ref<HTMLTextAreaElement | null>(null);\nconst controller = new AbortController();\nlet closed = false;\nfunction editAlt(event: Event): void {\n const input = event.target as HTMLTextAreaElement;\n if (drafting.value) {\n input.value = alt.value;\n return;\n }\n alt.value = input.value;\n}\nfunction close(): void {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n emit(\"close\");\n}\nif (ai) watch(ai.templateSession, close, { flush: \"sync\" });\nif (editor?.activeLocale) watch(editor.activeLocale, close, { flush: \"sync\" });\nonMounted(async () => {\n emit(\"drafting\", controller);\n try {\n if (ai) alt.value = await ai.draftAltText(props.blockId, controller.signal);\n } catch (error) {\n if (!controller.signal.aborted) {\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n }\n } finally {\n drafting.value = false;\n emit(\"drafting\", null);\n await nextTick();\n if (!closed) textarea.value?.focus();\n }\n});\nonUnmounted(() => {\n closed = true;\n controller.abort();\n emit(\"drafting\", null);\n});\nasync function apply(decorative: boolean): Promise<void> {\n if (\n closed ||\n !ai ||\n applying.value ||\n drafting.value ||\n ai.busy.value ||\n stale.value\n )\n return;\n applying.value = true;\n try {\n await ai.applyAltTexts([\n {\n blockId: props.blockId,\n alt: decorative ? \"\" : alt.value,\n decorative,\n ...(captured ? { expect: captured } : {}),\n },\n ]);\n close();\n } catch (error) {\n if (\n isSdkError(error) &&\n (error.code === \"precondition_failed\" || error.code === \"block_missing\")\n )\n refused.value = true;\n failed.value = true;\n detail.value = aiErrorMessage(error, t.ai.errors, format, locale);\n } finally {\n applying.value = false;\n }\n}\n</script>\n\n<template>\n <div\n class=\"tpl:mt-3 tpl:flex tpl:flex-col tpl:gap-2\"\n @keydown.esc.stop.prevent=\"close\"\n >\n <textarea\n ref=\"textarea\"\n :value=\"alt\"\n :disabled=\"drafting\"\n :readonly=\"drafting\"\n :aria-busy=\"drafting\"\n @input=\"editAlt\"\n :aria-label=\"t.ai.altText.title\"\n rows=\"3\"\n class=\"tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n />\n <p class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]\">\n {{ t.ai.altText.note }}\n </p>\n <p\n v-if=\"stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.stale }}\n </p>\n <p\n v-if=\"failed && !stale\"\n role=\"alert\"\n class=\"tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]\"\n >\n {{ t.ai.altText.failed }} {{ detail }}\n </p>\n <div class=\"tpl:flex tpl:flex-wrap tpl:gap-2\">\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-on-primary)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(false)\"\n >\n {{ t.ai.altText.accept }}\n </button>\n <button\n type=\"button\"\n :disabled=\"drafting || applying || ai?.busy.value || stale\"\n class=\"tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60\"\n @click=\"apply(true)\"\n >\n {{ t.ai.altText.decorative }}\n </button>\n <button\n type=\"button\"\n class=\"tpl:rounded-md tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]\"\n @click=\"close\"\n >\n {{ t.ai.altText.cancel }}\n </button>\n </div>\n </div>\n</template>\n"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as e, F as t, H as n, L as r, N as i, O as a, P as ee, _ as o, c as s, ct as c, g as l, l as u, m as d, mt as f, p, tt as m, u as h, x as g } from "./draggable-IRVFEZ-b.js";
|
|
2
|
-
import { n as _ } from "./useLocalizedDisplay-
|
|
2
|
+
import { n as _ } from "./useLocalizedDisplay-oykFcYrW.js";
|
|
3
3
|
import { t as v } from "./useI18n-CSf-ZpcM.js";
|
|
4
4
|
import { at as y, v as b } from "./keys-BQqbBUag.js";
|
|
5
5
|
import { n as x } from "./aiErrors-C3QEMB0x.js";
|
|
@@ -205,4 +205,4 @@ var T = ["aria-label", "onKeydown"], E = { class: "tpl:m-0 tpl:text-sm tpl:font-
|
|
|
205
205
|
});
|
|
206
206
|
export { M as default };
|
|
207
207
|
|
|
208
|
-
//# sourceMappingURL=AiAltTextReview-
|
|
208
|
+
//# sourceMappingURL=AiAltTextReview-BJcaqyp5.js.map
|