@builder.io/sdk-vue 0.12.2 → 0.12.4
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.02ba52b2.cjs +1 -0
- package/lib/{edge/block-styles.a1440ad7.js → browser/block-styles.53c7f508.js} +5 -5
- package/lib/browser/block-wrapper.9fa9b402.cjs +1 -0
- package/lib/{edge/block-wrapper.efc7d98a.js → browser/block-wrapper.eee0672a.js} +4 -4
- package/lib/browser/blocks/button/button.types.d.ts +2 -1
- package/lib/browser/blocks/button/button.vue.d.ts +4 -0
- package/lib/browser/blocks/columns/columns.types.d.ts +3 -3
- package/lib/browser/blocks/columns/columns.vue.d.ts +9 -3
- package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/browser/{component-ref.a9dd871c.js → component-ref.413e00a0.js} +26 -24
- package/lib/browser/component-ref.7152f073.cjs +1 -0
- package/lib/browser/components/block/block.vue.d.ts +8 -3
- package/lib/browser/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/browser/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +2 -2
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +4 -2
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +3 -3
- package/lib/browser/components/block/components/repeated-block.vue.d.ts +3 -0
- package/lib/browser/components/blocks/blocks.types.d.ts +1 -0
- package/lib/browser/components/blocks/blocks.vue.d.ts +3 -0
- package/lib/browser/components/content/content.vue.d.ts +3 -0
- package/lib/browser/components/content-variants/content-variants.types.d.ts +6 -2
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/get-block-properties.d.ts +1 -2
- package/lib/browser/functions/get-class-prop-name.d.ts +1 -0
- package/lib/browser/functions/get-style.d.ts +12 -0
- package/lib/browser/functions/transform-block-properties.d.ts +2 -2
- package/lib/browser/functions/transform-style-property.d.ts +7 -0
- package/lib/browser/get-block-properties.977a77b8.js +65 -0
- package/lib/browser/get-block-properties.af78bde3.cjs +1 -0
- package/lib/browser/helpers/omit.d.ts +1 -0
- package/lib/browser/index-helpers/blocks-exports.d.ts +6 -0
- package/lib/browser/{index.b532efb7.js → index.125c730f.js} +786 -638
- package/lib/browser/index.50f38496.cjs +165 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +8 -8
- package/lib/browser/repeated-block.0c50662b.cjs +1 -0
- package/lib/browser/repeated-block.bc26d02d.js +35 -0
- package/lib/browser/style.css +1 -1
- package/lib/browser/types/builder-block.d.ts +1 -0
- package/lib/browser/types/builder-props.d.ts +3 -0
- package/lib/edge/block-styles.a5af3df2.cjs +1 -0
- package/lib/{browser/block-styles.eada5366.js → edge/block-styles.fee0d2aa.js} +11 -13
- package/lib/{browser/block-wrapper.9b2bed3c.js → edge/block-wrapper.637d7df2.js} +5 -7
- package/lib/edge/block-wrapper.6bdfca76.cjs +1 -0
- package/lib/edge/blocks/button/button.types.d.ts +2 -1
- package/lib/edge/blocks/button/button.vue.d.ts +4 -0
- package/lib/edge/blocks/columns/columns.types.d.ts +3 -3
- package/lib/edge/blocks/columns/columns.vue.d.ts +9 -3
- package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/edge/component-ref.369810a4.cjs +1 -0
- package/lib/edge/{component-ref.bcafb710.js → component-ref.41811af5.js} +26 -24
- package/lib/edge/components/block/block.vue.d.ts +8 -3
- package/lib/edge/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/edge/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +2 -2
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +4 -2
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +3 -3
- package/lib/edge/components/block/components/repeated-block.vue.d.ts +3 -0
- package/lib/edge/components/blocks/blocks.types.d.ts +1 -0
- package/lib/edge/components/blocks/blocks.vue.d.ts +3 -0
- package/lib/edge/components/content/content.vue.d.ts +3 -0
- package/lib/edge/components/content-variants/content-variants.types.d.ts +6 -2
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/get-block-properties.d.ts +1 -2
- package/lib/edge/functions/get-class-prop-name.d.ts +1 -0
- package/lib/edge/functions/get-style.d.ts +12 -0
- package/lib/edge/functions/transform-block-properties.d.ts +2 -2
- package/lib/edge/functions/transform-style-property.d.ts +7 -0
- package/lib/edge/get-block-properties.8c9ec377.cjs +1 -0
- package/lib/edge/get-block-properties.d9e1b7db.js +64 -0
- package/lib/edge/helpers/omit.d.ts +1 -0
- package/lib/edge/index-helpers/blocks-exports.d.ts +6 -0
- package/lib/edge/{index.ffc9a7bc.js → index.0e671c32.js} +1545 -1397
- package/lib/edge/index.202adcba.cjs +185 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.js +8 -8
- package/lib/edge/repeated-block.05059f8a.cjs +1 -0
- package/lib/edge/{repeated-block.090029ef.js → repeated-block.f8d5be9a.js} +11 -10
- package/lib/edge/style.css +1 -1
- package/lib/edge/types/builder-block.d.ts +1 -0
- package/lib/edge/types/builder-props.d.ts +3 -0
- package/lib/node/{block-styles.136d6f08.js → block-styles.bb5f14b0.js} +11 -12
- package/lib/node/block-styles.c9083d49.cjs +1 -0
- package/lib/node/{block-wrapper.18e00652.js → block-wrapper.7aa2ef9c.js} +5 -6
- package/lib/node/block-wrapper.7d82a700.cjs +1 -0
- package/lib/node/blocks/button/button.types.d.ts +2 -1
- package/lib/node/blocks/button/button.vue.d.ts +4 -0
- package/lib/node/blocks/columns/columns.types.d.ts +3 -3
- package/lib/node/blocks/columns/columns.vue.d.ts +9 -3
- package/lib/node/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/node/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/node/{component-ref.c1216d72.js → component-ref.32bc874a.js} +26 -24
- package/lib/node/component-ref.3748ed2f.cjs +1 -0
- package/lib/node/components/block/block.vue.d.ts +8 -3
- package/lib/node/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/node/components/block/components/block-wrapper.vue.d.ts +3 -3
- package/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +2 -2
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +4 -2
- package/lib/node/components/block/components/interactive-element.vue.d.ts +3 -3
- package/lib/node/components/block/components/repeated-block.vue.d.ts +3 -0
- package/lib/node/components/blocks/blocks.types.d.ts +1 -0
- package/lib/node/components/blocks/blocks.vue.d.ts +3 -0
- package/lib/node/components/content/content.vue.d.ts +3 -0
- package/lib/node/components/content-variants/content-variants.types.d.ts +6 -2
- package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/get-block-properties.d.ts +1 -2
- package/lib/node/functions/get-class-prop-name.d.ts +1 -0
- package/lib/node/functions/get-style.d.ts +12 -0
- package/lib/node/functions/transform-block-properties.d.ts +2 -2
- package/lib/node/functions/transform-style-property.d.ts +7 -0
- package/lib/node/get-block-properties.4076202f.cjs +1 -0
- package/lib/node/get-block-properties.4e3171b7.js +64 -0
- package/lib/node/helpers/omit.d.ts +1 -0
- package/lib/node/index-helpers/blocks-exports.d.ts +6 -0
- package/lib/node/{index.36c2b72c.js → index.0d7a2ca2.js} +333 -184
- package/lib/node/index.a0856b34.cjs +205 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +8 -8
- package/lib/node/repeated-block.05cbf677.js +35 -0
- package/lib/node/repeated-block.d07e6280.cjs +1 -0
- package/lib/node/style.css +1 -1
- package/lib/node/types/builder-block.d.ts +1 -0
- package/lib/node/types/builder-props.d.ts +3 -0
- package/package.json +1 -1
- package/lib/browser/block-styles.76e01443.cjs +0 -1
- package/lib/browser/block-wrapper.24b79ff8.cjs +0 -1
- package/lib/browser/component-ref.00682bcb.cjs +0 -1
- package/lib/browser/css.58041866.js +0 -22
- package/lib/browser/css.93429f3b.cjs +0 -6
- package/lib/browser/dynamic-renderer.587b2b22.cjs +0 -1
- package/lib/browser/dynamic-renderer.807ec99c.js +0 -29
- package/lib/browser/get-block-actions.3853c568.cjs +0 -1
- package/lib/browser/get-block-actions.7be7f916.js +0 -76
- package/lib/browser/index.8583dad3.cjs +0 -156
- package/lib/browser/repeated-block.569f57e3.cjs +0 -1
- package/lib/browser/repeated-block.b3746f1a.js +0 -34
- package/lib/edge/block-styles.f491edc2.cjs +0 -1
- package/lib/edge/block-wrapper.555f21dd.cjs +0 -1
- package/lib/edge/component-ref.100a10a4.cjs +0 -1
- package/lib/edge/css.0b928f4c.js +0 -21
- package/lib/edge/css.d6d697ec.cjs +0 -6
- package/lib/edge/dynamic-renderer.1a8c0430.js +0 -28
- package/lib/edge/dynamic-renderer.b95a1057.cjs +0 -1
- package/lib/edge/get-block-actions.34ceb0fb.cjs +0 -1
- package/lib/edge/get-block-actions.6f8ccd3c.js +0 -75
- package/lib/edge/index.332c4c68.cjs +0 -176
- package/lib/edge/repeated-block.cefa0bf6.cjs +0 -1
- package/lib/node/block-styles.589566b1.cjs +0 -1
- package/lib/node/block-wrapper.831b0d92.cjs +0 -1
- package/lib/node/component-ref.c4fd0511.cjs +0 -1
- package/lib/node/css.1037a3f7.cjs +0 -6
- package/lib/node/css.dd54b8f6.js +0 -21
- package/lib/node/dynamic-renderer.92a2f84d.cjs +0 -1
- package/lib/node/dynamic-renderer.d189611e.js +0 -29
- package/lib/node/get-block-actions.64593134.js +0 -75
- package/lib/node/get-block-actions.a79e1825.cjs +0 -1
- package/lib/node/index.c18f2b9a.cjs +0 -196
- package/lib/node/repeated-block.4e2006fc.cjs +0 -1
- package/lib/node/repeated-block.98cf3e1d.js +0 -34
package/lib/edge/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as a, l as n, m as r, C as o, F as i, n as g, R as c, k as l, S as m, o as C, p as d, V as p, v as u, s as B, G as E, x as R, y as S, z as f, D as h, A as k, q as x, r as y, t as P, u as v, E as A } from "./index.0e671c32.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
a as Blocks,
|
|
@@ -14,13 +14,13 @@ export {
|
|
|
14
14
|
d as Text,
|
|
15
15
|
p as Video,
|
|
16
16
|
u as _processContentResult,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
B as createRegisterComponentMessage,
|
|
18
|
+
E as fetchBuilderProps,
|
|
19
|
+
R as fetchEntries,
|
|
20
|
+
S as fetchOneEntry,
|
|
21
|
+
f as getAllContent,
|
|
22
|
+
h as getBuilderSearchParams,
|
|
23
|
+
k as getContent,
|
|
24
24
|
x as isEditing,
|
|
25
25
|
y as isPreviewing,
|
|
26
26
|
P as register,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("./index.202adcba.cjs"),r=()=>Promise.resolve().then(()=>require("./index.202adcba.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{[n.BuilderContext.key]:e.store}}});function s(e,i,p,a,d,k){const t=o.resolveComponent("block");return o.openBlock(),o.createBlock(t,{block:e.block,context:e.store,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"])}const l=n._export_sfc(c,[["render",s],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);exports.default=l;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as s } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { i as p, _ as l } from "./index.0e671c32.js";
|
|
3
|
+
const i = () => import("./index.0e671c32.js").then((e) => e.J).then((e) => e.default).catch((e) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
e
|
|
7
7
|
), e;
|
|
8
|
-
}),
|
|
8
|
+
}), m = t({
|
|
9
9
|
name: "repeated-block",
|
|
10
|
-
components: { Block: n(
|
|
11
|
-
props: ["repeatContext", "block", "registeredComponents"],
|
|
10
|
+
components: { Block: n(i) },
|
|
11
|
+
props: ["repeatContext", "block", "registeredComponents", "linkComponent"],
|
|
12
12
|
data() {
|
|
13
13
|
return { store: this.repeatContext };
|
|
14
14
|
},
|
|
@@ -19,15 +19,16 @@ const a = () => import("./index.ffc9a7bc.js").then((e) => e.D).then((e) => e.def
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
function
|
|
22
|
+
function a(e, k, d, u, C, b) {
|
|
23
23
|
const o = r("block");
|
|
24
24
|
return c(), s(o, {
|
|
25
25
|
block: e.block,
|
|
26
26
|
context: e.store,
|
|
27
|
-
registeredComponents: e.registeredComponents
|
|
28
|
-
|
|
27
|
+
registeredComponents: e.registeredComponents,
|
|
28
|
+
linkComponent: e.linkComponent
|
|
29
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]);
|
|
29
30
|
}
|
|
30
|
-
const
|
|
31
|
+
const _ = /* @__PURE__ */ l(m, [["render", a], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
_ as default
|
|
33
34
|
};
|
package/lib/edge/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component-1k2igrjdg3x[data-v-1f8aab9f]{display:flex;flex-direction:column;align-items:stretch}.div-16nol0lwi20[data-v-7be099dc]{display:flex;line-height:normal}.img-1be3j8m9ewb[data-v-58ca75d1]{opacity:1;transition:opacity .2s ease-in-out}.div-1be3j8m9ewb[data-v-58ca75d1]{width:100%;pointer-events:none;font-size:0}.div-1be3j8m9ewb-2[data-v-58ca75d1]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, resolveComponent as y, openBlock as f, createBlock as x, createCommentVNode as b } from "vue";
|
|
2
|
-
import { I as B, T as g, g as
|
|
3
|
-
import { c as r } from "./css.dd54b8f6.js";
|
|
2
|
+
import { I as B, T as g, g as d, c as u, a as _, b as r, d as m, _ as v } from "./index.0d7a2ca2.js";
|
|
4
3
|
import "node:module";
|
|
5
4
|
const C = k({
|
|
6
5
|
name: "block-styles",
|
|
@@ -11,7 +10,7 @@ const C = k({
|
|
|
11
10
|
},
|
|
12
11
|
computed: {
|
|
13
12
|
canShowBlock() {
|
|
14
|
-
const t =
|
|
13
|
+
const t = d({
|
|
15
14
|
block: this.block,
|
|
16
15
|
localState: this.context.localState,
|
|
17
16
|
rootState: this.context.rootState,
|
|
@@ -19,11 +18,11 @@ const C = k({
|
|
|
19
18
|
context: this.context.context,
|
|
20
19
|
shouldEvaluateBindings: !0
|
|
21
20
|
});
|
|
22
|
-
return
|
|
21
|
+
return u(t.hide) ? !t.hide : u(t.show) ? t.show : !0;
|
|
23
22
|
},
|
|
24
23
|
css() {
|
|
25
24
|
var i;
|
|
26
|
-
const t =
|
|
25
|
+
const t = d({
|
|
27
26
|
block: this.block,
|
|
28
27
|
localState: this.context.localState,
|
|
29
28
|
rootState: this.context.rootState,
|
|
@@ -35,25 +34,25 @@ const C = k({
|
|
|
35
34
|
), a = e == null ? void 0 : e.large, l = e == null ? void 0 : e.medium, s = e == null ? void 0 : e.small, n = t.id;
|
|
36
35
|
if (!n)
|
|
37
36
|
return "";
|
|
38
|
-
const
|
|
37
|
+
const S = a ? r({
|
|
39
38
|
className: n,
|
|
40
39
|
styles: a
|
|
41
|
-
}) : "",
|
|
40
|
+
}) : "", p = l ? r({
|
|
42
41
|
className: n,
|
|
43
42
|
styles: l,
|
|
44
|
-
mediaQuery:
|
|
43
|
+
mediaQuery: m(
|
|
45
44
|
"medium",
|
|
46
45
|
c
|
|
47
46
|
)
|
|
48
47
|
}) : "", h = s ? r({
|
|
49
48
|
className: n,
|
|
50
49
|
styles: s,
|
|
51
|
-
mediaQuery:
|
|
50
|
+
mediaQuery: m(
|
|
52
51
|
"small",
|
|
53
52
|
c
|
|
54
53
|
)
|
|
55
54
|
}) : "";
|
|
56
|
-
return [
|
|
55
|
+
return [S, p, h].join(" ");
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
});
|
|
@@ -64,7 +63,7 @@ function w(t, e, o, c, a, l) {
|
|
|
64
63
|
styles: t.css
|
|
65
64
|
}, null, 8, ["styles"])) : b("v-if", !0);
|
|
66
65
|
}
|
|
67
|
-
const
|
|
66
|
+
const z = /* @__PURE__ */ v(C, [["render", w], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-styles.vue"]]);
|
|
68
67
|
export {
|
|
69
|
-
|
|
68
|
+
z as default
|
|
70
69
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),e=require("./index.a0856b34.cjs");require("node:module");const h=s.defineComponent({name:"block-styles",components:{InlinedStyles:e.InlinedStyles},props:["block","context"],data(){return{TARGET:e.TARGET}},computed:{canShowBlock(){const t=e.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return e.checkIsDefined(t.hide)?!t.hide:e.checkIsDefined(t.show)?t.show:!0},css(){var d;const t=e.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),o=t.responsiveStyles,n=this.context.content,r=e.getSizesForBreakpoints(((d=n==null?void 0:n.meta)==null?void 0:d.breakpoints)||{}),a=o==null?void 0:o.large,i=o==null?void 0:o.medium,c=o==null?void 0:o.small,l=t.id;if(!l)return"";const u=a?e.createCssClass({className:l,styles:a}):"",S=i?e.createCssClass({className:l,styles:i,mediaQuery:e.getMaxWidthQueryForSize("medium",r)}):"",m=c?e.createCssClass({className:l,styles:c,mediaQuery:e.getMaxWidthQueryForSize("small",r)}):"";return[u,S,m].join(" ")}}});function k(t,o,n,r,a,i){const c=s.resolveComponent("inlined-styles");return t.TARGET!=="reactNative"&&t.css&&t.canShowBlock?(s.openBlock(),s.createBlock(c,{key:0,styles:t.css},null,8,["styles"])):s.createCommentVNode("v-if",!0)}const p=e._export_sfc(h,[["render",k],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-styles.vue"]]);exports.default=p;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as p, renderSlot as i } from "vue";
|
|
2
|
-
import { g as s, a as l } from "./get-block-
|
|
3
|
-
import { _ as m } from "./index.
|
|
4
|
-
import "./css.dd54b8f6.js";
|
|
2
|
+
import { g as s, a as l } from "./get-block-properties.4e3171b7.js";
|
|
3
|
+
import { _ as m } from "./index.0d7a2ca2.js";
|
|
5
4
|
import "node:module";
|
|
6
|
-
const d = () => import("./
|
|
5
|
+
const d = () => import("./index.0d7a2ca2.js").then((e) => e.H).then((e) => e.default).catch((e) => {
|
|
7
6
|
throw console.error(
|
|
8
7
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
9
8
|
e
|
|
@@ -39,7 +38,7 @@ function k(e, b, f, y, g, S) {
|
|
|
39
38
|
_: 3
|
|
40
39
|
}, 8, ["TagName", "attributes", "actionAttributes"]);
|
|
41
40
|
}
|
|
42
|
-
const
|
|
41
|
+
const $ = /* @__PURE__ */ m(u, [["render", k], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-wrapper.vue"]]);
|
|
43
42
|
export {
|
|
44
|
-
|
|
43
|
+
$ as default
|
|
45
44
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties.4076202f.cjs"),n=require("./index.a0856b34.cjs");require("node:module");const c=()=>Promise.resolve().then(()=>require("./index.a0856b34.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,u,m){const r=t.resolveComponent("dynamic-renderer");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],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-wrapper.vue"]]);exports.default=s;
|
|
@@ -4,17 +4,21 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
4
4
|
link?: any;
|
|
5
5
|
attributes?: any;
|
|
6
6
|
openLinkInNewTab?: any;
|
|
7
|
+
builderLinkComponent?: any;
|
|
7
8
|
}>, unknown, {
|
|
9
|
+
getClassPropName: () => "className" | "class";
|
|
8
10
|
filterAttrs: typeof filterAttrs;
|
|
9
11
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
10
12
|
text?: any;
|
|
11
13
|
link?: any;
|
|
12
14
|
attributes?: any;
|
|
13
15
|
openLinkInNewTab?: any;
|
|
16
|
+
builderLinkComponent?: any;
|
|
14
17
|
}>>>, {
|
|
15
18
|
readonly text?: any;
|
|
16
19
|
readonly link?: any;
|
|
17
20
|
readonly attributes?: any;
|
|
18
21
|
readonly openLinkInNewTab?: any;
|
|
22
|
+
readonly builderLinkComponent?: any;
|
|
19
23
|
}, {}>;
|
|
20
24
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { BuilderBlock } from '../../types/builder-block.js';
|
|
2
|
-
import type { BuilderComponentsProp } from '../../types/builder-props.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
3
|
type Column = {
|
|
4
4
|
blocks: BuilderBlock[];
|
|
5
5
|
width?: number;
|
|
6
|
+
link?: string;
|
|
6
7
|
};
|
|
7
8
|
type StackColumnsAt = 'tablet' | 'mobile' | 'never';
|
|
8
|
-
export interface ColumnProps extends BuilderComponentsProp {
|
|
9
|
+
export interface ColumnProps extends BuilderComponentsProp, BuilderLinkComponentProp {
|
|
9
10
|
columns?: Column[];
|
|
10
|
-
builderBlock: BuilderBlock;
|
|
11
11
|
space?: number;
|
|
12
12
|
stackColumnsAt?: StackColumnsAt;
|
|
13
13
|
reverseColumnsWhenStacked?: boolean;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import type { SizeName } from "../../constants/device-sizes.js";
|
|
2
|
+
import { mapStyleObjToStrIfNeeded } from "../../functions/get-style.js";
|
|
2
3
|
import type { Dictionary } from "../../types/typescript.js";
|
|
3
4
|
type CSSVal = string | number;
|
|
4
5
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
5
6
|
builderContext?: any;
|
|
7
|
+
builderLinkComponent?: any;
|
|
6
8
|
columns?: any;
|
|
7
9
|
builderBlock?: any;
|
|
8
10
|
builderComponents?: any;
|
|
9
|
-
js?: any;
|
|
10
11
|
space?: any;
|
|
11
12
|
stackColumnsAt?: any;
|
|
12
13
|
reverseColumnsWhenStacked?: any;
|
|
14
|
+
js?: any;
|
|
13
15
|
}>, unknown, {
|
|
14
16
|
gutterSize: number;
|
|
15
17
|
cols: any;
|
|
16
18
|
stackAt: any;
|
|
17
19
|
flexDir: string;
|
|
18
20
|
TARGET: import("../../types/targets").Target;
|
|
21
|
+
getClassPropName: () => "className" | "class";
|
|
22
|
+
mapStyleObjToStrIfNeeded: typeof mapStyleObjToStrIfNeeded;
|
|
19
23
|
}, {
|
|
20
24
|
columnsCssVars(): Dictionary<string>;
|
|
21
25
|
columnsStyles(): string;
|
|
@@ -34,21 +38,23 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
34
38
|
getWidthForBreakpointSize(size: SizeName): number;
|
|
35
39
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
36
40
|
builderContext?: any;
|
|
41
|
+
builderLinkComponent?: any;
|
|
37
42
|
columns?: any;
|
|
38
43
|
builderBlock?: any;
|
|
39
44
|
builderComponents?: any;
|
|
40
|
-
js?: any;
|
|
41
45
|
space?: any;
|
|
42
46
|
stackColumnsAt?: any;
|
|
43
47
|
reverseColumnsWhenStacked?: any;
|
|
48
|
+
js?: any;
|
|
44
49
|
}>>>, {
|
|
45
50
|
readonly builderContext?: any;
|
|
51
|
+
readonly builderLinkComponent?: any;
|
|
46
52
|
readonly columns?: any;
|
|
47
53
|
readonly builderBlock?: any;
|
|
48
54
|
readonly builderComponents?: any;
|
|
49
|
-
readonly js?: any;
|
|
50
55
|
readonly space?: any;
|
|
51
56
|
readonly stackColumnsAt?: any;
|
|
52
57
|
readonly reverseColumnsWhenStacked?: any;
|
|
58
|
+
readonly js?: any;
|
|
53
59
|
}, {}>;
|
|
54
60
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BuilderContent } from '../../types/builder-content.js';
|
|
2
|
-
import type { BuilderComponentsProp } from '../../types/builder-props.js';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderLinkComponentProp } from '../../types/builder-props.js';
|
|
3
3
|
interface SymbolInfo {
|
|
4
4
|
model?: string;
|
|
5
5
|
entry?: string;
|
|
@@ -8,7 +8,7 @@ interface SymbolInfo {
|
|
|
8
8
|
inline?: boolean;
|
|
9
9
|
dynamic?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface SymbolProps extends BuilderComponentsProp {
|
|
11
|
+
export interface SymbolProps extends BuilderComponentsProp, BuilderLinkComponentProp {
|
|
12
12
|
symbol?: SymbolInfo;
|
|
13
13
|
dataOnly?: boolean;
|
|
14
14
|
dynamic?: boolean;
|
|
@@ -3,6 +3,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
3
3
|
symbol?: any;
|
|
4
4
|
builderContext?: any;
|
|
5
5
|
attributes?: any;
|
|
6
|
+
builderLinkComponent?: any;
|
|
6
7
|
builderBlock?: any;
|
|
7
8
|
builderComponents?: any;
|
|
8
9
|
js?: any;
|
|
@@ -21,6 +22,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
21
22
|
symbol?: any;
|
|
22
23
|
builderContext?: any;
|
|
23
24
|
attributes?: any;
|
|
25
|
+
builderLinkComponent?: any;
|
|
24
26
|
builderBlock?: any;
|
|
25
27
|
builderComponents?: any;
|
|
26
28
|
js?: any;
|
|
@@ -29,6 +31,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
29
31
|
readonly symbol?: any;
|
|
30
32
|
readonly builderContext?: any;
|
|
31
33
|
readonly attributes?: any;
|
|
34
|
+
readonly builderLinkComponent?: any;
|
|
32
35
|
readonly builderBlock?: any;
|
|
33
36
|
readonly builderComponents?: any;
|
|
34
37
|
readonly js?: any;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as r, createBlock as i, resolveDynamicComponent as
|
|
2
|
-
import { _ as f, B as S, w as W } from "./index.
|
|
3
|
-
import { g as R, a as b } from "./get-block-
|
|
1
|
+
import { defineComponent as m, openBlock as r, createBlock as i, resolveDynamicComponent as k, mergeProps as u, withCtx as d, renderSlot as v, resolveComponent as P, normalizeProps as g, createElementBlock as B, Fragment as $, renderList as h, createCommentVNode as w } from "vue";
|
|
2
|
+
import { _ as f, B as S, w as W } from "./index.0d7a2ca2.js";
|
|
3
|
+
import { g as R, a as b } from "./get-block-properties.4e3171b7.js";
|
|
4
4
|
import "node:module";
|
|
5
|
-
import "./css.dd54b8f6.js";
|
|
6
5
|
const I = m({
|
|
7
6
|
name: "interactive-element",
|
|
8
7
|
props: ["wrapperProps", "includeBlockProps", "block", "context", "Wrapper"],
|
|
@@ -10,8 +9,8 @@ const I = m({
|
|
|
10
9
|
return { getBlockActions: R, getBlockProperties: b };
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
|
-
function E(e, o, p,
|
|
14
|
-
return r(), i(
|
|
12
|
+
function E(e, o, p, s, t, c) {
|
|
13
|
+
return r(), i(k(e.Wrapper), u({
|
|
15
14
|
attributes: e.includeBlockProps ? {
|
|
16
15
|
...e.getBlockProperties({
|
|
17
16
|
block: e.block,
|
|
@@ -27,31 +26,31 @@ function E(e, o, p, c, t, s) {
|
|
|
27
26
|
} : {}
|
|
28
27
|
}, e.wrapperProps), {
|
|
29
28
|
default: d(() => [
|
|
30
|
-
|
|
29
|
+
v(e.$slots, "default")
|
|
31
30
|
]),
|
|
32
31
|
_: 3
|
|
33
32
|
}, 16, ["attributes"]);
|
|
34
33
|
}
|
|
35
|
-
const
|
|
34
|
+
const a = /* @__PURE__ */ f(I, [["render", E], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/interactive-element.vue"]]), y = ({
|
|
36
35
|
componentOptions: e,
|
|
37
36
|
builderBlock: o,
|
|
38
37
|
context: p,
|
|
39
|
-
componentRef:
|
|
38
|
+
componentRef: s,
|
|
40
39
|
includeBlockProps: t,
|
|
41
|
-
isInteractive:
|
|
42
|
-
contextValue:
|
|
40
|
+
isInteractive: c,
|
|
41
|
+
contextValue: l
|
|
43
42
|
}) => {
|
|
44
43
|
const n = {
|
|
45
44
|
...e,
|
|
46
45
|
...t ? {
|
|
47
46
|
attributes: b({
|
|
48
47
|
block: o,
|
|
49
|
-
context:
|
|
48
|
+
context: l
|
|
50
49
|
})
|
|
51
50
|
} : {}
|
|
52
51
|
};
|
|
53
|
-
return
|
|
54
|
-
Wrapper:
|
|
52
|
+
return c ? {
|
|
53
|
+
Wrapper: s,
|
|
55
54
|
block: o,
|
|
56
55
|
context: p,
|
|
57
56
|
wrapperProps: e,
|
|
@@ -59,50 +58,53 @@ const l = /* @__PURE__ */ f(I, [["render", E], ["__file", "/home/runner/work/bui
|
|
|
59
58
|
} : n;
|
|
60
59
|
}, A = m({
|
|
61
60
|
name: "component-ref",
|
|
62
|
-
components: { Block: S, InteractiveElement:
|
|
61
|
+
components: { Block: S, InteractiveElement: a },
|
|
63
62
|
props: [
|
|
64
63
|
"isInteractive",
|
|
65
64
|
"componentRef",
|
|
66
65
|
"componentOptions",
|
|
67
66
|
"builderBlock",
|
|
68
67
|
"context",
|
|
68
|
+
"linkComponent",
|
|
69
69
|
"includeBlockProps",
|
|
70
70
|
"blockChildren",
|
|
71
71
|
"registeredComponents"
|
|
72
72
|
],
|
|
73
73
|
data() {
|
|
74
74
|
return {
|
|
75
|
-
Wrapper: this.isInteractive ? W(
|
|
75
|
+
Wrapper: this.isInteractive ? W(a) : this.componentRef,
|
|
76
76
|
getWrapperProps: y
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
function O(e, o, p,
|
|
81
|
-
const
|
|
82
|
-
return e.componentRef ? (r(), i(
|
|
80
|
+
function O(e, o, p, s, t, c) {
|
|
81
|
+
const l = P("block");
|
|
82
|
+
return e.componentRef ? (r(), i(k(e.Wrapper), g(u(
|
|
83
83
|
{ key: 0 },
|
|
84
84
|
e.getWrapperProps({
|
|
85
85
|
componentOptions: e.componentOptions,
|
|
86
86
|
builderBlock: e.builderBlock,
|
|
87
87
|
context: e.context,
|
|
88
88
|
componentRef: e.componentRef,
|
|
89
|
+
linkComponent: e.linkComponent,
|
|
89
90
|
includeBlockProps: e.includeBlockProps,
|
|
90
91
|
isInteractive: e.isInteractive,
|
|
91
92
|
contextValue: e.context
|
|
92
93
|
})
|
|
93
94
|
)), {
|
|
94
95
|
default: d(() => [
|
|
95
|
-
(r(!0),
|
|
96
|
+
(r(!0), B($, null, h(e.blockChildren, (n, C) => (r(), i(l, {
|
|
96
97
|
key: n.id,
|
|
97
98
|
block: n,
|
|
98
99
|
context: e.context,
|
|
99
|
-
registeredComponents: e.registeredComponents
|
|
100
|
-
|
|
100
|
+
registeredComponents: e.registeredComponents,
|
|
101
|
+
linkComponent: e.linkComponent
|
|
102
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128))
|
|
101
103
|
]),
|
|
102
104
|
_: 1
|
|
103
105
|
}, 16)) : w("v-if", !0);
|
|
104
106
|
}
|
|
105
|
-
const
|
|
107
|
+
const L = /* @__PURE__ */ f(A, [["render", O], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/component-ref/component-ref.vue"]]);
|
|
106
108
|
export {
|
|
107
|
-
|
|
109
|
+
L as default
|
|
108
110
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),c=require("./index.a0856b34.cjs"),a=require("./get-block-properties.4076202f.cjs");require("node:module");const u=o.defineComponent({name:"interactive-element",props:["wrapperProps","includeBlockProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function d(e,t,p,s,n,l){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:e.includeBlockProps?{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=c._export_sfc(u,[["render",d],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/interactive-element.vue"]]),b=({componentOptions:e,builderBlock:t,context:p,componentRef:s,includeBlockProps:n,isInteractive:l,contextValue:i})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:t,context:i})}:{}};return l?{Wrapper:s,block:t,context:p,wrapperProps:e,includeBlockProps:n}:r},f=o.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:b}}});function B(e,t,p,s,n,l){const i=o.resolveComponent("block");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.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:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(r,k)=>(o.openBlock(),o.createBlock(i,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):o.createCommentVNode("v-if",!0)}const g=c._export_sfc(f,[["render",B],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/component-ref/component-ref.vue"]]);exports.default=g;
|
|
@@ -4,11 +4,13 @@ export type BlockProps = {
|
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
6
6
|
registeredComponents: RegisteredComponents;
|
|
7
|
+
linkComponent: any;
|
|
7
8
|
};
|
|
8
9
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
9
|
-
block?: any;
|
|
10
10
|
context?: any;
|
|
11
|
+
block?: any;
|
|
11
12
|
registeredComponents?: any;
|
|
13
|
+
linkComponent?: any;
|
|
12
14
|
}>, unknown, {
|
|
13
15
|
childrenContext: any;
|
|
14
16
|
}, {
|
|
@@ -23,18 +25,21 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
23
25
|
componentRef: any;
|
|
24
26
|
componentOptions: any;
|
|
25
27
|
context: any;
|
|
28
|
+
linkComponent: any;
|
|
26
29
|
registeredComponents: any;
|
|
27
30
|
builderBlock: any;
|
|
28
31
|
includeBlockProps: boolean;
|
|
29
32
|
isInteractive: boolean;
|
|
30
33
|
};
|
|
31
34
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
32
|
-
block?: any;
|
|
33
35
|
context?: any;
|
|
36
|
+
block?: any;
|
|
34
37
|
registeredComponents?: any;
|
|
38
|
+
linkComponent?: any;
|
|
35
39
|
}>>>, {
|
|
36
|
-
readonly block?: any;
|
|
37
40
|
readonly context?: any;
|
|
41
|
+
readonly block?: any;
|
|
38
42
|
readonly registeredComponents?: any;
|
|
43
|
+
readonly linkComponent?: any;
|
|
39
44
|
}, {}>;
|
|
40
45
|
export default _default;
|
|
@@ -5,18 +5,18 @@ export type BlockStylesProps = {
|
|
|
5
5
|
context: BuilderContextInterface;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
8
|
-
block?: any;
|
|
9
8
|
context?: any;
|
|
9
|
+
block?: any;
|
|
10
10
|
}>, unknown, {
|
|
11
11
|
TARGET: import("../../../types/targets.js").Target;
|
|
12
12
|
}, {
|
|
13
13
|
canShowBlock(): boolean;
|
|
14
14
|
css(): string;
|
|
15
15
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
16
|
-
block?: any;
|
|
17
16
|
context?: any;
|
|
17
|
+
block?: any;
|
|
18
18
|
}>>>, {
|
|
19
|
-
readonly block?: any;
|
|
20
19
|
readonly context?: any;
|
|
20
|
+
readonly block?: any;
|
|
21
21
|
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -4,19 +4,19 @@ import { getBlockProperties } from "../../../functions/get-block-properties.js";
|
|
|
4
4
|
* This component renders a block's wrapper HTML element (from the block's `tagName` property).
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
7
|
-
block?: any;
|
|
8
7
|
context?: any;
|
|
8
|
+
block?: any;
|
|
9
9
|
Wrapper?: any;
|
|
10
10
|
}>, unknown, {
|
|
11
11
|
getBlockActions: typeof getBlockActions;
|
|
12
12
|
getBlockProperties: typeof getBlockProperties;
|
|
13
13
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
14
|
-
block?: any;
|
|
15
14
|
context?: any;
|
|
15
|
+
block?: any;
|
|
16
16
|
Wrapper?: any;
|
|
17
17
|
}>>>, {
|
|
18
|
-
readonly block?: any;
|
|
19
18
|
readonly context?: any;
|
|
19
|
+
readonly block?: any;
|
|
20
20
|
readonly Wrapper?: any;
|
|
21
21
|
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -14,6 +14,7 @@ export interface ComponentProps {
|
|
|
14
14
|
blockChildren: BuilderBlock[];
|
|
15
15
|
context: BuilderContextInterface;
|
|
16
16
|
registeredComponents: RegisteredComponents;
|
|
17
|
+
linkComponent: any;
|
|
17
18
|
builderBlock: BuilderBlock;
|
|
18
19
|
includeBlockProps: boolean;
|
|
19
20
|
isInteractive: boolean | undefined;
|
|
@@ -23,8 +24,7 @@ export declare const getWrapperProps: ({ componentOptions, builderBlock, context
|
|
|
23
24
|
}) => InteractiveElementProps | {
|
|
24
25
|
attributes?: {
|
|
25
26
|
'builder-id': string | undefined;
|
|
26
|
-
style: string | Partial<CSSStyleDeclaration
|
|
27
|
-
class: string;
|
|
27
|
+
style: string | Partial<CSSStyleDeclaration>;
|
|
28
28
|
href: any;
|
|
29
29
|
} | {
|
|
30
30
|
[index: string]: any;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
6
6
|
blockChildren?: any;
|
|
7
7
|
componentRef?: any;
|
|
8
8
|
componentOptions?: any;
|
|
9
|
+
linkComponent?: any;
|
|
9
10
|
builderBlock?: any;
|
|
10
11
|
isInteractive?: any;
|
|
11
12
|
}>, unknown, {
|
|
@@ -15,8 +16,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
15
16
|
}) => import("../interactive-element.vue").InteractiveElementProps | {
|
|
16
17
|
attributes?: {
|
|
17
18
|
'builder-id': string | undefined;
|
|
18
|
-
style: string | Partial<CSSStyleDeclaration
|
|
19
|
-
class: string;
|
|
19
|
+
style: string | Partial<CSSStyleDeclaration>;
|
|
20
20
|
href: any;
|
|
21
21
|
} | {
|
|
22
22
|
[index: string]: any;
|
|
@@ -31,6 +31,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
31
31
|
blockChildren?: any;
|
|
32
32
|
componentRef?: any;
|
|
33
33
|
componentOptions?: any;
|
|
34
|
+
linkComponent?: any;
|
|
34
35
|
builderBlock?: any;
|
|
35
36
|
isInteractive?: any;
|
|
36
37
|
}>>>, {
|
|
@@ -40,6 +41,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
40
41
|
readonly blockChildren?: any;
|
|
41
42
|
readonly componentRef?: any;
|
|
42
43
|
readonly componentOptions?: any;
|
|
44
|
+
readonly linkComponent?: any;
|
|
43
45
|
readonly builderBlock?: any;
|
|
44
46
|
readonly isInteractive?: any;
|
|
45
47
|
}, {}>;
|