@builder.io/sdk-vue 0.12.3 → 0.12.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/{edge/block-styles.4feb92ca.js → browser/block-styles.4b421b83.js} +5 -5
- package/lib/browser/block-styles.a73376ed.cjs +1 -0
- package/lib/browser/block-wrapper.531592ac.cjs +1 -0
- package/lib/{edge/block-wrapper.94c267ab.js → browser/block-wrapper.68a2b10b.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.a006af2a.cjs +1 -0
- package/lib/browser/{component-ref.c3fbfacf.js → component-ref.aeb58ed2.js} +26 -24
- 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/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
- 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.c632735e.js +65 -0
- package/lib/browser/get-block-properties.cb447ec3.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.6d8f74eb.cjs +165 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/{index.62a4dd7e.js → index.dae5ffb2.js} +794 -639
- package/lib/browser/index.js +8 -8
- package/lib/browser/repeated-block.19e40e3c.cjs +1 -0
- package/lib/browser/repeated-block.1daedcf0.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.d6a137a2.cjs +1 -0
- package/lib/{browser/block-styles.8d24c282.js → edge/block-styles.ff4e7cca.js} +11 -13
- package/lib/edge/block-wrapper.7680c30d.cjs +1 -0
- package/lib/{browser/block-wrapper.c5dfbc00.js → edge/block-wrapper.e888bded.js} +5 -7
- 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.c15b3af0.js → component-ref.0085cff9.js} +26 -24
- package/lib/edge/component-ref.b8948e48.cjs +1 -0
- 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/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
- 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.72a3dc12.js +64 -0
- package/lib/edge/get-block-properties.d45ba61d.cjs +1 -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.0a0c8c92.cjs +185 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/{index.6b56947b.js → index.e6d5cab7.js} +1570 -1415
- package/lib/edge/index.js +8 -8
- package/lib/edge/repeated-block.05f807ba.cjs +1 -0
- package/lib/edge/{repeated-block.76408127.js → repeated-block.2b5cb112.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.29394399.cjs +1 -0
- package/lib/node/{block-styles.b73795eb.js → block-styles.ca6e546f.js} +11 -12
- package/lib/node/{block-wrapper.8dcfcfa1.js → block-wrapper.2d100320.js} +5 -6
- package/lib/node/block-wrapper.475ef393.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.e6e92c8d.js → component-ref.8ce368f0.js} +26 -24
- package/lib/node/component-ref.e97c8def.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/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
- 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.617528c9.js +64 -0
- package/lib/node/get-block-properties.8f5406b6.cjs +1 -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.48b1738e.js → index.a0eb0257.js} +471 -316
- package/lib/node/index.c1e6d3e4.cjs +205 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +8 -8
- package/lib/node/repeated-block.7e31abfb.js +35 -0
- package/lib/node/repeated-block.c8bbbf33.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.a0585e05.cjs +0 -1
- package/lib/browser/block-wrapper.68d48f7a.cjs +0 -1
- package/lib/browser/component-ref.d00ee381.cjs +0 -1
- package/lib/browser/css.33017a13.cjs +0 -6
- package/lib/browser/css.c99b7535.js +0 -22
- package/lib/browser/dynamic-renderer.72e99722.js +0 -29
- package/lib/browser/dynamic-renderer.e95e3678.cjs +0 -1
- package/lib/browser/get-block-actions.351bce86.js +0 -76
- package/lib/browser/get-block-actions.d7726c65.cjs +0 -1
- package/lib/browser/index.8856c30a.cjs +0 -160
- package/lib/browser/repeated-block.610c249f.js +0 -34
- package/lib/browser/repeated-block.d31def44.cjs +0 -1
- package/lib/edge/block-styles.573b7b1b.cjs +0 -1
- package/lib/edge/block-wrapper.8fa7315b.cjs +0 -1
- package/lib/edge/component-ref.25ff38ac.cjs +0 -1
- package/lib/edge/css.d221cd8e.js +0 -21
- package/lib/edge/css.ec6fd2a5.cjs +0 -6
- package/lib/edge/dynamic-renderer.47f81bbb.js +0 -28
- package/lib/edge/dynamic-renderer.7abdc573.cjs +0 -1
- package/lib/edge/get-block-actions.4687c8f3.js +0 -75
- package/lib/edge/get-block-actions.ec83f582.cjs +0 -1
- package/lib/edge/index.5778aa26.cjs +0 -180
- package/lib/edge/repeated-block.29e381f4.cjs +0 -1
- package/lib/node/block-styles.35531025.cjs +0 -1
- package/lib/node/block-wrapper.047cda0b.cjs +0 -1
- package/lib/node/component-ref.4ba40051.cjs +0 -1
- package/lib/node/css.a76e2f77.cjs +0 -6
- package/lib/node/css.ed4d90da.js +0 -21
- package/lib/node/dynamic-renderer.beba4cd5.cjs +0 -1
- package/lib/node/dynamic-renderer.e6ce0b70.js +0 -29
- package/lib/node/get-block-actions.5e56d085.js +0 -75
- package/lib/node/get-block-actions.899ffab6.cjs +0 -1
- package/lib/node/index.f4ffe7ae.cjs +0 -200
- package/lib/node/repeated-block.a42031b0.cjs +0 -1
- package/lib/node/repeated-block.cc0857ed.js +0 -34
package/lib/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import {
|
|
2
|
+
import { j as n, l as r, m as o, C as i, F as g, n as c, R as l, k as m, S as C, o as d, p, V as u, v as B, s as E, G as R, x as S, y as f, z as h, D as k, A as x, q as y, r as P, t as v, u as A, E as F } from "./index.dae5ffb2.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
export {
|
|
5
5
|
n as Blocks,
|
|
@@ -14,13 +14,13 @@ export {
|
|
|
14
14
|
d as Symbol,
|
|
15
15
|
p as Text,
|
|
16
16
|
u as Video,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
B as _processContentResult,
|
|
18
|
+
E as createRegisterComponentMessage,
|
|
19
|
+
R as fetchBuilderProps,
|
|
20
|
+
S as fetchEntries,
|
|
21
|
+
f as fetchOneEntry,
|
|
22
|
+
h as getAllContent,
|
|
23
|
+
k as getBuilderSearchParams,
|
|
24
24
|
x as getContent,
|
|
25
25
|
y as isEditing,
|
|
26
26
|
P as isPreviewing,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var u=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.6d8f74eb.cjs"),r=()=>Promise.resolve().then(()=>require("./index.6d8f74eb.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,d,k,m){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],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);exports.default=l;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as p } from "vue";
|
|
3
|
+
import { i as s, _ as l } from "./index.dae5ffb2.js";
|
|
4
|
+
const i = () => import("./index.dae5ffb2.js").then((e) => e.J).then((e) => e.default).catch((e) => {
|
|
5
|
+
throw console.error(
|
|
6
|
+
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
|
+
e
|
|
8
|
+
), e;
|
|
9
|
+
}), m = t({
|
|
10
|
+
name: "repeated-block",
|
|
11
|
+
components: { Block: n(i) },
|
|
12
|
+
props: ["repeatContext", "block", "registeredComponents", "linkComponent"],
|
|
13
|
+
data() {
|
|
14
|
+
return { store: this.repeatContext };
|
|
15
|
+
},
|
|
16
|
+
provide() {
|
|
17
|
+
const e = this;
|
|
18
|
+
return {
|
|
19
|
+
[s.key]: e.store
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
function a(e, k, d, u, C, b) {
|
|
24
|
+
const o = r("block");
|
|
25
|
+
return c(), p(o, {
|
|
26
|
+
block: e.block,
|
|
27
|
+
context: e.store,
|
|
28
|
+
registeredComponents: e.registeredComponents,
|
|
29
|
+
linkComponent: e.linkComponent
|
|
30
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]);
|
|
31
|
+
}
|
|
32
|
+
const B = /* @__PURE__ */ l(m, [["render", a], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);
|
|
33
|
+
export {
|
|
34
|
+
B as default
|
|
35
|
+
};
|
package/lib/browser/style.css
CHANGED
|
@@ -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}.
|
|
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%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),e=require("./index.0a0c8c92.cjs"),h=o.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}),s=t.responsiveStyles,n=this.context.content,r=e.getSizesForBreakpoints(((d=n==null?void 0:n.meta)==null?void 0:d.breakpoints)||{}),a=s==null?void 0:s.large,i=s==null?void 0:s.medium,c=s==null?void 0:s.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,s,n,r,a,i){const c=o.resolveComponent("inlined-styles");return t.TARGET!=="reactNative"&&t.css&&t.canShowBlock?(o.openBlock(),o.createBlock(c,{key:0,styles:t.css},null,8,["styles"])):o.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,7 +1,5 @@
|
|
|
1
|
-
import "./style.css";
|
|
2
1
|
import { defineComponent as k, resolveComponent as y, openBlock as f, createBlock as x, createCommentVNode as b } from "vue";
|
|
3
|
-
import { I as B, T as g, g as
|
|
4
|
-
import { c as r } from "./css.c99b7535.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.e6d5cab7.js";
|
|
5
3
|
const C = k({
|
|
6
4
|
name: "block-styles",
|
|
7
5
|
components: { InlinedStyles: B },
|
|
@@ -11,7 +9,7 @@ const C = k({
|
|
|
11
9
|
},
|
|
12
10
|
computed: {
|
|
13
11
|
canShowBlock() {
|
|
14
|
-
const t =
|
|
12
|
+
const t = d({
|
|
15
13
|
block: this.block,
|
|
16
14
|
localState: this.context.localState,
|
|
17
15
|
rootState: this.context.rootState,
|
|
@@ -19,11 +17,11 @@ const C = k({
|
|
|
19
17
|
context: this.context.context,
|
|
20
18
|
shouldEvaluateBindings: !0
|
|
21
19
|
});
|
|
22
|
-
return
|
|
20
|
+
return u(t.hide) ? !t.hide : u(t.show) ? t.show : !0;
|
|
23
21
|
},
|
|
24
22
|
css() {
|
|
25
23
|
var i;
|
|
26
|
-
const t =
|
|
24
|
+
const t = d({
|
|
27
25
|
block: this.block,
|
|
28
26
|
localState: this.context.localState,
|
|
29
27
|
rootState: this.context.rootState,
|
|
@@ -35,25 +33,25 @@ const C = k({
|
|
|
35
33
|
), 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
34
|
if (!n)
|
|
37
35
|
return "";
|
|
38
|
-
const
|
|
36
|
+
const S = a ? r({
|
|
39
37
|
className: n,
|
|
40
38
|
styles: a
|
|
41
|
-
}) : "",
|
|
39
|
+
}) : "", p = l ? r({
|
|
42
40
|
className: n,
|
|
43
41
|
styles: l,
|
|
44
|
-
mediaQuery:
|
|
42
|
+
mediaQuery: m(
|
|
45
43
|
"medium",
|
|
46
44
|
c
|
|
47
45
|
)
|
|
48
46
|
}) : "", h = s ? r({
|
|
49
47
|
className: n,
|
|
50
48
|
styles: s,
|
|
51
|
-
mediaQuery:
|
|
49
|
+
mediaQuery: m(
|
|
52
50
|
"small",
|
|
53
51
|
c
|
|
54
52
|
)
|
|
55
53
|
}) : "";
|
|
56
|
-
return [
|
|
54
|
+
return [S, p, h].join(" ");
|
|
57
55
|
}
|
|
58
56
|
}
|
|
59
57
|
});
|
|
@@ -64,7 +62,7 @@ function w(t, e, o, c, a, l) {
|
|
|
64
62
|
styles: t.css
|
|
65
63
|
}, null, 8, ["styles"])) : b("v-if", !0);
|
|
66
64
|
}
|
|
67
|
-
const
|
|
65
|
+
const $ = /* @__PURE__ */ v(C, [["render", w], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-styles.vue"]]);
|
|
68
66
|
export {
|
|
69
|
-
|
|
67
|
+
$ as default
|
|
70
68
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties.d45ba61d.cjs"),n=require("./index.0a0c8c92.cjs"),c=()=>Promise.resolve().then(()=>require("./index.0a0c8c92.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;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./style.css";
|
|
2
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";
|
|
3
|
-
import { g as s, a as l } from "./get-block-
|
|
4
|
-
import { _ as m } from "./index.
|
|
5
|
-
import
|
|
6
|
-
const d = () => import("./dynamic-renderer.72e99722.js").then((e) => e.default).catch((e) => {
|
|
2
|
+
import { g as s, a as l } from "./get-block-properties.72a3dc12.js";
|
|
3
|
+
import { _ as m } from "./index.e6d5cab7.js";
|
|
4
|
+
const d = () => import("./index.e6d5cab7.js").then((e) => e.H).then((e) => e.default).catch((e) => {
|
|
7
5
|
throw console.error(
|
|
8
6
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
9
7
|
e
|
|
@@ -39,7 +37,7 @@ function k(e, b, f, y, g, S) {
|
|
|
39
37
|
_: 3
|
|
40
38
|
}, 8, ["TagName", "attributes", "actionAttributes"]);
|
|
41
39
|
}
|
|
42
|
-
const
|
|
40
|
+
const A = /* @__PURE__ */ m(u, [["render", k], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-wrapper.vue"]]);
|
|
43
41
|
export {
|
|
44
|
-
|
|
42
|
+
A as default
|
|
45
43
|
};
|
|
@@ -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,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as r, createBlock as
|
|
2
|
-
import { _ as f, B as S, w as W } from "./index.
|
|
3
|
-
import { g as R, a as b } from "./get-block-
|
|
4
|
-
import "./css.d221cd8e.js";
|
|
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.e6d5cab7.js";
|
|
3
|
+
import { g as R, a as b } from "./get-block-properties.72a3dc12.js";
|
|
5
4
|
const I = m({
|
|
6
5
|
name: "interactive-element",
|
|
7
6
|
props: ["wrapperProps", "includeBlockProps", "block", "context", "Wrapper"],
|
|
@@ -9,8 +8,8 @@ const I = m({
|
|
|
9
8
|
return { getBlockActions: R, getBlockProperties: b };
|
|
10
9
|
}
|
|
11
10
|
});
|
|
12
|
-
function E(e, o, p,
|
|
13
|
-
return r(),
|
|
11
|
+
function E(e, o, p, s, t, c) {
|
|
12
|
+
return r(), i(k(e.Wrapper), u({
|
|
14
13
|
attributes: e.includeBlockProps ? {
|
|
15
14
|
...e.getBlockProperties({
|
|
16
15
|
block: e.block,
|
|
@@ -26,31 +25,31 @@ function E(e, o, p, c, t, s) {
|
|
|
26
25
|
} : {}
|
|
27
26
|
}, e.wrapperProps), {
|
|
28
27
|
default: d(() => [
|
|
29
|
-
|
|
28
|
+
v(e.$slots, "default")
|
|
30
29
|
]),
|
|
31
30
|
_: 3
|
|
32
31
|
}, 16, ["attributes"]);
|
|
33
32
|
}
|
|
34
|
-
const
|
|
33
|
+
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 = ({
|
|
35
34
|
componentOptions: e,
|
|
36
35
|
builderBlock: o,
|
|
37
36
|
context: p,
|
|
38
|
-
componentRef:
|
|
37
|
+
componentRef: s,
|
|
39
38
|
includeBlockProps: t,
|
|
40
|
-
isInteractive:
|
|
41
|
-
contextValue:
|
|
39
|
+
isInteractive: c,
|
|
40
|
+
contextValue: l
|
|
42
41
|
}) => {
|
|
43
42
|
const n = {
|
|
44
43
|
...e,
|
|
45
44
|
...t ? {
|
|
46
45
|
attributes: b({
|
|
47
46
|
block: o,
|
|
48
|
-
context:
|
|
47
|
+
context: l
|
|
49
48
|
})
|
|
50
49
|
} : {}
|
|
51
50
|
};
|
|
52
|
-
return
|
|
53
|
-
Wrapper:
|
|
51
|
+
return c ? {
|
|
52
|
+
Wrapper: s,
|
|
54
53
|
block: o,
|
|
55
54
|
context: p,
|
|
56
55
|
wrapperProps: e,
|
|
@@ -58,50 +57,53 @@ const i = /* @__PURE__ */ f(I, [["render", E], ["__file", "/home/runner/work/bui
|
|
|
58
57
|
} : n;
|
|
59
58
|
}, A = m({
|
|
60
59
|
name: "component-ref",
|
|
61
|
-
components: { Block: S, InteractiveElement:
|
|
60
|
+
components: { Block: S, InteractiveElement: a },
|
|
62
61
|
props: [
|
|
63
62
|
"isInteractive",
|
|
64
63
|
"componentRef",
|
|
65
64
|
"componentOptions",
|
|
66
65
|
"builderBlock",
|
|
67
66
|
"context",
|
|
67
|
+
"linkComponent",
|
|
68
68
|
"includeBlockProps",
|
|
69
69
|
"blockChildren",
|
|
70
70
|
"registeredComponents"
|
|
71
71
|
],
|
|
72
72
|
data() {
|
|
73
73
|
return {
|
|
74
|
-
Wrapper: this.isInteractive ? W(
|
|
74
|
+
Wrapper: this.isInteractive ? W(a) : this.componentRef,
|
|
75
75
|
getWrapperProps: y
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
|
-
function O(e, o, p,
|
|
80
|
-
const
|
|
81
|
-
return e.componentRef ? (r(),
|
|
79
|
+
function O(e, o, p, s, t, c) {
|
|
80
|
+
const l = P("block");
|
|
81
|
+
return e.componentRef ? (r(), i(k(e.Wrapper), g(u(
|
|
82
82
|
{ key: 0 },
|
|
83
83
|
e.getWrapperProps({
|
|
84
84
|
componentOptions: e.componentOptions,
|
|
85
85
|
builderBlock: e.builderBlock,
|
|
86
86
|
context: e.context,
|
|
87
87
|
componentRef: e.componentRef,
|
|
88
|
+
linkComponent: e.linkComponent,
|
|
88
89
|
includeBlockProps: e.includeBlockProps,
|
|
89
90
|
isInteractive: e.isInteractive,
|
|
90
91
|
contextValue: e.context
|
|
91
92
|
})
|
|
92
93
|
)), {
|
|
93
94
|
default: d(() => [
|
|
94
|
-
(r(!0),
|
|
95
|
+
(r(!0), B($, null, h(e.blockChildren, (n, C) => (r(), i(l, {
|
|
95
96
|
key: n.id,
|
|
96
97
|
block: n,
|
|
97
98
|
context: e.context,
|
|
98
|
-
registeredComponents: e.registeredComponents
|
|
99
|
-
|
|
99
|
+
registeredComponents: e.registeredComponents,
|
|
100
|
+
linkComponent: e.linkComponent
|
|
101
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128))
|
|
100
102
|
]),
|
|
101
103
|
_: 1
|
|
102
104
|
}, 16)) : w("v-if", !0);
|
|
103
105
|
}
|
|
104
|
-
const
|
|
106
|
+
const F = /* @__PURE__ */ f(A, [["render", O], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/component-ref/component-ref.vue"]]);
|
|
105
107
|
export {
|
|
106
|
-
|
|
108
|
+
F as default
|
|
107
109
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),c=require("./index.0a0c8c92.cjs"),a=require("./get-block-properties.d45ba61d.cjs"),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 k=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:k},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?c.wrapComponentRef(k):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,m)=>(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
|
}, {}>;
|
|
@@ -11,8 +11,8 @@ export type InteractiveElementProps = {
|
|
|
11
11
|
includeBlockProps: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
14
|
-
block?: any;
|
|
15
14
|
context?: any;
|
|
15
|
+
block?: any;
|
|
16
16
|
wrapperProps?: any;
|
|
17
17
|
includeBlockProps?: any;
|
|
18
18
|
Wrapper?: any;
|
|
@@ -20,14 +20,14 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
20
20
|
getBlockActions: typeof getBlockActions;
|
|
21
21
|
getBlockProperties: typeof getBlockProperties;
|
|
22
22
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
23
|
-
block?: any;
|
|
24
23
|
context?: any;
|
|
24
|
+
block?: any;
|
|
25
25
|
wrapperProps?: any;
|
|
26
26
|
includeBlockProps?: any;
|
|
27
27
|
Wrapper?: any;
|
|
28
28
|
}>>>, {
|
|
29
|
-
readonly block?: any;
|
|
30
29
|
readonly context?: any;
|
|
30
|
+
readonly block?: any;
|
|
31
31
|
readonly wrapperProps?: any;
|
|
32
32
|
readonly includeBlockProps?: any;
|
|
33
33
|
readonly Wrapper?: any;
|