@builder.io/sdk-vue 0.7.6 → 0.8.1
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/package.json +8 -7
- package/vue2/lib/{edge/block-1f2d2db7.cjs → browser/block-a0c2b259.cjs} +2 -2
- package/vue2/lib/{node/block-bbaf1d04.js → browser/block-f1233138.js} +10 -9
- package/vue2/lib/browser/block-styles-33d86077.cjs +1 -0
- package/vue2/lib/browser/{block-styles-fd9354cd.js → block-styles-ebf9b1a6.js} +8 -7
- package/vue2/lib/{edge/block-wrapper-e5b88192.js → browser/block-wrapper-57736e55.js} +8 -7
- package/vue2/lib/browser/block-wrapper-899031dc.cjs +1 -0
- package/vue2/lib/browser/blocks-wrapper-542bca6e.cjs +1 -0
- package/vue2/lib/{edge/blocks-wrapper-6746e3cd.js → browser/blocks-wrapper-a93bf471.js} +4 -3
- package/vue2/lib/{edge/component-ref-c33bfd71.js → browser/component-ref-8822545e.js} +9 -8
- package/vue2/lib/browser/component-ref-de2bce5c.cjs +1 -0
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/content-3cada794.cjs +1 -0
- package/vue2/lib/{edge/content-2ea81381.js → browser/content-bd41cd51.js} +8 -7
- package/vue2/lib/browser/{css-5f8e03e7.js → css-445df887.js} +4 -3
- package/vue2/lib/browser/css-535c5d1c.cjs +6 -0
- package/vue2/lib/browser/enable-editor-4491b5dd.cjs +1 -0
- package/vue2/lib/{node/enable-editor-359d31d1.js → browser/enable-editor-9486d0af.js} +6 -5
- package/vue2/lib/browser/evaluate-a8ca82e7.cjs +1 -0
- package/vue2/lib/browser/{evaluate-04a2bd86.js → evaluate-b3a4e37f.js} +4 -3
- package/vue2/lib/browser/get-block-actions-3bd34049.cjs +1 -0
- package/vue2/lib/{node/get-block-actions-c8c3330b.js → browser/get-block-actions-e5886236.js} +5 -4
- package/vue2/lib/{edge/get-block-properties-721b933d.js → browser/get-block-properties-4030d3b5.js} +11 -10
- package/vue2/lib/browser/get-block-properties-d090641d.cjs +1 -0
- package/vue2/lib/browser/get-processed-block-14ea8201.cjs +1 -0
- package/vue2/lib/browser/{get-processed-block-1ddb5e78.js → get-processed-block-497309fc.js} +17 -16
- package/vue2/lib/{edge/index-1d97f3d7.cjs → browser/index-c5b74b20.cjs} +3 -3
- package/vue2/lib/{node/index-3fcbe332.js → browser/index-f3618847.js} +48 -47
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +24 -23
- package/vue2/lib/browser/inlined-script-3dc8b278.cjs +1 -0
- package/vue2/lib/{edge/inlined-script-88ef6d76.js → browser/inlined-script-84f7b988.js} +7 -6
- package/vue2/lib/{node/inlined-styles-41df1b95.js → browser/inlined-styles-9918b05e.js} +5 -4
- package/vue2/lib/browser/inlined-styles-f1203db0.cjs +1 -0
- package/vue2/lib/{node/interactive-element-bbd449cb.js → browser/interactive-element-3720d577.js} +8 -7
- package/vue2/lib/browser/interactive-element-5656c996.cjs +1 -0
- package/vue2/lib/browser/repeated-block-37646894.cjs +1 -0
- package/vue2/lib/{node/repeated-block-82dffab6.js → browser/repeated-block-711036ce.js} +5 -4
- package/vue2/lib/{node/styles-b9c3f50e.cjs → browser/styles-18e2ee39.cjs} +2 -2
- package/vue2/lib/{edge/styles-fbe2ad34.js → browser/styles-e141b29e.js} +8 -7
- package/vue2/lib/edge/{block-88b23340.js → block-35ad0e3f.js} +10 -9
- package/vue2/lib/{browser/block-3acda1db.cjs → edge/block-65659a3f.cjs} +2 -2
- package/vue2/lib/edge/block-styles-236afaf6.cjs +1 -0
- package/vue2/lib/{node/block-styles-ae29f345.js → edge/block-styles-df04ce35.js} +8 -7
- package/vue2/lib/edge/block-wrapper-92227702.cjs +1 -0
- package/vue2/lib/{browser/block-wrapper-42a21f3a.js → edge/block-wrapper-ed85d5e5.js} +8 -7
- package/vue2/lib/{node/blocks-wrapper-1e6ad915.js → edge/blocks-wrapper-c1bdb5b4.js} +4 -3
- package/vue2/lib/edge/blocks-wrapper-ed1c3990.cjs +1 -0
- package/vue2/lib/{node/component-ref-205a7877.js → edge/component-ref-406288b4.js} +9 -8
- package/vue2/lib/edge/component-ref-6fe256db.cjs +1 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/edge/content-78b300bf.cjs +1 -0
- package/vue2/lib/{browser/content-fea57461.js → edge/content-fbac6557.js} +8 -7
- package/vue2/lib/edge/{css-fdcffefa.js → css-11eef1df.js} +4 -3
- package/vue2/lib/edge/css-15965af3.cjs +6 -0
- package/vue2/lib/edge/enable-editor-d4895e04.cjs +1 -0
- package/vue2/lib/edge/{enable-editor-f32fd70b.js → enable-editor-f4bb4d8e.js} +6 -5
- package/vue2/lib/edge/{evaluate-907e638c.cjs → evaluate-0145ba88.cjs} +1 -1
- package/vue2/lib/edge/{evaluate-f1aeac53.js → evaluate-063c5f7a.js} +4 -3
- package/vue2/lib/edge/get-block-actions-7f885c3f.cjs +1 -0
- package/vue2/lib/edge/{get-block-actions-f7a64955.js → get-block-actions-89cffb9a.js} +5 -4
- package/vue2/lib/edge/get-block-properties-3f6858d3.cjs +1 -0
- package/vue2/lib/{node/get-block-properties-8711f880.js → edge/get-block-properties-aedb780e.js} +11 -10
- package/vue2/lib/edge/get-processed-block-adb656ef.cjs +1 -0
- package/vue2/lib/{node/get-processed-block-ee45c650.js → edge/get-processed-block-c0f0da5d.js} +16 -15
- package/vue2/lib/{node/index-bf858a42.cjs → edge/index-56af5fb4.cjs} +3 -3
- package/vue2/lib/{browser/index-efdcc0ee.js → edge/index-7870efd8.js} +48 -47
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +24 -23
- package/vue2/lib/{node/inlined-script-24a8df2e.js → edge/inlined-script-a166a386.js} +7 -6
- package/vue2/lib/edge/inlined-script-a5b3779c.cjs +1 -0
- package/vue2/lib/edge/inlined-styles-029c0f2b.cjs +1 -0
- package/vue2/lib/edge/{inlined-styles-960710cc.js → inlined-styles-f7c080fd.js} +5 -4
- package/vue2/lib/edge/interactive-element-960a9e10.cjs +1 -0
- package/vue2/lib/{browser/interactive-element-eb83a760.js → edge/interactive-element-c889d9dc.js} +8 -7
- package/vue2/lib/{browser/repeated-block-b9f308bb.js → edge/repeated-block-07d2d25b.js} +5 -4
- package/vue2/lib/edge/repeated-block-0c2cb139.cjs +1 -0
- package/vue2/lib/{browser/styles-f398dedc.js → edge/styles-5c035753.js} +8 -7
- package/vue2/lib/edge/{styles-fccbcaef.cjs → styles-ed45e5cf.cjs} +2 -2
- package/vue2/lib/{browser/block-a6f87b59.js → node/block-7f67e05d.js} +10 -9
- package/vue2/lib/node/{block-250cdb0f.cjs → block-9f7dfe6d.cjs} +2 -2
- package/vue2/lib/{edge/block-styles-3ecae21c.js → node/block-styles-6d96e69c.js} +8 -7
- package/vue2/lib/node/block-styles-c993aa90.cjs +1 -0
- package/vue2/lib/node/block-wrapper-08f3c04a.cjs +1 -0
- package/vue2/lib/node/{block-wrapper-88b642c5.js → block-wrapper-4772c4ae.js} +8 -7
- package/vue2/lib/{browser/blocks-wrapper-ca4d46fe.js → node/blocks-wrapper-0a06ae61.js} +4 -3
- package/vue2/lib/node/blocks-wrapper-c8ab561d.cjs +1 -0
- package/vue2/lib/node/component-ref-19d8d4a8.cjs +1 -0
- package/vue2/lib/{browser/component-ref-1114d239.js → node/component-ref-6b1013d0.js} +9 -8
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/{content-f12d606a.js → content-5de9cb53.js} +8 -7
- package/vue2/lib/node/content-7e6f95d2.cjs +1 -0
- package/vue2/lib/node/css-3747a91a.cjs +6 -0
- package/vue2/lib/node/{css-6048b6bd.js → css-ab629ac6.js} +4 -3
- package/vue2/lib/{browser/enable-editor-9e5fbca5.js → node/enable-editor-58b89268.js} +6 -5
- package/vue2/lib/node/enable-editor-a05ea891.cjs +1 -0
- package/vue2/lib/node/{evaluate-0814c11a.cjs → evaluate-5237e8df.cjs} +1 -1
- package/vue2/lib/node/{evaluate-834a9ea9.js → evaluate-e40501d4.js} +25 -23
- package/vue2/lib/{browser/get-block-actions-6bf6efd8.js → node/get-block-actions-261b93f6.js} +5 -4
- package/vue2/lib/node/get-block-actions-5d60bb63.cjs +1 -0
- package/vue2/lib/{browser/get-block-properties-d1d0bc05.js → node/get-block-properties-49526534.js} +11 -10
- package/vue2/lib/node/get-block-properties-ff0444df.cjs +1 -0
- package/vue2/lib/node/get-processed-block-3b811708.cjs +1 -0
- package/vue2/lib/{edge/get-processed-block-0ed76999.js → node/get-processed-block-7242c9a8.js} +16 -15
- package/vue2/lib/{browser/index-3caa5325.cjs → node/index-00b54a2d.cjs} +3 -3
- package/vue2/lib/{edge/index-5e05bfe5.js → node/index-f335cf42.js} +48 -47
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +24 -23
- package/vue2/lib/{browser/inlined-script-ec4a5d29.js → node/inlined-script-b0441af1.js} +7 -6
- package/vue2/lib/node/inlined-script-e7e8cc4a.cjs +1 -0
- package/vue2/lib/node/inlined-styles-a8e61790.cjs +1 -0
- package/vue2/lib/{browser/inlined-styles-f423abf7.js → node/inlined-styles-c3091b9e.js} +5 -4
- package/vue2/lib/node/interactive-element-64032c60.cjs +1 -0
- package/vue2/lib/{edge/interactive-element-bb9f8f84.js → node/interactive-element-72f51043.js} +8 -7
- package/vue2/lib/node/repeated-block-c2df83ff.cjs +1 -0
- package/vue2/lib/{edge/repeated-block-06156896.js → node/repeated-block-f033b120.js} +5 -4
- package/vue2/lib/{browser/styles-d078f3c9.cjs → node/styles-7d3b3741.cjs} +2 -2
- package/vue2/lib/node/{styles-dc003dc5.js → styles-a1697843.js} +8 -7
- package/vue2/package.json +5 -0
- package/vue3/lib/{node/block-wrapper.56c45140.cjs → browser/block-wrapper.2dba8fb9.cjs} +1 -1
- package/vue3/lib/{node/block-wrapper.747652cc.js → browser/block-wrapper.93359482.js} +3 -3
- package/vue3/lib/{node/component-ref.4cde5228.js → browser/component-ref.348e3f3c.js} +3 -3
- package/vue3/lib/{node/component-ref.9c294efb.cjs → browser/component-ref.5d332cbe.cjs} +1 -1
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/browser/get-block-actions.91d70ba2.cjs +1 -0
- package/vue3/lib/{edge/get-block-actions.b12a50e1.js → browser/get-block-actions.ca6fe762.js} +6 -5
- package/vue3/lib/browser/{index.263ef516.cjs → index.796bf63b.cjs} +7 -7
- package/vue3/lib/browser/{index.3ca6cceb.js → index.c5cd33f5.js} +74 -73
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/index.js +27 -26
- package/vue3/lib/{node/repeated-block.b45912e0.cjs → browser/repeated-block.293b3b51.cjs} +1 -1
- package/vue3/lib/{node/repeated-block.d9d63701.js → browser/repeated-block.aa5dc36f.js} +3 -3
- package/vue3/lib/edge/{block-wrapper.b96fad63.js → block-wrapper.0d57b295.js} +6 -5
- package/vue3/lib/edge/block-wrapper.57daa012.cjs +1 -0
- package/vue3/lib/edge/{component-ref.fef012d7.js → component-ref.47f4d835.js} +5 -4
- package/vue3/lib/edge/component-ref.5f18534f.cjs +1 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/edge/get-block-actions.51f2dc73.cjs +1 -0
- package/vue3/lib/{browser/get-block-actions.b5062464.js → edge/get-block-actions.e18a650e.js} +6 -5
- package/vue3/lib/edge/{index.8968e581.js → index.a7c064ed.js} +128 -127
- package/vue3/lib/edge/{index.caa41e14.cjs → index.c0fdb424.cjs} +8 -8
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +27 -26
- package/vue3/lib/edge/repeated-block.0dedccc0.cjs +1 -0
- package/vue3/lib/edge/{repeated-block.827595e1.js → repeated-block.dbf2ac5d.js} +5 -4
- package/vue3/lib/{browser/block-wrapper.1377d486.js → node/block-wrapper.1140bc59.js} +8 -6
- package/vue3/lib/node/block-wrapper.9e3f2443.cjs +1 -0
- package/vue3/lib/node/component-ref.814bc23c.cjs +1 -0
- package/vue3/lib/{browser/component-ref.0df2ace0.js → node/component-ref.cad6e759.js} +12 -10
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/{get-block-actions.f57c50da.js → get-block-actions.46d61b25.js} +6 -5
- package/vue3/lib/node/get-block-actions.68f47245.cjs +1 -0
- package/vue3/lib/node/{index.941e6502.js → index.14c688da.js} +799 -793
- package/vue3/lib/node/index.456bef99.cjs +201 -0
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.js +24 -23
- package/vue3/lib/node/repeated-block.19d21383.cjs +1 -0
- package/vue3/lib/{browser/repeated-block.055d09e9.js → node/repeated-block.e72a8275.js} +8 -6
- package/vue3/package.json +5 -0
- package/vue2/css/package.json +0 -4
- package/vue2/lib/browser/block-styles-5c462c72.cjs +0 -1
- package/vue2/lib/browser/block-wrapper-6614e2f6.cjs +0 -1
- package/vue2/lib/browser/blocks-wrapper-7761766b.cjs +0 -1
- package/vue2/lib/browser/component-ref-705f4623.cjs +0 -1
- package/vue2/lib/browser/content-4e18170c.cjs +0 -1
- package/vue2/lib/browser/css-bd209fae.cjs +0 -6
- package/vue2/lib/browser/enable-editor-430efbd4.cjs +0 -1
- package/vue2/lib/browser/evaluate-07174f5f.cjs +0 -1
- package/vue2/lib/browser/get-block-actions-84c842f6.cjs +0 -1
- package/vue2/lib/browser/get-block-properties-e2a40df1.cjs +0 -1
- package/vue2/lib/browser/get-processed-block-e0783c0a.cjs +0 -1
- package/vue2/lib/browser/inlined-script-335771a8.cjs +0 -1
- package/vue2/lib/browser/inlined-styles-3913a8d2.cjs +0 -1
- package/vue2/lib/browser/interactive-element-37bc0f5d.cjs +0 -1
- package/vue2/lib/browser/repeated-block-0d2b2875.cjs +0 -1
- package/vue2/lib/edge/block-styles-aceb9af8.cjs +0 -1
- package/vue2/lib/edge/block-wrapper-138380d7.cjs +0 -1
- package/vue2/lib/edge/blocks-wrapper-faea8d38.cjs +0 -1
- package/vue2/lib/edge/component-ref-7b7d8e68.cjs +0 -1
- package/vue2/lib/edge/content-5c39336c.cjs +0 -1
- package/vue2/lib/edge/css-23e659da.cjs +0 -6
- package/vue2/lib/edge/enable-editor-9d1118ea.cjs +0 -1
- package/vue2/lib/edge/get-block-actions-746c9bd2.cjs +0 -1
- package/vue2/lib/edge/get-block-properties-a5109149.cjs +0 -1
- package/vue2/lib/edge/get-processed-block-c0703239.cjs +0 -1
- package/vue2/lib/edge/inlined-script-9a554125.cjs +0 -1
- package/vue2/lib/edge/inlined-styles-908b0f3d.cjs +0 -1
- package/vue2/lib/edge/interactive-element-ad4ab167.cjs +0 -1
- package/vue2/lib/edge/repeated-block-5ba61f53.cjs +0 -1
- package/vue2/lib/node/block-styles-1e2640a2.cjs +0 -1
- package/vue2/lib/node/block-wrapper-ac53a924.cjs +0 -1
- package/vue2/lib/node/blocks-wrapper-a054ebaf.cjs +0 -1
- package/vue2/lib/node/component-ref-06eef9a6.cjs +0 -1
- package/vue2/lib/node/content-a5a1d56c.cjs +0 -1
- package/vue2/lib/node/css-b2c258a5.cjs +0 -6
- package/vue2/lib/node/enable-editor-fdd7a890.cjs +0 -1
- package/vue2/lib/node/get-block-actions-3773e4fd.cjs +0 -1
- package/vue2/lib/node/get-block-properties-3f9bfbe9.cjs +0 -1
- package/vue2/lib/node/get-processed-block-5728fca2.cjs +0 -1
- package/vue2/lib/node/inlined-script-05a289bc.cjs +0 -1
- package/vue2/lib/node/inlined-styles-7ac1dd90.cjs +0 -1
- package/vue2/lib/node/interactive-element-cae91247.cjs +0 -1
- package/vue2/lib/node/repeated-block-65e12830.cjs +0 -1
- package/vue3/css/package.json +0 -4
- package/vue3/lib/browser/block-wrapper.77966882.cjs +0 -1
- package/vue3/lib/browser/component-ref.cfa2879a.cjs +0 -1
- package/vue3/lib/browser/get-block-actions.53c9e174.cjs +0 -1
- package/vue3/lib/browser/repeated-block.10ac7676.cjs +0 -1
- package/vue3/lib/edge/block-wrapper.a5eacdf4.cjs +0 -1
- package/vue3/lib/edge/component-ref.4865219f.cjs +0 -1
- package/vue3/lib/edge/get-block-actions.e8f7801d.cjs +0 -1
- package/vue3/lib/edge/repeated-block.819e62ef.cjs +0 -1
- package/vue3/lib/node/get-block-actions.2b49b259.cjs +0 -1
- package/vue3/lib/node/index.6ab6fc2e.cjs +0 -201
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { defineComponent as b, openBlock as d, createElementBlock as u, mergeProps as w, toHandlers as j, toDisplayString as le, defineAsyncComponent as W, resolveComponent as y, Fragment as C, createBlock as k, createCommentVNode as f, renderList as A, withCtx as ne, createVNode as B, h as Se, renderSlot as P, createElementVNode as Q, normalizeStyle as X, normalizeClass as Ce, markRaw as Je } from "vue";
|
|
2
3
|
function z(e = {}, t, n) {
|
|
3
4
|
const o = {};
|
|
4
5
|
for (const i in e) {
|
|
@@ -39,11 +40,11 @@ function Xe(e, t, n, o, i, r) {
|
|
|
39
40
|
href: e.link,
|
|
40
41
|
target: e.openLinkInNewTab ? "_blank" : void 0,
|
|
41
42
|
role: "button"
|
|
42
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
43
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17, Qe)) : (d(), u("button", w({
|
|
43
44
|
key: 1,
|
|
44
45
|
style: e.attributes.style,
|
|
45
46
|
class: e._classStringToObject(e.attributes.class + " button-21azgz5avex")
|
|
46
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
47
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17));
|
|
47
48
|
}
|
|
48
49
|
const Ze = /* @__PURE__ */ g(Ye, [["render", Xe], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/button/button.vue"]]), et = Symbol(), Z = {
|
|
49
50
|
Builder: {
|
|
@@ -71,10 +72,10 @@ function nt(e) {
|
|
|
71
72
|
builderBlock: e
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
|
-
const
|
|
75
|
+
const R = "vue3", ot = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), x = (e) => e != null, it = (e) => Object.entries(e).map(([n, o]) => {
|
|
75
76
|
if (typeof o == "string")
|
|
76
77
|
return `${ot(n)}: ${o};`;
|
|
77
|
-
}).filter(
|
|
78
|
+
}).filter(x), rt = (e) => it(e).join(`
|
|
78
79
|
`), J = ({
|
|
79
80
|
mediaQuery: e,
|
|
80
81
|
className: t,
|
|
@@ -98,8 +99,8 @@ function v() {
|
|
|
98
99
|
function st() {
|
|
99
100
|
return v() && window.self !== window.top;
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
-
return st() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
102
|
+
function T() {
|
|
103
|
+
return st() && (R === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
|
|
103
104
|
}
|
|
104
105
|
const at = () => {
|
|
105
106
|
if (v()) {
|
|
@@ -125,7 +126,7 @@ const at = () => {
|
|
|
125
126
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
126
127
|
},
|
|
127
128
|
any() {
|
|
128
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
129
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
|
|
129
130
|
}
|
|
130
131
|
}, n = e.match(/Tablet|iPad/i), o = at();
|
|
131
132
|
return {
|
|
@@ -145,7 +146,7 @@ const at = () => {
|
|
|
145
146
|
context: t,
|
|
146
147
|
event: n
|
|
147
148
|
}), dt = () => ({
|
|
148
|
-
isEditing:
|
|
149
|
+
isEditing: T(),
|
|
149
150
|
isBrowser: v(),
|
|
150
151
|
isServer: !v(),
|
|
151
152
|
getUserAttributes: () => Ie()
|
|
@@ -327,17 +328,17 @@ const bt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
327
328
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
328
329
|
e
|
|
329
330
|
), e;
|
|
330
|
-
}), St = () => import("./block-wrapper.
|
|
331
|
+
}), St = () => import("./block-wrapper.93359482.js").then((e) => e.default).catch((e) => {
|
|
331
332
|
throw console.error(
|
|
332
333
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
333
334
|
e
|
|
334
335
|
), e;
|
|
335
|
-
}), Ct = () => import("./component-ref.
|
|
336
|
+
}), Ct = () => import("./component-ref.348e3f3c.js").then((e) => e.default).catch((e) => {
|
|
336
337
|
throw console.error(
|
|
337
338
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
338
339
|
e
|
|
339
340
|
), e;
|
|
340
|
-
}), wt = () => import("./repeated-block.
|
|
341
|
+
}), wt = () => import("./repeated-block.aa5dc36f.js").then((e) => e.default).catch((e) => {
|
|
341
342
|
throw console.error(
|
|
342
343
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
343
344
|
e
|
|
@@ -477,7 +478,7 @@ function $t(e, t, n, o, i, r) {
|
|
|
477
478
|
], 64))
|
|
478
479
|
], 64)) : f("v-if", !0);
|
|
479
480
|
}
|
|
480
|
-
const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]),
|
|
481
|
+
const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
481
482
|
__proto__: null,
|
|
482
483
|
default: $e
|
|
483
484
|
}, Symbol.toStringTag, { value: "Module" })), Re = {
|
|
@@ -532,7 +533,7 @@ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/
|
|
|
532
533
|
components: { InlinedStyles: q },
|
|
533
534
|
props: ["block", "context"],
|
|
534
535
|
data() {
|
|
535
|
-
return { TARGET:
|
|
536
|
+
return { TARGET: R };
|
|
536
537
|
},
|
|
537
538
|
computed: {
|
|
538
539
|
canShowBlock() {
|
|
@@ -544,7 +545,7 @@ const $e = /* @__PURE__ */ g(It, [["render", $t], ["__file", "/home/runner/work/
|
|
|
544
545
|
context: this.context.context,
|
|
545
546
|
shouldEvaluateBindings: !0
|
|
546
547
|
});
|
|
547
|
-
return
|
|
548
|
+
return x(e.hide) ? !e.hide : x(e.show) ? e.show : !0;
|
|
548
549
|
},
|
|
549
550
|
css() {
|
|
550
551
|
var h;
|
|
@@ -604,7 +605,7 @@ const xe = /* @__PURE__ */ g(Tt, [["render", xt], ["__file", "/home/runner/work/
|
|
|
604
605
|
methods: {
|
|
605
606
|
onClick() {
|
|
606
607
|
var e, t;
|
|
607
|
-
|
|
608
|
+
T() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
608
609
|
{
|
|
609
610
|
type: "builder.clickEmptyBlocks",
|
|
610
611
|
data: {
|
|
@@ -617,7 +618,7 @@ const xe = /* @__PURE__ */ g(Tt, [["render", xt], ["__file", "/home/runner/work/
|
|
|
617
618
|
},
|
|
618
619
|
onMouseEnter() {
|
|
619
620
|
var e, t;
|
|
620
|
-
|
|
621
|
+
T() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
621
622
|
{
|
|
622
623
|
type: "builder.hoverEmptyBlocks",
|
|
623
624
|
data: {
|
|
@@ -697,7 +698,7 @@ function Ot(e, t, n, o, i, r) {
|
|
|
697
698
|
_: 1
|
|
698
699
|
}, 8, ["blocks", "parent", "path", "styleProp"]);
|
|
699
700
|
}
|
|
700
|
-
const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]),
|
|
701
|
+
const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/blocks/blocks.vue"]]), Nt = b({
|
|
701
702
|
name: "builder-columns",
|
|
702
703
|
components: { InlinedStyles: q, Blocks: oe },
|
|
703
704
|
props: [
|
|
@@ -716,7 +717,7 @@ const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/
|
|
|
716
717
|
cols: this.columns || [],
|
|
717
718
|
stackAt: this.stackColumnsAt || "tablet",
|
|
718
719
|
flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
|
|
719
|
-
TARGET:
|
|
720
|
+
TARGET: R
|
|
720
721
|
};
|
|
721
722
|
},
|
|
722
723
|
computed: {
|
|
@@ -818,7 +819,7 @@ const oe = /* @__PURE__ */ g(_t, [["render", Ot], ["__file", "/home/runner/work/
|
|
|
818
819
|
}
|
|
819
820
|
}
|
|
820
821
|
});
|
|
821
|
-
function
|
|
822
|
+
function jt(e, t, n, o, i, r) {
|
|
822
823
|
const s = y("inlined-styles"), a = y("blocks");
|
|
823
824
|
return d(), u("div", w({
|
|
824
825
|
class: e._classStringToObject(
|
|
@@ -848,7 +849,7 @@ function Nt(e, t, n, o, i, r) {
|
|
|
848
849
|
], 16))), 128))
|
|
849
850
|
], 16);
|
|
850
851
|
}
|
|
851
|
-
const Ut = /* @__PURE__ */ g(
|
|
852
|
+
const Ut = /* @__PURE__ */ g(Nt, [["render", jt], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/columns/columns.vue"]]), Ft = b({
|
|
852
853
|
name: "builder-fragment-component",
|
|
853
854
|
props: []
|
|
854
855
|
});
|
|
@@ -1010,7 +1011,7 @@ function Qt(e, t, n, o, i, r) {
|
|
|
1010
1011
|
marginLeft: "auto",
|
|
1011
1012
|
marginRight: "auto"
|
|
1012
1013
|
}
|
|
1013
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
1014
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
1014
1015
|
P(e.$slots, "default")
|
|
1015
1016
|
], 16);
|
|
1016
1017
|
}
|
|
@@ -1030,7 +1031,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
|
|
|
1030
1031
|
$.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
1031
1032
|
return;
|
|
1032
1033
|
}
|
|
1033
|
-
}, Pe = async (e) => Ee(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(
|
|
1034
|
+
}, Pe = async (e) => Ee(e), en = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(x).join("; "), tn = [["secure", ""], ["SameSite", "None"]], nn = ({
|
|
1034
1035
|
name: e,
|
|
1035
1036
|
value: t,
|
|
1036
1037
|
expires: n
|
|
@@ -1072,7 +1073,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
|
|
|
1072
1073
|
name: ie(e),
|
|
1073
1074
|
value: t,
|
|
1074
1075
|
canTrack: !0
|
|
1075
|
-
}), Be = (e) =>
|
|
1076
|
+
}), Be = (e) => x(e.id) && x(e.variations) && Object.keys(e.variations).length > 0, ln = ({
|
|
1076
1077
|
id: e,
|
|
1077
1078
|
variations: t
|
|
1078
1079
|
}) => {
|
|
@@ -1148,7 +1149,7 @@ const Xt = /* @__PURE__ */ g(Yt, [["render", Qt], ["__file", "/home/runner/work/
|
|
|
1148
1149
|
...e,
|
|
1149
1150
|
...i
|
|
1150
1151
|
};
|
|
1151
|
-
}, U = (e) =>
|
|
1152
|
+
}, U = (e) => x(e) ? e : !0, un = {
|
|
1152
1153
|
name: "Core:Button",
|
|
1153
1154
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1154
1155
|
defaultStyles: {
|
|
@@ -1664,7 +1665,7 @@ const In = /* @__PURE__ */ g(Sn, [["render", wn], ["__file", "/home/runner/work/
|
|
|
1664
1665
|
"attributes"
|
|
1665
1666
|
],
|
|
1666
1667
|
data() {
|
|
1667
|
-
return { isEditing:
|
|
1668
|
+
return { isEditing: T, filterAttrs: z };
|
|
1668
1669
|
}
|
|
1669
1670
|
}), En = ["alt", "src"];
|
|
1670
1671
|
function Pn(e, t, n, o, i, r) {
|
|
@@ -1676,7 +1677,7 @@ function Pn(e, t, n, o, i, r) {
|
|
|
1676
1677
|
key: e.isEditing() && e.imgSrc || "default-key",
|
|
1677
1678
|
alt: e.altText,
|
|
1678
1679
|
src: e.imgSrc || e.image
|
|
1679
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
1680
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, En);
|
|
1680
1681
|
}
|
|
1681
1682
|
const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/img/img.vue"]]), Bn = {
|
|
1682
1683
|
name: "Core:Section",
|
|
@@ -1771,8 +1772,8 @@ const An = /* @__PURE__ */ g(xn, [["render", Pn], ["__file", "/home/runner/work/
|
|
|
1771
1772
|
}, On = b({
|
|
1772
1773
|
name: "builder-text",
|
|
1773
1774
|
props: ["text"]
|
|
1774
|
-
}),
|
|
1775
|
-
function
|
|
1775
|
+
}), Nn = ["innerHTML"];
|
|
1776
|
+
function jn(e, t, n, o, i, r) {
|
|
1776
1777
|
var s;
|
|
1777
1778
|
return d(), u("div", {
|
|
1778
1779
|
class: "builder-text",
|
|
@@ -1780,9 +1781,9 @@ function Nn(e, t, n, o, i, r) {
|
|
|
1780
1781
|
style: {
|
|
1781
1782
|
outline: "none"
|
|
1782
1783
|
}
|
|
1783
|
-
}, null, 8,
|
|
1784
|
+
}, null, 8, Nn);
|
|
1784
1785
|
}
|
|
1785
|
-
const Un = /* @__PURE__ */ g(On, [["render",
|
|
1786
|
+
const Un = /* @__PURE__ */ g(On, [["render", jn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/text/text.vue"]]), Fn = {
|
|
1786
1787
|
name: "Video",
|
|
1787
1788
|
canHaveChildren: !0,
|
|
1788
1789
|
defaultStyles: {
|
|
@@ -2113,24 +2114,24 @@ const qn = /* @__PURE__ */ g(Wn, [["render", zn], ["__file", "/home/runner/work/
|
|
|
2113
2114
|
thisScriptEl?.remove();
|
|
2114
2115
|
}
|
|
2115
2116
|
return;
|
|
2116
|
-
}`, Oe = "builderIoAbTest",
|
|
2117
|
+
}`, Oe = "builderIoAbTest", Ne = "builderIoRenderContent", L = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
2117
2118
|
...t,
|
|
2118
2119
|
testVariationId: t.id,
|
|
2119
2120
|
id: e == null ? void 0 : e.id
|
|
2120
2121
|
})), Zn = ({
|
|
2121
2122
|
canTrack: e,
|
|
2122
2123
|
content: t
|
|
2123
|
-
}) => !(!(L(t).length > 0) || !e), eo = (e) => e === "react" || e === "reactNative",
|
|
2124
|
+
}) => !(!(L(t).length > 0) || !e), eo = (e) => e === "react" || e === "reactNative", je = eo(R), to = () => `
|
|
2124
2125
|
window.${Oe} = ${Qn}
|
|
2125
|
-
window.${
|
|
2126
|
+
window.${Ne} = ${Xn}
|
|
2126
2127
|
`, no = (e, t) => `
|
|
2127
2128
|
window.${Oe}(
|
|
2128
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
2129
|
+
"${t}",${JSON.stringify(e)}, ${je}
|
|
2129
2130
|
)`, oo = ({
|
|
2130
2131
|
contentId: e,
|
|
2131
2132
|
variationId: t
|
|
2132
|
-
}) => `window.${
|
|
2133
|
-
"${t}", "${e}", ${
|
|
2133
|
+
}) => `window.${Ne}(
|
|
2134
|
+
"${t}", "${e}", ${je}
|
|
2134
2135
|
)`, io = b({
|
|
2135
2136
|
render() {
|
|
2136
2137
|
return Se("script", { id: this.id, innerHTML: this.scriptStr });
|
|
@@ -2213,8 +2214,8 @@ const ao = "v3", he = "builder.", lo = "options.", co = (e) => {
|
|
|
2213
2214
|
const E = H({
|
|
2214
2215
|
sort: O
|
|
2215
2216
|
});
|
|
2216
|
-
for (const
|
|
2217
|
-
I.searchParams.set(
|
|
2217
|
+
for (const N in E)
|
|
2218
|
+
I.searchParams.set(N, JSON.stringify(E[N]));
|
|
2218
2219
|
}
|
|
2219
2220
|
const Ge = {
|
|
2220
2221
|
...uo(),
|
|
@@ -2226,8 +2227,8 @@ const ao = "v3", he = "builder.", lo = "options.", co = (e) => {
|
|
|
2226
2227
|
const E = H({
|
|
2227
2228
|
query: i
|
|
2228
2229
|
});
|
|
2229
|
-
for (const
|
|
2230
|
-
I.searchParams.set(
|
|
2230
|
+
for (const N in E)
|
|
2231
|
+
I.searchParams.set(N, JSON.stringify(E[N]));
|
|
2231
2232
|
}
|
|
2232
2233
|
return I;
|
|
2233
2234
|
}, po = (e) => "results" in e;
|
|
@@ -2238,12 +2239,12 @@ async function G(e) {
|
|
|
2238
2239
|
});
|
|
2239
2240
|
return t && t.results[0] || null;
|
|
2240
2241
|
}
|
|
2241
|
-
const
|
|
2242
|
+
const ri = G, mo = async (e) => {
|
|
2242
2243
|
const t = re(e);
|
|
2243
2244
|
return await (await Fe(t.href)).json();
|
|
2244
2245
|
}, ho = async (e, t, n = re(e)) => {
|
|
2245
2246
|
const o = U(e.canTrack);
|
|
2246
|
-
if (n.search.includes("preview="), !o || !(v() ||
|
|
2247
|
+
if (n.search.includes("preview="), !o || !(v() || R === "reactNative"))
|
|
2247
2248
|
return t;
|
|
2248
2249
|
try {
|
|
2249
2250
|
const i = [];
|
|
@@ -2270,9 +2271,9 @@ async function Le(e) {
|
|
|
2270
2271
|
return $.error("Error fetching data. ", t), null;
|
|
2271
2272
|
}
|
|
2272
2273
|
}
|
|
2273
|
-
const
|
|
2274
|
+
const si = Le;
|
|
2274
2275
|
function fo() {
|
|
2275
|
-
return !v() ||
|
|
2276
|
+
return !v() || T() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
|
|
2276
2277
|
}
|
|
2277
2278
|
function bo() {
|
|
2278
2279
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
@@ -2292,7 +2293,7 @@ const Ke = "builderSessionId", go = async ({
|
|
|
2292
2293
|
name: Ke,
|
|
2293
2294
|
canTrack: e
|
|
2294
2295
|
});
|
|
2295
|
-
if (
|
|
2296
|
+
if (x(t))
|
|
2296
2297
|
return t;
|
|
2297
2298
|
{
|
|
2298
2299
|
const n = yo();
|
|
@@ -2339,7 +2340,7 @@ const Ke = "builderSessionId", go = async ({
|
|
|
2339
2340
|
key: ze,
|
|
2340
2341
|
canTrack: e
|
|
2341
2342
|
});
|
|
2342
|
-
if (
|
|
2343
|
+
if (x(t))
|
|
2343
2344
|
return t;
|
|
2344
2345
|
{
|
|
2345
2346
|
const n = wo();
|
|
@@ -2398,7 +2399,7 @@ async function te(e) {
|
|
|
2398
2399
|
$.error("Missing API key for track call. Please provide your API key.");
|
|
2399
2400
|
return;
|
|
2400
2401
|
}
|
|
2401
|
-
if (!!e.canTrack && !
|
|
2402
|
+
if (!!e.canTrack && !T() && !!(v() || R === "reactNative"))
|
|
2402
2403
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
2403
2404
|
method: "POST",
|
|
2404
2405
|
body: JSON.stringify({
|
|
@@ -2412,7 +2413,7 @@ async function te(e) {
|
|
|
2412
2413
|
console.error("Failed to track: ", t);
|
|
2413
2414
|
});
|
|
2414
2415
|
}
|
|
2415
|
-
const
|
|
2416
|
+
const ai = (e) => te({
|
|
2416
2417
|
...e,
|
|
2417
2418
|
canTrack: !0
|
|
2418
2419
|
});
|
|
@@ -2458,7 +2459,7 @@ const To = (e, t, n = !0) => {
|
|
|
2458
2459
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
2459
2460
|
}
|
|
2460
2461
|
};
|
|
2461
|
-
}, Po = "0.
|
|
2462
|
+
}, Po = "0.8.1", ye = {};
|
|
2462
2463
|
function Ao(e, t) {
|
|
2463
2464
|
let n = ye[e];
|
|
2464
2465
|
if (n || (n = ye[e] = []), n.push(t), v()) {
|
|
@@ -2505,7 +2506,7 @@ const Vo = (e = {}) => {
|
|
|
2505
2506
|
ke || (ke = !0, v() && ((t = window.parent) == null || t.postMessage({
|
|
2506
2507
|
type: "builder.sdkInfo",
|
|
2507
2508
|
data: {
|
|
2508
|
-
target:
|
|
2509
|
+
target: R,
|
|
2509
2510
|
version: Po,
|
|
2510
2511
|
supportsPatchUpdates: !1,
|
|
2511
2512
|
supportsAddBlockScoping: !0,
|
|
@@ -2590,7 +2591,7 @@ const Vo = (e = {}) => {
|
|
|
2590
2591
|
(() => {
|
|
2591
2592
|
var n, o;
|
|
2592
2593
|
if (v()) {
|
|
2593
|
-
if (
|
|
2594
|
+
if (T() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
2594
2595
|
new CustomEvent("initeditingbldr")
|
|
2595
2596
|
), this.builderContextSignal.content && U(this.canTrack)) {
|
|
2596
2597
|
const r = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
|
|
@@ -2772,7 +2773,7 @@ const Vo = (e = {}) => {
|
|
|
2772
2773
|
var t, n, o;
|
|
2773
2774
|
const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
|
|
2774
2775
|
Object.entries(e).forEach(([i, r]) => {
|
|
2775
|
-
if (r && (!this.httpReqsData[i] ||
|
|
2776
|
+
if (r && (!this.httpReqsData[i] || T())) {
|
|
2776
2777
|
const s = this.evalExpression(r);
|
|
2777
2778
|
this.handleRequest({
|
|
2778
2779
|
url: s,
|
|
@@ -2782,7 +2783,7 @@ const Vo = (e = {}) => {
|
|
|
2782
2783
|
});
|
|
2783
2784
|
},
|
|
2784
2785
|
emitStateUpdate() {
|
|
2785
|
-
|
|
2786
|
+
T() && window.dispatchEvent(
|
|
2786
2787
|
new CustomEvent(
|
|
2787
2788
|
"builder:component:stateChange",
|
|
2788
2789
|
{
|
|
@@ -2841,7 +2842,7 @@ const Vo = (e = {}) => {
|
|
|
2841
2842
|
}
|
|
2842
2843
|
}
|
|
2843
2844
|
}), Oo = ["builder-content-id", "builder-model"];
|
|
2844
|
-
function
|
|
2845
|
+
function No(e, t, n, o, i, r) {
|
|
2845
2846
|
var s, a, l;
|
|
2846
2847
|
return e.builderContextSignal.content ? (d(), u("div", w({
|
|
2847
2848
|
key: e.forceReRenderCount,
|
|
@@ -2863,7 +2864,7 @@ function jo(e, t, n, o, i, r) {
|
|
|
2863
2864
|
P(e.$slots, "default")
|
|
2864
2865
|
], 16, Oo)) : f("v-if", !0);
|
|
2865
2866
|
}
|
|
2866
|
-
const
|
|
2867
|
+
const jo = /* @__PURE__ */ g(_o, [["render", No], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/content/components/enable-editor.vue"]]), Uo = (e) => {
|
|
2867
2868
|
var r, s;
|
|
2868
2869
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (s = e.fileUrl) != null ? s : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
|
|
2869
2870
|
let i = "";
|
|
@@ -2962,7 +2963,7 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
|
|
|
2962
2963
|
} : void 0, zo = Je, qo = b({
|
|
2963
2964
|
name: "content-component",
|
|
2964
2965
|
components: {
|
|
2965
|
-
EnableEditor:
|
|
2966
|
+
EnableEditor: jo,
|
|
2966
2967
|
InlinedScript: Ue,
|
|
2967
2968
|
ContentStyles: Ho,
|
|
2968
2969
|
Blocks: oe
|
|
@@ -3031,7 +3032,7 @@ const Ho = /* @__PURE__ */ g(Mo, [["render", Lo], ["__file", "/home/runner/work/
|
|
|
3031
3032
|
),
|
|
3032
3033
|
inheritedStyles: {}
|
|
3033
3034
|
},
|
|
3034
|
-
TARGET:
|
|
3035
|
+
TARGET: R
|
|
3035
3036
|
};
|
|
3036
3037
|
},
|
|
3037
3038
|
provide() {
|
|
@@ -3112,7 +3113,7 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go], ["__file", "/home/runner/work/
|
|
|
3112
3113
|
canTrack: U(this.canTrack),
|
|
3113
3114
|
content: this.content
|
|
3114
3115
|
}),
|
|
3115
|
-
TARGET:
|
|
3116
|
+
TARGET: R,
|
|
3116
3117
|
getScriptString: to,
|
|
3117
3118
|
getVariants: L
|
|
3118
3119
|
};
|
|
@@ -3280,7 +3281,7 @@ function ei(e, t, n, o, i, r) {
|
|
|
3280
3281
|
const s = y("content-variants");
|
|
3281
3282
|
return d(), u("div", w({
|
|
3282
3283
|
class: e._classStringToObject(e.className)
|
|
3283
|
-
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) },
|
|
3284
|
+
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, j(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
3284
3285
|
B(s, {
|
|
3285
3286
|
__isNestedRender: !0,
|
|
3286
3287
|
apiVersion: e.builderContext.apiVersion,
|
|
@@ -3297,8 +3298,8 @@ function ei(e, t, n, o, i, r) {
|
|
|
3297
3298
|
}, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
|
|
3298
3299
|
], 16);
|
|
3299
3300
|
}
|
|
3300
|
-
const ti = /* @__PURE__ */ g(Zo, [["render", ei], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]),
|
|
3301
|
-
function
|
|
3301
|
+
const ti = /* @__PURE__ */ g(Zo, [["render", ei], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), li = oe, ci = qe, ve = {};
|
|
3302
|
+
function di(e) {
|
|
3302
3303
|
if (v()) {
|
|
3303
3304
|
Object.assign(ve, e);
|
|
3304
3305
|
const t = {
|
|
@@ -3308,7 +3309,7 @@ function ci(e) {
|
|
|
3308
3309
|
parent.postMessage(t, "*");
|
|
3309
3310
|
}
|
|
3310
3311
|
}
|
|
3311
|
-
const
|
|
3312
|
+
const ui = async (e) => {
|
|
3312
3313
|
var o, i, r;
|
|
3313
3314
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((i = e.userAttributes) == null ? void 0 : i.urlPath), n = {
|
|
3314
3315
|
...e,
|
|
@@ -3333,9 +3334,9 @@ export {
|
|
|
3333
3334
|
qe as C,
|
|
3334
3335
|
Mt as F,
|
|
3335
3336
|
Jt as I,
|
|
3336
|
-
|
|
3337
|
+
li as R,
|
|
3337
3338
|
Xt as S,
|
|
3338
|
-
|
|
3339
|
+
R as T,
|
|
3339
3340
|
qn as V,
|
|
3340
3341
|
g as _,
|
|
3341
3342
|
xe as a,
|
|
@@ -3343,24 +3344,24 @@ export {
|
|
|
3343
3344
|
it as c,
|
|
3344
3345
|
oe as d,
|
|
3345
3346
|
K as e,
|
|
3346
|
-
|
|
3347
|
+
ci as f,
|
|
3347
3348
|
Ze as g,
|
|
3348
3349
|
Ut as h,
|
|
3349
3350
|
ti as i,
|
|
3350
3351
|
Un as j,
|
|
3351
|
-
|
|
3352
|
+
T as k,
|
|
3352
3353
|
fo as l,
|
|
3353
3354
|
Gn as m,
|
|
3354
3355
|
ho as n,
|
|
3355
3356
|
Le as o,
|
|
3356
3357
|
G as p,
|
|
3357
|
-
|
|
3358
|
+
si as q,
|
|
3358
3359
|
Ao as r,
|
|
3359
|
-
|
|
3360
|
-
|
|
3360
|
+
di as s,
|
|
3361
|
+
ri as t,
|
|
3361
3362
|
We as u,
|
|
3362
|
-
|
|
3363
|
+
ai as v,
|
|
3363
3364
|
zo as w,
|
|
3364
|
-
|
|
3365
|
-
|
|
3365
|
+
ui as x,
|
|
3366
|
+
ii as y
|
|
3366
3367
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
"use strict";var t=require("./style.css");Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.796bf63b.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;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.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { d as n, g as r, h as o, C as i, F as g, I as c, R as l, f as m, S as d, i as C, j as p, V as u, n as f, m as h, x as B, o as R, p as S, q as k, u as E, t as x, k as P, l as v, r as y, s as F, v as I } from "./index.c5cd33f5.js";
|
|
2
3
|
import "vue";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
5
|
+
n as Blocks,
|
|
6
|
+
r as Button,
|
|
7
|
+
o as Columns,
|
|
8
|
+
i as Content,
|
|
9
|
+
g as Fragment,
|
|
10
|
+
c as Image,
|
|
11
|
+
l as RenderBlocks,
|
|
12
|
+
m as RenderContent,
|
|
13
|
+
d as Section,
|
|
14
|
+
C as Symbol,
|
|
15
|
+
p as Text,
|
|
16
|
+
u as Video,
|
|
17
|
+
f as _processContentResult,
|
|
18
|
+
h as createRegisterComponentMessage,
|
|
19
|
+
B as fetchBuilderProps,
|
|
20
|
+
R as fetchEntries,
|
|
21
|
+
S as fetchOneEntry,
|
|
22
|
+
k as getAllContent,
|
|
23
|
+
E as getBuilderSearchParams,
|
|
24
|
+
x as getContent,
|
|
25
|
+
P as isEditing,
|
|
26
|
+
v as isPreviewing,
|
|
27
|
+
y as register,
|
|
28
|
+
F as setEditorSettings,
|
|
29
|
+
I as track
|
|
29
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.
|
|
1
|
+
"use strict";var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.796bf63b.cjs"),r=()=>Promise.resolve().then(()=>require("./index.796bf63b.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"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,d,u,a){const n=o.resolveComponent("block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents},null,8,["block","context","registeredComponents"])}const l=t._export_sfc(c,[["render",s],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/repeated-block.vue"]]);exports.default=l;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as s } from "vue";
|
|
2
|
-
import { b as p, _ as l } from "./index.
|
|
3
|
-
import
|
|
4
|
-
const a = () => import("./index.941e6502.js").then((e) => e.y).then((e) => e.default).catch((e) => {
|
|
3
|
+
import { b as p, _ as l } from "./index.c5cd33f5.js";
|
|
4
|
+
const a = () => import("./index.c5cd33f5.js").then((e) => e.y).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
7
|
e
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as l, openBlock as o, createBlock as t, resolveDynamicComponent as r, mergeProps as n, toHandlers as a, withCtx as c, renderSlot as p } from "vue";
|
|
2
|
-
import { g as s, a as k } from "./get-block-actions.
|
|
3
|
-
import { _ as i } from "./index.
|
|
3
|
+
import { g as s, a as k } from "./get-block-actions.e18a650e.js";
|
|
4
|
+
import { _ as i } from "./index.a7c064ed.js";
|
|
4
5
|
const u = l({
|
|
5
6
|
name: "block-wrapper",
|
|
6
7
|
props: ["Wrapper", "block", "context", "hasChildren"],
|
|
@@ -8,7 +9,7 @@ const u = l({
|
|
|
8
9
|
return { getBlockActions: s, getBlockProperties: k };
|
|
9
10
|
}
|
|
10
11
|
});
|
|
11
|
-
function S(e, b, d,
|
|
12
|
+
function S(e, m, b, d, f, g) {
|
|
12
13
|
return e.hasChildren ? (o(), t(r(e.Wrapper), n(
|
|
13
14
|
{ key: 0 },
|
|
14
15
|
e.getBlockProperties({
|
|
@@ -48,7 +49,7 @@ function S(e, b, d, m, f, g) {
|
|
|
48
49
|
)
|
|
49
50
|
), null, 16));
|
|
50
51
|
}
|
|
51
|
-
const
|
|
52
|
+
const $ = /* @__PURE__ */ i(u, [["render", S], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
$ as default
|
|
54
55
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var u=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./get-block-actions.51f2dc73.cjs"),r=require("./index.c0fdb424.cjs"),n=o.defineComponent({name:"block-wrapper",props:["Wrapper","block","context","hasChildren"],data(){return{getBlockActions:t.getBlockActions,getBlockProperties:t.getBlockProperties}}});function c(e,a,s,p,i,k){return e.hasChildren?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:0},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:1},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),null,16))}const l=r._export_sfc(n,[["render",c],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);exports.default=l;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as f, openBlock as o, createBlock as r, resolveDynamicComponent as v, mergeProps as g, withCtx as B, renderSlot as S, resolveComponent as m, normalizeProps as h, createElementBlock as u, Fragment as k, renderList as d, createCommentVNode as w } from "vue";
|
|
2
|
-
import { _ as P, B as y, a as R, w as W } from "./index.
|
|
3
|
-
import { g as I, a as C } from "./get-block-actions.
|
|
3
|
+
import { _ as P, B as y, a as R, w as W } from "./index.a7c064ed.js";
|
|
4
|
+
import { g as I, a as C } from "./get-block-actions.e18a650e.js";
|
|
4
5
|
const E = f({
|
|
5
6
|
name: "interactive-element",
|
|
6
7
|
props: ["wrapperProps", "block", "context", "Wrapper"],
|
|
@@ -105,7 +106,7 @@ function x(e, n, c, s, p, l) {
|
|
|
105
106
|
_: 1
|
|
106
107
|
}, 16)) : w("v-if", !0);
|
|
107
108
|
}
|
|
108
|
-
const
|
|
109
|
+
const N = /* @__PURE__ */ P(V, [["render", x], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/component-ref/component-ref.vue"]]);
|
|
109
110
|
export {
|
|
110
|
-
|
|
111
|
+
N as default
|
|
111
112
|
};
|