@builder.io/sdk-vue 1.0.33 → 1.0.36
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-kerUOxgY.js → block-styles-QmmLdzpW.js} +1 -1
- package/lib/browser/{block-styles-gUk9Dzsc.cjs → block-styles-pw_R2yQt.cjs} +1 -1
- package/lib/browser/{block-wrapper-LzC9qaC1.js → block-wrapper-26flngEX.js} +3 -3
- package/lib/browser/{block-wrapper-9bcXRjoR.cjs → block-wrapper-ym7Obdn5.cjs} +1 -1
- package/lib/browser/blocks/form/select/select.vue.d.ts +4 -0
- package/lib/browser/blocks/form/textarea/component-info.d.ts +2 -0
- package/lib/browser/blocks/form/textarea/textarea.vue.d.ts +37 -0
- package/lib/browser/{component-ref-owFZRdew.cjs → component-ref-EJE0BMsw.cjs} +1 -1
- package/lib/browser/{component-ref-xImJQvWl.js → component-ref-f6HeLjzo.js} +2 -2
- package/lib/browser/constants/sdk-name.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/extract-css-var-default-value.d.ts +1 -0
- package/lib/browser/{get-block-properties-yh_xBxaD.js → get-block-properties-bRGCHXAl.js} +1 -1
- package/lib/browser/{get-block-properties-eZL93-0B.cjs → get-block-properties-jhRwh2eR.cjs} +1 -1
- package/lib/browser/{index-WgX1kltZ.cjs → index-B7uwco2M.cjs} +17 -17
- package/lib/browser/{index-Qkz0NE0g.js → index-NLkfEtPh.js} +351 -285
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-WWW34QbC.cjs → repeated-block-9SersTny.cjs} +1 -1
- package/lib/browser/{repeated-block-H8xyyPjB.js → repeated-block-By1JKWmB.js} +2 -2
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-fnG6a8X5.js → block-styles-Jd0r8FSA.js} +1 -1
- package/lib/edge/{block-styles-A3nahRJN.cjs → block-styles-_fSdBubU.cjs} +1 -1
- package/lib/{node/block-wrapper-f_jOXgFb.cjs → edge/block-wrapper-A5vScnuu.cjs} +1 -1
- package/lib/edge/{block-wrapper-LdQsnZfv.js → block-wrapper-MRpzh8OH.js} +3 -3
- package/lib/edge/blocks/form/select/select.vue.d.ts +4 -0
- package/lib/edge/blocks/form/textarea/component-info.d.ts +2 -0
- package/lib/edge/blocks/form/textarea/textarea.vue.d.ts +37 -0
- package/lib/{node/component-ref-sD6hZef-.js → edge/component-ref-LJrom_Hw.js} +2 -2
- package/lib/{node/component-ref-U-cvIdGq.cjs → edge/component-ref-t-ZqciWS.cjs} +1 -1
- package/lib/edge/constants/sdk-name.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/extract-css-var-default-value.d.ts +1 -0
- package/lib/edge/{get-block-properties-mGQrxPHc.js → get-block-properties-RUv19U0D.js} +1 -1
- package/lib/edge/{get-block-properties-iZMwLeIw.cjs → get-block-properties-mYCrAhpB.cjs} +1 -1
- package/lib/edge/{index-UdOhGo7m.cjs → index-ZhWTg6tN.cjs} +29 -29
- package/lib/edge/{index-cYhIjhO_.js → index-fmKlzhOA.js} +692 -626
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-j3EbhJD1.cjs → repeated-block-fT6ciF3Y.cjs} +1 -1
- package/lib/edge/{repeated-block-NzAuZ0hs.js → repeated-block-zMex8Hyo.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/node/{block-styles-T7p84HtL.cjs → block-styles-PnZ5sEmM.cjs} +1 -1
- package/lib/node/{block-styles-S-Dwi4TP.js → block-styles-ekBqqSDD.js} +1 -1
- package/lib/node/{block-wrapper-6iynCx74.js → block-wrapper-FGDcViUJ.js} +3 -3
- package/lib/{edge/block-wrapper-HpEpqD6-.cjs → node/block-wrapper-VDAcUhC-.cjs} +1 -1
- package/lib/node/blocks/form/select/select.vue.d.ts +4 -0
- package/lib/node/blocks/form/textarea/component-info.d.ts +2 -0
- package/lib/node/blocks/form/textarea/textarea.vue.d.ts +37 -0
- package/lib/{edge/component-ref-WDeHhHcD.js → node/component-ref-Au-JxCpz.js} +2 -2
- package/lib/{edge/component-ref-WKjLqN2Y.cjs → node/component-ref-XxfgsVAO.cjs} +1 -1
- package/lib/node/constants/sdk-name.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/extract-css-var-default-value.d.ts +1 -0
- package/lib/node/{get-block-properties-9-2o1ACI.cjs → get-block-properties-H2mLG2ne.cjs} +1 -1
- package/lib/node/{get-block-properties-ZsDn1lB0.js → get-block-properties-WCuExDS0.js} +1 -1
- package/lib/node/{index-zQlrqnEY.js → index-2FruHdw_.js} +216 -140
- package/lib/node/{index-BvctNQ8U.cjs → index-waRiX7LZ.cjs} +12 -12
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-5Jpy-5o9.cjs → repeated-block-6pZDOeM_.cjs} +1 -1
- package/lib/node/{repeated-block-xt9V5Mgm.js → repeated-block-pn4OjL31.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/blocks/textarea/component-info.d.ts +0 -2
- package/lib/edge/blocks/textarea/component-info.d.ts +0 -2
- package/lib/node/blocks/textarea/component-info.d.ts +0 -2
- /package/lib/browser/blocks/{textarea → form/textarea}/index.d.ts +0 -0
- /package/lib/edge/blocks/{textarea → form/textarea}/index.d.ts +0 -0
- /package/lib/node/blocks/{textarea → form/textarea}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var $ = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var v = (e, t, n) => (
|
|
2
|
+
var E = (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) => (E(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());
|
|
@@ -14,7 +14,7 @@ function filterAttrs(e = {}, t, n) {
|
|
|
14
14
|
}
|
|
15
15
|
return o;
|
|
16
16
|
}
|
|
17
|
-
const _sfc_main$
|
|
17
|
+
const _sfc_main$t = defineComponent({
|
|
18
18
|
name: "dynamic-renderer",
|
|
19
19
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
20
20
|
data() {
|
|
@@ -26,7 +26,7 @@ const _sfc_main$s = defineComponent({
|
|
|
26
26
|
n[o] = r;
|
|
27
27
|
return n;
|
|
28
28
|
};
|
|
29
|
-
function _sfc_render$
|
|
29
|
+
function _sfc_render$r(e, t, n, o, r, s) {
|
|
30
30
|
return e.isEmptyElement(e.TagName) ? (openBlock(), createBlock(resolveDynamicComponent(e.TagName), mergeProps({ key: 1 }, e.attributes, toHandlers(e.actionAttributes)), null, 16)) : (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
31
31
|
typeof e.TagName == "string" ? (openBlock(), createBlock(resolveDynamicComponent(e.TagName), mergeProps({ key: 0 }, e.attributes, toHandlers(e.actionAttributes)), {
|
|
32
32
|
default: withCtx(() => [
|
|
@@ -41,7 +41,7 @@ function _sfc_render$q(e, t, n, o, r, s) {
|
|
|
41
41
|
}, 16))
|
|
42
42
|
], 64));
|
|
43
43
|
}
|
|
44
|
-
const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
44
|
+
const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$r]]), dynamicRenderer = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45
45
|
__proto__: null,
|
|
46
46
|
default: DynamicRenderer
|
|
47
47
|
}, Symbol.toStringTag, { value: "Module" })), TARGET = "vue", getClassPropName = () => {
|
|
@@ -57,7 +57,7 @@ const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sf
|
|
|
57
57
|
case "angular":
|
|
58
58
|
return "class";
|
|
59
59
|
}
|
|
60
|
-
}, _sfc_main$
|
|
60
|
+
}, _sfc_main$s = defineComponent({
|
|
61
61
|
name: "builder-button",
|
|
62
62
|
components: { DynamicRenderer },
|
|
63
63
|
props: [
|
|
@@ -86,7 +86,7 @@ const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sf
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
|
-
function _sfc_render$
|
|
89
|
+
function _sfc_render$q(e, t, n, o, r, s) {
|
|
90
90
|
const i = resolveComponent("DynamicRenderer");
|
|
91
91
|
return openBlock(), createBlock(i, {
|
|
92
92
|
attributes: e.attrs(),
|
|
@@ -99,7 +99,7 @@ function _sfc_render$p(e, t, n, o, r, s) {
|
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
101
101
|
}
|
|
102
|
-
const Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
102
|
+
const Button = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$q]]), key$1 = Symbol(), BuilderContext = {
|
|
103
103
|
Builder: {
|
|
104
104
|
content: null,
|
|
105
105
|
context: {},
|
|
@@ -245,7 +245,16 @@ function flattenState({
|
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
const
|
|
248
|
+
const SDK_NAME_FOR_TARGET = (() => {
|
|
249
|
+
switch (TARGET) {
|
|
250
|
+
case "rsc":
|
|
251
|
+
return "react-nextjs";
|
|
252
|
+
case "reactNative":
|
|
253
|
+
return "react-native";
|
|
254
|
+
default:
|
|
255
|
+
return TARGET;
|
|
256
|
+
}
|
|
257
|
+
})(), SDK_NAME = `@builder.io/sdk-${SDK_NAME_FOR_TARGET}`, fastClone = (e) => JSON.parse(JSON.stringify(e)), set = (e, t, n) => {
|
|
249
258
|
if (Object(e) !== e)
|
|
250
259
|
return e;
|
|
251
260
|
const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
@@ -309,22 +318,23 @@ if (typeof output === 'object' && output !== null) {
|
|
|
309
318
|
`;
|
|
310
319
|
};
|
|
311
320
|
let IVM_INSTANCE = null, IVM_CONTEXT = null;
|
|
312
|
-
const getIvm = () => {
|
|
321
|
+
const SHOULD_MENTION_INITIALIZE_SCRIPT = SDK_NAME === "@builder.io/sdk-react-nextjs" || SDK_NAME === "@builder.io/sdk-react", getIvm = () => {
|
|
313
322
|
try {
|
|
314
|
-
const
|
|
315
|
-
if (
|
|
316
|
-
return
|
|
317
|
-
} catch (
|
|
318
|
-
logger.error("isolated-vm import error.",
|
|
323
|
+
const t = safeDynamicRequire("isolated-vm");
|
|
324
|
+
if (t)
|
|
325
|
+
return t;
|
|
326
|
+
} catch (t) {
|
|
327
|
+
logger.error("isolated-vm import error.", t);
|
|
319
328
|
}
|
|
320
|
-
|
|
329
|
+
const e = `${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on a Node server.
|
|
321
330
|
|
|
322
|
-
In
|
|
323
|
-
|
|
324
|
-
|
|
331
|
+
SOLUTION: In a server-only execution path within your application, do one of the following:
|
|
332
|
+
|
|
333
|
+
${SHOULD_MENTION_INITIALIZE_SCRIPT ? '- import and call `initializeNodeRuntime()` from "${SDK_NAME}/node/init".' : ""}
|
|
334
|
+
- add the following import: \`await import('isolated-vm')\`.
|
|
325
335
|
|
|
326
|
-
|
|
327
|
-
|
|
336
|
+
For more information, visit https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments`;
|
|
337
|
+
throw new Error(e);
|
|
328
338
|
};
|
|
329
339
|
function setIsolateContext(e = {
|
|
330
340
|
memoryLimit: 128
|
|
@@ -355,14 +365,14 @@ const getIsolateContext = () => IVM_CONTEXT || setIsolateContext(), runInNode =
|
|
|
355
365
|
c.setSync(BUILDER_SET_STATE_NAME, function(m, b) {
|
|
356
366
|
set(i, m, b), s == null || s(i);
|
|
357
367
|
}), d.forEach(([m, b]) => {
|
|
358
|
-
const
|
|
368
|
+
const S = typeof b == "object" ? new l.Reference(
|
|
359
369
|
// workaround: methods with default values for arguments is not being cloned over
|
|
360
370
|
m === "builder" ? {
|
|
361
371
|
...b,
|
|
362
372
|
getUserAttributes: () => b.getUserAttributes()
|
|
363
373
|
} : b
|
|
364
374
|
) : null;
|
|
365
|
-
c.setSync(getSyncValName(m),
|
|
375
|
+
c.setSync(getSyncValName(m), S);
|
|
366
376
|
});
|
|
367
377
|
const u = processCode({
|
|
368
378
|
code: e,
|
|
@@ -708,27 +718,27 @@ const getComponent = ({
|
|
|
708
718
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
709
719
|
e
|
|
710
720
|
), e;
|
|
711
|
-
}), BlockStyles = () => import("./block-styles-
|
|
721
|
+
}), BlockStyles = () => import("./block-styles-ekBqqSDD.js").then((e) => e.default).catch((e) => {
|
|
712
722
|
throw console.error(
|
|
713
723
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
714
724
|
e
|
|
715
725
|
), e;
|
|
716
|
-
}), BlockWrapper = () => import("./block-wrapper-
|
|
726
|
+
}), BlockWrapper = () => import("./block-wrapper-FGDcViUJ.js").then((e) => e.default).catch((e) => {
|
|
717
727
|
throw console.error(
|
|
718
728
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
719
729
|
e
|
|
720
730
|
), e;
|
|
721
|
-
}), ComponentRef = () => import("./component-ref-
|
|
731
|
+
}), ComponentRef = () => import("./component-ref-Au-JxCpz.js").then((e) => e.default).catch((e) => {
|
|
722
732
|
throw console.error(
|
|
723
733
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
724
734
|
e
|
|
725
735
|
), e;
|
|
726
|
-
}), RepeatedBlock = () => import("./repeated-block-
|
|
736
|
+
}), RepeatedBlock = () => import("./repeated-block-pn4OjL31.js").then((e) => e.default).catch((e) => {
|
|
727
737
|
throw console.error(
|
|
728
738
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
729
739
|
e
|
|
730
740
|
), e;
|
|
731
|
-
}), _sfc_main$
|
|
741
|
+
}), _sfc_main$r = defineComponent({
|
|
732
742
|
name: "block",
|
|
733
743
|
components: {
|
|
734
744
|
BlockStyles: defineAsyncComponent(BlockStyles),
|
|
@@ -812,7 +822,7 @@ const getComponent = ({
|
|
|
812
822
|
}
|
|
813
823
|
}
|
|
814
824
|
});
|
|
815
|
-
function _sfc_render$
|
|
825
|
+
function _sfc_render$p(e, t, n, o, r, s) {
|
|
816
826
|
var c;
|
|
817
827
|
const i = resolveComponent("BlockStyles"), l = resolveComponent("ComponentRef"), a = resolveComponent("Block", !0), d = resolveComponent("BlockWrapper"), p = resolveComponent("RepeatedBlock");
|
|
818
828
|
return e.canShowBlock ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
@@ -869,10 +879,10 @@ function _sfc_render$o(e, t, n, o, r, s) {
|
|
|
869
879
|
], 64))
|
|
870
880
|
], 64)) : createCommentVNode("", !0);
|
|
871
881
|
}
|
|
872
|
-
const Block = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
882
|
+
const Block = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$p]]), block = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
873
883
|
__proto__: null,
|
|
874
884
|
default: Block
|
|
875
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$
|
|
885
|
+
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$q = defineComponent({
|
|
876
886
|
name: "builder-blocks-wrapper",
|
|
877
887
|
props: [
|
|
878
888
|
"blocks",
|
|
@@ -917,9 +927,9 @@ const Block = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$o
|
|
|
917
927
|
}
|
|
918
928
|
}
|
|
919
929
|
});
|
|
920
|
-
function _sfc_render$
|
|
930
|
+
function _sfc_render$o(e, t, n, o, r, s) {
|
|
921
931
|
return openBlock(), createBlock(resolveDynamicComponent(e.BlocksWrapper), mergeProps({
|
|
922
|
-
class: e.className + " component-
|
|
932
|
+
class: e.className + " component-178o76acnws",
|
|
923
933
|
"builder-path": e.path,
|
|
924
934
|
"builder-parent-id": e.parent,
|
|
925
935
|
style: e.styleProp,
|
|
@@ -933,7 +943,7 @@ function _sfc_render$n(e, t, n, o, r, s) {
|
|
|
933
943
|
_: 3
|
|
934
944
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
935
945
|
}
|
|
936
|
-
const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
946
|
+
const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$o], ["__scopeId", "data-v-a5b13ef9"]]), _sfc_main$p = defineComponent({
|
|
937
947
|
name: "builder-blocks",
|
|
938
948
|
components: { BlocksWrapper, Block },
|
|
939
949
|
props: [
|
|
@@ -950,7 +960,7 @@ const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_
|
|
|
950
960
|
componentsContext: ComponentsContext.key
|
|
951
961
|
}
|
|
952
962
|
});
|
|
953
|
-
function _sfc_render$
|
|
963
|
+
function _sfc_render$n(e, t, n, o, r, s) {
|
|
954
964
|
var a, d;
|
|
955
965
|
const i = resolveComponent("Block"), l = resolveComponent("BlocksWrapper");
|
|
956
966
|
return openBlock(), createBlock(l, {
|
|
@@ -973,19 +983,19 @@ function _sfc_render$m(e, t, n, o, r, s) {
|
|
|
973
983
|
_: 1
|
|
974
984
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
975
985
|
}
|
|
976
|
-
const Blocks = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
986
|
+
const Blocks = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$n]]), _sfc_main$o = defineComponent({
|
|
977
987
|
name: "dynamic-div",
|
|
978
988
|
props: []
|
|
979
989
|
});
|
|
980
|
-
function _sfc_render$
|
|
990
|
+
function _sfc_render$m(e, t, n, o, r, s) {
|
|
981
991
|
return openBlock(), createElementBlock("div", null, [
|
|
982
992
|
renderSlot(e.$slots, "default")
|
|
983
993
|
]);
|
|
984
994
|
}
|
|
985
|
-
const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
995
|
+
const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$m]]), dynamicDiv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
986
996
|
__proto__: null,
|
|
987
997
|
default: DynamicDiv
|
|
988
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$
|
|
998
|
+
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$n = defineComponent({
|
|
989
999
|
render() {
|
|
990
1000
|
return h("style", {
|
|
991
1001
|
innerHTML: this.styles,
|
|
@@ -1036,10 +1046,10 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_ren
|
|
|
1036
1046
|
min: s,
|
|
1037
1047
|
default: s + 1
|
|
1038
1048
|
}, n;
|
|
1039
|
-
}, getColumnsClass = (e) => `builder-columns ${e}-breakpoints`, _sfc_main$
|
|
1049
|
+
}, getColumnsClass = (e) => `builder-columns ${e}-breakpoints`, _sfc_main$m = defineComponent({
|
|
1040
1050
|
name: "builder-columns",
|
|
1041
1051
|
components: {
|
|
1042
|
-
InlinedStyles: _sfc_main$
|
|
1052
|
+
InlinedStyles: _sfc_main$n,
|
|
1043
1053
|
DynamicRenderer,
|
|
1044
1054
|
Blocks,
|
|
1045
1055
|
DynamicDiv
|
|
@@ -1169,7 +1179,7 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_ren
|
|
|
1169
1179
|
}
|
|
1170
1180
|
}
|
|
1171
1181
|
});
|
|
1172
|
-
function _sfc_render$
|
|
1182
|
+
function _sfc_render$l(e, t, n, o, r, s) {
|
|
1173
1183
|
var d;
|
|
1174
1184
|
const i = resolveComponent("InlinedStyles"), l = resolveComponent("Blocks"), a = resolveComponent("DynamicRenderer");
|
|
1175
1185
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
@@ -1204,16 +1214,16 @@ function _sfc_render$k(e, t, n, o, r, s) {
|
|
|
1204
1214
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1205
1215
|
], 16);
|
|
1206
1216
|
}
|
|
1207
|
-
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1217
|
+
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$l], ["__scopeId", "data-v-27a4dde0"]]), _sfc_main$l = defineComponent({
|
|
1208
1218
|
name: "builder-fragment-component",
|
|
1209
1219
|
props: []
|
|
1210
1220
|
});
|
|
1211
|
-
function _sfc_render$
|
|
1221
|
+
function _sfc_render$k(e, t, n, o, r, s) {
|
|
1212
1222
|
return openBlock(), createElementBlock("span", null, [
|
|
1213
1223
|
renderSlot(e.$slots, "default")
|
|
1214
1224
|
]);
|
|
1215
1225
|
}
|
|
1216
|
-
const Fragment = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1226
|
+
const Fragment = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$k]]);
|
|
1217
1227
|
function removeProtocol(e) {
|
|
1218
1228
|
return e.replace(/http(s)?:/, "");
|
|
1219
1229
|
}
|
|
@@ -1244,7 +1254,7 @@ function getSrcSet(e) {
|
|
|
1244
1254
|
}
|
|
1245
1255
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [getShopifyImageUrl(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
1246
1256
|
}
|
|
1247
|
-
const _sfc_main$
|
|
1257
|
+
const _sfc_main$k = defineComponent({
|
|
1248
1258
|
name: "builder-image",
|
|
1249
1259
|
props: [
|
|
1250
1260
|
"image",
|
|
@@ -1291,11 +1301,11 @@ const _sfc_main$j = defineComponent({
|
|
|
1291
1301
|
return this.aspectRatio ? e : void 0;
|
|
1292
1302
|
}
|
|
1293
1303
|
}
|
|
1294
|
-
}), _hoisted_1$
|
|
1304
|
+
}), _hoisted_1$b = ["srcset"], _hoisted_2$4 = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], _hoisted_3$1 = {
|
|
1295
1305
|
key: 2,
|
|
1296
1306
|
class: "div-1pl23ac79ld-2"
|
|
1297
1307
|
};
|
|
1298
|
-
function _sfc_render$
|
|
1308
|
+
function _sfc_render$j(e, t, n, o, r, s) {
|
|
1299
1309
|
var i, l, a, d, p, c;
|
|
1300
1310
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
1301
1311
|
createElementVNode("picture", null, [
|
|
@@ -1303,7 +1313,7 @@ function _sfc_render$i(e, t, n, o, r, s) {
|
|
|
1303
1313
|
key: 0,
|
|
1304
1314
|
type: "image/webp",
|
|
1305
1315
|
srcset: e.webpSrcSet
|
|
1306
|
-
}, null, 8, _hoisted_1$
|
|
1316
|
+
}, null, 8, _hoisted_1$b)) : createCommentVNode("", !0),
|
|
1307
1317
|
createElementVNode("img", {
|
|
1308
1318
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1309
1319
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -1335,14 +1345,14 @@ function _sfc_render$i(e, t, n, o, r, s) {
|
|
|
1335
1345
|
])) : createCommentVNode("", !0)
|
|
1336
1346
|
], 64);
|
|
1337
1347
|
}
|
|
1338
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1348
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-0d528855"]]), _sfc_main$j = defineComponent({
|
|
1339
1349
|
name: "builder-section-component",
|
|
1340
1350
|
props: ["attributes", "maxWidth"],
|
|
1341
1351
|
data() {
|
|
1342
1352
|
return { filterAttrs };
|
|
1343
1353
|
}
|
|
1344
1354
|
});
|
|
1345
|
-
function _sfc_render$
|
|
1355
|
+
function _sfc_render$i(e, t, n, o, r, s) {
|
|
1346
1356
|
return openBlock(), createElementBlock("section", mergeProps({
|
|
1347
1357
|
style: {
|
|
1348
1358
|
width: "100%",
|
|
@@ -1360,7 +1370,7 @@ function _sfc_render$h(e, t, n, o, r, s) {
|
|
|
1360
1370
|
renderSlot(e.$slots, "default")
|
|
1361
1371
|
], 16);
|
|
1362
1372
|
}
|
|
1363
|
-
const Section = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1373
|
+
const Section = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i]]), getTopLevelDomain = (e) => {
|
|
1364
1374
|
if (e === "localhost" || e === "127.0.0.1")
|
|
1365
1375
|
return e;
|
|
1366
1376
|
const t = e.split(".");
|
|
@@ -1555,7 +1565,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render
|
|
|
1555
1565
|
}
|
|
1556
1566
|
}
|
|
1557
1567
|
}]
|
|
1558
|
-
}, componentInfo$
|
|
1568
|
+
}, componentInfo$i = {
|
|
1559
1569
|
name: "Builder:Accordion",
|
|
1560
1570
|
canHaveChildren: !0,
|
|
1561
1571
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -1613,7 +1623,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render
|
|
|
1613
1623
|
e.get("useChildrenForItems") === !0 && e.set("items", []);
|
|
1614
1624
|
}
|
|
1615
1625
|
}]
|
|
1616
|
-
}, convertOrderNumberToString = (e) => e.toString(), _sfc_main$
|
|
1626
|
+
}, convertOrderNumberToString = (e) => e.toString(), _sfc_main$i = defineComponent({
|
|
1617
1627
|
name: "builder-accordion",
|
|
1618
1628
|
components: { Blocks },
|
|
1619
1629
|
props: [
|
|
@@ -1708,8 +1718,8 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render
|
|
|
1708
1718
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
1709
1719
|
}
|
|
1710
1720
|
}
|
|
1711
|
-
}), _hoisted_1$
|
|
1712
|
-
function _sfc_render$
|
|
1721
|
+
}), _hoisted_1$a = ["data-index", "onClick"];
|
|
1722
|
+
function _sfc_render$h(e, t, n, o, r, s) {
|
|
1713
1723
|
const i = resolveComponent("Blocks");
|
|
1714
1724
|
return openBlock(), createElementBlock("div", {
|
|
1715
1725
|
class: "builder-accordion",
|
|
@@ -1734,7 +1744,7 @@ function _sfc_render$g(e, t, n, o, r, s) {
|
|
|
1734
1744
|
registeredComponents: e.builderComponents,
|
|
1735
1745
|
linkComponent: e.builderLinkComponent
|
|
1736
1746
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
1737
|
-
], 14, _hoisted_1$
|
|
1747
|
+
], 14, _hoisted_1$a),
|
|
1738
1748
|
e.open.includes(a) ? (openBlock(), createElementBlock("div", {
|
|
1739
1749
|
key: 0,
|
|
1740
1750
|
class: normalizeClass(e.getAccordionDetailClassName(a)),
|
|
@@ -1752,7 +1762,7 @@ function _sfc_render$g(e, t, n, o, r, s) {
|
|
|
1752
1762
|
], 64))), 128))
|
|
1753
1763
|
], 4);
|
|
1754
1764
|
}
|
|
1755
|
-
const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1765
|
+
const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h]]), componentInfo$h = {
|
|
1756
1766
|
name: "Core:Button",
|
|
1757
1767
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1758
1768
|
defaultStyles: {
|
|
@@ -1785,7 +1795,7 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
1785
1795
|
}],
|
|
1786
1796
|
static: !0,
|
|
1787
1797
|
noWrap: !0
|
|
1788
|
-
}, componentInfo$
|
|
1798
|
+
}, componentInfo$g = {
|
|
1789
1799
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
1790
1800
|
name: "Columns",
|
|
1791
1801
|
isRSC: !0,
|
|
@@ -1986,13 +1996,13 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
1986
1996
|
helperText: "When stacking columns for mobile devices, reverse the ordering",
|
|
1987
1997
|
advanced: !0
|
|
1988
1998
|
}]
|
|
1989
|
-
}, componentInfo$
|
|
1999
|
+
}, componentInfo$f = {
|
|
1990
2000
|
name: "Fragment",
|
|
1991
2001
|
static: !0,
|
|
1992
2002
|
hidden: !0,
|
|
1993
2003
|
canHaveChildren: !0,
|
|
1994
2004
|
noWrap: !0
|
|
1995
|
-
}, componentInfo$
|
|
2005
|
+
}, componentInfo$e = {
|
|
1996
2006
|
name: "Image",
|
|
1997
2007
|
static: !0,
|
|
1998
2008
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -2007,7 +2017,7 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
2007
2017
|
name: "image",
|
|
2008
2018
|
type: "file",
|
|
2009
2019
|
bubble: !0,
|
|
2010
|
-
allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
|
|
2020
|
+
allowedFileTypes: ["jpeg", "jpg", "png", "svg", "webp"],
|
|
2011
2021
|
required: !0,
|
|
2012
2022
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
2013
2023
|
onChange: (e) => {
|
|
@@ -2097,7 +2107,7 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
2097
2107
|
advanced: !0,
|
|
2098
2108
|
defaultValue: 0.7041
|
|
2099
2109
|
}]
|
|
2100
|
-
}, componentInfo$
|
|
2110
|
+
}, componentInfo$d = {
|
|
2101
2111
|
name: "Core:Section",
|
|
2102
2112
|
static: !0,
|
|
2103
2113
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2136,7 +2146,7 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
2136
2146
|
}
|
|
2137
2147
|
}
|
|
2138
2148
|
}]
|
|
2139
|
-
}, componentInfo$
|
|
2149
|
+
}, componentInfo$c = {
|
|
2140
2150
|
name: "Slot",
|
|
2141
2151
|
isRSC: !0,
|
|
2142
2152
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -2149,12 +2159,12 @@ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rend
|
|
|
2149
2159
|
required: !0,
|
|
2150
2160
|
defaultValue: "children"
|
|
2151
2161
|
}]
|
|
2152
|
-
}, _sfc_main$
|
|
2162
|
+
}, _sfc_main$h = defineComponent({
|
|
2153
2163
|
name: "builder-slot",
|
|
2154
2164
|
components: { Blocks },
|
|
2155
2165
|
props: ["builderContext", "name"]
|
|
2156
2166
|
});
|
|
2157
|
-
function _sfc_render$
|
|
2167
|
+
function _sfc_render$g(e, t, n, o, r, s) {
|
|
2158
2168
|
var l, a, d;
|
|
2159
2169
|
const i = resolveComponent("Blocks");
|
|
2160
2170
|
return openBlock(), createElementBlock("div", mergeProps(
|
|
@@ -2173,7 +2183,7 @@ function _sfc_render$f(e, t, n, o, r, s) {
|
|
|
2173
2183
|
}, null, 8, ["parent", "path", "context", "blocks"])
|
|
2174
2184
|
], 16);
|
|
2175
2185
|
}
|
|
2176
|
-
const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2186
|
+
const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g]]), componentInfo$b = {
|
|
2177
2187
|
name: "Symbol",
|
|
2178
2188
|
noWrap: !0,
|
|
2179
2189
|
static: !0,
|
|
@@ -2244,7 +2254,7 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
|
|
|
2244
2254
|
text: "New tab content "
|
|
2245
2255
|
}
|
|
2246
2256
|
}
|
|
2247
|
-
}, componentInfo$
|
|
2257
|
+
}, componentInfo$a = {
|
|
2248
2258
|
name: "Builder: Tabs",
|
|
2249
2259
|
inputs: [{
|
|
2250
2260
|
name: "tabs",
|
|
@@ -2341,7 +2351,7 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
|
|
|
2341
2351
|
value: "flex-end"
|
|
2342
2352
|
}]
|
|
2343
2353
|
}]
|
|
2344
|
-
}, _sfc_main$
|
|
2354
|
+
}, _sfc_main$g = defineComponent({
|
|
2345
2355
|
name: "builder-tabs",
|
|
2346
2356
|
components: { Blocks },
|
|
2347
2357
|
props: [
|
|
@@ -2366,8 +2376,8 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
|
|
|
2366
2376
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
2367
2377
|
}
|
|
2368
2378
|
}
|
|
2369
|
-
}), _hoisted_1$
|
|
2370
|
-
function _sfc_render$
|
|
2379
|
+
}), _hoisted_1$9 = ["onClick"], _hoisted_2$3 = { key: 0 };
|
|
2380
|
+
function _sfc_render$f(e, t, n, o, r, s) {
|
|
2371
2381
|
const i = resolveComponent("Blocks");
|
|
2372
2382
|
return openBlock(), createElementBlock("div", null, [
|
|
2373
2383
|
createElementVNode("div", {
|
|
@@ -2395,7 +2405,7 @@ function _sfc_render$e(e, t, n, o, r, s) {
|
|
|
2395
2405
|
registeredComponents: e.builderComponents,
|
|
2396
2406
|
linkComponent: e.builderLinkComponent
|
|
2397
2407
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
2398
|
-
], 14, _hoisted_1$
|
|
2408
|
+
], 14, _hoisted_1$9))), 128))
|
|
2399
2409
|
], 4),
|
|
2400
2410
|
e.activeTabContent(e.activeTab) ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
2401
2411
|
createVNode(i, {
|
|
@@ -2409,7 +2419,7 @@ function _sfc_render$e(e, t, n, o, r, s) {
|
|
|
2409
2419
|
])) : createCommentVNode("", !0)
|
|
2410
2420
|
]);
|
|
2411
2421
|
}
|
|
2412
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2422
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]]), componentInfo$9 = {
|
|
2413
2423
|
name: "Text",
|
|
2414
2424
|
static: !0,
|
|
2415
2425
|
isRSC: !0,
|
|
@@ -2427,11 +2437,11 @@ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e]
|
|
|
2427
2437
|
height: "auto",
|
|
2428
2438
|
textAlign: "center"
|
|
2429
2439
|
}
|
|
2430
|
-
}, _sfc_main$
|
|
2440
|
+
}, _sfc_main$f = defineComponent({
|
|
2431
2441
|
name: "builder-text",
|
|
2432
2442
|
props: ["text"]
|
|
2433
|
-
}), _hoisted_1$
|
|
2434
|
-
function _sfc_render$
|
|
2443
|
+
}), _hoisted_1$8 = ["innerHTML"];
|
|
2444
|
+
function _sfc_render$e(e, t, n, o, r, s) {
|
|
2435
2445
|
var i;
|
|
2436
2446
|
return openBlock(), createElementBlock("div", {
|
|
2437
2447
|
class: "builder-text",
|
|
@@ -2439,9 +2449,9 @@ function _sfc_render$d(e, t, n, o, r, s) {
|
|
|
2439
2449
|
style: {
|
|
2440
2450
|
outline: "none"
|
|
2441
2451
|
}
|
|
2442
|
-
}, null, 8, _hoisted_1$
|
|
2452
|
+
}, null, 8, _hoisted_1$8);
|
|
2443
2453
|
}
|
|
2444
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2454
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e]]), componentInfo$8 = {
|
|
2445
2455
|
name: "Custom Code",
|
|
2446
2456
|
static: !0,
|
|
2447
2457
|
requiredPermissions: ["editCode"],
|
|
@@ -2463,7 +2473,7 @@ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d]
|
|
|
2463
2473
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
2464
2474
|
advanced: !0
|
|
2465
2475
|
}]
|
|
2466
|
-
}, _sfc_main$
|
|
2476
|
+
}, _sfc_main$e = defineComponent({
|
|
2467
2477
|
name: "builder-custom-code",
|
|
2468
2478
|
props: ["replaceNodes", "code"],
|
|
2469
2479
|
data() {
|
|
@@ -2497,15 +2507,15 @@ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d]
|
|
|
2497
2507
|
}
|
|
2498
2508
|
}
|
|
2499
2509
|
}
|
|
2500
|
-
}), _hoisted_1$
|
|
2501
|
-
function _sfc_render$
|
|
2510
|
+
}), _hoisted_1$7 = ["innerHTML"];
|
|
2511
|
+
function _sfc_render$d(e, t, n, o, r, s) {
|
|
2502
2512
|
return openBlock(), createElementBlock("div", {
|
|
2503
2513
|
ref: "elementRef",
|
|
2504
2514
|
class: normalizeClass("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
2505
2515
|
innerHTML: e.code
|
|
2506
|
-
}, null, 10, _hoisted_1$
|
|
2516
|
+
}, null, 10, _hoisted_1$7);
|
|
2507
2517
|
}
|
|
2508
|
-
const customCode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2518
|
+
const customCode = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d]]), componentInfo$7 = {
|
|
2509
2519
|
name: "Embed",
|
|
2510
2520
|
static: !0,
|
|
2511
2521
|
inputs: [{
|
|
@@ -2516,13 +2526,16 @@ const customCode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_ren
|
|
|
2516
2526
|
helperText: "e.g. enter a youtube url, google map, etc",
|
|
2517
2527
|
onChange: (e) => {
|
|
2518
2528
|
const t = e.get("url");
|
|
2519
|
-
if (t)
|
|
2520
|
-
|
|
2529
|
+
if (t) {
|
|
2530
|
+
e.set("content", "Loading...");
|
|
2531
|
+
const n = _iframelyApiKey;
|
|
2532
|
+
return fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=${n}`).then((o) => o.json()).then((o) => {
|
|
2521
2533
|
e.get("url") === t && (o.html ? e.set("content", o.html) : e.set("content", "Invalid url, please try another"));
|
|
2522
2534
|
}).catch((o) => {
|
|
2523
2535
|
e.set("content", "There was an error embedding this URL, please try again or another URL");
|
|
2524
2536
|
});
|
|
2525
|
-
|
|
2537
|
+
} else
|
|
2538
|
+
e.delete("content");
|
|
2526
2539
|
}
|
|
2527
2540
|
}, {
|
|
2528
2541
|
name: "content",
|
|
@@ -2530,7 +2543,7 @@ const customCode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_ren
|
|
|
2530
2543
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
2531
2544
|
hideFromUI: !0
|
|
2532
2545
|
}]
|
|
2533
|
-
}, SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"], isJsScript = (e) => SCRIPT_MIME_TYPES.includes(e.type), _sfc_main$
|
|
2546
|
+
}, SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"], isJsScript = (e) => SCRIPT_MIME_TYPES.includes(e.type), _sfc_main$d = defineComponent({
|
|
2534
2547
|
name: "builder-embed",
|
|
2535
2548
|
props: ["content"],
|
|
2536
2549
|
data() {
|
|
@@ -2572,15 +2585,15 @@ const customCode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_ren
|
|
|
2572
2585
|
}
|
|
2573
2586
|
}
|
|
2574
2587
|
}
|
|
2575
|
-
}), _hoisted_1$
|
|
2576
|
-
function _sfc_render$
|
|
2588
|
+
}), _hoisted_1$6 = ["innerHTML"];
|
|
2589
|
+
function _sfc_render$c(e, t, n, o, r, s) {
|
|
2577
2590
|
return openBlock(), createElementBlock("div", {
|
|
2578
2591
|
class: "builder-embed",
|
|
2579
2592
|
ref: "elem",
|
|
2580
2593
|
innerHTML: e.content
|
|
2581
|
-
}, null, 8, _hoisted_1$
|
|
2594
|
+
}, null, 8, _hoisted_1$6);
|
|
2582
2595
|
}
|
|
2583
|
-
const embed = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2596
|
+
const embed = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$c]]), componentInfo$6 = {
|
|
2584
2597
|
name: "Form:Form",
|
|
2585
2598
|
// editableTags: ['builder-form-error']
|
|
2586
2599
|
defaults: {
|
|
@@ -2817,7 +2830,7 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
|
|
|
2817
2830
|
}, get = (e, t, n) => {
|
|
2818
2831
|
const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, s) => r != null ? r[s] : r, e);
|
|
2819
2832
|
return o === void 0 || o === e ? n : o;
|
|
2820
|
-
}, _sfc_main$
|
|
2833
|
+
}, _sfc_main$c = defineComponent({
|
|
2821
2834
|
name: "builder-form-component",
|
|
2822
2835
|
components: { Block, Blocks },
|
|
2823
2836
|
props: [
|
|
@@ -2976,11 +2989,11 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
|
|
|
2976
2989
|
}
|
|
2977
2990
|
}
|
|
2978
2991
|
}
|
|
2979
|
-
}), _hoisted_1$
|
|
2992
|
+
}), _hoisted_1$5 = ["validate", "action", "method", "name"], _hoisted_2$2 = {
|
|
2980
2993
|
key: 3,
|
|
2981
|
-
class: "builder-form-error-text pre-
|
|
2994
|
+
class: "builder-form-error-text pre-3i4ezorcfhi"
|
|
2982
2995
|
};
|
|
2983
|
-
function _sfc_render$
|
|
2996
|
+
function _sfc_render$b(e, t, n, o, r, s) {
|
|
2984
2997
|
var a;
|
|
2985
2998
|
const i = resolveComponent("Block"), l = resolveComponent("Blocks");
|
|
2986
2999
|
return openBlock(), createElementBlock("form", mergeProps({
|
|
@@ -3017,9 +3030,9 @@ function _sfc_render$a(e, t, n, o, r, s) {
|
|
|
3017
3030
|
blocks: e.successMessage,
|
|
3018
3031
|
context: e.builderContext
|
|
3019
3032
|
}, null, 8, ["blocks", "context"])) : createCommentVNode("", !0)
|
|
3020
|
-
], 16, _hoisted_1$
|
|
3033
|
+
], 16, _hoisted_1$5);
|
|
3021
3034
|
}
|
|
3022
|
-
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3035
|
+
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b], ["__scopeId", "data-v-489330f7"]]), componentInfo$5 = {
|
|
3023
3036
|
name: "Form:Input",
|
|
3024
3037
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3025
3038
|
inputs: [
|
|
@@ -3070,7 +3083,7 @@ const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a]
|
|
|
3070
3083
|
borderStyle: "solid",
|
|
3071
3084
|
borderColor: "#ccc"
|
|
3072
3085
|
}
|
|
3073
|
-
}, _sfc_main$
|
|
3086
|
+
}, _sfc_main$b = defineComponent({
|
|
3074
3087
|
name: "builder-form-input-component",
|
|
3075
3088
|
props: [
|
|
3076
3089
|
"attributes",
|
|
@@ -3084,8 +3097,8 @@ const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a]
|
|
|
3084
3097
|
data() {
|
|
3085
3098
|
return { isEditing, filterAttrs };
|
|
3086
3099
|
}
|
|
3087
|
-
}), _hoisted_1$
|
|
3088
|
-
function _sfc_render$
|
|
3100
|
+
}), _hoisted_1$4 = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
3101
|
+
function _sfc_render$a(e, t, n, o, r, s) {
|
|
3089
3102
|
return openBlock(), createElementBlock("input", mergeProps({
|
|
3090
3103
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
3091
3104
|
placeholder: e.placeholder,
|
|
@@ -3094,9 +3107,9 @@ function _sfc_render$9(e, t, n, o, r, s) {
|
|
|
3094
3107
|
value: e.value,
|
|
3095
3108
|
defaultValue: e.defaultValue,
|
|
3096
3109
|
required: e.required
|
|
3097
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, _hoisted_1$
|
|
3110
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, _hoisted_1$4);
|
|
3098
3111
|
}
|
|
3099
|
-
const FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3112
|
+
const FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a]]), componentInfo$4 = {
|
|
3100
3113
|
name: "Form:Select",
|
|
3101
3114
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
3102
3115
|
defaultStyles: {
|
|
@@ -3138,27 +3151,28 @@ const FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_rend
|
|
|
3138
3151
|
}],
|
|
3139
3152
|
static: !0,
|
|
3140
3153
|
noWrap: !0
|
|
3141
|
-
}, _sfc_main$
|
|
3154
|
+
}, _sfc_main$a = defineComponent({
|
|
3142
3155
|
name: "builder-select-component",
|
|
3143
|
-
props: ["attributes", "value", "defaultValue", "name", "options"],
|
|
3156
|
+
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
3144
3157
|
data() {
|
|
3145
3158
|
return { isEditing, filterAttrs };
|
|
3146
3159
|
}
|
|
3147
|
-
}), _hoisted_1$
|
|
3148
|
-
function _sfc_render$
|
|
3160
|
+
}), _hoisted_1$3 = ["value", "defaultValue", "name", "required"], _hoisted_2$1 = ["value"];
|
|
3161
|
+
function _sfc_render$9(e, t, n, o, r, s) {
|
|
3149
3162
|
return openBlock(), createElementBlock("select", mergeProps({
|
|
3150
3163
|
value: e.value,
|
|
3151
3164
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
3152
3165
|
defaultValue: e.defaultValue,
|
|
3153
|
-
name: e.name
|
|
3166
|
+
name: e.name,
|
|
3167
|
+
required: e.required
|
|
3154
3168
|
}, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
3155
3169
|
(openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.options, (i, l) => (openBlock(), createElementBlock("option", {
|
|
3156
3170
|
key: `${i.name}-${l}`,
|
|
3157
3171
|
value: i.value
|
|
3158
3172
|
}, toDisplayString(i.name || i.value), 9, _hoisted_2$1))), 128))
|
|
3159
|
-
], 16, _hoisted_1$
|
|
3173
|
+
], 16, _hoisted_1$3);
|
|
3160
3174
|
}
|
|
3161
|
-
const FormSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3175
|
+
const FormSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$9]]), componentInfo$3 = {
|
|
3162
3176
|
name: "Form:SubmitButton",
|
|
3163
3177
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
3164
3178
|
defaultStyles: {
|
|
@@ -3183,17 +3197,76 @@ const FormSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_ren
|
|
|
3183
3197
|
// that only shows if advanced setting is flipped
|
|
3184
3198
|
// TODO: defaultChildren
|
|
3185
3199
|
// canHaveChildren: true,
|
|
3186
|
-
}, _sfc_main$
|
|
3200
|
+
}, _sfc_main$9 = defineComponent({
|
|
3187
3201
|
name: "builder-submit-button",
|
|
3188
3202
|
props: ["attributes", "text"],
|
|
3189
3203
|
data() {
|
|
3190
3204
|
return { filterAttrs };
|
|
3191
3205
|
}
|
|
3192
3206
|
});
|
|
3193
|
-
function _sfc_render$
|
|
3207
|
+
function _sfc_render$8(e, t, n, o, r, s) {
|
|
3194
3208
|
return openBlock(), createElementBlock("button", mergeProps({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), toDisplayString(e.text), 17);
|
|
3195
3209
|
}
|
|
3196
|
-
const FormSubmitButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3210
|
+
const FormSubmitButton = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$8]]), componentInfo$2 = {
|
|
3211
|
+
name: "Form:TextArea",
|
|
3212
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
3213
|
+
inputs: [{
|
|
3214
|
+
advanced: !0,
|
|
3215
|
+
name: "value",
|
|
3216
|
+
type: "string"
|
|
3217
|
+
}, {
|
|
3218
|
+
name: "name",
|
|
3219
|
+
type: "string",
|
|
3220
|
+
required: !0,
|
|
3221
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
3222
|
+
}, {
|
|
3223
|
+
name: "defaultValue",
|
|
3224
|
+
type: "string"
|
|
3225
|
+
}, {
|
|
3226
|
+
name: "placeholder",
|
|
3227
|
+
type: "string",
|
|
3228
|
+
defaultValue: "Hello there"
|
|
3229
|
+
}, {
|
|
3230
|
+
name: "required",
|
|
3231
|
+
type: "boolean",
|
|
3232
|
+
defaultValue: !1
|
|
3233
|
+
}],
|
|
3234
|
+
defaultStyles: {
|
|
3235
|
+
paddingTop: "10px",
|
|
3236
|
+
paddingBottom: "10px",
|
|
3237
|
+
paddingLeft: "10px",
|
|
3238
|
+
paddingRight: "10px",
|
|
3239
|
+
borderRadius: "3px",
|
|
3240
|
+
borderWidth: "1px",
|
|
3241
|
+
borderStyle: "solid",
|
|
3242
|
+
borderColor: "#ccc"
|
|
3243
|
+
},
|
|
3244
|
+
static: !0,
|
|
3245
|
+
noWrap: !0
|
|
3246
|
+
}, _sfc_main$8 = defineComponent({
|
|
3247
|
+
name: "builder-textarea",
|
|
3248
|
+
props: [
|
|
3249
|
+
"attributes",
|
|
3250
|
+
"placeholder",
|
|
3251
|
+
"name",
|
|
3252
|
+
"value",
|
|
3253
|
+
"defaultValue",
|
|
3254
|
+
"required"
|
|
3255
|
+
],
|
|
3256
|
+
data() {
|
|
3257
|
+
return { filterAttrs };
|
|
3258
|
+
}
|
|
3259
|
+
}), _hoisted_1$2 = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
3260
|
+
function _sfc_render$7(e, t, n, o, r, s) {
|
|
3261
|
+
return openBlock(), createElementBlock("textarea", mergeProps({
|
|
3262
|
+
placeholder: e.placeholder,
|
|
3263
|
+
name: e.name,
|
|
3264
|
+
value: e.value,
|
|
3265
|
+
defaultValue: e.defaultValue,
|
|
3266
|
+
required: e.required
|
|
3267
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, _hoisted_1$2);
|
|
3268
|
+
}
|
|
3269
|
+
const Textarea = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$7]]), componentInfo$1 = {
|
|
3197
3270
|
// friendlyName?
|
|
3198
3271
|
name: "Raw:Img",
|
|
3199
3272
|
hideFromInsertMenu: !0,
|
|
@@ -3429,22 +3502,25 @@ function _sfc_render$5(e, t, n, o, r, s) {
|
|
|
3429
3502
|
}
|
|
3430
3503
|
const Video = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5]]), getExtraComponents = () => [{
|
|
3431
3504
|
component: customCode,
|
|
3432
|
-
...componentInfo$
|
|
3505
|
+
...componentInfo$8
|
|
3433
3506
|
}, {
|
|
3434
3507
|
component: embed,
|
|
3435
|
-
...componentInfo$
|
|
3508
|
+
...componentInfo$7
|
|
3436
3509
|
}, {
|
|
3437
3510
|
component: Form,
|
|
3438
|
-
...componentInfo$
|
|
3511
|
+
...componentInfo$6
|
|
3439
3512
|
}, {
|
|
3440
3513
|
component: FormInput,
|
|
3441
|
-
...componentInfo$
|
|
3514
|
+
...componentInfo$5
|
|
3442
3515
|
}, {
|
|
3443
3516
|
component: FormSubmitButton,
|
|
3444
|
-
...componentInfo$
|
|
3517
|
+
...componentInfo$3
|
|
3445
3518
|
}, {
|
|
3446
3519
|
component: FormSelect,
|
|
3447
|
-
...componentInfo$
|
|
3520
|
+
...componentInfo$4
|
|
3521
|
+
}, {
|
|
3522
|
+
component: Textarea,
|
|
3523
|
+
...componentInfo$2
|
|
3448
3524
|
}, {
|
|
3449
3525
|
component: Img,
|
|
3450
3526
|
...componentInfo$1
|
|
@@ -3453,34 +3529,34 @@ const Video = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5
|
|
|
3453
3529
|
...componentInfo
|
|
3454
3530
|
}], getDefaultRegisteredComponents = () => [{
|
|
3455
3531
|
component: Button,
|
|
3456
|
-
...componentInfo$
|
|
3532
|
+
...componentInfo$h
|
|
3457
3533
|
}, {
|
|
3458
3534
|
component: Columns,
|
|
3459
|
-
...componentInfo$
|
|
3535
|
+
...componentInfo$g
|
|
3460
3536
|
}, {
|
|
3461
3537
|
component: Fragment,
|
|
3462
|
-
...componentInfo$
|
|
3538
|
+
...componentInfo$f
|
|
3463
3539
|
}, {
|
|
3464
3540
|
component: Image,
|
|
3465
|
-
...componentInfo$
|
|
3541
|
+
...componentInfo$e
|
|
3466
3542
|
}, {
|
|
3467
3543
|
component: Section,
|
|
3468
|
-
...componentInfo$
|
|
3544
|
+
...componentInfo$d
|
|
3469
3545
|
}, {
|
|
3470
3546
|
component: Slot,
|
|
3471
|
-
...componentInfo$
|
|
3547
|
+
...componentInfo$c
|
|
3472
3548
|
}, {
|
|
3473
3549
|
component: Symbol$1,
|
|
3474
|
-
...componentInfo$
|
|
3550
|
+
...componentInfo$b
|
|
3475
3551
|
}, {
|
|
3476
3552
|
component: Text,
|
|
3477
|
-
...componentInfo$
|
|
3553
|
+
...componentInfo$9
|
|
3478
3554
|
}, {
|
|
3479
3555
|
component: Tabs,
|
|
3480
|
-
...componentInfo$
|
|
3556
|
+
...componentInfo$a
|
|
3481
3557
|
}, {
|
|
3482
3558
|
component: Accordion,
|
|
3483
|
-
...componentInfo$
|
|
3559
|
+
...componentInfo$i
|
|
3484
3560
|
}, ...getExtraComponents()], createRegisterComponentMessage = (e) => ({
|
|
3485
3561
|
type: "builder.registerComponent",
|
|
3486
3562
|
data: serializeComponentInfo(e)
|
|
@@ -3681,13 +3757,13 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
|
|
|
3681
3757
|
throw new Error("Missing API key");
|
|
3682
3758
|
if (!["v3"].includes(a))
|
|
3683
3759
|
throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
|
|
3684
|
-
const
|
|
3685
|
-
if (g.searchParams.set("apiKey", s), g.searchParams.set("limit", String(t)), g.searchParams.set("noTraverse", String(
|
|
3760
|
+
const S = t !== 1, g = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
|
|
3761
|
+
if (g.searchParams.set("apiKey", s), g.searchParams.set("limit", String(t)), g.searchParams.set("noTraverse", String(S)), g.searchParams.set("includeRefs", String(!0)), l && g.searchParams.set("locale", l), i && g.searchParams.set("enrich", String(i)), g.searchParams.set("omit", p || "meta.componentsUsed"), d && g.searchParams.set("fields", d), Number.isFinite(c) && c > -1 && g.searchParams.set("offset", String(Math.floor(c))), typeof b == "boolean" && g.searchParams.set("includeUnpublished", String(b)), u && isPositiveNumber(u) && g.searchParams.set("cacheSeconds", String(u)), f && isPositiveNumber(f) && g.searchParams.set("staleCacheSeconds", String(f)), m) {
|
|
3686
3762
|
const k = flatten({
|
|
3687
3763
|
sort: m
|
|
3688
3764
|
});
|
|
3689
|
-
for (const
|
|
3690
|
-
g.searchParams.set(
|
|
3765
|
+
for (const C in k)
|
|
3766
|
+
g.searchParams.set(C, JSON.stringify(k[C]));
|
|
3691
3767
|
}
|
|
3692
3768
|
const I = {
|
|
3693
3769
|
...getBuilderSearchParamsFromWindow(),
|
|
@@ -3699,8 +3775,8 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
|
|
|
3699
3775
|
const k = flattenMongoQuery({
|
|
3700
3776
|
query: o
|
|
3701
3777
|
});
|
|
3702
|
-
for (const
|
|
3703
|
-
g.searchParams.set(
|
|
3778
|
+
for (const C in k)
|
|
3779
|
+
g.searchParams.set(C, JSON.stringify(k[C]));
|
|
3704
3780
|
}
|
|
3705
3781
|
return g;
|
|
3706
3782
|
}, checkContentHasResults = (e) => "results" in e;
|
|
@@ -3938,7 +4014,7 @@ function isFromTrustedHost(e, t) {
|
|
|
3938
4014
|
const n = new URL(t.origin), o = n.hostname;
|
|
3939
4015
|
return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
3940
4016
|
}
|
|
3941
|
-
const SDK_VERSION = "1.0.
|
|
4017
|
+
const SDK_VERSION = "1.0.36", registry = {};
|
|
3942
4018
|
function register(e, t) {
|
|
3943
4019
|
let n = registry[e];
|
|
3944
4020
|
if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
|
|
@@ -4465,7 +4541,7 @@ function _sfc_render$4(e, t, n, o, r, s) {
|
|
|
4465
4541
|
}
|
|
4466
4542
|
const EnableEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]), _sfc_main$3 = defineComponent({
|
|
4467
4543
|
name: "content-styles",
|
|
4468
|
-
components: { InlinedStyles: _sfc_main$
|
|
4544
|
+
components: { InlinedStyles: _sfc_main$n },
|
|
4469
4545
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
|
|
4470
4546
|
data() {
|
|
4471
4547
|
return {
|
|
@@ -4633,7 +4709,7 @@ function _sfc_render$2(e, t, n, o, r, s) {
|
|
|
4633
4709
|
trustedHosts: e.trustedHosts
|
|
4634
4710
|
}, {}), {
|
|
4635
4711
|
default: withCtx(() => {
|
|
4636
|
-
var p, c, u, f, m, b,
|
|
4712
|
+
var p, c, u, f, m, b, S;
|
|
4637
4713
|
return [
|
|
4638
4714
|
e.isSsrAbTest ? (openBlock(), createBlock(i, {
|
|
4639
4715
|
key: 0,
|
|
@@ -4648,7 +4724,7 @@ function _sfc_render$2(e, t, n, o, r, s) {
|
|
|
4648
4724
|
customFonts: (m = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : m.customFonts
|
|
4649
4725
|
}, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : createCommentVNode("", !0),
|
|
4650
4726
|
createVNode(a, {
|
|
4651
|
-
blocks: (
|
|
4727
|
+
blocks: (S = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : S.blocks,
|
|
4652
4728
|
context: e.builderContextSignal,
|
|
4653
4729
|
registeredComponents: e.registeredComponents,
|
|
4654
4730
|
linkComponent: e.linkComponent
|
|
@@ -4662,7 +4738,7 @@ const ContentComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _s
|
|
|
4662
4738
|
name: "content-variants",
|
|
4663
4739
|
components: {
|
|
4664
4740
|
InlinedScript: _sfc_main$5,
|
|
4665
|
-
InlinedStyles: _sfc_main$
|
|
4741
|
+
InlinedStyles: _sfc_main$n,
|
|
4666
4742
|
ContentComponent
|
|
4667
4743
|
},
|
|
4668
4744
|
props: [
|
|
@@ -4937,7 +5013,7 @@ export {
|
|
|
4937
5013
|
Section as S,
|
|
4938
5014
|
TARGET as T,
|
|
4939
5015
|
Video as V,
|
|
4940
|
-
_sfc_main$
|
|
5016
|
+
_sfc_main$n as _,
|
|
4941
5017
|
getSizesForBreakpoints as a,
|
|
4942
5018
|
createCssClass as b,
|
|
4943
5019
|
checkIsDefined as c,
|