@builder.io/sdk-vue 1.0.31 → 1.0.33
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/{block-styles-vH9cPqW6.cjs → block-styles-gUk9Dzsc.cjs} +1 -1
- package/lib/browser/{block-styles-ewx36vX8.js → block-styles-kerUOxgY.js} +1 -1
- package/lib/browser/{block-wrapper-pzHUs3vR.cjs → block-wrapper-9bcXRjoR.cjs} +1 -1
- package/lib/browser/{block-wrapper-slz6VUsc.js → block-wrapper-LzC9qaC1.js} +3 -3
- package/lib/browser/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/browser/blocks/button/button.vue.d.ts +3 -3
- package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/browser/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/browser/blocks/image/image.types.d.ts +1 -0
- package/lib/browser/blocks/image/image.vue.d.ts +3 -0
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/browser/blocks/video/video.vue.d.ts +3 -3
- package/lib/browser/{component-ref-GBlBc_46.cjs → component-ref-owFZRdew.cjs} +1 -1
- package/lib/browser/{component-ref-gGM_a4RA.js → component-ref-xImJQvWl.js} +2 -2
- package/lib/browser/components/block/block.helpers.d.ts +20 -2
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-6P112LLS.cjs → get-block-properties-eZL93-0B.cjs} +1 -1
- package/lib/browser/{get-block-properties-6ZWqmCtI.js → get-block-properties-yh_xBxaD.js} +1 -1
- package/lib/browser/{index-lyqvK8Sj.js → index-Qkz0NE0g.js} +396 -385
- package/lib/browser/index-WgX1kltZ.cjs +166 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-MUO8TAfJ.js → repeated-block-H8xyyPjB.js} +2 -2
- package/lib/browser/{repeated-block-qU8TfI6d.cjs → repeated-block-WWW34QbC.cjs} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-h2l_d1ER.cjs → block-styles-A3nahRJN.cjs} +1 -1
- package/lib/edge/{block-styles-Ati2TRt4.js → block-styles-fnG6a8X5.js} +1 -1
- package/lib/{node/block-wrapper-pf9OWtBR.cjs → edge/block-wrapper-HpEpqD6-.cjs} +1 -1
- package/lib/edge/{block-wrapper-ZB-H8YEd.js → block-wrapper-LdQsnZfv.js} +3 -3
- package/lib/edge/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/edge/blocks/button/button.vue.d.ts +3 -3
- package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/edge/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/edge/blocks/image/image.types.d.ts +1 -0
- package/lib/edge/blocks/image/image.vue.d.ts +3 -0
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/edge/blocks/video/video.vue.d.ts +3 -3
- package/lib/{node/component-ref-nv-fu94T.js → edge/component-ref-WDeHhHcD.js} +2 -2
- package/lib/{node/component-ref-4M_KSIFS.cjs → edge/component-ref-WKjLqN2Y.cjs} +1 -1
- package/lib/edge/components/block/block.helpers.d.ts +20 -2
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-jlNO2WDQ.cjs → get-block-properties-iZMwLeIw.cjs} +1 -1
- package/lib/edge/{get-block-properties-zHNqo17A.js → get-block-properties-mGQrxPHc.js} +1 -1
- package/lib/edge/index-UdOhGo7m.cjs +186 -0
- package/lib/edge/{index-npohEGmD.js → index-cYhIjhO_.js} +909 -906
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-1shfCJM3.js → repeated-block-NzAuZ0hs.js} +2 -2
- package/lib/edge/{repeated-block-s3T0GmNC.cjs → repeated-block-j3EbhJD1.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{block-styles-OhBkwPg2.js → block-styles-S-Dwi4TP.js} +1 -1
- package/lib/node/{block-styles-h0QhxG-I.cjs → block-styles-T7p84HtL.cjs} +1 -1
- package/lib/node/{block-wrapper-XbMrRbLB.js → block-wrapper-6iynCx74.js} +3 -3
- package/lib/{edge/block-wrapper-FE0idHo1.cjs → node/block-wrapper-f_jOXgFb.cjs} +1 -1
- package/lib/node/blocks/accordion/accordion.vue.d.ts +3 -3
- package/lib/node/blocks/button/button.vue.d.ts +3 -3
- package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/node/blocks/form/form/form.vue.d.ts +6 -6
- package/lib/node/blocks/image/image.types.d.ts +1 -0
- package/lib/node/blocks/image/image.vue.d.ts +3 -0
- package/lib/node/blocks/symbol/symbol.vue.d.ts +6 -6
- package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
- package/lib/node/blocks/video/video.vue.d.ts +3 -3
- package/lib/{edge/component-ref-jR12j3SD.cjs → node/component-ref-U-cvIdGq.cjs} +1 -1
- package/lib/{edge/component-ref-Qiu9p8NW.js → node/component-ref-sD6hZef-.js} +2 -2
- package/lib/node/components/block/block.helpers.d.ts +20 -2
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties--Jw55bAs.cjs → get-block-properties-9-2o1ACI.cjs} +1 -1
- package/lib/node/{get-block-properties-BWK9dE_f.js → get-block-properties-ZsDn1lB0.js} +1 -1
- package/lib/node/index-BvctNQ8U.cjs +213 -0
- package/lib/node/{index-VaCa4ttS.js → index-zQlrqnEY.js} +45 -34
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-RXY_Q8Bd.cjs → repeated-block-5Jpy-5o9.cjs} +1 -1
- package/lib/node/{repeated-block-OYE0nf8k.js → repeated-block-xt9V5Mgm.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/index-d4nFboUL.cjs +0 -166
- package/lib/edge/index-Cz1CABfT.cjs +0 -186
- package/lib/node/index-olIppIUs.cjs +0 -213
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var $ = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var v = (e, t, n) => (
|
|
2
|
+
var B = (e, t, n) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var v = (e, t, n) => (B(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import { defineComponent, openBlock, createElementBlock, Fragment as Fragment$1, createBlock, resolveDynamicComponent, mergeProps, toHandlers, withCtx, renderSlot, resolveComponent, createTextVNode, toDisplayString, defineAsyncComponent, createVNode, renderList, createCommentVNode, h, createElementVNode, normalizeStyle, normalizeClass, markRaw } from "vue";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), isEmptyElement = (e) => typeof e == "string" && EMPTY_HTML_ELEMENTS.has(e.toLowerCase());
|
|
@@ -123,11 +123,7 @@ function getBlockComponentOptions(e) {
|
|
|
123
123
|
var t;
|
|
124
124
|
return {
|
|
125
125
|
...(t = e.component) == null ? void 0 : t.options,
|
|
126
|
-
...e.options
|
|
127
|
-
/**
|
|
128
|
-
* Our built-in components frequently make use of the block, so we provide all of it under `builderBlock`
|
|
129
|
-
*/
|
|
130
|
-
builderBlock: e
|
|
126
|
+
...e.options
|
|
131
127
|
};
|
|
132
128
|
}
|
|
133
129
|
const MSG_PREFIX = "[Builder.io]: ", logger = {
|
|
@@ -699,27 +695,35 @@ const getComponent = ({
|
|
|
699
695
|
},
|
|
700
696
|
block: o
|
|
701
697
|
}));
|
|
702
|
-
},
|
|
698
|
+
}, provideLinkComponent = (e, t) => e && (e.isRSC && TARGET === "rsc" || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
|
|
699
|
+
builderLinkComponent: t
|
|
700
|
+
} : {}, provideRegisteredComponents = (e, t) => e && (e.isRSC && TARGET === "rsc" || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
|
|
701
|
+
builderComponents: t
|
|
702
|
+
} : {}, provideBuilderBlock = (e, t) => e && (e.isRSC && TARGET === "rsc" || TARGET === "reactNative" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Image", "Video"].includes(e.name)) ? {
|
|
703
|
+
builderBlock: t
|
|
704
|
+
} : {}, provideBuilderContext = (e, t) => e && (e.isRSC && TARGET === "rsc" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Slot"].includes(e.name)) ? {
|
|
705
|
+
builderContext: t
|
|
706
|
+
} : {}, DynamicDiv$1 = () => Promise.resolve().then(() => dynamicDiv).then((e) => e.default).catch((e) => {
|
|
703
707
|
throw console.error(
|
|
704
708
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
705
709
|
e
|
|
706
710
|
), e;
|
|
707
|
-
}), BlockStyles = () => import("./block-styles-
|
|
711
|
+
}), BlockStyles = () => import("./block-styles-S-Dwi4TP.js").then((e) => e.default).catch((e) => {
|
|
708
712
|
throw console.error(
|
|
709
713
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
710
714
|
e
|
|
711
715
|
), e;
|
|
712
|
-
}), BlockWrapper = () => import("./block-wrapper-
|
|
716
|
+
}), BlockWrapper = () => import("./block-wrapper-6iynCx74.js").then((e) => e.default).catch((e) => {
|
|
713
717
|
throw console.error(
|
|
714
718
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
715
719
|
e
|
|
716
720
|
), e;
|
|
717
|
-
}), ComponentRef = () => import("./component-ref-
|
|
721
|
+
}), ComponentRef = () => import("./component-ref-sD6hZef-.js").then((e) => e.default).catch((e) => {
|
|
718
722
|
throw console.error(
|
|
719
723
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
720
724
|
e
|
|
721
725
|
), e;
|
|
722
|
-
}), RepeatedBlock = () => import("./repeated-block-
|
|
726
|
+
}), RepeatedBlock = () => import("./repeated-block-xt9V5Mgm.js").then((e) => e.default).catch((e) => {
|
|
723
727
|
throw console.error(
|
|
724
728
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
725
729
|
e
|
|
@@ -790,13 +794,13 @@ const getComponent = ({
|
|
|
790
794
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
791
795
|
componentOptions: {
|
|
792
796
|
...getBlockComponentOptions(this.processedBlock),
|
|
793
|
-
|
|
794
|
-
...
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
797
|
+
...provideBuilderBlock(this.blockComponent, this.processedBlock),
|
|
798
|
+
...provideBuilderContext(this.blockComponent, this.context),
|
|
799
|
+
...provideLinkComponent(this.blockComponent, this.linkComponent),
|
|
800
|
+
...provideRegisteredComponents(
|
|
801
|
+
this.blockComponent,
|
|
802
|
+
this.registeredComponents
|
|
803
|
+
)
|
|
800
804
|
},
|
|
801
805
|
context: this.context,
|
|
802
806
|
linkComponent: this.linkComponent,
|
|
@@ -838,8 +842,7 @@ function _sfc_render$o(e, t, n, o, r, s) {
|
|
|
838
842
|
key: 0,
|
|
839
843
|
Wrapper: e.Tag,
|
|
840
844
|
block: e.processedBlock,
|
|
841
|
-
context: e.context
|
|
842
|
-
linkComponent: e.linkComponent
|
|
845
|
+
context: e.context
|
|
843
846
|
}, {
|
|
844
847
|
default: withCtx(() => [
|
|
845
848
|
createVNode(l, {
|
|
@@ -862,7 +865,7 @@ function _sfc_render$o(e, t, n, o, r, s) {
|
|
|
862
865
|
}, null, 8, ["block", "registeredComponents", "linkComponent", "context"]))), 128))
|
|
863
866
|
]),
|
|
864
867
|
_: 1
|
|
865
|
-
}, 8, ["Wrapper", "block", "context"
|
|
868
|
+
}, 8, ["Wrapper", "block", "context"]))
|
|
866
869
|
], 64))
|
|
867
870
|
], 64)) : createCommentVNode("", !0);
|
|
868
871
|
}
|
|
@@ -1249,6 +1252,7 @@ const _sfc_main$j = defineComponent({
|
|
|
1249
1252
|
"srcset",
|
|
1250
1253
|
"noWebp",
|
|
1251
1254
|
"aspectRatio",
|
|
1255
|
+
"highPriority",
|
|
1252
1256
|
"altText",
|
|
1253
1257
|
"backgroundPosition",
|
|
1254
1258
|
"backgroundSize",
|
|
@@ -1287,7 +1291,7 @@ const _sfc_main$j = defineComponent({
|
|
|
1287
1291
|
return this.aspectRatio ? e : void 0;
|
|
1288
1292
|
}
|
|
1289
1293
|
}
|
|
1290
|
-
}), _hoisted_1$a = ["srcset"], _hoisted_2$4 = ["alt", "role", "src", "srcset", "sizes"], _hoisted_3$1 = {
|
|
1294
|
+
}), _hoisted_1$a = ["srcset"], _hoisted_2$4 = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], _hoisted_3$1 = {
|
|
1291
1295
|
key: 2,
|
|
1292
1296
|
class: "div-1pl23ac79ld-2"
|
|
1293
1297
|
};
|
|
@@ -1301,7 +1305,8 @@ function _sfc_render$i(e, t, n, o, r, s) {
|
|
|
1301
1305
|
srcset: e.webpSrcSet
|
|
1302
1306
|
}, null, 8, _hoisted_1$a)) : createCommentVNode("", !0),
|
|
1303
1307
|
createElementVNode("img", {
|
|
1304
|
-
loading: "lazy",
|
|
1308
|
+
loading: e.highPriority ? "eager" : "lazy",
|
|
1309
|
+
fetchpriority: e.highPriority ? "high" : "auto",
|
|
1305
1310
|
alt: e.altText,
|
|
1306
1311
|
role: e.altText ? void 0 : "presentation",
|
|
1307
1312
|
style: normalizeStyle({
|
|
@@ -1330,7 +1335,7 @@ function _sfc_render$i(e, t, n, o, r, s) {
|
|
|
1330
1335
|
])) : createCommentVNode("", !0)
|
|
1331
1336
|
], 64);
|
|
1332
1337
|
}
|
|
1333
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
1338
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-0d528855"]]), _sfc_main$i = defineComponent({
|
|
1334
1339
|
name: "builder-section-component",
|
|
1335
1340
|
props: ["attributes", "maxWidth"],
|
|
1336
1341
|
data() {
|
|
@@ -2080,6 +2085,11 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
2080
2085
|
type: "boolean",
|
|
2081
2086
|
helperText: "When child blocks are provided, fit to them instead of using the image's aspect ratio",
|
|
2082
2087
|
defaultValue: !0
|
|
2088
|
+
}, {
|
|
2089
|
+
name: "highPriority",
|
|
2090
|
+
type: "boolean",
|
|
2091
|
+
advanced: !0,
|
|
2092
|
+
helperText: "Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."
|
|
2083
2093
|
}, {
|
|
2084
2094
|
name: "aspectRatio",
|
|
2085
2095
|
type: "number",
|
|
@@ -3679,12 +3689,12 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
|
|
|
3679
3689
|
for (const S in k)
|
|
3680
3690
|
g.searchParams.set(S, JSON.stringify(k[S]));
|
|
3681
3691
|
}
|
|
3682
|
-
const
|
|
3692
|
+
const I = {
|
|
3683
3693
|
...getBuilderSearchParamsFromWindow(),
|
|
3684
3694
|
...normalizeSearchParams(e.options || {})
|
|
3685
|
-
},
|
|
3686
|
-
for (const k in
|
|
3687
|
-
g.searchParams.set(k, String(
|
|
3695
|
+
}, T = flatten(I);
|
|
3696
|
+
for (const k in T)
|
|
3697
|
+
g.searchParams.set(k, String(T[k]));
|
|
3688
3698
|
if (n && g.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
3689
3699
|
const k = flattenMongoQuery({
|
|
3690
3700
|
query: o
|
|
@@ -3923,10 +3933,12 @@ const findParentElement = (e, t, n = !0) => {
|
|
|
3923
3933
|
};
|
|
3924
3934
|
}, DEFAULT_TRUSTED_HOSTS = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
3925
3935
|
function isFromTrustedHost(e, t) {
|
|
3936
|
+
if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
|
|
3937
|
+
return !1;
|
|
3926
3938
|
const n = new URL(t.origin), o = n.hostname;
|
|
3927
3939
|
return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
3928
3940
|
}
|
|
3929
|
-
const SDK_VERSION = "1.0.
|
|
3941
|
+
const SDK_VERSION = "1.0.33", registry = {};
|
|
3930
3942
|
function register(e, t) {
|
|
3931
3943
|
let n = registry[e];
|
|
3932
3944
|
if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
|
|
@@ -4529,10 +4541,10 @@ const ContentStyles = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_
|
|
|
4529
4541
|
"showContent",
|
|
4530
4542
|
"contentWrapper",
|
|
4531
4543
|
"contentWrapperProps",
|
|
4532
|
-
"linkComponent",
|
|
4533
4544
|
"trustedHosts",
|
|
4534
4545
|
"isSsrAbTest",
|
|
4535
|
-
"isNestedRender"
|
|
4546
|
+
"isNestedRender",
|
|
4547
|
+
"linkComponent"
|
|
4536
4548
|
],
|
|
4537
4549
|
data() {
|
|
4538
4550
|
var e, t;
|
|
@@ -4618,7 +4630,6 @@ function _sfc_render$2(e, t, n, o, r, s) {
|
|
|
4618
4630
|
builderContextSignal: e.builderContextSignal,
|
|
4619
4631
|
contentWrapper: e.contentWrapper,
|
|
4620
4632
|
contentWrapperProps: e.contentWrapperProps,
|
|
4621
|
-
linkComponent: e.linkComponent,
|
|
4622
4633
|
trustedHosts: e.trustedHosts
|
|
4623
4634
|
}, {}), {
|
|
4624
4635
|
default: withCtx(() => {
|
|
@@ -4645,7 +4656,7 @@ function _sfc_render$2(e, t, n, o, r, s) {
|
|
|
4645
4656
|
];
|
|
4646
4657
|
}),
|
|
4647
4658
|
_: 1
|
|
4648
|
-
}, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "
|
|
4659
|
+
}, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
|
|
4649
4660
|
}
|
|
4650
4661
|
const ContentComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]), _sfc_main$1 = defineComponent({
|
|
4651
4662
|
name: "content-variants",
|
package/lib/node/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-BvctNQ8U.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/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as a, k as t, l as r, C as o, p as i, F as n, I as c, S as g, m as l, n as m, V as u, A as d, s as C, z as E, D as p, E as B, v as S, q as f, r as h, t as x, u as b, y as k, x as y } from "./index-
|
|
1
|
+
import { o as a, k as t, l as r, C as o, p as i, F as n, I as c, S as g, m as l, n as m, V as u, A as d, s as C, z as E, D as p, E as B, v as S, q as f, r as h, t as x, u as b, y as k, x as y } from "./index-zQlrqnEY.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Blocks,
|
|
4
4
|
t as BuilderContext,
|
|
@@ -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-BvctNQ8U.cjs"),r=()=>Promise.resolve().then(()=>require("./index-BvctNQ8U.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,a,m,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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as p } from "vue";
|
|
2
|
-
import { k as s, f as l } from "./index-
|
|
3
|
-
const i = () => import("./index-
|
|
2
|
+
import { k as s, f as l } from "./index-zQlrqnEY.js";
|
|
3
|
+
const i = () => import("./index-zQlrqnEY.js").then((o) => o.H).then((o) => o.default).catch((o) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
o
|
package/lib/node/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-1k2igrjdg3x[data-v-f091a4a7]{display:flex;flex-direction:column;align-items:stretch}.div-2brhoa1k8gd[data-v-27a4dde0]{display:flex;line-height:normal}.img-1pl23ac79ld[data-v-
|
|
1
|
+
.component-1k2igrjdg3x[data-v-f091a4a7]{display:flex;flex-direction:column;align-items:stretch}.div-2brhoa1k8gd[data-v-27a4dde0]{display:flex;line-height:normal}.img-1pl23ac79ld[data-v-0d528855]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-0d528855]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-0d528855]{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}
|