@builder.io/sdk-vue 5.1.0 → 5.2.0
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-GjRYxPnU.cjs → awaiter-Xj7xgU8A.cjs} +1 -1
- package/lib/browser/{awaiter-5WjT5CVy.js → awaiter-fiHMd9OX.js} +1 -1
- package/lib/browser/block-wrapper-2d_iPFQQ.js +51 -0
- package/lib/browser/block-wrapper-lKLgKxgH.cjs +1 -0
- package/lib/browser/blocks/form/form/form.vue.d.ts +3 -3
- package/lib/browser/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/browser/blocks/symbol/symbol.helpers.d.ts +2 -0
- package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -0
- package/lib/browser/component-ref-Bo_fwbYK.cjs +1 -0
- package/lib/browser/component-ref-YEfZKvMy.js +185 -0
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +9 -9
- package/lib/browser/components/content/components/styles.vue.d.ts +3 -3
- package/lib/browser/components/content/content.vue.d.ts +9 -9
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +9 -9
- package/lib/browser/components/inlined-script.vue.d.ts +3 -3
- package/lib/browser/components/inlined-styles.vue.d.ts +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/browser/functions/evaluate/helpers.d.ts +9 -1
- package/lib/browser/functions/get-block-actions-handler.d.ts +2 -0
- package/lib/browser/functions/get-block-actions.d.ts +2 -0
- package/lib/{edge/get-block-properties--YFzBEV7.js → browser/get-block-properties-5nuoWf39.js} +9 -7
- package/lib/browser/get-block-properties-d-Ruoi4f.cjs +1 -0
- package/lib/browser/index-1GET5eOz.cjs +334 -0
- package/lib/browser/{index-EQdaCBDB.js → index-eVqO7_Qb.js} +475 -459
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-tO-V6Sv7.js → live-edit-9paJdIsz.js} +1 -1
- package/lib/browser/{live-edit-Jion_iv8.cjs → live-edit-ETOoXz63.cjs} +1 -1
- package/lib/browser/{repeated-block-kNj6mfjr.js → repeated-block-A24n6o-E.js} +2 -2
- package/lib/browser/{repeated-block-uNYlrd8d.cjs → repeated-block-RfWox6Ev.cjs} +1 -1
- package/lib/browser/{style-wrapper-jthdwC6f.cjs → style-wrapper-GTejPbe6.cjs} +1 -1
- package/lib/browser/{style-wrapper-CSSH3Epu.js → style-wrapper-tibcUSpL.js} +1 -1
- package/lib/edge/{awaiter-0PdAd6k-.cjs → awaiter-SdqgCFCT.cjs} +1 -1
- package/lib/edge/{awaiter-OJqvwrja.js → awaiter-rbgcBB2Y.js} +1 -1
- package/lib/edge/block-wrapper-DYh1gucy.js +50 -0
- package/lib/edge/block-wrapper-WT0fK9OQ.cjs +1 -0
- package/lib/edge/blocks/form/form/form.vue.d.ts +3 -3
- package/lib/edge/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/edge/blocks/symbol/symbol.helpers.d.ts +2 -0
- package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -0
- package/lib/edge/component-ref-14bWdw0y.js +184 -0
- package/lib/edge/component-ref-Ari_o8qM.cjs +1 -0
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +9 -9
- package/lib/edge/components/content/components/styles.vue.d.ts +3 -3
- package/lib/edge/components/content/content.vue.d.ts +9 -9
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +9 -9
- package/lib/edge/components/inlined-script.vue.d.ts +3 -3
- package/lib/edge/components/inlined-styles.vue.d.ts +3 -3
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/edge/functions/evaluate/helpers.d.ts +9 -1
- package/lib/edge/functions/get-block-actions-handler.d.ts +2 -0
- package/lib/edge/functions/get-block-actions.d.ts +2 -0
- package/lib/{browser/get-block-properties-dmm_DIxo.js → edge/get-block-properties-6j21Yx4_.js} +17 -17
- package/lib/edge/get-block-properties-kMAb8z5D.cjs +1 -0
- package/lib/edge/{index-ljVeDS39.cjs → index-2Armmtcs.cjs} +17 -17
- package/lib/edge/{index-Agn-gjHJ.js → index-unVH2XRb.js} +848 -832
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-jWT4dXgM.cjs → edge/live-edit-gMqK1-U2.cjs} +1 -1
- package/lib/{node/live-edit-E90Rueqo.js → edge/live-edit-yXkE9pDV.js} +1 -1
- package/lib/{node/repeated-block-gCLdrEyt.js → edge/repeated-block-F4oPiI78.js} +2 -2
- package/lib/edge/{repeated-block-GaabRNMP.cjs → repeated-block-Y0Z3ldLT.cjs} +1 -1
- package/lib/edge/{style-wrapper-I1DS5PUP.js → style-wrapper-Ad7ABy2Z.js} +1 -1
- package/lib/edge/{style-wrapper-MIBe_b13.cjs → style-wrapper-sL972lDH.cjs} +1 -1
- package/lib/node/{awaiter-qP3UIYQS.js → awaiter-_ZqW9w8N.js} +1 -1
- package/lib/node/{awaiter-ZX8mvzyL.cjs → awaiter-i0lAEAYI.cjs} +1 -1
- package/lib/node/block-wrapper-Bv_s1rr1.cjs +1 -0
- package/lib/node/block-wrapper-CnMu7UjK.js +50 -0
- package/lib/node/blocks/form/form/form.vue.d.ts +3 -3
- package/lib/node/blocks/form/input/input.vue.d.ts +3 -3
- package/lib/node/blocks/symbol/symbol.helpers.d.ts +2 -0
- package/lib/node/blocks/symbol/symbol.types.d.ts +2 -0
- package/lib/node/component-ref-LWytt0tD.cjs +1 -0
- package/lib/node/component-ref-lU9WFg32.js +185 -0
- package/lib/node/components/content/components/enable-editor.vue.d.ts +9 -9
- package/lib/node/components/content/components/styles.vue.d.ts +3 -3
- package/lib/node/components/content/content.vue.d.ts +9 -9
- package/lib/node/components/content-variants/content-variants.vue.d.ts +9 -9
- package/lib/node/components/inlined-script.vue.d.ts +3 -3
- package/lib/node/components/inlined-styles.vue.d.ts +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/node/functions/evaluate/helpers.d.ts +9 -1
- package/lib/node/functions/get-block-actions-handler.d.ts +2 -0
- package/lib/node/functions/get-block-actions.d.ts +2 -0
- package/lib/node/{get-block-properties-o5VoFlz_.js → get-block-properties-oSP4WCJG.js} +18 -17
- package/lib/node/get-block-properties-sdbm535D.cjs +1 -0
- package/lib/node/{index-SH8gdiHf.js → index-9Wxomhx_.js} +702 -900
- package/lib/node/{index-AumTeVyL.cjs → index-z7Ed9MEJ.cjs} +30 -30
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +11 -11
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-TWpZ33A7.js → node/live-edit-ZjrPT1e_.js} +1 -1
- package/lib/{edge/live-edit-nHq1I7ij.cjs → node/live-edit-nQPgUSEF.cjs} +1 -1
- package/lib/node/{repeated-block-4pHYUEBM.cjs → repeated-block-G-7Wr2Ub.cjs} +1 -1
- package/lib/{edge/repeated-block-_wYfLmVg.js → node/repeated-block-zGwBOU59.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-5h08TaCf.js → should-force-browser-runtime-in-node-0jTQ7bdA.js} +261 -41
- package/lib/node/should-force-browser-runtime-in-node-kkE7IeZS.cjs +48 -0
- package/lib/node/{style-wrapper-7nh-8JLA.cjs → style-wrapper-QZvOi8Ur.cjs} +1 -1
- package/lib/node/{style-wrapper-1rHE_XSt.js → style-wrapper-QtIk1dHP.js} +10 -10
- package/package.json +1 -1
- package/lib/browser/block-wrapper-8v7I2JSB.cjs +0 -1
- package/lib/browser/block-wrapper-s3-0mqGr.js +0 -44
- package/lib/browser/component-ref-8g4g9kyF.js +0 -178
- package/lib/browser/component-ref-r7lSDLc0.cjs +0 -1
- package/lib/browser/get-block-properties-GPPIll7t.cjs +0 -1
- package/lib/browser/index-Treb985Y.cjs +0 -334
- package/lib/edge/block-wrapper-DfG53TBm.cjs +0 -1
- package/lib/edge/block-wrapper-LzMR5J5q.js +0 -43
- package/lib/edge/component-ref-30u-bbmm.js +0 -177
- package/lib/edge/component-ref-VTMpfeME.cjs +0 -1
- package/lib/edge/get-block-properties-yv9bFXVp.cjs +0 -1
- package/lib/node/block-wrapper-3FbaAWv9.js +0 -43
- package/lib/node/block-wrapper-mEOIfHOk.cjs +0 -1
- package/lib/node/component-ref-DHpSqIaD.cjs +0 -1
- package/lib/node/component-ref-MKSj3oym.js +0 -178
- package/lib/node/get-block-properties-b4xkM8mc.cjs +0 -1
- package/lib/node/should-force-browser-runtime-in-node-IsToRTN-.cjs +0 -48
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-2Armmtcs.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-unVH2XRb.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-2Armmtcs.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-unVH2XRb.js";
|
|
4
4
|
const m = o({
|
|
5
5
|
name: "live-edit",
|
|
6
6
|
props: ["id", "attributes", "Wrapper"],
|
|
@@ -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-unVH2XRb.js";
|
|
3
|
+
const a = () => import("./index-unVH2XRb.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"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-2Armmtcs.cjs"),r=()=>Promise.resolve().then(()=>require("./index-2Armmtcs.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,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-unVH2XRb.js";
|
|
3
3
|
import { f as U } from "./find-block-3Ig0kVVe.js";
|
|
4
4
|
const W = E({
|
|
5
5
|
name: "block-styles",
|
|
@@ -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-2Armmtcs.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 +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-z7Ed9MEJ.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./get-block-properties-sdbm535D.cjs"),a=require("./index-z7Ed9MEJ.cjs"),i=()=>Promise.resolve().then(()=>require("./index-z7Ed9MEJ.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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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-oSP4WCJG.js";
|
|
3
|
+
import { _ as k } from "./index-9Wxomhx_.js";
|
|
4
|
+
const u = () => import("./index-9Wxomhx_.js").then((t) => t.D).then((t) => t.default).catch((t) => {
|
|
5
|
+
throw console.error(
|
|
6
|
+
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
7
|
+
t
|
|
8
|
+
), t;
|
|
9
|
+
}), f = r({
|
|
10
|
+
name: "block-wrapper",
|
|
11
|
+
components: { DynamicRenderer: a(u) },
|
|
12
|
+
props: ["Wrapper", "block", "context"],
|
|
13
|
+
data() {
|
|
14
|
+
return { getBlockActions: m, getBlockProperties: d };
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
function y(t, b, g, S, h, B) {
|
|
18
|
+
var e, o;
|
|
19
|
+
const n = c("DynamicRenderer");
|
|
20
|
+
return i(), p(n, {
|
|
21
|
+
TagName: t.Wrapper,
|
|
22
|
+
attributes: t.getBlockProperties({
|
|
23
|
+
block: t.block,
|
|
24
|
+
context: t.context
|
|
25
|
+
}),
|
|
26
|
+
actionAttributes: t.getBlockActions({
|
|
27
|
+
block: t.block,
|
|
28
|
+
rootState: t.context.rootState,
|
|
29
|
+
rootSetState: t.context.rootSetState,
|
|
30
|
+
localState: t.context.localState,
|
|
31
|
+
context: t.context.context,
|
|
32
|
+
stripPrefix: !0,
|
|
33
|
+
trackingContext: {
|
|
34
|
+
apiKey: t.context.apiKey,
|
|
35
|
+
canTrack: t.context.canTrack ?? !0,
|
|
36
|
+
contentId: (e = t.context.content) == null ? void 0 : e.id,
|
|
37
|
+
variationId: (o = t.context.content) == null ? void 0 : o.testVariationId
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
}, {
|
|
41
|
+
default: s(() => [
|
|
42
|
+
l(t.$slots, "default")
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
}, 8, ["TagName", "attributes", "actionAttributes"]);
|
|
46
|
+
}
|
|
47
|
+
const R = /* @__PURE__ */ k(f, [["render", y]]);
|
|
48
|
+
export {
|
|
49
|
+
R as default
|
|
50
|
+
};
|
|
@@ -34,9 +34,9 @@ export type FormState = "unsubmitted" | "sending" | "success" | "error";
|
|
|
34
34
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
35
35
|
name?: any;
|
|
36
36
|
builderContext?: any;
|
|
37
|
+
method?: any;
|
|
37
38
|
attributes?: any;
|
|
38
39
|
action?: any;
|
|
39
|
-
method?: any;
|
|
40
40
|
previewState?: any;
|
|
41
41
|
sendWithJs?: any;
|
|
42
42
|
sendSubmissionsTo?: any;
|
|
@@ -63,9 +63,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
63
63
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
64
64
|
name?: any;
|
|
65
65
|
builderContext?: any;
|
|
66
|
+
method?: any;
|
|
66
67
|
attributes?: any;
|
|
67
68
|
action?: any;
|
|
68
|
-
method?: any;
|
|
69
69
|
previewState?: any;
|
|
70
70
|
sendWithJs?: any;
|
|
71
71
|
sendSubmissionsTo?: any;
|
|
@@ -82,9 +82,9 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
82
82
|
}>>>, {
|
|
83
83
|
readonly name?: any;
|
|
84
84
|
readonly builderContext?: any;
|
|
85
|
+
readonly method?: any;
|
|
85
86
|
readonly attributes?: any;
|
|
86
87
|
readonly action?: any;
|
|
87
|
-
readonly method?: any;
|
|
88
88
|
readonly previewState?: any;
|
|
89
89
|
readonly sendWithJs?: any;
|
|
90
90
|
readonly sendSubmissionsTo?: any;
|
|
@@ -15,8 +15,8 @@ export interface FormInputProps {
|
|
|
15
15
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
16
16
|
name?: any;
|
|
17
17
|
value?: any;
|
|
18
|
-
attributes?: any;
|
|
19
18
|
type?: any;
|
|
19
|
+
attributes?: any;
|
|
20
20
|
defaultValue?: any;
|
|
21
21
|
placeholder?: any;
|
|
22
22
|
required?: any;
|
|
@@ -26,16 +26,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
26
26
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
27
27
|
name?: any;
|
|
28
28
|
value?: any;
|
|
29
|
-
attributes?: any;
|
|
30
29
|
type?: any;
|
|
30
|
+
attributes?: any;
|
|
31
31
|
defaultValue?: any;
|
|
32
32
|
placeholder?: any;
|
|
33
33
|
required?: any;
|
|
34
34
|
}>>>, {
|
|
35
35
|
readonly name?: any;
|
|
36
36
|
readonly value?: any;
|
|
37
|
-
readonly attributes?: any;
|
|
38
37
|
readonly type?: any;
|
|
38
|
+
readonly attributes?: any;
|
|
39
39
|
readonly defaultValue?: any;
|
|
40
40
|
readonly placeholder?: any;
|
|
41
41
|
readonly required?: any;
|
|
@@ -7,6 +7,8 @@ export interface SymbolInfo {
|
|
|
7
7
|
content?: BuilderContent;
|
|
8
8
|
inline?: boolean;
|
|
9
9
|
dynamic?: boolean;
|
|
10
|
+
ownerId?: string;
|
|
11
|
+
global?: boolean;
|
|
10
12
|
}
|
|
11
13
|
export interface SymbolProps extends BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp {
|
|
12
14
|
symbol?: SymbolInfo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),p=require("./index-z7Ed9MEJ.cjs"),d=require("./should-force-browser-runtime-in-node-kkE7IeZS.cjs"),l=require("./get-block-properties-sdbm535D.cjs"),k=()=>Promise.resolve().then(()=>require("./awaiter-i0lAEAYI.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-nQPgUSEF.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component LiveEdit at ../../live-edit.vue",e),e}),f=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 b(e,o,a,s,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(f,[["render",b]]),C=({componentOptions:e,builderBlock:o,context:a,componentRef:s,includeBlockProps:i,isInteractive:c,contextValue:r})=>{const n={...e,...i?{attributes:l.getBlockProperties({block:o,context:r})}:{}};return c?{Wrapper:s,block:o,context:a,wrapperProps:e,includeBlockProps:i}:n},B=t.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{shouldUpdate:!1,Wrapper:this.isInteractive?p.wrapComponentRef(m):this.componentRef,getWrapperProps:C}}});function v(e,o,a,s,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(()=>[e.componentRef?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.blockChildren,(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)):t.createCommentVNode("",!0)]),_:1},16)):t.createCommentVNode("",!0)}const g=p._export_sfc(B,[["render",v]]);exports.default=g;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { defineComponent as h, defineAsyncComponent as u, resolveComponent as d, openBlock as o, createBlock as a, withCtx as p, renderSlot as m, createElementBlock as b, Fragment as C, resolveDynamicComponent as w, mergeProps as g, normalizeProps as W, renderList as B, createCommentVNode as k } from "vue";
|
|
2
|
+
import { _ as v, B as E, w as $ } from "./index-9Wxomhx_.js";
|
|
3
|
+
import { T as R, o as A } from "./should-force-browser-runtime-in-node-0jTQ7bdA.js";
|
|
4
|
+
import { a as P, g as S } from "./get-block-properties-oSP4WCJG.js";
|
|
5
|
+
const I = () => import("./awaiter-_ZqW9w8N.js").then((t) => t.default).catch((t) => {
|
|
6
|
+
throw console.error(
|
|
7
|
+
"Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",
|
|
8
|
+
t
|
|
9
|
+
), t;
|
|
10
|
+
}), T = () => import("./live-edit-ZjrPT1e_.js").then((t) => t.default).catch((t) => {
|
|
11
|
+
throw console.error(
|
|
12
|
+
"Error while attempting to dynamically import component LiveEdit at ../../live-edit.vue",
|
|
13
|
+
t
|
|
14
|
+
), t;
|
|
15
|
+
}), L = h({
|
|
16
|
+
name: "interactive-element",
|
|
17
|
+
components: {
|
|
18
|
+
LiveEdit: u(T),
|
|
19
|
+
Awaiter: u(I)
|
|
20
|
+
},
|
|
21
|
+
props: ["wrapperProps", "block", "includeBlockProps", "context", "Wrapper"],
|
|
22
|
+
data() {
|
|
23
|
+
return { forceRenderCount: 0, TARGET: R, isEditing: A };
|
|
24
|
+
},
|
|
25
|
+
watch: {
|
|
26
|
+
onUpdateHook0: { handler() {
|
|
27
|
+
}, immediate: !0 }
|
|
28
|
+
},
|
|
29
|
+
computed: {
|
|
30
|
+
attributes() {
|
|
31
|
+
var t, e;
|
|
32
|
+
return this.includeBlockProps ? {
|
|
33
|
+
...P({
|
|
34
|
+
block: this.block,
|
|
35
|
+
context: this.context
|
|
36
|
+
}),
|
|
37
|
+
...S({
|
|
38
|
+
block: this.block,
|
|
39
|
+
rootState: this.context.rootState,
|
|
40
|
+
rootSetState: this.context.rootSetState,
|
|
41
|
+
localState: this.context.localState,
|
|
42
|
+
context: this.context.context,
|
|
43
|
+
trackingContext: {
|
|
44
|
+
apiKey: this.context.apiKey,
|
|
45
|
+
canTrack: this.context.canTrack ?? !0,
|
|
46
|
+
contentId: (t = this.context.content) == null ? void 0 : t.id,
|
|
47
|
+
variationId: (e = this.context.content) == null ? void 0 : e.testVariationId
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
} : {};
|
|
51
|
+
},
|
|
52
|
+
targetWrapperProps() {
|
|
53
|
+
return {
|
|
54
|
+
...this.wrapperProps,
|
|
55
|
+
...Object.keys(this.attributes).length > 0 ? {
|
|
56
|
+
attributes: this.attributes
|
|
57
|
+
} : {}
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
onUpdateHook0() {
|
|
61
|
+
var t, e;
|
|
62
|
+
return {
|
|
63
|
+
0: this.wrapperProps,
|
|
64
|
+
1: (e = (t = this.block) == null ? void 0 : t.component) == null ? void 0 : e.options
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
function O(t, e, s, c, i, l) {
|
|
70
|
+
const n = d("Awaiter"), r = d("LiveEdit");
|
|
71
|
+
return t.Wrapper.load ? (o(), a(n, {
|
|
72
|
+
key: 0,
|
|
73
|
+
load: t.Wrapper.load,
|
|
74
|
+
fallback: t.Wrapper.fallback,
|
|
75
|
+
props: t.wrapperProps,
|
|
76
|
+
attributes: t.attributes
|
|
77
|
+
}, {
|
|
78
|
+
default: p(() => [
|
|
79
|
+
m(t.$slots, "default")
|
|
80
|
+
]),
|
|
81
|
+
_: 3
|
|
82
|
+
}, 8, ["load", "fallback", "props", "attributes"])) : (o(), b(C, { key: 1 }, [
|
|
83
|
+
t.TARGET === "rsc" && t.isEditing() ? (o(), a(r, {
|
|
84
|
+
key: 0,
|
|
85
|
+
Wrapper: t.Wrapper,
|
|
86
|
+
id: t.block.id || "",
|
|
87
|
+
attributes: t.attributes
|
|
88
|
+
}, {
|
|
89
|
+
default: p(() => [
|
|
90
|
+
m(t.$slots, "default")
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["Wrapper", "id", "attributes"])) : (o(), a(w(t.Wrapper), g({
|
|
94
|
+
key: 1,
|
|
95
|
+
attributes: t.attributes
|
|
96
|
+
}, t.targetWrapperProps), {
|
|
97
|
+
default: p(() => [
|
|
98
|
+
m(t.$slots, "default")
|
|
99
|
+
]),
|
|
100
|
+
_: 3
|
|
101
|
+
}, 16, ["attributes"]))
|
|
102
|
+
], 64));
|
|
103
|
+
}
|
|
104
|
+
const f = /* @__PURE__ */ v(L, [["render", O]]), U = ({
|
|
105
|
+
componentOptions: t,
|
|
106
|
+
builderBlock: e,
|
|
107
|
+
context: s,
|
|
108
|
+
componentRef: c,
|
|
109
|
+
includeBlockProps: i,
|
|
110
|
+
isInteractive: l,
|
|
111
|
+
contextValue: n
|
|
112
|
+
}) => {
|
|
113
|
+
const r = {
|
|
114
|
+
...t,
|
|
115
|
+
/**
|
|
116
|
+
* If `noWrap` is set to `true`, then the block's props/attributes are provided to the
|
|
117
|
+
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
118
|
+
*/
|
|
119
|
+
...i ? {
|
|
120
|
+
attributes: P({
|
|
121
|
+
block: e,
|
|
122
|
+
context: n
|
|
123
|
+
})
|
|
124
|
+
} : {}
|
|
125
|
+
};
|
|
126
|
+
return l ? {
|
|
127
|
+
Wrapper: c,
|
|
128
|
+
block: e,
|
|
129
|
+
context: s,
|
|
130
|
+
wrapperProps: t,
|
|
131
|
+
includeBlockProps: i
|
|
132
|
+
} : r;
|
|
133
|
+
}, V = h({
|
|
134
|
+
name: "component-ref",
|
|
135
|
+
components: { Block: E, InteractiveElement: f },
|
|
136
|
+
props: [
|
|
137
|
+
"isInteractive",
|
|
138
|
+
"componentRef",
|
|
139
|
+
"componentOptions",
|
|
140
|
+
"builderBlock",
|
|
141
|
+
"context",
|
|
142
|
+
"linkComponent",
|
|
143
|
+
"includeBlockProps",
|
|
144
|
+
"blockChildren",
|
|
145
|
+
"registeredComponents"
|
|
146
|
+
],
|
|
147
|
+
data() {
|
|
148
|
+
return {
|
|
149
|
+
shouldUpdate: !1,
|
|
150
|
+
Wrapper: this.isInteractive ? $(f) : this.componentRef,
|
|
151
|
+
getWrapperProps: U
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
function G(t, e, s, c, i, l) {
|
|
156
|
+
const n = d("Block");
|
|
157
|
+
return t.componentRef ? (o(), a(w(t.Wrapper), W(g(
|
|
158
|
+
{ key: 0 },
|
|
159
|
+
t.getWrapperProps({
|
|
160
|
+
componentOptions: t.componentOptions,
|
|
161
|
+
builderBlock: t.builderBlock,
|
|
162
|
+
context: t.context,
|
|
163
|
+
componentRef: t.componentRef,
|
|
164
|
+
linkComponent: t.linkComponent,
|
|
165
|
+
includeBlockProps: t.includeBlockProps,
|
|
166
|
+
isInteractive: t.isInteractive,
|
|
167
|
+
contextValue: t.context
|
|
168
|
+
})
|
|
169
|
+
)), {
|
|
170
|
+
default: p(() => [
|
|
171
|
+
t.componentRef ? (o(!0), b(C, { key: 0 }, B(t.blockChildren, (r, y) => (o(), a(n, {
|
|
172
|
+
key: r.id,
|
|
173
|
+
block: r,
|
|
174
|
+
context: t.context,
|
|
175
|
+
registeredComponents: t.registeredComponents,
|
|
176
|
+
linkComponent: t.linkComponent
|
|
177
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : k("", !0)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
}, 16)) : k("", !0);
|
|
181
|
+
}
|
|
182
|
+
const D = /* @__PURE__ */ v(V, [["render", G]]);
|
|
183
|
+
export {
|
|
184
|
+
D as default
|
|
185
|
+
};
|
|
@@ -3,13 +3,13 @@ import type { BuilderContent } from "../../../types/builder-content";
|
|
|
3
3
|
import type { Dictionary } from "../../../types/typescript";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
5
5
|
data?: any;
|
|
6
|
+
canTrack?: any;
|
|
7
|
+
apiKey?: any;
|
|
8
|
+
apiHost?: any;
|
|
6
9
|
context?: any;
|
|
7
10
|
content?: any;
|
|
8
|
-
apiKey?: any;
|
|
9
11
|
model?: any;
|
|
10
|
-
canTrack?: any;
|
|
11
12
|
locale?: any;
|
|
12
|
-
apiHost?: any;
|
|
13
13
|
trustedHosts?: any;
|
|
14
14
|
showContent?: any;
|
|
15
15
|
enrich?: any;
|
|
@@ -77,13 +77,13 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
77
77
|
elementRef_onInitpreviewingbldr(event: any): void;
|
|
78
78
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
79
79
|
data?: any;
|
|
80
|
+
canTrack?: any;
|
|
81
|
+
apiKey?: any;
|
|
82
|
+
apiHost?: any;
|
|
80
83
|
context?: any;
|
|
81
84
|
content?: any;
|
|
82
|
-
apiKey?: any;
|
|
83
85
|
model?: any;
|
|
84
|
-
canTrack?: any;
|
|
85
86
|
locale?: any;
|
|
86
|
-
apiHost?: any;
|
|
87
87
|
trustedHosts?: any;
|
|
88
88
|
showContent?: any;
|
|
89
89
|
enrich?: any;
|
|
@@ -93,13 +93,13 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
93
93
|
builderContextSignal?: any;
|
|
94
94
|
}>>>, {
|
|
95
95
|
readonly data?: any;
|
|
96
|
+
readonly canTrack?: any;
|
|
97
|
+
readonly apiKey?: any;
|
|
98
|
+
readonly apiHost?: any;
|
|
96
99
|
readonly context?: any;
|
|
97
100
|
readonly content?: any;
|
|
98
|
-
readonly apiKey?: any;
|
|
99
101
|
readonly model?: any;
|
|
100
|
-
readonly canTrack?: any;
|
|
101
102
|
readonly locale?: any;
|
|
102
|
-
readonly apiHost?: any;
|
|
103
103
|
readonly trustedHosts?: any;
|
|
104
104
|
readonly showContent?: any;
|
|
105
105
|
readonly enrich?: any;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
|
-
nonce?: any;
|
|
3
2
|
contentId?: any;
|
|
3
|
+
nonce?: any;
|
|
4
4
|
isNestedRender?: any;
|
|
5
5
|
cssCode?: any;
|
|
6
6
|
customFonts?: any;
|
|
7
7
|
}>, unknown, {
|
|
8
8
|
injectedStyles: string;
|
|
9
9
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
10
|
-
nonce?: any;
|
|
11
10
|
contentId?: any;
|
|
11
|
+
nonce?: any;
|
|
12
12
|
isNestedRender?: any;
|
|
13
13
|
cssCode?: any;
|
|
14
14
|
customFonts?: any;
|
|
15
15
|
}>>>, {
|
|
16
|
-
readonly nonce?: any;
|
|
17
16
|
readonly contentId?: any;
|
|
17
|
+
readonly nonce?: any;
|
|
18
18
|
readonly isNestedRender?: any;
|
|
19
19
|
readonly cssCode?: any;
|
|
20
20
|
readonly customFonts?: any;
|
|
@@ -3,15 +3,15 @@ import type { ComponentInfo } from "../../types/components";
|
|
|
3
3
|
import type { Dictionary } from "../../types/typescript";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
5
5
|
data?: any;
|
|
6
|
+
canTrack?: any;
|
|
7
|
+
apiKey?: any;
|
|
8
|
+
apiHost?: any;
|
|
6
9
|
context?: any;
|
|
7
10
|
content?: any;
|
|
8
|
-
apiKey?: any;
|
|
9
11
|
apiVersion?: any;
|
|
10
12
|
nonce?: any;
|
|
11
13
|
model?: any;
|
|
12
|
-
canTrack?: any;
|
|
13
14
|
locale?: any;
|
|
14
|
-
apiHost?: any;
|
|
15
15
|
trustedHosts?: any;
|
|
16
16
|
showContent?: any;
|
|
17
17
|
isSsrAbTest?: any;
|
|
@@ -55,15 +55,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
55
55
|
contentSetState(newRootState: BuilderRenderState): void;
|
|
56
56
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
57
57
|
data?: any;
|
|
58
|
+
canTrack?: any;
|
|
59
|
+
apiKey?: any;
|
|
60
|
+
apiHost?: any;
|
|
58
61
|
context?: any;
|
|
59
62
|
content?: any;
|
|
60
|
-
apiKey?: any;
|
|
61
63
|
apiVersion?: any;
|
|
62
64
|
nonce?: any;
|
|
63
65
|
model?: any;
|
|
64
|
-
canTrack?: any;
|
|
65
66
|
locale?: any;
|
|
66
|
-
apiHost?: any;
|
|
67
67
|
trustedHosts?: any;
|
|
68
68
|
showContent?: any;
|
|
69
69
|
isSsrAbTest?: any;
|
|
@@ -77,15 +77,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
77
77
|
isNestedRender?: any;
|
|
78
78
|
}>>>, {
|
|
79
79
|
readonly data?: any;
|
|
80
|
+
readonly canTrack?: any;
|
|
81
|
+
readonly apiKey?: any;
|
|
82
|
+
readonly apiHost?: any;
|
|
80
83
|
readonly context?: any;
|
|
81
84
|
readonly content?: any;
|
|
82
|
-
readonly apiKey?: any;
|
|
83
85
|
readonly apiVersion?: any;
|
|
84
86
|
readonly nonce?: any;
|
|
85
87
|
readonly model?: any;
|
|
86
|
-
readonly canTrack?: any;
|
|
87
88
|
readonly locale?: any;
|
|
88
|
-
readonly apiHost?: any;
|
|
89
89
|
readonly trustedHosts?: any;
|
|
90
90
|
readonly showContent?: any;
|
|
91
91
|
readonly isSsrAbTest?: any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
2
|
data?: any;
|
|
3
|
+
canTrack?: any;
|
|
4
|
+
apiKey?: any;
|
|
5
|
+
apiHost?: any;
|
|
3
6
|
context?: any;
|
|
4
7
|
content?: any;
|
|
5
|
-
apiKey?: any;
|
|
6
8
|
apiVersion?: any;
|
|
7
9
|
nonce?: any;
|
|
8
10
|
model?: any;
|
|
9
|
-
canTrack?: any;
|
|
10
11
|
locale?: any;
|
|
11
|
-
apiHost?: any;
|
|
12
12
|
trustedHosts?: any;
|
|
13
13
|
customComponents?: any;
|
|
14
14
|
linkComponent?: any;
|
|
@@ -54,15 +54,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
54
54
|
defaultContent(): any;
|
|
55
55
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
56
56
|
data?: any;
|
|
57
|
+
canTrack?: any;
|
|
58
|
+
apiKey?: any;
|
|
59
|
+
apiHost?: any;
|
|
57
60
|
context?: any;
|
|
58
61
|
content?: any;
|
|
59
|
-
apiKey?: any;
|
|
60
62
|
apiVersion?: any;
|
|
61
63
|
nonce?: any;
|
|
62
64
|
model?: any;
|
|
63
|
-
canTrack?: any;
|
|
64
65
|
locale?: any;
|
|
65
|
-
apiHost?: any;
|
|
66
66
|
trustedHosts?: any;
|
|
67
67
|
customComponents?: any;
|
|
68
68
|
linkComponent?: any;
|
|
@@ -74,15 +74,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
74
74
|
isNestedRender?: any;
|
|
75
75
|
}>>>, {
|
|
76
76
|
readonly data?: any;
|
|
77
|
+
readonly canTrack?: any;
|
|
78
|
+
readonly apiKey?: any;
|
|
79
|
+
readonly apiHost?: any;
|
|
77
80
|
readonly context?: any;
|
|
78
81
|
readonly content?: any;
|
|
79
|
-
readonly apiKey?: any;
|
|
80
82
|
readonly apiVersion?: any;
|
|
81
83
|
readonly nonce?: any;
|
|
82
84
|
readonly model?: any;
|
|
83
|
-
readonly canTrack?: any;
|
|
84
85
|
readonly locale?: any;
|
|
85
|
-
readonly apiHost?: any;
|
|
86
86
|
readonly trustedHosts?: any;
|
|
87
87
|
readonly customComponents?: any;
|
|
88
88
|
readonly linkComponent?: any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
|
-
nonce?: any;
|
|
3
2
|
id?: any;
|
|
3
|
+
nonce?: any;
|
|
4
4
|
scriptStr?: any;
|
|
5
5
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
6
|
-
nonce?: any;
|
|
7
6
|
id?: any;
|
|
7
|
+
nonce?: any;
|
|
8
8
|
scriptStr?: any;
|
|
9
9
|
}>>>, {
|
|
10
|
-
readonly nonce?: any;
|
|
11
10
|
readonly id?: any;
|
|
11
|
+
readonly nonce?: any;
|
|
12
12
|
readonly scriptStr?: any;
|
|
13
13
|
}, {}>;
|
|
14
14
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
|
-
nonce?: any;
|
|
3
2
|
id?: any;
|
|
3
|
+
nonce?: any;
|
|
4
4
|
styles?: any;
|
|
5
5
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
6
|
-
nonce?: any;
|
|
7
6
|
id?: any;
|
|
7
|
+
nonce?: any;
|
|
8
8
|
styles?: any;
|
|
9
9
|
}>>>, {
|
|
10
|
-
readonly nonce?: any;
|
|
11
10
|
readonly id?: any;
|
|
11
|
+
readonly nonce?: any;
|
|
12
12
|
readonly styles?: any;
|
|
13
13
|
}, {}>;
|
|
14
14
|
export default _default;
|