@builder.io/sdk-vue 2.0.28 → 2.0.29
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-uzRVzcZ6.js → awaiter-26Xj_ukf.js} +1 -1
- package/lib/browser/{awaiter-zCZ9DAMz.cjs → awaiter-oyEV6qzA.cjs} +1 -1
- package/lib/browser/{block-styles-rFxKY8To.cjs → block-styles-7VlstMIR.cjs} +1 -1
- package/lib/browser/{block-styles-6qY_TBFM.js → block-styles-sDAdmEJM.js} +1 -1
- package/lib/browser/{block-wrapper-3wYQPVms.js → block-wrapper-xFO-VLSm.js} +3 -3
- package/lib/browser/{block-wrapper-uWJvqmnk.cjs → block-wrapper-z8m7HQL5.cjs} +1 -1
- package/lib/browser/{component-ref-xP2Elmh1.js → component-ref-SgAsKv83.js} +3 -3
- package/lib/browser/{component-ref-hBhFYTso.cjs → component-ref-cAtD4rXw.cjs} +1 -1
- package/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-F4OIxBfF.js → get-block-properties-7e6u_eA1.js} +1 -1
- package/lib/browser/{get-block-properties-UMUMlzuS.cjs → get-block-properties-fBjkRbVw.cjs} +1 -1
- package/lib/browser/{index-xPtbXnZX.cjs → index-6aZwZO3-.cjs} +3 -3
- package/lib/browser/{index-InL0mFtx.js → index-kI_vPJeb.js} +24 -16
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-h6wP7nUB.js → repeated-block-iaodALqW.js} +2 -2
- package/lib/browser/{repeated-block-ICKJlLUh.cjs → repeated-block-uIkcGKQC.cjs} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-54l-bppu.cjs → awaiter-48RvRkNd.cjs} +1 -1
- package/lib/edge/{awaiter-hAyK-uXB.js → awaiter-Q7B7gBgW.js} +1 -1
- package/lib/edge/{block-styles-DQQzKxS2.js → block-styles-9MQCNPvC.js} +1 -1
- package/lib/edge/{block-styles-gYcphkPV.cjs → block-styles-XIg11tMX.cjs} +1 -1
- package/lib/edge/{block-wrapper-tTIzEleC.js → block-wrapper-e7g10ccQ.js} +3 -3
- package/lib/edge/{block-wrapper-MiIe7noC.cjs → block-wrapper-tsLeR9cJ.cjs} +1 -1
- package/lib/edge/{component-ref-UwiRkPk2.cjs → component-ref-HqIppl2q.cjs} +1 -1
- package/lib/edge/{component-ref-kz3Obd_4.js → component-ref-RDssOT9Y.js} +3 -3
- package/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-A2Pw1eVE.js → get-block-properties-JvBYR7T2.js} +1 -1
- package/lib/edge/{get-block-properties-mpbl9Lr0.cjs → get-block-properties-QZcs-Zmy.cjs} +1 -1
- package/lib/edge/{index-uWdUvOrU.js → index-A2oFnyUY.js} +24 -16
- package/lib/edge/{index--uXyZwlg.cjs → index-MhoX9uwg.cjs} +3 -3
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/repeated-block-N0xlT-99.cjs → edge/repeated-block-S5H2EoTu.cjs} +1 -1
- package/lib/edge/{repeated-block-ssAazECV.js → repeated-block-luW_-FNb.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-IbJnWTiA.js → awaiter-FlUFmL70.js} +1 -1
- package/lib/node/{awaiter-QAGy1jxt.cjs → awaiter-V_ao-6vo.cjs} +1 -1
- package/lib/node/{block-styles-a1lNlhp2.js → block-styles-mlFEPu97.js} +1 -1
- package/lib/node/{block-styles-wKqB4Ory.cjs → block-styles-tv9J_BQX.cjs} +1 -1
- package/lib/node/{block-wrapper-o1F5OSiJ.cjs → block-wrapper--A2qoKhW.cjs} +1 -1
- package/lib/node/{block-wrapper-qugtJ04Q.js → block-wrapper-hD0JtNOm.js} +3 -3
- package/lib/node/{component-ref-NKhHeKN1.js → component-ref-Bkl05aM4.js} +3 -3
- package/lib/node/{component-ref-5Yhh77fb.cjs → component-ref-y3SgFXV9.cjs} +1 -1
- package/lib/node/components/blocks/blocks-wrapper.vue.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-zbCXU1Ay.cjs → get-block-properties-WDP-bf5P.cjs} +1 -1
- package/lib/node/{get-block-properties-AIgDBI_j.js → get-block-properties-su4ucuIP.js} +1 -1
- package/lib/node/index-LIVUNkJZ.cjs +166 -0
- package/lib/node/{index-fGw0CDsj.js → index-WgbaQ2Lp.js} +24 -16
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/{edge/repeated-block-AqmVXbtt.cjs → node/repeated-block-L7NHAfGX.cjs} +1 -1
- package/lib/node/{repeated-block-dqm2sVo0.js → repeated-block-WeKMcR5K.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/node/index-FrElABeq.cjs +0 -166
|
@@ -450,7 +450,7 @@ const Ce = "builder.", Jt = "options.", Fe = (e) => {
|
|
|
450
450
|
return {};
|
|
451
451
|
const e = new URLSearchParams(window.location.search);
|
|
452
452
|
return Fe(e);
|
|
453
|
-
}, De = "2.0.
|
|
453
|
+
}, De = "2.0.29", Le = () => ({
|
|
454
454
|
"X-Builder-SDK": R,
|
|
455
455
|
"X-Builder-SDK-GEN": "2",
|
|
456
456
|
"X-Builder-SDK-Version": De
|
|
@@ -1227,22 +1227,22 @@ const Wn = ({
|
|
|
1227
1227
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1228
1228
|
e
|
|
1229
1229
|
), e;
|
|
1230
|
-
}), Mn = () => import("./block-styles-
|
|
1230
|
+
}), Mn = () => import("./block-styles-sDAdmEJM.js").then((e) => e.default).catch((e) => {
|
|
1231
1231
|
throw console.error(
|
|
1232
1232
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
1233
1233
|
e
|
|
1234
1234
|
), e;
|
|
1235
|
-
}), Hn = () => import("./block-wrapper-
|
|
1235
|
+
}), Hn = () => import("./block-wrapper-xFO-VLSm.js").then((e) => e.default).catch((e) => {
|
|
1236
1236
|
throw console.error(
|
|
1237
1237
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1238
1238
|
e
|
|
1239
1239
|
), e;
|
|
1240
|
-
}), jn = () => import("./component-ref-
|
|
1240
|
+
}), jn = () => import("./component-ref-SgAsKv83.js").then((e) => e.default).catch((e) => {
|
|
1241
1241
|
throw console.error(
|
|
1242
1242
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1243
1243
|
e
|
|
1244
1244
|
), e;
|
|
1245
|
-
}), Kn = () => import("./repeated-block-
|
|
1245
|
+
}), Kn = () => import("./repeated-block-iaodALqW.js").then((e) => e.default).catch((e) => {
|
|
1246
1246
|
throw console.error(
|
|
1247
1247
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1248
1248
|
e
|
|
@@ -1413,8 +1413,8 @@ const be = /* @__PURE__ */ b(qn, [["render", zn]]), Li = /* @__PURE__ */ Object.
|
|
|
1413
1413
|
props: [
|
|
1414
1414
|
"blocks",
|
|
1415
1415
|
"classNameProp",
|
|
1416
|
-
"parent",
|
|
1417
1416
|
"path",
|
|
1417
|
+
"parent",
|
|
1418
1418
|
"styleProp",
|
|
1419
1419
|
"BlocksWrapperProps",
|
|
1420
1420
|
"BlocksWrapper"
|
|
@@ -1429,6 +1429,12 @@ const be = /* @__PURE__ */ b(qn, [["render", zn]]), Li = /* @__PURE__ */ Object.
|
|
|
1429
1429
|
(e = this.blocks) != null && e.length ? "" : "no-blocks",
|
|
1430
1430
|
this.classNameProp
|
|
1431
1431
|
].filter(Boolean).join(" ");
|
|
1432
|
+
},
|
|
1433
|
+
dataPath() {
|
|
1434
|
+
if (!this.path)
|
|
1435
|
+
return;
|
|
1436
|
+
const e = "component.options.";
|
|
1437
|
+
return this.path.startsWith(e) ? this.path : `${e}${this.path || ""}`;
|
|
1432
1438
|
}
|
|
1433
1439
|
},
|
|
1434
1440
|
methods: {
|
|
@@ -1439,7 +1445,7 @@ const be = /* @__PURE__ */ b(qn, [["render", zn]]), Li = /* @__PURE__ */ Object.
|
|
|
1439
1445
|
type: "builder.clickEmptyBlocks",
|
|
1440
1446
|
data: {
|
|
1441
1447
|
parentElementId: this.parent,
|
|
1442
|
-
dataPath: this.
|
|
1448
|
+
dataPath: this.dataPath
|
|
1443
1449
|
}
|
|
1444
1450
|
},
|
|
1445
1451
|
"*"
|
|
@@ -1452,7 +1458,7 @@ const be = /* @__PURE__ */ b(qn, [["render", zn]]), Li = /* @__PURE__ */ Object.
|
|
|
1452
1458
|
type: "builder.hoverEmptyBlocks",
|
|
1453
1459
|
data: {
|
|
1454
1460
|
parentElementId: this.parent,
|
|
1455
|
-
dataPath: this.
|
|
1461
|
+
dataPath: this.dataPath
|
|
1456
1462
|
}
|
|
1457
1463
|
},
|
|
1458
1464
|
"*"
|
|
@@ -1464,7 +1470,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1464
1470
|
return d(), k(H(e.BlocksWrapper), C({
|
|
1465
1471
|
ref: "blocksWrapperRef",
|
|
1466
1472
|
class: e.className + " component-1k2igrjdg3x",
|
|
1467
|
-
"builder-path": e.
|
|
1473
|
+
"builder-path": e.dataPath,
|
|
1468
1474
|
"builder-parent-id": e.parent,
|
|
1469
1475
|
style: e.styleProp,
|
|
1470
1476
|
onClick: (s) => e.onClick(),
|
|
@@ -1477,7 +1483,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1477
1483
|
_: 3
|
|
1478
1484
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
1479
1485
|
}
|
|
1480
|
-
const Yn = /* @__PURE__ */ b(Jn, [["render", Gn], ["__scopeId", "data-v-
|
|
1486
|
+
const Yn = /* @__PURE__ */ b(Jn, [["render", Gn], ["__scopeId", "data-v-ba2bc5c0"]]), Xn = f({
|
|
1481
1487
|
name: "builder-blocks",
|
|
1482
1488
|
components: { BlocksWrapper: Yn, Block: be },
|
|
1483
1489
|
props: [
|
|
@@ -1748,7 +1754,7 @@ function ro(e, t, n, o, r, i) {
|
|
|
1748
1754
|
}, {
|
|
1749
1755
|
default: W(() => [
|
|
1750
1756
|
$(l, {
|
|
1751
|
-
path: `
|
|
1757
|
+
path: `columns.${c}.blocks`,
|
|
1752
1758
|
parent: e.builderBlock.id,
|
|
1753
1759
|
styleProp: {
|
|
1754
1760
|
flexGrow: "1"
|
|
@@ -1763,7 +1769,7 @@ function ro(e, t, n, o, r, i) {
|
|
|
1763
1769
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1764
1770
|
], 16);
|
|
1765
1771
|
}
|
|
1766
|
-
const io = /* @__PURE__ */ b(oo, [["render", ro], ["__scopeId", "data-v-
|
|
1772
|
+
const io = /* @__PURE__ */ b(oo, [["render", ro], ["__scopeId", "data-v-3354f136"]]), so = f({
|
|
1767
1773
|
name: "builder-fragment-component",
|
|
1768
1774
|
props: []
|
|
1769
1775
|
});
|
|
@@ -2154,8 +2160,10 @@ function Io(e, t, n, o, r, i) {
|
|
|
2154
2160
|
class: q(e.getAccordionTitleClassName(a)),
|
|
2155
2161
|
style: F({
|
|
2156
2162
|
...e.accordionTitleStyles,
|
|
2157
|
-
|
|
2158
|
-
|
|
2163
|
+
...e.grid && {
|
|
2164
|
+
width: e.gridRowWidth,
|
|
2165
|
+
order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(a) : e.convertOrderNumberToString(a + 1)
|
|
2166
|
+
}
|
|
2159
2167
|
}),
|
|
2160
2168
|
"data-index": a,
|
|
2161
2169
|
onClick: (u) => e.onClick(a)
|
|
@@ -2852,7 +2860,7 @@ function Mo(e, t, n, o, r, i) {
|
|
|
2852
2860
|
}, [
|
|
2853
2861
|
$(s, {
|
|
2854
2862
|
parent: e.builderBlock.id,
|
|
2855
|
-
path: `
|
|
2863
|
+
path: `tabs.${a}.label`,
|
|
2856
2864
|
blocks: l.label,
|
|
2857
2865
|
context: e.builderContext,
|
|
2858
2866
|
registeredComponents: e.builderComponents,
|
|
@@ -2863,7 +2871,7 @@ function Mo(e, t, n, o, r, i) {
|
|
|
2863
2871
|
e.activeTabContent(e.activeTab) ? (d(), m("div", Uo, [
|
|
2864
2872
|
$(s, {
|
|
2865
2873
|
parent: e.builderBlock.id,
|
|
2866
|
-
path: `
|
|
2874
|
+
path: `tabs.${e.activeTab}.content`,
|
|
2867
2875
|
blocks: e.activeTabContent(e.activeTab),
|
|
2868
2876
|
context: e.builderContext,
|
|
2869
2877
|
registeredComponents: e.builderComponents,
|
package/lib/browser/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var t=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
var t=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-6aZwZO3-.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.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/browser/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { n as a, j as r, k as o, C as i, o as n, F as c, I as g, S as m, l, m as u, V as d, z as p, r as C, y as B, A as E, D as S, u as f, p as h, q as x, s as b, t as k, x as y, v as P } from "./index-
|
|
2
|
+
import { n as a, j as r, k as o, C as i, o as n, F as c, I as g, S as m, l, m as u, V as d, z as p, r as C, y as B, A as E, D as S, u as f, p as h, q as x, s as b, t as k, x as y, v as P } from "./index-kI_vPJeb.js";
|
|
3
3
|
export {
|
|
4
4
|
a as Blocks,
|
|
5
5
|
r as BuilderContext,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as p, createBlock as c } from "vue";
|
|
3
|
-
import { j as s, e as l } from "./index-
|
|
4
|
-
const i = () => import("./index-
|
|
3
|
+
import { j as s, e as l } from "./index-kI_vPJeb.js";
|
|
4
|
+
const i = () => import("./index-kI_vPJeb.js").then((o) => o.G).then((o) => o.default).catch((o) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
7
|
o
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-
|
|
1
|
+
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-6aZwZO3-.cjs"),r=()=>Promise.resolve().then(()=>require("./index-6aZwZO3-.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}}});function s(e,i,p,m,a,d){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 l=t._export_sfc(c,[["render",s]]);exports.default=l;
|
package/lib/browser/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-1k2igrjdg3x[data-v-
|
|
1
|
+
.component-1k2igrjdg3x[data-v-ba2bc5c0]{display:flex;flex-direction:column;align-items:stretch}.div-4wbls88y960[data-v-3354f136]{display:flex;line-height:normal}.img-29wpyomtntv[data-v-77f8a6c4]{opacity:1;transition:opacity .2s ease-in-out}.div-29wpyomtntv[data-v-77f8a6c4]{width:100%;pointer-events:none;font-size:0}.div-29wpyomtntv-2[data-v-77f8a6c4]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-3q96myty4lk[data-v-6e18f21b]{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-MhoX9uwg.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, resolveComponent as g, openBlock as $, createBlock as v, createCommentVNode as B } from "vue";
|
|
2
|
-
import { _, T, c as h, g as w, a as l, b as k, d as I, e as N } from "./index-
|
|
2
|
+
import { _, T, c as h, g as w, a as l, b as k, d as I, e as N } from "./index-A2oFnyUY.js";
|
|
3
3
|
const z = C({
|
|
4
4
|
name: "block-styles",
|
|
5
5
|
components: { InlinedStyles: _ },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),s=require("./index
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),s=require("./index-MhoX9uwg.cjs"),f=l.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 y,p,h;const e=this.block,t=e.responsiveStyles,c=this.context.content,a=s.getSizesForBreakpoints(((y=c==null?void 0:c.meta)==null?void 0:y.breakpoints)||{}),i=t==null?void 0:t.large,d=t==null?void 0:t.medium,r=t==null?void 0:t.small,n=e.id;if(!n)return"";const S=i?s.createCssClass({className:n,styles:i}):"",k=d?s.createCssClass({className:n,styles:d,mediaQuery:s.getMaxWidthQueryForSize("medium",a)}):"",C=r?s.createCssClass({className:n,styles:r,mediaQuery:s.getMaxWidthQueryForSize("small",a)}):"",o=e.animations&&e.animations.find(m=>m.trigger==="hover");let u="";if(o){const m=((h=(p=o.steps)==null?void 0:p[1])==null?void 0:h.styles)||{};u=s.createCssClass({className:`${n}:hover`,styles:{...m,transition:`all ${o.duration}s ${s.camelToKebabCase(o.easing)}`,transitionDelay:o.delay?`${o.delay}s`:"0s"}})||""}return[S,k,C,u].join(" ")}}});function b(e,t,c,a,i,d){const r=l.resolveComponent("InlinedStyles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(l.openBlock(),l.createBlock(r,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):l.createCommentVNode("",!0)}const g=s._export_sfc(f,[["render",b]]);exports.default=g;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
2
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
3
|
-
import { e as m } from "./index-
|
|
4
|
-
const d = () => import("./index-
|
|
2
|
+
import { g as s, a as l } from "./get-block-properties-JvBYR7T2.js";
|
|
3
|
+
import { e as m } from "./index-A2oFnyUY.js";
|
|
4
|
+
const d = () => import("./index-A2oFnyUY.js").then((e) => e.E).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-QZcs-Zmy.cjs"),n=require("./index-MhoX9uwg.cjs"),c=()=>Promise.resolve().then(()=>require("./index-MhoX9uwg.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-MhoX9uwg.cjs"),a=require("./get-block-properties-QZcs-Zmy.cjs"),u=()=>Promise.resolve().then(()=>require("./awaiter-48RvRkNd.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,l,r,i){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:l,includeBlockProps:r,isInteractive:i,contextValue:o})=>{const p={...e,...r?{attributes:a.getBlockProperties({block:n,context:o})}:{}};return i?{Wrapper:l,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,l,r,i){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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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";
|
|
2
|
-
import { e as h, B as S, w as y } from "./index-
|
|
3
|
-
import { a as C, g as A } from "./get-block-properties-
|
|
4
|
-
const R = () => import("./awaiter-
|
|
2
|
+
import { e as h, B as S, w as y } from "./index-A2oFnyUY.js";
|
|
3
|
+
import { a as C, g as A } from "./get-block-properties-JvBYR7T2.js";
|
|
4
|
+
const R = () => import("./awaiter-Q7B7gBgW.js").then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.29";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./index
|
|
1
|
+
"use strict";const s=require("./index-MhoX9uwg.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 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 u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=p;
|
|
@@ -2932,7 +2932,7 @@ const Tr = "builder.", ji = "options.", Kr = (e) => {
|
|
|
2932
2932
|
return {};
|
|
2933
2933
|
const e = new URLSearchParams(window.location.search);
|
|
2934
2934
|
return Kr(e);
|
|
2935
|
-
}, qr = "2.0.
|
|
2935
|
+
}, qr = "2.0.29", Gr = () => ({
|
|
2936
2936
|
"X-Builder-SDK": ae,
|
|
2937
2937
|
"X-Builder-SDK-GEN": "2",
|
|
2938
2938
|
"X-Builder-SDK-Version": qr
|
|
@@ -3709,22 +3709,22 @@ const bs = ({
|
|
|
3709
3709
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
3710
3710
|
e
|
|
3711
3711
|
), e;
|
|
3712
|
-
}), Is = () => import("./block-styles-
|
|
3712
|
+
}), Is = () => import("./block-styles-9MQCNPvC.js").then((e) => e.default).catch((e) => {
|
|
3713
3713
|
throw console.error(
|
|
3714
3714
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3715
3715
|
e
|
|
3716
3716
|
), e;
|
|
3717
|
-
}), xs = () => import("./block-wrapper-
|
|
3717
|
+
}), xs = () => import("./block-wrapper-e7g10ccQ.js").then((e) => e.default).catch((e) => {
|
|
3718
3718
|
throw console.error(
|
|
3719
3719
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3720
3720
|
e
|
|
3721
3721
|
), e;
|
|
3722
|
-
}), Rs = () => import("./component-ref-
|
|
3722
|
+
}), Rs = () => import("./component-ref-RDssOT9Y.js").then((e) => e.default).catch((e) => {
|
|
3723
3723
|
throw console.error(
|
|
3724
3724
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3725
3725
|
e
|
|
3726
3726
|
), e;
|
|
3727
|
-
}), As = () => import("./repeated-block-
|
|
3727
|
+
}), As = () => import("./repeated-block-luW_-FNb.js").then((e) => e.default).catch((e) => {
|
|
3728
3728
|
throw console.error(
|
|
3729
3729
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3730
3730
|
e
|
|
@@ -3895,8 +3895,8 @@ const Dn = /* @__PURE__ */ N($s, [["render", Ps]]), Cu = /* @__PURE__ */ Object.
|
|
|
3895
3895
|
props: [
|
|
3896
3896
|
"blocks",
|
|
3897
3897
|
"classNameProp",
|
|
3898
|
-
"parent",
|
|
3899
3898
|
"path",
|
|
3899
|
+
"parent",
|
|
3900
3900
|
"styleProp",
|
|
3901
3901
|
"BlocksWrapperProps",
|
|
3902
3902
|
"BlocksWrapper"
|
|
@@ -3911,6 +3911,12 @@ const Dn = /* @__PURE__ */ N($s, [["render", Ps]]), Cu = /* @__PURE__ */ Object.
|
|
|
3911
3911
|
(e = this.blocks) != null && e.length ? "" : "no-blocks",
|
|
3912
3912
|
this.classNameProp
|
|
3913
3913
|
].filter(Boolean).join(" ");
|
|
3914
|
+
},
|
|
3915
|
+
dataPath() {
|
|
3916
|
+
if (!this.path)
|
|
3917
|
+
return;
|
|
3918
|
+
const e = "component.options.";
|
|
3919
|
+
return this.path.startsWith(e) ? this.path : `${e}${this.path || ""}`;
|
|
3914
3920
|
}
|
|
3915
3921
|
},
|
|
3916
3922
|
methods: {
|
|
@@ -3921,7 +3927,7 @@ const Dn = /* @__PURE__ */ N($s, [["render", Ps]]), Cu = /* @__PURE__ */ Object.
|
|
|
3921
3927
|
type: "builder.clickEmptyBlocks",
|
|
3922
3928
|
data: {
|
|
3923
3929
|
parentElementId: this.parent,
|
|
3924
|
-
dataPath: this.
|
|
3930
|
+
dataPath: this.dataPath
|
|
3925
3931
|
}
|
|
3926
3932
|
},
|
|
3927
3933
|
"*"
|
|
@@ -3934,7 +3940,7 @@ const Dn = /* @__PURE__ */ N($s, [["render", Ps]]), Cu = /* @__PURE__ */ Object.
|
|
|
3934
3940
|
type: "builder.hoverEmptyBlocks",
|
|
3935
3941
|
data: {
|
|
3936
3942
|
parentElementId: this.parent,
|
|
3937
|
-
dataPath: this.
|
|
3943
|
+
dataPath: this.dataPath
|
|
3938
3944
|
}
|
|
3939
3945
|
},
|
|
3940
3946
|
"*"
|
|
@@ -3946,7 +3952,7 @@ function js(e, t, n, r, o, i) {
|
|
|
3946
3952
|
return y(), D(at(e.BlocksWrapper), G({
|
|
3947
3953
|
ref: "blocksWrapperRef",
|
|
3948
3954
|
class: e.className + " component-1k2igrjdg3x",
|
|
3949
|
-
"builder-path": e.
|
|
3955
|
+
"builder-path": e.dataPath,
|
|
3950
3956
|
"builder-parent-id": e.parent,
|
|
3951
3957
|
style: e.styleProp,
|
|
3952
3958
|
onClick: (s) => e.onClick(),
|
|
@@ -3959,7 +3965,7 @@ function js(e, t, n, r, o, i) {
|
|
|
3959
3965
|
_: 3
|
|
3960
3966
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
3961
3967
|
}
|
|
3962
|
-
const Bs = /* @__PURE__ */ N(Os, [["render", js], ["__scopeId", "data-v-
|
|
3968
|
+
const Bs = /* @__PURE__ */ N(Os, [["render", js], ["__scopeId", "data-v-ba2bc5c0"]]), Ns = j({
|
|
3963
3969
|
name: "builder-blocks",
|
|
3964
3970
|
components: { BlocksWrapper: Bs, Block: Dn },
|
|
3965
3971
|
props: [
|
|
@@ -4230,7 +4236,7 @@ function Hs(e, t, n, r, o, i) {
|
|
|
4230
4236
|
}, {
|
|
4231
4237
|
default: Te(() => [
|
|
4232
4238
|
ie(u, {
|
|
4233
|
-
path: `
|
|
4239
|
+
path: `columns.${h}.blocks`,
|
|
4234
4240
|
parent: e.builderBlock.id,
|
|
4235
4241
|
styleProp: {
|
|
4236
4242
|
flexGrow: "1"
|
|
@@ -4245,7 +4251,7 @@ function Hs(e, t, n, r, o, i) {
|
|
|
4245
4251
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
4246
4252
|
], 16);
|
|
4247
4253
|
}
|
|
4248
|
-
const Ks = /* @__PURE__ */ N(Ls, [["render", Hs], ["__scopeId", "data-v-
|
|
4254
|
+
const Ks = /* @__PURE__ */ N(Ls, [["render", Hs], ["__scopeId", "data-v-3354f136"]]), qs = j({
|
|
4249
4255
|
name: "builder-fragment-component",
|
|
4250
4256
|
props: []
|
|
4251
4257
|
});
|
|
@@ -4636,8 +4642,10 @@ function ua(e, t, n, r, o, i) {
|
|
|
4636
4642
|
class: dt(e.getAccordionTitleClassName(p)),
|
|
4637
4643
|
style: Ae({
|
|
4638
4644
|
...e.accordionTitleStyles,
|
|
4639
|
-
|
|
4640
|
-
|
|
4645
|
+
...e.grid && {
|
|
4646
|
+
width: e.gridRowWidth,
|
|
4647
|
+
order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(p) : e.convertOrderNumberToString(p + 1)
|
|
4648
|
+
}
|
|
4641
4649
|
}),
|
|
4642
4650
|
"data-index": p,
|
|
4643
4651
|
onClick: (g) => e.onClick(p)
|
|
@@ -5334,7 +5342,7 @@ function Ea(e, t, n, r, o, i) {
|
|
|
5334
5342
|
}, [
|
|
5335
5343
|
ie(s, {
|
|
5336
5344
|
parent: e.builderBlock.id,
|
|
5337
|
-
path: `
|
|
5345
|
+
path: `tabs.${p}.label`,
|
|
5338
5346
|
blocks: u.label,
|
|
5339
5347
|
context: e.builderContext,
|
|
5340
5348
|
registeredComponents: e.builderComponents,
|
|
@@ -5345,7 +5353,7 @@ function Ea(e, t, n, r, o, i) {
|
|
|
5345
5353
|
e.activeTabContent(e.activeTab) ? (y(), T("div", Ta, [
|
|
5346
5354
|
ie(s, {
|
|
5347
5355
|
parent: e.builderBlock.id,
|
|
5348
|
-
path: `
|
|
5356
|
+
path: `tabs.${e.activeTab}.content`,
|
|
5349
5357
|
blocks: e.activeTabContent(e.activeTab),
|
|
5350
5358
|
context: e.builderContext,
|
|
5351
5359
|
registeredComponents: e.builderComponents,
|