@builder.io/sdk-vue 2.0.8 → 2.0.14-1
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-nWGppwAf.js +77 -0
- package/lib/browser/block-styles-rt4v7rBl.cjs +1 -0
- package/lib/browser/{block-wrapper-H_K5XgNp.js → block-wrapper-hPYvxseU.js} +3 -3
- package/lib/browser/{block-wrapper-vI9rE_qz.cjs → block-wrapper-l_mdj42t.cjs} +1 -1
- package/lib/browser/blocks/accordion/accordion.vue.d.ts +6 -6
- package/lib/browser/blocks/button/button.vue.d.ts +3 -3
- package/lib/browser/blocks/columns/columns.vue.d.ts +9 -9
- package/lib/browser/blocks/form/form/form.vue.d.ts +9 -9
- package/lib/browser/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/browser/blocks/form/select/select.vue.d.ts +3 -3
- package/lib/browser/blocks/image/image.vue.d.ts +3 -3
- package/lib/browser/blocks/img/img.vue.d.ts +3 -3
- package/lib/browser/blocks/section/section.vue.d.ts +3 -3
- package/lib/browser/blocks/slot/slot.vue.d.ts +5 -2
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +9 -9
- package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/browser/blocks/video/video.vue.d.ts +6 -6
- package/lib/browser/{component-ref-ULmI7Z-4.js → component-ref-JlpkOrad.js} +2 -2
- package/lib/browser/{component-ref-k4s0KRD5.cjs → component-ref-dPnPtrON.cjs} +1 -1
- package/lib/browser/components/block/block.helpers.d.ts +1 -2
- package/lib/browser/components/block/block.vue.d.ts +10 -5
- package/lib/browser/components/block/components/block-styles.vue.d.ts +1 -1
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
- package/lib/browser/components/block/components/repeated-block.vue.d.ts +3 -3
- package/lib/browser/components/blocks/blocks.vue.d.ts +3 -3
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +12 -12
- package/lib/browser/components/content/content.vue.d.ts +18 -18
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -12
- package/lib/browser/components/inlined-styles.vue.d.ts +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/evaluate/node-runtime/init.d.ts +1 -0
- package/lib/browser/functions/get-processed-block.d.ts +1 -0
- package/lib/browser/functions/register-component.d.ts +1 -1
- package/lib/{node/get-block-properties-ctA1IgxF.js → browser/get-block-properties-HzVZCpxa.js} +20 -18
- package/lib/browser/get-block-properties-sInACBRh.cjs +1 -0
- package/lib/browser/index-MDNnQzZB.cjs +166 -0
- package/lib/browser/{index-wQ1FWMHJ.js → index-ZL8QUFiN.js} +1416 -1371
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +3 -3
- package/lib/browser/init.cjs +8 -0
- package/lib/browser/init.mjs +65 -0
- package/lib/browser/logger-0-1mARBa.cjs +1 -0
- package/lib/browser/logger-Hm2e1Xk_.js +12 -0
- package/lib/browser/{repeated-block-Aa1yIQkp.js → repeated-block-8EN4xN25.js} +2 -2
- package/lib/browser/{repeated-block-UKWYkgKG.cjs → repeated-block-uV-zuqkw.cjs} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/block-styles-Ta3OQAmE.cjs +1 -0
- package/lib/edge/block-styles-zRPUnWLf.js +76 -0
- package/lib/{node/block-wrapper-QqrLFWp0.cjs → edge/block-wrapper-9IWz2vxg.cjs} +1 -1
- package/lib/{node/block-wrapper-4h3CaVrk.js → edge/block-wrapper-x7ERONr-.js} +5 -5
- package/lib/edge/blocks/accordion/accordion.vue.d.ts +6 -6
- package/lib/edge/blocks/button/button.vue.d.ts +3 -3
- package/lib/edge/blocks/columns/columns.vue.d.ts +9 -9
- package/lib/edge/blocks/form/form/form.vue.d.ts +9 -9
- package/lib/edge/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/edge/blocks/form/select/select.vue.d.ts +3 -3
- package/lib/edge/blocks/image/image.vue.d.ts +3 -3
- package/lib/edge/blocks/img/img.vue.d.ts +3 -3
- package/lib/edge/blocks/section/section.vue.d.ts +3 -3
- package/lib/edge/blocks/slot/slot.vue.d.ts +5 -2
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +9 -9
- package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/edge/blocks/video/video.vue.d.ts +6 -6
- package/lib/{node/component-ref-hI62zIZA.js → edge/component-ref-JRfa9Vwo.js} +2 -2
- package/lib/{node/component-ref-NW-UB2pJ.cjs → edge/component-ref-eV0RBAzs.cjs} +1 -1
- package/lib/edge/components/block/block.helpers.d.ts +1 -2
- package/lib/edge/components/block/block.vue.d.ts +10 -5
- package/lib/edge/components/block/components/block-styles.vue.d.ts +1 -1
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
- package/lib/edge/components/block/components/repeated-block.vue.d.ts +3 -3
- package/lib/edge/components/blocks/blocks.vue.d.ts +3 -3
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +12 -12
- package/lib/edge/components/content/content.vue.d.ts +18 -18
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -12
- package/lib/edge/components/inlined-styles.vue.d.ts +3 -3
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/evaluate/node-runtime/init.d.ts +1 -0
- package/lib/edge/functions/get-processed-block.d.ts +1 -0
- package/lib/edge/functions/register-component.d.ts +1 -1
- package/lib/edge/get-block-properties-Dy3XF05J.cjs +1 -0
- package/lib/{browser/get-block-properties-IjhCV9z_.js → edge/get-block-properties-PLBPSz3W.js} +15 -15
- package/lib/edge/index-5-C3UhJz.cjs +186 -0
- package/lib/edge/{index-yARC0VI1.js → index-TGe9_80q.js} +1696 -1651
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +4 -4
- package/lib/edge/init.cjs +8 -0
- package/lib/edge/init.mjs +64 -0
- package/lib/edge/logger-I8FmJD_1.js +11 -0
- package/lib/edge/logger-U9-0vDJK.cjs +1 -0
- package/lib/edge/{repeated-block-q6gyu9cH.cjs → repeated-block-FB2jF4o_.cjs} +1 -1
- package/lib/edge/{repeated-block-IdOOvFG5.js → repeated-block-_9Gs2AOY.js} +13 -13
- package/lib/edge/style.css +1 -1
- package/lib/node/block-styles-gLB-jSXN.js +76 -0
- package/lib/node/block-styles-u7KGnyuc.cjs +1 -0
- package/lib/{edge/block-wrapper-P5w2jQ_u.cjs → node/block-wrapper-cCYzfiv5.cjs} +1 -1
- package/lib/{edge/block-wrapper-M3goYBkP.js → node/block-wrapper-frfIIST_.js} +3 -3
- package/lib/node/blocks/accordion/accordion.vue.d.ts +6 -6
- package/lib/node/blocks/button/button.vue.d.ts +3 -3
- package/lib/node/blocks/columns/columns.vue.d.ts +9 -9
- package/lib/node/blocks/form/form/form.vue.d.ts +9 -9
- package/lib/node/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/node/blocks/form/select/select.vue.d.ts +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +3 -3
- package/lib/node/blocks/img/img.vue.d.ts +3 -3
- package/lib/node/blocks/section/section.vue.d.ts +3 -3
- package/lib/node/blocks/slot/slot.vue.d.ts +5 -2
- package/lib/node/blocks/symbol/symbol.vue.d.ts +9 -9
- package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/node/blocks/video/video.vue.d.ts +6 -6
- package/lib/{edge/component-ref-ZtKc8UMX.js → node/component-ref-IbarjSnq.js} +2 -2
- package/lib/{edge/component-ref-EPsyn_2c.cjs → node/component-ref-ZlBAzimq.cjs} +1 -1
- package/lib/node/components/block/block.helpers.d.ts +1 -2
- package/lib/node/components/block/block.vue.d.ts +10 -5
- package/lib/node/components/block/components/block-styles.vue.d.ts +1 -1
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
- package/lib/node/components/block/components/repeated-block.vue.d.ts +3 -3
- package/lib/node/components/blocks/blocks.vue.d.ts +3 -3
- package/lib/node/components/content/components/enable-editor.vue.d.ts +12 -12
- package/lib/node/components/content/content.vue.d.ts +18 -18
- package/lib/node/components/content-variants/content-variants.vue.d.ts +12 -12
- package/lib/node/components/inlined-styles.vue.d.ts +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/evaluate/node-runtime/init.d.ts +1 -0
- package/lib/node/functions/get-processed-block.d.ts +1 -0
- package/lib/node/functions/register-component.d.ts +1 -1
- package/lib/node/get-block-properties-2Q2lr9bu.cjs +1 -0
- package/lib/{edge/get-block-properties-zzQ9xBK7.js → node/get-block-properties-QIsIgfnu.js} +17 -16
- package/lib/node/{index-xdY2kzl8.js → index-BugETl2c.js} +1537 -1702
- package/lib/node/index-s5vEnK-M.cjs +166 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +17 -16
- package/lib/node/init.cjs +1 -0
- package/lib/node/init.mjs +11 -0
- package/lib/node/node-runtime-0rF8vJwU.js +233 -0
- package/lib/node/node-runtime-Bqb5TnyM.cjs +48 -0
- package/lib/node/{repeated-block-ndxvinZD.js → repeated-block-Z-_chLeZ.js} +13 -13
- package/lib/node/{repeated-block-T2ld1sa9.cjs → repeated-block-ZpVu-xdw.cjs} +1 -1
- package/lib/node/style.css +1 -1
- package/package.json +7 -3
- package/lib/browser/block-styles-UWiLqSPk.js +0 -90
- package/lib/browser/block-styles-mtiWQW_J.cjs +0 -1
- package/lib/browser/get-block-properties-JqBN5X7_.cjs +0 -1
- package/lib/browser/index-TIoYRvmr.cjs +0 -166
- package/lib/edge/block-styles-4MJqQlwZ.cjs +0 -1
- package/lib/edge/block-styles-P44kj2Ws.js +0 -89
- package/lib/edge/get-block-properties-N40WxPwN.cjs +0 -1
- package/lib/edge/index-hw9mu6mD.cjs +0 -186
- package/lib/node/block-styles-HZaZpVMf.cjs +0 -1
- package/lib/node/block-styles-brJAybxf.js +0 -89
- package/lib/node/get-block-properties-W3cxXL5S.cjs +0 -1
- package/lib/node/index-HPinODNY.cjs +0 -213
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { defineComponent as C, resolveComponent as g, openBlock as $, createBlock as v, createCommentVNode as B } from "vue";
|
|
3
|
+
import { _, c as h, g as T, a as l, b as k, d as w, e as I } from "./index-ZL8QUFiN.js";
|
|
4
|
+
import { T as N } from "./logger-Hm2e1Xk_.js";
|
|
5
|
+
const z = C({
|
|
6
|
+
name: "block-styles",
|
|
7
|
+
components: { InlinedStyles: _ },
|
|
8
|
+
props: ["block", "context"],
|
|
9
|
+
data() {
|
|
10
|
+
return { TARGET: N };
|
|
11
|
+
},
|
|
12
|
+
computed: {
|
|
13
|
+
canShowBlock() {
|
|
14
|
+
const e = this.block;
|
|
15
|
+
return h(e.hide) ? !e.hide : h(e.show) ? e.show : !0;
|
|
16
|
+
},
|
|
17
|
+
css() {
|
|
18
|
+
var p, u, y;
|
|
19
|
+
const e = this.block, s = e.responsiveStyles, n = this.context.content, r = T(
|
|
20
|
+
((p = n == null ? void 0 : n.meta) == null ? void 0 : p.breakpoints) || {}
|
|
21
|
+
), c = s == null ? void 0 : s.large, i = s == null ? void 0 : s.medium, a = s == null ? void 0 : s.small, o = e.id;
|
|
22
|
+
if (!o)
|
|
23
|
+
return "";
|
|
24
|
+
const S = c ? l({
|
|
25
|
+
className: o,
|
|
26
|
+
styles: c
|
|
27
|
+
}) : "", f = i ? l({
|
|
28
|
+
className: o,
|
|
29
|
+
styles: i,
|
|
30
|
+
mediaQuery: k(
|
|
31
|
+
"medium",
|
|
32
|
+
r
|
|
33
|
+
)
|
|
34
|
+
}) : "", b = a ? l({
|
|
35
|
+
className: o,
|
|
36
|
+
styles: a,
|
|
37
|
+
mediaQuery: k(
|
|
38
|
+
"small",
|
|
39
|
+
r
|
|
40
|
+
)
|
|
41
|
+
}) : "", t = e.animations && e.animations.find((m) => m.trigger === "hover");
|
|
42
|
+
let d = "";
|
|
43
|
+
if (t) {
|
|
44
|
+
const m = ((y = (u = t.steps) == null ? void 0 : u[1]) == null ? void 0 : y.styles) || {};
|
|
45
|
+
d = l({
|
|
46
|
+
className: `${o}:hover`,
|
|
47
|
+
styles: {
|
|
48
|
+
...m,
|
|
49
|
+
transition: `all ${t.duration}s ${w(
|
|
50
|
+
t.easing
|
|
51
|
+
)}`,
|
|
52
|
+
transitionDelay: t.delay ? `${t.delay}s` : "0s"
|
|
53
|
+
}
|
|
54
|
+
}) || "";
|
|
55
|
+
}
|
|
56
|
+
return [
|
|
57
|
+
S,
|
|
58
|
+
f,
|
|
59
|
+
b,
|
|
60
|
+
d
|
|
61
|
+
].join(" ");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
function A(e, s, n, r, c, i) {
|
|
66
|
+
const a = g("InlinedStyles");
|
|
67
|
+
return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? ($(), v(a, {
|
|
68
|
+
key: 0,
|
|
69
|
+
id: "builderio-block",
|
|
70
|
+
styles: e.css,
|
|
71
|
+
nonce: e.context.nonce
|
|
72
|
+
}, null, 8, ["styles", "nonce"])) : B("", !0);
|
|
73
|
+
}
|
|
74
|
+
const F = /* @__PURE__ */ I(z, [["render", A]]);
|
|
75
|
+
export {
|
|
76
|
+
F as default
|
|
77
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var B=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),s=require("./index-MDNnQzZB.cjs"),f=require("./logger-0-1mARBa.cjs"),g=r.defineComponent({name:"block-styles",components:{InlinedStyles:s._sfc_main},props:["block","context"],data(){return{TARGET:f.TARGET}},computed:{canShowBlock(){const e=this.block;return s.checkIsDefined(e.hide)?!e.hide:s.checkIsDefined(e.show)?e.show:!0},css(){var y,p,h;const e=this.block,t=e.responsiveStyles,l=this.context.content,a=s.getSizesForBreakpoints(((y=l==null?void 0:l.meta)==null?void 0:y.breakpoints)||{}),i=t==null?void 0:t.large,d=t==null?void 0:t.medium,c=t==null?void 0:t.small,n=e.id;if(!n)return"";const S=i?s.createCssClass({className:n,styles:i}):"",k=d?s.createCssClass({className:n,styles:d,mediaQuery:s.getMaxWidthQueryForSize("medium",a)}):"",C=c?s.createCssClass({className:n,styles:c,mediaQuery:s.getMaxWidthQueryForSize("small",a)}):"",o=e.animations&&e.animations.find(m=>m.trigger==="hover");let u="";if(o){const m=((h=(p=o.steps)==null?void 0:p[1])==null?void 0:h.styles)||{};u=s.createCssClass({className:`${n}:hover`,styles:{...m,transition:`all ${o.duration}s ${s.camelToKebabCase(o.easing)}`,transitionDelay:o.delay?`${o.delay}s`:"0s"}})||""}return[S,k,C,u].join(" ")}}});function b(e,t,l,a,i,d){const c=r.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(r.openBlock(),r.createBlock(c,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):r.createCommentVNode("",!0)}const v=s._export_sfc(g,[["render",b]]);exports.default=v;
|
|
@@ -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 {
|
|
5
|
-
const d = () => import("./index-
|
|
3
|
+
import { g as s, a as l } from "./get-block-properties-HzVZCpxa.js";
|
|
4
|
+
import { e as m } from "./index-ZL8QUFiN.js";
|
|
5
|
+
const d = () => import("./index-ZL8QUFiN.js").then((e) => e.D).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-sInACBRh.cjs"),n=require("./index-MDNnQzZB.cjs"),c=()=>Promise.resolve().then(()=>require("./index-MDNnQzZB.cjs")).then(e=>e.dynamicRenderer).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",e),e}),a=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(c)},props:["Wrapper","block","context"],data(){return{getBlockActions:o.getBlockActions,getBlockProperties:o.getBlockProperties}}});function i(e,l,p,d,m,u){const r=t.resolveComponent("DynamicRenderer");return t.openBlock(),t.createBlock(r,{TagName:e.Wrapper,attributes:e.getBlockProperties({block:e.block,context:e.context}),actionAttributes:e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const s=n._export_sfc(a,[["render",i]]);exports.default=s;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Dictionary } from "../../types/typescript";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
builderContext?: any;
|
|
4
|
-
grid?: any;
|
|
5
|
-
builderLinkComponent?: any;
|
|
6
4
|
builderComponents?: any;
|
|
7
5
|
builderBlock?: any;
|
|
6
|
+
grid?: any;
|
|
7
|
+
builderLinkComponent?: any;
|
|
8
8
|
items?: any;
|
|
9
9
|
oneAtATime?: any;
|
|
10
10
|
gridRowWidth?: any;
|
|
@@ -23,19 +23,19 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
23
23
|
onClick(index: number): void;
|
|
24
24
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
25
25
|
builderContext?: any;
|
|
26
|
-
grid?: any;
|
|
27
|
-
builderLinkComponent?: any;
|
|
28
26
|
builderComponents?: any;
|
|
29
27
|
builderBlock?: any;
|
|
28
|
+
grid?: any;
|
|
29
|
+
builderLinkComponent?: any;
|
|
30
30
|
items?: any;
|
|
31
31
|
oneAtATime?: any;
|
|
32
32
|
gridRowWidth?: any;
|
|
33
33
|
}>>>, {
|
|
34
34
|
readonly builderContext?: any;
|
|
35
|
-
readonly grid?: any;
|
|
36
|
-
readonly builderLinkComponent?: any;
|
|
37
35
|
readonly builderComponents?: any;
|
|
38
36
|
readonly builderBlock?: any;
|
|
37
|
+
readonly grid?: any;
|
|
38
|
+
readonly builderLinkComponent?: any;
|
|
39
39
|
readonly items?: any;
|
|
40
40
|
readonly oneAtATime?: any;
|
|
41
41
|
readonly gridRowWidth?: any;
|
|
@@ -2,9 +2,9 @@ import { filterAttrs } from "../helpers";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
text?: any;
|
|
4
4
|
link?: any;
|
|
5
|
-
builderLinkComponent?: any;
|
|
6
5
|
attributes?: any;
|
|
7
6
|
openLinkInNewTab?: any;
|
|
7
|
+
builderLinkComponent?: any;
|
|
8
8
|
}>, unknown, {
|
|
9
9
|
filterAttrs: typeof filterAttrs;
|
|
10
10
|
}, {}, {
|
|
@@ -18,14 +18,14 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
18
18
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
19
19
|
text?: any;
|
|
20
20
|
link?: any;
|
|
21
|
-
builderLinkComponent?: any;
|
|
22
21
|
attributes?: any;
|
|
23
22
|
openLinkInNewTab?: any;
|
|
23
|
+
builderLinkComponent?: any;
|
|
24
24
|
}>>>, {
|
|
25
25
|
readonly text?: any;
|
|
26
26
|
readonly link?: any;
|
|
27
|
-
readonly builderLinkComponent?: any;
|
|
28
27
|
readonly attributes?: any;
|
|
29
28
|
readonly openLinkInNewTab?: any;
|
|
29
|
+
readonly builderLinkComponent?: any;
|
|
30
30
|
}, {}>;
|
|
31
31
|
export default _default;
|
|
@@ -5,12 +5,12 @@ type CSSVal = string | number;
|
|
|
5
5
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
6
6
|
builderContext?: any;
|
|
7
7
|
columns?: any;
|
|
8
|
-
builderLinkComponent?: any;
|
|
9
|
-
builderComponents?: any;
|
|
10
|
-
builderBlock?: any;
|
|
11
8
|
space?: any;
|
|
12
9
|
stackColumnsAt?: any;
|
|
13
10
|
reverseColumnsWhenStacked?: any;
|
|
11
|
+
builderComponents?: any;
|
|
12
|
+
builderBlock?: any;
|
|
13
|
+
builderLinkComponent?: any;
|
|
14
14
|
}>, unknown, {
|
|
15
15
|
gutterSize: number;
|
|
16
16
|
cols: any;
|
|
@@ -41,20 +41,20 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
41
41
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
42
42
|
builderContext?: any;
|
|
43
43
|
columns?: any;
|
|
44
|
-
builderLinkComponent?: any;
|
|
45
|
-
builderComponents?: any;
|
|
46
|
-
builderBlock?: any;
|
|
47
44
|
space?: any;
|
|
48
45
|
stackColumnsAt?: any;
|
|
49
46
|
reverseColumnsWhenStacked?: any;
|
|
47
|
+
builderComponents?: any;
|
|
48
|
+
builderBlock?: any;
|
|
49
|
+
builderLinkComponent?: any;
|
|
50
50
|
}>>>, {
|
|
51
51
|
readonly builderContext?: any;
|
|
52
52
|
readonly columns?: any;
|
|
53
|
-
readonly builderLinkComponent?: any;
|
|
54
|
-
readonly builderComponents?: any;
|
|
55
|
-
readonly builderBlock?: any;
|
|
56
53
|
readonly space?: any;
|
|
57
54
|
readonly stackColumnsAt?: any;
|
|
58
55
|
readonly reverseColumnsWhenStacked?: any;
|
|
56
|
+
readonly builderComponents?: any;
|
|
57
|
+
readonly builderBlock?: any;
|
|
58
|
+
readonly builderLinkComponent?: any;
|
|
59
59
|
}, {}>;
|
|
60
60
|
export default _default;
|
|
@@ -33,10 +33,11 @@ export type FormState = "unsubmitted" | "sending" | "success" | "error";
|
|
|
33
33
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
34
34
|
name?: any;
|
|
35
35
|
builderContext?: any;
|
|
36
|
-
|
|
36
|
+
attributes?: any;
|
|
37
37
|
builderComponents?: any;
|
|
38
38
|
builderBlock?: any;
|
|
39
|
-
|
|
39
|
+
method?: any;
|
|
40
|
+
builderLinkComponent?: any;
|
|
40
41
|
previewState?: any;
|
|
41
42
|
sendWithJs?: any;
|
|
42
43
|
sendSubmissionsTo?: any;
|
|
@@ -44,7 +45,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
44
45
|
customHeaders?: any;
|
|
45
46
|
contentType?: any;
|
|
46
47
|
sendSubmissionsToEmail?: any;
|
|
47
|
-
method?: any;
|
|
48
48
|
errorMessagePath?: any;
|
|
49
49
|
resetFormOnSubmit?: any;
|
|
50
50
|
successUrl?: any;
|
|
@@ -64,10 +64,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
64
64
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
65
65
|
name?: any;
|
|
66
66
|
builderContext?: any;
|
|
67
|
-
|
|
67
|
+
attributes?: any;
|
|
68
68
|
builderComponents?: any;
|
|
69
69
|
builderBlock?: any;
|
|
70
|
-
|
|
70
|
+
method?: any;
|
|
71
|
+
builderLinkComponent?: any;
|
|
71
72
|
previewState?: any;
|
|
72
73
|
sendWithJs?: any;
|
|
73
74
|
sendSubmissionsTo?: any;
|
|
@@ -75,7 +76,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
75
76
|
customHeaders?: any;
|
|
76
77
|
contentType?: any;
|
|
77
78
|
sendSubmissionsToEmail?: any;
|
|
78
|
-
method?: any;
|
|
79
79
|
errorMessagePath?: any;
|
|
80
80
|
resetFormOnSubmit?: any;
|
|
81
81
|
successUrl?: any;
|
|
@@ -86,10 +86,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
86
86
|
}>>>, {
|
|
87
87
|
readonly name?: any;
|
|
88
88
|
readonly builderContext?: any;
|
|
89
|
-
readonly
|
|
89
|
+
readonly attributes?: any;
|
|
90
90
|
readonly builderComponents?: any;
|
|
91
91
|
readonly builderBlock?: any;
|
|
92
|
-
readonly
|
|
92
|
+
readonly method?: any;
|
|
93
|
+
readonly builderLinkComponent?: any;
|
|
93
94
|
readonly previewState?: any;
|
|
94
95
|
readonly sendWithJs?: any;
|
|
95
96
|
readonly sendSubmissionsTo?: any;
|
|
@@ -97,7 +98,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
97
98
|
readonly customHeaders?: any;
|
|
98
99
|
readonly contentType?: any;
|
|
99
100
|
readonly sendSubmissionsToEmail?: any;
|
|
100
|
-
readonly method?: any;
|
|
101
101
|
readonly errorMessagePath?: any;
|
|
102
102
|
readonly resetFormOnSubmit?: any;
|
|
103
103
|
readonly successUrl?: any;
|
|
@@ -16,9 +16,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
16
16
|
name?: any;
|
|
17
17
|
value?: any;
|
|
18
18
|
attributes?: any;
|
|
19
|
+
type?: any;
|
|
19
20
|
defaultValue?: any;
|
|
20
21
|
placeholder?: any;
|
|
21
|
-
type?: any;
|
|
22
22
|
required?: any;
|
|
23
23
|
}>, unknown, {
|
|
24
24
|
isEditing: typeof isEditing;
|
|
@@ -27,17 +27,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
27
27
|
name?: any;
|
|
28
28
|
value?: any;
|
|
29
29
|
attributes?: any;
|
|
30
|
+
type?: any;
|
|
30
31
|
defaultValue?: any;
|
|
31
32
|
placeholder?: any;
|
|
32
|
-
type?: any;
|
|
33
33
|
required?: any;
|
|
34
34
|
}>>>, {
|
|
35
35
|
readonly name?: any;
|
|
36
36
|
readonly value?: any;
|
|
37
37
|
readonly attributes?: any;
|
|
38
|
+
readonly type?: any;
|
|
38
39
|
readonly defaultValue?: any;
|
|
39
40
|
readonly placeholder?: any;
|
|
40
|
-
readonly type?: any;
|
|
41
41
|
readonly required?: any;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export default _default;
|
|
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
18
18
|
name?: any;
|
|
19
19
|
value?: any;
|
|
20
20
|
attributes?: any;
|
|
21
|
+
options?: any;
|
|
21
22
|
defaultValue?: any;
|
|
22
23
|
required?: any;
|
|
23
|
-
options?: any;
|
|
24
24
|
}>, unknown, {
|
|
25
25
|
isEditing: typeof isEditing;
|
|
26
26
|
filterAttrs: typeof filterAttrs;
|
|
@@ -28,15 +28,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
28
28
|
name?: any;
|
|
29
29
|
value?: any;
|
|
30
30
|
attributes?: any;
|
|
31
|
+
options?: any;
|
|
31
32
|
defaultValue?: any;
|
|
32
33
|
required?: any;
|
|
33
|
-
options?: any;
|
|
34
34
|
}>>>, {
|
|
35
35
|
readonly name?: any;
|
|
36
36
|
readonly value?: any;
|
|
37
37
|
readonly attributes?: any;
|
|
38
|
+
readonly options?: any;
|
|
38
39
|
readonly defaultValue?: any;
|
|
39
40
|
readonly required?: any;
|
|
40
|
-
readonly options?: any;
|
|
41
41
|
}, {}>;
|
|
42
42
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
2
|
image?: any;
|
|
3
3
|
className?: any;
|
|
4
|
+
builderBlock?: any;
|
|
4
5
|
aspectRatio?: any;
|
|
5
6
|
backgroundPosition?: any;
|
|
6
7
|
backgroundSize?: any;
|
|
7
|
-
builderBlock?: any;
|
|
8
8
|
src?: any;
|
|
9
9
|
srcset?: any;
|
|
10
10
|
noWebp?: any;
|
|
@@ -25,10 +25,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
25
25
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
26
26
|
image?: any;
|
|
27
27
|
className?: any;
|
|
28
|
+
builderBlock?: any;
|
|
28
29
|
aspectRatio?: any;
|
|
29
30
|
backgroundPosition?: any;
|
|
30
31
|
backgroundSize?: any;
|
|
31
|
-
builderBlock?: any;
|
|
32
32
|
src?: any;
|
|
33
33
|
srcset?: any;
|
|
34
34
|
noWebp?: any;
|
|
@@ -39,10 +39,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
39
39
|
}>>>, {
|
|
40
40
|
readonly image?: any;
|
|
41
41
|
readonly className?: any;
|
|
42
|
+
readonly builderBlock?: any;
|
|
42
43
|
readonly aspectRatio?: any;
|
|
43
44
|
readonly backgroundPosition?: any;
|
|
44
45
|
readonly backgroundSize?: any;
|
|
45
|
-
readonly builderBlock?: any;
|
|
46
46
|
readonly src?: any;
|
|
47
47
|
readonly srcset?: any;
|
|
48
48
|
readonly noWebp?: any;
|
|
@@ -13,9 +13,9 @@ export interface ImgProps {
|
|
|
13
13
|
}
|
|
14
14
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
15
15
|
image?: any;
|
|
16
|
+
attributes?: any;
|
|
16
17
|
backgroundPosition?: any;
|
|
17
18
|
backgroundSize?: any;
|
|
18
|
-
attributes?: any;
|
|
19
19
|
altText?: any;
|
|
20
20
|
imgSrc?: any;
|
|
21
21
|
}>, unknown, {
|
|
@@ -23,16 +23,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
23
23
|
filterAttrs: typeof filterAttrs;
|
|
24
24
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
25
25
|
image?: any;
|
|
26
|
+
attributes?: any;
|
|
26
27
|
backgroundPosition?: any;
|
|
27
28
|
backgroundSize?: any;
|
|
28
|
-
attributes?: any;
|
|
29
29
|
altText?: any;
|
|
30
30
|
imgSrc?: any;
|
|
31
31
|
}>>>, {
|
|
32
32
|
readonly image?: any;
|
|
33
|
+
readonly attributes?: any;
|
|
33
34
|
readonly backgroundPosition?: any;
|
|
34
35
|
readonly backgroundSize?: any;
|
|
35
|
-
readonly attributes?: any;
|
|
36
36
|
readonly altText?: any;
|
|
37
37
|
readonly imgSrc?: any;
|
|
38
38
|
}, {}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { filterAttrs } from "../helpers";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
|
-
maxWidth?: any;
|
|
4
3
|
attributes?: any;
|
|
4
|
+
maxWidth?: any;
|
|
5
5
|
}>, unknown, {
|
|
6
6
|
filterAttrs: typeof filterAttrs;
|
|
7
7
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
8
|
-
maxWidth?: any;
|
|
9
8
|
attributes?: any;
|
|
9
|
+
maxWidth?: any;
|
|
10
10
|
}>>>, {
|
|
11
|
-
readonly maxWidth?: any;
|
|
12
11
|
readonly attributes?: any;
|
|
12
|
+
readonly maxWidth?: any;
|
|
13
13
|
}, {}>;
|
|
14
14
|
export default _default;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import type { BuilderDataProps } from "../../types/builder-props";
|
|
2
|
-
export type DropzoneProps = BuilderDataProps & {
|
|
1
|
+
import type { BuilderComponentsProp, BuilderDataProps } from "../../types/builder-props";
|
|
2
|
+
export type DropzoneProps = BuilderDataProps & BuilderComponentsProp & {
|
|
3
3
|
name: string;
|
|
4
4
|
attributes: any;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
7
7
|
name?: any;
|
|
8
8
|
builderContext?: any;
|
|
9
|
+
builderComponents?: any;
|
|
9
10
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
10
11
|
name?: any;
|
|
11
12
|
builderContext?: any;
|
|
13
|
+
builderComponents?: any;
|
|
12
14
|
}>>>, {
|
|
13
15
|
readonly name?: any;
|
|
14
16
|
readonly builderContext?: any;
|
|
17
|
+
readonly builderComponents?: any;
|
|
15
18
|
}, {}>;
|
|
16
19
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import { filterAttrs } from "../helpers";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
symbol?: any;
|
|
4
4
|
builderContext?: any;
|
|
5
|
-
builderLinkComponent?: any;
|
|
6
|
-
builderComponents?: any;
|
|
7
|
-
builderBlock?: any;
|
|
8
5
|
attributes?: any;
|
|
6
|
+
builderComponents?: any;
|
|
9
7
|
dynamic?: any;
|
|
8
|
+
builderBlock?: any;
|
|
9
|
+
builderLinkComponent?: any;
|
|
10
10
|
}>, unknown, {
|
|
11
11
|
contentToUse: any;
|
|
12
12
|
filterAttrs: typeof filterAttrs;
|
|
@@ -22,18 +22,18 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
22
22
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
23
23
|
symbol?: any;
|
|
24
24
|
builderContext?: any;
|
|
25
|
-
builderLinkComponent?: any;
|
|
26
|
-
builderComponents?: any;
|
|
27
|
-
builderBlock?: any;
|
|
28
25
|
attributes?: any;
|
|
26
|
+
builderComponents?: any;
|
|
29
27
|
dynamic?: any;
|
|
28
|
+
builderBlock?: any;
|
|
29
|
+
builderLinkComponent?: any;
|
|
30
30
|
}>>>, {
|
|
31
31
|
readonly symbol?: any;
|
|
32
32
|
readonly builderContext?: any;
|
|
33
|
-
readonly builderLinkComponent?: any;
|
|
34
|
-
readonly builderComponents?: any;
|
|
35
|
-
readonly builderBlock?: any;
|
|
36
33
|
readonly attributes?: any;
|
|
34
|
+
readonly builderComponents?: any;
|
|
37
35
|
readonly dynamic?: any;
|
|
36
|
+
readonly builderBlock?: any;
|
|
37
|
+
readonly builderLinkComponent?: any;
|
|
38
38
|
}, {}>;
|
|
39
39
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
2
|
builderContext?: any;
|
|
3
|
-
builderLinkComponent?: any;
|
|
4
3
|
builderComponents?: any;
|
|
5
4
|
builderBlock?: any;
|
|
5
|
+
builderLinkComponent?: any;
|
|
6
6
|
tabs?: any;
|
|
7
7
|
activeTabStyle?: any;
|
|
8
8
|
defaultActiveTab?: any;
|
|
@@ -15,9 +15,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
15
15
|
onClick(index: number): void;
|
|
16
16
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
17
17
|
builderContext?: any;
|
|
18
|
-
builderLinkComponent?: any;
|
|
19
18
|
builderComponents?: any;
|
|
20
19
|
builderBlock?: any;
|
|
20
|
+
builderLinkComponent?: any;
|
|
21
21
|
tabs?: any;
|
|
22
22
|
activeTabStyle?: any;
|
|
23
23
|
defaultActiveTab?: any;
|
|
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
25
25
|
tabHeaderLayout?: any;
|
|
26
26
|
}>>>, {
|
|
27
27
|
readonly builderContext?: any;
|
|
28
|
-
readonly builderLinkComponent?: any;
|
|
29
28
|
readonly builderComponents?: any;
|
|
30
29
|
readonly builderBlock?: any;
|
|
30
|
+
readonly builderLinkComponent?: any;
|
|
31
31
|
readonly tabs?: any;
|
|
32
32
|
readonly activeTabStyle?: any;
|
|
33
33
|
readonly defaultActiveTab?: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
2
|
video?: any;
|
|
3
|
+
attributes?: any;
|
|
4
|
+
builderBlock?: any;
|
|
3
5
|
aspectRatio?: any;
|
|
4
6
|
position?: any;
|
|
5
|
-
builderBlock?: any;
|
|
6
|
-
attributes?: any;
|
|
7
7
|
fitContent?: any;
|
|
8
8
|
lazyLoad?: any;
|
|
9
9
|
posterImage?: any;
|
|
@@ -31,10 +31,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
31
31
|
};
|
|
32
32
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
33
33
|
video?: any;
|
|
34
|
+
attributes?: any;
|
|
35
|
+
builderBlock?: any;
|
|
34
36
|
aspectRatio?: any;
|
|
35
37
|
position?: any;
|
|
36
|
-
builderBlock?: any;
|
|
37
|
-
attributes?: any;
|
|
38
38
|
fitContent?: any;
|
|
39
39
|
lazyLoad?: any;
|
|
40
40
|
posterImage?: any;
|
|
@@ -47,10 +47,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
47
47
|
preload?: any;
|
|
48
48
|
}>>>, {
|
|
49
49
|
readonly video?: any;
|
|
50
|
+
readonly attributes?: any;
|
|
51
|
+
readonly builderBlock?: any;
|
|
50
52
|
readonly aspectRatio?: any;
|
|
51
53
|
readonly position?: any;
|
|
52
|
-
readonly builderBlock?: any;
|
|
53
|
-
readonly attributes?: any;
|
|
54
54
|
readonly fitContent?: any;
|
|
55
55
|
readonly lazyLoad?: any;
|
|
56
56
|
readonly posterImage?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as m, openBlock as r, createBlock as a, resolveDynamicComponent as k, mergeProps as u, withCtx as d, renderSlot as h, resolveComponent as B, normalizeProps as P, createElementBlock as g, Fragment as $, renderList as v, createCommentVNode as S } from "vue";
|
|
3
|
-
import { f, B as W, w } from "./index-
|
|
4
|
-
import { a as b, g as R } from "./get-block-properties-
|
|
3
|
+
import { e as f, B as W, w } from "./index-ZL8QUFiN.js";
|
|
4
|
+
import { a as b, g as R } from "./get-block-properties-HzVZCpxa.js";
|
|
5
5
|
const x = m({
|
|
6
6
|
name: "interactive-element",
|
|
7
7
|
props: ["includeBlockProps", "block", "context", "wrapperProps", "Wrapper"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-
|
|
1
|
+
var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-MDNnQzZB.cjs"),a=require("./get-block-properties-sInACBRh.cjs"),u=t.defineComponent({name:"interactive-element",props:["includeBlockProps","block","context","wrapperProps","Wrapper"],computed:{attributes(){return this.includeBlockProps?{...a.getBlockProperties({block:this.block,context:this.context}),...a.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}}}});function d(e,o,p,s,n,i){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({attributes:e.attributes},e.wrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=c._export_sfc(u,[["render",d]]),f=({componentOptions:e,builderBlock:o,context:p,componentRef:s,includeBlockProps:n,isInteractive:i,contextValue:l})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:o,context:l})}:{}};return i?{Wrapper:s,block:o,context:p,wrapperProps:e,includeBlockProps:n}:r},B=t.defineComponent({name:"component-ref",components:{Block:c.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?c.wrapComponentRef(m):this.componentRef,getWrapperProps:f}}});function b(e,o,p,s,n,i){const l=t.resolveComponent("Block");return e.componentRef?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.blockChildren,(r,k)=>(t.openBlock(),t.createBlock(l,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const C=c._export_sfc(B,[["render",b]]);exports.default=C;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponent, RegisteredComponents } from '../../context/types';
|
|
2
2
|
import type { BuilderBlock } from '../../types/builder-block';
|
|
3
3
|
import type { RepeatData } from './types';
|
|
4
|
-
export declare const getComponent: ({ block,
|
|
4
|
+
export declare const getComponent: ({ block, registeredComponents }: {
|
|
5
5
|
block: BuilderBlock;
|
|
6
|
-
context: BuilderContextInterface;
|
|
7
6
|
registeredComponents: RegisteredComponents;
|
|
8
7
|
}) => RegisteredComponent | null | undefined;
|
|
9
8
|
export declare const getRepeatItemData: ({ block, context }: {
|
|
@@ -9,12 +9,17 @@ export type BlockProps = {
|
|
|
9
9
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
10
10
|
context?: any;
|
|
11
11
|
block?: any;
|
|
12
|
-
registeredComponents?: any;
|
|
13
12
|
linkComponent?: any;
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
registeredComponents?: any;
|
|
14
|
+
}>, unknown, {
|
|
15
|
+
_processedBlock: {
|
|
16
|
+
value: BuilderBlock | null;
|
|
17
|
+
update: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
16
20
|
repeatItem(): import("./types").RepeatData[] | undefined;
|
|
17
21
|
processedBlock(): any;
|
|
22
|
+
blockComponent(): import("../../server-index").RegisteredComponent | null | undefined;
|
|
18
23
|
Tag(): any;
|
|
19
24
|
canShowBlock(): any;
|
|
20
25
|
childrenWithoutParentComponent(): any;
|
|
@@ -32,12 +37,12 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
32
37
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
33
38
|
context?: any;
|
|
34
39
|
block?: any;
|
|
35
|
-
registeredComponents?: any;
|
|
36
40
|
linkComponent?: any;
|
|
41
|
+
registeredComponents?: any;
|
|
37
42
|
}>>>, {
|
|
38
43
|
readonly context?: any;
|
|
39
44
|
readonly block?: any;
|
|
40
|
-
readonly registeredComponents?: any;
|
|
41
45
|
readonly linkComponent?: any;
|
|
46
|
+
readonly registeredComponents?: any;
|
|
42
47
|
}, {}>;
|
|
43
48
|
export default _default;
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
10
10
|
}>, unknown, {
|
|
11
11
|
TARGET: import("../../../types/targets").Target;
|
|
12
12
|
}, {
|
|
13
|
-
canShowBlock():
|
|
13
|
+
canShowBlock(): any;
|
|
14
14
|
css(): string;
|
|
15
15
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
16
16
|
context?: any;
|