@builder.io/sdk-vue 2.0.2 → 2.0.5
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/lib/browser/{block-styles-Mn6wJduZ.cjs → block-styles-D_zAdF_-.cjs} +1 -1
- package/lib/browser/{block-styles-sZJR1URf.js → block-styles-MssxqA7D.js} +1 -1
- package/lib/browser/{block-wrapper-qFFX6RFF.cjs → block-wrapper-2KXOiTI2.cjs} +1 -1
- package/lib/browser/{block-wrapper-ody6Sxkr.js → block-wrapper-rbABMVr_.js} +3 -3
- package/lib/browser/blocks/image/image.types.d.ts +2 -0
- package/lib/browser/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/browser/blocks/text/text.vue.d.ts +6 -1
- package/lib/browser/{component-ref-rf4-wS3o.js → component-ref-dDrd_qBD.js} +2 -2
- package/lib/browser/{component-ref-DSNF4azA.cjs → component-ref-l_tRyac5.cjs} +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/register-component.d.ts +2 -2
- package/lib/browser/{get-block-properties-trq7EGpq.cjs → get-block-properties-BfIn2Yi4.cjs} +1 -1
- package/lib/browser/{get-block-properties-O0W_2V2s.js → get-block-properties-ahTVSOXd.js} +1 -1
- package/lib/browser/index-0ZvT1Hu8.cjs +166 -0
- package/lib/browser/{index---sv1Dmc.js → index-1Z3BnsMm.js} +254 -234
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-LqvC87RV.cjs → repeated-block-IGwzL-5u.cjs} +1 -1
- package/lib/browser/{repeated-block-4hDqPbdf.js → repeated-block-ai9MmzuH.js} +2 -2
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-VkVzS7vd.cjs → block-styles-MT4Rv8Nz.cjs} +1 -1
- package/lib/{node/block-styles-Tyg1fV88.js → edge/block-styles-zNRTZ1A0.js} +1 -1
- package/lib/{node/block-wrapper-0rr8eTCE.cjs → edge/block-wrapper-sF2FW-5-.cjs} +1 -1
- package/lib/edge/{block-wrapper-Lrmvcvj2.js → block-wrapper-tFFuq_Mc.js} +3 -3
- package/lib/edge/blocks/image/image.types.d.ts +2 -0
- package/lib/edge/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/edge/blocks/text/text.vue.d.ts +6 -1
- package/lib/{node/component-ref-j2PWej8h.cjs → edge/component-ref-V7vQSEzJ.cjs} +1 -1
- package/lib/{node/component-ref-FN9Rzqu_.js → edge/component-ref-ZYvL2bfE.js} +2 -2
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/register-component.d.ts +2 -2
- package/lib/edge/{get-block-properties-ZdU2gihP.cjs → get-block-properties-UCj-C1wW.cjs} +1 -1
- package/lib/edge/{get-block-properties-YDq-FuAs.js → get-block-properties-sUN0gr7S.js} +1 -1
- package/lib/edge/{index-8mGnZrt9.js → index-FKFwDmHW.js} +500 -480
- package/lib/edge/{index-tYqLns-6.cjs → index-OvlUrAU4.cjs} +24 -24
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-IOMTx4Ek.cjs → repeated-block-Pxb_oYw8.cjs} +1 -1
- package/lib/edge/{repeated-block-c9Qq8PaK.js → repeated-block-jBPLukxe.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/{edge/block-styles-QLPVQ54j.js → node/block-styles-2nOqCLPr.js} +1 -1
- package/lib/node/{block-styles-GqJTbD8X.cjs → block-styles-rBs6oiI0.cjs} +1 -1
- package/lib/node/{block-wrapper-iBhEa5rI.js → block-wrapper-cjk61owJ.js} +3 -3
- package/lib/{edge/block-wrapper-C3QWzorc.cjs → node/block-wrapper-pzm9ydqd.cjs} +1 -1
- package/lib/node/blocks/image/image.types.d.ts +2 -0
- package/lib/node/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/node/blocks/text/text.vue.d.ts +6 -1
- package/lib/{edge/component-ref-_MrpnWQq.cjs → node/component-ref-915SIOjG.cjs} +1 -1
- package/lib/{edge/component-ref-BzjW_J7Z.js → node/component-ref-YVoFqoVR.js} +2 -2
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/register-component.d.ts +2 -2
- package/lib/node/{get-block-properties-NZJwLalB.cjs → get-block-properties-Pmia_Lv7.cjs} +1 -1
- package/lib/node/{get-block-properties-HOAtHaKD.js → get-block-properties-q-3OOLjR.js} +1 -1
- package/lib/node/{index-AtsvJZco.js → index-QoeI1v_Q.js} +43 -23
- package/lib/node/{index-_k1NN43c.cjs → index-cdkVjek0.cjs} +6 -6
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-ztDvgKZz.js → repeated-block-DkyB3x_l.js} +2 -2
- package/lib/node/{repeated-block-Smn39W6t.cjs → repeated-block-gfgpiWc1.cjs} +1 -1
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/index-5K25vfnv.cjs +0 -166
package/lib/edge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-OvlUrAU4.cjs");exports.Blocks=e.Blocks;exports.BuilderContext=e.BuilderContext;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/edge/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as a, k as t, l as r, C as o, p as i, F as n, I as c, S as g, m as l, n as m, V as u, A as d, s as C, z as E, D as p, E as B, v as S, q as f, r as h, t as x, u as b, y as k, x as y } from "./index-
|
|
1
|
+
import { o as a, k as t, l as r, C as o, p as i, F as n, I as c, S as g, m as l, n as m, V as u, A as d, s as C, z as E, D as p, E as B, v as S, q as f, r as h, t as x, u as b, y as k, x as y } from "./index-FKFwDmHW.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Blocks,
|
|
4
4
|
t as BuilderContext,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-OvlUrAU4.cjs"),r=()=>Promise.resolve().then(()=>require("./index-OvlUrAU4.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents","linkComponent"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,a,m,d){const n=o.resolveComponent("Block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"])}const l=t._export_sfc(c,[["render",s]]);exports.default=l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as p } from "vue";
|
|
2
|
-
import { k as s, f as l } from "./index-
|
|
3
|
-
const i = () => import("./index-
|
|
2
|
+
import { k as s, f as l } from "./index-FKFwDmHW.js";
|
|
3
|
+
const i = () => import("./index-FKFwDmHW.js").then((o) => o.H).then((o) => o.default).catch((o) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
o
|
package/lib/edge/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-178o76acnws[data-v-a5b13ef9]{display:flex;flex-direction:column;align-items:stretch}.div-2brhoa1k8gd[data-v-
|
|
1
|
+
.component-178o76acnws[data-v-a5b13ef9]{display:flex;flex-direction:column;align-items:stretch}.div-2brhoa1k8gd[data-v-52366f16]{display:flex;line-height:normal}.img-1pl23ac79ld[data-v-b1147753]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-b1147753]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-b1147753]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-3i4ezorcfhi[data-v-489330f7]{padding:10px;color:red;text-align:center}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, resolveComponent as B, openBlock as v, createBlock as C, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _, T, g as p, c as y, a as w, b as c, d as k, e as E, f as I } from "./index-
|
|
2
|
+
import { _, T, g as p, c as y, a as w, b as c, d as k, e as E, f as I } from "./index-QoeI1v_Q.js";
|
|
3
3
|
const N = g({
|
|
4
4
|
name: "block-styles",
|
|
5
5
|
components: { InlinedStyles: _ },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),t=require("./index-cdkVjek0.cjs"),f=c.defineComponent({name:"block-styles",components:{InlinedStyles:t._sfc_main},props:["block","context"],data(){return{TARGET:t.TARGET}},computed:{canShowBlock(){const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return t.checkIsDefined(e.hide)?!e.hide:t.checkIsDefined(e.show)?e.show:!0},css(){var m,h,y;const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),s=e.responsiveStyles,a=this.context.content,r=t.getSizesForBreakpoints(((m=a==null?void 0:a.meta)==null?void 0:m.breakpoints)||{}),i=s==null?void 0:s.large,d=s==null?void 0:s.medium,l=s==null?void 0:s.small,n=e.id;if(!n)return"";const k=i?t.createCssClass({className:n,styles:i}):"",p=d?t.createCssClass({className:n,styles:d,mediaQuery:t.getMaxWidthQueryForSize("medium",r)}):"",C=l?t.createCssClass({className:n,styles:l,mediaQuery:t.getMaxWidthQueryForSize("small",r)}):"",o=e.animations&&e.animations.find(u=>u.trigger==="hover");let S="";if(o){const u=((y=(h=o.steps)==null?void 0:h[1])==null?void 0:y.styles)||{};S=t.createCssClass({className:`${n}:hover`,styles:{...u,transition:`all ${o.duration}s ${t.camelToKebabCase(o.easing)}`,transitionDelay:o.delay?`${o.delay}s`:"0s"}})||""}return[k,p,C,S].join(" ")}}});function g(e,s,a,r,i,d){const l=c.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(c.openBlock(),c.createBlock(l,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):c.createCommentVNode("",!0)}const x=t._export_sfc(f,[["render",g]]);exports.default=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
2
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
3
|
-
import { f as m } from "./index-
|
|
4
|
-
const d = () => import("./index-
|
|
2
|
+
import { g as s, a as l } from "./get-block-properties-q-3OOLjR.js";
|
|
3
|
+
import { f as m } from "./index-QoeI1v_Q.js";
|
|
4
|
+
const d = () => import("./index-QoeI1v_Q.js").then((e) => e.G).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-Pmia_Lv7.cjs"),n=require("./index-cdkVjek0.cjs"),c=()=>Promise.resolve().then(()=>require("./index-cdkVjek0.cjs")).then(e=>e.dynamicRenderer).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",e),e}),a=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(c)},props:["Wrapper","block","context"],data(){return{getBlockActions:o.getBlockActions,getBlockProperties:o.getBlockProperties}}});function i(e,l,p,d,m,u){const r=t.resolveComponent("DynamicRenderer");return t.openBlock(),t.createBlock(r,{TagName:e.Wrapper,attributes:e.getBlockProperties({block:e.block,context:e.context}),actionAttributes:e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const s=n._export_sfc(a,[["render",i]]);exports.default=s;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BuilderBlock } from '../../types/builder-block';
|
|
2
2
|
export interface ImageProps {
|
|
3
|
+
attributes?: string;
|
|
3
4
|
highPriority?: boolean;
|
|
4
5
|
className?: string;
|
|
5
6
|
image: string;
|
|
@@ -12,6 +13,7 @@ export interface ImageProps {
|
|
|
12
13
|
backgroundPosition?: string;
|
|
13
14
|
srcset?: string;
|
|
14
15
|
aspectRatio?: number;
|
|
16
|
+
lockAspectRatio?: boolean;
|
|
15
17
|
children?: any;
|
|
16
18
|
fitContent?: boolean;
|
|
17
19
|
builderBlock?: BuilderBlock;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
2
|
text?: any;
|
|
3
|
-
|
|
3
|
+
builderContext?: any;
|
|
4
|
+
}>, unknown, unknown, {
|
|
5
|
+
processedText(): string;
|
|
6
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
4
7
|
text?: any;
|
|
8
|
+
builderContext?: any;
|
|
5
9
|
}>>>, {
|
|
6
10
|
readonly text?: any;
|
|
11
|
+
readonly builderContext?: any;
|
|
7
12
|
}, {}>;
|
|
8
13
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-cdkVjek0.cjs"),a=require("./get-block-properties-Pmia_Lv7.cjs"),u=t.defineComponent({name:"interactive-element",props:["includeBlockProps","block","context","wrapperProps","Wrapper"],computed:{attributes(){return this.includeBlockProps?{...a.getBlockProperties({block:this.block,context:this.context}),...a.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}}}});function d(e,o,p,s,n,i){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({attributes:e.attributes},e.wrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=c._export_sfc(u,[["render",d]]),f=({componentOptions:e,builderBlock:o,context:p,componentRef:s,includeBlockProps:n,isInteractive:i,contextValue:l})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:o,context:l})}:{}};return i?{Wrapper:s,block:o,context:p,wrapperProps:e,includeBlockProps:n}:r},B=t.defineComponent({name:"component-ref",components:{Block:c.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?c.wrapComponentRef(m):this.componentRef,getWrapperProps:f}}});function b(e,o,p,s,n,i){const l=t.resolveComponent("Block");return e.componentRef?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.blockChildren,(r,k)=>(t.openBlock(),t.createBlock(l,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const C=c._export_sfc(B,[["render",b]]);exports.default=C;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as r, createBlock as a, resolveDynamicComponent as k, mergeProps as u, withCtx as d, renderSlot as h, resolveComponent as B, normalizeProps as P, createElementBlock as g, Fragment as $, renderList as v, createCommentVNode as S } from "vue";
|
|
2
|
-
import { f, B as W, w } from "./index-
|
|
3
|
-
import { a as b, g as R } from "./get-block-properties-
|
|
2
|
+
import { f, B as W, w } from "./index-QoeI1v_Q.js";
|
|
3
|
+
import { a as b, g as R } from "./get-block-properties-q-3OOLjR.js";
|
|
4
4
|
const x = m({
|
|
5
5
|
name: "interactive-element",
|
|
6
6
|
props: ["includeBlockProps", "block", "context", "wrapperProps", "Wrapper"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.5";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentInfo } from '../types/components';
|
|
2
2
|
export declare const createRegisterComponentMessage: (info: ComponentInfo) => {
|
|
3
3
|
type: string;
|
|
4
|
-
data:
|
|
4
|
+
data: any;
|
|
5
5
|
};
|
|
6
|
-
export declare
|
|
6
|
+
export declare function serializeComponentInfo(info: ComponentInfo): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./index-
|
|
1
|
+
"use strict";const a=require("./index-cdkVjek0.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>a.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1,enableCache:!0});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const s=r[o];let n=c(o);if(e.stripPrefix)switch(a.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(s,e)}return t}function u({properties:e}){return e}const f=e=>({href:e.href});function p({block:e,context:t}){var o;const r={...f(e),...e.properties,"builder-id":e.id,style:a.getStyle({block:e,context:t}),[a.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=p;
|
|
@@ -731,22 +731,22 @@ const getComponent = ({
|
|
|
731
731
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
732
732
|
e
|
|
733
733
|
), e;
|
|
734
|
-
}), BlockStyles = () => import("./block-styles-
|
|
734
|
+
}), BlockStyles = () => import("./block-styles-2nOqCLPr.js").then((e) => e.default).catch((e) => {
|
|
735
735
|
throw console.error(
|
|
736
736
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
737
737
|
e
|
|
738
738
|
), e;
|
|
739
|
-
}), BlockWrapper = () => import("./block-wrapper-
|
|
739
|
+
}), BlockWrapper = () => import("./block-wrapper-cjk61owJ.js").then((e) => e.default).catch((e) => {
|
|
740
740
|
throw console.error(
|
|
741
741
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
742
742
|
e
|
|
743
743
|
), e;
|
|
744
|
-
}), ComponentRef = () => import("./component-ref-
|
|
744
|
+
}), ComponentRef = () => import("./component-ref-YVoFqoVR.js").then((e) => e.default).catch((e) => {
|
|
745
745
|
throw console.error(
|
|
746
746
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
747
747
|
e
|
|
748
748
|
), e;
|
|
749
|
-
}), RepeatedBlock = () => import("./repeated-block-
|
|
749
|
+
}), RepeatedBlock = () => import("./repeated-block-DkyB3x_l.js").then((e) => e.default).catch((e) => {
|
|
750
750
|
throw console.error(
|
|
751
751
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
752
752
|
e
|
|
@@ -1156,6 +1156,7 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_ren
|
|
|
1156
1156
|
)[e].max;
|
|
1157
1157
|
},
|
|
1158
1158
|
columnsStyles() {
|
|
1159
|
+
const e = `.${this.builderBlock.id}-breakpoints > .builder-column`;
|
|
1159
1160
|
return `
|
|
1160
1161
|
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
1161
1162
|
.${this.builderBlock.id}-breakpoints {
|
|
@@ -1163,7 +1164,7 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_ren
|
|
|
1163
1164
|
align-items: stretch;
|
|
1164
1165
|
}
|
|
1165
1166
|
|
|
1166
|
-
|
|
1167
|
+
${e} {
|
|
1167
1168
|
width: var(--column-width-tablet) !important;
|
|
1168
1169
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
1169
1170
|
}
|
|
@@ -1175,7 +1176,7 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_ren
|
|
|
1175
1176
|
align-items: stretch;
|
|
1176
1177
|
}
|
|
1177
1178
|
|
|
1178
|
-
|
|
1179
|
+
${e} {
|
|
1179
1180
|
width: var(--column-width-mobile) !important;
|
|
1180
1181
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
1181
1182
|
}
|
|
@@ -1229,7 +1230,7 @@ function _sfc_render$l(e, t, n, o, r, i) {
|
|
|
1229
1230
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1230
1231
|
], 16);
|
|
1231
1232
|
}
|
|
1232
|
-
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
1233
|
+
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$l], ["__scopeId", "data-v-52366f16"]]), _sfc_main$l = defineComponent({
|
|
1233
1234
|
name: "builder-fragment-component",
|
|
1234
1235
|
props: []
|
|
1235
1236
|
});
|
|
@@ -1286,6 +1287,8 @@ const _sfc_main$k = defineComponent({
|
|
|
1286
1287
|
"builderBlock",
|
|
1287
1288
|
"fitContent"
|
|
1288
1289
|
],
|
|
1290
|
+
mounted() {
|
|
1291
|
+
},
|
|
1289
1292
|
computed: {
|
|
1290
1293
|
srcSetToUse() {
|
|
1291
1294
|
var n;
|
|
@@ -1362,7 +1365,7 @@ function _sfc_render$j(e, t, n, o, r, i) {
|
|
|
1362
1365
|
])) : createCommentVNode("", !0)
|
|
1363
1366
|
], 64);
|
|
1364
1367
|
}
|
|
1365
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
1368
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-b1147753"]]), _sfc_main$j = defineComponent({
|
|
1366
1369
|
name: "builder-section-component",
|
|
1367
1370
|
props: ["attributes", "maxWidth"],
|
|
1368
1371
|
data() {
|
|
@@ -2471,7 +2474,8 @@ function _sfc_render$f(e, t, n, o, r, i) {
|
|
|
2471
2474
|
}
|
|
2472
2475
|
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]]), componentInfo$9 = {
|
|
2473
2476
|
shouldReceiveBuilderProps: {
|
|
2474
|
-
builderBlock: !1
|
|
2477
|
+
builderBlock: !1,
|
|
2478
|
+
builderContext: !0
|
|
2475
2479
|
},
|
|
2476
2480
|
name: "Text",
|
|
2477
2481
|
static: !0,
|
|
@@ -2492,13 +2496,34 @@ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
|
|
|
2492
2496
|
}
|
|
2493
2497
|
}, _sfc_main$f = defineComponent({
|
|
2494
2498
|
name: "builder-text",
|
|
2495
|
-
props: ["text"]
|
|
2499
|
+
props: ["builderContext", "text"],
|
|
2500
|
+
computed: {
|
|
2501
|
+
processedText() {
|
|
2502
|
+
var i;
|
|
2503
|
+
const e = this.builderContext, {
|
|
2504
|
+
context: t,
|
|
2505
|
+
localState: n,
|
|
2506
|
+
rootState: o,
|
|
2507
|
+
rootSetState: r
|
|
2508
|
+
} = e;
|
|
2509
|
+
return String(((i = this.text) == null ? void 0 : i.toString()) || "").replace(
|
|
2510
|
+
/{{([^}]+)}}/g,
|
|
2511
|
+
(s, l) => evaluate({
|
|
2512
|
+
code: l,
|
|
2513
|
+
context: t,
|
|
2514
|
+
localState: n,
|
|
2515
|
+
rootState: o,
|
|
2516
|
+
rootSetState: r,
|
|
2517
|
+
enableCache: !1
|
|
2518
|
+
})
|
|
2519
|
+
);
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2496
2522
|
}), _hoisted_1$8 = ["innerHTML"];
|
|
2497
2523
|
function _sfc_render$e(e, t, n, o, r, i) {
|
|
2498
|
-
var s;
|
|
2499
2524
|
return openBlock(), createElementBlock("div", {
|
|
2500
2525
|
class: "builder-text",
|
|
2501
|
-
innerHTML:
|
|
2526
|
+
innerHTML: e.processedText,
|
|
2502
2527
|
style: {
|
|
2503
2528
|
outline: "none"
|
|
2504
2529
|
}
|
|
@@ -3612,16 +3637,11 @@ const Video = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5
|
|
|
3612
3637
|
}), serializeFn = (e) => {
|
|
3613
3638
|
const t = e.toString().trim();
|
|
3614
3639
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
3615
|
-
}
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
}
|
|
3619
|
-
|
|
3620
|
-
inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, i]) => ({
|
|
3621
|
-
...o,
|
|
3622
|
-
[r]: serializeValue(i)
|
|
3623
|
-
}), {}))
|
|
3624
|
-
}), UPDATE_COOKIES_AND_STYLES_SCRIPT = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
3640
|
+
};
|
|
3641
|
+
function serializeComponentInfo(e) {
|
|
3642
|
+
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? serializeFn(n) : n));
|
|
3643
|
+
}
|
|
3644
|
+
const UPDATE_COOKIES_AND_STYLES_SCRIPT = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
3625
3645
|
function getAndSetVariantId() {
|
|
3626
3646
|
function setCookie(name, value, days) {
|
|
3627
3647
|
let expires = '';
|
|
@@ -4064,7 +4084,7 @@ function isFromTrustedHost(e, t) {
|
|
|
4064
4084
|
const n = new URL(t.origin), o = n.hostname;
|
|
4065
4085
|
return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
4066
4086
|
}
|
|
4067
|
-
const SDK_VERSION = "2.0.
|
|
4087
|
+
const SDK_VERSION = "2.0.5", registry = {};
|
|
4068
4088
|
function register(e, t) {
|
|
4069
4089
|
let n = registry[e];
|
|
4070
4090
|
if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
|