@templatical/editor 0.0.5 → 0.1.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/LICENSE +56 -0
- package/README.md +69 -0
- package/dist/{AiChatSidebar-DwME3f-a.js → AiChatSidebar-DSbBLDkW.js} +9 -9
- package/dist/{AiFeatureMenu-DJvWL1GZ.js → AiFeatureMenu-d04gmgud.js} +5 -5
- package/dist/{CloudEditor-Fe0ssRgi.js → CloudEditor-CjO4tzbV.js} +218 -227
- package/dist/{CollaboratorBar-DTT0EkZn.js → CollaboratorBar-DYBSTuMW.js} +3 -3
- package/dist/{CommentsSidebar-DrJhQRXK.js → CommentsSidebar-CQvUh5xt.js} +9 -9
- package/dist/CountdownBlock-D3olfssJ.js +92 -0
- package/dist/CountdownToolbar-ClpBwFoX.js +210 -0
- package/dist/{DesignReferenceSidebar-DdOht5zn.js → DesignReferenceSidebar-BOfeETis.js} +5 -5
- package/dist/{LoadingTrack-vK8W2PJf.js → LoadingTrack-CdqDYVR-.js} +1 -1
- package/dist/{ModuleBrowserModal-CiV_jOEM.js → ModuleBrowserModal-DKSSQonv.js} +7 -7
- package/dist/{ModulePreviewCanvas-Bmy6Y1WE.js → ModulePreviewCanvas-CoLNuu1o.js} +32 -32
- package/dist/NumberWithSuffix-_0l3Q4jq.js +424 -0
- package/dist/{ParagraphEditor-CoQ3NlS7.js → ParagraphEditor-C9R2ou7x.js} +57 -56
- package/dist/{RichTextEditorContent-CHJlh7HJ.js → RichTextEditorContent-BcY3Rcp4.js} +2 -2
- package/dist/{SaveModuleDialog-CD2ZYq1o.js → SaveModuleDialog-DmFe4VUc.js} +3 -3
- package/dist/{SnapshotHistory-DltsKvhP.js → SnapshotHistory-CAhikAOr.js} +7 -7
- package/dist/{TemplateScoringPanel-DmnmUE3y.js → TemplateScoringPanel-b5DnyIll.js} +10 -10
- package/dist/{TestEmailModal-Dl633j9o.js → TestEmailModal-BmDIzGYz.js} +3 -3
- package/dist/{TitleEditor-C7fds2Nc.js → TitleEditor-DtRYx-LS.js} +11 -11
- package/dist/{TplModal-C5_CF-qn.js → TplModal-BLbMDMd6.js} +4 -4
- package/dist/{_plugin-vue_export-helper-B1-bu7yR.js → _plugin-vue_export-helper-BHUPLLh1.js} +2 -2
- package/dist/{blockTypeIcons-BrKZB10B.js → blockTypeIcons-CEU2dMe1.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js → AiFeatureMenu-DWMSYD2J.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js.map → AiFeatureMenu-DWMSYD2J.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-DeTolKnf.js → CloudEditor-HrfSfr3G.js} +179 -188
- package/dist/cdn/chunks/CloudEditor-HrfSfr3G.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js → CollaboratorBar-Cfok52TZ.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js.map → CollaboratorBar-Cfok52TZ.js.map} +1 -1
- package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js +93 -0
- package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js.map +1 -0
- package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js +212 -0
- package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js.map +1 -0
- package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js → ModuleBrowserModal-sASaPRot.js} +7 -7
- package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js.map → ModuleBrowserModal-sASaPRot.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js → ModulePreviewCanvas-D8zsajMf.js} +19 -19
- package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js.map → ModulePreviewCanvas-D8zsajMf.js.map} +1 -1
- package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js +425 -0
- package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-DU3oUKA7.js → ParagraphEditor-C1vQWGzW.js} +37 -37
- package/dist/cdn/chunks/ParagraphEditor-C1vQWGzW.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js → RichTextEditorContent-CT8dBB0R.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js.map → RichTextEditorContent-CT8dBB0R.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js → SaveModuleDialog-BkwKrB0N.js} +5 -5
- package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js.map → SaveModuleDialog-BkwKrB0N.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js → TitleEditor-BXqt42Px.js} +11 -11
- package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js.map → TitleEditor-BXqt42Px.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js → blockTypeIcons-BS6pWyGO.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js.map → blockTypeIcons-BS6pWyGO.js.map} +1 -1
- package/dist/cdn/chunks/{de-BvYD17KT.js → de-3exf7MYE.js} +1 -1
- package/dist/cdn/chunks/{de-BvYD17KT.js.map → de-3exf7MYE.js.map} +1 -1
- package/dist/cdn/chunks/{de-BB3dgVOc.js → de-C8LxVUsb.js} +1 -1
- package/dist/cdn/chunks/de-C8LxVUsb.js.map +1 -0
- package/dist/cdn/chunks/{dist-KYv9v_1z2.js → dist-BpOx-ugr.js} +10 -3
- package/dist/cdn/chunks/dist-BpOx-ugr.js.map +1 -0
- package/dist/cdn/chunks/{draggable-BQNU47zu.js → draggable-Bcb86AsV.js} +1591 -1563
- package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +1 -0
- package/dist/cdn/chunks/{emojiData-BVEJHcNH.js → emojiData-DUHzsh4j.js} +1 -1
- package/dist/cdn/chunks/{emojiData-BVEJHcNH.js.map → emojiData-DUHzsh4j.js.map} +1 -1
- package/dist/cdn/chunks/{en-DeDcpnoS.js → en-BoEycuqw.js} +1 -1
- package/dist/cdn/chunks/en-BoEycuqw.js.map +1 -0
- package/dist/cdn/chunks/{en-CpotcOPr.js → en-KNPUKxYp.js} +1 -1
- package/dist/cdn/chunks/{en-CpotcOPr.js.map → en-KNPUKxYp.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-Bj7USRLr.js → extensions-DBxH6pz0.js} +21 -21
- package/dist/cdn/chunks/{extensions-Bj7USRLr.js.map → extensions-DBxH6pz0.js.map} +1 -1
- package/dist/cdn/chunks/{features-Ds0XUfte.js → features-C3n7AeUc.js} +1338 -1422
- package/dist/cdn/chunks/features-C3n7AeUc.js.map +1 -0
- package/dist/cdn/chunks/{icons-fWsuSvgd.js → icons-Hmpb0_8s.js} +2 -2
- package/dist/cdn/chunks/icons-Hmpb0_8s.js.map +1 -0
- package/dist/cdn/chunks/{liquid.browser-C1VIYISn.js → liquid.browser-CEMn-ZqL.js} +24 -17
- package/dist/cdn/chunks/liquid.browser-CEMn-ZqL.js.map +1 -0
- package/dist/cdn/chunks/{media-library-BGQm_OyC.js → media-library-C1wCpRY1.js} +114 -110
- package/dist/cdn/chunks/media-library-C1wCpRY1.js.map +1 -0
- package/dist/cdn/chunks/{pusher-DJPhQnE8.js → pusher-DwSQn6BA.js} +11 -8
- package/dist/cdn/chunks/pusher-DwSQn6BA.js.map +1 -0
- package/dist/cdn/chunks/readableTextColor-Cd_cgWO_.js.map +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-DPITmOBR.js → rolldown-runtime-BNuo_Jkg.js} +1 -1
- package/dist/cdn/chunks/{src-3i8rPuqd.js → src-BUszJqfd.js} +8 -8
- package/dist/cdn/chunks/{src-3i8rPuqd.js.map → src-BUszJqfd.js.map} +1 -1
- package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js → styleConstants-DP1VOca8.js} +1 -1
- package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js.map → styleConstants-DP1VOca8.js.map} +1 -1
- package/dist/cdn/chunks/{styles-Dgijy53u.js → styles-U2VFFgxC.js} +623 -1239
- package/dist/cdn/chunks/styles-U2VFFgxC.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-BhxaWR8R.js → tiptap-w5IqC8oW.js} +1610 -1364
- package/dist/cdn/chunks/tiptap-w5IqC8oW.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +92 -97
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-B7kDuZmP.js → check-BDE2uFIC.js} +1 -1
- package/dist/{chevron-down-DJLW2Q9Z.js → chevron-down-BL1DcOiT.js} +1 -1
- package/dist/{circle-alert-E2vYPs5r.js → circle-alert-1tetIFJU.js} +1 -1
- package/dist/{clock-lWIIQA3C.js → clock-CNc3isoG.js} +1 -1
- package/dist/{dist-DysAFIPy.js → dist-7SaUYnxo.js} +385 -357
- package/dist/{dist-DmOE-Ubp.js → dist-BKZ5gvJf.js} +5 -5
- package/dist/{dist-CG-vEqSU.js → dist-CLg2qE0p.js} +2 -2
- package/dist/dist-CdzaZZSx.js +5 -0
- package/dist/dist-Cl9giA3B.js +5 -0
- package/dist/{dist-C_ymrGFi.js → dist-CpHKN3mI.js} +541 -508
- package/dist/{dist-4LiM9FDd.js → dist-DMuaebdo.js} +2 -2
- package/dist/{dist-ChAGLpWo.js → dist-DW_4_uv3.js} +2 -2
- package/dist/{dist-C1BIRHCQ.js → dist-DYG6FL7b.js} +2 -2
- package/dist/{dist-DrvKRSU6.js → dist-DbFMBx8E.js} +2 -2
- package/dist/{dist-D_HQYSY-.js → dist-Dn9cOicG.js} +2 -2
- package/dist/{dist-Ci5lFuUy.js → dist-ENKQZrNg.js} +138 -132
- package/dist/{dist-Bu7veieH.js → dist-fEtcLxee.js} +15 -15
- package/dist/{extensions-DWx_jj8v.js → extensions-Y880c0sP.js} +3 -3
- package/dist/{image-up-X4xIq4ea.js → image-up-4ZmaHFga.js} +1 -1
- package/dist/index.d.ts +234 -0
- package/dist/{liquid.browser-BemTg3sZ.js → liquid.browser-DZ62L7up.js} +20 -15
- package/dist/{loader-circle-BTQQxC3l.js → loader-circle-C7YEH4do.js} +1 -1
- package/dist/{message-circle-Blgm6V_h.js → message-circle-B_lxRh4z.js} +1 -1
- package/dist/{refresh-cw-Bb4PEeW1.js → refresh-cw-DmZNoimV.js} +1 -1
- package/dist/rolldown-runtime-gEudmnaM.js +23 -0
- package/dist/{scan-line-7lZPfOdm.js → scan-line-Cc9KlXo5.js} +1 -1
- package/dist/{send-C0ltAQrv.js → send-CMwNWTPX.js} +1 -1
- package/dist/{shield-check-f-qv4RKs.js → shield-check-DZFf4LTh.js} +1 -1
- package/dist/{sparkles-KhBCGlqB.js → sparkles-D80W88H8.js} +1 -1
- package/dist/{styleConstants-Cxw88naD.js → styleConstants-Codo7aUT.js} +6 -45
- package/dist/styles-unyYKihg.js +2942 -0
- package/dist/templatical-editor.css +1 -1
- package/dist/templatical-editor.js +85 -90
- package/dist/text-align-start-Cje6pwo4.js +43 -0
- package/dist/{trash-2-OwjZ-guZ.js → trash-2-BWvxOB4Q.js} +1 -1
- package/dist/{triangle-alert-DOSRIUYZ.js → triangle-alert-C6y94qVX.js} +1 -1
- package/dist/{useEditorCore-DUGD6pq_.js → useEditorCore-CQwWl2js.js} +1143 -1247
- package/dist/{x-CGlq2XQe.js → x-IyhJ6V90.js} +1 -1
- package/package.json +70 -52
- package/dist/cdn/chunks/AiChatSidebar-X_Bv3Qys.js +0 -2
- package/dist/cdn/chunks/CloudEditor-DeTolKnf.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-4MTw_hue.js +0 -2
- package/dist/cdn/chunks/DesignReferenceSidebar-Bswh4Yx4.js +0 -2
- package/dist/cdn/chunks/ParagraphEditor-DU3oUKA7.js.map +0 -1
- package/dist/cdn/chunks/SnapshotHistory-KME4xmn_.js +0 -2
- package/dist/cdn/chunks/TemplateScoringPanel-DgB3xDN6.js +0 -2
- package/dist/cdn/chunks/TestEmailModal-DdpvRbYf.js +0 -2
- package/dist/cdn/chunks/de-BB3dgVOc.js.map +0 -1
- package/dist/cdn/chunks/dist-BF5c3Dr-.js +0 -2
- package/dist/cdn/chunks/dist-BGzvIxcJ.js +0 -2
- package/dist/cdn/chunks/dist-CFemF8rI.js +0 -2
- package/dist/cdn/chunks/dist-Co6uFhFK.js +0 -2
- package/dist/cdn/chunks/dist-DCikBY9K.js +0 -2
- package/dist/cdn/chunks/dist-DUILafAC.js +0 -2
- package/dist/cdn/chunks/dist-DghiKH0A.js +0 -2
- package/dist/cdn/chunks/dist-Dw8ckvfK.js +0 -2
- package/dist/cdn/chunks/dist-H07p0KAw.js +0 -2
- package/dist/cdn/chunks/dist-KYv9v_1z2.js.map +0 -1
- package/dist/cdn/chunks/dist-MjnKIc0W.js +0 -2
- package/dist/cdn/chunks/dist-odp0vGRv.js +0 -2
- package/dist/cdn/chunks/draggable-BQNU47zu.js.map +0 -1
- package/dist/cdn/chunks/en-DeDcpnoS.js.map +0 -1
- package/dist/cdn/chunks/features-Ds0XUfte.js.map +0 -1
- package/dist/cdn/chunks/icons-fWsuSvgd.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-C1VIYISn.js.map +0 -1
- package/dist/cdn/chunks/media-library-BGQm_OyC.js.map +0 -1
- package/dist/cdn/chunks/pusher-DJPhQnE8.js.map +0 -1
- package/dist/cdn/chunks/styles-Dgijy53u.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BhxaWR8R.js.map +0 -1
- package/dist/dist-DkypH7qG.js +0 -5
- package/dist/dist-Dxnd0GRf.js +0 -5
- package/dist/styles-fdXNRqI3.js +0 -3556
- package/dist/templatical-editor.umd.cjs +0 -179
- /package/dist/cdn/chunks/{_rolldown_dynamic_import_helper-DMEI4TQ3.js → _rolldown_dynamic_import_helper-BRcA6nWq.js} +0 -0
- /package/dist/{de-D7TLGIPA.js → de-DCRASLfd.js} +0 -0
- /package/dist/{emojiData-BfWQS72m.js → emojiData-CyACq8qV.js} +0 -0
- /package/dist/{en-DvtiEMwP.js → en-BC0igPeg.js} +0 -0
- /package/dist/{formatRelativeTime-DX3FgqN9.js → formatRelativeTime-mRxw8HK8.js} +0 -0
- /package/dist/{readableTextColor-LDlmVEUv.js → readableTextColor-B809bF5J.js} +0 -0
- /package/dist/{useMergeTag-BZ3X0bNr.js → useMergeTag-CSXcnFBc.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./useEditorCore-DUGD6pq_.js";
|
|
2
1
|
import { t as e } from "./useI18n-D6m7ZUgY.js";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import "./useEditorCore-CQwWl2js.js";
|
|
3
|
+
import { n as t } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
4
|
+
import { t as n } from "./readableTextColor-B809bF5J.js";
|
|
5
5
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, normalizeStyle as u, openBlock as d, renderList as f, toDisplayString as p, unref as m } from "vue";
|
|
6
6
|
var h = t("wifi-off", [
|
|
7
7
|
["path", {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { T as e, c as t, f as n, r } from "./keys-C0MQRs8d.js";
|
|
2
2
|
import { t as ee } from "./useI18n-D6m7ZUgY.js";
|
|
3
|
-
import { n as i, t as te } from "./_plugin-vue_export-helper-
|
|
4
|
-
import { t as ne } from "./check-
|
|
5
|
-
import { t as re } from "./chevron-down-
|
|
6
|
-
import { t as a } from "./loader-circle-
|
|
7
|
-
import { t as o } from "./message-circle-
|
|
8
|
-
import { t as s } from "./send-
|
|
9
|
-
import { t as c } from "./trash-2-
|
|
10
|
-
import { t as l } from "./x-
|
|
11
|
-
import { t as ie } from "./formatRelativeTime-
|
|
3
|
+
import { n as i, t as te } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
4
|
+
import { t as ne } from "./check-BDE2uFIC.js";
|
|
5
|
+
import { t as re } from "./chevron-down-BL1DcOiT.js";
|
|
6
|
+
import { t as a } from "./loader-circle-C7YEH4do.js";
|
|
7
|
+
import { t as o } from "./message-circle-B_lxRh4z.js";
|
|
8
|
+
import { t as s } from "./send-CMwNWTPX.js";
|
|
9
|
+
import { t as c } from "./trash-2-BWvxOB4Q.js";
|
|
10
|
+
import { t as l } from "./x-IyhJ6V90.js";
|
|
11
|
+
import { t as ie } from "./formatRelativeTime-mRxw8HK8.js";
|
|
12
12
|
import { Fragment as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as ae, createVNode as _, defineComponent as v, nextTick as oe, normalizeClass as y, normalizeStyle as se, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, vModelText as T, watch as ce, withCtx as E, withDirectives as D } from "vue";
|
|
13
13
|
var le = i("chevron-up", [["path", {
|
|
14
14
|
d: "m18 15-6-6-6 6",
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { r as e } from "./rolldown-runtime-gEudmnaM.js";
|
|
2
|
+
import { o as t } from "./dist-CLg2qE0p.js";
|
|
3
|
+
import { t as n } from "./useI18n-D6m7ZUgY.js";
|
|
4
|
+
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeStyle as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, unref as m } from "vue";
|
|
5
|
+
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var h = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-8 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
|
|
9
|
+
}, g = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-4 tpl:text-xs tpl:text-[var(--tpl-text-dim)] tpl:opacity-50"
|
|
12
|
+
}, _ = { class: "tpl:text-center" }, v = /* @__PURE__ */ c({
|
|
13
|
+
__name: "CountdownBlock",
|
|
14
|
+
props: {
|
|
15
|
+
block: {},
|
|
16
|
+
viewport: {}
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
let c = e, { t: v } = n(), y = d(Date.now());
|
|
20
|
+
t(() => {
|
|
21
|
+
y.value = Date.now();
|
|
22
|
+
}, 1e3);
|
|
23
|
+
let b = i(() => {
|
|
24
|
+
if (!c.block.targetDate) return null;
|
|
25
|
+
let e = new Date(c.block.targetDate);
|
|
26
|
+
return isNaN(e.getTime()) ? null : e.getTime();
|
|
27
|
+
}), x = i(() => b.value ? y.value >= b.value : !1), S = i(() => {
|
|
28
|
+
if (!b.value || x.value) return {
|
|
29
|
+
days: 0,
|
|
30
|
+
hours: 0,
|
|
31
|
+
minutes: 0,
|
|
32
|
+
seconds: 0
|
|
33
|
+
};
|
|
34
|
+
let e = b.value - y.value, t = Math.floor(e / 1e3);
|
|
35
|
+
return {
|
|
36
|
+
days: Math.floor(t / 86400),
|
|
37
|
+
hours: Math.floor(t % 86400 / 3600),
|
|
38
|
+
minutes: Math.floor(t % 3600 / 60),
|
|
39
|
+
seconds: t % 60
|
|
40
|
+
};
|
|
41
|
+
}), C = i(() => {
|
|
42
|
+
let e = [];
|
|
43
|
+
return c.block.showDays && e.push({
|
|
44
|
+
value: String(S.value.days).padStart(2, "0"),
|
|
45
|
+
label: c.block.labelDays
|
|
46
|
+
}), c.block.showHours && e.push({
|
|
47
|
+
value: String(S.value.hours).padStart(2, "0"),
|
|
48
|
+
label: c.block.labelHours
|
|
49
|
+
}), c.block.showMinutes && e.push({
|
|
50
|
+
value: String(S.value.minutes).padStart(2, "0"),
|
|
51
|
+
label: c.block.labelMinutes
|
|
52
|
+
}), c.block.showSeconds && e.push({
|
|
53
|
+
value: String(S.value.seconds).padStart(2, "0"),
|
|
54
|
+
label: c.block.labelSeconds
|
|
55
|
+
}), e;
|
|
56
|
+
}), w = i(() => ({
|
|
57
|
+
backgroundColor: c.block.backgroundColor,
|
|
58
|
+
fontFamily: c.block.fontFamily || "inherit"
|
|
59
|
+
})), T = i(() => ({
|
|
60
|
+
fontSize: `${c.block.digitFontSize}px`,
|
|
61
|
+
fontWeight: "bold",
|
|
62
|
+
color: c.block.digitColor,
|
|
63
|
+
lineHeight: "1.2"
|
|
64
|
+
})), E = i(() => ({
|
|
65
|
+
fontSize: `${c.block.labelFontSize}px`,
|
|
66
|
+
color: c.block.labelColor,
|
|
67
|
+
marginTop: "4px"
|
|
68
|
+
})), D = i(() => ({
|
|
69
|
+
fontSize: `${c.block.digitFontSize}px`,
|
|
70
|
+
color: c.block.digitColor,
|
|
71
|
+
fontFamily: c.block.fontFamily || "inherit"
|
|
72
|
+
}));
|
|
73
|
+
return (t, n) => e.block.targetDate ? x.value && e.block.hideOnExpiry ? (u(), o("div", g, p(m(v).countdown.hidden), 1)) : x.value ? (u(), o("div", {
|
|
74
|
+
key: 2,
|
|
75
|
+
style: l(w.value),
|
|
76
|
+
class: "tpl:py-4 tpl:text-center"
|
|
77
|
+
}, [s("span", { style: l({
|
|
78
|
+
fontSize: `${e.block.digitFontSize}px`,
|
|
79
|
+
color: e.block.digitColor
|
|
80
|
+
}) }, p(e.block.expiredMessage), 5)], 4)) : (u(), o("div", {
|
|
81
|
+
key: 3,
|
|
82
|
+
style: l(w.value),
|
|
83
|
+
class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:py-4"
|
|
84
|
+
}, [(u(!0), o(r, null, f(C.value, (t, n) => (u(), o(r, { key: t.label }, [n > 0 ? (u(), o("span", {
|
|
85
|
+
key: 0,
|
|
86
|
+
style: l(D.value),
|
|
87
|
+
class: "tpl:self-start"
|
|
88
|
+
}, p(e.block.separator), 5)) : a("", !0), s("div", _, [s("div", { style: l(T.value) }, p(t.value), 5), s("div", { style: l(E.value) }, p(t.label), 5)])], 64))), 128))], 4)) : (u(), o("div", h, p(m(v).countdown.setDate), 1));
|
|
89
|
+
}
|
|
90
|
+
}), y = /* @__PURE__ */ e({ default: () => b }), b = v;
|
|
91
|
+
//#endregion
|
|
92
|
+
export { y as n, b as t };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { t as e } from "./useI18n-D6m7ZUgY.js";
|
|
2
|
+
import { f as t } from "./styleConstants-Codo7aUT.js";
|
|
3
|
+
import { i as n, n as r, r as i, t as a } from "./NumberWithSuffix-_0l3Q4jq.js";
|
|
4
|
+
import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, renderList as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
5
|
+
//#region src/components/toolbar/CheckboxItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text)]" }, x = ["checked"], S = /* @__PURE__ */ p({
|
|
7
|
+
__name: "CheckboxItem",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { type: Boolean },
|
|
10
|
+
label: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(e, { emit: t }) {
|
|
14
|
+
let n = t;
|
|
15
|
+
return (t, r) => (h(), l("label", b, [u("input", {
|
|
16
|
+
type: "checkbox",
|
|
17
|
+
class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
|
|
18
|
+
checked: e.modelValue,
|
|
19
|
+
onChange: r[0] ||= (e) => n("update:modelValue", e.target.checked)
|
|
20
|
+
}, null, 40, x), d(" " + _(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 = [
|
|
23
|
+
"value",
|
|
24
|
+
"placeholder",
|
|
25
|
+
"onInput"
|
|
26
|
+
], P = ["value", "placeholder"], F = ["value"], I = /* @__PURE__ */ p({
|
|
27
|
+
__name: "CountdownToolbar",
|
|
28
|
+
props: {
|
|
29
|
+
block: {},
|
|
30
|
+
fontFamilies: {}
|
|
31
|
+
},
|
|
32
|
+
emits: ["update"],
|
|
33
|
+
setup(d, { emit: p }) {
|
|
34
|
+
let b = p, { t: x } = e(), I = [
|
|
35
|
+
"UTC",
|
|
36
|
+
"America/New_York",
|
|
37
|
+
"America/Chicago",
|
|
38
|
+
"America/Denver",
|
|
39
|
+
"America/Los_Angeles",
|
|
40
|
+
"Europe/London",
|
|
41
|
+
"Europe/Berlin",
|
|
42
|
+
"Europe/Paris",
|
|
43
|
+
"Europe/Moscow",
|
|
44
|
+
"Asia/Dubai",
|
|
45
|
+
"Asia/Kolkata",
|
|
46
|
+
"Asia/Shanghai",
|
|
47
|
+
"Asia/Tokyo",
|
|
48
|
+
"Australia/Sydney",
|
|
49
|
+
"Pacific/Auckland"
|
|
50
|
+
], L = [
|
|
51
|
+
{
|
|
52
|
+
value: ":",
|
|
53
|
+
label: ":"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
value: "-",
|
|
57
|
+
label: "-"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
value: " ",
|
|
61
|
+
label: "␣"
|
|
62
|
+
}
|
|
63
|
+
], R = [
|
|
64
|
+
"Days",
|
|
65
|
+
"Hours",
|
|
66
|
+
"Minutes",
|
|
67
|
+
"Seconds"
|
|
68
|
+
], z = s(() => R.map((e) => ({
|
|
69
|
+
unit: e,
|
|
70
|
+
showKey: `show${e}`,
|
|
71
|
+
labelKey: `label${e}`,
|
|
72
|
+
translationKey: e.toLowerCase()
|
|
73
|
+
})));
|
|
74
|
+
function B(e, t) {
|
|
75
|
+
b("update", { [e]: t });
|
|
76
|
+
}
|
|
77
|
+
return (e, s) => (h(), l(o, null, [
|
|
78
|
+
f(r, { label: v(x).countdown.targetDate }, {
|
|
79
|
+
default: y(() => [u("input", {
|
|
80
|
+
type: "datetime-local",
|
|
81
|
+
class: m(v(t)),
|
|
82
|
+
value: d.block.targetDate,
|
|
83
|
+
onInput: s[0] ||= (e) => B("targetDate", e.target.value)
|
|
84
|
+
}, null, 42, C)]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["label"]),
|
|
87
|
+
f(r, { label: v(x).countdown.timezone }, {
|
|
88
|
+
default: y(() => [u("select", {
|
|
89
|
+
class: m(v(t)),
|
|
90
|
+
value: d.block.timezone,
|
|
91
|
+
onChange: s[1] ||= (e) => B("timezone", e.target.value)
|
|
92
|
+
}, [(h(), l(o, null, g(I, (e) => u("option", {
|
|
93
|
+
key: e,
|
|
94
|
+
value: e
|
|
95
|
+
}, _(e), 9, T)), 64))], 42, w)]),
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["label"]),
|
|
98
|
+
f(r, { label: v(x).countdown.display }, {
|
|
99
|
+
default: y(() => [u("div", E, [(h(!0), l(o, null, g(z.value, (e) => (h(), c(S, {
|
|
100
|
+
key: e.unit,
|
|
101
|
+
"model-value": d.block[e.showKey],
|
|
102
|
+
label: v(x).countdown[e.translationKey],
|
|
103
|
+
"onUpdate:modelValue": (t) => B(e.showKey, t)
|
|
104
|
+
}, null, 8, [
|
|
105
|
+
"model-value",
|
|
106
|
+
"label",
|
|
107
|
+
"onUpdate:modelValue"
|
|
108
|
+
]))), 128))])]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["label"]),
|
|
111
|
+
f(r, { label: v(x).countdown.separator }, {
|
|
112
|
+
default: y(() => [f(i, {
|
|
113
|
+
options: L,
|
|
114
|
+
"model-value": d.block.separator,
|
|
115
|
+
"onUpdate:modelValue": s[2] ||= (e) => B("separator", e)
|
|
116
|
+
}, null, 8, ["model-value"])]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["label"]),
|
|
119
|
+
f(r, { label: v(x).countdown.fontFamily }, {
|
|
120
|
+
default: y(() => [u("select", {
|
|
121
|
+
class: m(v(t)),
|
|
122
|
+
value: d.block.fontFamily || "",
|
|
123
|
+
onChange: s[3] ||= (e) => B("fontFamily", e.target.value || void 0)
|
|
124
|
+
}, [u("option", O, _(v(x).countdown.inheritFont), 1), (h(!0), l(o, null, g(d.fontFamilies, (e) => (h(), l("option", {
|
|
125
|
+
key: e.value,
|
|
126
|
+
value: e.value
|
|
127
|
+
}, _(e.label), 9, k))), 128))], 42, D)]),
|
|
128
|
+
_: 1
|
|
129
|
+
}, 8, ["label"]),
|
|
130
|
+
u("div", A, [f(r, { label: v(x).countdown.digitFontSize }, {
|
|
131
|
+
default: y(() => [f(a, {
|
|
132
|
+
"model-value": d.block.digitFontSize,
|
|
133
|
+
min: 12,
|
|
134
|
+
max: 72,
|
|
135
|
+
suffix: "px",
|
|
136
|
+
"onUpdate:modelValue": s[4] ||= (e) => B("digitFontSize", e)
|
|
137
|
+
}, null, 8, ["model-value"])]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 8, ["label"]), f(r, { label: v(x).countdown.labelFontSize }, {
|
|
140
|
+
default: y(() => [f(a, {
|
|
141
|
+
"model-value": d.block.labelFontSize,
|
|
142
|
+
min: 8,
|
|
143
|
+
max: 24,
|
|
144
|
+
suffix: "px",
|
|
145
|
+
"onUpdate:modelValue": s[5] ||= (e) => B("labelFontSize", e)
|
|
146
|
+
}, null, 8, ["model-value"])]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 8, ["label"])]),
|
|
149
|
+
u("div", j, [f(r, { label: v(x).countdown.digitColor }, {
|
|
150
|
+
default: y(() => [f(n, {
|
|
151
|
+
"model-value": d.block.digitColor,
|
|
152
|
+
"onUpdate:modelValue": s[6] ||= (e) => B("digitColor", e)
|
|
153
|
+
}, null, 8, ["model-value"])]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 8, ["label"]), f(r, { label: v(x).countdown.labelColor }, {
|
|
156
|
+
default: y(() => [f(n, {
|
|
157
|
+
"model-value": d.block.labelColor,
|
|
158
|
+
"onUpdate:modelValue": s[7] ||= (e) => B("labelColor", e)
|
|
159
|
+
}, null, 8, ["model-value"])]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["label"])]),
|
|
162
|
+
f(r, { label: v(x).countdown.background }, {
|
|
163
|
+
default: y(() => [f(n, {
|
|
164
|
+
"model-value": d.block.backgroundColor,
|
|
165
|
+
"onUpdate:modelValue": s[8] ||= (e) => B("backgroundColor", e)
|
|
166
|
+
}, null, 8, ["model-value"])]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["label"]),
|
|
169
|
+
f(r, { label: v(x).countdown.labels }, {
|
|
170
|
+
default: y(() => [u("div", M, [(h(!0), l(o, null, g(z.value, (e) => (h(), l("input", {
|
|
171
|
+
key: e.unit,
|
|
172
|
+
type: "text",
|
|
173
|
+
class: m(v(t)),
|
|
174
|
+
value: d.block[e.labelKey],
|
|
175
|
+
placeholder: v(x).countdown[e.translationKey],
|
|
176
|
+
onInput: (t) => B(e.labelKey, t.target.value)
|
|
177
|
+
}, null, 42, N))), 128))])]),
|
|
178
|
+
_: 1
|
|
179
|
+
}, 8, ["label"]),
|
|
180
|
+
f(r, { label: v(x).countdown.expiry }, {
|
|
181
|
+
default: y(() => [u("input", {
|
|
182
|
+
type: "text",
|
|
183
|
+
class: m(v(t)),
|
|
184
|
+
value: d.block.expiredMessage,
|
|
185
|
+
placeholder: v(x).countdown.expiredMessagePlaceholder,
|
|
186
|
+
onInput: s[9] ||= (e) => B("expiredMessage", e.target.value)
|
|
187
|
+
}, null, 42, P)]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["label"]),
|
|
190
|
+
f(r, { label: v(x).countdown.expiredImageUrl }, {
|
|
191
|
+
default: y(() => [u("input", {
|
|
192
|
+
type: "url",
|
|
193
|
+
class: m(v(t)),
|
|
194
|
+
value: d.block.expiredImageUrl,
|
|
195
|
+
placeholder: "https://...",
|
|
196
|
+
onInput: s[10] ||= (e) => B("expiredImageUrl", e.target.value)
|
|
197
|
+
}, null, 42, F)]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["label"]),
|
|
200
|
+
f(S, {
|
|
201
|
+
"model-value": d.block.hideOnExpiry,
|
|
202
|
+
label: v(x).countdown.hideOnExpiry,
|
|
203
|
+
class: "tpl:mb-3.5",
|
|
204
|
+
"onUpdate:modelValue": s[11] ||= (e) => B("hideOnExpiry", e)
|
|
205
|
+
}, null, 8, ["model-value", "label"])
|
|
206
|
+
], 64));
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
//#endregion
|
|
210
|
+
export { I as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./timeouts-CmBrLeZA.js";
|
|
2
2
|
import { T as e, f as t, r as n } from "./keys-C0MQRs8d.js";
|
|
3
3
|
import { t as ee } from "./useI18n-D6m7ZUgY.js";
|
|
4
|
-
import { n as r, t as i } from "./_plugin-vue_export-helper-
|
|
5
|
-
import { t as te } from "./circle-alert-
|
|
6
|
-
import { t as a } from "./image-up-
|
|
7
|
-
import { t as o } from "./x-
|
|
8
|
-
import { t as ne } from "./LoadingTrack-
|
|
4
|
+
import { n as r, t as i } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
5
|
+
import { t as te } from "./circle-alert-1tetIFJU.js";
|
|
6
|
+
import { t as a } from "./image-up-4ZmaHFga.js";
|
|
7
|
+
import { t as o } from "./x-IyhJ6V90.js";
|
|
8
|
+
import { t as ne } from "./LoadingTrack-CdqDYVR-.js";
|
|
9
9
|
import { Transition as re, computed as ie, createBlock as ae, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as oe, normalizeStyle as p, openBlock as m, ref as h, toDisplayString as g, unref as _, vModelText as v, watch as se, withCtx as ce, withDirectives as le } from "vue";
|
|
10
10
|
import { useDesignReference as ue } from "@templatical/core/cloud";
|
|
11
11
|
var de = r("file-image", [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
2
2
|
import { createElementBlock as t, openBlock as n } from "vue";
|
|
3
3
|
//#region src/components/LoadingTrack.vue
|
|
4
4
|
var r = {}, i = { class: "tpl-loading-track" };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./useEditorCore-DUGD6pq_.js";
|
|
2
1
|
import { T as e, b as t, f as n } from "./keys-C0MQRs8d.js";
|
|
3
2
|
import { t as r } from "./useI18n-D6m7ZUgY.js";
|
|
4
|
-
import
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
3
|
+
import "./useEditorCore-CQwWl2js.js";
|
|
4
|
+
import { n as i } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
5
|
+
import { n as a, t as o } from "./blockTypeIcons-CEU2dMe1.js";
|
|
6
|
+
import { t as s } from "./trash-2-BWvxOB4Q.js";
|
|
7
|
+
import { t as ee } from "./x-IyhJ6V90.js";
|
|
8
|
+
import { t as te } from "./TplModal-BLbMDMd6.js";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as ne, createElementBlock as d, createElementVNode as f, createVNode as p, defineAsyncComponent as re, defineComponent as m, normalizeStyle as ie, openBlock as h, ref as g, renderList as _, resolveDynamicComponent as ae, toDisplayString as v, unref as y, vModelSelect as oe, vModelText as se, watch as ce, withCtx as le, withDirectives as b, withModifiers as x } from "vue";
|
|
10
10
|
var ue = i("search", [["path", {
|
|
11
11
|
d: "m21 21-4.34-4.34",
|
|
@@ -52,7 +52,7 @@ var ue = i("search", [["path", {
|
|
|
52
52
|
props: { visible: { type: Boolean } },
|
|
53
53
|
emits: ["close", "insert"],
|
|
54
54
|
setup(i, { emit: m }) {
|
|
55
|
-
let B = i, V = m, Te = re(() => import("./ModulePreviewCanvas-
|
|
55
|
+
let B = i, V = m, Te = re(() => import("./ModulePreviewCanvas-CoLNuu1o.js")), { t: H } = r(), U = e(t, "ModuleBrowserModal"), W = e(n, "ModuleBrowserModal"), G = g(""), K = g(null), q = g(null), J = g("end"), Y = l(() => {
|
|
56
56
|
let e = U.modules.value;
|
|
57
57
|
if (!G.value) return e;
|
|
58
58
|
let t = G.value.toLowerCase();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as m } from "./
|
|
1
|
+
import { o as e } from "./keys-C0MQRs8d.js";
|
|
2
|
+
import { N as t, _ as n, a as r, f as i, g as a, h as o, i as s, m as c, n as l, p as u, r as d, u as f, v as p, y as m } from "./useEditorCore-CQwWl2js.js";
|
|
3
3
|
import { Fragment as h, computed as g, createBlock as _, createElementBlock as v, createElementVNode as y, defineComponent as b, inject as x, normalizeStyle as S, openBlock as C, renderList as w, resolveComponent as T, resolveDynamicComponent as E, unref as D } from "vue";
|
|
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__ */ b({
|
|
@@ -11,19 +11,19 @@ var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__
|
|
|
11
11
|
},
|
|
12
12
|
setup(b) {
|
|
13
13
|
let A = {
|
|
14
|
-
title:
|
|
15
|
-
paragraph:
|
|
16
|
-
image:
|
|
17
|
-
video:
|
|
18
|
-
button:
|
|
19
|
-
divider:
|
|
20
|
-
social:
|
|
21
|
-
menu:
|
|
22
|
-
table:
|
|
23
|
-
spacer:
|
|
24
|
-
html:
|
|
25
|
-
custom:
|
|
26
|
-
}, j = b, M = x(
|
|
14
|
+
title: f,
|
|
15
|
+
paragraph: c,
|
|
16
|
+
image: a,
|
|
17
|
+
video: l,
|
|
18
|
+
button: t,
|
|
19
|
+
divider: p,
|
|
20
|
+
social: r,
|
|
21
|
+
menu: o,
|
|
22
|
+
table: d,
|
|
23
|
+
spacer: s,
|
|
24
|
+
html: n,
|
|
25
|
+
custom: m
|
|
26
|
+
}, j = b, M = x(e, null), N = g(() => {
|
|
27
27
|
switch (j.block.columns) {
|
|
28
28
|
case "2": return ["50%", "50%"];
|
|
29
29
|
case "3": return [
|
|
@@ -44,7 +44,7 @@ var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__
|
|
|
44
44
|
return P.value[e] || [];
|
|
45
45
|
}
|
|
46
46
|
function I(e) {
|
|
47
|
-
return
|
|
47
|
+
return u(e, M, A);
|
|
48
48
|
}
|
|
49
49
|
return (e, t) => {
|
|
50
50
|
let n = T("PreviewSectionBlock", !0);
|
|
@@ -53,7 +53,7 @@ var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__
|
|
|
53
53
|
style: S({ width: N.value[t] })
|
|
54
54
|
}, [(C(!0), v(h, null, w(F(t), (e) => (C(), v("div", {
|
|
55
55
|
key: e.id,
|
|
56
|
-
style: S(D(
|
|
56
|
+
style: S(D(i)(e))
|
|
57
57
|
}, [e.type === "section" ? (C(), _(n, {
|
|
58
58
|
key: 0,
|
|
59
59
|
block: e,
|
|
@@ -75,27 +75,27 @@ var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__
|
|
|
75
75
|
__name: "ModulePreviewCanvas",
|
|
76
76
|
props: { blocks: {} },
|
|
77
77
|
setup(g) {
|
|
78
|
-
let y = x(
|
|
78
|
+
let y = x(e), b = {
|
|
79
79
|
section: A,
|
|
80
|
-
title:
|
|
81
|
-
paragraph:
|
|
82
|
-
image:
|
|
83
|
-
video:
|
|
84
|
-
button:
|
|
85
|
-
divider:
|
|
86
|
-
social:
|
|
87
|
-
menu:
|
|
88
|
-
table:
|
|
89
|
-
spacer:
|
|
90
|
-
html:
|
|
91
|
-
custom:
|
|
80
|
+
title: f,
|
|
81
|
+
paragraph: c,
|
|
82
|
+
image: a,
|
|
83
|
+
video: l,
|
|
84
|
+
button: t,
|
|
85
|
+
divider: p,
|
|
86
|
+
social: r,
|
|
87
|
+
menu: o,
|
|
88
|
+
table: d,
|
|
89
|
+
spacer: s,
|
|
90
|
+
html: n,
|
|
91
|
+
custom: m
|
|
92
92
|
};
|
|
93
93
|
function T(e) {
|
|
94
|
-
return
|
|
94
|
+
return u(e, y, b);
|
|
95
95
|
}
|
|
96
96
|
return (e, t) => (C(), v("div", j, [(C(!0), v(h, null, w(g.blocks, (e) => (C(), v("div", {
|
|
97
97
|
key: e.id,
|
|
98
|
-
style: S(D(
|
|
98
|
+
style: S(D(i)(e))
|
|
99
99
|
}, [(C(), _(E(T(e)), {
|
|
100
100
|
block: e,
|
|
101
101
|
viewport: "desktop"
|