@builder.io/sdk-vue 5.2.4 → 5.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/{awaiter-q_DSjMVD.js → awaiter-BKtN2AMs.js} +1 -1
- package/lib/browser/{awaiter-4bKOAzti.cjs → awaiter-RQWxLPh7.cjs} +1 -1
- package/lib/browser/{block-wrapper-Q-de2c75.cjs → block-wrapper-nMKh8p11.cjs} +1 -1
- package/lib/browser/{block-wrapper-YNVEwJsu.js → block-wrapper-tny9tjLX.js} +3 -3
- package/lib/browser/{component-ref-YeF1fWsm.cjs → component-ref-Mw4IXQsf.cjs} +1 -1
- package/lib/browser/{component-ref-watkJI0h.js → component-ref-d2TAsp69.js} +4 -4
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-DvyFZA6k.js → get-block-properties-DXgJ283y.js} +1 -1
- package/lib/browser/{get-block-properties-Q4RE1NYS.cjs → get-block-properties-yuV5qbSy.cjs} +1 -1
- package/lib/browser/{index-DfB3iR8x.js → index-NzYhd2fP.js} +13 -10
- package/lib/browser/{index-U5K993_E.cjs → index-yyjVNpWr.cjs} +13 -13
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-naKnBygx.cjs → live-edit-2xpHwDC6.cjs} +1 -1
- package/lib/browser/{live-edit-9dPB7jWd.js → live-edit-MYo3p6a8.js} +1 -1
- package/lib/browser/{repeated-block-BQB7dngl.cjs → repeated-block-2EBzVyUu.cjs} +1 -1
- package/lib/browser/{repeated-block-B84MBN4t.js → repeated-block-Ga5ASejd.js} +2 -2
- package/lib/browser/{style-wrapper-dtKxKeZ0.cjs → style-wrapper-L7DnOyfm.cjs} +1 -1
- package/lib/browser/{style-wrapper-1pU2q-Nj.js → style-wrapper-dI5wRv59.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-n-gIbP8r.js → awaiter-4nEUChYV.js} +1 -1
- package/lib/edge/{awaiter-HFBt_OAF.cjs → awaiter-6AjvWUxL.cjs} +1 -1
- package/lib/{node/block-wrapper-sEviqhU3.js → edge/block-wrapper-46vOpFGy.js} +3 -3
- package/lib/edge/{block-wrapper-Bu7g5EV_.cjs → block-wrapper-97OfjwlX.cjs} +1 -1
- package/lib/edge/{component-ref-4wKEKXCt.cjs → component-ref-DUyRq-EJ.cjs} +1 -1
- package/lib/edge/{component-ref-JHSTjcJx.js → component-ref-yTXpKy_r.js} +4 -4
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-5Wxv-oHg.js → get-block-properties-W3W_9H-Z.js} +1 -1
- package/lib/edge/{get-block-properties--14I0FqA.cjs → get-block-properties-jJLbFHeq.cjs} +1 -1
- package/lib/edge/{index-_fUTINXy.js → index-DHXkBA25.js} +13 -10
- package/lib/edge/{index-78yK7PsD.cjs → index-jpFEl6o1.cjs} +4 -4
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-267vHpIq.cjs → edge/live-edit-WpboQZDv.cjs} +1 -1
- package/lib/{node/live-edit-U9pCBdly.js → edge/live-edit-nhAMI-64.js} +1 -1
- package/lib/edge/{repeated-block-nCuqUDP7.cjs → repeated-block-dGVzaSM5.cjs} +1 -1
- package/lib/edge/{repeated-block-F75iqpVr.js → repeated-block-eANZkOUH.js} +2 -2
- package/lib/edge/{style-wrapper-rVAWy7o_.cjs → style-wrapper-CvNVb0wT.cjs} +1 -1
- package/lib/edge/{style-wrapper-w933365M.js → style-wrapper-GqtgkGuc.js} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-aepEb5fm.js → awaiter-6JHJCJgG.js} +1 -1
- package/lib/node/{awaiter-MgDlcUHI.cjs → awaiter-_rQTvMWR.cjs} +1 -1
- package/lib/{edge/block-wrapper-fPMgU7lR.js → node/block-wrapper-3P0_XOfk.js} +3 -3
- package/lib/node/{block-wrapper-3kiJne4m.cjs → block-wrapper-CVcdunhe.cjs} +1 -1
- package/lib/node/{component-ref-TyXWBWEx.js → component-ref-RHwChjOp.js} +5 -5
- package/lib/node/{component-ref-6kTApMRL.cjs → component-ref-tWjNsmU5.cjs} +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-NjyNQiag.js → get-block-properties-9gqKfU1J.js} +2 -2
- package/lib/node/{get-block-properties-3uCiF9Qm.cjs → get-block-properties-jknWz7As.cjs} +1 -1
- package/lib/node/{index-YYQAkk5S.js → index-CwfwLkvc.js} +49 -46
- package/lib/node/{index-9WZ86cun.cjs → index-eeU-4w7r.cjs} +3 -3
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-9xqNMwhC.js → node/live-edit-NBkhYc-u.js} +1 -1
- package/lib/{edge/live-edit-nbVPESOp.cjs → node/live-edit-iOkS0wUg.cjs} +1 -1
- package/lib/node/{repeated-block-BfYZqoE0.cjs → repeated-block-BqCLqE8_.cjs} +1 -1
- package/lib/node/{repeated-block-f2s-IUoM.js → repeated-block-aHj4jtJt.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-HsyT-bd2.js → should-force-browser-runtime-in-node-2bRYXF-W.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-yK_d4v-W.cjs → should-force-browser-runtime-in-node-j9YDACzy.cjs} +1 -1
- package/lib/node/{style-wrapper-vHL9MNhi.cjs → style-wrapper-WxU8Uo4d.cjs} +1 -1
- package/lib/node/{style-wrapper-MJzB79lB.js → style-wrapper-kcTKCb_j.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
package/lib/edge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-jpFEl6o1.cjs");exports.Blocks=e.Blocks;exports.BuilderContext=e.BuilderContext;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.registerAction=e.registerAction;exports.setClientUserAttributes=e.setClientUserAttributes;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/edge/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as t, b as a, m as r, C as i, q as n, F as o, I as c, S as g, n as u, o as l, V as m, E as d, t as C, D as E, G as b, H as p, y as B, i as S, r as f, u as h, v as x, s as y, x as A, A as P, z as k } from "./index-
|
|
1
|
+
import { p as t, b as a, m as r, C as i, q as n, F as o, I as c, S as g, n as u, o as l, V as m, E as d, t as C, D as E, G as b, H as p, y as B, i as S, r as f, u as h, v as x, s as y, x as A, A as P, z as k } from "./index-DHXkBA25.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Blocks,
|
|
4
4
|
a as BuilderContext,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./find-block-FREohLcp.cjs"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./find-block-FREohLcp.cjs"),n=require("./index-jpFEl6o1.cjs"),i=t.defineComponent({name:"live-edit",props:["id","attributes","Wrapper"],inject:{context:n.BuilderContext.key},computed:{block(){return r.findBlockById(this.context.content,this.id)},options(){var e,o;return((o=(e=this.block)==null?void 0:e.component)==null?void 0:o.options)||{}}}});function s(e,o,p,u,d,a){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({attributes:e.attributes},e.options),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const c=n._export_sfc(i,[["render",s]]);exports.default=c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as r, createBlock as n, resolveDynamicComponent as i, mergeProps as s, withCtx as p, renderSlot as a } from "vue";
|
|
2
2
|
import { f as c } from "./find-block-3Ig0kVVe.js";
|
|
3
|
-
import { b as d, _ as l } from "./index-
|
|
3
|
+
import { b as d, _ as l } from "./index-DHXkBA25.js";
|
|
4
4
|
const m = o({
|
|
5
5
|
name: "live-edit",
|
|
6
6
|
props: ["id", "attributes", "Wrapper"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-jpFEl6o1.cjs"),r=()=>Promise.resolve().then(()=>require("./index-jpFEl6o1.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents","linkComponent"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}},watch:{onUpdateHook0:{handler(){this.store=this.repeatContext},immediate:!0}},computed:{onUpdateHook0(){return{0:this.repeatContext}}}});function s(e,p,l,a,d,m){const n=o.resolveComponent("Block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"])}const i=t._export_sfc(c,[["render",s]]);exports.default=i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as p, createBlock as s } from "vue";
|
|
2
|
-
import { b as c, _ as i } from "./index-
|
|
3
|
-
const a = () => import("./index-
|
|
2
|
+
import { b as c, _ as i } from "./index-DHXkBA25.js";
|
|
3
|
+
const a = () => import("./index-DHXkBA25.js").then((e) => e.K).then((e) => e.default).catch((e) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),s=require("./index-jpFEl6o1.cjs"),$=require("./find-block-FREohLcp.cjs"),T=o.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,B,C,f;const e=this.block,t=e.responsiveStyles,n=this.context.content,l=s.getSizesForBreakpoints(((S=n==null?void 0:n.meta)==null?void 0:S.breakpoints)||{}),p=!!((B=(h=n==null?void 0:n.meta)==null?void 0:h.breakpoints)!=null&&B.xsmall),a=t==null?void 0:t.large,c=t==null?void 0:t.medium,d=t==null?void 0:t.small,r=t==null?void 0:t.xsmall,m=e.id;if(!m)return"";const v=a?s.createCssClass({className:m,styles:a}):"",b=c?s.createCssClass({className:m,styles:c,mediaQuery:s.getMaxWidthQueryForSize("medium",l)}):"",x=d?s.createCssClass({className:m,styles:d,mediaQuery:s.getMaxWidthQueryForSize("small",l)}):"",k=r&&p?s.createCssClass({className:m,styles:r,mediaQuery:s.getMaxWidthQueryForSize("xsmall",l)}):"",i=e.animations&&e.animations.find(u=>u.trigger==="hover");let y="";if(i){const u=((f=(C=i.steps)==null?void 0:C[1])==null?void 0:f.styles)||{};y=s.createCssClass({className:`${m}:hover`,styles:{...u,transition:`all ${i.duration}s ${s.camelToKebabCase(i.easing)}`,transitionDelay:i.delay?`${i.delay}s`:"0s"}})||""}return[v,b,x,k,y].join(" ")}}});function _(e,t,n,l,p,a){const c=o.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(o.openBlock(),o.createBlock(c,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):o.createCommentVNode("",!0)}const E=s._export_sfc(T,[["render",_]]),P=o.defineComponent({name:"live-edit-block-styles",components:{InlinedStyles:s._sfc_main},props:["contextProvider","id"],data(){return{TARGET:s.TARGET}},computed:{block(){return $.findBlockById(this.contextProvider.content,this.id)},processedBlock(){var n;const e=this.block;return e?(n=e.repeat)!=null&&n.collection?e:s.getProcessedBlock({block:e,localState:this.contextProvider.localState,rootState:this.contextProvider.rootState,rootSetState:this.contextProvider.rootSetState,context:this.contextProvider.context}):null},canShowBlock(){var e,t,n,l;return s.checkIsDefined((e=this.processedBlock)==null?void 0:e.hide)?!((t=this.processedBlock)!=null&&t.hide):s.checkIsDefined((n=this.processedBlock)==null?void 0:n.show)?(l=this.processedBlock)==null?void 0:l.show:!0},css(){var y,S,h,B,C,f,u;const e=(y=this.processedBlock)==null?void 0:y.responsiveStyles,t=this.contextProvider.content,n=s.getSizesForBreakpoints(((S=t==null?void 0:t.meta)==null?void 0:S.breakpoints)||{}),l=!!((B=(h=t==null?void 0:t.meta)==null?void 0:h.breakpoints)!=null&&B.xsmall),p=e==null?void 0:e.large,a=e==null?void 0:e.medium,c=e==null?void 0:e.small,d=e==null?void 0:e.xsmall,r=(C=this.processedBlock)==null?void 0:C.id;if(!r)return"";const m=p?s.createCssClass({className:r,styles:p}):"",v=a?s.createCssClass({className:r,styles:a,mediaQuery:s.getMaxWidthQueryForSize("medium",n)}):"",b=c?s.createCssClass({className:r,styles:c,mediaQuery:s.getMaxWidthQueryForSize("small",n)}):"",x=d&&l?s.createCssClass({className:r,styles:d,mediaQuery:s.getMaxWidthQueryForSize("xsmall",n)}):"",k=this.processedBlock.animations&&this.processedBlock.animations.find(g=>g.trigger==="hover");let i="";if(k){const g=((u=(f=k.steps)==null?void 0:f[1])==null?void 0:u.styles)||{};i=s.createCssClass({className:`${r}:hover`,styles:{...g,transition:`all ${k.duration}s ${s.camelToKebabCase(k.easing)}`,transitionDelay:k.delay?`${k.delay}s`:"0s"}})||""}return[m,v,b,x,i].join(" ")}}});function Q(e,t,n,l,p,a){const c=o.resolveComponent("InlinedStyles");return e.TARGET==="rsc"&&e.css&&e.canShowBlock?(o.openBlock(),o.createBlock(c,{key:0,id:"builderio-block",styles:e.css,nonce:e.contextProvider.nonce},null,8,["styles","nonce"])):o.createCommentVNode("",!0)}const A=s._export_sfc(P,[["render",Q]]),I=o.defineComponent({name:"style-wrapper",components:{BlockStyles:E,LiveEditBlockStyles:A},props:["block","context"],data(){return{isClientEditing:!1,isHydrated:!1,TARGET:s.TARGET}},inject:{contextProvider:s.BuilderContext.key},mounted(){}});function z(e,t,n,l,p,a){const c=o.resolveComponent("LiveEditBlockStyles"),d=o.resolveComponent("BlockStyles");return e.isHydrated?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.TARGET==="rsc"&&e.isClientEditing?(o.openBlock(),o.createBlock(c,{key:0,id:e.block.id,contextProvider:e.contextProvider},null,8,["id","contextProvider"])):(o.openBlock(),o.createBlock(d,{key:1,block:e.block,context:e.context},null,8,["block","context"]))],64)):(o.openBlock(),o.createBlock(d,{key:1,block:e.block,context:e.context},null,8,["block","context"]))}const w=s._export_sfc(I,[["render",z]]);exports.default=w;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as x, openBlock as y, createBlock as $, createCommentVNode as Q, createElementBlock as z, Fragment as G } from "vue";
|
|
2
|
-
import { c as A, T as w, d as C, f as N, h as l, j as u, k as j, _ as I, l as H, b as R } from "./index-
|
|
2
|
+
import { c as A, T as w, d as C, f as N, h as l, j as u, k as j, _ as I, l as H, b as R } from "./index-DHXkBA25.js";
|
|
3
3
|
import { f as U } from "./find-block-3Ig0kVVe.js";
|
|
4
4
|
const W = E({
|
|
5
5
|
name: "block-styles",
|
package/lib/edge/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-5vz8uirn7sc[data-v-82fc93d6]{display:flex;flex-direction:column;align-items:stretch}.div-1be3j8m9ewb[data-v-ab15749a]{display:flex;line-height:normal;height:100%}.img-t43jfuqn6g[data-v-741b9bbc]{opacity:1;transition:opacity .2s ease-in-out}.div-t43jfuqn6g[data-v-741b9bbc]{width:100%;pointer-events:none;font-size:0}.div-t43jfuqn6g-2[data-v-741b9bbc]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-
|
|
1
|
+
.component-5vz8uirn7sc[data-v-82fc93d6]{display:flex;flex-direction:column;align-items:stretch}.div-1be3j8m9ewb[data-v-ab15749a]{display:flex;line-height:normal;height:100%}.img-t43jfuqn6g[data-v-741b9bbc]{opacity:1;transition:opacity .2s ease-in-out}.div-t43jfuqn6g[data-v-741b9bbc]{width:100%;pointer-events:none;font-size:0}.div-t43jfuqn6g-2[data-v-741b9bbc]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-2oa2wtipkzk[data-v-77c7888c]{padding:10px;color:red;text-align:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-eeU-4w7r.cjs"),n=e.defineComponent({name:"awaiter",props:[],mounted(){}});function o(t,a,c,i,u,d){return e.renderSlot(t.$slots,"default")}const s=r._export_sfc(n,[["render",o]]);exports.default=s;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, defineAsyncComponent as a, resolveComponent as c, openBlock as i, createBlock as p, withCtx as s, renderSlot as l } from "vue";
|
|
2
|
-
import { g as m, a as d } from "./get-block-properties-
|
|
3
|
-
import { _ as k } from "./index-
|
|
4
|
-
const u = () => import("./index-
|
|
2
|
+
import { g as m, a as d } from "./get-block-properties-9gqKfU1J.js";
|
|
3
|
+
import { _ as k } from "./index-CwfwLkvc.js";
|
|
4
|
+
const u = () => import("./index-CwfwLkvc.js").then((t) => t.D).then((t) => t.default).catch((t) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
7
7
|
t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./get-block-properties-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./get-block-properties-jknWz7As.cjs"),a=require("./index-eeU-4w7r.cjs"),i=()=>Promise.resolve().then(()=>require("./index-eeU-4w7r.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}),s=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(i)},props:["Wrapper","block","context"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:r.getBlockProperties}}});function l(e,d,m,u,k,y){var o,n;const c=t.resolveComponent("DynamicRenderer");return t.openBlock(),t.createBlock(c,{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,trackingContext:{apiKey:e.context.apiKey,canTrack:e.context.canTrack??!0,contentId:(o=e.context.content)==null?void 0:o.id,variationId:(n=e.context.content)==null?void 0:n.testVariationId}})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const p=a._export_sfc(s,[["render",l]]);exports.default=p;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as h, defineAsyncComponent as u, resolveComponent as m, openBlock as o, createBlock as i, withCtx as p, renderSlot as d, createElementBlock as f, Fragment as b, resolveDynamicComponent as C, mergeProps as w, normalizeProps as W, renderList as y, createCommentVNode as B } from "vue";
|
|
2
|
-
import { _ as g, B as E, w as R } from "./index-
|
|
3
|
-
import { T as $, o as A } from "./should-force-browser-runtime-in-node-
|
|
4
|
-
import { a as v, g as S } from "./get-block-properties-
|
|
5
|
-
const T = () => import("./awaiter-
|
|
2
|
+
import { _ as g, B as E, w as R } from "./index-CwfwLkvc.js";
|
|
3
|
+
import { T as $, o as A } from "./should-force-browser-runtime-in-node-2bRYXF-W.js";
|
|
4
|
+
import { a as v, g as S } from "./get-block-properties-9gqKfU1J.js";
|
|
5
|
+
const T = () => import("./awaiter-6JHJCJgG.js").then((t) => t.default).catch((t) => {
|
|
6
6
|
throw console.error(
|
|
7
7
|
"Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",
|
|
8
8
|
t
|
|
9
9
|
), t;
|
|
10
|
-
}), I = () => import("./live-edit-
|
|
10
|
+
}), I = () => import("./live-edit-NBkhYc-u.js").then((t) => t.default).catch((t) => {
|
|
11
11
|
throw console.error(
|
|
12
12
|
"Error while attempting to dynamically import component LiveEdit at ../../live-edit.vue",
|
|
13
13
|
t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),p=require("./index-eeU-4w7r.cjs"),d=require("./should-force-browser-runtime-in-node-j9YDACzy.cjs"),l=require("./get-block-properties-jknWz7As.cjs"),k=()=>Promise.resolve().then(()=>require("./awaiter-_rQTvMWR.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",e),e}),h=()=>Promise.resolve().then(()=>require("./live-edit-iOkS0wUg.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component LiveEdit at ../../live-edit.vue",e),e}),b=t.defineComponent({name:"interactive-element",components:{LiveEdit:t.defineAsyncComponent(h),Awaiter:t.defineAsyncComponent(k)},props:["wrapperProps","block","includeBlockProps","context","Wrapper"],data(){return{forceRenderCount:0,TARGET:d.TARGET,isEditing:d.isEditing}},watch:{onUpdateHook0:{handler(){},immediate:!0}},computed:{attributes(){var e,o;return this.includeBlockProps?{...l.getBlockProperties({block:this.block,context:this.context}),...l.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context,trackingContext:{apiKey:this.context.apiKey,canTrack:this.context.canTrack??!0,contentId:(e=this.context.content)==null?void 0:e.id,variationId:(o=this.context.content)==null?void 0:o.testVariationId}})}:{}},targetWrapperProps(){return{...this.wrapperProps,...Object.keys(this.attributes).length>0?{attributes:this.attributes}:{}}},onUpdateHook0(){var e,o;return{0:this.wrapperProps,1:(o=(e=this.block)==null?void 0:e.component)==null?void 0:o.options}}}});function f(e,o,s,a,i,c){const r=t.resolveComponent("Awaiter"),n=t.resolveComponent("LiveEdit");return e.Wrapper.load?(t.openBlock(),t.createBlock(r,{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.createElementBlock(t.Fragment,{key:1},[e.TARGET==="rsc"&&e.isEditing()?(t.openBlock(),t.createBlock(n,{key:0,Wrapper:e.Wrapper,id:e.block.id||"",attributes:e.attributes},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["Wrapper","id","attributes"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({key:1,attributes:e.attributes},e.targetWrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"]))],64))}const m=p._export_sfc(b,[["render",f]]),C=({componentOptions:e,builderBlock:o,context:s,componentRef:a,includeBlockProps:i,isInteractive:c,contextValue:r})=>{const n={...e,...i?{attributes:l.getBlockProperties({block:o,context:r})}:{}};return c?{Wrapper:a,block:o,context:s,wrapperProps:e,includeBlockProps:i}:n},B=t.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:m},props:["isInteractive","componentRef","blockChildren","componentOptions","builderBlock","context","linkComponent","includeBlockProps","registeredComponents"],data(){return{shouldUpdate:!1,Wrapper:this.isInteractive?p.wrapComponentRef(m):this.componentRef,getWrapperProps:C}},computed:{blockChildrenToRender(){return this.componentRef?this.blockChildren:[]}}});function v(e,o,s,a,i,c){const r=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.blockChildrenToRender,(n,u)=>(t.openBlock(),t.createBlock(r,{key:n.id,block:n,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const g=p._export_sfc(B,[["render",v]]);exports.default=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.2.
|
|
1
|
+
export declare const SDK_VERSION = "5.2.5";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as s } from "./should-force-browser-runtime-in-node-
|
|
2
|
-
import { e as c, g as i, a as l } from "./index-
|
|
1
|
+
import { T as s } from "./should-force-browser-runtime-in-node-2bRYXF-W.js";
|
|
2
|
+
import { e as c, g as i, a as l } from "./index-CwfwLkvc.js";
|
|
3
3
|
const f = (e) => `v-on:${e.toLowerCase()}`, p = (e, t) => (r) => c({
|
|
4
4
|
code: e,
|
|
5
5
|
context: t.context,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./should-force-browser-runtime-in-node-
|
|
1
|
+
"use strict";const c=require("./should-force-browser-runtime-in-node-j9YDACzy.cjs"),s=require("./index-eeU-4w7r.cjs"),i=e=>`v-on:${e.toLowerCase()}`,l=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1,trackingContext:t.trackingContext});function u(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=i(o);if(e.stripPrefix)switch(c.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=l(a,e)}return t}function d({properties:e}){return e}const f=e=>({href:e.href});function p({block:e,context:t}){var o;const r={...f(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 d({properties:r,context:t,block:e})}exports.getBlockActions=u;exports.getBlockProperties=p;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as ze, createElementVNode as z, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
|
|
2
|
-
import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-
|
|
2
|
+
import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-2bRYXF-W.js";
|
|
3
3
|
const Vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Nt = (e) => typeof e == "string" && Vt.has(e.toLowerCase());
|
|
4
4
|
function N(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -41,7 +41,7 @@ function Dt(e, t, n, o, r, i) {
|
|
|
41
41
|
const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: Ce
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
44
|
+
}, Symbol.toStringTag, { value: "Module" })), q = () => {
|
|
45
45
|
switch (R) {
|
|
46
46
|
case "react":
|
|
47
47
|
case "reactNative":
|
|
@@ -71,7 +71,7 @@ const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.
|
|
|
71
71
|
attrs() {
|
|
72
72
|
return {
|
|
73
73
|
...N(this.attributes, "v-on:", !1),
|
|
74
|
-
[
|
|
74
|
+
[q()]: `${this.link ? "" : "builder-button"} ${this.attributes[q()] || ""}`,
|
|
75
75
|
...this.link ? {
|
|
76
76
|
href: this.link,
|
|
77
77
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -142,9 +142,9 @@ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
|
|
|
142
142
|
return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
|
|
143
143
|
}, Mt = (e) => E() || wt({
|
|
144
144
|
shouldLogWarning: !0
|
|
145
|
-
}) ? Ht(e) : It(e),
|
|
145
|
+
}) ? Ht(e) : It(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, zt = (e) => {
|
|
146
146
|
var t, n, o, r, i, s;
|
|
147
|
-
return ((o = (n = (t =
|
|
147
|
+
return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
148
148
|
};
|
|
149
149
|
function _({
|
|
150
150
|
code: e,
|
|
@@ -399,10 +399,13 @@ const xe = "builder.", rn = "options.", _e = (e) => {
|
|
|
399
399
|
return _e(e);
|
|
400
400
|
}, an = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
401
401
|
function et(e, t) {
|
|
402
|
-
|
|
402
|
+
let n;
|
|
403
|
+
try {
|
|
404
|
+
n = new URL(t.origin);
|
|
405
|
+
} catch {
|
|
403
406
|
return !1;
|
|
404
|
-
|
|
405
|
-
return (e || an).findIndex((
|
|
407
|
+
}
|
|
408
|
+
return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || an).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
|
|
406
409
|
}
|
|
407
410
|
let Ue = !1;
|
|
408
411
|
const tt = (e) => {
|
|
@@ -1064,30 +1067,30 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1064
1067
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1065
1068
|
e
|
|
1066
1069
|
), e;
|
|
1067
|
-
}), Ln = () => import("./block-wrapper-
|
|
1070
|
+
}), Ln = () => import("./block-wrapper-3P0_XOfk.js").then((e) => e.default).catch((e) => {
|
|
1068
1071
|
throw console.error(
|
|
1069
1072
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1070
1073
|
e
|
|
1071
1074
|
), e;
|
|
1072
|
-
}), Hn = () => import("./component-ref-
|
|
1075
|
+
}), Hn = () => import("./component-ref-RHwChjOp.js").then((e) => e.default).catch((e) => {
|
|
1073
1076
|
throw console.error(
|
|
1074
1077
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1075
1078
|
e
|
|
1076
1079
|
), e;
|
|
1077
|
-
}), Mn = () => import("./repeated-block-
|
|
1080
|
+
}), Mn = () => import("./repeated-block-aHj4jtJt.js").then((e) => e.default).catch((e) => {
|
|
1078
1081
|
throw console.error(
|
|
1079
1082
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1080
1083
|
e
|
|
1081
1084
|
), e;
|
|
1082
|
-
}),
|
|
1085
|
+
}), qn = () => import("./style-wrapper-kcTKCb_j.js").then((e) => e.default).catch((e) => {
|
|
1083
1086
|
throw console.error(
|
|
1084
1087
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1085
1088
|
e
|
|
1086
1089
|
), e;
|
|
1087
|
-
}),
|
|
1090
|
+
}), jn = y({
|
|
1088
1091
|
name: "block",
|
|
1089
1092
|
components: {
|
|
1090
|
-
StyleWrapper: Q(
|
|
1093
|
+
StyleWrapper: Q(qn),
|
|
1091
1094
|
RepeatedBlock: Q(Mn),
|
|
1092
1095
|
ComponentRef: Q(Hn),
|
|
1093
1096
|
BlockWrapper: Q(Ln),
|
|
@@ -1245,7 +1248,7 @@ function zn(e, t, n, o, r, i) {
|
|
|
1245
1248
|
], 64))
|
|
1246
1249
|
], 64)) : C("", !0);
|
|
1247
1250
|
}
|
|
1248
|
-
const mt = /* @__PURE__ */ v(
|
|
1251
|
+
const mt = /* @__PURE__ */ v(jn, [["render", zn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1249
1252
|
__proto__: null,
|
|
1250
1253
|
default: mt
|
|
1251
1254
|
}, Symbol.toStringTag, { value: "Module" })), Kn = y({
|
|
@@ -1382,7 +1385,7 @@ function Yn(e, t, n, o, r, i) {
|
|
|
1382
1385
|
_: 3
|
|
1383
1386
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1384
1387
|
}
|
|
1385
|
-
const
|
|
1388
|
+
const j = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
|
|
1386
1389
|
name: "dynamic-div",
|
|
1387
1390
|
props: []
|
|
1388
1391
|
});
|
|
@@ -1468,7 +1471,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1468
1471
|
components: {
|
|
1469
1472
|
InlinedStyles: ce,
|
|
1470
1473
|
DynamicRenderer: Ce,
|
|
1471
|
-
Blocks:
|
|
1474
|
+
Blocks: j,
|
|
1472
1475
|
DynamicDiv: ee
|
|
1473
1476
|
},
|
|
1474
1477
|
props: [
|
|
@@ -1598,7 +1601,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1598
1601
|
...e.link ? {
|
|
1599
1602
|
href: e.link
|
|
1600
1603
|
} : {},
|
|
1601
|
-
[
|
|
1604
|
+
[q()]: "builder-column",
|
|
1602
1605
|
style: ut(this.columnCssVars(t))
|
|
1603
1606
|
};
|
|
1604
1607
|
}
|
|
@@ -2192,7 +2195,7 @@ const Ro = () => `
|
|
|
2192
2195
|
}
|
|
2193
2196
|
}, Bo = (e) => e.toString(), Vo = y({
|
|
2194
2197
|
name: "builder-accordion",
|
|
2195
|
-
components: { Blocks:
|
|
2198
|
+
components: { Blocks: j },
|
|
2196
2199
|
props: [
|
|
2197
2200
|
"grid",
|
|
2198
2201
|
"oneAtATime",
|
|
@@ -2741,7 +2744,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2741
2744
|
}), Mo = y({
|
|
2742
2745
|
name: "builder-personalization-container",
|
|
2743
2746
|
components: {
|
|
2744
|
-
Blocks:
|
|
2747
|
+
Blocks: j,
|
|
2745
2748
|
InlinedStyles: ce,
|
|
2746
2749
|
InlinedScript: Pe
|
|
2747
2750
|
},
|
|
@@ -2824,7 +2827,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2824
2827
|
return {
|
|
2825
2828
|
...N(this.attributes, "v-on:", !1),
|
|
2826
2829
|
...N(this.attributes, "v-on:", !0),
|
|
2827
|
-
[
|
|
2830
|
+
[q()]: `builder-personalization-container ${this.attributes[q()] || ""}`
|
|
2828
2831
|
};
|
|
2829
2832
|
},
|
|
2830
2833
|
filteredVariants() {
|
|
@@ -2863,7 +2866,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2863
2866
|
}
|
|
2864
2867
|
}
|
|
2865
2868
|
});
|
|
2866
|
-
function
|
|
2869
|
+
function qo(e, t, n, o, r, i) {
|
|
2867
2870
|
var u, p, f, c, m, b, g, P, U, B;
|
|
2868
2871
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
2869
2872
|
return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
|
|
@@ -2948,7 +2951,7 @@ function jo(e, t, n, o, r, i) {
|
|
|
2948
2951
|
], 64)) : C("", !0)
|
|
2949
2952
|
], 16);
|
|
2950
2953
|
}
|
|
2951
|
-
const
|
|
2954
|
+
const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), zo = {
|
|
2952
2955
|
name: "Core:Section",
|
|
2953
2956
|
static: !0,
|
|
2954
2957
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3006,7 +3009,7 @@ const qo = /* @__PURE__ */ v(Mo, [["render", jo]]), zo = {
|
|
|
3006
3009
|
}
|
|
3007
3010
|
}, Go = y({
|
|
3008
3011
|
name: "builder-slot",
|
|
3009
|
-
components: { Blocks:
|
|
3012
|
+
components: { Blocks: j },
|
|
3010
3013
|
props: ["builderContext", "name", "builderComponents"]
|
|
3011
3014
|
});
|
|
3012
3015
|
function Jo(e, t, n, o, r, i) {
|
|
@@ -3211,7 +3214,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
|
|
|
3211
3214
|
}
|
|
3212
3215
|
}, Zo = y({
|
|
3213
3216
|
name: "builder-tabs",
|
|
3214
|
-
components: { Blocks:
|
|
3217
|
+
components: { Blocks: j },
|
|
3215
3218
|
props: [
|
|
3216
3219
|
"defaultActiveTab",
|
|
3217
3220
|
"tabs",
|
|
@@ -3706,7 +3709,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
|
|
|
3706
3709
|
return kr.includes(e) ? e : "production";
|
|
3707
3710
|
}, Tr = y({
|
|
3708
3711
|
name: "builder-form-component",
|
|
3709
|
-
components: { Blocks:
|
|
3712
|
+
components: { Blocks: j },
|
|
3710
3713
|
props: [
|
|
3711
3714
|
"builderContext",
|
|
3712
3715
|
"previewState",
|
|
@@ -3883,7 +3886,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
|
|
|
3883
3886
|
}
|
|
3884
3887
|
}), wr = ["validate", "action", "method", "name"], Ir = {
|
|
3885
3888
|
key: 2,
|
|
3886
|
-
class: "builder-form-error-text pre-
|
|
3889
|
+
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
3887
3890
|
};
|
|
3888
3891
|
function $r(e, t, n, o, r, i) {
|
|
3889
3892
|
const s = k("Blocks");
|
|
@@ -3917,7 +3920,7 @@ function $r(e, t, n, o, r, i) {
|
|
|
3917
3920
|
}, null, 8, ["blocks", "context"])) : C("", !0)
|
|
3918
3921
|
], 16, wr);
|
|
3919
3922
|
}
|
|
3920
|
-
const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-
|
|
3923
|
+
const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c"]]), Er = {
|
|
3921
3924
|
name: "Form:Input",
|
|
3922
3925
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3923
3926
|
inputs: [
|
|
@@ -4092,7 +4095,7 @@ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
|
|
|
4092
4095
|
function Hr(e, t, n, o, r, i) {
|
|
4093
4096
|
return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
|
|
4094
4097
|
}
|
|
4095
|
-
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]),
|
|
4098
|
+
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
|
|
4096
4099
|
name: "Form:TextArea",
|
|
4097
4100
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4098
4101
|
inputs: [{
|
|
@@ -4128,7 +4131,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), jr = {
|
|
|
4128
4131
|
},
|
|
4129
4132
|
static: !0,
|
|
4130
4133
|
noWrap: !0
|
|
4131
|
-
},
|
|
4134
|
+
}, jr = y({
|
|
4132
4135
|
name: "builder-textarea",
|
|
4133
4136
|
props: [
|
|
4134
4137
|
"attributes",
|
|
@@ -4151,7 +4154,7 @@ function Kr(e, t, n, o, r, i) {
|
|
|
4151
4154
|
required: e.required
|
|
4152
4155
|
}, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, zr);
|
|
4153
4156
|
}
|
|
4154
|
-
const Gr = /* @__PURE__ */ v(
|
|
4157
|
+
const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
|
|
4155
4158
|
name: "Raw:Img",
|
|
4156
4159
|
hideFromInsertMenu: !0,
|
|
4157
4160
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -4220,7 +4223,7 @@ const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
|
|
|
4220
4223
|
const e = {
|
|
4221
4224
|
...N(this.attributes, "v-on:", !1),
|
|
4222
4225
|
...N(this.attributes, "v-on:", !0),
|
|
4223
|
-
[
|
|
4226
|
+
[q()]: `builder-raw-img ${this.attributes[q()] || ""}`
|
|
4224
4227
|
};
|
|
4225
4228
|
return delete e.style, e;
|
|
4226
4229
|
}
|
|
@@ -4490,7 +4493,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4490
4493
|
...Nr
|
|
4491
4494
|
}, {
|
|
4492
4495
|
component: Gr,
|
|
4493
|
-
...
|
|
4496
|
+
...qr
|
|
4494
4497
|
}, {
|
|
4495
4498
|
component: Zr,
|
|
4496
4499
|
...Jr
|
|
@@ -4522,7 +4525,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4522
4525
|
component: ar,
|
|
4523
4526
|
...or
|
|
4524
4527
|
}, ...gt.includes(R) ? [{
|
|
4525
|
-
component:
|
|
4528
|
+
component: jo,
|
|
4526
4529
|
...Ho
|
|
4527
4530
|
}] : [], {
|
|
4528
4531
|
component: nr,
|
|
@@ -4650,7 +4653,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4650
4653
|
}) => `window.${ve}(
|
|
4651
4654
|
"${t}", "${e}", ${Ae}
|
|
4652
4655
|
)`;
|
|
4653
|
-
function
|
|
4656
|
+
function qe(e) {
|
|
4654
4657
|
return Math.round(e * 1e3) / 1e3;
|
|
4655
4658
|
}
|
|
4656
4659
|
const bi = (e, t, n = !0) => {
|
|
@@ -4667,11 +4670,11 @@ const bi = (e, t, n = !0) => {
|
|
|
4667
4670
|
}, gi = (e) => bi(e, (t) => {
|
|
4668
4671
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4669
4672
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4670
|
-
}),
|
|
4673
|
+
}), je = ({
|
|
4671
4674
|
event: e,
|
|
4672
4675
|
target: t
|
|
4673
4676
|
}) => {
|
|
4674
|
-
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i =
|
|
4677
|
+
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = qe(o / n.width), s = qe(r / n.height);
|
|
4675
4678
|
return {
|
|
4676
4679
|
x: i,
|
|
4677
4680
|
y: s
|
|
@@ -4681,11 +4684,11 @@ const bi = (e, t, n = !0) => {
|
|
|
4681
4684
|
return {
|
|
4682
4685
|
targetBuilderElement: o || void 0,
|
|
4683
4686
|
metadata: {
|
|
4684
|
-
targetOffset: t ?
|
|
4687
|
+
targetOffset: t ? je({
|
|
4685
4688
|
event: e,
|
|
4686
4689
|
target: t
|
|
4687
4690
|
}) : void 0,
|
|
4688
|
-
builderTargetOffset: n ?
|
|
4691
|
+
builderTargetOffset: n ? je({
|
|
4689
4692
|
event: e,
|
|
4690
4693
|
target: n
|
|
4691
4694
|
}) : void 0,
|
|
@@ -5148,7 +5151,7 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
|
|
|
5148
5151
|
EnableEditor: Pi,
|
|
5149
5152
|
InlinedScript: Pe,
|
|
5150
5153
|
ContentStyles: Vi,
|
|
5151
|
-
Blocks:
|
|
5154
|
+
Blocks: j,
|
|
5152
5155
|
DynamicDiv: ee
|
|
5153
5156
|
},
|
|
5154
5157
|
props: [
|
|
@@ -5492,7 +5495,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5492
5495
|
}).catch((n) => {
|
|
5493
5496
|
L.error("Could not fetch symbol content: ", n);
|
|
5494
5497
|
});
|
|
5495
|
-
},
|
|
5498
|
+
}, qi = y({
|
|
5496
5499
|
name: "builder-symbol",
|
|
5497
5500
|
components: { ContentVariants: Hi, DynamicDiv: ee },
|
|
5498
5501
|
props: [
|
|
@@ -5536,7 +5539,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5536
5539
|
className() {
|
|
5537
5540
|
var e, t;
|
|
5538
5541
|
return [
|
|
5539
|
-
this.attributes[
|
|
5542
|
+
this.attributes[q()],
|
|
5540
5543
|
"builder-symbol",
|
|
5541
5544
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
5542
5545
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -5561,7 +5564,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5561
5564
|
}
|
|
5562
5565
|
}
|
|
5563
5566
|
});
|
|
5564
|
-
function
|
|
5567
|
+
function ji(e, t, n, o, r, i) {
|
|
5565
5568
|
var l, a, u, p, f, c, m;
|
|
5566
5569
|
const s = k("ContentVariants");
|
|
5567
5570
|
return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -5589,7 +5592,7 @@ function qi(e, t, n, o, r, i) {
|
|
|
5589
5592
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5590
5593
|
], 16);
|
|
5591
5594
|
}
|
|
5592
|
-
const zi = /* @__PURE__ */ v(
|
|
5595
|
+
const zi = /* @__PURE__ */ v(qi, [["render", ji]]);
|
|
5593
5596
|
export {
|
|
5594
5597
|
$e as A,
|
|
5595
5598
|
mt as B,
|
|
@@ -5602,7 +5605,7 @@ export {
|
|
|
5602
5605
|
ar as T,
|
|
5603
5606
|
si as V,
|
|
5604
5607
|
v as _,
|
|
5605
|
-
|
|
5608
|
+
q as a,
|
|
5606
5609
|
he as b,
|
|
5607
5610
|
ce as c,
|
|
5608
5611
|
eo as d,
|
|
@@ -5614,7 +5617,7 @@ export {
|
|
|
5614
5617
|
tn as j,
|
|
5615
5618
|
Ot as k,
|
|
5616
5619
|
zi as l,
|
|
5617
|
-
|
|
5620
|
+
j as m,
|
|
5618
5621
|
Hi as n,
|
|
5619
5622
|
Te as o,
|
|
5620
5623
|
nn as p,
|