@templatical/editor 0.17.0 → 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-zwSmx9ZW.js → AiFeatureMenu-IoLW8c6m.js} +4 -4
- package/dist/{BlockIssueBadge-BQ1yB1me.js → BlockIssueBadge-FbyZBJlf.js} +2 -2
- package/dist/{CloudEditor-5ahgKRX8.js → CloudEditor-txLsdvcR.js} +10 -10
- package/dist/{CollaboratorBar-6PtX-1AS.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/{MergeTagSuggestion-jIpT_jmz.js → MergeTagSuggestion-DCuaSOPQ.js} +148 -162
- package/dist/{ModuleBrowserModal-B5IH3-1I.js → ModuleBrowserModal-C9qHpjaS.js} +7 -7
- package/dist/{ModulePreviewCanvas-CYOLWoZ9.js → ModulePreviewCanvas-xEMWMJwf.js} +2 -2
- package/dist/{NumberWithSuffix-9FG7mNnn.js → NumberWithSuffix-BreqtON_.js} +1 -1
- package/dist/{ParagraphEditor-duWYA6Vv.js → ParagraphEditor-iRJI_YbA.js} +19 -19
- package/dist/{RichTextEditorContent-DCzmVeyb.js → RichTextEditorContent-DkXai9qP.js} +4 -4
- package/dist/{SaveModuleDialog-BPUly5h3.js → SaveModuleDialog-DqDmk0rO.js} +6 -6
- package/dist/{SnapshotHistory-CmwU3nlN.js → SnapshotHistory-BVe5aCHi.js} +4 -4
- package/dist/{TemplateScoringPanel-CMrfa9Rd.js → TemplateScoringPanel-CRqt9-T5.js} +77 -77
- package/dist/{TestEmailModal-zfomMz9i.js → TestEmailModal-jpy4hnYZ.js} +3 -3
- package/dist/{TitleEditor-v0gtezZE.js → TitleEditor-Bf6Jv2qI.js} +10 -10
- package/dist/{TplModal-eGFG7k-y.js → TplModal-DAtccv6o.js} +3 -3
- package/dist/{blockTypeIcons-Dd0w4T0I.js → blockTypeIcons-CnlwyvkL.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AiFeatureMenu-CtXsam7G.js → AiFeatureMenu-B4oJlFQI.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-CtXsam7G.js.map → AiFeatureMenu-B4oJlFQI.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DR7cpDfQ.js → BlockIssueBadge-C7Ts7bT7.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-DR7cpDfQ.js.map → BlockIssueBadge-C7Ts7bT7.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-YC5y3AwC.js → CloudEditor-BRO-2CcF.js} +9 -9
- package/dist/cdn/chunks/{CloudEditor-YC5y3AwC.js.map → CloudEditor-BRO-2CcF.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-BOD2j8Kl.js → CollaboratorBar-BsWOjOCS.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-BOD2j8Kl.js.map → CollaboratorBar-BsWOjOCS.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-CPMWLHpa.js → ColorPicker-DEtVX4gN.js} +2 -2
- package/dist/cdn/chunks/{ColorPicker-CPMWLHpa.js.map → ColorPicker-DEtVX4gN.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BmGqb7Zi.js → CountdownBlock-BUGxk8GI.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-BmGqb7Zi.js.map → CountdownBlock-BUGxk8GI.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BBwsdGbV.js → CountdownToolbar-C8tWWfGw.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-BBwsdGbV.js.map → CountdownToolbar-C8tWWfGw.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-G0z-j3JS.js → IssuesPanel-C5izyrbm.js} +3 -3
- package/dist/cdn/chunks/{IssuesPanel-G0z-j3JS.js.map → IssuesPanel-C5izyrbm.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-rpZ6Ol-i.js → MergeTagSuggestion-BmMmdcRg.js} +2 -2
- package/dist/cdn/chunks/{MergeTagSuggestion-rpZ6Ol-i.js.map → MergeTagSuggestion-BmMmdcRg.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-DiLTY0ec.js → ModuleBrowserModal-DySKXKFF.js} +5 -5
- package/dist/cdn/chunks/{ModuleBrowserModal-DiLTY0ec.js.map → ModuleBrowserModal-DySKXKFF.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-CdV5mEQ6.js → ModulePreviewCanvas-qqEvLBp2.js} +2 -2
- package/dist/cdn/chunks/{ModulePreviewCanvas-CdV5mEQ6.js.map → ModulePreviewCanvas-qqEvLBp2.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-lqQlf0Uk.js → NumberWithSuffix-DttdbXsh.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-lqQlf0Uk.js.map → NumberWithSuffix-DttdbXsh.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BYoZfURd.js → ParagraphEditor-CQJ23PXU.js} +17 -17
- package/dist/cdn/chunks/{ParagraphEditor-BYoZfURd.js.map → ParagraphEditor-CQJ23PXU.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BnPRnXxy.js → RichTextEditorContent-C4vxiXng.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-BnPRnXxy.js.map → RichTextEditorContent-C4vxiXng.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-C9hUeWyG.js → SaveModuleDialog-D5eddgzd.js} +2 -2
- package/dist/cdn/chunks/{SaveModuleDialog-C9hUeWyG.js.map → SaveModuleDialog-D5eddgzd.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-wFvnU3Jr.js → TitleEditor-5TkwDrPL.js} +8 -8
- package/dist/cdn/chunks/{TitleEditor-wFvnU3Jr.js.map → TitleEditor-5TkwDrPL.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-DNMvDz5B.js → blockTypeIcons-CbmN4aSw.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-DNMvDz5B.js.map → blockTypeIcons-CbmN4aSw.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-DxcxIlwT.js → extensions-B3M4IqhZ.js} +4 -4
- package/dist/cdn/chunks/{extensions-DxcxIlwT.js.map → extensions-B3M4IqhZ.js.map} +1 -1
- package/dist/cdn/chunks/{features-B3qgDBHf.js → features-HBwOEo4D.js} +748 -685
- package/dist/cdn/chunks/features-HBwOEo4D.js.map +1 -0
- package/dist/cdn/chunks/{icons-kiMqh99T.js → icons-D4vTsN4p.js} +2 -2
- package/dist/cdn/chunks/{icons-kiMqh99T.js.map → icons-D4vTsN4p.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-C5ogiZ4f.js → media-library-CfExuiSG.js} +3 -3
- package/dist/cdn/chunks/{media-library-C5ogiZ4f.js.map → media-library-CfExuiSG.js.map} +1 -1
- package/dist/cdn/chunks/{quality-BftAn_AJ.js → quality-nh1R42eb.js} +2 -2
- package/dist/cdn/chunks/{quality-BftAn_AJ.js.map → quality-nh1R42eb.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-Cdlo4MVX.js → renderer-BLvlUayY.js} +4 -4
- package/dist/cdn/chunks/renderer-BLvlUayY.js.map +1 -0
- package/dist/cdn/chunks/{src-GBA8oUL2.js → src-Cks4RrLL.js} +4 -4
- package/dist/cdn/chunks/{src-GBA8oUL2.js.map → src-Cks4RrLL.js.map} +1 -1
- package/dist/cdn/chunks/{styles-B6rdq9JB.js → styles-CPCN13az.js} +10 -10
- package/dist/cdn/chunks/{styles-B6rdq9JB.js.map → styles-CPCN13az.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-zpXk5mN4.js → tiptap-C2indasq.js} +806 -811
- package/dist/cdn/chunks/tiptap-C2indasq.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +8 -7
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{dist-BReUTadj.js → dist-8TKf-Jpg.js} +2 -2
- package/dist/{dist-BE9m_i60.js → dist-BDVm2MrW.js} +1 -1
- package/dist/{dist-D1WmF8BF.js → dist-BKKo5wPC.js} +1 -1
- package/dist/{dist-DhY2di4U.js → dist-COSN3oDJ.js} +1 -1
- package/dist/{dist-CHLoeloJ.js → dist-CcX5sLpz.js} +1 -1
- package/dist/{dist-D9g4CSnm.js → dist-CgTKuIUN.js} +300 -298
- package/dist/{dist-i_Z7t67A.js → dist-Cx7IUM7J.js} +22 -15
- package/dist/{dist-Bm07Z3Es.js → dist-D6M5FAY7.js} +1 -1
- package/dist/{dist-DGEaAAIb.js → dist-DXAZUjj3.js} +1 -1
- package/dist/{dist-BXR1aBJV.js → dist-DbekZDmJ.js} +1 -1
- package/dist/{dist-DcKlLQ8d.js → dist-Dk5AdwoQ.js} +1 -1
- package/dist/{dist-BPPeDw62.js → dist-YSCPD13F.js} +1 -1
- package/dist/{extensions-B4lu0KkE.js → extensions-gpFdCinj.js} +5 -5
- 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-mBSbDYeX.js → styles-CJ6WmkYL.js} +138 -138
- 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-CaaHPKjm.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 +8 -8
- package/dist/cdn/chunks/features-B3qgDBHf.js.map +0 -1
- package/dist/cdn/chunks/renderer-Cdlo4MVX.js.map +0 -1
- package/dist/cdn/chunks/tiptap-zpXk5mN4.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";
|