@builder.io/sdk-vue 4.0.6 → 4.0.7
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-96xCyq9c.cjs → awaiter-5U0g0avg.cjs} +1 -1
- package/lib/browser/{awaiter-zNn8NS8r.js → awaiter-FZ_6AE2a.js} +1 -1
- package/lib/browser/{block-styles-ofpNl1bZ.cjs → block-styles-mQsLCCE3.cjs} +1 -1
- package/lib/browser/{block-styles-0o9M36rK.js → block-styles-pmTjlLzn.js} +1 -1
- package/lib/browser/{block-wrapper-nAtnXdA_.js → block-wrapper-N_ogs-Wp.js} +3 -3
- package/lib/browser/{block-wrapper-CROVZaJw.cjs → block-wrapper-OunrCweM.cjs} +1 -1
- package/lib/browser/blocks/image/image.vue.d.ts +3 -0
- package/lib/browser/{component-ref-G3WBnT08.js → component-ref-g19jfMvJ.js} +26 -21
- package/lib/browser/component-ref-nEt-sggm.cjs +1 -0
- package/lib/browser/components/block/block.helpers.d.ts +1 -0
- package/lib/browser/components/block/block.vue.d.ts +1 -0
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +4 -3
- package/lib/browser/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-Tp3tEKPI.js → get-block-properties-5qwHyc1L.js} +1 -1
- package/lib/browser/{get-block-properties-35RfkJv0.cjs → get-block-properties-ulj77YzP.cjs} +1 -1
- package/lib/browser/{index-3yShtqk3.cjs → index-hvYVuem_.cjs} +17 -17
- package/lib/browser/{index-LQooJIVP.js → index-o8dnJsEu.js} +262 -263
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/repeated-block-Bq4A_qa5.cjs +1 -0
- package/lib/browser/repeated-block-VCgK4l-q.js +50 -0
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-BPHhe8gu.js → awaiter-le9ulX-I.js} +1 -1
- package/lib/edge/{awaiter-84203SWg.cjs → awaiter-ogFSdhQw.cjs} +1 -1
- package/lib/edge/{block-styles-FBx6Wj7n.js → block-styles-GPUq2vVm.js} +1 -1
- package/lib/edge/{block-styles-GoLS-7a-.cjs → block-styles-GdF_xFXc.cjs} +1 -1
- package/lib/edge/{block-wrapper-GHYV0qcz.js → block-wrapper-3bIXOPdS.js} +3 -3
- package/lib/{node/block-wrapper-Aqn2S1Zk.cjs → edge/block-wrapper-TCIgsYJu.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +3 -0
- package/lib/{node/component-ref-7fop4Scs.js → edge/component-ref-9SUP0TNT.js} +26 -21
- package/lib/edge/component-ref-UEJRPE0-.cjs +1 -0
- package/lib/edge/components/block/block.helpers.d.ts +1 -0
- package/lib/edge/components/block/block.vue.d.ts +1 -0
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +4 -3
- package/lib/edge/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-ePFST2_a.cjs → get-block-properties-6JzUU6Pu.cjs} +1 -1
- package/lib/edge/{get-block-properties-nUOubhiy.js → get-block-properties-JsJm0B7n.js} +1 -1
- package/lib/edge/{index-O2Rm1-0p.js → index-ggxjQMia.js} +243 -244
- package/lib/edge/{index-SxXHoi3G.cjs → index-sylhGsj3.cjs} +17 -17
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-730A9lRm.js → repeated-block-CLZkbqwN.js} +24 -9
- package/lib/edge/repeated-block-WJrFNvJj.cjs +1 -0
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-niFBXKBm.js → awaiter-E4fj6vmG.js} +1 -1
- package/lib/node/{awaiter-p7qiswFI.cjs → awaiter-fVVumiTQ.cjs} +1 -1
- package/lib/node/{block-styles-dahfLzRE.cjs → block-styles-HINWIuAE.cjs} +1 -1
- package/lib/node/{block-styles-3BFRWeR_.js → block-styles-IE14sZnq.js} +1 -1
- package/lib/{edge/block-wrapper-uwJjRSjB.cjs → node/block-wrapper-vQ87OSVE.cjs} +1 -1
- package/lib/node/{block-wrapper-ThVlymJQ.js → block-wrapper-xDAgWb90.js} +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +3 -0
- package/lib/node/component-ref-Es2_Hx3D.cjs +1 -0
- package/lib/{edge/component-ref-m6_Qgjxh.js → node/component-ref-qogwhlK8.js} +26 -21
- package/lib/node/components/block/block.helpers.d.ts +1 -0
- package/lib/node/components/block/block.vue.d.ts +1 -0
- package/lib/node/components/block/components/interactive-element.vue.d.ts +4 -3
- package/lib/node/components/block/components/repeated-block.vue.d.ts +5 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-pu3hVstP.cjs → get-block-properties-LPXLSOTJ.cjs} +1 -1
- package/lib/node/{get-block-properties-XqAwKEib.js → get-block-properties-wD4LU0DE.js} +1 -1
- package/lib/node/{index-3VhVRFNG.cjs → index-40Ju7fZj.cjs} +17 -17
- package/lib/node/{index-6f7aS4as.js → index-NJECHTw1.js} +259 -260
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/repeated-block-JNAfmV7i.cjs +1 -0
- package/lib/node/repeated-block-R4gT6MOv.js +49 -0
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/component-ref-dYV2xUP6.cjs +0 -1
- package/lib/browser/repeated-block-9PgmawTD.cjs +0 -1
- package/lib/browser/repeated-block-nSWYIBYY.js +0 -35
- package/lib/edge/component-ref-RVSJkiDE.cjs +0 -1
- package/lib/edge/repeated-block-CKncF9Od.cjs +0 -1
- package/lib/node/component-ref-jm5wkBt_.cjs +0 -1
- package/lib/node/repeated-block-lURNziSK.cjs +0 -1
- package/lib/node/repeated-block-zjZTsi5s.js +0 -34
|
@@ -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-hvYVuem_.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-hvYVuem_.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-o8dnJsEu.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-5qwHyc1L.js";
|
|
4
|
+
import { e as m } from "./index-o8dnJsEu.js";
|
|
5
|
+
const d = () => import("./index-o8dnJsEu.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-ulj77YzP.cjs"),n=require("./index-hvYVuem_.cjs"),c=()=>Promise.resolve().then(()=>require("./index-hvYVuem_.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;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
6
6
|
aspectRatio?: any;
|
|
7
7
|
backgroundPosition?: any;
|
|
8
8
|
backgroundSize?: any;
|
|
9
|
+
lazy?: any;
|
|
9
10
|
src?: any;
|
|
10
11
|
srcset?: any;
|
|
11
12
|
noWebp?: any;
|
|
@@ -31,6 +32,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
31
32
|
aspectRatio?: any;
|
|
32
33
|
backgroundPosition?: any;
|
|
33
34
|
backgroundSize?: any;
|
|
35
|
+
lazy?: any;
|
|
34
36
|
src?: any;
|
|
35
37
|
srcset?: any;
|
|
36
38
|
noWebp?: any;
|
|
@@ -46,6 +48,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
46
48
|
readonly aspectRatio?: any;
|
|
47
49
|
readonly backgroundPosition?: any;
|
|
48
50
|
readonly backgroundSize?: any;
|
|
51
|
+
readonly lazy?: any;
|
|
49
52
|
readonly src?: any;
|
|
50
53
|
readonly srcset?: any;
|
|
51
54
|
readonly noWebp?: any;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as u, defineAsyncComponent as
|
|
3
|
-
import { e as
|
|
4
|
-
import { a as
|
|
5
|
-
const R = () => import("./awaiter-
|
|
2
|
+
import { defineComponent as u, defineAsyncComponent as g, resolveComponent as k, openBlock as o, createBlock as a, withCtx as l, renderSlot as m, resolveDynamicComponent as f, normalizeProps as h, 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-o8dnJsEu.js";
|
|
4
|
+
import { a as P, g as A } from "./get-block-properties-5qwHyc1L.js";
|
|
5
|
+
const R = () => import("./awaiter-FZ_6AE2a.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
|
|
9
9
|
), e;
|
|
10
10
|
}), E = u({
|
|
11
11
|
name: "interactive-element",
|
|
12
|
-
components: { Awaiter:
|
|
13
|
-
props: ["includeBlockProps", "block", "context", "
|
|
12
|
+
components: { Awaiter: g(R) },
|
|
13
|
+
props: ["includeBlockProps", "block", "context", "wrapperProps", "Wrapper"],
|
|
14
14
|
computed: {
|
|
15
15
|
attributes() {
|
|
16
16
|
return this.includeBlockProps ? {
|
|
17
|
-
...
|
|
17
|
+
...P({
|
|
18
18
|
block: this.block,
|
|
19
19
|
context: this.context
|
|
20
20
|
}),
|
|
@@ -26,6 +26,14 @@ const R = () => import("./awaiter-zNn8NS8r.js").then((e) => e.default).catch((e)
|
|
|
26
26
|
context: this.context.context
|
|
27
27
|
})
|
|
28
28
|
} : {};
|
|
29
|
+
},
|
|
30
|
+
targetWrapperProps() {
|
|
31
|
+
return {
|
|
32
|
+
...this.wrapperProps,
|
|
33
|
+
...Object.keys(this.attributes).length > 0 ? {
|
|
34
|
+
attributes: this.attributes
|
|
35
|
+
} : {}
|
|
36
|
+
};
|
|
29
37
|
}
|
|
30
38
|
}
|
|
31
39
|
});
|
|
@@ -42,17 +50,14 @@ function I(e, n, s, i, r, c) {
|
|
|
42
50
|
m(e.$slots, "default")
|
|
43
51
|
]),
|
|
44
52
|
_: 3
|
|
45
|
-
}, 8, ["load", "fallback", "props", "attributes"])) : (o(), a(f(e.Wrapper), b({
|
|
46
|
-
key: 1,
|
|
47
|
-
attributes: e.attributes
|
|
48
|
-
}, e.wrapperProps), {
|
|
53
|
+
}, 8, ["load", "fallback", "props", "attributes"])) : (o(), a(f(e.Wrapper), h(b({ key: 1 }, e.targetWrapperProps)), {
|
|
49
54
|
default: l(() => [
|
|
50
55
|
m(e.$slots, "default")
|
|
51
56
|
]),
|
|
52
57
|
_: 3
|
|
53
|
-
}, 16
|
|
58
|
+
}, 16));
|
|
54
59
|
}
|
|
55
|
-
const d = /* @__PURE__ */
|
|
60
|
+
const d = /* @__PURE__ */ C(E, [["render", I]]), O = ({
|
|
56
61
|
componentOptions: e,
|
|
57
62
|
builderBlock: n,
|
|
58
63
|
context: s,
|
|
@@ -68,7 +73,7 @@ const d = /* @__PURE__ */ h(E, [["render", I]]), O = ({
|
|
|
68
73
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
69
74
|
*/
|
|
70
75
|
...r ? {
|
|
71
|
-
attributes:
|
|
76
|
+
attributes: P({
|
|
72
77
|
block: n,
|
|
73
78
|
context: t
|
|
74
79
|
})
|
|
@@ -83,7 +88,7 @@ const d = /* @__PURE__ */ h(E, [["render", I]]), O = ({
|
|
|
83
88
|
} : p;
|
|
84
89
|
}, U = u({
|
|
85
90
|
name: "component-ref",
|
|
86
|
-
components: { Block:
|
|
91
|
+
components: { Block: y, InteractiveElement: d },
|
|
87
92
|
props: [
|
|
88
93
|
"componentOptions",
|
|
89
94
|
"blockChildren",
|
|
@@ -98,7 +103,7 @@ const d = /* @__PURE__ */ h(E, [["render", I]]), O = ({
|
|
|
98
103
|
data() {
|
|
99
104
|
return {
|
|
100
105
|
shouldUpdate: !1,
|
|
101
|
-
Wrapper: this.isInteractive ?
|
|
106
|
+
Wrapper: this.isInteractive ? S(d) : this.componentRef,
|
|
102
107
|
getWrapperProps: O
|
|
103
108
|
};
|
|
104
109
|
},
|
|
@@ -117,7 +122,7 @@ const d = /* @__PURE__ */ h(E, [["render", I]]), O = ({
|
|
|
117
122
|
});
|
|
118
123
|
function H(e, n, s, i, r, c) {
|
|
119
124
|
const t = k("Block");
|
|
120
|
-
return e.componentRef ? (o(), a(f(e.Wrapper),
|
|
125
|
+
return e.componentRef ? (o(), a(f(e.Wrapper), h(b(
|
|
121
126
|
{ key: 0 },
|
|
122
127
|
e.getWrapperProps({
|
|
123
128
|
componentOptions: e.componentOptions,
|
|
@@ -131,7 +136,7 @@ function H(e, n, s, i, r, c) {
|
|
|
131
136
|
})
|
|
132
137
|
)), {
|
|
133
138
|
default: l(() => [
|
|
134
|
-
(o(!0),
|
|
139
|
+
(o(!0), B(W, null, $(e.blockChildren, (p, w) => (o(), a(t, {
|
|
135
140
|
key: p.id,
|
|
136
141
|
block: p,
|
|
137
142
|
context: e.context,
|
|
@@ -140,9 +145,9 @@ function H(e, n, s, i, r, c) {
|
|
|
140
145
|
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128))
|
|
141
146
|
]),
|
|
142
147
|
_: 1
|
|
143
|
-
}, 16)) :
|
|
148
|
+
}, 16)) : v("", !0);
|
|
144
149
|
}
|
|
145
|
-
const
|
|
150
|
+
const F = /* @__PURE__ */ C(U, [["render", H]]);
|
|
146
151
|
export {
|
|
147
|
-
|
|
152
|
+
F as default
|
|
148
153
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-hvYVuem_.cjs"),l=require("./get-block-properties-ulj77YzP.cjs"),u=()=>Promise.resolve().then(()=>require("./awaiter-5U0g0avg.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",e),e}),d=t.defineComponent({name:"interactive-element",components:{Awaiter:t.defineAsyncComponent(u)},props:["includeBlockProps","block","context","wrapperProps","Wrapper"],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}:{}}}}});function h(e,n,c,a,r,i){const o=t.resolveComponent("Awaiter");return e.Wrapper.load?(t.openBlock(),t.createBlock(o,{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(d,[["render",h]]),f=({componentOptions:e,builderBlock:n,context:c,componentRef:a,includeBlockProps:r,isInteractive:i,contextValue:o})=>{const p={...e,...r?{attributes:l.getBlockProperties({block:n,context:o})}:{}};return i?{Wrapper:a,block:n,context:c,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,n,c,a,r,i){const o=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,k)=>(t.openBlock(),t.createBlock(o,{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 B=s._export_sfc(b,[["render",C]]);exports.default=B;
|
|
@@ -13,21 +13,22 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
13
13
|
context?: any;
|
|
14
14
|
block?: any;
|
|
15
15
|
includeBlockProps?: any;
|
|
16
|
-
Wrapper?: any;
|
|
17
16
|
wrapperProps?: any;
|
|
17
|
+
Wrapper?: any;
|
|
18
18
|
}>, unknown, unknown, {
|
|
19
19
|
attributes(): {};
|
|
20
|
+
targetWrapperProps(): any;
|
|
20
21
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
21
22
|
context?: any;
|
|
22
23
|
block?: any;
|
|
23
24
|
includeBlockProps?: any;
|
|
24
|
-
Wrapper?: any;
|
|
25
25
|
wrapperProps?: any;
|
|
26
|
+
Wrapper?: any;
|
|
26
27
|
}>>>, {
|
|
27
28
|
readonly context?: any;
|
|
28
29
|
readonly block?: any;
|
|
29
30
|
readonly includeBlockProps?: any;
|
|
30
|
-
readonly Wrapper?: any;
|
|
31
31
|
readonly wrapperProps?: any;
|
|
32
|
+
readonly Wrapper?: any;
|
|
32
33
|
}, {}>;
|
|
33
34
|
export default _default;
|
|
@@ -5,7 +5,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
5
5
|
repeatContext?: any;
|
|
6
6
|
}>, unknown, {
|
|
7
7
|
store: any;
|
|
8
|
-
}, {
|
|
8
|
+
}, {
|
|
9
|
+
onUpdateHook0(): {
|
|
10
|
+
0: any;
|
|
11
|
+
};
|
|
12
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
9
13
|
block?: any;
|
|
10
14
|
linkComponent?: any;
|
|
11
15
|
registeredComponents?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.0.
|
|
1
|
+
export declare const SDK_VERSION = "4.0.7";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=require("./style.css");const s=require("./index-
|
|
1
|
+
var d=require("./style.css");const s=require("./index-hvYVuem_.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;
|