@builder.io/sdk-vue 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/_vue2/dist/block-styles.6a14fec4.cjs +1 -0
- package/packages/_vue2/dist/block-styles.982735c2.js +77 -0
- package/packages/_vue2/dist/block-wrapper.701626ff.cjs +1 -0
- package/packages/_vue2/dist/block-wrapper.fbaeab1b.js +66 -0
- package/packages/_vue2/dist/block.a18a495f.cjs +3 -0
- package/packages/_vue2/dist/block.e9484073.js +178 -0
- package/packages/_vue2/dist/blocks-wrapper.4afaccc5.js +72 -0
- package/packages/_vue2/dist/blocks-wrapper.e0086c60.cjs +1 -0
- package/packages/_vue2/dist/builder.context.29ec27bd.js +18 -0
- package/packages/_vue2/dist/builder.context.e22f06a0.cjs +1 -0
- package/packages/_vue2/dist/component-ref.8772e5f7.cjs +1 -0
- package/packages/_vue2/dist/component-ref.ad8ecffe.js +98 -0
- package/packages/_vue2/dist/content.697b2fbd.js +905 -0
- package/packages/_vue2/dist/content.fb93079e.cjs +1 -0
- package/packages/_vue2/dist/css.1aff1efe.js +21 -0
- package/packages/_vue2/dist/css.daac46ac.cjs +6 -0
- package/packages/_vue2/dist/enable-editor.12c3716b.cjs +1 -0
- package/packages/_vue2/dist/enable-editor.8d1c24b0.js +428 -0
- package/packages/_vue2/dist/evaluate.b0496c3f.js +4970 -0
- package/packages/_vue2/dist/evaluate.d1bef2c5.cjs +31 -0
- package/packages/_vue2/dist/get-block-actions.88b6dbbf.cjs +1 -0
- package/packages/_vue2/dist/get-block-actions.a39f0f6b.js +36 -0
- package/packages/_vue2/dist/get-block-properties.316bbdf9.js +48 -0
- package/packages/_vue2/dist/get-block-properties.3ab4b67f.cjs +1 -0
- package/packages/_vue2/dist/get-processed-block.2c6787e1.js +52 -0
- package/packages/_vue2/dist/get-processed-block.deb6b33a.cjs +1 -0
- package/packages/_vue2/dist/index.051a3d7b.cjs +32 -0
- package/packages/_vue2/dist/index.8352d880.js +1360 -0
- package/packages/_vue2/dist/inlined-script.874c7b5a.cjs +1 -0
- package/packages/_vue2/dist/inlined-script.b4595308.js +23 -0
- package/packages/_vue2/dist/inlined-styles.d8b2af39.cjs +1 -0
- package/packages/_vue2/dist/inlined-styles.dd4a079a.js +23 -0
- package/packages/_vue2/dist/interactive-element.12db10c4.cjs +1 -0
- package/packages/_vue2/dist/interactive-element.e2f7ca88.js +42 -0
- package/packages/_vue2/dist/repeated-block.0343c63e.cjs +1 -0
- package/packages/_vue2/dist/repeated-block.c74334c2.js +39 -0
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +11 -11
- package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +9 -18
- package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +7 -6
- package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/helpers.d.ts +13 -0
- package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +6 -6
- package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +27 -6
- package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +9 -6
- package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +11 -7
- package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +1 -1
- package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +7 -3
- package/packages/_vue2/dist/src/components/block/block.helpers.d.ts +13 -0
- package/packages/{_vue3/dist/src/components/render-block/render-block.vue.d.ts → _vue2/dist/src/components/block/block.vue.d.ts} +3 -2
- package/packages/_vue2/dist/src/components/{render-block → block/components}/block-styles.vue.d.ts +4 -4
- package/packages/_vue2/dist/src/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.vue.d.ts +2 -0
- package/packages/_vue2/dist/src/components/block/components/interactive-element.vue.d.ts +30 -0
- package/packages/_vue2/dist/src/components/block/components/repeated-block.vue.d.ts +16 -0
- package/packages/_vue2/dist/src/components/{render-blocks.vue.d.ts → blocks/blocks-wrapper.vue.d.ts} +6 -6
- package/packages/_vue2/dist/src/components/blocks/blocks.vue.d.ts +29 -0
- package/packages/_vue2/dist/src/components/{render-content/render-content.vue.d.ts → content/components/enable-editor.vue.d.ts} +12 -34
- package/packages/{_vue3/dist/src/components/render-content/components/render-styles.helpers.d.ts → _vue2/dist/src/components/content/components/styles.helpers.d.ts} +1 -1
- package/packages/_vue2/dist/src/components/{render-content/components/render-styles.vue.d.ts → content/components/styles.vue.d.ts} +1 -1
- package/packages/_vue2/dist/src/components/content/content.helpers.d.ts +7 -0
- package/packages/_vue2/dist/src/components/content/content.types.d.ts +24 -0
- package/packages/_vue2/dist/src/components/content/content.vue.d.ts +26 -0
- package/packages/_vue2/dist/src/components/content-variants/content-variants.types.d.ts +20 -0
- package/packages/_vue2/dist/src/components/content-variants/content-variants.vue.d.ts +53 -0
- package/packages/{_vue3/dist/src/components/render-content-variants → _vue2/dist/src/components/content-variants}/helpers.d.ts +6 -5
- package/packages/_vue2/dist/src/components/inlined-script.vue.d.ts +11 -0
- package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
- package/packages/_vue2/dist/src/constants/target.d.ts +1 -1
- package/packages/_vue2/dist/src/context/builder.context.d.ts +1 -1
- package/packages/_vue2/dist/src/context/types.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/{evaluate.d.ts → evaluate/evaluate.d.ts} +5 -2
- package/packages/_vue2/dist/src/functions/evaluate/index.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/evaluate/interpreter.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +10 -0
- package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -1
- package/packages/_vue2/dist/src/functions/get-content/index.d.ts +2 -6
- package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/is-non-node-server.d.ts +4 -0
- package/packages/_vue2/dist/src/functions/register-component.d.ts +2 -1
- package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +2 -2
- package/packages/_vue2/dist/src/helpers/cookie.d.ts +2 -2
- package/packages/_vue2/dist/src/helpers/css.d.ts +1 -1
- package/packages/_vue2/dist/src/helpers/localStorage.d.ts +2 -2
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/get.d.ts +1 -0
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/helpers.d.ts +1 -0
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/init.d.ts +6 -0
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/set.d.ts +7 -0
- package/packages/_vue2/dist/src/helpers/preview-lru-cache/types.d.ts +12 -0
- package/packages/_vue2/dist/src/helpers/sessionId.d.ts +2 -2
- package/packages/_vue2/dist/src/helpers/visitorId.d.ts +1 -1
- package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +2 -2
- package/packages/_vue2/dist/src/index.d.ts +2 -2
- package/packages/_vue2/dist/src/types/builder-props.d.ts +9 -0
- package/packages/_vue2/dist/src/types/components.d.ts +8 -2
- package/packages/_vue2/dist/src/types/enforced-partials.d.ts +21 -0
- package/packages/_vue2/dist/src/types/targets.d.ts +1 -3
- package/packages/_vue2/dist/src/types/typescript.d.ts +6 -0
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue2/dist/styles.367c17da.js +89 -0
- package/packages/_vue2/dist/styles.716893e3.cjs +31 -0
- package/packages/_vue3/dist/block-wrapper.0590efed.js +54 -0
- package/packages/_vue3/dist/block-wrapper.caa27b4d.cjs +1 -0
- package/packages/_vue3/dist/component-ref.7c88b254.cjs +1 -0
- package/packages/_vue3/dist/component-ref.9039745a.js +111 -0
- package/packages/_vue3/dist/get-block-actions.a8cbb712.cjs +1 -0
- package/packages/_vue3/dist/get-block-actions.cc5999ea.js +79 -0
- package/packages/_vue3/dist/index.52e5e57e.js +8079 -0
- package/packages/_vue3/dist/index.a789f147.cjs +99 -0
- package/packages/_vue3/dist/repeated-block.1eba0fc4.js +33 -0
- package/packages/_vue3/dist/repeated-block.e0f9db51.cjs +1 -0
- package/packages/_vue3/dist/sdk.cjs +1 -72
- package/packages/_vue3/dist/sdk.js +22 -3251
- package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +10 -6
- package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +18 -8
- package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +3 -3
- package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/helpers.d.ts +13 -0
- package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +6 -6
- package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +9 -7
- package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +9 -6
- package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +20 -7
- package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +1 -1
- package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +7 -3
- package/packages/_vue3/dist/src/components/block/block.helpers.d.ts +13 -0
- package/packages/{_vue2/dist/src/components/render-block/render-block.vue.d.ts → _vue3/dist/src/components/block/block.vue.d.ts} +3 -2
- package/packages/_vue3/dist/src/components/{render-block → block/components}/block-styles.vue.d.ts +4 -4
- package/packages/_vue3/dist/src/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/packages/_vue3/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/packages/_vue3/dist/src/components/block/components/component-ref/component-ref.vue.d.ts +2 -0
- package/packages/_vue3/dist/src/components/block/components/interactive-element.vue.d.ts +30 -0
- package/packages/_vue3/dist/src/components/{render-block/render-repeated-block.vue.d.ts → block/components/repeated-block.vue.d.ts} +3 -0
- package/packages/_vue3/dist/src/components/{render-blocks.vue.d.ts → blocks/blocks-wrapper.vue.d.ts} +6 -6
- package/packages/_vue3/dist/src/components/blocks/blocks.vue.d.ts +29 -0
- package/packages/_vue3/dist/src/components/{render-content/render-content.vue.d.ts → content/components/enable-editor.vue.d.ts} +21 -55
- package/packages/{_vue2/dist/src/components/render-content/components/render-styles.helpers.d.ts → _vue3/dist/src/components/content/components/styles.helpers.d.ts} +1 -1
- package/packages/_vue3/dist/src/components/content/content.helpers.d.ts +7 -0
- package/packages/_vue3/dist/src/components/content/content.types.d.ts +24 -0
- package/packages/_vue3/dist/src/components/content/content.vue.d.ts +69 -0
- package/packages/_vue3/dist/src/components/content-variants/content-variants.types.d.ts +20 -0
- package/packages/_vue3/dist/src/components/content-variants/content-variants.vue.d.ts +76 -0
- package/packages/_vue3/dist/src/components/content-variants/helpers.d.ts +41 -0
- package/packages/_vue3/dist/src/components/inlined-script.vue.d.ts +11 -0
- package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
- package/packages/_vue3/dist/src/constants/target.d.ts +1 -1
- package/packages/_vue3/dist/src/context/builder.context.d.ts +1 -1
- package/packages/_vue3/dist/src/context/types.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/{evaluate.d.ts → evaluate/evaluate.d.ts} +5 -2
- package/packages/_vue3/dist/src/functions/evaluate/index.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/evaluate/interpreter.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +10 -0
- package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -1
- package/packages/_vue3/dist/src/functions/get-content/index.d.ts +2 -6
- package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/is-non-node-server.d.ts +4 -0
- package/packages/_vue3/dist/src/functions/register-component.d.ts +2 -1
- package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +2 -2
- package/packages/_vue3/dist/src/helpers/cookie.d.ts +2 -2
- package/packages/_vue3/dist/src/helpers/css.d.ts +1 -1
- package/packages/_vue3/dist/src/helpers/localStorage.d.ts +2 -2
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/get.d.ts +1 -0
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/helpers.d.ts +1 -0
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/init.d.ts +6 -0
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/set.d.ts +7 -0
- package/packages/_vue3/dist/src/helpers/preview-lru-cache/types.d.ts +12 -0
- package/packages/_vue3/dist/src/helpers/sessionId.d.ts +2 -2
- package/packages/_vue3/dist/src/helpers/visitorId.d.ts +1 -1
- package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +2 -2
- package/packages/_vue3/dist/src/index.d.ts +2 -2
- package/packages/_vue3/dist/src/types/builder-props.d.ts +9 -0
- package/packages/_vue3/dist/src/types/components.d.ts +8 -2
- package/packages/_vue3/dist/src/types/enforced-partials.d.ts +21 -0
- package/packages/_vue3/dist/src/types/targets.d.ts +1 -3
- package/packages/_vue3/dist/src/types/typescript.d.ts +6 -0
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.0037defd.cjs +0 -1
- package/packages/_vue2/dist/block-styles.bc8cdc9f.js +0 -76
- package/packages/_vue2/dist/css.5dc54b85.js +0 -75
- package/packages/_vue2/dist/css.91bb94e8.cjs +0 -6
- package/packages/_vue2/dist/evaluate.10e091b0.cjs +0 -4
- package/packages/_vue2/dist/evaluate.f654f563.js +0 -63
- package/packages/_vue2/dist/index.a1dfdaec.js +0 -1374
- package/packages/_vue2/dist/index.a4e21f82.cjs +0 -32
- package/packages/_vue2/dist/render-block.55b40822.cjs +0 -3
- package/packages/_vue2/dist/render-block.df744a97.js +0 -263
- package/packages/_vue2/dist/render-component.9632b476.js +0 -38
- package/packages/_vue2/dist/render-component.baf2d372.cjs +0 -1
- package/packages/_vue2/dist/render-content.30c701ec.js +0 -1358
- package/packages/_vue2/dist/render-content.d464cccb.cjs +0 -1
- package/packages/_vue2/dist/render-inlined-styles.36b7a3a4.js +0 -23
- package/packages/_vue2/dist/render-inlined-styles.469ed053.cjs +0 -1
- package/packages/_vue2/dist/render-repeated-block.7f4862b2.js +0 -38
- package/packages/_vue2/dist/render-repeated-block.e9bfa3cd.cjs +0 -1
- package/packages/_vue2/dist/render-styles.43e1e2a4.js +0 -87
- package/packages/_vue2/dist/render-styles.ad11935f.cjs +0 -31
- package/packages/_vue2/dist/src/blocks/util.d.ts +0 -4
- package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +0 -12
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +0 -16
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -13
- package/packages/_vue2/dist/src/components/render-content/render-content.helpers.d.ts +0 -7
- package/packages/_vue2/dist/src/components/render-content/render-content.types.d.ts +0 -38
- package/packages/_vue2/dist/src/components/render-content-variants/helpers.d.ts +0 -17
- package/packages/_vue2/dist/src/components/render-content-variants/render-content-variants.vue.d.ts +0 -29
- package/packages/_vue3/dist/src/blocks/util.d.ts +0 -4
- package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +0 -12
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +0 -16
- package/packages/_vue3/dist/src/components/render-content/render-content.helpers.d.ts +0 -7
- package/packages/_vue3/dist/src/components/render-content/render-content.types.d.ts +0 -38
- package/packages/_vue3/dist/src/components/render-content-variants/render-content-variants.vue.d.ts +0 -29
- package/packages/_vue2/dist/src/components/{render-block → block}/types.d.ts +0 -0
- package/packages/_vue2/dist/src/components/{render-content → content}/wrap-component-ref.d.ts +0 -0
- package/packages/_vue2/dist/src/components/{render-inlined-styles.vue.d.ts → inlined-styles.vue.d.ts} +3 -3
- package/packages/_vue3/dist/src/components/{render-block → block}/types.d.ts +0 -0
- package/packages/_vue3/dist/src/components/{render-content/components/render-styles.vue.d.ts → content/components/styles.vue.d.ts} +0 -0
- package/packages/_vue3/dist/src/components/{render-content → content}/wrap-component-ref.d.ts +0 -0
- package/packages/_vue3/dist/src/components/{render-inlined-styles.vue.d.ts → inlined-styles.vue.d.ts} +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index.051a3d7b.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as t } from "vue";
|
|
2
|
+
import { n as e } from "./index.8352d880.js";
|
|
3
|
+
const s = t({
|
|
4
|
+
name: "inlined-script",
|
|
5
|
+
props: ["scriptStr", "id"]
|
|
6
|
+
});
|
|
7
|
+
var o = function() {
|
|
8
|
+
var n = this, r = n._self._c;
|
|
9
|
+
return n._self._setupProxy, r("script", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.scriptStr) } });
|
|
10
|
+
}, i = [], p = /* @__PURE__ */ e(
|
|
11
|
+
s,
|
|
12
|
+
o,
|
|
13
|
+
i,
|
|
14
|
+
!1,
|
|
15
|
+
null,
|
|
16
|
+
null,
|
|
17
|
+
null,
|
|
18
|
+
null
|
|
19
|
+
);
|
|
20
|
+
const a = p.exports;
|
|
21
|
+
export {
|
|
22
|
+
a as default
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index.051a3d7b.cjs"),r=s.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=t.normalizeComponent(r,l,o,!1,null,null,null,null);const _=i.exports;exports.default=_;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as s } from "vue";
|
|
2
|
+
import { n as t } from "./index.8352d880.js";
|
|
3
|
+
const r = s({
|
|
4
|
+
name: "inlined-styles",
|
|
5
|
+
props: ["styles", "id"]
|
|
6
|
+
});
|
|
7
|
+
var o = function() {
|
|
8
|
+
var n = this, e = n._self._c;
|
|
9
|
+
return n._self._setupProxy, e("style", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.styles) } });
|
|
10
|
+
}, l = [], _ = /* @__PURE__ */ t(
|
|
11
|
+
r,
|
|
12
|
+
o,
|
|
13
|
+
l,
|
|
14
|
+
!1,
|
|
15
|
+
null,
|
|
16
|
+
null,
|
|
17
|
+
null,
|
|
18
|
+
null
|
|
19
|
+
);
|
|
20
|
+
const p = _.exports;
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions.88b6dbbf.cjs"),c=require("./get-block-properties.3ab4b67f.cjs"),n=require("./index.051a3d7b.cjs");require("./evaluate.d1bef2c5.cjs");require("./css.daac46ac.cjs");const s=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:c.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},l=[],i=n.normalizeComponent(s,a,l,!1,null,null,null,null);const p=i.exports;exports.default=p;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as o } from "vue";
|
|
2
|
+
import { g as r } from "./get-block-actions.a39f0f6b.js";
|
|
3
|
+
import { g as n } from "./get-block-properties.316bbdf9.js";
|
|
4
|
+
import { n as c } from "./index.8352d880.js";
|
|
5
|
+
import "./evaluate.b0496c3f.js";
|
|
6
|
+
import "./css.1aff1efe.js";
|
|
7
|
+
const a = o({
|
|
8
|
+
name: "interactive-element",
|
|
9
|
+
props: ["wrapperProps", "block", "context", "Wrapper"],
|
|
10
|
+
data() {
|
|
11
|
+
return { getBlockActions: r, getBlockProperties: n };
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
var l = function() {
|
|
15
|
+
var t = this, e = t._self._c;
|
|
16
|
+
return t._self._setupProxy, e(t.Wrapper, t._b({ tag: "component", attrs: { attributes: {
|
|
17
|
+
...t.getBlockProperties({
|
|
18
|
+
block: t.block,
|
|
19
|
+
context: t.context
|
|
20
|
+
}),
|
|
21
|
+
...t.getBlockActions({
|
|
22
|
+
block: t.block,
|
|
23
|
+
rootState: t.context.rootState,
|
|
24
|
+
rootSetState: t.context.rootSetState,
|
|
25
|
+
localState: t.context.localState,
|
|
26
|
+
context: t.context.context
|
|
27
|
+
})
|
|
28
|
+
} } }, "component", t.wrapperProps, !1), [t._t("default")], 2);
|
|
29
|
+
}, p = [], s = /* @__PURE__ */ c(
|
|
30
|
+
a,
|
|
31
|
+
l,
|
|
32
|
+
p,
|
|
33
|
+
!1,
|
|
34
|
+
null,
|
|
35
|
+
null,
|
|
36
|
+
null,
|
|
37
|
+
null
|
|
38
|
+
);
|
|
39
|
+
const S = s.exports;
|
|
40
|
+
export {
|
|
41
|
+
S as default
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),n=require("./builder.context.e22f06a0.cjs"),s=require("./index.051a3d7b.cjs"),c=()=>Promise.resolve().then(()=>require("./block.a18a495f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),l=r.defineComponent({name:"repeated-block",components:{block:c},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[n.builderContext.key]:e.store}}});var i=function(){var t=this,o=t._self._c;return t._self._setupProxy,o("block",{attrs:{block:t.block,context:t.store,registeredComponents:t.registeredComponents}})},a=[],u=s.normalizeComponent(l,i,a,!1,null,null,null,null);const d=u.exports;exports.default=d;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
import { b as n } from "./builder.context.29ec27bd.js";
|
|
3
|
+
import { n as s } from "./index.8352d880.js";
|
|
4
|
+
const c = () => import("./block.e9484073.js").then((e) => e.default).catch((e) => {
|
|
5
|
+
throw console.error(
|
|
6
|
+
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
|
+
e
|
|
8
|
+
), e;
|
|
9
|
+
}), l = r({
|
|
10
|
+
name: "repeated-block",
|
|
11
|
+
components: { block: c },
|
|
12
|
+
props: ["repeatContext", "block", "registeredComponents"],
|
|
13
|
+
data() {
|
|
14
|
+
return { store: this.repeatContext };
|
|
15
|
+
},
|
|
16
|
+
provide() {
|
|
17
|
+
const e = this;
|
|
18
|
+
return {
|
|
19
|
+
[n.key]: e.store
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
var a = function() {
|
|
24
|
+
var t = this, o = t._self._c;
|
|
25
|
+
return t._self._setupProxy, o("block", { attrs: { block: t.block, context: t.store, registeredComponents: t.registeredComponents } });
|
|
26
|
+
}, p = [], i = /* @__PURE__ */ s(
|
|
27
|
+
l,
|
|
28
|
+
a,
|
|
29
|
+
p,
|
|
30
|
+
!1,
|
|
31
|
+
null,
|
|
32
|
+
null,
|
|
33
|
+
null,
|
|
34
|
+
null
|
|
35
|
+
);
|
|
36
|
+
const f = i.exports;
|
|
37
|
+
export {
|
|
38
|
+
f as default
|
|
39
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.051a3d7b.cjs");require("vue");exports.Button=e.Button;exports.Columns=e.Columns;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.blocks;exports.RenderContent=e.contentVariants;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.processContentResult=e.processContentResult;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as a, C as n, F as o, I as r, y as i, z as g, S as m,
|
|
1
|
+
import { B as a, C as n, F as o, I as r, y as i, z as g, S as m, e as l, h as C, V as c, q as d, u, w as S, o as p, b as B, m as R, v as x, r as b, t as h, x as k } from "./index.8352d880.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
a as Button,
|
|
@@ -8,17 +8,17 @@ export {
|
|
|
8
8
|
i as RenderBlocks,
|
|
9
9
|
g as RenderContent,
|
|
10
10
|
m as Section,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
l as Symbol,
|
|
12
|
+
C as Text,
|
|
13
|
+
c as Video,
|
|
14
|
+
d as createRegisterComponentMessage,
|
|
15
|
+
u as getAllContent,
|
|
16
|
+
S as getBuilderSearchParams,
|
|
17
|
+
p as getContent,
|
|
18
18
|
B as isEditing,
|
|
19
19
|
R as isPreviewing,
|
|
20
20
|
x as processContentResult,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
b as register,
|
|
22
|
+
h as setEditorSettings,
|
|
23
|
+
k as track
|
|
24
24
|
};
|
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { filterAttrs } from "../helpers.js";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/ export interface ButtonProps {
|
|
2
5
|
attributes?: any;
|
|
3
6
|
text?: string;
|
|
4
7
|
link?: string;
|
|
5
8
|
openLinkInNewTab?: boolean;
|
|
6
9
|
}
|
|
7
|
-
declare const _sfc_main: import("vue").DefineComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
text?: any;
|
|
11
|
-
openLinkInNewTab?: any;
|
|
12
|
-
}>, {}, {}, {}, {
|
|
13
|
-
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
10
|
+
declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
|
|
11
|
+
filterAttrs: typeof filterAttrs;
|
|
12
|
+
}, {}, {
|
|
14
13
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
15
|
-
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<
|
|
16
|
-
|
|
17
|
-
attributes?: any;
|
|
18
|
-
text?: any;
|
|
19
|
-
openLinkInNewTab?: any;
|
|
20
|
-
}>>>, {
|
|
21
|
-
readonly link?: any;
|
|
22
|
-
readonly attributes?: any;
|
|
23
|
-
readonly text?: any;
|
|
24
|
-
readonly openLinkInNewTab?: any;
|
|
14
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
|
|
15
|
+
[x: number]: string;
|
|
25
16
|
}>;
|
|
26
17
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type { BuilderBlock } from "../../types/builder-block";
|
|
2
|
-
import type { SizeName } from "../../constants/device-sizes";
|
|
3
|
-
import type { Dictionary } from "../../types/typescript";
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
2
|
+
import type { SizeName } from "../../constants/device-sizes.js";
|
|
3
|
+
import type { Dictionary } from "../../types/typescript.js";
|
|
4
|
+
import type { BuilderComponentsProp } from "../../types/builder-props.js";
|
|
4
5
|
type Column = {
|
|
5
6
|
blocks: BuilderBlock[];
|
|
6
7
|
width?: number;
|
|
7
8
|
};
|
|
8
9
|
type CSSVal = string | number;
|
|
9
10
|
type StackColumnsAt = "tablet" | "mobile" | "never";
|
|
10
|
-
export interface ColumnProps {
|
|
11
|
+
export interface ColumnProps extends BuilderComponentsProp {
|
|
11
12
|
columns?: Column[];
|
|
12
13
|
builderBlock: BuilderBlock;
|
|
13
14
|
space?: number;
|
|
@@ -19,7 +20,7 @@ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
|
|
|
19
20
|
cols: any;
|
|
20
21
|
stackAt: any;
|
|
21
22
|
flexDir: string;
|
|
22
|
-
TARGET:
|
|
23
|
+
TARGET: import("../../types/targets.js").Target;
|
|
23
24
|
}, {
|
|
24
25
|
columnsCssVars(): Dictionary<string>;
|
|
25
26
|
columnsStyles(): string;
|
|
@@ -37,7 +38,7 @@ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
|
|
|
37
38
|
columnCssVars(index: number): Dictionary<string>;
|
|
38
39
|
getWidthForBreakpointSize(size: SizeName): number;
|
|
39
40
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
40
|
-
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
|
|
41
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
|
|
41
42
|
[x: number]: string;
|
|
42
43
|
}>;
|
|
43
44
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
|
|
|
7
7
|
ranInitFn: boolean;
|
|
8
8
|
}, {
|
|
9
9
|
onUpdateHook0(): {
|
|
10
|
-
0: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue/types/v3-component-options.js").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> |
|
|
10
|
+
0: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue/types/v3-component-options.js").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> | import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> | (Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue/types/v3-component-options.js").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> | import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>)[] | undefined;
|
|
11
11
|
1: boolean;
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function filterAttrs(attrs: {
|
|
2
|
+
[index: string]: any;
|
|
3
|
+
} | undefined, prefix: string, isEvent: boolean): {
|
|
4
|
+
[index: string]: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Svelte SDK: workaround to dynamically provide event handlers to components/elements.
|
|
8
|
+
* https://svelte.dev/repl/1246699e266f41218a8eeb45b9b58b54?version=3.24.1
|
|
9
|
+
*/
|
|
10
|
+
export declare function setAttrs(node: HTMLElement, attrs?: Record<string, (event: Event) => void>): {
|
|
11
|
+
update(attrs?: {}): void;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -18,11 +18,11 @@ export interface ImageProps {
|
|
|
18
18
|
src?: string;
|
|
19
19
|
}
|
|
20
20
|
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
21
|
+
builderBlock?: any;
|
|
22
|
+
className?: any;
|
|
21
23
|
aspectRatio?: any;
|
|
22
24
|
backgroundPosition?: any;
|
|
23
25
|
backgroundSize?: any;
|
|
24
|
-
className?: any;
|
|
25
|
-
builderBlock?: any;
|
|
26
26
|
image?: any;
|
|
27
27
|
src?: any;
|
|
28
28
|
srcset?: any;
|
|
@@ -43,11 +43,11 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
|
43
43
|
}, {
|
|
44
44
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
45
45
|
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
46
|
+
builderBlock?: any;
|
|
47
|
+
className?: any;
|
|
46
48
|
aspectRatio?: any;
|
|
47
49
|
backgroundPosition?: any;
|
|
48
50
|
backgroundSize?: any;
|
|
49
|
-
className?: any;
|
|
50
|
-
builderBlock?: any;
|
|
51
51
|
image?: any;
|
|
52
52
|
src?: any;
|
|
53
53
|
srcset?: any;
|
|
@@ -56,11 +56,11 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
|
56
56
|
sizes?: any;
|
|
57
57
|
fitContent?: any;
|
|
58
58
|
}>>>, {
|
|
59
|
+
readonly builderBlock?: any;
|
|
60
|
+
readonly className?: any;
|
|
59
61
|
readonly aspectRatio?: any;
|
|
60
62
|
readonly backgroundPosition?: any;
|
|
61
63
|
readonly backgroundSize?: any;
|
|
62
|
-
readonly className?: any;
|
|
63
|
-
readonly builderBlock?: any;
|
|
64
64
|
readonly image?: any;
|
|
65
65
|
readonly src?: any;
|
|
66
66
|
readonly srcset?: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { isEditing } from "../../functions/is-editing.js";
|
|
2
|
-
|
|
2
|
+
import { filterAttrs } from "../helpers.js";
|
|
3
|
+
/**
|
|
4
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
5
|
+
*/ export interface ImgProps {
|
|
3
6
|
attributes?: any;
|
|
4
7
|
imgSrc?: string;
|
|
5
8
|
image?: string;
|
|
@@ -7,11 +10,29 @@ export interface ImgProps {
|
|
|
7
10
|
backgroundSize?: "cover" | "contain";
|
|
8
11
|
backgroundPosition?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
|
|
9
12
|
}
|
|
10
|
-
declare const _sfc_main: import("vue").DefineComponent<
|
|
13
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
14
|
+
attributes?: any;
|
|
15
|
+
backgroundPosition?: any;
|
|
16
|
+
backgroundSize?: any;
|
|
17
|
+
image?: any;
|
|
18
|
+
altText?: any;
|
|
19
|
+
imgSrc?: any;
|
|
20
|
+
}>, {}, {
|
|
11
21
|
isEditing: typeof isEditing;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
22
|
+
filterAttrs: typeof filterAttrs;
|
|
23
|
+
}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
24
|
+
attributes?: any;
|
|
25
|
+
backgroundPosition?: any;
|
|
26
|
+
backgroundSize?: any;
|
|
27
|
+
image?: any;
|
|
28
|
+
altText?: any;
|
|
29
|
+
imgSrc?: any;
|
|
30
|
+
}>>>, {
|
|
31
|
+
readonly attributes?: any;
|
|
32
|
+
readonly backgroundPosition?: any;
|
|
33
|
+
readonly backgroundSize?: any;
|
|
34
|
+
readonly image?: any;
|
|
35
|
+
readonly altText?: any;
|
|
36
|
+
readonly imgSrc?: any;
|
|
16
37
|
}>;
|
|
17
38
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import { filterAttrs } from "../helpers.js";
|
|
2
|
+
/**
|
|
3
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
4
|
+
*/ export interface SectionProps {
|
|
2
5
|
maxWidth?: number;
|
|
3
6
|
attributes?: any;
|
|
4
7
|
children?: any;
|
|
5
8
|
builderBlock?: any;
|
|
6
9
|
}
|
|
7
10
|
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
8
|
-
maxWidth?: any;
|
|
9
11
|
attributes?: any;
|
|
10
|
-
}>, {}, {}, {}, {
|
|
11
|
-
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
12
|
-
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
13
12
|
maxWidth?: any;
|
|
13
|
+
}>, {}, {
|
|
14
|
+
filterAttrs: typeof filterAttrs;
|
|
15
|
+
}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
14
16
|
attributes?: any;
|
|
17
|
+
maxWidth?: any;
|
|
15
18
|
}>>>, {
|
|
16
|
-
readonly maxWidth?: any;
|
|
17
19
|
readonly attributes?: any;
|
|
20
|
+
readonly maxWidth?: any;
|
|
18
21
|
}>;
|
|
19
22
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BuilderContextInterface } from '../../context/types.js';
|
|
2
|
+
import type { BuilderContent } from '../../types/builder-content.js';
|
|
3
|
+
export interface SymbolInfo {
|
|
4
|
+
model?: string;
|
|
5
|
+
entry?: string;
|
|
6
|
+
data?: any;
|
|
7
|
+
content?: BuilderContent;
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
dynamic?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const fetchContent: ({ builderContextValue, symbol }: {
|
|
12
|
+
symbol: SymbolInfo | undefined;
|
|
13
|
+
builderContextValue: BuilderContextInterface;
|
|
14
|
+
}) => Promise<BuilderContent | null | undefined>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { BuilderContent } from "../../types/builder-content.js";
|
|
2
|
-
import type {
|
|
3
|
-
|
|
2
|
+
import type { BuilderComponentsProp } from "../../types/builder-props.js";
|
|
3
|
+
import { filterAttrs } from "../helpers.js";
|
|
4
|
+
/**
|
|
5
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
6
|
+
*/ export interface SymbolInfo {
|
|
4
7
|
model?: string;
|
|
5
8
|
entry?: string;
|
|
6
9
|
data?: any;
|
|
@@ -8,24 +11,25 @@ export interface SymbolInfo {
|
|
|
8
11
|
inline?: boolean;
|
|
9
12
|
dynamic?: boolean;
|
|
10
13
|
}
|
|
11
|
-
|
|
14
|
+
/**
|
|
15
|
+
* This import is used by the Svelte SDK. Do not remove.
|
|
16
|
+
*/ export interface SymbolProps extends BuilderComponentsProp {
|
|
12
17
|
symbol?: SymbolInfo;
|
|
13
18
|
dataOnly?: boolean;
|
|
14
19
|
dynamic?: boolean;
|
|
15
|
-
builderBlock?: BuilderBlock;
|
|
16
20
|
attributes?: any;
|
|
17
21
|
inheritState?: boolean;
|
|
18
22
|
}
|
|
19
23
|
declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
|
|
20
|
-
className: string;
|
|
21
24
|
contentToUse: any;
|
|
25
|
+
filterAttrs: typeof filterAttrs;
|
|
22
26
|
}, {
|
|
27
|
+
className(): string;
|
|
23
28
|
onUpdateHook0(): {
|
|
24
29
|
0: any;
|
|
25
30
|
};
|
|
26
31
|
}, {
|
|
27
|
-
|
|
28
|
-
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
32
|
+
setContent(): void;
|
|
29
33
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
30
34
|
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
|
|
31
35
|
[x: number]: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components';
|
|
1
|
+
import type { ComponentInfo } from '../../types/components.js';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -10,18 +10,20 @@ export interface VideoProps {
|
|
|
10
10
|
width?: number;
|
|
11
11
|
height?: number;
|
|
12
12
|
fit?: "contain" | "cover" | "fill";
|
|
13
|
+
preload?: "auto" | "metadata" | "none";
|
|
13
14
|
position?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
|
|
14
15
|
posterImage?: string;
|
|
15
16
|
lazyLoad?: boolean;
|
|
16
17
|
}
|
|
17
18
|
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
18
|
-
position?: any;
|
|
19
19
|
attributes?: any;
|
|
20
|
+
position?: any;
|
|
20
21
|
autoPlay?: any;
|
|
21
22
|
muted?: any;
|
|
22
23
|
controls?: any;
|
|
23
24
|
loop?: any;
|
|
24
25
|
playsInline?: any;
|
|
26
|
+
preload?: any;
|
|
25
27
|
fit?: any;
|
|
26
28
|
video?: any;
|
|
27
29
|
posterImage?: any;
|
|
@@ -35,24 +37,26 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
|
35
37
|
};
|
|
36
38
|
spreadProps(): any;
|
|
37
39
|
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
38
|
-
position?: any;
|
|
39
40
|
attributes?: any;
|
|
41
|
+
position?: any;
|
|
40
42
|
autoPlay?: any;
|
|
41
43
|
muted?: any;
|
|
42
44
|
controls?: any;
|
|
43
45
|
loop?: any;
|
|
44
46
|
playsInline?: any;
|
|
47
|
+
preload?: any;
|
|
45
48
|
fit?: any;
|
|
46
49
|
video?: any;
|
|
47
50
|
posterImage?: any;
|
|
48
51
|
}>>>, {
|
|
49
|
-
readonly position?: any;
|
|
50
52
|
readonly attributes?: any;
|
|
53
|
+
readonly position?: any;
|
|
51
54
|
readonly autoPlay?: any;
|
|
52
55
|
readonly muted?: any;
|
|
53
56
|
readonly controls?: any;
|
|
54
57
|
readonly loop?: any;
|
|
55
58
|
readonly playsInline?: any;
|
|
59
|
+
readonly preload?: any;
|
|
56
60
|
readonly fit?: any;
|
|
57
61
|
readonly video?: any;
|
|
58
62
|
readonly posterImage?: any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
|
|
2
|
+
import type { BuilderBlock } from '../../types/builder-block.js';
|
|
3
|
+
import type { RepeatData } from './types.js';
|
|
4
|
+
export declare const isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
5
|
+
export declare const getComponent: ({ block, context, registeredComponents }: {
|
|
6
|
+
block: BuilderBlock;
|
|
7
|
+
context: BuilderContextInterface;
|
|
8
|
+
registeredComponents: RegisteredComponents;
|
|
9
|
+
}) => import("../../context/types.js").RegisteredComponent | null | undefined;
|
|
10
|
+
export declare const getRepeatItemData: ({ block, context }: {
|
|
11
|
+
block: BuilderBlock;
|
|
12
|
+
context: BuilderContextInterface;
|
|
13
|
+
}) => RepeatData[] | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from "../../context/types.js";
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from "../../context/types.js";
|
|
2
2
|
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
3
|
-
export type
|
|
3
|
+
export type BlockProps = {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
6
|
+
registeredComponents: RegisteredComponents;
|
|
6
7
|
};
|
|
7
8
|
declare const _sfc_main: any;
|
|
8
9
|
export default _sfc_main;
|
package/packages/_vue2/dist/src/components/{render-block → block/components}/block-styles.vue.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from "
|
|
2
|
-
import type { BuilderBlock } from "
|
|
1
|
+
import type { BuilderContextInterface } from "../../../context/types.js";
|
|
2
|
+
import type { BuilderBlock } from "../../../types/builder-block.js";
|
|
3
3
|
export type BlockStylesProps = {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
@@ -8,9 +8,9 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
|
8
8
|
block?: any;
|
|
9
9
|
context?: any;
|
|
10
10
|
}>, {}, {
|
|
11
|
-
|
|
11
|
+
processedBlock: BuilderBlock;
|
|
12
|
+
TARGET: import("../../../types/targets.js").Target;
|
|
12
13
|
}, {
|
|
13
|
-
useBlock(): BuilderBlock;
|
|
14
14
|
canShowBlock(): boolean;
|
|
15
15
|
css(): string;
|
|
16
16
|
}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|