@templatical/editor 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-LxCHMdcj.js → AiChatSidebar-BWIzNePR.js} +2 -2
- package/dist/{AiFeatureMenu-Cr8pLXMj.js → AiFeatureMenu-IoLW8c6m.js} +4 -4
- package/dist/{BlockIssueBadge-BQ1yB1me.js → BlockIssueBadge-FbyZBJlf.js} +2 -2
- package/dist/{CloudEditor-qzoNS8K4.js → CloudEditor-txLsdvcR.js} +10 -10
- package/dist/{CollaboratorBar-BkfR0CyD.js → CollaboratorBar-CpLOFt43.js} +2 -2
- package/dist/{ColorPicker-DfzDyNKe.js → ColorPicker-BXCcUYsZ.js} +3 -3
- package/dist/{CommentsSidebar-Cl93TN96.js → CommentsSidebar-C8xFu9qy.js} +3 -3
- package/dist/{CountdownBlock-DbXfzwae.js → CountdownBlock-CaU40Htk.js} +1 -1
- package/dist/{CountdownToolbar-BqaMWRyB.js → CountdownToolbar-CBbGAxmF.js} +3 -3
- package/dist/{DesignReferenceSidebar-jVrdS8wW.js → DesignReferenceSidebar-BWZgqmT-.js} +13 -14
- package/dist/{IssuesPanel-Bq3yXg6M.js → IssuesPanel-CBzfmzRM.js} +2 -2
- package/dist/{ModuleBrowserModal-XEHfEO0O.js → ModuleBrowserModal-C9qHpjaS.js} +7 -7
- package/dist/{ModulePreviewCanvas-BM8XUgbc.js → ModulePreviewCanvas-xEMWMJwf.js} +2 -2
- package/dist/{NumberWithSuffix-9FG7mNnn.js → NumberWithSuffix-BreqtON_.js} +1 -1
- package/dist/{ParagraphEditor-Cs47wU1V.js → ParagraphEditor-iRJI_YbA.js} +8 -8
- package/dist/{RichTextEditorContent-DCzmVeyb.js → RichTextEditorContent-DkXai9qP.js} +4 -4
- package/dist/{SaveModuleDialog-BgOS9vCQ.js → SaveModuleDialog-DqDmk0rO.js} +6 -6
- package/dist/{SnapshotHistory-CLfYzwv9.js → SnapshotHistory-BVe5aCHi.js} +4 -4
- package/dist/{TemplateScoringPanel-CMrfa9Rd.js → TemplateScoringPanel-CRqt9-T5.js} +77 -77
- package/dist/{TestEmailModal-DTLfATNt.js → TestEmailModal-jpy4hnYZ.js} +3 -3
- package/dist/{TitleEditor-Bq9S0C8Z.js → TitleEditor-Bf6Jv2qI.js} +7 -7
- package/dist/{TplModal-BW0FAtYe.js → TplModal-DAtccv6o.js} +3 -3
- package/dist/{blockTypeIcons-CvSfLeyV.js → blockTypeIcons-CnlwyvkL.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AiFeatureMenu-B0zH66nO.js → AiFeatureMenu-B4oJlFQI.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-B0zH66nO.js.map → AiFeatureMenu-B4oJlFQI.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-yD4pKsU9.js → BlockIssueBadge-C7Ts7bT7.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-yD4pKsU9.js.map → BlockIssueBadge-C7Ts7bT7.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-Da-aSmw5.js → CloudEditor-BRO-2CcF.js} +9 -9
- package/dist/cdn/chunks/{CloudEditor-Da-aSmw5.js.map → CloudEditor-BRO-2CcF.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DixaFis-.js → CollaboratorBar-BsWOjOCS.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-DixaFis-.js.map → CollaboratorBar-BsWOjOCS.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-O6xXCPEg.js → ColorPicker-DEtVX4gN.js} +2 -2
- package/dist/cdn/chunks/{ColorPicker-O6xXCPEg.js.map → ColorPicker-DEtVX4gN.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-jgBPbI1p.js → CountdownBlock-BUGxk8GI.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-jgBPbI1p.js.map → CountdownBlock-BUGxk8GI.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DrmZwvIH.js → CountdownToolbar-C8tWWfGw.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-DrmZwvIH.js.map → CountdownToolbar-C8tWWfGw.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CpyhXg9M.js → IssuesPanel-C5izyrbm.js} +3 -3
- package/dist/cdn/chunks/{IssuesPanel-CpyhXg9M.js.map → IssuesPanel-C5izyrbm.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-DPQLFTti.js → ModuleBrowserModal-DySKXKFF.js} +5 -5
- package/dist/cdn/chunks/{ModuleBrowserModal-DPQLFTti.js.map → ModuleBrowserModal-DySKXKFF.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-Csc6M0RA.js → ModulePreviewCanvas-qqEvLBp2.js} +2 -2
- package/dist/cdn/chunks/{ModulePreviewCanvas-Csc6M0RA.js.map → ModulePreviewCanvas-qqEvLBp2.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-YmcsBmCd.js → NumberWithSuffix-DttdbXsh.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-YmcsBmCd.js.map → NumberWithSuffix-DttdbXsh.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DR5AcHB0.js → ParagraphEditor-CQJ23PXU.js} +6 -6
- package/dist/cdn/chunks/{ParagraphEditor-DR5AcHB0.js.map → ParagraphEditor-CQJ23PXU.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-52c2EuCT.js → RichTextEditorContent-C4vxiXng.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-52c2EuCT.js.map → RichTextEditorContent-C4vxiXng.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-dpRlVrrQ.js → SaveModuleDialog-D5eddgzd.js} +2 -2
- package/dist/cdn/chunks/{SaveModuleDialog-dpRlVrrQ.js.map → SaveModuleDialog-D5eddgzd.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-DtQTPAg3.js → TitleEditor-5TkwDrPL.js} +5 -5
- package/dist/cdn/chunks/{TitleEditor-DtQTPAg3.js.map → TitleEditor-5TkwDrPL.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-B0ktHdUG.js → blockTypeIcons-CbmN4aSw.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-B0ktHdUG.js.map → blockTypeIcons-CbmN4aSw.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CiewgCtw.js → extensions-B3M4IqhZ.js} +2 -2
- package/dist/cdn/chunks/{extensions-CiewgCtw.js.map → extensions-B3M4IqhZ.js.map} +1 -1
- package/dist/cdn/chunks/{features-DLu_D-6j.js → features-HBwOEo4D.js} +748 -685
- package/dist/cdn/chunks/features-HBwOEo4D.js.map +1 -0
- package/dist/cdn/chunks/{icons-B03IY-pm.js → icons-D4vTsN4p.js} +2 -2
- package/dist/cdn/chunks/{icons-B03IY-pm.js.map → icons-D4vTsN4p.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-CYF18RNk.js → media-library-CfExuiSG.js} +3 -3
- package/dist/cdn/chunks/{media-library-CYF18RNk.js.map → media-library-CfExuiSG.js.map} +1 -1
- package/dist/cdn/chunks/{quality-LmsngN2B.js → quality-nh1R42eb.js} +2 -2
- package/dist/cdn/chunks/{quality-LmsngN2B.js.map → quality-nh1R42eb.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-DAeNIQqa.js → renderer-BLvlUayY.js} +3 -3
- package/dist/cdn/chunks/{renderer-DAeNIQqa.js.map → renderer-BLvlUayY.js.map} +1 -1
- package/dist/cdn/chunks/{src-CModhUDN.js → src-Cks4RrLL.js} +4 -4
- package/dist/cdn/chunks/{src-CModhUDN.js.map → src-Cks4RrLL.js.map} +1 -1
- package/dist/cdn/chunks/{styles-hd_LBGaF.js → styles-CPCN13az.js} +9 -9
- package/dist/cdn/chunks/{styles-hd_LBGaF.js.map → styles-CPCN13az.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +8 -7
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{extensions-DhgbhfBX.js → extensions-gpFdCinj.js} +2 -2
- package/dist/index.d.ts +37 -0
- package/dist/{keys-WVNarXg8.js → keys-DAxnnmXs.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{styles-BWC0jc5-.js → styles-CJ6WmkYL.js} +137 -137
- package/dist/templatical-editor.js +7 -6
- package/dist/{upload-BKg6hDRW.js → upload-y4gxiFp5.js} +3 -2
- package/dist/{useCloudI18n-CIKI0hCd.js → useCloudI18n-DIn74fK2.js} +1 -1
- package/dist/{useEditorCore-FLMIhtv1.js → useEditorCore-LJJNXXqC.js} +794 -731
- package/dist/{useI18n-0EU_JVe7.js → useI18n-OaMLWqhY.js} +1 -1
- package/dist/{useMergeTag-C7v6MVah.js → useMergeTag-CZMgwVvr.js} +2 -2
- package/dist/{usePopoverPosition-BDqqnMeo.js → usePopoverPosition-QDY09q9H.js} +1 -1
- package/package.json +7 -7
- package/dist/cdn/chunks/features-DLu_D-6j.js.map +0 -1
- package/dist/timeouts-Bmi_yePw.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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 s, d as c, h as l, l as u, m as d, nt as f, r as p, u as m, w as te, x as ne, z as re } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
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
|
-
import {
|
|
4
|
+
import { c as oe, m as se, r as ce, w as le, z as _ } from "./keys-DAxnnmXs.js";
|
|
5
5
|
import { t as v } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
6
|
import { t as ue } from "./circle-alert-Bhzm-fNA.js";
|
|
7
7
|
import { t as de } from "./loader-circle-BT38qSm3.js";
|
|
@@ -80,7 +80,7 @@ var w = v("redo-2", [["path", {
|
|
|
80
80
|
},
|
|
81
81
|
emits: ["close"],
|
|
82
82
|
setup(o, { emit: v }) {
|
|
83
|
-
let x = o, B = v, V = _(
|
|
83
|
+
let x = o, B = v, V = _(oe, "AiChatSidebar"), H = _(se, "AiChatSidebar"), we = _(ce, "AiChatSidebar"), U = ne(le, []), W = S(), G = C({
|
|
84
84
|
authManager: we,
|
|
85
85
|
getTemplateId: () => H.state.template?.id ?? null,
|
|
86
86
|
onApply: x.onApply,
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
3
|
-
import {
|
|
2
|
+
import "./useEditorCore-LJJNXXqC.js";
|
|
3
|
+
import { t as d, z as f } from "./keys-DAxnnmXs.js";
|
|
4
4
|
import { t as p } from "./image-up-CDEgJqwA.js";
|
|
5
5
|
import { t as m } from "./shield-check-YYDhGroE.js";
|
|
6
6
|
import { t as h } from "./sparkles-CCwQMMMZ.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { n as _ } from "./useCloudI18n-
|
|
8
|
+
import { n as _ } from "./useCloudI18n-DIn74fK2.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var v = {
|
|
11
11
|
class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
@@ -18,7 +18,7 @@ var v = {
|
|
|
18
18
|
props: { activeFeature: {} },
|
|
19
19
|
emits: ["select"],
|
|
20
20
|
setup(a, { emit: g }) {
|
|
21
|
-
let C = g, { t: w } = _(), T = d
|
|
21
|
+
let C = g, { t: w } = _(), T = f(d, "AiFeatureMenu"), E = {
|
|
22
22
|
"ai-chat": "chat",
|
|
23
23
|
"design-reference": "designToTemplate",
|
|
24
24
|
scoring: "scoring"
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import {
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
2
|
+
import { F as l } from "./keys-DAxnnmXs.js";
|
|
3
|
+
import { t as u } from "./useI18n-OaMLWqhY.js";
|
|
4
4
|
import { t as d } from "./circle-alert-Bhzm-fNA.js";
|
|
5
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
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
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 c, R as l, Y as u, Z as d, _ as f, c as p, d as m, g as h, h as g, k as _, l as v, m as y, nt as b, p as x, r as S, s as C, u as w, z as T } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as k } from "./upload-y4gxiFp5.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-LJJNXXqC.js";
|
|
6
6
|
import { m as F } from "./dist-DYv_Pttj.js";
|
|
7
|
-
import { i as I } from "./usePopoverPosition-
|
|
8
|
-
import {
|
|
9
|
-
import { t as V } from "./useI18n-
|
|
7
|
+
import { i as I } from "./usePopoverPosition-QDY09q9H.js";
|
|
8
|
+
import { N as L, P as R, c as z, k as te, l as ne, r as B, s as re, t as ie } from "./keys-DAxnnmXs.js";
|
|
9
|
+
import { t as V } from "./useI18n-OaMLWqhY.js";
|
|
10
10
|
import { t as H } from "./createLucideIcon-FSF4peHQ.js";
|
|
11
11
|
import { t as U } from "./check-Cg6Mc2pP.js";
|
|
12
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-
|
|
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-CJ6WmkYL.js";
|
|
14
14
|
import { t as he } from "./clock-m7TwQw4b.js";
|
|
15
15
|
import { t as J } from "./loader-circle-BT38qSm3.js";
|
|
16
16
|
import { t as ge } from "./message-circle-BAHcL9S-.js";
|
|
@@ -18,8 +18,8 @@ import { t as _e } from "./send-DvMay6bt.js";
|
|
|
18
18
|
import { t as Y } from "./sparkles-CCwQMMMZ.js";
|
|
19
19
|
import { t as X } from "./triangle-alert-B2g0ALvq.js";
|
|
20
20
|
import { t as Z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
21
|
-
import { n as Q } from "./useCloudI18n-
|
|
22
|
-
import { d as $ } from "./ColorPicker-
|
|
21
|
+
import { n as Q } from "./useCloudI18n-DIn74fK2.js";
|
|
22
|
+
import { d as $ } from "./ColorPicker-BXCcUYsZ.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", {
|
|
@@ -629,7 +629,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
629
629
|
},
|
|
630
630
|
emits: ["save"],
|
|
631
631
|
setup(e) {
|
|
632
|
-
let t = h(() => import("./CollaboratorBar-
|
|
632
|
+
let t = h(() => import("./CollaboratorBar-CpLOFt43.js")), r = h(() => import("./SnapshotHistory-BVe5aCHi.js")), a = h(() => import("./AiFeatureMenu-IoLW8c6m.js")), { t: o, format: u } = Q();
|
|
633
633
|
return (d, f) => (s(), m("header", tt, [
|
|
634
634
|
p("div", nt, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", rt, c(b(u)(b(o).header.templatesUsed, {
|
|
635
635
|
used: e.featureFlags.templateCount.value,
|
|
@@ -791,7 +791,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
791
791
|
"module-insert"
|
|
792
792
|
],
|
|
793
793
|
setup(e, { expose: t, emit: n }) {
|
|
794
|
-
let r = h(() => import("./AiChatSidebar-
|
|
794
|
+
let r = h(() => import("./AiChatSidebar-BWIzNePR.js")), i = h(() => import("./CommentsSidebar-C8xFu9qy.js")), a = h(() => import("./DesignReferenceSidebar-BWZgqmT-.js")), o = h(() => import("./TemplateScoringPanel-CRqt9-T5.js")), c = h(() => import("./TestEmailModal-jpy4hnYZ.js")), l = h(() => import("./SaveModuleDialog-DqDmk0rO.js")), d = h(() => import("./ModuleBrowserModal-C9qHpjaS.js")), f = h(async () => {
|
|
795
795
|
try {
|
|
796
796
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
797
797
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
2
|
+
import "./useEditorCore-LJJNXXqC.js";
|
|
3
3
|
import { t as f } from "./createLucideIcon-FSF4peHQ.js";
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
4
|
+
import { n as p } from "./useCloudI18n-DIn74fK2.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
7
7
|
["path", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dt as e, Et as t, O as n, R as r, Y as i, _ as a, c as o, d as s, h as c, i as ee, l as te, nt as l, s as u, u as d, x as f } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { c as ne, s as p, t as re } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import { i as ie, n as ae, r as m, t as oe } from "./usePopoverPosition-
|
|
4
|
-
import {
|
|
5
|
-
import { t as le } from "./useI18n-
|
|
3
|
+
import { i as ie, n as ae, r as m, t as oe } from "./usePopoverPosition-QDY09q9H.js";
|
|
4
|
+
import { I as se, R as ce } from "./keys-DAxnnmXs.js";
|
|
5
|
+
import { t as le } from "./useI18n-OaMLWqhY.js";
|
|
6
6
|
import { t as h } from "./x-Ctg_250T.js";
|
|
7
7
|
//#region src/constants/styleConstants.ts
|
|
8
8
|
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 = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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 c, c as l, d as u, h as d, l as f, m as ee, nt as p, r as m, s as h, u as g, w as te, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { a as v, t as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as ae } from "./useI18n-
|
|
3
|
+
import { l as ne, m as re, r as ie, z as b } from "./keys-DAxnnmXs.js";
|
|
4
|
+
import { t as ae } from "./useI18n-OaMLWqhY.js";
|
|
5
5
|
import { t as x } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
6
|
import { t as oe } from "./check-Cg6Mc2pP.js";
|
|
7
7
|
import { t as se } from "./chevron-down-dClfxKrJ.js";
|
|
@@ -11,7 +11,7 @@ import { t as w } from "./send-DvMay6bt.js";
|
|
|
11
11
|
import { t as T } from "./trash-2-CRBDolnR.js";
|
|
12
12
|
import { t as E } from "./x-Ctg_250T.js";
|
|
13
13
|
import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { n as ce } from "./useCloudI18n-
|
|
14
|
+
import { n as ce } from "./useCloudI18n-DIn74fK2.js";
|
|
15
15
|
import { t as le } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
16
16
|
var ue = x("chevron-up", [["path", {
|
|
17
17
|
d: "m18 15-6-6-6 6",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { A as t, Dt as n, O as r, Ot as i, Y as a, _ as o, c as s, d as c, nt as l, r as u, s as d, u as f } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
3
3
|
import { p } from "./dist-DYv_Pttj.js";
|
|
4
|
-
import { t as m } from "./useI18n-
|
|
4
|
+
import { t as m } from "./useI18n-OaMLWqhY.js";
|
|
5
5
|
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var h = {
|
|
7
7
|
key: 0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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-
|
|
3
|
-
import { f as m, t as h } from "./ColorPicker-
|
|
2
|
+
import { t as p } from "./useI18n-OaMLWqhY.js";
|
|
3
|
+
import { f as m, t as h } from "./ColorPicker-BXCcUYsZ.js";
|
|
4
4
|
import { t as g } from "./ToggleSwitch-DUNuUPsZ.js";
|
|
5
|
-
import { n as _, r as v, t as y } from "./NumberWithSuffix-
|
|
5
|
+
import { n as _, r as v, t as y } from "./NumberWithSuffix-BreqtON_.js";
|
|
6
6
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
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 = [
|
|
8
8
|
"value",
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
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, _ as s, c, d as l, h as u, l as te, m as d, nt as f, s as ne, u as p, z as re } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { a as ie, t as ae } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
3
|
+
import { t as oe } from "./upload-y4gxiFp5.js";
|
|
4
|
+
import { m as se, r as m, z as h } from "./keys-DAxnnmXs.js";
|
|
5
|
+
import { t as g } from "./createLucideIcon-FSF4peHQ.js";
|
|
6
6
|
import { t as ce } from "./circle-alert-Bhzm-fNA.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as _ } from "./upload-BKg6hDRW.js";
|
|
7
|
+
import { t as _ } from "./image-up-CDEgJqwA.js";
|
|
9
8
|
import { t as v } from "./x-Ctg_250T.js";
|
|
10
9
|
import { t as le } from "./LoadingTrack-KIcREPlS.js";
|
|
11
10
|
import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { n as ue } from "./useCloudI18n-
|
|
11
|
+
import { n as ue } from "./useCloudI18n-DIn74fK2.js";
|
|
13
12
|
import { u as de } from "./cloud-BogxOeZu.js";
|
|
14
|
-
var fe =
|
|
13
|
+
var fe = g("file-image", [
|
|
15
14
|
["path", {
|
|
16
15
|
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
17
16
|
key: "1oefj6"
|
|
@@ -30,7 +29,7 @@ var fe = h("file-image", [
|
|
|
30
29
|
d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",
|
|
31
30
|
key: "wt3hpn"
|
|
32
31
|
}]
|
|
33
|
-
]), b =
|
|
32
|
+
]), b = g("file-text", [
|
|
34
33
|
["path", {
|
|
35
34
|
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
36
35
|
key: "1oefj6"
|
|
@@ -79,9 +78,9 @@ var fe = h("file-image", [
|
|
|
79
78
|
hasExistingBlocks: { type: Boolean }
|
|
80
79
|
},
|
|
81
80
|
emits: ["close", "apply"],
|
|
82
|
-
setup(s, { emit:
|
|
83
|
-
let y = s, z =
|
|
84
|
-
authManager: m
|
|
81
|
+
setup(s, { emit: g }) {
|
|
82
|
+
let y = s, z = g, { t: B } = ue(), xe = h(se, "DesignReferenceSidebar"), V = de({
|
|
83
|
+
authManager: h(m, "DesignReferenceSidebar"),
|
|
85
84
|
getTemplateId: () => xe.state.template?.id ?? null,
|
|
86
85
|
onApply: (e) => z("apply", e)
|
|
87
86
|
}), H = o(null), U = o("image"), W = o(null), G = o(""), K = o(null), q = o(!1), J = o(!1), Y = ne(() => !V.isGenerating.value && W.value !== null);
|
|
@@ -152,7 +151,7 @@ var fe = h("file-image", [
|
|
|
152
151
|
"leave-from-class": "tpl:translate-x-0",
|
|
153
152
|
"leave-to-class": "tpl:translate-x-full"
|
|
154
153
|
}, {
|
|
155
|
-
default: ee(() => [s.visible ? (r(), l("div", pe, [c("div", me, [c("div", he, [u(f(
|
|
154
|
+
default: ee(() => [s.visible ? (r(), l("div", pe, [c("div", me, [c("div", he, [u(f(_), {
|
|
156
155
|
size: 13,
|
|
157
156
|
"stroke-width": 2
|
|
158
157
|
}), c("span", null, i(f(B).designReference.title), 1)]), c("button", {
|
|
@@ -212,7 +211,7 @@ var fe = h("file-image", [
|
|
|
212
211
|
onDragleave: we,
|
|
213
212
|
onDrop: Te
|
|
214
213
|
}, [
|
|
215
|
-
u(f(
|
|
214
|
+
u(f(oe), {
|
|
216
215
|
size: 24,
|
|
217
216
|
"stroke-width": 1.5,
|
|
218
217
|
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
@@ -251,7 +250,7 @@ var fe = h("file-image", [
|
|
|
251
250
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
|
|
252
251
|
disabled: !Y.value,
|
|
253
252
|
onClick: $
|
|
254
|
-
}, [u(f(
|
|
253
|
+
}, [u(f(_), {
|
|
255
254
|
size: 16,
|
|
256
255
|
"stroke-width": 2
|
|
257
256
|
}), d(" " + i(f(B).designReference.generate), 1)], 8, ye)),
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import {
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
2
|
+
import { F as g, m as _ } from "./keys-DAxnnmXs.js";
|
|
3
|
+
import { t as v } from "./useI18n-OaMLWqhY.js";
|
|
4
4
|
import { t as y } from "./createLucideIcon-FSF4peHQ.js";
|
|
5
5
|
import { t as b } from "./circle-alert-Bhzm-fNA.js";
|
|
6
6
|
import { t as x } from "./info-BNP8yGsK.js";
|
|
@@ -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-
|
|
4
|
-
import {
|
|
5
|
-
import { t as oe } from "./useI18n-
|
|
6
|
-
import { n as se, r as y, t as b } from "./blockTypeIcons-
|
|
3
|
+
import "./useEditorCore-LJJNXXqC.js";
|
|
4
|
+
import { N as ie, m as ae, z as v } from "./keys-DAxnnmXs.js";
|
|
5
|
+
import { t as oe } from "./useI18n-OaMLWqhY.js";
|
|
6
|
+
import { n as se, r as y, t as b } from "./blockTypeIcons-CnlwyvkL.js";
|
|
7
7
|
import { t as ce } from "./trash-2-CRBDolnR.js";
|
|
8
8
|
import { t as le } from "./x-Ctg_250T.js";
|
|
9
|
-
import { n as ue } from "./useCloudI18n-
|
|
10
|
-
import { t as de } from "./TplModal-
|
|
9
|
+
import { n as ue } from "./useCloudI18n-DIn74fK2.js";
|
|
10
|
+
import { t as de } from "./TplModal-DAtccv6o.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-xEMWMJwf.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,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { o as D } from "./keys-
|
|
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-LJJNXXqC.js";
|
|
3
|
+
import { o as D } from "./keys-DAxnnmXs.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({
|
|
6
6
|
name: "PreviewSectionBlock",
|
|
@@ -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-BXCcUYsZ.js";
|
|
3
3
|
//#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var v = [
|
|
5
5
|
"aria-checked",
|
|
@@ -1,16 +1,16 @@
|
|
|
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-
|
|
4
|
-
import { i as E, n as D } from "./usePopoverPosition-
|
|
5
|
-
import {
|
|
6
|
-
import { t as j } from "./useI18n-
|
|
3
|
+
import { D as S, E as C, S as w, x as T } from "./useEditorCore-LJJNXXqC.js";
|
|
4
|
+
import { i as E, n as D } from "./usePopoverPosition-QDY09q9H.js";
|
|
5
|
+
import { C as O, E as k, I as A, R as ee, g as te, m as ne, z as re } from "./keys-DAxnnmXs.js";
|
|
6
|
+
import { t as j } from "./useI18n-OaMLWqhY.js";
|
|
7
7
|
import { t as M } from "./createLucideIcon-FSF4peHQ.js";
|
|
8
|
-
import { a as ie, i as ae, n as N, r as oe, t as P } from "./RichTextEditorContent-
|
|
8
|
+
import { a as ie, i as ae, n as N, r as oe, t as P } from "./RichTextEditorContent-DkXai9qP.js";
|
|
9
9
|
import { n as se, t as ce } from "./scan-line-IAMjPtRw.js";
|
|
10
10
|
import { t as le } from "./loader-circle-BT38qSm3.js";
|
|
11
11
|
import { n as ue, r as de, t as fe } from "./text-align-start-BwsA6QzC.js";
|
|
12
12
|
import { t as F } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-
|
|
13
|
+
import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-BXCcUYsZ.js";
|
|
14
14
|
var L = M("list-ordered", [
|
|
15
15
|
["path", {
|
|
16
16
|
d: "M11 5h10",
|
|
@@ -305,7 +305,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
305
305
|
"add-logic-tag"
|
|
306
306
|
],
|
|
307
307
|
setup(e, { emit: n }) {
|
|
308
|
-
let r = e, o = n, s = y(
|
|
308
|
+
let r = e, o = n, s = y(A, null), c = y(ee, null), b = re(te, "ParagraphToolbar"), x = D(), S = y(k, null), C = y(O, null), w = y(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), M = b.fonts;
|
|
309
309
|
function N(e) {
|
|
310
310
|
r.editor?.chain().focus().insertContent(e).run();
|
|
311
311
|
}
|
|
@@ -636,7 +636,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
636
636
|
import("./dist-DbekZDmJ.js"),
|
|
637
637
|
import("./dist-BDVm2MrW.js"),
|
|
638
638
|
import("./dist-YSCPD13F.js"),
|
|
639
|
-
import("./extensions-
|
|
639
|
+
import("./extensions-gpFdCinj.js")
|
|
640
640
|
]);
|
|
641
641
|
return {
|
|
642
642
|
TiptapEditor: o,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
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 c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { a as v, c as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import { n as b } from "./usePopoverPosition-
|
|
4
|
-
import {
|
|
5
|
-
import { t as w } from "./useI18n-
|
|
3
|
+
import { n as b } from "./usePopoverPosition-QDY09q9H.js";
|
|
4
|
+
import { I as x, R as S, m as C } from "./keys-DAxnnmXs.js";
|
|
5
|
+
import { t as w } from "./useI18n-OaMLWqhY.js";
|
|
6
6
|
import { t as T } from "./createLucideIcon-FSF4peHQ.js";
|
|
7
7
|
import { t as E } from "./x-Ctg_250T.js";
|
|
8
|
-
import { t as D } from "./ColorPicker-
|
|
8
|
+
import { t as D } from "./ColorPicker-BXCcUYsZ.js";
|
|
9
9
|
var O = T("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"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
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 c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, s as g, u as ee, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { a as v } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import "./useEditorCore-
|
|
4
|
-
import {
|
|
5
|
-
import { t as S } from "./useI18n-
|
|
3
|
+
import "./useEditorCore-LJJNXXqC.js";
|
|
4
|
+
import { N as y, m as b, z as x } from "./keys-DAxnnmXs.js";
|
|
5
|
+
import { t as S } from "./useI18n-OaMLWqhY.js";
|
|
6
6
|
import { t as te } from "./loader-circle-BT38qSm3.js";
|
|
7
|
-
import { n as ne } from "./useCloudI18n-
|
|
7
|
+
import { n as ne } from "./useCloudI18n-DIn74fK2.js";
|
|
8
8
|
import { t as re } from "./ToggleSwitch-DUNuUPsZ.js";
|
|
9
|
-
import { t as C } from "./TplModal-
|
|
9
|
+
import { t as C } from "./TplModal-DAtccv6o.js";
|
|
10
10
|
//#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var w = ["aria-busy"], T = {
|
|
12
12
|
id: "tpl-save-module-title",
|
|
@@ -26,7 +26,7 @@ var w = ["aria-busy"], T = {
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["close", "saved"],
|
|
28
28
|
setup(c, { emit: R }) {
|
|
29
|
-
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = b
|
|
29
|
+
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = x(b, "SaveModuleDialog"), W = x(y, "SaveModuleDialog"), G = s(""), K = s(/* @__PURE__ */ new Set()), q = s(!1), J = s(null), Y = g(() => U.content.value.blocks);
|
|
30
30
|
function X(e, t) {
|
|
31
31
|
let n = e.type;
|
|
32
32
|
return `${V.blocks[n] ?? e.type} ${t + 1}`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
import { c as h, t as g } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
|
-
import "./useEditorCore-
|
|
4
|
-
import { i as _ } from "./usePopoverPosition-
|
|
5
|
-
import { t as v } from "./useI18n-
|
|
3
|
+
import "./useEditorCore-LJJNXXqC.js";
|
|
4
|
+
import { i as _ } from "./usePopoverPosition-QDY09q9H.js";
|
|
5
|
+
import { t as v } from "./useI18n-OaMLWqhY.js";
|
|
6
6
|
import { t as y } from "./createLucideIcon-FSF4peHQ.js";
|
|
7
7
|
import { t as b } from "./chevron-down-dClfxKrJ.js";
|
|
8
8
|
import { t as x } from "./clock-m7TwQw4b.js";
|
|
9
9
|
import { t as S } from "./loader-circle-BT38qSm3.js";
|
|
10
|
-
import { n as C } from "./useCloudI18n-
|
|
10
|
+
import { n as C } from "./useCloudI18n-DIn74fK2.js";
|
|
11
11
|
import { t as w } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
12
12
|
var T = y("chevron-left", [["path", {
|
|
13
13
|
d: "m15 18-6-6 6-6",
|