@builder.io/sdk-vue 1.0.31 → 1.0.32
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-vH9cPqW6.cjs → block-styles-ohyKYsYW.cjs} +1 -1
- package/lib/browser/{block-styles-ewx36vX8.js → block-styles-zIxnCsu7.js} +1 -1
- package/lib/browser/{block-wrapper-slz6VUsc.js → block-wrapper-BwmUweGI.js} +3 -3
- package/lib/browser/{block-wrapper-pzHUs3vR.cjs → block-wrapper-C1moZ3Lz.cjs} +1 -1
- package/lib/browser/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/browser/blocks/button/button.vue.d.ts +3 -3
- package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/browser/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/browser/blocks/image/image.types.d.ts +1 -0
- package/lib/browser/blocks/image/image.vue.d.ts +3 -0
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/browser/blocks/video/video.vue.d.ts +3 -3
- package/lib/browser/{component-ref-gGM_a4RA.js → component-ref-SNXa2Dn9.js} +2 -2
- package/lib/browser/{component-ref-GBlBc_46.cjs → component-ref-SkL82rhz.cjs} +1 -1
- package/lib/browser/components/block/block.helpers.d.ts +20 -2
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-6P112LLS.cjs → get-block-properties-EE60D1wR.cjs} +1 -1
- package/lib/browser/{get-block-properties-6ZWqmCtI.js → get-block-properties-qSi9NMOx.js} +1 -1
- package/lib/browser/index-7_PIOwAU.cjs +166 -0
- package/lib/browser/{index-lyqvK8Sj.js → index-KOlrj9_0.js} +394 -385
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-qU8TfI6d.cjs → repeated-block-L_hMsmwd.cjs} +1 -1
- package/lib/browser/{repeated-block-MUO8TAfJ.js → repeated-block-SnsEMvw9.js} +2 -2
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-h2l_d1ER.cjs → block-styles-gwGxMYsP.cjs} +1 -1
- package/lib/edge/{block-styles-Ati2TRt4.js → block-styles-mlYBYkOs.js} +1 -1
- package/lib/edge/{block-wrapper-ZB-H8YEd.js → block-wrapper-RexwV794.js} +3 -3
- package/lib/{node/block-wrapper-pf9OWtBR.cjs → edge/block-wrapper-k_uBDftu.cjs} +1 -1
- package/lib/edge/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/edge/blocks/button/button.vue.d.ts +3 -3
- package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/edge/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/edge/blocks/image/image.types.d.ts +1 -0
- package/lib/edge/blocks/image/image.vue.d.ts +3 -0
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/edge/blocks/video/video.vue.d.ts +3 -3
- package/lib/{node/component-ref-nv-fu94T.js → edge/component-ref-9oxLY_Z3.js} +2 -2
- package/lib/{node/component-ref-4M_KSIFS.cjs → edge/component-ref-TND3R4QY.cjs} +1 -1
- package/lib/edge/components/block/block.helpers.d.ts +20 -2
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-zHNqo17A.js → get-block-properties-3R5EHXuo.js} +1 -1
- package/lib/edge/{get-block-properties-jlNO2WDQ.cjs → get-block-properties-QFyJgbX0.cjs} +1 -1
- package/lib/edge/{index-npohEGmD.js → index-d_K2eAST.js} +907 -906
- package/lib/edge/index-eH2Ry0LC.cjs +186 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-1shfCJM3.js → repeated-block-D9Jv_G43.js} +2 -2
- package/lib/edge/{repeated-block-s3T0GmNC.cjs → repeated-block-xpYAEu9G.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{block-styles-OhBkwPg2.js → block-styles-af4EPg11.js} +1 -1
- package/lib/node/{block-styles-h0QhxG-I.cjs → block-styles-z3Qw3dTH.cjs} +1 -1
- package/lib/node/{block-wrapper-XbMrRbLB.js → block-wrapper-SyXs3NLC.js} +3 -3
- package/lib/{edge/block-wrapper-FE0idHo1.cjs → node/block-wrapper-lMpMCXMf.cjs} +1 -1
- package/lib/node/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/node/blocks/button/button.vue.d.ts +3 -3
- package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/node/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/node/blocks/image/image.types.d.ts +1 -0
- package/lib/node/blocks/image/image.vue.d.ts +3 -0
- package/lib/node/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/node/blocks/video/video.vue.d.ts +3 -3
- package/lib/{edge/component-ref-Qiu9p8NW.js → node/component-ref-0ajNv9SP.js} +2 -2
- package/lib/{edge/component-ref-jR12j3SD.cjs → node/component-ref-8_jLowQd.cjs} +1 -1
- package/lib/node/components/block/block.helpers.d.ts +20 -2
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-BWK9dE_f.js → get-block-properties-QICAzFwt.js} +1 -1
- package/lib/node/{get-block-properties--Jw55bAs.cjs → get-block-properties-zlMUIw8E.cjs} +1 -1
- package/lib/node/{index-VaCa4ttS.js → index-8Qp_Egul.js} +43 -34
- package/lib/node/index-8u2tX4TV.cjs +213 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-RXY_Q8Bd.cjs → repeated-block-JdD3AVtB.cjs} +1 -1
- package/lib/node/{repeated-block-OYE0nf8k.js → repeated-block-kaQa2H7q.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/index-d4nFboUL.cjs +0 -166
- package/lib/edge/index-Cz1CABfT.cjs +0 -186
- package/lib/node/index-olIppIUs.cjs +0 -213
|
@@ -1 +1 @@
|
|
|
1
|
-
var b=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),e=require("./index-
|
|
1
|
+
var b=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),e=require("./index-7_PIOwAU.cjs"),f=a.defineComponent({name:"block-styles",components:{InlinedStyles:e._sfc_main},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 m,h,y;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,c=this.context.content,r=e.getSizesForBreakpoints(((m=c==null?void 0:c.meta)==null?void 0:m.breakpoints)||{}),i=s==null?void 0:s.large,d=s==null?void 0:s.medium,l=s==null?void 0:s.small,n=t.id;if(!n)return"";const p=i?e.createCssClass({className:n,styles:i}):"",k=d?e.createCssClass({className:n,styles:d,mediaQuery:e.getMaxWidthQueryForSize("medium",r)}):"",C=l?e.createCssClass({className:n,styles:l,mediaQuery:e.getMaxWidthQueryForSize("small",r)}):"",o=t.animations&&t.animations.find(u=>u.trigger==="hover");let S="";if(o){const u=((y=(h=o.steps)==null?void 0:h[1])==null?void 0:y.styles)||{};S=e.createCssClass({className:`${n}:hover`,styles:{...u,transition:`all ${o.duration}s ${e.camelToKebabCase(o.easing)}`,transitionDelay:o.delay?`${o.delay}s`:"0s"}})||""}return[p,k,C,S].join(" ")}}});function g(t,s,c,r,i,d){const l=a.resolveComponent("InlinedStyles");return t.TARGET!=="reactNative"&&t.css&&t.canShowBlock?(a.openBlock(),a.createBlock(l,{key:0,id:"builderio-block",styles:t.css},null,8,["styles"])):a.createCommentVNode("",!0)}const x=e._export_sfc(f,[["render",g]]);exports.default=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as g, resolveComponent as B, openBlock as v, createBlock as C, createCommentVNode as _ } from "vue";
|
|
3
|
-
import { _ as $, T, g as p, c as y, a as w, b as l, d as k, e as E, f as I } from "./index-
|
|
3
|
+
import { _ as $, T, g as p, c as y, a as w, b as l, d as k, e as E, f as I } from "./index-KOlrj9_0.js";
|
|
4
4
|
const N = g({
|
|
5
5
|
name: "block-styles",
|
|
6
6
|
components: { InlinedStyles: $ },
|
|
@@ -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 { f as m } from "./index-
|
|
5
|
-
const d = () => import("./index-
|
|
3
|
+
import { g as s, a as l } from "./get-block-properties-qSi9NMOx.js";
|
|
4
|
+
import { f as m } from "./index-KOlrj9_0.js";
|
|
5
|
+
const d = () => import("./index-KOlrj9_0.js").then((e) => e.G).then((e) => e.default).catch((e) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
8
8
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-EE60D1wR.cjs"),n=require("./index-7_PIOwAU.cjs"),c=()=>Promise.resolve().then(()=>require("./index-7_PIOwAU.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;
|
|
@@ -2,9 +2,9 @@ import type { Dictionary } from "../../types/typescript";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
builderContext?: any;
|
|
4
4
|
grid?: any;
|
|
5
|
-
builderBlock?: any;
|
|
6
5
|
builderLinkComponent?: any;
|
|
7
6
|
builderComponents?: any;
|
|
7
|
+
builderBlock?: any;
|
|
8
8
|
items?: any;
|
|
9
9
|
oneAtATime?: any;
|
|
10
10
|
gridRowWidth?: any;
|
|
@@ -24,18 +24,18 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
24
24
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
25
25
|
builderContext?: any;
|
|
26
26
|
grid?: any;
|
|
27
|
-
builderBlock?: any;
|
|
28
27
|
builderLinkComponent?: any;
|
|
29
28
|
builderComponents?: any;
|
|
29
|
+
builderBlock?: any;
|
|
30
30
|
items?: any;
|
|
31
31
|
oneAtATime?: any;
|
|
32
32
|
gridRowWidth?: any;
|
|
33
33
|
}>>>, {
|
|
34
34
|
readonly builderContext?: any;
|
|
35
35
|
readonly grid?: any;
|
|
36
|
-
readonly builderBlock?: any;
|
|
37
36
|
readonly builderLinkComponent?: any;
|
|
38
37
|
readonly builderComponents?: any;
|
|
38
|
+
readonly builderBlock?: any;
|
|
39
39
|
readonly items?: any;
|
|
40
40
|
readonly oneAtATime?: any;
|
|
41
41
|
readonly gridRowWidth?: any;
|
|
@@ -2,8 +2,8 @@ import { filterAttrs } from "../helpers";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
text?: any;
|
|
4
4
|
link?: any;
|
|
5
|
-
attributes?: any;
|
|
6
5
|
builderLinkComponent?: any;
|
|
6
|
+
attributes?: any;
|
|
7
7
|
openLinkInNewTab?: any;
|
|
8
8
|
}>, unknown, {
|
|
9
9
|
filterAttrs: typeof filterAttrs;
|
|
@@ -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
|
-
attributes?: any;
|
|
22
21
|
builderLinkComponent?: any;
|
|
22
|
+
attributes?: any;
|
|
23
23
|
openLinkInNewTab?: any;
|
|
24
24
|
}>>>, {
|
|
25
25
|
readonly text?: any;
|
|
26
26
|
readonly link?: any;
|
|
27
|
-
readonly attributes?: any;
|
|
28
27
|
readonly builderLinkComponent?: any;
|
|
28
|
+
readonly attributes?: any;
|
|
29
29
|
readonly openLinkInNewTab?: any;
|
|
30
30
|
}, {}>;
|
|
31
31
|
export default _default;
|
|
@@ -5,9 +5,9 @@ type CSSVal = string | number;
|
|
|
5
5
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
6
6
|
builderContext?: any;
|
|
7
7
|
columns?: any;
|
|
8
|
-
builderBlock?: any;
|
|
9
8
|
builderLinkComponent?: any;
|
|
10
9
|
builderComponents?: any;
|
|
10
|
+
builderBlock?: any;
|
|
11
11
|
space?: any;
|
|
12
12
|
stackColumnsAt?: any;
|
|
13
13
|
reverseColumnsWhenStacked?: any;
|
|
@@ -41,18 +41,18 @@ 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
|
-
builderBlock?: any;
|
|
45
44
|
builderLinkComponent?: any;
|
|
46
45
|
builderComponents?: any;
|
|
46
|
+
builderBlock?: any;
|
|
47
47
|
space?: any;
|
|
48
48
|
stackColumnsAt?: any;
|
|
49
49
|
reverseColumnsWhenStacked?: any;
|
|
50
50
|
}>>>, {
|
|
51
51
|
readonly builderContext?: any;
|
|
52
52
|
readonly columns?: any;
|
|
53
|
-
readonly builderBlock?: any;
|
|
54
53
|
readonly builderLinkComponent?: any;
|
|
55
54
|
readonly builderComponents?: any;
|
|
55
|
+
readonly builderBlock?: any;
|
|
56
56
|
readonly space?: any;
|
|
57
57
|
readonly stackColumnsAt?: any;
|
|
58
58
|
readonly reverseColumnsWhenStacked?: any;
|
|
@@ -33,10 +33,10 @@ 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
|
-
attributes?: any;
|
|
37
|
-
builderBlock?: any;
|
|
38
36
|
builderLinkComponent?: any;
|
|
39
37
|
builderComponents?: any;
|
|
38
|
+
builderBlock?: any;
|
|
39
|
+
attributes?: any;
|
|
40
40
|
previewState?: any;
|
|
41
41
|
sendWithJs?: any;
|
|
42
42
|
sendSubmissionsTo?: any;
|
|
@@ -64,10 +64,10 @@ 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
|
-
attributes?: any;
|
|
68
|
-
builderBlock?: any;
|
|
69
67
|
builderLinkComponent?: any;
|
|
70
68
|
builderComponents?: any;
|
|
69
|
+
builderBlock?: any;
|
|
70
|
+
attributes?: any;
|
|
71
71
|
previewState?: any;
|
|
72
72
|
sendWithJs?: any;
|
|
73
73
|
sendSubmissionsTo?: any;
|
|
@@ -86,10 +86,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
86
86
|
}>>>, {
|
|
87
87
|
readonly name?: any;
|
|
88
88
|
readonly builderContext?: any;
|
|
89
|
-
readonly attributes?: any;
|
|
90
|
-
readonly builderBlock?: any;
|
|
91
89
|
readonly builderLinkComponent?: any;
|
|
92
90
|
readonly builderComponents?: any;
|
|
91
|
+
readonly builderBlock?: any;
|
|
92
|
+
readonly attributes?: any;
|
|
93
93
|
readonly previewState?: any;
|
|
94
94
|
readonly sendWithJs?: any;
|
|
95
95
|
readonly sendSubmissionsTo?: any;
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
8
8
|
src?: any;
|
|
9
9
|
srcset?: any;
|
|
10
10
|
noWebp?: any;
|
|
11
|
+
highPriority?: any;
|
|
11
12
|
altText?: any;
|
|
12
13
|
sizes?: any;
|
|
13
14
|
fitContent?: any;
|
|
@@ -31,6 +32,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
31
32
|
src?: any;
|
|
32
33
|
srcset?: any;
|
|
33
34
|
noWebp?: any;
|
|
35
|
+
highPriority?: any;
|
|
34
36
|
altText?: any;
|
|
35
37
|
sizes?: any;
|
|
36
38
|
fitContent?: any;
|
|
@@ -44,6 +46,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
44
46
|
readonly src?: any;
|
|
45
47
|
readonly srcset?: any;
|
|
46
48
|
readonly noWebp?: any;
|
|
49
|
+
readonly highPriority?: any;
|
|
47
50
|
readonly altText?: any;
|
|
48
51
|
readonly sizes?: any;
|
|
49
52
|
readonly fitContent?: any;
|
|
@@ -2,10 +2,10 @@ import { filterAttrs } from "../helpers";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
symbol?: any;
|
|
4
4
|
builderContext?: any;
|
|
5
|
-
attributes?: any;
|
|
6
|
-
builderBlock?: any;
|
|
7
5
|
builderLinkComponent?: any;
|
|
8
6
|
builderComponents?: any;
|
|
7
|
+
builderBlock?: any;
|
|
8
|
+
attributes?: any;
|
|
9
9
|
dynamic?: any;
|
|
10
10
|
}>, unknown, {
|
|
11
11
|
contentToUse: any;
|
|
@@ -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
|
-
attributes?: any;
|
|
26
|
-
builderBlock?: any;
|
|
27
25
|
builderLinkComponent?: any;
|
|
28
26
|
builderComponents?: any;
|
|
27
|
+
builderBlock?: any;
|
|
28
|
+
attributes?: any;
|
|
29
29
|
dynamic?: any;
|
|
30
30
|
}>>>, {
|
|
31
31
|
readonly symbol?: any;
|
|
32
32
|
readonly builderContext?: any;
|
|
33
|
-
readonly attributes?: any;
|
|
34
|
-
readonly builderBlock?: any;
|
|
35
33
|
readonly builderLinkComponent?: any;
|
|
36
34
|
readonly builderComponents?: any;
|
|
35
|
+
readonly builderBlock?: any;
|
|
36
|
+
readonly attributes?: any;
|
|
37
37
|
readonly dynamic?: 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
|
-
builderBlock?: any;
|
|
4
3
|
builderLinkComponent?: any;
|
|
5
4
|
builderComponents?: any;
|
|
5
|
+
builderBlock?: 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
|
-
builderBlock?: any;
|
|
19
18
|
builderLinkComponent?: any;
|
|
20
19
|
builderComponents?: any;
|
|
20
|
+
builderBlock?: 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 builderBlock?: any;
|
|
29
28
|
readonly builderLinkComponent?: any;
|
|
30
29
|
readonly builderComponents?: any;
|
|
30
|
+
readonly builderBlock?: any;
|
|
31
31
|
readonly tabs?: any;
|
|
32
32
|
readonly activeTabStyle?: any;
|
|
33
33
|
readonly defaultActiveTab?: any;
|
|
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
2
2
|
video?: any;
|
|
3
3
|
aspectRatio?: any;
|
|
4
4
|
position?: any;
|
|
5
|
-
attributes?: any;
|
|
6
5
|
builderBlock?: any;
|
|
6
|
+
attributes?: any;
|
|
7
7
|
fitContent?: any;
|
|
8
8
|
lazyLoad?: any;
|
|
9
9
|
posterImage?: any;
|
|
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
33
33
|
video?: any;
|
|
34
34
|
aspectRatio?: any;
|
|
35
35
|
position?: any;
|
|
36
|
-
attributes?: any;
|
|
37
36
|
builderBlock?: any;
|
|
37
|
+
attributes?: any;
|
|
38
38
|
fitContent?: any;
|
|
39
39
|
lazyLoad?: any;
|
|
40
40
|
posterImage?: any;
|
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
49
49
|
readonly video?: any;
|
|
50
50
|
readonly aspectRatio?: any;
|
|
51
51
|
readonly position?: any;
|
|
52
|
-
readonly attributes?: any;
|
|
53
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 { f, B as W, w } from "./index-KOlrj9_0.js";
|
|
4
|
+
import { a as b, g as R } from "./get-block-properties-qSi9NMOx.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-7_PIOwAU.cjs"),a=require("./get-block-properties-EE60D1wR.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;
|
|
@@ -14,5 +14,23 @@ export declare const getInheritedStyles: ({ block, context }: {
|
|
|
14
14
|
block: BuilderBlock;
|
|
15
15
|
context: BuilderContextInterface;
|
|
16
16
|
}) => Partial<CSSStyleDeclaration>;
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
17
|
+
export declare const provideLinkComponent: (block: RegisteredComponent | null | undefined, linkComponent: any) => {
|
|
18
|
+
builderLinkComponent: any;
|
|
19
|
+
} | {
|
|
20
|
+
builderLinkComponent?: undefined;
|
|
21
|
+
};
|
|
22
|
+
export declare const provideRegisteredComponents: (block: RegisteredComponent | null | undefined, registeredComponents: RegisteredComponents) => {
|
|
23
|
+
builderComponents: RegisteredComponents;
|
|
24
|
+
} | {
|
|
25
|
+
builderComponents?: undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare const provideBuilderBlock: (block: RegisteredComponent | null | undefined, builderBlock: BuilderBlock) => {
|
|
28
|
+
builderBlock: BuilderBlock;
|
|
29
|
+
} | {
|
|
30
|
+
builderBlock?: undefined;
|
|
31
|
+
};
|
|
32
|
+
export declare const provideBuilderContext: (block: RegisteredComponent | null | undefined, context: BuilderContextInterface) => {
|
|
33
|
+
builderContext: BuilderContextInterface;
|
|
34
|
+
} | {
|
|
35
|
+
builderContext?: undefined;
|
|
36
|
+
};
|
|
@@ -2,12 +2,12 @@ import type { ComponentProps } from "./component-ref.helpers";
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
context?: any;
|
|
4
4
|
registeredComponents?: any;
|
|
5
|
+
builderBlock?: any;
|
|
5
6
|
includeBlockProps?: any;
|
|
6
7
|
blockChildren?: any;
|
|
7
8
|
componentRef?: any;
|
|
8
9
|
componentOptions?: any;
|
|
9
10
|
linkComponent?: any;
|
|
10
|
-
builderBlock?: any;
|
|
11
11
|
isInteractive?: any;
|
|
12
12
|
}>, unknown, {
|
|
13
13
|
Wrapper: any;
|
|
@@ -27,22 +27,22 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
27
27
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
28
28
|
context?: any;
|
|
29
29
|
registeredComponents?: any;
|
|
30
|
+
builderBlock?: any;
|
|
30
31
|
includeBlockProps?: any;
|
|
31
32
|
blockChildren?: any;
|
|
32
33
|
componentRef?: any;
|
|
33
34
|
componentOptions?: any;
|
|
34
35
|
linkComponent?: any;
|
|
35
|
-
builderBlock?: any;
|
|
36
36
|
isInteractive?: any;
|
|
37
37
|
}>>>, {
|
|
38
38
|
readonly context?: any;
|
|
39
39
|
readonly registeredComponents?: any;
|
|
40
|
+
readonly builderBlock?: any;
|
|
40
41
|
readonly includeBlockProps?: any;
|
|
41
42
|
readonly blockChildren?: any;
|
|
42
43
|
readonly componentRef?: any;
|
|
43
44
|
readonly componentOptions?: any;
|
|
44
45
|
readonly linkComponent?: any;
|
|
45
|
-
readonly builderBlock?: any;
|
|
46
46
|
readonly isInteractive?: any;
|
|
47
47
|
}, {}>;
|
|
48
48
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.32";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=require("./style.css");const a=require("./index-
|
|
1
|
+
var d=require("./style.css");const a=require("./index-7_PIOwAU.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>a.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1,enableCache:!0});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const s=r[o];let n=c(o);if(e.stripPrefix)switch(a.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(s,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:a.getStyle({block:e,context:t}),[a.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=f;
|