@builder.io/sdk-vue 0.1.14 → 0.1.15
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/package.json +1 -1
- package/packages/_vue2/dist/{block-styles.e4fa133a.js → block-styles.63856bc4.js} +3 -3
- package/packages/_vue2/dist/{block-styles.a33b589b.cjs → block-styles.64f7ab0b.cjs} +1 -1
- package/packages/_vue2/dist/{css.9a515005.js → css.58be3b1a.js} +1 -1
- package/packages/_vue2/dist/{css.a4a781f2.cjs → css.ae8c605c.cjs} +2 -2
- package/packages/_vue2/dist/{index.3826ad2c.js → index.2ec605d6.js} +35 -34
- package/packages/_vue2/dist/{index.9e0fbaa1.cjs → index.d36a8d30.cjs} +3 -3
- package/packages/_vue2/dist/{render-block.65396344.cjs → render-block.27d74903.cjs} +2 -2
- package/packages/_vue2/dist/{render-block.8857ae34.js → render-block.9c575fe4.js} +5 -5
- package/packages/_vue2/dist/{render-component.b187cca7.cjs → render-component.eb68da75.cjs} +1 -1
- package/packages/_vue2/dist/{render-component.d54274f2.js → render-component.f02e22b8.js} +3 -3
- package/packages/_vue2/dist/{render-inlined-styles.aaa60ee3.cjs → render-inlined-styles.6d7b4bcd.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.f560a740.js → render-inlined-styles.aae44017.js} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.43d7ad78.js → render-repeated-block.15c3e138.js} +2 -2
- package/packages/_vue2/dist/{render-repeated-block.a24ffa4d.cjs → render-repeated-block.50a69f24.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.06311886.js → render-styles.168164da.js} +2 -2
- package/packages/_vue2/dist/{render-styles.3df98784.cjs → render-styles.ae738d07.cjs} +3 -3
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +1 -1
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/{block-styles.6bad6a44.js → block-styles.6a927af3.js} +3 -3
- package/packages/_vue3/dist/{block-styles.c334abc4.cjs → block-styles.d483335e.cjs} +1 -1
- package/packages/_vue3/dist/{css.9c26446d.cjs → css.0e8cdb1f.cjs} +1 -1
- package/packages/_vue3/dist/{css.162effaf.js → css.33422e4d.js} +1 -1
- package/packages/_vue3/dist/{index.77da28db.js → index.0f89dc70.js} +36 -35
- package/packages/_vue3/dist/{index.51c251ae.cjs → index.461c31d1.cjs} +4 -4
- package/packages/_vue3/dist/{render-block.75044288.cjs → render-block.25c9ee7e.cjs} +2 -2
- package/packages/_vue3/dist/{render-block.55844e87.js → render-block.b58d92f6.js} +5 -5
- package/packages/_vue3/dist/{render-component.445bfcc5.js → render-component.34e84d86.js} +3 -3
- package/packages/_vue3/dist/{render-component.a3596f45.cjs → render-component.741e326a.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.799a72a2.js → render-inlined-styles.4a3bac4e.js} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.a41845aa.cjs → render-inlined-styles.d509e95b.cjs} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.3650cb4b.js → render-repeated-block.56e41ffd.js} +2 -2
- package/packages/_vue3/dist/{render-repeated-block.9f7871c0.cjs → render-repeated-block.ea827f2f.cjs} +1 -1
- package/packages/_vue3/dist/{render-styles.6ed62c76.js → render-styles.a82e2999.js} +2 -2
- package/packages/_vue3/dist/{render-styles.c70124f9.cjs → render-styles.ca6a6289.cjs} +5 -5
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +1 -1
- package/packages/_vue3/dist/style.css +1 -1
package/packages/_vue2/dist/{render-repeated-block.43d7ad78.js → render-repeated-block.15c3e138.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as o, n as r } from "./index.
|
|
2
|
-
const a = () => import("./render-block.
|
|
1
|
+
import { B as o, n as r } from "./index.2ec605d6.js";
|
|
2
|
+
const a = () => import("./render-block.9c575fe4.js").then((e) => e.default).catch((e) => {
|
|
3
3
|
throw console.error(
|
|
4
4
|
"Error while attempting to dynamically import component RenderBlock at ./render-block.vue",
|
|
5
5
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.d36a8d30.cjs"),o=()=>Promise.resolve().then(()=>require("./render-block.27d74903.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component RenderBlock at ./render-block.vue",e),e}),c={name:"render-repeated-block",components:{RenderBlock:o},props:["block","repeatContext"],provide(){const e=this;return{[n.BuilderContext.key]:{content:e.repeatContext.content,state:e.repeatContext.state,setState:e.repeatContext.setState,context:e.repeatContext.context,apiKey:e.repeatContext.apiKey,registeredComponents:e.repeatContext.registeredComponents,inheritedStyles:e.repeatContext.inheritedStyles}}}};var a=function(){var t=this,r=t._self._c;return r("render-block",{attrs:{block:t.block,context:t.repeatContext}})},s=[],l=n.normalizeComponent(c,a,s,!1,null,null,null,null);const i=l.exports;exports.default=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as c } from "./index.
|
|
1
|
+
import { n as c } from "./index.2ec605d6.js";
|
|
2
2
|
const f = (e) => {
|
|
3
3
|
var a, o;
|
|
4
4
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), r = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
|
|
@@ -31,7 +31,7 @@ font-weight: ${n};
|
|
|
31
31
|
}, u = ({
|
|
32
32
|
cssCode: e,
|
|
33
33
|
contentId: t
|
|
34
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", m = () => import("./render-inlined-styles.
|
|
34
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", m = () => import("./render-inlined-styles.aae44017.js").then((e) => e.default).catch((e) => {
|
|
35
35
|
throw console.error(
|
|
36
36
|
"Error while attempting to dynamically import component RenderInlinedStyles at ../../render-inlined-styles.vue",
|
|
37
37
|
e
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.d36a8d30.cjs"),d=e=>{var a,o;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),r=t.split(",")[0],i=(o=e.fileUrl)!=null?o:(a=e==null?void 0:e.files)==null?void 0:a.regular;let l="";if(i&&t&&r&&(l+=`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: "${t}";
|
|
4
4
|
src: local("${r}"), url('${i}') format('woff2');
|
|
@@ -12,9 +12,9 @@ src: url('${s}') format('woff2');
|
|
|
12
12
|
font-display: fallback;
|
|
13
13
|
font-weight: ${n};
|
|
14
14
|
}
|
|
15
|
-
`.trim())}return l},
|
|
15
|
+
`.trim())}return l},f=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(r=>d(r)))==null?void 0:t.join(" "))||""},u=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",m=()=>Promise.resolve().then(()=>require("./render-inlined-styles.6d7b4bcd.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component RenderInlinedStyles at ../../render-inlined-styles.vue",e),e}),h={name:"render-content-styles",components:{RenderInlinedStyles:m},props:["cssCode","contentId","customFonts"],data(){return{injectedStyles:`
|
|
16
16
|
${u({cssCode:this.cssCode,contentId:this.contentId})}
|
|
17
|
-
${
|
|
17
|
+
${f({customFonts:this.customFonts})}
|
|
18
18
|
|
|
19
19
|
.builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
|
|
20
20
|
margin: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.d36a8d30.cjs");exports.Button=e.Button;exports.Columns=e.Columns;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.renderBlocks;exports.RenderContent=e.renderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports.components=e.components;exports.convertSearchParamsToQueryObject=e.convertSearchParamsToQueryObject;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getBuilderSearchParamsFromWindow=e.getBuilderSearchParamsFromWindow;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.normalizeSearchParams=e.normalizeSearchParams;exports.register=e.register;exports.registerComponent=e.registerComponent;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, C as t, F as r, I as n, r as o, d as i, S as m, h as g, i as c, V as d, l, v as S, o as C, u, w as h, x as p, q as P, j as B, k as b, y as k, p as v, m as w, s as x, t as y } from "./index.
|
|
1
|
+
import { b as s, C as t, F as r, I as n, r as o, d as i, S as m, h as g, i as c, V as d, l, v as S, o as C, u, w as h, x as p, q as P, j as B, k as b, y as k, p as v, m as w, s as x, t as y } from "./index.2ec605d6.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Button,
|
|
4
4
|
t as Columns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.button-2fnk003dqad[data-v-3e6fa42c]{all:unset}.div-t9spj7joih[data-v-
|
|
1
|
+
.button-2fnk003dqad[data-v-3e6fa42c]{all:unset}.div-t9spj7joih[data-v-e2d18cd7]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-e2d18cd7]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-d14c6f82]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-d14c6f82]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-d14c6f82]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-21azgz5avex[data-v-7d4553c5]{display:flex;flex-direction:column;align-items:stretch}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as p, resolveComponent as k, openBlock as y, createBlock as B, createCommentVNode as S } from "vue";
|
|
2
|
-
import { T as f, c as i, g as _, a as d, _ as g } from "./index.
|
|
3
|
-
import { g as x, c as r } from "./css.
|
|
4
|
-
const C = () => import("./render-inlined-styles.
|
|
2
|
+
import { T as f, c as i, g as _, a as d, _ as g } from "./index.0f89dc70.js";
|
|
3
|
+
import { g as x, c as r } from "./css.33422e4d.js";
|
|
4
|
+
const C = () => import("./render-inlined-styles.4a3bac4e.js").then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component RenderInlinedStyles at ../render-inlined-styles.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),s=require("./index.461c31d1.cjs"),l=require("./css.0e8cdb1f.cjs"),y=()=>Promise.resolve().then(()=>require("./render-inlined-styles.d509e95b.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component RenderInlinedStyles at ../render-inlined-styles.vue",e),e}),k={name:"block-styles",components:{RenderInlinedStyles:c.defineAsyncComponent(y)},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{useBlock(){return l.getProcessedBlock({block:this.block,state:this.context.state,context:this.context.context,shouldEvaluateBindings:!0})},canShowBlock(){return s.checkIsDefined(this.useBlock.hide)?!this.useBlock.hide:s.checkIsDefined(this.useBlock.show)?this.useBlock.show:!0},css(){var d;const e=this.useBlock.responsiveStyles,o=this.context.content,i=s.getSizesForBreakpoints(((d=o==null?void 0:o.meta)==null?void 0:d.breakpoints)||{}),a=e==null?void 0:e.large,r=e==null?void 0:e.medium,t=e==null?void 0:e.small,n=this.useBlock.id,u=a?l.createCssClass({className:n,styles:a}):"",m=r?l.createCssClass({className:n,styles:r,mediaQuery:s.getMaxWidthQueryForSize("medium",i)}):"",h=t?l.createCssClass({className:n,styles:t,mediaQuery:s.getMaxWidthQueryForSize("small",i)}):"";return[u,m,h].join(" ")}}};function p(e,o,i,a,r,t){const n=c.resolveComponent("render-inlined-styles");return r.TARGET!=="reactNative"&&t.css&&t.canShowBlock?(c.openBlock(),c.createBlock(n,{key:0,styles:t.css},null,8,["styles"])):c.createCommentVNode("",!0)}const S=s._export_sfc(k,[["render",p]]);exports.default=S;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.461c31d1.cjs"),l=(e,t,r)=>{if(Object(e)!==e)return e;const s=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return s.slice(0,-1).reduce((n,c,o)=>Object(n[c])===n[c]?n[c]:n[c]=Math.abs(Number(s[o+1]))>>0===+s[o+1]?[]:{},e)[s[s.length-1]]=r,e};const d=({block:e,context:t,state:r})=>{if(!e.bindings)return e;const s=i.fastClone(e),n={...s,properties:{...s.properties},actions:{...s.actions}};for(const c in e.bindings){const o=e.bindings[c],u=i.evaluate({code:o,state:r,context:t});l(n,c,u)}return n};function f({block:e,context:t,shouldEvaluateBindings:r,state:s}){const n=e;return r?d({block:n,state:s,context:t}):n}const p=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),a=e=>Object.entries(e).map(([r,s])=>{if(typeof s=="string")return`${p(r)}: ${s};`}).filter(i.checkIsDefined),g=e=>a(e).join(`
|
|
2
2
|
`),C=({mediaQuery:e,className:t,styles:r})=>{const s=`.${t} {
|
|
3
3
|
${g(r)}
|
|
4
4
|
}`;return e?`${e} {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as m, mergeProps as S, toHandlers as C, toDisplayString as L, defineAsyncComponent as x, resolveComponent as k, normalizeClass as j, normalizeStyle as I, createBlock as T, createCommentVNode as y, Fragment as E, renderList as
|
|
1
|
+
import { openBlock as d, createElementBlock as m, mergeProps as S, toHandlers as C, toDisplayString as L, defineAsyncComponent as x, resolveComponent as k, normalizeClass as j, normalizeStyle as I, createBlock as T, createCommentVNode as y, Fragment as E, renderList as F, createVNode as X, renderSlot as A, createElementVNode as N } from "vue";
|
|
2
2
|
const me = {
|
|
3
3
|
name: "builder-button",
|
|
4
4
|
props: ["attributes", "text", "link", "openLinkInNewTab"],
|
|
@@ -91,7 +91,7 @@ const fe = /* @__PURE__ */ h(me, [["render", he], ["__scopeId", "data-v-28c9cee7
|
|
|
91
91
|
"Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
|
|
92
92
|
e
|
|
93
93
|
), e;
|
|
94
|
-
}), ve = () => import("./render-inlined-styles.
|
|
94
|
+
}), ve = () => import("./render-inlined-styles.4a3bac4e.js").then((e) => e.default).catch((e) => {
|
|
95
95
|
throw console.error(
|
|
96
96
|
"Error while attempting to dynamically import component RenderInlinedStyles at ../../components/render-inlined-styles.vue",
|
|
97
97
|
e
|
|
@@ -175,7 +175,8 @@ const fe = /* @__PURE__ */ h(me, [["render", he], ["__scopeId", "data-v-28c9cee7
|
|
|
175
175
|
return this.stackAt === "never" ? n : e;
|
|
176
176
|
},
|
|
177
177
|
columnCssVars(e) {
|
|
178
|
-
|
|
178
|
+
e === 0 || this.gutterSize;
|
|
179
|
+
const n = this.getColumnCssWidth(e), t = `${this.gutterSize}px`, o = "100%", s = 0;
|
|
179
180
|
return {
|
|
180
181
|
width: n,
|
|
181
182
|
"margin-left": t,
|
|
@@ -231,7 +232,7 @@ function ke(e, n, t, o, s, i) {
|
|
|
231
232
|
key: 0,
|
|
232
233
|
styles: i.columnsStyles
|
|
233
234
|
}, null, 8, ["styles"])) : y("", !0),
|
|
234
|
-
(d(!0), m(E, null,
|
|
235
|
+
(d(!0), m(E, null, F(t.columns, (a, l) => (d(), m("div", {
|
|
235
236
|
key: l,
|
|
236
237
|
class: "builder-column div-361b1o6wv2k-2",
|
|
237
238
|
style: I(i.columnCssVars(l)),
|
|
@@ -250,7 +251,7 @@ function ke(e, n, t, o, s, i) {
|
|
|
250
251
|
], 4))), 128))
|
|
251
252
|
], 6);
|
|
252
253
|
}
|
|
253
|
-
const Se = /* @__PURE__ */ h(xe, [["render", ke], ["__scopeId", "data-v-
|
|
254
|
+
const Se = /* @__PURE__ */ h(xe, [["render", ke], ["__scopeId", "data-v-3ecef188"]]), _e = {
|
|
254
255
|
name: "builder-fragment-component",
|
|
255
256
|
props: []
|
|
256
257
|
};
|
|
@@ -281,7 +282,7 @@ function Te(e, n) {
|
|
|
281
282
|
}
|
|
282
283
|
return null;
|
|
283
284
|
}
|
|
284
|
-
function
|
|
285
|
+
function P(e) {
|
|
285
286
|
if (!e)
|
|
286
287
|
return e;
|
|
287
288
|
const n = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
@@ -316,10 +317,10 @@ const Re = {
|
|
|
316
317
|
return this.srcset;
|
|
317
318
|
if (this.srcset && ((t = this.image) == null ? void 0 : t.includes("builder.io/api/v1/image"))) {
|
|
318
319
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
319
|
-
return console.debug("Removed given srcset"),
|
|
320
|
+
return console.debug("Removed given srcset"), P(n);
|
|
320
321
|
} else if (this.image && !this.srcset)
|
|
321
|
-
return
|
|
322
|
-
return
|
|
322
|
+
return P(n);
|
|
323
|
+
return P(n);
|
|
323
324
|
},
|
|
324
325
|
webpSrcSet() {
|
|
325
326
|
var e;
|
|
@@ -397,18 +398,18 @@ const Be = /* @__PURE__ */ h(Re, [["render", Ve], ["__scopeId", "data-v-22833d9f
|
|
|
397
398
|
function p() {
|
|
398
399
|
return typeof window < "u" && typeof document < "u";
|
|
399
400
|
}
|
|
400
|
-
function
|
|
401
|
+
function Pe() {
|
|
401
402
|
return p() && window.self !== window.top;
|
|
402
403
|
}
|
|
403
404
|
function v() {
|
|
404
|
-
return
|
|
405
|
+
return Pe() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
405
406
|
}
|
|
406
|
-
const
|
|
407
|
+
const Fe = () => import("./block-styles.6a927af3.js").then((e) => e.default).catch((e) => {
|
|
407
408
|
throw console.error(
|
|
408
409
|
"Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
|
|
409
410
|
e
|
|
410
411
|
), e;
|
|
411
|
-
}), Oe = () => import("./render-block.
|
|
412
|
+
}), Oe = () => import("./render-block.b58d92f6.js").then((e) => e.default).catch((e) => {
|
|
412
413
|
throw console.error(
|
|
413
414
|
"Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
|
|
414
415
|
e
|
|
@@ -417,7 +418,7 @@ const Pe = () => import("./block-styles.6bad6a44.js").then((e) => e.default).cat
|
|
|
417
418
|
name: "render-blocks",
|
|
418
419
|
components: {
|
|
419
420
|
RenderBlock: x(Oe),
|
|
420
|
-
BlockStyles: x(
|
|
421
|
+
BlockStyles: x(Fe)
|
|
421
422
|
},
|
|
422
423
|
props: ["blocks", "parent", "path", "styleProp"],
|
|
423
424
|
inject: {
|
|
@@ -481,12 +482,12 @@ function Me(e, n, t, o, s, i) {
|
|
|
481
482
|
onClick: n[0] || (n[0] = (a) => i.onClick()),
|
|
482
483
|
onMouseenter: n[1] || (n[1] = (a) => i.onMouseEnter())
|
|
483
484
|
}, [
|
|
484
|
-
t.blocks ? (d(!0), m(E, { key: 0 },
|
|
485
|
+
t.blocks ? (d(!0), m(E, { key: 0 }, F(t.blocks, (a, l) => (d(), T(r, {
|
|
485
486
|
key: "render-block-" + a.id,
|
|
486
487
|
block: a,
|
|
487
488
|
context: i.builderContext
|
|
488
489
|
}, null, 8, ["block", "context"]))), 128)) : y("", !0),
|
|
489
|
-
t.blocks ? (d(!0), m(E, { key: 1 },
|
|
490
|
+
t.blocks ? (d(!0), m(E, { key: 1 }, F(t.blocks, (a, l) => (d(), T(c, {
|
|
490
491
|
key: "block-style-" + a.id,
|
|
491
492
|
block: a,
|
|
492
493
|
context: i.builderContext
|
|
@@ -765,7 +766,7 @@ const Le = /* @__PURE__ */ h(Ue, [["render", Me], ["__scopeId", "data-v-1112d180
|
|
|
765
766
|
hidden: !0,
|
|
766
767
|
canHaveChildren: !0,
|
|
767
768
|
noWrap: !0
|
|
768
|
-
},
|
|
769
|
+
}, ze = {
|
|
769
770
|
name: "Image",
|
|
770
771
|
static: !0,
|
|
771
772
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -892,7 +893,7 @@ const Le = /* @__PURE__ */ h(Ue, [["render", Me], ["__scopeId", "data-v-1112d180
|
|
|
892
893
|
defaultValue: 0.7041
|
|
893
894
|
}
|
|
894
895
|
]
|
|
895
|
-
},
|
|
896
|
+
}, Ke = {
|
|
896
897
|
name: "Core:Section",
|
|
897
898
|
static: !0,
|
|
898
899
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -1145,7 +1146,7 @@ function O(e, n = null, t = ".") {
|
|
|
1145
1146
|
].every(Boolean) ? { ...o, ...O(i, r, t) } : { ...o, [r]: i };
|
|
1146
1147
|
}, {});
|
|
1147
1148
|
}
|
|
1148
|
-
const
|
|
1149
|
+
const z = "builder.", lt = "options.", dt = (e) => {
|
|
1149
1150
|
const n = {};
|
|
1150
1151
|
return e.forEach((t, o) => {
|
|
1151
1152
|
n[o] = t;
|
|
@@ -1155,8 +1156,8 @@ const K = "builder.", lt = "options.", dt = (e) => {
|
|
|
1155
1156
|
return {};
|
|
1156
1157
|
const n = ie(e), t = {};
|
|
1157
1158
|
return Object.keys(n).forEach((o) => {
|
|
1158
|
-
if (o.startsWith(
|
|
1159
|
-
const s = o.replace(
|
|
1159
|
+
if (o.startsWith(z)) {
|
|
1160
|
+
const s = o.replace(z, "").replace(lt, "");
|
|
1160
1161
|
t[s] = n[o];
|
|
1161
1162
|
}
|
|
1162
1163
|
}), t;
|
|
@@ -1588,15 +1589,15 @@ const Et = /* @__PURE__ */ h(It, [["render", Rt]]), At = {
|
|
|
1588
1589
|
}
|
|
1589
1590
|
}
|
|
1590
1591
|
}
|
|
1591
|
-
},
|
|
1592
|
-
function
|
|
1592
|
+
}, Pt = ["innerHTML"];
|
|
1593
|
+
function Ft(e, n, t, o, s, i) {
|
|
1593
1594
|
return d(), m("div", {
|
|
1594
1595
|
class: "builder-embed",
|
|
1595
1596
|
ref: "elem",
|
|
1596
1597
|
innerHTML: t.content
|
|
1597
|
-
}, null, 8,
|
|
1598
|
+
}, null, 8, Pt);
|
|
1598
1599
|
}
|
|
1599
|
-
const Ot = /* @__PURE__ */ h(Bt, [["render",
|
|
1600
|
+
const Ot = /* @__PURE__ */ h(Bt, [["render", Ft]]), Ut = {
|
|
1600
1601
|
name: "builder-img-component",
|
|
1601
1602
|
props: [
|
|
1602
1603
|
"backgroundSize",
|
|
@@ -1699,7 +1700,7 @@ const Lt = /* @__PURE__ */ h(Ut, [["render", Mt]]), Nt = {
|
|
|
1699
1700
|
}
|
|
1700
1701
|
}
|
|
1701
1702
|
}, Ht = ["innerHTML"];
|
|
1702
|
-
function
|
|
1703
|
+
function zt(e, n, t, o, s, i) {
|
|
1703
1704
|
return d(), m("div", {
|
|
1704
1705
|
ref: "elem",
|
|
1705
1706
|
class: j(
|
|
@@ -1710,7 +1711,7 @@ function Kt(e, n, t, o, s, i) {
|
|
|
1710
1711
|
innerHTML: t.code
|
|
1711
1712
|
}, null, 10, Ht);
|
|
1712
1713
|
}
|
|
1713
|
-
const
|
|
1714
|
+
const Kt = /* @__PURE__ */ h($t, [["render", zt]]), Dt = {
|
|
1714
1715
|
name: "Custom Code",
|
|
1715
1716
|
static: !0,
|
|
1716
1717
|
requiredPermissions: ["editCode"],
|
|
@@ -1739,17 +1740,17 @@ const zt = /* @__PURE__ */ h($t, [["render", Kt]]), Dt = {
|
|
|
1739
1740
|
}, qt = () => [
|
|
1740
1741
|
{ component: fe, ...Ne },
|
|
1741
1742
|
{ component: Se, ...$e },
|
|
1742
|
-
{ component:
|
|
1743
|
+
{ component: Kt, ...Dt },
|
|
1743
1744
|
{ component: Ot, ...At },
|
|
1744
1745
|
{ component: Ce, ...He },
|
|
1745
|
-
{ component: Be, ...
|
|
1746
|
+
{ component: Be, ...ze },
|
|
1746
1747
|
{ component: Lt, ...Nt },
|
|
1747
|
-
{ component: Ge, ...
|
|
1748
|
+
{ component: Ge, ...Ke },
|
|
1748
1749
|
{ component: vt, ...Je },
|
|
1749
1750
|
{ component: wt, ...xt },
|
|
1750
1751
|
{ component: Et, ...Ct }
|
|
1751
1752
|
];
|
|
1752
|
-
function
|
|
1753
|
+
function K({
|
|
1753
1754
|
code: e,
|
|
1754
1755
|
context: n,
|
|
1755
1756
|
state: t,
|
|
@@ -2130,7 +2131,7 @@ const gn = (e, n, t = !0) => {
|
|
|
2130
2131
|
"Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
|
|
2131
2132
|
e
|
|
2132
2133
|
), e;
|
|
2133
|
-
}), Sn = () => import("./render-styles.
|
|
2134
|
+
}), Sn = () => import("./render-styles.a82e2999.js").then((e) => e.default).catch((e) => {
|
|
2134
2135
|
throw console.error(
|
|
2135
2136
|
"Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
|
|
2136
2137
|
e
|
|
@@ -2351,7 +2352,7 @@ const gn = (e, n, t = !0) => {
|
|
|
2351
2352
|
evaluateJsCode() {
|
|
2352
2353
|
var n, t;
|
|
2353
2354
|
const e = (t = (n = this.useContent) == null ? void 0 : n.data) == null ? void 0 : t.jsCode;
|
|
2354
|
-
e &&
|
|
2355
|
+
e && K({
|
|
2355
2356
|
code: e,
|
|
2356
2357
|
context: this.context || {},
|
|
2357
2358
|
state: this.contentState
|
|
@@ -2376,7 +2377,7 @@ const gn = (e, n, t = !0) => {
|
|
|
2376
2377
|
evalExpression(e) {
|
|
2377
2378
|
return e.replace(
|
|
2378
2379
|
/{{([^}]+)}}/g,
|
|
2379
|
-
(n, t) =>
|
|
2380
|
+
(n, t) => K({
|
|
2380
2381
|
code: t,
|
|
2381
2382
|
context: this.context || {},
|
|
2382
2383
|
state: this.contentState
|
|
@@ -2470,7 +2471,7 @@ export {
|
|
|
2470
2471
|
fe as b,
|
|
2471
2472
|
_ as c,
|
|
2472
2473
|
In as d,
|
|
2473
|
-
|
|
2474
|
+
K as e,
|
|
2474
2475
|
W as f,
|
|
2475
2476
|
ge as g,
|
|
2476
2477
|
vt as h,
|