@builder.io/sdk-vue 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/{awaiter-B_2yazFf.cjs → awaiter-_VmV8-WL.cjs} +1 -1
- package/lib/browser/{awaiter-sU4SDpX0.js → awaiter-qTJKqZvs.js} +1 -1
- package/lib/browser/block-styles-lDAdx_vR.cjs +1 -0
- package/lib/browser/block-styles-lH0YkYH7.js +84 -0
- package/lib/browser/{block-wrapper-cNFnfUiY.cjs → block-wrapper-8blpYCju.cjs} +1 -1
- package/lib/browser/{block-wrapper-sJoVtUVt.js → block-wrapper-bJ0fGq-G.js} +3 -3
- package/lib/browser/{component-ref-InYIqrKn.js → component-ref-0bMZghu6.js} +3 -3
- package/lib/browser/{component-ref-Lo1xYT1R.cjs → component-ref-iWkUvVQ1.cjs} +1 -1
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -1
- package/lib/browser/constants/device-sizes.d.ts +3 -2
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-CKOWhK-0.cjs → get-block-properties--ucCo9kV.cjs} +1 -1
- package/lib/browser/{get-block-properties-aoErppFn.js → get-block-properties-GmG9ANiw.js} +1 -1
- package/lib/browser/{index-B6NDWuX_.js → index-2YUdegEe.js} +46 -28
- package/lib/browser/{index-kfabrDm6.cjs → index-E49duuRO.cjs} +6 -6
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-P2xyBE88.js → repeated-block-8jINQA8S.js} +2 -2
- package/lib/browser/{repeated-block-KGwyg5jh.cjs → repeated-block-UJDFjjRg.cjs} +1 -1
- package/lib/browser/types/builder-block.d.ts +0 -1
- package/lib/browser/types/builder-content.d.ts +1 -0
- package/lib/edge/{awaiter-fXaD_JAB.js → awaiter-dkTgJJe3.js} +1 -1
- package/lib/edge/{awaiter-EmQONKEI.cjs → awaiter-sFS-93DB.cjs} +1 -1
- package/lib/edge/block-styles-DTOwjSm1.cjs +1 -0
- package/lib/edge/block-styles-wmTk1mW4.js +83 -0
- package/lib/edge/{block-wrapper-0SD0oCxs.js → block-wrapper-J-1Axz3t.js} +3 -3
- package/lib/edge/{block-wrapper-eADCpP6y.cjs → block-wrapper-o_f6DJmU.cjs} +1 -1
- package/lib/edge/{component-ref-jFmm1Yr5.js → component-ref-1WyqPeY5.js} +3 -3
- package/lib/edge/{component-ref-gyS-V1Pb.cjs → component-ref-jkAXgekK.cjs} +1 -1
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -1
- package/lib/edge/constants/device-sizes.d.ts +3 -2
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-rOVHCadT.js → get-block-properties-SOGDuFLz.js} +1 -1
- package/lib/edge/{get-block-properties-uNDsnJ_q.cjs → get-block-properties-eToBRju4.cjs} +1 -1
- package/lib/edge/{index-NtpyQKYV.js → index-LOoRAk_r.js} +142 -124
- package/lib/edge/{index-L-qMWRJU.cjs → index-oO_aT5Rz.cjs} +2 -2
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-sEp_7OeP.js → repeated-block-1uIsduO3.js} +2 -2
- package/lib/{node/repeated-block-vtexff4h.cjs → edge/repeated-block-piEzdkXp.cjs} +1 -1
- package/lib/edge/types/builder-block.d.ts +0 -1
- package/lib/edge/types/builder-content.d.ts +1 -0
- package/lib/node/{awaiter-vuOYJM0Z.js → awaiter-UFOtT7L8.js} +1 -1
- package/lib/node/{awaiter-2QzOhSsm.cjs → awaiter-jCPGz_Rp.cjs} +1 -1
- package/lib/node/block-styles-Mep1iE0i.js +84 -0
- package/lib/node/block-styles-lcdbB-wV.cjs +1 -0
- package/lib/node/{block-wrapper-lX2JGnCZ.cjs → block-wrapper-uBIml2eB.cjs} +1 -1
- package/lib/node/{block-wrapper-QmVhjKN-.js → block-wrapper-x9D9uSna.js} +3 -3
- package/lib/node/{component-ref-KxI6DtDP.js → component-ref-9gTDdATc.js} +3 -3
- package/lib/node/{component-ref-I3kUaCp3.cjs → component-ref-p3j6uPhu.cjs} +1 -1
- package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -1
- package/lib/node/constants/device-sizes.d.ts +3 -2
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-DkXAWgRI.cjs → get-block-properties-vwOB6lOq.cjs} +1 -1
- package/lib/node/{get-block-properties-767HBW90.js → get-block-properties-y5lDJfV_.js} +1 -1
- package/lib/node/{index-2pJd7fhw.cjs → index-QWfv1anA.cjs} +10 -10
- package/lib/node/{index-n5uLpvet.js → index-szuN3te-.js} +249 -231
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-ldoaTwur.js → repeated-block-JpsRnqSc.js} +2 -2
- package/lib/{edge/repeated-block-LZ0_ayRt.cjs → node/repeated-block-zqReezoZ.cjs} +1 -1
- package/lib/node/types/builder-block.d.ts +0 -1
- package/lib/node/types/builder-content.d.ts +1 -0
- package/package.json +1 -1
- package/lib/browser/block-styles-K1JPlueX.js +0 -76
- package/lib/browser/block-styles-rosksv3P.cjs +0 -1
- package/lib/edge/block-styles-ET_8Qv_h.cjs +0 -1
- package/lib/edge/block-styles-V2TEosdx.js +0 -75
- package/lib/node/block-styles-ZraAZYMV.js +0 -76
- package/lib/node/block-styles-oEhFbcHe.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var p=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
var p=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-E49duuRO.cjs"),n=e.defineComponent({name:"awaiter",props:[],mounted(){}});function o(t,a,i,c,u,d){return e.renderSlot(t.$slots,"default")}const s=r._export_sfc(n,[["render",o]]);exports.default=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),s=require("./index-E49duuRO.cjs"),x=a.defineComponent({name:"block-styles",components:{InlinedStyles:s._sfc_main},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{canShowBlock(){const e=this.block;return s.checkIsDefined(e.hide)?!e.hide:s.checkIsDefined(e.show)?e.show:!0},css(){var S,h,k,C,f;const e=this.block,t=e.responsiveStyles,o=this.context.content,r=s.getSizesForBreakpoints(((S=o==null?void 0:o.meta)==null?void 0:S.breakpoints)||{}),d=!!((k=(h=o==null?void 0:o.meta)==null?void 0:h.breakpoints)!=null&&k.xsmall),i=t==null?void 0:t.large,c=t==null?void 0:t.medium,u=t==null?void 0:t.small,y=t==null?void 0:t.xsmall,n=e.id;if(!n)return"";const b=i?s.createCssClass({className:n,styles:i}):"",g=c?s.createCssClass({className:n,styles:c,mediaQuery:s.getMaxWidthQueryForSize("medium",r)}):"",v=u?s.createCssClass({className:n,styles:u,mediaQuery:s.getMaxWidthQueryForSize("small",r)}):"",B=y&&d?s.createCssClass({className:n,styles:y,mediaQuery:s.getMaxWidthQueryForSize("xsmall",r)}):"",l=e.animations&&e.animations.find(m=>m.trigger==="hover");let p="";if(l){const m=((f=(C=l.steps)==null?void 0:C[1])==null?void 0:f.styles)||{};p=s.createCssClass({className:`${n}:hover`,styles:{...m,transition:`all ${l.duration}s ${s.camelToKebabCase(l.easing)}`,transitionDelay:l.delay?`${l.delay}s`:"0s"}})||""}return[b,g,v,B,p].join(" ")}}});function T(e,t,o,r,d,i){const c=a.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(a.openBlock(),a.createBlock(c,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):a.createCommentVNode("",!0)}const $=s._export_sfc(x,[["render",T]]);exports.default=$;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { defineComponent as _, resolveComponent as x, openBlock as T, createBlock as w, createCommentVNode as I } from "vue";
|
|
3
|
+
import { _ as N, T as Q, c as C, g as z, a, b as m, d as A, e as D } from "./index-2YUdegEe.js";
|
|
4
|
+
const E = _({
|
|
5
|
+
name: "block-styles",
|
|
6
|
+
components: { InlinedStyles: N },
|
|
7
|
+
props: ["block", "context"],
|
|
8
|
+
data() {
|
|
9
|
+
return { TARGET: Q };
|
|
10
|
+
},
|
|
11
|
+
computed: {
|
|
12
|
+
canShowBlock() {
|
|
13
|
+
const e = this.block;
|
|
14
|
+
return C(e.hide) ? !e.hide : C(e.show) ? e.show : !0;
|
|
15
|
+
},
|
|
16
|
+
css() {
|
|
17
|
+
var S, k, h, f, b;
|
|
18
|
+
const e = this.block, s = e.responsiveStyles, t = this.context.content, l = z(
|
|
19
|
+
((S = t == null ? void 0 : t.meta) == null ? void 0 : S.breakpoints) || {}
|
|
20
|
+
), d = !!((h = (k = t == null ? void 0 : t.meta) == null ? void 0 : k.breakpoints) != null && h.xsmall), c = s == null ? void 0 : s.large, r = s == null ? void 0 : s.medium, p = s == null ? void 0 : s.small, y = s == null ? void 0 : s.xsmall, o = e.id;
|
|
21
|
+
if (!o)
|
|
22
|
+
return "";
|
|
23
|
+
const B = c ? a({
|
|
24
|
+
className: o,
|
|
25
|
+
styles: c
|
|
26
|
+
}) : "", g = r ? a({
|
|
27
|
+
className: o,
|
|
28
|
+
styles: r,
|
|
29
|
+
mediaQuery: m(
|
|
30
|
+
"medium",
|
|
31
|
+
l
|
|
32
|
+
)
|
|
33
|
+
}) : "", $ = p ? a({
|
|
34
|
+
className: o,
|
|
35
|
+
styles: p,
|
|
36
|
+
mediaQuery: m(
|
|
37
|
+
"small",
|
|
38
|
+
l
|
|
39
|
+
)
|
|
40
|
+
}) : "", v = y && d ? a({
|
|
41
|
+
className: o,
|
|
42
|
+
styles: y,
|
|
43
|
+
mediaQuery: m(
|
|
44
|
+
"xsmall",
|
|
45
|
+
l
|
|
46
|
+
)
|
|
47
|
+
}) : "", n = e.animations && e.animations.find((i) => i.trigger === "hover");
|
|
48
|
+
let u = "";
|
|
49
|
+
if (n) {
|
|
50
|
+
const i = ((b = (f = n.steps) == null ? void 0 : f[1]) == null ? void 0 : b.styles) || {};
|
|
51
|
+
u = a({
|
|
52
|
+
className: `${o}:hover`,
|
|
53
|
+
styles: {
|
|
54
|
+
...i,
|
|
55
|
+
transition: `all ${n.duration}s ${A(
|
|
56
|
+
n.easing
|
|
57
|
+
)}`,
|
|
58
|
+
transitionDelay: n.delay ? `${n.delay}s` : "0s"
|
|
59
|
+
}
|
|
60
|
+
}) || "";
|
|
61
|
+
}
|
|
62
|
+
return [
|
|
63
|
+
B,
|
|
64
|
+
g,
|
|
65
|
+
$,
|
|
66
|
+
v,
|
|
67
|
+
u
|
|
68
|
+
].join(" ");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
function F(e, s, t, l, d, c) {
|
|
73
|
+
const r = x("InlinedStyles");
|
|
74
|
+
return e.TARGET !== "reactNative" && e.css && e.canShowBlock ? (T(), w(r, {
|
|
75
|
+
key: 0,
|
|
76
|
+
id: "builderio-block",
|
|
77
|
+
styles: e.css,
|
|
78
|
+
nonce: e.context.nonce
|
|
79
|
+
}, null, 8, ["styles", "nonce"])) : I("", !0);
|
|
80
|
+
}
|
|
81
|
+
const j = /* @__PURE__ */ D(E, [["render", F]]);
|
|
82
|
+
export {
|
|
83
|
+
j as default
|
|
84
|
+
};
|
|
@@ -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--ucCo9kV.cjs"),n=require("./index-E49duuRO.cjs"),c=()=>Promise.resolve().then(()=>require("./index-E49duuRO.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,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
3
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
4
|
-
import { e as m } from "./index-
|
|
5
|
-
const d = () => import("./index-
|
|
3
|
+
import { g as s, a as l } from "./get-block-properties-GmG9ANiw.js";
|
|
4
|
+
import { e as m } from "./index-2YUdegEe.js";
|
|
5
|
+
const d = () => import("./index-2YUdegEe.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,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as d, defineAsyncComponent as P, resolveComponent as k, openBlock as o, createBlock as a, withCtx as l, renderSlot as m, resolveDynamicComponent as f, mergeProps as b, normalizeProps as B, createElementBlock as g, Fragment as $, renderList as v, createCommentVNode as W } from "vue";
|
|
3
|
-
import { e as h, B as S, w as y } from "./index-
|
|
4
|
-
import { a as C, g as A } from "./get-block-properties-
|
|
5
|
-
const R = () => import("./awaiter-
|
|
3
|
+
import { e as h, B as S, w as y } from "./index-2YUdegEe.js";
|
|
4
|
+
import { a as C, g as A } from "./get-block-properties-GmG9ANiw.js";
|
|
5
|
+
const R = () => import("./awaiter-qTJKqZvs.js").then((e) => e.default).catch((e) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",
|
|
8
8
|
e
|
|
@@ -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-E49duuRO.cjs"),a=require("./get-block-properties--ucCo9kV.cjs"),u=()=>Promise.resolve().then(()=>require("./awaiter-_VmV8-WL.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",e),e}),d=t.defineComponent({name:"interactive-element",components:{Awaiter:t.defineAsyncComponent(u)},props:["includeBlockProps","block","context","Wrapper","wrapperProps"],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 f(e,n,s,i,r,l){const o=t.resolveComponent("Awaiter");return e.Wrapper.load?(t.openBlock(),t.createBlock(o,{key:0,load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:e.attributes},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["load","fallback","props","attributes"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({key:1,attributes:e.attributes},e.wrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"]))}const m=c._export_sfc(d,[["render",f]]),b=({componentOptions:e,builderBlock:n,context:s,componentRef:i,includeBlockProps:r,isInteractive:l,contextValue:o})=>{const p={...e,...r?{attributes:a.getBlockProperties({block:n,context:o})}:{}};return l?{Wrapper:i,block:n,context:s,wrapperProps:e,includeBlockProps:r}:p},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:b}}});function C(e,n,s,i,r,l){const o=t.resolveComponent("Block");return e.componentRef?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.blockChildren,(p,k)=>(t.openBlock(),t.createBlock(o,{key:p.id,block:p,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const h=c._export_sfc(B,[["render",C]]);exports.default=h;
|
|
@@ -44,7 +44,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
44
44
|
meta?: {
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
breakpoints?: import("../../types/typescript").Nullable<import("../../types/builder-content").Breakpoints>;
|
|
47
|
-
} | undefined;
|
|
47
|
+
} | undefined; /**
|
|
48
|
+
* For internal use only. Do not provide this prop.
|
|
49
|
+
*/
|
|
48
50
|
}[];
|
|
49
51
|
}, {
|
|
50
52
|
updateCookieAndStylesScriptStr(): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SizeName = 'large' | 'medium' | 'small';
|
|
1
|
+
export type SizeName = 'large' | 'medium' | 'small' | 'xsmall';
|
|
2
2
|
interface Size {
|
|
3
3
|
min: number;
|
|
4
4
|
default: number;
|
|
@@ -6,8 +6,9 @@ interface Size {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const getMaxWidthQueryForSize: (size: SizeName, sizeValues?: Record<SizeName, Size>) => string;
|
|
8
8
|
interface Breakpoints {
|
|
9
|
+
xsmall?: number;
|
|
9
10
|
small?: number;
|
|
10
11
|
medium?: number;
|
|
11
12
|
}
|
|
12
|
-
export declare const getSizesForBreakpoints: (
|
|
13
|
+
export declare const getSizesForBreakpoints: (breakpoints: Breakpoints) => Record<SizeName, Size>;
|
|
13
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.0.
|
|
1
|
+
export declare const SDK_VERSION = "3.0.7";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var d=require("./style.css");const s=require("./index-
|
|
1
|
+
var d=require("./style.css");const s=require("./index-E49duuRO.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=c(o);if(e.stripPrefix)switch(s.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(a,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:s.getStyle({block:e,context:t}),[s.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=f;
|
|
@@ -504,7 +504,7 @@ const Pe = "builder.", an = "options.", Je = (e) => {
|
|
|
504
504
|
return {};
|
|
505
505
|
const e = new URLSearchParams(window.location.search);
|
|
506
506
|
return Je(e);
|
|
507
|
-
}, Ge = "3.0.
|
|
507
|
+
}, Ge = "3.0.7", Ye = () => ({
|
|
508
508
|
"X-Builder-SDK": R,
|
|
509
509
|
"X-Builder-SDK-GEN": "2",
|
|
510
510
|
"X-Builder-SDK-Version": Ge
|
|
@@ -745,6 +745,7 @@ const nt = (e = {}) => {
|
|
|
745
745
|
// scope our '+ add block' button styling
|
|
746
746
|
supportsAddBlockScoping: !0,
|
|
747
747
|
supportsCustomBreakpoints: !0,
|
|
748
|
+
supportsXSmallBreakpoint: !0,
|
|
748
749
|
blockLevelPersonalization: !0
|
|
749
750
|
}
|
|
750
751
|
}, "*"), (n = window.parent) == null || n.postMessage({
|
|
@@ -1367,22 +1368,22 @@ const ht = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1367
1368
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1368
1369
|
e
|
|
1369
1370
|
), e;
|
|
1370
|
-
}), ro = () => import("./block-styles-
|
|
1371
|
+
}), ro = () => import("./block-styles-lH0YkYH7.js").then((e) => e.default).catch((e) => {
|
|
1371
1372
|
throw console.error(
|
|
1372
1373
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
1373
1374
|
e
|
|
1374
1375
|
), e;
|
|
1375
|
-
}), so = () => import("./block-wrapper-
|
|
1376
|
+
}), so = () => import("./block-wrapper-bJ0fGq-G.js").then((e) => e.default).catch((e) => {
|
|
1376
1377
|
throw console.error(
|
|
1377
1378
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1378
1379
|
e
|
|
1379
1380
|
), e;
|
|
1380
|
-
}), io = () => import("./component-ref-
|
|
1381
|
+
}), io = () => import("./component-ref-0bMZghu6.js").then((e) => e.default).catch((e) => {
|
|
1381
1382
|
throw console.error(
|
|
1382
1383
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1383
1384
|
e
|
|
1384
1385
|
), e;
|
|
1385
|
-
}), ao = () => import("./repeated-block-
|
|
1386
|
+
}), ao = () => import("./repeated-block-8jINQA8S.js").then((e) => e.default).catch((e) => {
|
|
1386
1387
|
throw console.error(
|
|
1387
1388
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1388
1389
|
e
|
|
@@ -1692,8 +1693,13 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1692
1693
|
name: "inlined-styles",
|
|
1693
1694
|
props: ["styles", "id", "nonce"]
|
|
1694
1695
|
}), gt = {
|
|
1696
|
+
xsmall: {
|
|
1697
|
+
min: 0,
|
|
1698
|
+
default: 160,
|
|
1699
|
+
max: 320
|
|
1700
|
+
},
|
|
1695
1701
|
small: {
|
|
1696
|
-
min:
|
|
1702
|
+
min: 321,
|
|
1697
1703
|
default: 321,
|
|
1698
1704
|
max: 640
|
|
1699
1705
|
},
|
|
@@ -1707,32 +1713,44 @@ const X = /* @__PURE__ */ b(go, [["render", bo]]), yo = /* @__PURE__ */ Object.f
|
|
|
1707
1713
|
default: 991,
|
|
1708
1714
|
max: 1200
|
|
1709
1715
|
}
|
|
1710
|
-
}, ai = (e, t = gt) => `@media (max-width: ${t[e].max}px)`, ko = ({
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
const
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1716
|
+
}, ai = (e, t = gt) => `@media (max-width: ${t[e].max}px)`, ko = (e) => {
|
|
1717
|
+
const t = he(gt);
|
|
1718
|
+
if (!e)
|
|
1719
|
+
return t;
|
|
1720
|
+
const {
|
|
1721
|
+
xsmall: n,
|
|
1722
|
+
small: o,
|
|
1723
|
+
medium: r
|
|
1724
|
+
} = e;
|
|
1725
|
+
if (n) {
|
|
1726
|
+
const a = Math.floor(n / 2);
|
|
1727
|
+
t.xsmall = {
|
|
1728
|
+
max: n,
|
|
1729
|
+
min: a,
|
|
1730
|
+
default: a + 1
|
|
1731
|
+
};
|
|
1732
|
+
}
|
|
1733
|
+
if (!o || !r)
|
|
1734
|
+
return t;
|
|
1735
|
+
const s = n ? t.xsmall.max + 1 : Math.floor(o / 2);
|
|
1736
|
+
t.small = {
|
|
1737
|
+
max: o,
|
|
1738
|
+
min: s,
|
|
1739
|
+
default: s + 1
|
|
1722
1740
|
};
|
|
1723
|
-
const
|
|
1724
|
-
|
|
1725
|
-
max:
|
|
1726
|
-
min:
|
|
1727
|
-
default:
|
|
1741
|
+
const i = t.small.max + 1;
|
|
1742
|
+
t.medium = {
|
|
1743
|
+
max: r,
|
|
1744
|
+
min: i,
|
|
1745
|
+
default: i + 1
|
|
1728
1746
|
};
|
|
1729
|
-
const
|
|
1730
|
-
return
|
|
1747
|
+
const l = t.medium.max + 1;
|
|
1748
|
+
return t.large = {
|
|
1731
1749
|
max: 2e3,
|
|
1732
1750
|
// TODO: decide upper limit
|
|
1733
|
-
min:
|
|
1734
|
-
default:
|
|
1735
|
-
},
|
|
1751
|
+
min: l,
|
|
1752
|
+
default: l + 1
|
|
1753
|
+
}, t;
|
|
1736
1754
|
}, vo = (e) => `builder-columns ${e}-breakpoints`, So = g({
|
|
1737
1755
|
name: "builder-columns",
|
|
1738
1756
|
components: {
|