@builder.io/sdk-vue 4.0.7 → 4.0.8
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/{awaiter-5U0g0avg.cjs → awaiter-OLNb_n6-.cjs} +1 -1
- package/lib/browser/{awaiter-FZ_6AE2a.js → awaiter-isRx9Yhd.js} +1 -1
- package/lib/browser/{block-styles-mQsLCCE3.cjs → block-styles-6C_KdO7n.cjs} +1 -1
- package/lib/browser/{block-styles-pmTjlLzn.js → block-styles-gW8iE3NH.js} +1 -1
- package/lib/browser/{block-wrapper-N_ogs-Wp.js → block-wrapper--UA6l0DJ.js} +3 -3
- package/lib/browser/{block-wrapper-OunrCweM.cjs → block-wrapper-VXy583MG.cjs} +1 -1
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/browser/component-ref-BSoLNe8a.cjs +1 -0
- package/lib/browser/{component-ref-g19jfMvJ.js → component-ref-PKi5zQLG.js} +38 -24
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +10 -4
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-5qwHyc1L.js → get-block-properties-IAHDaK7X.js} +1 -1
- package/lib/browser/{get-block-properties-ulj77YzP.cjs → get-block-properties-MbA9feRS.cjs} +1 -1
- package/lib/browser/{index-o8dnJsEu.js → index-3lnsErPD.js} +16 -10
- package/lib/browser/{index-hvYVuem_.cjs → index-4YDWt2GA.cjs} +20 -20
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-VCgK4l-q.js → repeated-block-UdGwjbN4.js} +2 -2
- package/lib/browser/{repeated-block-Bq4A_qa5.cjs → repeated-block-lYIzWwqT.cjs} +1 -1
- package/lib/edge/{awaiter-ogFSdhQw.cjs → awaiter-q73ktXnL.cjs} +1 -1
- package/lib/edge/{awaiter-le9ulX-I.js → awaiter-yQhCDL0p.js} +1 -1
- package/lib/edge/{block-styles-GPUq2vVm.js → block-styles-cQqc9t0g.js} +1 -1
- package/lib/edge/{block-styles-GdF_xFXc.cjs → block-styles-krtvZ4wJ.cjs} +1 -1
- package/lib/{node/block-wrapper-xDAgWb90.js → edge/block-wrapper-9DbpMl_d.js} +3 -3
- package/lib/{node/block-wrapper-vQ87OSVE.cjs → edge/block-wrapper-P2ngZuRV.cjs} +1 -1
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/edge/component-ref-EDola72k.cjs +1 -0
- package/lib/{node/component-ref-qogwhlK8.js → edge/component-ref-FzpAjKWx.js} +38 -24
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +10 -4
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-JsJm0B7n.js → get-block-properties-UnxPA054.js} +1 -1
- package/lib/edge/{get-block-properties-6JzUU6Pu.cjs → get-block-properties-fD4qNRB9.cjs} +1 -1
- package/lib/edge/{index-ggxjQMia.js → index-Phh5QI1z.js} +16 -10
- package/lib/edge/{index-sylhGsj3.cjs → index-W-IYWIQ9.cjs} +3 -3
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/repeated-block-JNAfmV7i.cjs → edge/repeated-block-19TN96p4.cjs} +1 -1
- package/lib/{node/repeated-block-R4gT6MOv.js → edge/repeated-block-pUBaF3y8.js} +2 -2
- package/lib/node/{awaiter-E4fj6vmG.js → awaiter--eXt1zCI.js} +1 -1
- package/lib/node/{awaiter-fVVumiTQ.cjs → awaiter-rTNOaG9i.cjs} +1 -1
- package/lib/node/{block-styles-IE14sZnq.js → block-styles-CnYwZPG8.js} +1 -1
- package/lib/node/{block-styles-HINWIuAE.cjs → block-styles-X1zBe4K-.cjs} +1 -1
- package/lib/{edge/block-wrapper-3bIXOPdS.js → node/block-wrapper-a-O0UYvU.js} +3 -3
- package/lib/{edge/block-wrapper-TCIgsYJu.cjs → node/block-wrapper-dUYQEu6i.cjs} +1 -1
- package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -0
- package/lib/{edge/component-ref-9SUP0TNT.js → node/component-ref-6ZTfRWNi.js} +38 -24
- package/lib/node/component-ref-J2vcSy4E.cjs +1 -0
- package/lib/node/components/block/components/interactive-element.vue.d.ts +10 -4
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-LPXLSOTJ.cjs → get-block-properties-ZXWvNMFQ.cjs} +1 -1
- package/lib/node/{get-block-properties-wD4LU0DE.js → get-block-properties-wNo96juQ.js} +1 -1
- package/lib/node/{index-NJECHTw1.js → index-dUsR-LUC.js} +16 -10
- package/lib/node/{index-40Ju7fZj.cjs → index-yWUac5KF.cjs} +3 -3
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/{edge/repeated-block-WJrFNvJj.cjs → node/repeated-block-Mn3MoYF9.cjs} +1 -1
- package/lib/{edge/repeated-block-CLZkbqwN.js → node/repeated-block-WusuFFLd.js} +2 -2
- package/package.json +1 -1
- package/lib/browser/component-ref-nEt-sggm.cjs +0 -1
- package/lib/edge/component-ref-UEJRPE0-.cjs +0 -1
- package/lib/node/component-ref-Es2_Hx3D.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var p=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
var p=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-4YDWt2GA.cjs"),n=e.defineComponent({name:"awaiter",props:[],mounted(){}});function o(t,a,i,c,u,d){return e.renderSlot(t.$slots,"default")}const s=r._export_sfc(n,[["render",o]]);exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),s=require("./index-
|
|
1
|
+
var _=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),s=require("./index-4YDWt2GA.cjs"),x=a.defineComponent({name:"block-styles",components:{InlinedStyles:s._sfc_main},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{canShowBlock(){const e=this.block;return s.checkIsDefined(e.hide)?!e.hide:s.checkIsDefined(e.show)?e.show:!0},css(){var S,h,k,C,f;const e=this.block,t=e.responsiveStyles,o=this.context.content,r=s.getSizesForBreakpoints(((S=o==null?void 0:o.meta)==null?void 0:S.breakpoints)||{}),d=!!((k=(h=o==null?void 0:o.meta)==null?void 0:h.breakpoints)!=null&&k.xsmall),i=t==null?void 0:t.large,c=t==null?void 0:t.medium,u=t==null?void 0:t.small,y=t==null?void 0:t.xsmall,n=e.id;if(!n)return"";const b=i?s.createCssClass({className:n,styles:i}):"",g=c?s.createCssClass({className:n,styles:c,mediaQuery:s.getMaxWidthQueryForSize("medium",r)}):"",v=u?s.createCssClass({className:n,styles:u,mediaQuery:s.getMaxWidthQueryForSize("small",r)}):"",B=y&&d?s.createCssClass({className:n,styles:y,mediaQuery:s.getMaxWidthQueryForSize("xsmall",r)}):"",l=e.animations&&e.animations.find(m=>m.trigger==="hover");let p="";if(l){const m=((f=(C=l.steps)==null?void 0:C[1])==null?void 0:f.styles)||{};p=s.createCssClass({className:`${n}:hover`,styles:{...m,transition:`all ${l.duration}s ${s.camelToKebabCase(l.easing)}`,transitionDelay:l.delay?`${l.delay}s`:"0s"}})||""}return[b,g,v,B,p].join(" ")}}});function T(e,t,o,r,d,i){const c=a.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(a.openBlock(),a.createBlock(c,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):a.createCommentVNode("",!0)}const $=s._export_sfc(x,[["render",T]]);exports.default=$;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as _, resolveComponent as x, openBlock as T, createBlock as w, createCommentVNode as I } from "vue";
|
|
3
|
-
import { _ as N, T as Q, c as C, g as z, a, b as m, d as A, e as D } from "./index-
|
|
3
|
+
import { _ as N, T as Q, c as C, g as z, a, b as m, d as A, e as D } from "./index-3lnsErPD.js";
|
|
4
4
|
const E = _({
|
|
5
5
|
name: "block-styles",
|
|
6
6
|
components: { InlinedStyles: N },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
3
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
4
|
-
import { e as m } from "./index-
|
|
5
|
-
const d = () => import("./index-
|
|
3
|
+
import { g as s, a as l } from "./get-block-properties-IAHDaK7X.js";
|
|
4
|
+
import { e as m } from "./index-3lnsErPD.js";
|
|
5
|
+
const d = () => import("./index-3lnsErPD.js").then((e) => e.G).then((e) => e.default).catch((e) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
8
8
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-MbA9feRS.cjs"),n=require("./index-4YDWt2GA.cjs"),c=()=>Promise.resolve().then(()=>require("./index-4YDWt2GA.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var B=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-4YDWt2GA.cjs"),l=require("./get-block-properties-MbA9feRS.cjs"),u=()=>Promise.resolve().then(()=>require("./awaiter-OLNb_n6-.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",e),e}),k=t.defineComponent({name:"interactive-element",components:{Awaiter:t.defineAsyncComponent(u)},props:["wrapperProps","block","includeBlockProps","context","Wrapper"],data(){return{forceRenderCount:0}},watch:{onUpdateHook0:{handler(){},immediate:!0}},computed:{attributes(){return this.includeBlockProps?{...l.getBlockProperties({block:this.block,context:this.context}),...l.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}},targetWrapperProps(){return{...this.wrapperProps,...Object.keys(this.attributes).length>0?{attributes:this.attributes}:{}}},onUpdateHook0(){var e,o;return{0:this.wrapperProps,1:(o=(e=this.block)==null?void 0:e.component)==null?void 0:o.options}}}});function h(e,o,a,c,r,i){const n=t.resolveComponent("Awaiter");return e.Wrapper.load?(t.openBlock(),t.createBlock(n,{key:0,load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:e.attributes},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["load","fallback","props","attributes"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:1},e.targetWrapperProps)),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16))}const m=s._export_sfc(k,[["render",h]]),f=({componentOptions:e,builderBlock:o,context:a,componentRef:c,includeBlockProps:r,isInteractive:i,contextValue:n})=>{const p={...e,...r?{attributes:l.getBlockProperties({block:o,context:n})}:{}};return i?{Wrapper:c,block:o,context:a,wrapperProps:e,includeBlockProps:r}:p},b=t.defineComponent({name:"component-ref",components:{Block:s.Block,InteractiveElement:m},props:["componentOptions","blockChildren","isInteractive","componentRef","builderBlock","context","linkComponent","includeBlockProps","registeredComponents"],data(){return{shouldUpdate:!1,Wrapper:this.isInteractive?s.wrapComponentRef(m):this.componentRef,getWrapperProps:f}},watch:{onUpdateHook0:{handler(){},immediate:!0}},computed:{onUpdateHook0(){return{0:this.componentOptions,1:this.blockChildren}}}});function C(e,o,a,c,r,i){const n=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,(p,d)=>(t.openBlock(),t.createBlock(n,{key:p.id,block:p,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const P=s._export_sfc(b,[["render",C]]);exports.default=P;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as u, defineAsyncComponent as g, resolveComponent as k, openBlock as
|
|
3
|
-
import { e as C, B as y, w as S } from "./index-
|
|
4
|
-
import { a as
|
|
5
|
-
const R = () => import("./awaiter-
|
|
2
|
+
import { defineComponent as u, defineAsyncComponent as g, resolveComponent as k, openBlock as n, createBlock as a, withCtx as l, renderSlot as m, resolveDynamicComponent as h, normalizeProps as f, mergeProps as b, createElementBlock as B, Fragment as W, renderList as $, createCommentVNode as v } from "vue";
|
|
3
|
+
import { e as C, B as y, w as S } from "./index-3lnsErPD.js";
|
|
4
|
+
import { a as w, g as A } from "./get-block-properties-IAHDaK7X.js";
|
|
5
|
+
const R = () => import("./awaiter-isRx9Yhd.js").then((e) => e.default).catch((e) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",
|
|
8
8
|
e
|
|
@@ -10,11 +10,18 @@ const R = () => import("./awaiter-FZ_6AE2a.js").then((e) => e.default).catch((e)
|
|
|
10
10
|
}), E = u({
|
|
11
11
|
name: "interactive-element",
|
|
12
12
|
components: { Awaiter: g(R) },
|
|
13
|
-
props: ["
|
|
13
|
+
props: ["wrapperProps", "block", "includeBlockProps", "context", "Wrapper"],
|
|
14
|
+
data() {
|
|
15
|
+
return { forceRenderCount: 0 };
|
|
16
|
+
},
|
|
17
|
+
watch: {
|
|
18
|
+
onUpdateHook0: { handler() {
|
|
19
|
+
}, immediate: !0 }
|
|
20
|
+
},
|
|
14
21
|
computed: {
|
|
15
22
|
attributes() {
|
|
16
23
|
return this.includeBlockProps ? {
|
|
17
|
-
...
|
|
24
|
+
...w({
|
|
18
25
|
block: this.block,
|
|
19
26
|
context: this.context
|
|
20
27
|
}),
|
|
@@ -34,12 +41,19 @@ const R = () => import("./awaiter-FZ_6AE2a.js").then((e) => e.default).catch((e)
|
|
|
34
41
|
attributes: this.attributes
|
|
35
42
|
} : {}
|
|
36
43
|
};
|
|
44
|
+
},
|
|
45
|
+
onUpdateHook0() {
|
|
46
|
+
var e, t;
|
|
47
|
+
return {
|
|
48
|
+
0: this.wrapperProps,
|
|
49
|
+
1: (t = (e = this.block) == null ? void 0 : e.component) == null ? void 0 : t.options
|
|
50
|
+
};
|
|
37
51
|
}
|
|
38
52
|
}
|
|
39
53
|
});
|
|
40
|
-
function I(e,
|
|
41
|
-
const
|
|
42
|
-
return e.Wrapper.load ? (
|
|
54
|
+
function I(e, t, s, i, r, c) {
|
|
55
|
+
const o = k("Awaiter");
|
|
56
|
+
return e.Wrapper.load ? (n(), a(o, {
|
|
43
57
|
key: 0,
|
|
44
58
|
load: e.Wrapper.load,
|
|
45
59
|
fallback: e.Wrapper.fallback,
|
|
@@ -50,21 +64,21 @@ function I(e, n, s, i, r, c) {
|
|
|
50
64
|
m(e.$slots, "default")
|
|
51
65
|
]),
|
|
52
66
|
_: 3
|
|
53
|
-
}, 8, ["load", "fallback", "props", "attributes"])) : (
|
|
67
|
+
}, 8, ["load", "fallback", "props", "attributes"])) : (n(), a(h(e.Wrapper), f(b({ key: 1 }, e.targetWrapperProps)), {
|
|
54
68
|
default: l(() => [
|
|
55
69
|
m(e.$slots, "default")
|
|
56
70
|
]),
|
|
57
71
|
_: 3
|
|
58
72
|
}, 16));
|
|
59
73
|
}
|
|
60
|
-
const d = /* @__PURE__ */ C(E, [["render", I]]),
|
|
74
|
+
const d = /* @__PURE__ */ C(E, [["render", I]]), U = ({
|
|
61
75
|
componentOptions: e,
|
|
62
|
-
builderBlock:
|
|
76
|
+
builderBlock: t,
|
|
63
77
|
context: s,
|
|
64
78
|
componentRef: i,
|
|
65
79
|
includeBlockProps: r,
|
|
66
80
|
isInteractive: c,
|
|
67
|
-
contextValue:
|
|
81
|
+
contextValue: o
|
|
68
82
|
}) => {
|
|
69
83
|
const p = {
|
|
70
84
|
...e,
|
|
@@ -73,20 +87,20 @@ const d = /* @__PURE__ */ C(E, [["render", I]]), O = ({
|
|
|
73
87
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
74
88
|
*/
|
|
75
89
|
...r ? {
|
|
76
|
-
attributes:
|
|
77
|
-
block:
|
|
78
|
-
context:
|
|
90
|
+
attributes: w({
|
|
91
|
+
block: t,
|
|
92
|
+
context: o
|
|
79
93
|
})
|
|
80
94
|
} : {}
|
|
81
95
|
};
|
|
82
96
|
return c ? {
|
|
83
97
|
Wrapper: i,
|
|
84
|
-
block:
|
|
98
|
+
block: t,
|
|
85
99
|
context: s,
|
|
86
100
|
wrapperProps: e,
|
|
87
101
|
includeBlockProps: r
|
|
88
102
|
} : p;
|
|
89
|
-
},
|
|
103
|
+
}, H = u({
|
|
90
104
|
name: "component-ref",
|
|
91
105
|
components: { Block: y, InteractiveElement: d },
|
|
92
106
|
props: [
|
|
@@ -104,7 +118,7 @@ const d = /* @__PURE__ */ C(E, [["render", I]]), O = ({
|
|
|
104
118
|
return {
|
|
105
119
|
shouldUpdate: !1,
|
|
106
120
|
Wrapper: this.isInteractive ? S(d) : this.componentRef,
|
|
107
|
-
getWrapperProps:
|
|
121
|
+
getWrapperProps: U
|
|
108
122
|
};
|
|
109
123
|
},
|
|
110
124
|
watch: {
|
|
@@ -120,9 +134,9 @@ const d = /* @__PURE__ */ C(E, [["render", I]]), O = ({
|
|
|
120
134
|
}
|
|
121
135
|
}
|
|
122
136
|
});
|
|
123
|
-
function
|
|
124
|
-
const
|
|
125
|
-
return e.componentRef ? (
|
|
137
|
+
function O(e, t, s, i, r, c) {
|
|
138
|
+
const o = k("Block");
|
|
139
|
+
return e.componentRef ? (n(), a(h(e.Wrapper), f(b(
|
|
126
140
|
{ key: 0 },
|
|
127
141
|
e.getWrapperProps({
|
|
128
142
|
componentOptions: e.componentOptions,
|
|
@@ -136,7 +150,7 @@ function H(e, n, s, i, r, c) {
|
|
|
136
150
|
})
|
|
137
151
|
)), {
|
|
138
152
|
default: l(() => [
|
|
139
|
-
(
|
|
153
|
+
(n(!0), B(W, null, $(e.blockChildren, (p, P) => (n(), a(o, {
|
|
140
154
|
key: p.id,
|
|
141
155
|
block: p,
|
|
142
156
|
context: e.context,
|
|
@@ -147,7 +161,7 @@ function H(e, n, s, i, r, c) {
|
|
|
147
161
|
_: 1
|
|
148
162
|
}, 16)) : v("", !0);
|
|
149
163
|
}
|
|
150
|
-
const F = /* @__PURE__ */ C(
|
|
164
|
+
const F = /* @__PURE__ */ C(H, [["render", O]]);
|
|
151
165
|
export {
|
|
152
166
|
F as default
|
|
153
167
|
};
|
|
@@ -12,23 +12,29 @@ export type InteractiveElementProps = {
|
|
|
12
12
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
13
13
|
context?: any;
|
|
14
14
|
block?: any;
|
|
15
|
-
includeBlockProps?: any;
|
|
16
15
|
wrapperProps?: any;
|
|
16
|
+
includeBlockProps?: any;
|
|
17
17
|
Wrapper?: any;
|
|
18
|
-
}>, unknown,
|
|
18
|
+
}>, unknown, {
|
|
19
|
+
forceRenderCount: number;
|
|
20
|
+
}, {
|
|
19
21
|
attributes(): {};
|
|
20
22
|
targetWrapperProps(): any;
|
|
23
|
+
onUpdateHook0(): {
|
|
24
|
+
0: any;
|
|
25
|
+
1: any;
|
|
26
|
+
};
|
|
21
27
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
22
28
|
context?: any;
|
|
23
29
|
block?: any;
|
|
24
|
-
includeBlockProps?: any;
|
|
25
30
|
wrapperProps?: any;
|
|
31
|
+
includeBlockProps?: any;
|
|
26
32
|
Wrapper?: any;
|
|
27
33
|
}>>>, {
|
|
28
34
|
readonly context?: any;
|
|
29
35
|
readonly block?: any;
|
|
30
|
-
readonly includeBlockProps?: any;
|
|
31
36
|
readonly wrapperProps?: any;
|
|
37
|
+
readonly includeBlockProps?: any;
|
|
32
38
|
readonly Wrapper?: any;
|
|
33
39
|
}, {}>;
|
|
34
40
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.0.
|
|
1
|
+
export declare const SDK_VERSION = "4.0.8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=require("./style.css");const s=require("./index-
|
|
1
|
+
var d=require("./style.css");const s=require("./index-4YDWt2GA.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=c(o);if(e.stripPrefix)switch(s.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(a,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:s.getStyle({block:e,context:t}),[s.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=f;
|
|
@@ -504,7 +504,7 @@ const Pe = "builder.", an = "options.", Je = (e) => {
|
|
|
504
504
|
return {};
|
|
505
505
|
const e = new URLSearchParams(window.location.search);
|
|
506
506
|
return Je(e);
|
|
507
|
-
}, Ge = "4.0.
|
|
507
|
+
}, Ge = "4.0.8", Ye = () => ({
|
|
508
508
|
"X-Builder-SDK": R,
|
|
509
509
|
"X-Builder-SDK-GEN": "2",
|
|
510
510
|
"X-Builder-SDK-Version": Ge
|
|
@@ -1385,22 +1385,22 @@ const ht = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1385
1385
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1386
1386
|
e
|
|
1387
1387
|
), e;
|
|
1388
|
-
}), so = () => import("./block-styles-
|
|
1388
|
+
}), so = () => import("./block-styles-gW8iE3NH.js").then((e) => e.default).catch((e) => {
|
|
1389
1389
|
throw console.error(
|
|
1390
1390
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
1391
1391
|
e
|
|
1392
1392
|
), e;
|
|
1393
|
-
}), io = () => import("./block-wrapper
|
|
1393
|
+
}), io = () => import("./block-wrapper--UA6l0DJ.js").then((e) => e.default).catch((e) => {
|
|
1394
1394
|
throw console.error(
|
|
1395
1395
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1396
1396
|
e
|
|
1397
1397
|
), e;
|
|
1398
|
-
}), ao = () => import("./component-ref-
|
|
1398
|
+
}), ao = () => import("./component-ref-PKi5zQLG.js").then((e) => e.default).catch((e) => {
|
|
1399
1399
|
throw console.error(
|
|
1400
1400
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1401
1401
|
e
|
|
1402
1402
|
), e;
|
|
1403
|
-
}), lo = () => import("./repeated-block-
|
|
1403
|
+
}), lo = () => import("./repeated-block-UdGwjbN4.js").then((e) => e.default).catch((e) => {
|
|
1404
1404
|
throw console.error(
|
|
1405
1405
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1406
1406
|
e
|
|
@@ -5165,8 +5165,12 @@ const qs = /* @__PURE__ */ b(js, [["render", zs]]), Js = async ({
|
|
|
5165
5165
|
"builderLinkComponent"
|
|
5166
5166
|
],
|
|
5167
5167
|
data() {
|
|
5168
|
-
var e;
|
|
5169
|
-
return {
|
|
5168
|
+
var e, t;
|
|
5169
|
+
return {
|
|
5170
|
+
contentToUse: (e = this.symbol) == null ? void 0 : e.content,
|
|
5171
|
+
symbolEntry: (t = this.symbol) == null ? void 0 : t.entry,
|
|
5172
|
+
filterAttrs: V
|
|
5173
|
+
};
|
|
5170
5174
|
},
|
|
5171
5175
|
mounted() {
|
|
5172
5176
|
this.setContent();
|
|
@@ -5203,11 +5207,13 @@ const qs = /* @__PURE__ */ b(js, [["render", zs]]), Js = async ({
|
|
|
5203
5207
|
},
|
|
5204
5208
|
methods: {
|
|
5205
5209
|
setContent() {
|
|
5206
|
-
|
|
5210
|
+
var e;
|
|
5211
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Js({
|
|
5207
5212
|
symbol: this.symbol,
|
|
5208
5213
|
builderContextValue: this.builderContext
|
|
5209
|
-
}).then((
|
|
5210
|
-
|
|
5214
|
+
}).then((t) => {
|
|
5215
|
+
var n;
|
|
5216
|
+
t && (this.contentToUse = t, this.symbolEntry = (n = this.symbol) == null ? void 0 : n.entry);
|
|
5211
5217
|
});
|
|
5212
5218
|
}
|
|
5213
5219
|
}
|