@templatical/editor 0.16.3 → 0.16.4
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/{AiChatSidebar-EaPCeDXr.js → AiChatSidebar-CYAbVB2G.js} +7 -7
- package/dist/{AiFeatureMenu-CcGRd1xE.js → AiFeatureMenu-BPCkrHAS.js} +4 -4
- package/dist/{BlockIssueBadge-CZYgn-qg.js → BlockIssueBadge-BLytBabN.js} +2 -2
- package/dist/{CloudEditor-CUIWUMp5.js → CloudEditor-v8ARYaFW.js} +14 -14
- package/dist/{CollaboratorBar-DmxqeBYZ.js → CollaboratorBar-BQzKZ2zo.js} +2 -2
- package/dist/{ColorPicker-Gs4BMVog.js → ColorPicker-Cab6U2sH.js} +1 -1
- package/dist/{CommentsSidebar-DDKiFsSq.js → CommentsSidebar-C_XLBbo3.js} +8 -8
- package/dist/{CountdownToolbar-92w1YySJ.js → CountdownToolbar-q3umZ7TZ.js} +53 -67
- package/dist/{DesignReferenceSidebar-D6TfC176.js → DesignReferenceSidebar-Bh9uAZ4B.js} +5 -5
- package/dist/{IssuesPanel-CQQipLQP.js → IssuesPanel-DltSuU6H.js} +5 -5
- package/dist/{ModuleBrowserModal-DsehjLvh.js → ModuleBrowserModal-CzzChPmN.js} +6 -6
- package/dist/{ModulePreviewCanvas-BBfuS8VW.js → ModulePreviewCanvas-C0Q2n3FL.js} +1 -1
- package/dist/{NumberWithSuffix-BxSRfI8b.js → NumberWithSuffix-Bhm2ByHs.js} +1 -1
- package/dist/{ParagraphEditor-vgvQxicC.js → ParagraphEditor-BhsBi8p8.js} +25 -25
- package/dist/{RichTextEditorContent-Dza2oPvh.js → RichTextEditorContent-ef0fdj6e.js} +3 -3
- package/dist/{SaveModuleDialog-DNWGCHlS.js → SaveModuleDialog-BNN3dcxD.js} +24 -23
- package/dist/{SnapshotHistory-BLmnNLg1.js → SnapshotHistory-tWvgMCe6.js} +5 -5
- package/dist/{TemplateScoringPanel-C8VOC6gn.js → TemplateScoringPanel-ZhObHWeb.js} +10 -10
- package/dist/{TestEmailModal-D6v1hgY2.js → TestEmailModal-EdwEcsrD.js} +3 -3
- package/dist/{TitleEditor-DPdzOQpq.js → TitleEditor-DdvRepBq.js} +4 -4
- package/dist/ToggleSwitch-DUNuUPsZ.js +37 -0
- package/dist/{TplModal-DObT0uxf.js → TplModal-Niu4Y96-.js} +1 -1
- package/dist/{blockTypeIcons-B9f5fH_5.js → blockTypeIcons-DHcYPMB8.js} +2 -2
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-B3eR47lE.js → ca-DI1ViqMa.js} +2 -1
- package/dist/cdn/chunks/{AiFeatureMenu-CyUCHd9I.js → AiFeatureMenu-AoUwsqor.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-CyUCHd9I.js.map → AiFeatureMenu-AoUwsqor.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-BAa_dI-c.js → BlockIssueBadge-DZU3CfEN.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-BAa_dI-c.js.map → BlockIssueBadge-DZU3CfEN.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-ClfgLU48.js → CloudEditor-BrZLF_m1.js} +9 -9
- package/dist/cdn/chunks/{CloudEditor-ClfgLU48.js.map → CloudEditor-BrZLF_m1.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DCc5SL0P.js → CollaboratorBar-BAC56ez6.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-DCc5SL0P.js.map → CollaboratorBar-BAC56ez6.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-Pi-1fR8c.js → ColorPicker-DLEoT419.js} +2 -2
- package/dist/cdn/chunks/{ColorPicker-Pi-1fR8c.js.map → ColorPicker-DLEoT419.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-Bj7aoBUU.js → CountdownBlock-BOF9aTXF.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-Bj7aoBUU.js.map → CountdownBlock-BOF9aTXF.js.map} +1 -1
- package/dist/cdn/chunks/CountdownToolbar-C9bQ5k4E.js +198 -0
- package/dist/cdn/chunks/CountdownToolbar-C9bQ5k4E.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-BXLVRo-c.js → IssuesPanel-CHwYahKK.js} +3 -3
- package/dist/cdn/chunks/{IssuesPanel-BXLVRo-c.js.map → IssuesPanel-CHwYahKK.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-C7BkJvzf.js → ModuleBrowserModal-iSXXpAUk.js} +5 -5
- package/dist/cdn/chunks/{ModuleBrowserModal-C7BkJvzf.js.map → ModuleBrowserModal-iSXXpAUk.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-BJn-ZHlC.js → ModulePreviewCanvas-DIy0MZj2.js} +2 -2
- package/dist/cdn/chunks/{ModulePreviewCanvas-BJn-ZHlC.js.map → ModulePreviewCanvas-DIy0MZj2.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-CkOxH3F7.js → NumberWithSuffix-vPdOG2lO.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-CkOxH3F7.js.map → NumberWithSuffix-vPdOG2lO.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-4cMKKC-V.js → ParagraphEditor-D7znI_X1.js} +10 -10
- package/dist/cdn/chunks/{ParagraphEditor-4cMKKC-V.js.map → ParagraphEditor-D7znI_X1.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-7RZe4tbj.js → RichTextEditorContent-DVwGHbO6.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-7RZe4tbj.js.map → RichTextEditorContent-DVwGHbO6.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-mr9A4j6G.js → SaveModuleDialog-D2_qPtE9.js} +32 -31
- package/dist/cdn/chunks/SaveModuleDialog-D2_qPtE9.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-Cqw2jvuc.js → TitleEditor-CKjZ6Cgp.js} +5 -5
- package/dist/cdn/chunks/{TitleEditor-Cqw2jvuc.js.map → TitleEditor-CKjZ6Cgp.js.map} +1 -1
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js +39 -0
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-B_xRBxSU.js → blockTypeIcons-BKecgdgr.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-B_xRBxSU.js.map → blockTypeIcons-BKecgdgr.js.map} +1 -1
- package/dist/cdn/chunks/{ca-B3eR47lE.js → ca-DI1ViqMa.js} +3 -2
- package/dist/cdn/chunks/ca-DI1ViqMa.js.map +1 -0
- package/dist/cdn/chunks/{de-Cy8FB-Ii.js → de-q9lTCMre.js} +3 -2
- package/dist/cdn/chunks/de-q9lTCMre.js.map +1 -0
- package/dist/cdn/chunks/{en-Bu-zS_5o.js → en-CR4LItrX.js} +3 -2
- package/dist/cdn/chunks/en-CR4LItrX.js.map +1 -0
- package/dist/cdn/chunks/{es-CD3ZD6hK.js → es-CEt-lrGd.js} +3 -2
- package/dist/cdn/chunks/es-CEt-lrGd.js.map +1 -0
- package/dist/cdn/chunks/{extensions-Btyx_IMf.js → extensions-OZTN_skA.js} +2 -2
- package/dist/cdn/chunks/{extensions-Btyx_IMf.js.map → extensions-OZTN_skA.js.map} +1 -1
- package/dist/cdn/chunks/{features-Dwb5aTLg.js → features-Bo7H8WNI.js} +359 -359
- package/dist/cdn/chunks/features-Bo7H8WNI.js.map +1 -0
- package/dist/cdn/chunks/{icons-Dhqh5lYQ.js → icons-BrNSrnyT.js} +26 -26
- package/dist/cdn/chunks/{icons-Dhqh5lYQ.js.map → icons-BrNSrnyT.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-DRodsf2D.js → media-library-Cec5DMR3.js} +3 -3
- package/dist/cdn/chunks/{media-library-DRodsf2D.js.map → media-library-Cec5DMR3.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CgICL-CQ.js → pt-BR-DvBHY0AA.js} +3 -2
- package/dist/cdn/chunks/pt-BR-DvBHY0AA.js.map +1 -0
- package/dist/cdn/chunks/{quality-A_V2Iqu_.js → quality-Dd2iYgRf.js} +2 -2
- package/dist/cdn/chunks/{quality-A_V2Iqu_.js.map → quality-Dd2iYgRf.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-BM_-zceB.js → renderer-Br-qXdnQ.js} +7 -4
- package/dist/cdn/chunks/{renderer-BM_-zceB.js.map → renderer-Br-qXdnQ.js.map} +1 -1
- package/dist/cdn/chunks/{src-DSomxPI-.js → src-BH8PABpF.js} +4 -4
- package/dist/cdn/chunks/{src-DSomxPI-.js.map → src-BH8PABpF.js.map} +1 -1
- package/dist/cdn/chunks/{styles--UXn88wH.js → styles-nqo5BynI.js} +887 -885
- package/dist/cdn/chunks/styles-nqo5BynI.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +11 -11
- package/dist/{check-D1zYtCPK.js → check-Cg6Mc2pP.js} +1 -1
- package/dist/{chevron-down-ByXpufZD.js → chevron-down-dClfxKrJ.js} +1 -1
- package/dist/{circle-alert-CjcAORUw.js → circle-alert-Bhzm-fNA.js} +1 -1
- package/dist/{clock-5lWLadUn.js → clock-m7TwQw4b.js} +1 -1
- package/dist/{createLucideIcon-Bh9xOmlW.js → createLucideIcon-FSF4peHQ.js} +2 -2
- package/dist/{de-Cy8FB-Ii.js → de-q9lTCMre.js} +2 -1
- package/dist/{en-Bu-zS_5o.js → en-CR4LItrX.js} +2 -1
- package/dist/{es-CD3ZD6hK.js → es-CEt-lrGd.js} +2 -1
- package/dist/{image-up-Bj_nes3f.js → image-up-CDEgJqwA.js} +1 -1
- package/dist/{info-BhSQCxBV.js → info-BNP8yGsK.js} +1 -1
- package/dist/{list-checks-CgxyUg7i.js → list-checks-jepi4iYr.js} +1 -1
- package/dist/{loader-circle-DFU0HPAa.js → loader-circle-BT38qSm3.js} +1 -1
- package/dist/{message-circle-BEBsCHnk.js → message-circle-BAHcL9S-.js} +1 -1
- package/dist/{pt-BR-CgICL-CQ.js → pt-BR-DvBHY0AA.js} +2 -1
- package/dist/{refresh-cw--lvWGy0_.js → refresh-cw-as5Bmg4X.js} +1 -1
- package/dist/{scan-line-QgyDIgn_.js → scan-line-IAMjPtRw.js} +1 -1
- package/dist/{send-BMyisUim.js → send-DvMay6bt.js} +1 -1
- package/dist/{shield-check-C49M20le.js → shield-check-YYDhGroE.js} +1 -1
- package/dist/{sparkles-DV7Dman6.js → sparkles-CCwQMMMZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-CPt6RYEc.js → styles-DN4J7w-C.js} +717 -715
- package/dist/templatical-editor.js +9 -9
- package/dist/{text-align-start-BMU70uAm.js → text-align-start-BwsA6QzC.js} +11 -11
- package/dist/{trash-2-B6M659Ey.js → trash-2-CRBDolnR.js} +1 -1
- package/dist/{triangle-alert-D1lzx6ds.js → triangle-alert-B2g0ALvq.js} +1 -1
- package/dist/{upload-3A1oZtOR.js → upload-BKg6hDRW.js} +1 -1
- package/dist/{useEditorCore-CSfeEwCj.js → useEditorCore-DBq2689h.js} +69 -69
- package/dist/{x-CG_NV3nP.js → x-Ctg_250T.js} +1 -1
- package/package.json +8 -8
- package/dist/cdn/chunks/CountdownToolbar-B1oniVq1.js +0 -212
- package/dist/cdn/chunks/CountdownToolbar-B1oniVq1.js.map +0 -1
- package/dist/cdn/chunks/SaveModuleDialog-mr9A4j6G.js.map +0 -1
- package/dist/cdn/chunks/ca-B3eR47lE.js.map +0 -1
- package/dist/cdn/chunks/de-Cy8FB-Ii.js.map +0 -1
- package/dist/cdn/chunks/en-Bu-zS_5o.js.map +0 -1
- package/dist/cdn/chunks/es-CD3ZD6hK.js.map +0 -1
- package/dist/cdn/chunks/features-Dwb5aTLg.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CgICL-CQ.js.map +0 -1
- package/dist/cdn/chunks/styles--UXn88wH.js.map +0 -1
|
@@ -2,13 +2,13 @@ import { A as e, Et as t, I as n, O as r, Ot as i, R as ee, Y as a, _ as o, c as
|
|
|
2
2
|
import { a as h, t as g } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { m as ie, p as ae } from "./dist-DYv_Pttj.js";
|
|
4
4
|
import { L as _, S as oe, c as se, m as ce, r as le } from "./keys-BbDgCU6K.js";
|
|
5
|
-
import { t as v } from "./createLucideIcon-
|
|
6
|
-
import { t as ue } from "./circle-alert-
|
|
7
|
-
import { t as de } from "./loader-circle-
|
|
8
|
-
import { t as fe } from "./send-
|
|
9
|
-
import { t as y } from "./sparkles-
|
|
10
|
-
import { t as pe } from "./trash-2-
|
|
11
|
-
import { t as me } from "./x-
|
|
5
|
+
import { t as v } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
|
+
import { t as ue } from "./circle-alert-Bhzm-fNA.js";
|
|
7
|
+
import { t as de } from "./loader-circle-BT38qSm3.js";
|
|
8
|
+
import { t as fe } from "./send-DvMay6bt.js";
|
|
9
|
+
import { t as y } from "./sparkles-CCwQMMMZ.js";
|
|
10
|
+
import { t as pe } from "./trash-2-CRBDolnR.js";
|
|
11
|
+
import { t as me } from "./x-Ctg_250T.js";
|
|
12
12
|
import { t as b } from "./LoadingTrack-KIcREPlS.js";
|
|
13
13
|
import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { t as S } from "./useAliveFlag-C43EhZFY.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as e, Dt as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, l as c, r as l, s as u } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-DBq2689h.js";
|
|
3
3
|
import { L as d, t as f } from "./keys-BbDgCU6K.js";
|
|
4
|
-
import { t as p } from "./image-up-
|
|
5
|
-
import { t as m } from "./shield-check-
|
|
6
|
-
import { t as h } from "./sparkles-
|
|
4
|
+
import { t as p } from "./image-up-CDEgJqwA.js";
|
|
5
|
+
import { t as m } from "./shield-check-YYDhGroE.js";
|
|
6
|
+
import { t as h } from "./sparkles-CCwQMMMZ.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { n as _ } from "./useCloudI18n-WbfVWq5k.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Et as e, O as t, _ as n, d as r, l as i, nt as a, s as o, u as s, x as c } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { N as l } from "./keys-BbDgCU6K.js";
|
|
3
3
|
import { t as u } from "./useI18n-eR1yVW0v.js";
|
|
4
|
-
import { t as d } from "./circle-alert-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
4
|
+
import { t as d } from "./circle-alert-Bhzm-fNA.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-B2g0ALvq.js";
|
|
6
6
|
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = ["title", "aria-label"], m = /* @__PURE__ */ n({
|
|
8
8
|
__name: "BlockIssueBadge",
|
|
@@ -2,24 +2,24 @@ import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as
|
|
|
2
2
|
import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { t as k } from "./timeouts-Bmi_yePw.js";
|
|
4
4
|
import { O as A, a as j } from "./dist-DoRIUsfz.js";
|
|
5
|
-
import { L as M, T as N, b as ee, t as P } from "./useEditorCore-
|
|
5
|
+
import { L as M, T as N, b as ee, t as P } from "./useEditorCore-DBq2689h.js";
|
|
6
6
|
import { m as F } from "./dist-DYv_Pttj.js";
|
|
7
7
|
import { n as I } from "./color-DhoxCSMv.js";
|
|
8
8
|
import { D as L, M as R, c as z, j as te, l as ne, r as B, s as re, t as ie } from "./keys-BbDgCU6K.js";
|
|
9
9
|
import { t as V } from "./useI18n-eR1yVW0v.js";
|
|
10
|
-
import { t as H } from "./createLucideIcon-
|
|
11
|
-
import { t as U } from "./check-
|
|
12
|
-
import { t as W } from "./circle-alert-
|
|
13
|
-
import { a as G, c as ae, d as oe, f as K, i as q, l as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me } from "./styles-
|
|
14
|
-
import { t as he } from "./clock-
|
|
15
|
-
import { t as J } from "./loader-circle-
|
|
16
|
-
import { t as ge } from "./message-circle-
|
|
17
|
-
import { t as _e } from "./send-
|
|
18
|
-
import { t as Y } from "./sparkles-
|
|
19
|
-
import { t as X } from "./triangle-alert-
|
|
10
|
+
import { t as H } from "./createLucideIcon-FSF4peHQ.js";
|
|
11
|
+
import { t as U } from "./check-Cg6Mc2pP.js";
|
|
12
|
+
import { t as W } from "./circle-alert-Bhzm-fNA.js";
|
|
13
|
+
import { a as G, c as ae, d as oe, f as K, i as q, l as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me } from "./styles-DN4J7w-C.js";
|
|
14
|
+
import { t as he } from "./clock-m7TwQw4b.js";
|
|
15
|
+
import { t as J } from "./loader-circle-BT38qSm3.js";
|
|
16
|
+
import { t as ge } from "./message-circle-BAHcL9S-.js";
|
|
17
|
+
import { t as _e } from "./send-DvMay6bt.js";
|
|
18
|
+
import { t as Y } from "./sparkles-CCwQMMMZ.js";
|
|
19
|
+
import { t as X } from "./triangle-alert-B2g0ALvq.js";
|
|
20
20
|
import { t as Z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
21
21
|
import { n as Q } from "./useCloudI18n-WbfVWq5k.js";
|
|
22
|
-
import { d as $ } from "./ColorPicker-
|
|
22
|
+
import { d as $ } from "./ColorPicker-Cab6U2sH.js";
|
|
23
23
|
import { _ as ve, a as ye, c as be, d as xe, f as Se, g as Ce, h as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, s as je, t as Me, v as Ne, y as Pe } from "./cloud-BogxOeZu.js";
|
|
24
24
|
var Fe = H("save", [
|
|
25
25
|
["path", {
|
|
@@ -628,7 +628,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
628
628
|
},
|
|
629
629
|
emits: ["save"],
|
|
630
630
|
setup(e) {
|
|
631
|
-
let t = h(() => import("./CollaboratorBar-
|
|
631
|
+
let t = h(() => import("./CollaboratorBar-BQzKZ2zo.js")), r = h(() => import("./SnapshotHistory-tWvgMCe6.js")), a = h(() => import("./AiFeatureMenu-BPCkrHAS.js")), { t: o, format: u } = Q();
|
|
632
632
|
return (d, f) => (s(), m("header", tt, [
|
|
633
633
|
p("div", nt, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", rt, c(b(u)(b(o).header.templatesUsed, {
|
|
634
634
|
used: e.featureFlags.templateCount.value,
|
|
@@ -790,7 +790,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
790
790
|
"module-insert"
|
|
791
791
|
],
|
|
792
792
|
setup(e, { expose: t, emit: n }) {
|
|
793
|
-
let r = h(() => import("./AiChatSidebar-
|
|
793
|
+
let r = h(() => import("./AiChatSidebar-CYAbVB2G.js")), i = h(() => import("./CommentsSidebar-C_XLBbo3.js")), a = h(() => import("./DesignReferenceSidebar-Bh9uAZ4B.js")), o = h(() => import("./TemplateScoringPanel-ZhObHWeb.js")), c = h(() => import("./TestEmailModal-EdwEcsrD.js")), l = h(() => import("./SaveModuleDialog-BNN3dcxD.js")), d = h(() => import("./ModuleBrowserModal-CzzChPmN.js")), f = h(async () => {
|
|
794
794
|
try {
|
|
795
795
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
796
796
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as f } from "./createLucideIcon-
|
|
2
|
+
import "./useEditorCore-DBq2689h.js";
|
|
3
|
+
import { t as f } from "./createLucideIcon-FSF4peHQ.js";
|
|
4
4
|
import { n as p } from "./useCloudI18n-WbfVWq5k.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
@@ -3,7 +3,7 @@ import { c as ne, s as p, t as re } from "./runtime-dom.esm-bundler-GdMI8WqG.js"
|
|
|
3
3
|
import { n as ie, t as m } from "./color-DhoxCSMv.js";
|
|
4
4
|
import { I as ae, P as oe } from "./keys-BbDgCU6K.js";
|
|
5
5
|
import { t as se } from "./useI18n-eR1yVW0v.js";
|
|
6
|
-
import { t as h } from "./x-
|
|
6
|
+
import { t as h } from "./x-Ctg_250T.js";
|
|
7
7
|
import { t as ce } from "./usePopoverRoot-C1j0D7cc.js";
|
|
8
8
|
//#region src/constants/styleConstants.ts
|
|
9
9
|
var g = "tpl:block tpl:mb-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]", _ = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", v = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-l-[var(--tpl-radius-sm)] tpl:rounded-r-none tpl:border-r-0 tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", y = "tpl:flex tpl:items-center tpl:px-2.5 tpl:text-xs tpl:border tpl:border-l-0 tpl:text-[var(--tpl-text-dim)] tpl:bg-[var(--tpl-bg-hover)] tpl:border-[var(--tpl-border)] tpl:rounded-r-[var(--tpl-radius-sm)]", b = "tpl:flex-1 tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-mono tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", x = "tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-4 tpl:border tpl:border-[var(--tpl-border)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)]", S = "tpl:flex tpl:size-8 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]", C = "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]", w = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2.5 tpl:py-2 tpl:font-mono tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-150 tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", T = "tpl-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3.5 tpl:py-2 tpl:text-sm tpl:font-medium tpl:whitespace-nowrap tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-primary)] hover:tpl:text-[var(--tpl-bg)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", E = [
|
|
@@ -2,14 +2,14 @@ import { A as e, Dt as t, Et as n, I as r, O as i, Ot as a, R as o, Y as s, _ as
|
|
|
2
2
|
import { a as v, t as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { L as b, l as ne, m as re, r as ie } from "./keys-BbDgCU6K.js";
|
|
4
4
|
import { t as ae } from "./useI18n-eR1yVW0v.js";
|
|
5
|
-
import { t as x } from "./createLucideIcon-
|
|
6
|
-
import { t as oe } from "./check-
|
|
7
|
-
import { t as se } from "./chevron-down-
|
|
8
|
-
import { t as S } from "./loader-circle-
|
|
9
|
-
import { t as C } from "./message-circle-
|
|
10
|
-
import { t as w } from "./send-
|
|
11
|
-
import { t as T } from "./trash-2-
|
|
12
|
-
import { t as E } from "./x-
|
|
5
|
+
import { t as x } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
|
+
import { t as oe } from "./check-Cg6Mc2pP.js";
|
|
7
|
+
import { t as se } from "./chevron-down-dClfxKrJ.js";
|
|
8
|
+
import { t as S } from "./loader-circle-BT38qSm3.js";
|
|
9
|
+
import { t as C } from "./message-circle-BAHcL9S-.js";
|
|
10
|
+
import { t as w } from "./send-DvMay6bt.js";
|
|
11
|
+
import { t as T } from "./trash-2-CRBDolnR.js";
|
|
12
|
+
import { t as E } from "./x-Ctg_250T.js";
|
|
13
13
|
import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { n as ce } from "./useCloudI18n-WbfVWq5k.js";
|
|
15
15
|
import { t as le } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
@@ -1,37 +1,22 @@
|
|
|
1
|
-
import { A as e, Et as t, O as n, Ot as r, R as i, _ as a, c as o, d as s, h as c, l,
|
|
2
|
-
import { t as
|
|
3
|
-
import { f as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
props: {
|
|
9
|
-
modelValue: { type: Boolean },
|
|
10
|
-
label: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(e, { emit: t }) {
|
|
14
|
-
let i = t;
|
|
15
|
-
return (t, a) => (n(), s("label", b, [o("input", {
|
|
16
|
-
type: "checkbox",
|
|
17
|
-
class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
|
|
18
|
-
checked: e.modelValue,
|
|
19
|
-
onChange: a[0] ||= (e) => i("update:modelValue", e.target.checked)
|
|
20
|
-
}, null, 40, x), u(" " + r(e.label), 1)]));
|
|
21
|
-
}
|
|
22
|
-
}), C = ["value"], w = ["value"], T = ["value"], E = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, D = ["value"], O = { value: "" }, k = ["value"], A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, j = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, M = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, N = [
|
|
1
|
+
import { A as e, Et as t, O as n, Ot as r, R as i, _ as a, c as o, d as s, h as c, l, nt as u, r as d, s as f } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
+
import { t as p } from "./useI18n-eR1yVW0v.js";
|
|
3
|
+
import { f as m, t as h } from "./ColorPicker-Cab6U2sH.js";
|
|
4
|
+
import { t as g } from "./ToggleSwitch-DUNuUPsZ.js";
|
|
5
|
+
import { n as _, r as v, t as y } from "./NumberWithSuffix-Bhm2ByHs.js";
|
|
6
|
+
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, w = ["value"], T = { value: "" }, E = ["value"], D = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, A = [
|
|
23
8
|
"value",
|
|
24
9
|
"placeholder",
|
|
25
10
|
"onInput"
|
|
26
|
-
],
|
|
11
|
+
], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */ a({
|
|
27
12
|
__name: "CountdownToolbar",
|
|
28
13
|
props: {
|
|
29
14
|
block: {},
|
|
30
15
|
fontFamilies: {}
|
|
31
16
|
},
|
|
32
17
|
emits: ["update"],
|
|
33
|
-
setup(a, { emit:
|
|
34
|
-
let
|
|
18
|
+
setup(a, { emit: N }) {
|
|
19
|
+
let P = N, { t: F } = p(), I = [
|
|
35
20
|
"UTC",
|
|
36
21
|
"America/New_York",
|
|
37
22
|
"America/Chicago",
|
|
@@ -65,41 +50,42 @@ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:tex
|
|
|
65
50
|
"Hours",
|
|
66
51
|
"Minutes",
|
|
67
52
|
"Seconds"
|
|
68
|
-
], z =
|
|
53
|
+
], z = f(() => R.map((e) => ({
|
|
69
54
|
unit: e,
|
|
70
55
|
showKey: `show${e}`,
|
|
71
56
|
labelKey: `label${e}`,
|
|
72
57
|
translationKey: e.toLowerCase()
|
|
73
58
|
})));
|
|
74
59
|
function B(e, t) {
|
|
75
|
-
|
|
60
|
+
P("update", { [e]: t });
|
|
76
61
|
}
|
|
77
|
-
return (
|
|
78
|
-
c(_, { label:
|
|
62
|
+
return (f, p) => (n(), s(d, null, [
|
|
63
|
+
c(_, { label: u(F).countdown.targetDate }, {
|
|
79
64
|
default: i(() => [o("input", {
|
|
80
65
|
type: "datetime-local",
|
|
81
|
-
class: t(
|
|
66
|
+
class: t(u(m)),
|
|
82
67
|
value: a.block.targetDate,
|
|
83
68
|
onInput: p[0] ||= (e) => B("targetDate", e.target.value)
|
|
84
|
-
}, null, 42,
|
|
69
|
+
}, null, 42, b)]),
|
|
85
70
|
_: 1
|
|
86
71
|
}, 8, ["label"]),
|
|
87
|
-
c(_, { label:
|
|
72
|
+
c(_, { label: u(F).countdown.timezone }, {
|
|
88
73
|
default: i(() => [o("select", {
|
|
89
|
-
class: t(
|
|
74
|
+
class: t(u(m)),
|
|
90
75
|
value: a.block.timezone,
|
|
91
76
|
onChange: p[1] ||= (e) => B("timezone", e.target.value)
|
|
92
|
-
}, [(n(), s(
|
|
77
|
+
}, [(n(), s(d, null, e(I, (e) => o("option", {
|
|
93
78
|
key: e,
|
|
94
79
|
value: e
|
|
95
|
-
}, r(e), 9,
|
|
80
|
+
}, r(e), 9, S)), 64))], 42, x)]),
|
|
96
81
|
_: 1
|
|
97
82
|
}, 8, ["label"]),
|
|
98
|
-
c(_, { label:
|
|
99
|
-
default: i(() => [o("div",
|
|
83
|
+
c(_, { label: u(F).countdown.display }, {
|
|
84
|
+
default: i(() => [o("div", C, [(n(!0), s(d, null, e(z.value, (e) => (n(), l(g, {
|
|
100
85
|
key: e.unit,
|
|
86
|
+
class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
101
87
|
"model-value": a.block[e.showKey],
|
|
102
|
-
label:
|
|
88
|
+
label: u(F).countdown[e.translationKey],
|
|
103
89
|
"onUpdate:modelValue": (t) => B(e.showKey, t)
|
|
104
90
|
}, null, 8, [
|
|
105
91
|
"model-value",
|
|
@@ -108,7 +94,7 @@ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:tex
|
|
|
108
94
|
]))), 128))])]),
|
|
109
95
|
_: 1
|
|
110
96
|
}, 8, ["label"]),
|
|
111
|
-
c(_, { label:
|
|
97
|
+
c(_, { label: u(F).countdown.separator }, {
|
|
112
98
|
default: i(() => [c(v, {
|
|
113
99
|
options: L,
|
|
114
100
|
"model-value": a.block.separator,
|
|
@@ -116,18 +102,18 @@ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:tex
|
|
|
116
102
|
}, null, 8, ["model-value"])]),
|
|
117
103
|
_: 1
|
|
118
104
|
}, 8, ["label"]),
|
|
119
|
-
c(_, { label:
|
|
105
|
+
c(_, { label: u(F).countdown.fontFamily }, {
|
|
120
106
|
default: i(() => [o("select", {
|
|
121
|
-
class: t(
|
|
107
|
+
class: t(u(m)),
|
|
122
108
|
value: a.block.fontFamily || "",
|
|
123
109
|
onChange: p[3] ||= (e) => B("fontFamily", e.target.value || void 0)
|
|
124
|
-
}, [o("option",
|
|
110
|
+
}, [o("option", T, r(u(F).countdown.inheritFont), 1), (n(!0), s(d, null, e(a.fontFamilies, (e) => (n(), s("option", {
|
|
125
111
|
key: e.value,
|
|
126
112
|
value: e.value
|
|
127
|
-
}, r(e.label), 9,
|
|
113
|
+
}, r(e.label), 9, E))), 128))], 42, w)]),
|
|
128
114
|
_: 1
|
|
129
115
|
}, 8, ["label"]),
|
|
130
|
-
o("div",
|
|
116
|
+
o("div", D, [c(_, { label: u(F).countdown.digitFontSize }, {
|
|
131
117
|
default: i(() => [c(y, {
|
|
132
118
|
"model-value": a.block.digitFontSize,
|
|
133
119
|
min: 12,
|
|
@@ -136,7 +122,7 @@ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:tex
|
|
|
136
122
|
"onUpdate:modelValue": p[4] ||= (e) => B("digitFontSize", e)
|
|
137
123
|
}, null, 8, ["model-value"])]),
|
|
138
124
|
_: 1
|
|
139
|
-
}, 8, ["label"]), c(_, { label:
|
|
125
|
+
}, 8, ["label"]), c(_, { label: u(F).countdown.labelFontSize }, {
|
|
140
126
|
default: i(() => [c(y, {
|
|
141
127
|
"model-value": a.block.labelFontSize,
|
|
142
128
|
min: 8,
|
|
@@ -146,65 +132,65 @@ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:tex
|
|
|
146
132
|
}, null, 8, ["model-value"])]),
|
|
147
133
|
_: 1
|
|
148
134
|
}, 8, ["label"])]),
|
|
149
|
-
o("div",
|
|
150
|
-
default: i(() => [c(
|
|
135
|
+
o("div", O, [c(_, { label: u(F).countdown.digitColor }, {
|
|
136
|
+
default: i(() => [c(h, {
|
|
151
137
|
"model-value": a.block.digitColor,
|
|
152
138
|
"onUpdate:modelValue": p[6] ||= (e) => B("digitColor", e)
|
|
153
139
|
}, null, 8, ["model-value"])]),
|
|
154
140
|
_: 1
|
|
155
|
-
}, 8, ["label"]), c(_, { label:
|
|
156
|
-
default: i(() => [c(
|
|
141
|
+
}, 8, ["label"]), c(_, { label: u(F).countdown.labelColor }, {
|
|
142
|
+
default: i(() => [c(h, {
|
|
157
143
|
"model-value": a.block.labelColor,
|
|
158
144
|
"onUpdate:modelValue": p[7] ||= (e) => B("labelColor", e)
|
|
159
145
|
}, null, 8, ["model-value"])]),
|
|
160
146
|
_: 1
|
|
161
147
|
}, 8, ["label"])]),
|
|
162
|
-
c(_, { label:
|
|
163
|
-
default: i(() => [c(
|
|
148
|
+
c(_, { label: u(F).countdown.background }, {
|
|
149
|
+
default: i(() => [c(h, {
|
|
164
150
|
"model-value": a.block.backgroundColor,
|
|
165
151
|
"onUpdate:modelValue": p[8] ||= (e) => B("backgroundColor", e)
|
|
166
152
|
}, null, 8, ["model-value"])]),
|
|
167
153
|
_: 1
|
|
168
154
|
}, 8, ["label"]),
|
|
169
|
-
c(_, { label:
|
|
170
|
-
default: i(() => [o("div",
|
|
155
|
+
c(_, { label: u(F).countdown.labels }, {
|
|
156
|
+
default: i(() => [o("div", k, [(n(!0), s(d, null, e(z.value, (e) => (n(), s("input", {
|
|
171
157
|
key: e.unit,
|
|
172
158
|
type: "text",
|
|
173
|
-
class: t(
|
|
159
|
+
class: t(u(m)),
|
|
174
160
|
value: a.block[e.labelKey],
|
|
175
|
-
placeholder:
|
|
161
|
+
placeholder: u(F).countdown[e.translationKey],
|
|
176
162
|
onInput: (t) => B(e.labelKey, t.target.value)
|
|
177
|
-
}, null, 42,
|
|
163
|
+
}, null, 42, A))), 128))])]),
|
|
178
164
|
_: 1
|
|
179
165
|
}, 8, ["label"]),
|
|
180
|
-
c(_, { label:
|
|
166
|
+
c(_, { label: u(F).countdown.expiry }, {
|
|
181
167
|
default: i(() => [o("input", {
|
|
182
168
|
type: "text",
|
|
183
|
-
class: t(
|
|
169
|
+
class: t(u(m)),
|
|
184
170
|
value: a.block.expiredMessage,
|
|
185
|
-
placeholder:
|
|
171
|
+
placeholder: u(F).countdown.expiredMessagePlaceholder,
|
|
186
172
|
onInput: p[9] ||= (e) => B("expiredMessage", e.target.value)
|
|
187
|
-
}, null, 42,
|
|
173
|
+
}, null, 42, j)]),
|
|
188
174
|
_: 1
|
|
189
175
|
}, 8, ["label"]),
|
|
190
|
-
c(_, { label:
|
|
176
|
+
c(_, { label: u(F).countdown.expiredImageUrl }, {
|
|
191
177
|
default: i(() => [o("input", {
|
|
192
178
|
type: "url",
|
|
193
|
-
class: t(
|
|
179
|
+
class: t(u(m)),
|
|
194
180
|
value: a.block.expiredImageUrl,
|
|
195
181
|
placeholder: "https://...",
|
|
196
182
|
onInput: p[10] ||= (e) => B("expiredImageUrl", e.target.value)
|
|
197
|
-
}, null, 42,
|
|
183
|
+
}, null, 42, M)]),
|
|
198
184
|
_: 1
|
|
199
185
|
}, 8, ["label"]),
|
|
200
|
-
c(
|
|
186
|
+
c(g, {
|
|
187
|
+
class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
201
188
|
"model-value": a.block.hideOnExpiry,
|
|
202
|
-
label:
|
|
203
|
-
class: "tpl:mb-3.5",
|
|
189
|
+
label: u(F).countdown.hideOnExpiry,
|
|
204
190
|
"onUpdate:modelValue": p[11] ||= (e) => B("hideOnExpiry", e)
|
|
205
191
|
}, null, 8, ["model-value", "label"])
|
|
206
192
|
], 64));
|
|
207
193
|
}
|
|
208
194
|
});
|
|
209
195
|
//#endregion
|
|
210
|
-
export {
|
|
196
|
+
export { N as default };
|
|
@@ -2,11 +2,11 @@ import { Dt as e, Et as t, I as n, O as r, Ot as i, R as ee, T as a, Y as o, _ a
|
|
|
2
2
|
import { a as ie, t as ae } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import "./timeouts-Bmi_yePw.js";
|
|
4
4
|
import { L as m, m as oe, r as se } from "./keys-BbDgCU6K.js";
|
|
5
|
-
import { t as h } from "./createLucideIcon-
|
|
6
|
-
import { t as ce } from "./circle-alert-
|
|
7
|
-
import { t as g } from "./image-up-
|
|
8
|
-
import { t as _ } from "./upload-
|
|
9
|
-
import { t as v } from "./x-
|
|
5
|
+
import { t as h } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
|
+
import { t as ce } from "./circle-alert-Bhzm-fNA.js";
|
|
7
|
+
import { t as g } from "./image-up-CDEgJqwA.js";
|
|
8
|
+
import { t as _ } from "./upload-BKg6hDRW.js";
|
|
9
|
+
import { t as v } from "./x-Ctg_250T.js";
|
|
10
10
|
import { t as le } from "./LoadingTrack-KIcREPlS.js";
|
|
11
11
|
import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { n as ue } from "./useCloudI18n-WbfVWq5k.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { N as g, m as _ } from "./keys-BbDgCU6K.js";
|
|
3
3
|
import { t as v } from "./useI18n-eR1yVW0v.js";
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { t as x } from "./info-
|
|
7
|
-
import { t as S } from "./list-checks-
|
|
8
|
-
import { t as C } from "./triangle-alert-
|
|
4
|
+
import { t as y } from "./createLucideIcon-FSF4peHQ.js";
|
|
5
|
+
import { t as b } from "./circle-alert-Bhzm-fNA.js";
|
|
6
|
+
import { t as x } from "./info-BNP8yGsK.js";
|
|
7
|
+
import { t as S } from "./list-checks-jepi4iYr.js";
|
|
8
|
+
import { t as C } from "./triangle-alert-B2g0ALvq.js";
|
|
9
9
|
var w = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
11
11
|
key: "1ays0h"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as e, Dt as t, I as n, N as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, g as ee, h as d, l as f, nt as p, r as m, s as h, u as te, z as g } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { a as ne, c as _, i as re } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import "./useEditorCore-
|
|
3
|
+
import "./useEditorCore-DBq2689h.js";
|
|
4
4
|
import { L as v, j as ie, m as ae } from "./keys-BbDgCU6K.js";
|
|
5
5
|
import { t as oe } from "./useI18n-eR1yVW0v.js";
|
|
6
|
-
import { n as se, r as y, t as b } from "./blockTypeIcons-
|
|
7
|
-
import { t as ce } from "./trash-2-
|
|
8
|
-
import { t as le } from "./x-
|
|
6
|
+
import { n as se, r as y, t as b } from "./blockTypeIcons-DHcYPMB8.js";
|
|
7
|
+
import { t as ce } from "./trash-2-CRBDolnR.js";
|
|
8
|
+
import { t as le } from "./x-Ctg_250T.js";
|
|
9
9
|
import { n as ue } from "./useCloudI18n-WbfVWq5k.js";
|
|
10
|
-
import { t as de } from "./TplModal-
|
|
10
|
+
import { t as de } from "./TplModal-Niu4Y96-.js";
|
|
11
11
|
//#region src/cloud/components/ModuleBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
12
12
|
var fe = {
|
|
13
13
|
role: "dialog",
|
|
@@ -46,7 +46,7 @@ var fe = {
|
|
|
46
46
|
props: { visible: { type: Boolean } },
|
|
47
47
|
emits: ["close", "insert"],
|
|
48
48
|
setup(c, { emit: B }) {
|
|
49
|
-
let Te = c, V = B, Ee = ee(() => import("./ModulePreviewCanvas-
|
|
49
|
+
let Te = c, V = B, Ee = ee(() => import("./ModulePreviewCanvas-C0Q2n3FL.js")), { t: De } = oe(), { t: H } = ue(), U = v(ie, "ModuleBrowserModal"), W = v(ae, "ModuleBrowserModal"), G = s(""), K = s(null), q = s(null), J = s("end"), Y = h(() => {
|
|
50
50
|
let e = U.modules.value;
|
|
51
51
|
if (!G.value) return e;
|
|
52
52
|
let t = G.value.toLowerCase();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, Dt as t, M as n, N as r, O as i, _ as a, c as o, d as s, l as c, nt as l, r as u, s as d, x as f } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
-
import { I as p, _ as m, a as h, d as g, f as _, h as v, i as y, l as b, m as x, n as S, p as C, r as w, v as T, y as E } from "./useEditorCore-
|
|
2
|
+
import { I as p, _ as m, a as h, d as g, f as _, h as v, i as y, l as b, m as x, n as S, p as C, r as w, v as T, y as E } from "./useEditorCore-DBq2689h.js";
|
|
3
3
|
import { o as D } from "./keys-BbDgCU6K.js";
|
|
4
4
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__PURE__ */ a({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, _ as o, c as s, d as c, j as l, l as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
-
import { h, m as g, p as _ } from "./ColorPicker-
|
|
2
|
+
import { h, m as g, p as _ } from "./ColorPicker-Cab6U2sH.js";
|
|
3
3
|
//#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var v = [
|
|
5
5
|
"aria-checked",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { c as b, s as x } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import { D as S, E as C, S as w, x as T } from "./useEditorCore-
|
|
3
|
+
import { D as S, E as C, S as w, x as T } from "./useEditorCore-DBq2689h.js";
|
|
4
4
|
import { n as E } from "./color-DhoxCSMv.js";
|
|
5
5
|
import { I as D, L as O, P as k, g as ee, m as te, w as ne, x as re } from "./keys-BbDgCU6K.js";
|
|
6
6
|
import { t as A } from "./useI18n-eR1yVW0v.js";
|
|
7
|
-
import { t as j } from "./createLucideIcon-
|
|
8
|
-
import { a as ie, i as ae, n as M, r as oe, t as N } from "./RichTextEditorContent-
|
|
9
|
-
import { n as se, t as ce } from "./scan-line-
|
|
10
|
-
import { t as le } from "./loader-circle-
|
|
11
|
-
import { n as ue, r as de, t as fe } from "./text-align-start-
|
|
7
|
+
import { t as j } from "./createLucideIcon-FSF4peHQ.js";
|
|
8
|
+
import { a as ie, i as ae, n as M, r as oe, t as N } from "./RichTextEditorContent-ef0fdj6e.js";
|
|
9
|
+
import { n as se, t as ce } from "./scan-line-IAMjPtRw.js";
|
|
10
|
+
import { t as le } from "./loader-circle-BT38qSm3.js";
|
|
11
|
+
import { n as ue, r as de, t as fe } from "./text-align-start-BwsA6QzC.js";
|
|
12
12
|
import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { t as F } from "./usePopoverRoot-C1j0D7cc.js";
|
|
14
|
-
import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-
|
|
14
|
+
import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-Cab6U2sH.js";
|
|
15
15
|
var L = j("list-ordered", [
|
|
16
16
|
["path", {
|
|
17
17
|
d: "M11 5h10",
|
|
@@ -108,20 +108,7 @@ var L = j("list-ordered", [
|
|
|
108
108
|
y2: "9",
|
|
109
109
|
key: "1p4y9e"
|
|
110
110
|
}]
|
|
111
|
-
]), ye = j("
|
|
112
|
-
["path", {
|
|
113
|
-
d: "m4 5 8 8",
|
|
114
|
-
key: "1eunvl"
|
|
115
|
-
}],
|
|
116
|
-
["path", {
|
|
117
|
-
d: "m12 5-8 8",
|
|
118
|
-
key: "1ah0jp"
|
|
119
|
-
}],
|
|
120
|
-
["path", {
|
|
121
|
-
d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
|
|
122
|
-
key: "e8ta8j"
|
|
123
|
-
}]
|
|
124
|
-
]), be = j("strikethrough", [
|
|
111
|
+
]), ye = j("strikethrough", [
|
|
125
112
|
["path", {
|
|
126
113
|
d: "M16 4H9a3 3 0 0 0-2.83 4",
|
|
127
114
|
key: "43sutm"
|
|
@@ -137,6 +124,19 @@ var L = j("list-ordered", [
|
|
|
137
124
|
y2: "12",
|
|
138
125
|
key: "1e0a9i"
|
|
139
126
|
}]
|
|
127
|
+
]), be = j("subscript", [
|
|
128
|
+
["path", {
|
|
129
|
+
d: "m4 5 8 8",
|
|
130
|
+
key: "1eunvl"
|
|
131
|
+
}],
|
|
132
|
+
["path", {
|
|
133
|
+
d: "m12 5-8 8",
|
|
134
|
+
key: "1ah0jp"
|
|
135
|
+
}],
|
|
136
|
+
["path", {
|
|
137
|
+
d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
|
|
138
|
+
key: "e8ta8j"
|
|
139
|
+
}]
|
|
140
140
|
]), xe = j("superscript", [
|
|
141
141
|
["path", {
|
|
142
142
|
d: "m4 19 8-8",
|
|
@@ -458,7 +458,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
458
458
|
"active"
|
|
459
459
|
]),
|
|
460
460
|
d(G, {
|
|
461
|
-
icon: h(
|
|
461
|
+
icon: h(ye),
|
|
462
462
|
label: h(E).paragraphEditor.strikethrough,
|
|
463
463
|
active: e.editor.isActive("strike"),
|
|
464
464
|
onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
@@ -469,7 +469,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
469
469
|
]),
|
|
470
470
|
d(Y),
|
|
471
471
|
d(G, {
|
|
472
|
-
icon: h(
|
|
472
|
+
icon: h(be),
|
|
473
473
|
label: h(E).paragraphEditor.subscript,
|
|
474
474
|
active: e.editor.isActive("subscript"),
|
|
475
475
|
onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
@@ -532,7 +532,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
532
532
|
"active"
|
|
533
533
|
]),
|
|
534
534
|
d(G, {
|
|
535
|
-
icon: h(
|
|
535
|
+
icon: h(de),
|
|
536
536
|
label: h(E).paragraphEditor.alignCenter,
|
|
537
537
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
538
538
|
onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -542,7 +542,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
542
542
|
"active"
|
|
543
543
|
]),
|
|
544
544
|
d(G, {
|
|
545
|
-
icon: h(
|
|
545
|
+
icon: h(ue),
|
|
546
546
|
label: h(E).paragraphEditor.alignRight,
|
|
547
547
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
548
548
|
onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -2,10 +2,10 @@ import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as
|
|
|
2
2
|
import { a as v, c as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { I as b, P as x, m as S } from "./keys-BbDgCU6K.js";
|
|
4
4
|
import { t as C } from "./useI18n-eR1yVW0v.js";
|
|
5
|
-
import { t as w } from "./createLucideIcon-
|
|
6
|
-
import { t as T } from "./x-
|
|
5
|
+
import { t as w } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
|
+
import { t as T } from "./x-Ctg_250T.js";
|
|
7
7
|
import { t as E } from "./usePopoverRoot-C1j0D7cc.js";
|
|
8
|
-
import { t as D } from "./ColorPicker-
|
|
8
|
+
import { t as D } from "./ColorPicker-Cab6U2sH.js";
|
|
9
9
|
var O = w("bold", [["path", {
|
|
10
10
|
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
11
11
|
key: "mg9rjx"
|