@builder.io/sdk-vue 0.7.3 → 0.7.5
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/vue2/lib/{edge/block-b774a93c.js → browser/block-b8bfcb77.js} +11 -9
- package/vue2/lib/browser/block-f18eeef5.cjs +3 -0
- package/vue2/lib/{node/block-styles-eba3ea7b.js → browser/block-styles-33adc3cd.js} +5 -5
- package/vue2/lib/{edge/block-styles-c8c8b8d3.cjs → browser/block-styles-e0d81772.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-dd6ba030.cjs → block-wrapper-41011f58.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-6e7d432c.js → block-wrapper-950d3006.js} +5 -5
- package/vue2/lib/browser/blocks/video/video.vue.d.ts +24 -2
- package/vue2/lib/{edge/blocks-wrapper-a3348911.cjs → browser/blocks-wrapper-77802ec6.cjs} +1 -1
- package/vue2/lib/{edge/blocks-wrapper-1d254421.js → browser/blocks-wrapper-a522cccb.js} +1 -1
- package/vue2/lib/{edge/component-ref-b47a7cb7.js → browser/component-ref-2413b882.js} +6 -6
- package/vue2/lib/{edge/component-ref-0621d5d9.cjs → browser/component-ref-f0dd90c7.cjs} +1 -1
- package/vue2/lib/browser/components/content/content.helpers.d.ts +1 -1
- package/vue2/lib/browser/components/content/content.types.d.ts +0 -4
- package/vue2/lib/browser/components/content/content.vue.d.ts +1 -1
- package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -1
- package/vue2/lib/browser/components/content-variants/helpers.d.ts +3 -3
- package/vue2/lib/browser/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/{content-30d3c506.js → content-43a1dc9c.js} +32 -38
- package/vue2/lib/{node/content-88b32cda.cjs → browser/content-45906cc9.cjs} +1 -1
- package/vue2/lib/browser/{css-95da9602.js → css-42aa7f84.js} +1 -1
- package/vue2/lib/{node/css-efdd92ad.cjs → browser/css-605fcc40.cjs} +1 -1
- package/vue2/lib/browser/{enable-editor-89367603.js → enable-editor-bba63d74.js} +15 -16
- package/vue2/lib/browser/enable-editor-f0119e65.cjs +1 -0
- package/vue2/lib/browser/{evaluate-7de8534a.cjs → evaluate-0e925150.cjs} +1 -1
- package/vue2/lib/browser/{evaluate-53f7e690.js → evaluate-9a88b50c.js} +1 -1
- package/vue2/lib/{node/get-block-actions-becefe5e.js → browser/get-block-actions-abefbd5a.js} +2 -2
- package/vue2/lib/browser/{get-block-actions-cd507d3e.cjs → get-block-actions-f45b7d64.cjs} +1 -1
- package/vue2/lib/browser/{get-block-properties-af19618f.js → get-block-properties-6bf3a9f6.js} +2 -2
- package/vue2/lib/{node/get-block-properties-5bf39e63.cjs → browser/get-block-properties-deacdc91.cjs} +1 -1
- package/vue2/lib/browser/{get-processed-block-9288ea54.js → get-processed-block-2f7badd8.js} +2 -2
- package/vue2/lib/browser/{get-processed-block-91e4a6e7.cjs → get-processed-block-44868ee6.cjs} +1 -1
- package/vue2/lib/{node/index-c57f5973.js → browser/index-6ce45901.js} +390 -345
- package/vue2/lib/browser/index-bf80435b.cjs +124 -0
- package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +1 -1
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +1 -1
- package/vue2/lib/browser/inlined-script-567369fc.cjs +1 -0
- package/vue2/lib/{edge/inlined-script-fc1632d4.js → browser/inlined-script-c0cae21b.js} +2 -2
- package/vue2/lib/{node/inlined-styles-42260024.cjs → browser/inlined-styles-420ee28e.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-240de5b4.js → browser/inlined-styles-a5789a45.js} +1 -1
- package/vue2/lib/{node/interactive-element-1350568d.cjs → browser/interactive-element-3a8e1819.cjs} +1 -1
- package/vue2/lib/{node/interactive-element-b4e340c4.js → browser/interactive-element-be7c3cca.js} +5 -5
- package/vue2/lib/browser/{repeated-block-97182eb4.cjs → repeated-block-cda24fc1.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-6878e061.js → browser/repeated-block-d2924830.js} +2 -2
- package/vue2/lib/{node/styles-5dab5d20.cjs → browser/styles-4394cb3b.cjs} +2 -2
- package/vue2/lib/{node/styles-10277cc4.js → browser/styles-761dab39.js} +2 -2
- package/vue2/lib/{browser/block-bbdd4bbb.js → edge/block-6b69b000.js} +11 -9
- package/vue2/lib/edge/block-ca6608fc.cjs +3 -0
- package/vue2/lib/edge/{block-styles-20474584.js → block-styles-4cc9f141.js} +5 -5
- package/vue2/lib/{node/block-styles-adf14a80.cjs → edge/block-styles-7b5f3a8f.cjs} +1 -1
- package/vue2/lib/{node/block-wrapper-54248068.js → edge/block-wrapper-2b945a1b.js} +5 -5
- package/vue2/lib/edge/{block-wrapper-c985a6b3.cjs → block-wrapper-47a17093.cjs} +1 -1
- package/vue2/lib/edge/blocks/video/video.vue.d.ts +24 -2
- package/vue2/lib/{browser/blocks-wrapper-a3b425e3.js → edge/blocks-wrapper-70a091a6.js} +1 -1
- package/vue2/lib/{browser/blocks-wrapper-d3c9afbc.cjs → edge/blocks-wrapper-7339087f.cjs} +1 -1
- package/vue2/lib/{node/component-ref-c8e396f3.js → edge/component-ref-560915c3.js} +6 -6
- package/vue2/lib/{node/component-ref-33c4e95f.cjs → edge/component-ref-d30e784b.cjs} +1 -1
- package/vue2/lib/edge/components/content/content.helpers.d.ts +1 -1
- package/vue2/lib/edge/components/content/content.types.d.ts +0 -4
- package/vue2/lib/edge/components/content/content.vue.d.ts +1 -1
- package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -1
- package/vue2/lib/edge/components/content-variants/helpers.d.ts +3 -3
- package/vue2/lib/edge/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/edge/{content-805edb5d.js → content-57bc4f42.js} +32 -38
- package/vue2/lib/{browser/content-484c1d94.cjs → edge/content-b151215b.cjs} +1 -1
- package/vue2/lib/{browser/css-a80a98f6.cjs → edge/css-212b6f26.cjs} +1 -1
- package/vue2/lib/edge/{css-9f79d13d.js → css-e71756bc.js} +1 -1
- package/vue2/lib/edge/enable-editor-7cda726f.cjs +1 -0
- package/vue2/lib/{node/enable-editor-e908239e.js → edge/enable-editor-f32de0ee.js} +15 -16
- package/vue2/lib/edge/{evaluate-b67dfd22.js → evaluate-7ef8d079.js} +1 -1
- package/vue2/lib/edge/{evaluate-d3b0ca3a.cjs → evaluate-ae242f0c.cjs} +1 -1
- package/vue2/lib/{browser/get-block-actions-b68490d6.js → edge/get-block-actions-16aad06a.js} +2 -2
- package/vue2/lib/edge/{get-block-actions-96e37194.cjs → get-block-actions-7ecb51a0.cjs} +1 -1
- package/vue2/lib/edge/{get-block-properties-778edb4c.js → get-block-properties-29a2d888.js} +2 -2
- package/vue2/lib/{browser/get-block-properties-286be966.cjs → edge/get-block-properties-8ea816eb.cjs} +1 -1
- package/vue2/lib/edge/{get-processed-block-602a1b01.cjs → get-processed-block-c2f59c36.cjs} +1 -1
- package/vue2/lib/{node/get-processed-block-81f805a3.js → edge/get-processed-block-ceeee74c.js} +2 -2
- package/vue2/lib/{browser/index-415058f0.js → edge/index-13a478c9.js} +390 -345
- package/vue2/lib/edge/index-17aded8e.cjs +124 -0
- package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +1 -1
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +1 -1
- package/vue2/lib/{node/inlined-script-dcb17d43.js → edge/inlined-script-46088a59.js} +2 -2
- package/vue2/lib/edge/inlined-script-c18f4bac.cjs +1 -0
- package/vue2/lib/{browser/inlined-styles-07758945.cjs → edge/inlined-styles-036d1968.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-d20349d7.js → inlined-styles-7ddf1959.js} +1 -1
- package/vue2/lib/{browser/interactive-element-a3d3be9d.cjs → edge/interactive-element-473210e5.cjs} +1 -1
- package/vue2/lib/edge/{interactive-element-b4849ceb.js → interactive-element-50db3a7e.js} +5 -5
- package/vue2/lib/edge/{repeated-block-5aaeef66.cjs → repeated-block-2d730ce8.cjs} +1 -1
- package/vue2/lib/{browser/repeated-block-9791978c.js → edge/repeated-block-ae7fe7ad.js} +2 -2
- package/vue2/lib/{browser/styles-154aef3f.cjs → edge/styles-229bdcb6.cjs} +2 -2
- package/vue2/lib/{browser/styles-051d498f.js → edge/styles-514a7860.js} +2 -2
- package/vue2/lib/node/block-67819011.cjs +3 -0
- package/vue2/lib/node/{block-78ba2a3e.js → block-fe2e5888.js} +11 -9
- package/vue2/lib/{browser/block-styles-29b829dd.js → node/block-styles-6dd31eb8.js} +5 -5
- package/vue2/lib/{browser/block-styles-9328fb7d.cjs → node/block-styles-b28a2e1f.cjs} +1 -1
- package/vue2/lib/node/{block-wrapper-27fb6132.cjs → block-wrapper-403d207d.cjs} +1 -1
- package/vue2/lib/{edge/block-wrapper-32af7936.js → node/block-wrapper-c1574900.js} +5 -5
- package/vue2/lib/node/blocks/video/video.vue.d.ts +24 -2
- package/vue2/lib/node/{blocks-wrapper-e1d963b3.cjs → blocks-wrapper-0de6d65d.cjs} +1 -1
- package/vue2/lib/node/{blocks-wrapper-b59829bd.js → blocks-wrapper-ca5a81fb.js} +1 -1
- package/vue2/lib/{browser/component-ref-0589d5a6.cjs → node/component-ref-5c513a84.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-b2801b9d.js → node/component-ref-efab49f4.js} +6 -6
- package/vue2/lib/node/components/content/content.helpers.d.ts +1 -1
- package/vue2/lib/node/components/content/content.types.d.ts +0 -4
- package/vue2/lib/node/components/content/content.vue.d.ts +1 -1
- package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +1 -1
- package/vue2/lib/node/components/content-variants/helpers.d.ts +3 -3
- package/vue2/lib/node/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/{content-ab7f569f.js → content-55436eac.js} +32 -38
- package/vue2/lib/{edge/content-f7a25139.cjs → node/content-a5b1f8b2.cjs} +1 -1
- package/vue2/lib/node/{css-e106e812.js → css-a05e89b2.js} +1 -1
- package/vue2/lib/{edge/css-15966f53.cjs → node/css-a083942f.cjs} +1 -1
- package/vue2/lib/{edge/enable-editor-74dc919f.js → node/enable-editor-b1a0289d.js} +15 -16
- package/vue2/lib/node/enable-editor-f903aba9.cjs +1 -0
- package/vue2/lib/node/{evaluate-8ce74ed7.js → evaluate-524b960e.js} +1 -1
- package/vue2/lib/node/{evaluate-578e7319.cjs → evaluate-654ec4aa.cjs} +1 -1
- package/vue2/lib/node/{get-block-actions-e89270ee.cjs → get-block-actions-1fed2d11.cjs} +1 -1
- package/vue2/lib/{edge/get-block-actions-c94a37cf.js → node/get-block-actions-f7890b23.js} +2 -2
- package/vue2/lib/node/{get-block-properties-69b8d069.js → get-block-properties-12b28e9b.js} +2 -2
- package/vue2/lib/{edge/get-block-properties-f5fa3731.cjs → node/get-block-properties-f2ba3458.cjs} +1 -1
- package/vue2/lib/node/{get-processed-block-97df756c.cjs → get-processed-block-19c83033.cjs} +1 -1
- package/vue2/lib/{edge/get-processed-block-54bff0fc.js → node/get-processed-block-7aabe9a2.js} +2 -2
- package/vue2/lib/node/index-acebd2be.cjs +124 -0
- package/vue2/lib/{edge/index-77e26970.js → node/index-f0eb3cdd.js} +390 -345
- package/vue2/lib/node/index-helpers/blocks-exports.d.ts +1 -1
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +1 -1
- package/vue2/lib/{browser/inlined-script-1c7edb12.js → node/inlined-script-87aaded8.js} +2 -2
- package/vue2/lib/node/inlined-script-cf7aba95.cjs +1 -0
- package/vue2/lib/{browser/inlined-styles-68e291c0.js → node/inlined-styles-6405713e.js} +1 -1
- package/vue2/lib/{edge/inlined-styles-caad3a42.cjs → node/inlined-styles-c8d067f7.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-9eab9ce1.cjs → node/interactive-element-552d9c1d.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-79a97fd6.js → node/interactive-element-891aeec9.js} +5 -5
- package/vue2/lib/node/{repeated-block-27a3e1d3.cjs → repeated-block-07c3fd09.cjs} +1 -1
- package/vue2/lib/{edge/repeated-block-d8050ade.js → node/repeated-block-e394bfe9.js} +2 -2
- package/vue2/lib/{edge/styles-0a856ca5.cjs → node/styles-58b07f41.cjs} +2 -2
- package/vue2/lib/{edge/styles-e5a274a0.js → node/styles-bd4da0bf.js} +2 -2
- package/vue2/package.json +7 -1
- package/vue3/lib/{edge/block-wrapper.1f927343.js → browser/block-wrapper.1f981181.js} +2 -2
- package/vue3/lib/browser/{block-wrapper.d6e60490.cjs → block-wrapper.a606ebe4.cjs} +1 -1
- package/vue3/lib/browser/blocks/video/video.vue.d.ts +23 -1
- package/vue3/lib/{edge/component-ref.f2ae1ebb.js → browser/component-ref.c8d76b1a.js} +2 -2
- package/vue3/lib/{edge/component-ref.534af9c2.cjs → browser/component-ref.dab1249c.cjs} +1 -1
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -3
- package/vue3/lib/browser/components/content/content.helpers.d.ts +1 -1
- package/vue3/lib/browser/components/content/content.types.d.ts +0 -4
- package/vue3/lib/browser/components/content/content.vue.d.ts +1 -4
- package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +2 -4
- package/vue3/lib/browser/components/content-variants/helpers.d.ts +3 -3
- package/vue3/lib/browser/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/{edge/get-block-actions.a33a6af2.js → browser/get-block-actions.16dc4164.js} +1 -1
- package/vue3/lib/browser/{get-block-actions.eb7c0337.cjs → get-block-actions.79d46437.cjs} +1 -1
- package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +1 -1
- package/vue3/lib/browser/index.27a34e20.cjs +161 -0
- package/vue3/lib/browser/{index.46955270.js → index.2d766828.js} +811 -747
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/browser/{repeated-block.89fbe870.cjs → repeated-block.4627ce3b.cjs} +1 -1
- package/vue3/lib/{edge/repeated-block.fe22cc98.js → browser/repeated-block.af88918c.js} +2 -2
- package/vue3/lib/{browser/block-wrapper.e408ea89.js → edge/block-wrapper.34ad49eb.js} +2 -2
- package/vue3/lib/edge/{block-wrapper.78571e4d.cjs → block-wrapper.3525d917.cjs} +1 -1
- package/vue3/lib/edge/blocks/video/video.vue.d.ts +23 -1
- package/vue3/lib/{browser/component-ref.0e8b6425.js → edge/component-ref.868e79d9.js} +2 -2
- package/vue3/lib/{browser/component-ref.50435d0f.cjs → edge/component-ref.9057a2c5.cjs} +1 -1
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -3
- package/vue3/lib/edge/components/content/content.helpers.d.ts +1 -1
- package/vue3/lib/edge/components/content/content.types.d.ts +0 -4
- package/vue3/lib/edge/components/content/content.vue.d.ts +1 -4
- package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +2 -4
- package/vue3/lib/edge/components/content-variants/helpers.d.ts +3 -3
- package/vue3/lib/edge/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/{node/get-block-actions.29e1fd1c.cjs → edge/get-block-actions.a62ff620.cjs} +1 -1
- package/vue3/lib/{browser/get-block-actions.ace1771f.js → edge/get-block-actions.d5d9bee8.js} +1 -1
- package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +1 -1
- package/vue3/lib/edge/{index.3e2fe9ff.js → index.78e1db34.js} +1251 -1187
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.dfd25e6d.cjs +181 -0
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/{browser/repeated-block.b30c8a4a.js → edge/repeated-block.078146fa.js} +2 -2
- package/vue3/lib/edge/{repeated-block.76e3553f.cjs → repeated-block.c5a87c23.cjs} +1 -1
- package/vue3/lib/node/{block-wrapper.0414e44b.js → block-wrapper.1f42acaf.js} +2 -2
- package/vue3/lib/node/{block-wrapper.2cee43bd.cjs → block-wrapper.807f65f7.cjs} +1 -1
- package/vue3/lib/node/blocks/video/video.vue.d.ts +23 -1
- package/vue3/lib/node/{component-ref.c303a83f.js → component-ref.2e134a43.js} +2 -2
- package/vue3/lib/node/{component-ref.719df81c.cjs → component-ref.68fab46d.cjs} +1 -1
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +0 -3
- package/vue3/lib/node/components/content/content.helpers.d.ts +1 -1
- package/vue3/lib/node/components/content/content.types.d.ts +0 -4
- package/vue3/lib/node/components/content/content.vue.d.ts +1 -4
- package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +2 -4
- package/vue3/lib/node/components/content-variants/helpers.d.ts +3 -3
- package/vue3/lib/node/components/content-variants/inlined-fns.d.ts +14 -0
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/{edge/get-block-actions.15671f27.cjs → node/get-block-actions.4aa48fd9.cjs} +1 -1
- package/vue3/lib/node/{get-block-actions.e790b914.js → get-block-actions.51b5b9e1.js} +1 -1
- package/vue3/lib/node/index-helpers/blocks-exports.d.ts +1 -1
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.d650e668.cjs +201 -0
- package/vue3/lib/node/{index.f69e3181.js → index.fd3a9724.js} +773 -709
- package/vue3/lib/node/index.js +1 -1
- package/vue3/lib/node/{repeated-block.bd1fbe63.cjs → repeated-block.89e247ac.cjs} +1 -1
- package/vue3/lib/node/{repeated-block.7000302e.js → repeated-block.a5d8bef5.js} +2 -2
- package/vue3/package.json +7 -1
- package/vue2/lib/browser/block-7fc4bd0f.cjs +0 -3
- package/vue2/lib/browser/enable-editor-707dc987.cjs +0 -1
- package/vue2/lib/browser/index-da0b5822.cjs +0 -32
- package/vue2/lib/browser/inlined-script-e9825733.cjs +0 -1
- package/vue2/lib/edge/block-10ec81cd.cjs +0 -3
- package/vue2/lib/edge/enable-editor-d2f9e563.cjs +0 -1
- package/vue2/lib/edge/index-fa9296e5.cjs +0 -32
- package/vue2/lib/edge/inlined-script-cf7d9fb7.cjs +0 -1
- package/vue2/lib/node/block-09c38329.cjs +0 -3
- package/vue2/lib/node/enable-editor-96fb8ac5.cjs +0 -1
- package/vue2/lib/node/index-4d92a1cd.cjs +0 -32
- package/vue2/lib/node/inlined-script-589725e1.cjs +0 -1
- package/vue3/lib/browser/index.af59269f.cjs +0 -69
- package/vue3/lib/edge/index.2fc5bcab.cjs +0 -89
- package/vue3/lib/node/index.d4e23d88.cjs +0 -109
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a } from "vue";
|
|
2
|
-
import { g as p } from "./get-processed-block-
|
|
3
|
-
import { e as m } from "./evaluate-
|
|
4
|
-
import { n as d } from "./index-
|
|
2
|
+
import { g as p } from "./get-processed-block-2f7badd8.js";
|
|
3
|
+
import { e as m } from "./evaluate-9a88b50c.js";
|
|
4
|
+
import { n as d } from "./index-6ce45901.js";
|
|
5
5
|
function h(t) {
|
|
6
6
|
var e;
|
|
7
7
|
return {
|
|
@@ -68,22 +68,22 @@ const k = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen",
|
|
|
68
68
|
},
|
|
69
69
|
block: r
|
|
70
70
|
}));
|
|
71
|
-
}, C = () => import("./block-styles-
|
|
71
|
+
}, C = () => import("./block-styles-33adc3cd.js").then((t) => t.default).catch((t) => {
|
|
72
72
|
throw console.error(
|
|
73
73
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
74
74
|
t
|
|
75
75
|
), t;
|
|
76
|
-
}), B = () => import("./block-wrapper-
|
|
76
|
+
}), B = () => import("./block-wrapper-950d3006.js").then((t) => t.default).catch((t) => {
|
|
77
77
|
throw console.error(
|
|
78
78
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
79
79
|
t
|
|
80
80
|
), t;
|
|
81
|
-
}), g = () => import("./component-ref-
|
|
81
|
+
}), g = () => import("./component-ref-2413b882.js").then((t) => t.default).catch((t) => {
|
|
82
82
|
throw console.error(
|
|
83
83
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
84
84
|
t
|
|
85
85
|
), t;
|
|
86
|
-
}), S = () => import("./repeated-block-
|
|
86
|
+
}), S = () => import("./repeated-block-d2924830.js").then((t) => t.default).catch((t) => {
|
|
87
87
|
throw console.error(
|
|
88
88
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
89
89
|
t
|
|
@@ -115,7 +115,8 @@ const k = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen",
|
|
|
115
115
|
});
|
|
116
116
|
},
|
|
117
117
|
processedBlock() {
|
|
118
|
-
|
|
118
|
+
var t;
|
|
119
|
+
return (t = this.block.repeat) != null && t.collection ? this.block : p({
|
|
119
120
|
block: this.block,
|
|
120
121
|
localState: this.context.localState,
|
|
121
122
|
rootState: this.context.rootState,
|
|
@@ -128,7 +129,8 @@ const k = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen",
|
|
|
128
129
|
return this.block.tagName || "div";
|
|
129
130
|
},
|
|
130
131
|
canShowBlock() {
|
|
131
|
-
|
|
132
|
+
var t, e;
|
|
133
|
+
return "hide" in this.processedBlock ? !this.processedBlock.hide : "show" in this.processedBlock ? this.processedBlock.show : !((t = this.block.repeat) != null && t.collection && !((e = this.repeatItem) != null && e.length));
|
|
132
134
|
},
|
|
133
135
|
childrenWithoutParentComponent() {
|
|
134
136
|
var e;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),p=require("./get-processed-block-44868ee6.cjs"),m=require("./evaluate-0e925150.cjs"),d=require("./index-bf80435b.cjs");function h(t){var e;return{...(e=t.component)==null?void 0:e.options,...t.options,builderBlock:t}}const u=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],k=t=>typeof t=="string"&&u.includes(t.toLowerCase()),f=({block:t,context:e,registeredComponents:o})=>{var c;const r=(c=p.getProcessedBlock({block:t,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context,shouldEvaluateBindings:!1}).component)==null?void 0:c.name;if(!r)return null;const n=o[r];if(n)return n;console.warn(`
|
|
2
|
+
Could not find a registered component named "${r}".
|
|
3
|
+
If you registered it, is the file that registered it imported by the file that needs to render it?`)},b=({block:t,context:e})=>{const{repeat:o,...r}=t;if(!(o!=null&&o.collection))return;const n=m.evaluate({code:o.collection,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context});if(!Array.isArray(n))return;const c=o.collection.split(".").pop(),s=o.itemName||(c?c+"Item":"item");return n.map((l,i)=>({context:{...e,localState:{...e.localState,$index:i,$item:l,[s]:l,[`$${s}Index`]:i}},block:r}))},C=()=>Promise.resolve().then(()=>require("./block-styles-e0d81772.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",t),t}),g=()=>Promise.resolve().then(()=>require("./block-wrapper-41011f58.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",t),t}),B=()=>Promise.resolve().then(()=>require("./component-ref-f0dd90c7.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",t),t}),S=()=>Promise.resolve().then(()=>require("./repeated-block-cda24fc1.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",t),t}),P=a.defineComponent({name:"block",components:{"component-ref":B,"block-wrapper":g,"repeated-block":S,"block-styles":C},props:["block","context","registeredComponents"],data(){return{childrenContext:this.context,isEmptyHtmlElement:k}},computed:{blockComponent(){return f({block:this.block,context:this.context,registeredComponents:this.registeredComponents})},repeatItem(){return b({block:this.block,context:this.context})},processedBlock(){var t;return(t=this.block.repeat)!=null&&t.collection?this.block:p.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0})},Tag(){return this.block.tagName||"div"},canShowBlock(){var t,e;return"hide"in this.processedBlock?!this.processedBlock.hide:"show"in this.processedBlock?this.processedBlock.show:!((t=this.block.repeat)!=null&&t.collection&&!((e=this.repeatItem)!=null&&e.length))},childrenWithoutParentComponent(){var e;return!((e=this.blockComponent)!=null&&e.component)&&!this.repeatItem?this.processedBlock.children??[]:[]},componentRefProps(){var t,e,o,r,n;return{blockChildren:this.processedBlock.children??[],componentRef:(t=this.blockComponent)==null?void 0:t.component,componentOptions:{...h(this.processedBlock),builderContext:this.context,...((e=this.blockComponent)==null?void 0:e.name)==="Symbol"||((o=this.blockComponent)==null?void 0:o.name)==="Columns"?{builderComponents:this.registeredComponents}:{}},context:this.childrenContext,registeredComponents:this.registeredComponents,builderBlock:this.processedBlock,includeBlockProps:((r=this.blockComponent)==null?void 0:r.noWrap)===!0,isInteractive:!((n=this.blockComponent)!=null&&n.isRSC)}}}});var x=function(){var r;var e=this,o=e._self._c;return e._self._setupProxy,(r=e.blockComponent)!=null&&r.noWrap&&e.canShowBlock?o("component-ref",{attrs:{componentRef:e.componentRefProps.componentRef,componentOptions:e.componentRefProps.componentOptions,blockChildren:e.componentRefProps.blockChildren,context:e.componentRefProps.context,registeredComponents:e.componentRefProps.registeredComponents,builderBlock:e.componentRefProps.builderBlock,includeBlockProps:e.componentRefProps.includeBlockProps,isInteractive:e.componentRefProps.isInteractive}}):e.isEmptyHtmlElement(e.Tag)&&e.canShowBlock?o("block-wrapper",{attrs:{Wrapper:e.Tag,block:e.processedBlock,context:e.context,hasChildren:!1}}):!e.isEmptyHtmlElement(e.Tag)&&e.repeatItem&&e.canShowBlock?o("div",{staticClass:"vue2-root-element-workaround"},e._l(e.repeatItem,function(n,c){return o("repeated-block",{key:c,attrs:{repeatContext:n.context,block:n.block,registeredComponents:e.registeredComponents}})}),1):e.canShowBlock?o("block-wrapper",{attrs:{Wrapper:e.Tag,block:e.processedBlock,context:e.context,hasChildren:!0}},[o("component-ref",{attrs:{componentRef:e.componentRefProps.componentRef,componentOptions:e.componentRefProps.componentOptions,blockChildren:e.componentRefProps.blockChildren,context:e.componentRefProps.context,registeredComponents:e.componentRefProps.registeredComponents,builderBlock:e.componentRefProps.builderBlock,includeBlockProps:e.componentRefProps.includeBlockProps,isInteractive:e.componentRefProps.isInteractive}}),e._l(e.childrenWithoutParentComponent,function(n,c){return o("block",{key:"block-"+n.id,attrs:{block:n,context:e.childrenContext,registeredComponents:e.registeredComponents}})}),e._l(e.childrenWithoutParentComponent,function(n,c){return o("block-styles",{key:"block-style-"+n.id,attrs:{block:n,context:e.childrenContext}})})],2):e._e()},R=[],y=d.normalizeComponent(P,x,R,!1,null,null,null,null);const v=y.exports;exports.default=v;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as y } from "vue";
|
|
2
|
-
import { T as f, c as m, g as x, a as d, n as _ } from "./index-
|
|
3
|
-
import { g as u } from "./get-processed-block-
|
|
4
|
-
import { c as n } from "./css-
|
|
5
|
-
import "./evaluate-
|
|
6
|
-
const k = () => import("./inlined-styles-
|
|
2
|
+
import { T as f, c as m, g as x, a as d, n as _ } from "./index-6ce45901.js";
|
|
3
|
+
import { g as u } from "./get-processed-block-2f7badd8.js";
|
|
4
|
+
import { c as n } from "./css-42aa7f84.js";
|
|
5
|
+
import "./evaluate-9a88b50c.js";
|
|
6
|
+
const k = () => import("./inlined-styles-a5789a45.js").then((e) => e.default).catch((e) => {
|
|
7
7
|
throw console.error(
|
|
8
8
|
"Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",
|
|
9
9
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("vue"),s=require("./index-bf80435b.cjs"),d=require("./get-processed-block-44868ee6.cjs"),c=require("./css-605fcc40.cjs");require("./evaluate-0e925150.cjs");const p=()=>Promise.resolve().then(()=>require("./inlined-styles-420ee28e.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",t),t}),k=y.defineComponent({name:"block-styles",components:{"inlined-styles":p},props:["block","context"],data(){return{TARGET:s.TARGET}},computed:{canShowBlock(){const t=d.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return s.checkIsDefined(t.hide)?!t.hide:s.checkIsDefined(t.show)?t.show:!0},css(){var u;const t=d.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),e=t.responsiveStyles,o=this.context.content,r=s.getSizesForBreakpoints(((u=o==null?void 0:o.meta)==null?void 0:u.breakpoints)||{}),l=e==null?void 0:e.large,a=e==null?void 0:e.medium,i=e==null?void 0:e.small,n=t.id;if(!n)return"";const S=l?c.createCssClass({className:n,styles:l}):"",m=a?c.createCssClass({className:n,styles:a,mediaQuery:s.getMaxWidthQueryForSize("medium",r)}):"",h=i?c.createCssClass({className:n,styles:i,mediaQuery:s.getMaxWidthQueryForSize("small",r)}):"";return[S,m,h].join(" ")}}});var x=function(){var e=this,o=e._self._c;return e._self._setupProxy,e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?o("inlined-styles",{attrs:{styles:e.css}}):e._e()},_=[],f=s.normalizeComponent(k,x,_,!1,null,null,null,null);const g=f.exports;exports.default=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-f45b7d64.cjs"),c=require("./get-block-properties-deacdc91.cjs"),n=require("./index-bf80435b.cjs");require("./evaluate-0e925150.cjs");require("./css-605fcc40.cjs");const l=o.defineComponent({name:"block-wrapper",props:["Wrapper","block","context","hasChildren"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:c.getBlockProperties}}});var a=function(){var t=this,e=t._self._c;return t._self._setupProxy,t.hasChildren?e(t.Wrapper,t._g(t._b({tag:"component"},"component",t.getBlockProperties({block:t.block,context:t.context}),!1),t.getBlockActions({block:t.block,rootState:t.context.rootState,rootSetState:t.context.rootSetState,localState:t.context.localState,context:t.context.context,stripPrefix:!0})),[t._t("default")],2):e(t.Wrapper,t._g(t._b({tag:"component"},"component",t.getBlockProperties({block:t.block,context:t.context}),!1),t.getBlockActions({block:t.block,rootState:t.context.rootState,rootSetState:t.context.rootSetState,localState:t.context.localState,context:t.context.context,stripPrefix:!0})))},s=[],i=n.normalizeComponent(l,a,s,!1,null,null,null,null);const p=i.exports;exports.default=p;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as e } from "vue";
|
|
2
|
-
import { g as r } from "./get-block-actions-
|
|
3
|
-
import { g as c } from "./get-block-properties-
|
|
4
|
-
import { n } from "./index-
|
|
5
|
-
import "./evaluate-
|
|
6
|
-
import "./css-
|
|
2
|
+
import { g as r } from "./get-block-actions-abefbd5a.js";
|
|
3
|
+
import { g as c } from "./get-block-properties-6bf3a9f6.js";
|
|
4
|
+
import { n } from "./index-6ce45901.js";
|
|
5
|
+
import "./evaluate-9a88b50c.js";
|
|
6
|
+
import "./css-42aa7f84.js";
|
|
7
7
|
const a = e({
|
|
8
8
|
name: "block-wrapper",
|
|
9
9
|
props: ["Wrapper", "block", "context", "hasChildren"],
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
1
2
|
export interface VideoProps {
|
|
2
3
|
attributes?: any;
|
|
3
4
|
video?: string;
|
|
@@ -14,11 +15,17 @@ export interface VideoProps {
|
|
|
14
15
|
position?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
|
|
15
16
|
posterImage?: string;
|
|
16
17
|
lazyLoad?: boolean;
|
|
18
|
+
children?: any;
|
|
19
|
+
fitContent?: boolean;
|
|
20
|
+
builderBlock?: BuilderBlock;
|
|
17
21
|
}
|
|
18
22
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
19
23
|
video?: any;
|
|
20
24
|
attributes?: any;
|
|
25
|
+
aspectRatio?: any;
|
|
21
26
|
position?: any;
|
|
27
|
+
builderBlock?: any;
|
|
28
|
+
fitContent?: any;
|
|
22
29
|
autoPlay?: any;
|
|
23
30
|
muted?: any;
|
|
24
31
|
controls?: any;
|
|
@@ -27,6 +34,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
27
34
|
preload?: any;
|
|
28
35
|
fit?: any;
|
|
29
36
|
posterImage?: any;
|
|
37
|
+
lazyLoad?: any;
|
|
30
38
|
}>, {}, {}, {
|
|
31
39
|
videoProps(): {
|
|
32
40
|
playsInline?: boolean | undefined;
|
|
@@ -35,11 +43,20 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
35
43
|
muted?: boolean | undefined;
|
|
36
44
|
autoPlay?: boolean | undefined;
|
|
37
45
|
};
|
|
38
|
-
spreadProps():
|
|
39
|
-
|
|
46
|
+
spreadProps(): {
|
|
47
|
+
playsInline?: boolean | undefined;
|
|
48
|
+
loop?: boolean | undefined;
|
|
49
|
+
controls?: boolean | undefined;
|
|
50
|
+
muted?: boolean | undefined;
|
|
51
|
+
autoPlay?: boolean | undefined;
|
|
52
|
+
};
|
|
53
|
+
}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
40
54
|
video?: any;
|
|
41
55
|
attributes?: any;
|
|
56
|
+
aspectRatio?: any;
|
|
42
57
|
position?: any;
|
|
58
|
+
builderBlock?: any;
|
|
59
|
+
fitContent?: any;
|
|
43
60
|
autoPlay?: any;
|
|
44
61
|
muted?: any;
|
|
45
62
|
controls?: any;
|
|
@@ -48,10 +65,14 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
48
65
|
preload?: any;
|
|
49
66
|
fit?: any;
|
|
50
67
|
posterImage?: any;
|
|
68
|
+
lazyLoad?: any;
|
|
51
69
|
}>>>, {
|
|
52
70
|
readonly video?: any;
|
|
53
71
|
readonly attributes?: any;
|
|
72
|
+
readonly aspectRatio?: any;
|
|
54
73
|
readonly position?: any;
|
|
74
|
+
readonly builderBlock?: any;
|
|
75
|
+
readonly fitContent?: any;
|
|
55
76
|
readonly autoPlay?: any;
|
|
56
77
|
readonly muted?: any;
|
|
57
78
|
readonly controls?: any;
|
|
@@ -60,5 +81,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
60
81
|
readonly preload?: any;
|
|
61
82
|
readonly fit?: any;
|
|
62
83
|
readonly posterImage?: any;
|
|
84
|
+
readonly lazyLoad?: any;
|
|
63
85
|
}>;
|
|
64
86
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./index-bf80435b.cjs"),a=o.defineComponent({name:"builder-blocks-wrapper",props:["blocks","parent","path","styleProp"],computed:{className(){var t;return"builder-blocks"+((t=this.blocks)!=null&&t.length?"":" no-blocks")}},methods:{onClick(){var t,e;r.isEditing()&&!((t=this.blocks)!=null&&t.length)&&((e=window.parent)==null||e.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:this.parent,dataPath:this.path}},"*"))},onMouseEnter(){var t,e;r.isEditing()&&!((t=this.blocks)!=null&&t.length)&&((e=window.parent)==null||e.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:this.parent,dataPath:this.path}},"*"))},_classStringToObject(t){const e={};if(typeof t!="string")return e;const s=t.trim().split(/\s+/);for(const n of s)e[n]=!0;return e}}});var i=function(){var e=this,s=e._self._c;return e._self._setupProxy,s("div",e._b({class:e._classStringToObject(e.className+" div-tqyw9m0iue"),style:e.styleProp,attrs:{"builder-path":e.path,"builder-parent-id":e.parent},on:{click:function(n){return e.onClick()},mouseenter:function(n){return e.onMouseEnter()},keypress:function(n){return e.onClick()}}},"div",{},!1),[e._t("default")],2)},l=[],c=r.normalizeComponent(a,i,l,!1,null,"a3106f07",null,null);const p=c.exports;exports.default=p;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p } from "vue";
|
|
2
|
-
import { g as s } from "./get-block-properties-
|
|
3
|
-
import { n as a } from "./index-
|
|
4
|
-
import "./css-
|
|
2
|
+
import { g as s } from "./get-block-properties-6bf3a9f6.js";
|
|
3
|
+
import { n as a } from "./index-6ce45901.js";
|
|
4
|
+
import "./css-42aa7f84.js";
|
|
5
5
|
const m = (t) => t, k = ({
|
|
6
6
|
componentOptions: t,
|
|
7
7
|
builderBlock: e,
|
|
@@ -27,17 +27,17 @@ const m = (t) => t, k = ({
|
|
|
27
27
|
context: i
|
|
28
28
|
})
|
|
29
29
|
} : {}
|
|
30
|
-
}, u = () => import("./block-
|
|
30
|
+
}, u = () => import("./block-b8bfcb77.js").then((t) => t.default).catch((t) => {
|
|
31
31
|
throw console.error(
|
|
32
32
|
"Error while attempting to dynamically import component Block at ../../block.vue",
|
|
33
33
|
t
|
|
34
34
|
), t;
|
|
35
|
-
}), f = () => import("./block-styles-
|
|
35
|
+
}), f = () => import("./block-styles-33adc3cd.js").then((t) => t.default).catch((t) => {
|
|
36
36
|
throw console.error(
|
|
37
37
|
"Error while attempting to dynamically import component BlockStyles at ../block-styles.vue",
|
|
38
38
|
t
|
|
39
39
|
), t;
|
|
40
|
-
}), c = () => import("./interactive-element-
|
|
40
|
+
}), c = () => import("./interactive-element-be7c3cca.js").then((t) => t.default).catch((t) => {
|
|
41
41
|
throw console.error(
|
|
42
42
|
"Error while attempting to dynamically import component InteractiveElement at ../interactive-element.vue",
|
|
43
43
|
t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),p=require("./get-block-properties-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),p=require("./get-block-properties-deacdc91.cjs"),a=require("./index-bf80435b.cjs");require("./css-605fcc40.cjs");const m=t=>t,u=({componentOptions:t,builderBlock:e,context:n,componentRef:o,includeBlockProps:r,isInteractive:l,contextValue:i})=>l?{Wrapper:o,block:e,context:n,wrapperProps:t}:{...t,...r?{attributes:p.getBlockProperties({block:e,context:i})}:{}},d=()=>Promise.resolve().then(()=>require("./block-f18eeef5.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component Block at ../../block.vue",t),t}),k=()=>Promise.resolve().then(()=>require("./block-styles-e0d81772.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block-styles.vue",t),t}),c=()=>Promise.resolve().then(()=>require("./interactive-element-3a8e1819.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component InteractiveElement at ../interactive-element.vue",t),t}),f=s.defineComponent({name:"component-ref",components:{block:d,"block-styles":k,"interactive-element":c},props:["isInteractive","componentRef","componentOptions","builderBlock","context","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?m(c):this.componentRef,getWrapperProps:u}}});var v=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.componentRef?n(e.Wrapper,e._b({tag:"component"},"component",e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),!1),[e._l(e.blockChildren,function(o,r){return n("block",{key:"block-"+o.id,attrs:{block:o,context:e.context,registeredComponents:e.registeredComponents}})}),e._l(e.blockChildren,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.context}})})],2):e._e()},b=[],_=a.normalizeComponent(f,v,b,!1,null,null,null,null);const h=_.exports;exports.default=h;
|
|
@@ -2,6 +2,6 @@ import type { BuilderContent } from '../../types/builder-content.js';
|
|
|
2
2
|
import type { Nullable } from '../../types/typescript.js';
|
|
3
3
|
import type { ContentProps } from './content.types.js';
|
|
4
4
|
export declare const getContextStateInitialValue: ({ content, data, locale }: Pick<ContentProps, 'content' | 'data' | 'locale'>) => {
|
|
5
|
-
|
|
5
|
+
locale?: string | undefined;
|
|
6
6
|
};
|
|
7
7
|
export declare const getContentInitialValue: ({ content, data }: Pick<ContentProps, 'content' | 'data'>) => Nullable<BuilderContent>;
|
|
@@ -2,10 +2,6 @@ import type { BuilderRenderState } from '../../context/types.js';
|
|
|
2
2
|
import type { EnforcePartials } from '../../types/enforced-partials.js';
|
|
3
3
|
import type { ContentVariantsPrps } from '../content-variants/content-variants.types.js';
|
|
4
4
|
interface InternalRenderProps {
|
|
5
|
-
/**
|
|
6
|
-
* TO-DO: improve qwik generator to not remap this name for non-HTML tags, then name it `className`
|
|
7
|
-
*/
|
|
8
|
-
classNameProp: string | undefined;
|
|
9
5
|
showContent: boolean;
|
|
10
6
|
isSsrAbTest: boolean;
|
|
11
7
|
}
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<string[], {}, {
|
|
|
8
8
|
content: import("../../types/typescript.js").Nullable<import("../../types/builder-content.js").BuilderContent>;
|
|
9
9
|
localState: undefined;
|
|
10
10
|
rootState: {
|
|
11
|
-
|
|
11
|
+
locale?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
rootSetState: any;
|
|
14
14
|
context: any;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
17
17
|
getScriptString: () => string;
|
|
18
18
|
getVariants: (content: import("../../helpers/nullable.js").Nullable<import("../../types/builder-content.js").BuilderContent>) => any;
|
|
19
19
|
}, {
|
|
20
|
-
|
|
20
|
+
updateCookieAndStylesScriptStr(): string;
|
|
21
21
|
hideVariantsStyleString(): any;
|
|
22
22
|
defaultContent(): any;
|
|
23
23
|
}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Nullable } from '../../helpers/nullable.js';
|
|
2
2
|
import type { BuilderContent } from '../../types/builder-content.js';
|
|
3
3
|
export declare const getVariants: (content: Nullable<BuilderContent>) => any;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const checkShouldRenderVariants: ({ canTrack, content }: {
|
|
5
5
|
canTrack: Nullable<boolean>;
|
|
6
6
|
content: Nullable<BuilderContent>;
|
|
7
7
|
}) => boolean;
|
|
@@ -10,8 +10,8 @@ type VariantData = {
|
|
|
10
10
|
testRatio?: number;
|
|
11
11
|
};
|
|
12
12
|
export declare const getScriptString: () => string;
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
13
|
+
export declare const getUpdateCookieAndStylesScript: (variants: VariantData[], contentId: string) => string;
|
|
14
|
+
export declare const getUpdateVariantVisibilityScript: ({ contentId, variationId }: {
|
|
15
15
|
variationId: string;
|
|
16
16
|
contentId: string;
|
|
17
17
|
}) => string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WARNING: This file contains functions that get stringified and inlined into the HTML at build-time.
|
|
3
|
+
* They cannot import anything.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* For more information on how this works,
|
|
7
|
+
* see our [SSR A/B Test Docs](https://github.com/BuilderIO/builder/tree/main/packages/sdks/src/SSR_AB_TEST.md)
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* For more information on how this works,
|
|
11
|
+
* see our [SSR A/B Test Docs](https://github.com/BuilderIO/builder/tree/main/packages/sdks/src/SSR_AB_TEST.md)
|
|
12
|
+
*/
|
|
13
|
+
export declare const UPDATE_COOKIES_AND_STYLES_SCRIPT = "function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {\n function getAndSetVariantId() {\n function setCookie(name, value, days) {\n let expires = '';\n if (days) {\n const date = new Date();\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n expires = '; expires=' + date.toUTCString();\n }\n document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${contentId}`;\n const variantInCookie = getCookie(cookieName);\n const availableIDs = variants.map(vr => vr.id).concat(contentId);\n if (variantInCookie && availableIDs.includes(variantInCookie)) {\n return variantInCookie;\n }\n let n = 0;\n const random = Math.random();\n for (let i = 0; i < variants.length; i++) {\n const variant = variants[i];\n const testRatio = variant.testRatio;\n n += testRatio;\n if (random < n) {\n setCookie(cookieName, variant.id);\n return variant.id;\n }\n }\n setCookie(cookieName, contentId);\n return contentId;\n }\n const winningVariantId = getAndSetVariantId();\n const styleEl = document.currentScript?.previousElementSibling;\n if (isHydrationTarget) {\n styleEl.remove();\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n } else {\n const newStyleStr = variants.concat({\n id: contentId\n }).filter(variant => variant.id !== winningVariantId).map(value => {\n return `.variant-${value.id} { display: none; }\n `;\n }).join('');\n styleEl.innerHTML = newStyleStr;\n }\n}";
|
|
14
|
+
export declare const UPDATE_VARIANT_VISIBILITY_SCRIPT = "function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {\n if (!navigator.cookieEnabled) {\n return;\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${defaultContentId}`;\n const winningVariant = getCookie(cookieName);\n const parentDiv = document.currentScript?.parentElement;\n const isDefaultContent = variantContentId === defaultContentId;\n const isWinningVariant = winningVariant === variantContentId;\n if (isWinningVariant && !isDefaultContent) {\n parentDiv?.removeAttribute('hidden');\n parentDiv?.removeAttribute('aria-hidden');\n } else if (!isWinningVariant && isDefaultContent) {\n parentDiv?.setAttribute('hidden', 'true');\n parentDiv?.setAttribute('aria-hidden', 'true');\n }\n if (isHydrationTarget) {\n if (!isWinningVariant) {\n parentDiv?.remove();\n }\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n }\n return;\n}";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.7.
|
|
1
|
+
export declare const SDK_VERSION = "0.7.5";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p } from "vue";
|
|
2
|
-
import { n as u, i as y, b as x, B as v, C as _, F as S, I as T, S as I, d as C, e as w, V as k, h as
|
|
3
|
-
const
|
|
2
|
+
import { n as u, i as y, b as x, B as v, C as _, F as S, I as T, S as I, d as C, e as w, V as k, h as F, j as f, s as g, T as R, k as V } from "./index-6ce45901.js";
|
|
3
|
+
const E = {
|
|
4
4
|
name: "Core:Button",
|
|
5
5
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
6
6
|
defaultStyles: {
|
|
@@ -212,7 +212,7 @@ const V = {
|
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
const n = e.get("columns");
|
|
215
|
-
Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((
|
|
215
|
+
Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((s) => !s.get("width")) || n.reduce((r, l) => r + l.get("width"), 0) !== 100) && t();
|
|
216
216
|
}
|
|
217
217
|
}, {
|
|
218
218
|
name: "space",
|
|
@@ -302,15 +302,15 @@ const V = {
|
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
|
-
var
|
|
305
|
+
var U = function() {
|
|
306
306
|
var t = this, n = t._self._c;
|
|
307
307
|
return t._self._setupProxy, n("div", { ref: "elementRef", class: t._classStringToObject(
|
|
308
308
|
"builder-custom-code" + (t.replaceNodes ? " replace-nodes" : "")
|
|
309
309
|
), domProps: { innerHTML: t._s(t.code) } });
|
|
310
|
-
},
|
|
310
|
+
}, P = [], j = /* @__PURE__ */ u(
|
|
311
311
|
$,
|
|
312
|
-
P,
|
|
313
312
|
U,
|
|
313
|
+
P,
|
|
314
314
|
!1,
|
|
315
315
|
null,
|
|
316
316
|
null,
|
|
@@ -342,7 +342,7 @@ const H = j.exports, L = {
|
|
|
342
342
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
343
343
|
hideFromUI: !0
|
|
344
344
|
}]
|
|
345
|
-
}, z = ["text/javascript", "application/javascript", "application/ecmascript"], D = (e) => z.includes(e.type),
|
|
345
|
+
}, z = ["text/javascript", "application/javascript", "application/ecmascript"], D = (e) => z.includes(e.type), M = p({
|
|
346
346
|
name: "builder-embed",
|
|
347
347
|
props: ["content"],
|
|
348
348
|
data() {
|
|
@@ -385,20 +385,20 @@ const H = j.exports, L = {
|
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
});
|
|
388
|
-
var
|
|
388
|
+
var q = function() {
|
|
389
389
|
var t = this, n = t._self._c;
|
|
390
390
|
return t._self._setupProxy, n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: t._s(t.content) } });
|
|
391
|
-
},
|
|
392
|
-
N,
|
|
391
|
+
}, B = [], N = /* @__PURE__ */ u(
|
|
393
392
|
M,
|
|
394
393
|
q,
|
|
394
|
+
B,
|
|
395
395
|
!1,
|
|
396
396
|
null,
|
|
397
397
|
null,
|
|
398
398
|
null,
|
|
399
399
|
null
|
|
400
400
|
);
|
|
401
|
-
const K =
|
|
401
|
+
const K = N.exports, O = {
|
|
402
402
|
name: "Fragment",
|
|
403
403
|
static: !0,
|
|
404
404
|
hidden: !0,
|
|
@@ -425,11 +425,11 @@ const K = B.exports, O = {
|
|
|
425
425
|
onChange: (e) => {
|
|
426
426
|
e.delete("srcset"), e.delete("noWebp");
|
|
427
427
|
function n(i, r = 6e4) {
|
|
428
|
-
return new Promise((
|
|
428
|
+
return new Promise((l, c) => {
|
|
429
429
|
const d = document.createElement("img");
|
|
430
430
|
let m = !1;
|
|
431
431
|
d.onload = () => {
|
|
432
|
-
m = !0,
|
|
432
|
+
m = !0, l(d);
|
|
433
433
|
}, d.addEventListener("error", (h) => {
|
|
434
434
|
console.warn("Image load failed", h.error), c(h.error);
|
|
435
435
|
}), d.src = i, setTimeout(() => {
|
|
@@ -440,10 +440,10 @@ const K = B.exports, O = {
|
|
|
440
440
|
function a(i) {
|
|
441
441
|
return Math.round(i * 1e3) / 1e3;
|
|
442
442
|
}
|
|
443
|
-
const o = e.get("image"),
|
|
443
|
+
const o = e.get("image"), s = e.get("aspectRatio");
|
|
444
444
|
if (fetch(o).then((i) => i.blob()).then((i) => {
|
|
445
445
|
i.type.includes("svg") && e.set("noWebp", !0);
|
|
446
|
-
}), o && (!
|
|
446
|
+
}), o && (!s || s === 0.7041))
|
|
447
447
|
return n(o).then((i) => {
|
|
448
448
|
const r = e.get("aspectRatio");
|
|
449
449
|
e.get("image") === o && (!r || r === 0.7041) && i.width && i.height && (e.set("aspectRatio", a(i.height / i.width)), e.set("height", i.height), e.set("width", i.width));
|
|
@@ -721,7 +721,7 @@ const ee = Z.exports, te = {
|
|
|
721
721
|
}]
|
|
722
722
|
}, b = () => [{
|
|
723
723
|
component: v,
|
|
724
|
-
...
|
|
724
|
+
...E
|
|
725
725
|
}, {
|
|
726
726
|
component: _,
|
|
727
727
|
...A
|
|
@@ -757,23 +757,18 @@ const ee = Z.exports, te = {
|
|
|
757
757
|
data: t,
|
|
758
758
|
locale: n
|
|
759
759
|
}) => {
|
|
760
|
-
var
|
|
761
|
-
const a = {};
|
|
762
|
-
(
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
...(r = e == null ? void 0 : e.data) == null ? void 0 : r.state,
|
|
760
|
+
var s, i, r;
|
|
761
|
+
const a = {}, o = ((s = e == null ? void 0 : e.data) == null ? void 0 : s.state) || {};
|
|
762
|
+
return (r = (i = e == null ? void 0 : e.data) == null ? void 0 : i.inputs) == null || r.forEach((l) => {
|
|
763
|
+
l.name && l.defaultValue !== void 0 && (a[l.name] = l.defaultValue);
|
|
764
|
+
}), {
|
|
765
|
+
...a,
|
|
766
|
+
...o,
|
|
768
767
|
...t,
|
|
769
768
|
...n ? {
|
|
770
769
|
locale: n
|
|
771
770
|
} : {}
|
|
772
771
|
};
|
|
773
|
-
return {
|
|
774
|
-
...a,
|
|
775
|
-
...o
|
|
776
|
-
};
|
|
777
772
|
}, re = ({
|
|
778
773
|
content: e,
|
|
779
774
|
data: t
|
|
@@ -784,22 +779,22 @@ const ee = Z.exports, te = {
|
|
|
784
779
|
...t
|
|
785
780
|
},
|
|
786
781
|
meta: e == null ? void 0 : e.meta
|
|
787
|
-
} : void 0, se = () => import("./index-
|
|
782
|
+
} : void 0, se = () => import("./index-6ce45901.js").then((e) => e.M).then((e) => e.default).catch((e) => {
|
|
788
783
|
throw console.error(
|
|
789
784
|
"Error while attempting to dynamically import component Blocks at ../blocks/blocks.vue",
|
|
790
785
|
e
|
|
791
786
|
), e;
|
|
792
|
-
}), le = () => import("./inlined-script-
|
|
787
|
+
}), le = () => import("./inlined-script-c0cae21b.js").then((e) => e.default).catch((e) => {
|
|
793
788
|
throw console.error(
|
|
794
789
|
"Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
|
|
795
790
|
e
|
|
796
791
|
), e;
|
|
797
|
-
}), ce = () => import("./enable-editor-
|
|
792
|
+
}), ce = () => import("./enable-editor-bba63d74.js").then((e) => e.default).catch((e) => {
|
|
798
793
|
throw console.error(
|
|
799
794
|
"Error while attempting to dynamically import component EnableEditor at ./components/enable-editor.vue",
|
|
800
795
|
e
|
|
801
796
|
), e;
|
|
802
|
-
}), de = () => import("./styles-
|
|
797
|
+
}), de = () => import("./styles-761dab39.js").then((e) => e.default).catch((e) => {
|
|
803
798
|
throw console.error(
|
|
804
799
|
"Error while attempting to dynamically import component ContentStyles at ./components/styles.vue",
|
|
805
800
|
e
|
|
@@ -824,14 +819,13 @@ const ee = Z.exports, te = {
|
|
|
824
819
|
"canTrack",
|
|
825
820
|
"includeRefs",
|
|
826
821
|
"enrich",
|
|
827
|
-
"classNameProp",
|
|
828
822
|
"showContent",
|
|
829
823
|
"isSsrAbTest"
|
|
830
824
|
],
|
|
831
825
|
data() {
|
|
832
826
|
var e, t;
|
|
833
827
|
return {
|
|
834
|
-
scriptStr:
|
|
828
|
+
scriptStr: F({
|
|
835
829
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
836
830
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
837
831
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -889,13 +883,13 @@ const ee = Z.exports, te = {
|
|
|
889
883
|
),
|
|
890
884
|
inheritedStyles: {}
|
|
891
885
|
},
|
|
892
|
-
TARGET:
|
|
886
|
+
TARGET: R
|
|
893
887
|
};
|
|
894
888
|
},
|
|
895
889
|
provide() {
|
|
896
890
|
const e = this;
|
|
897
891
|
return {
|
|
898
|
-
[
|
|
892
|
+
[V.key]: {
|
|
899
893
|
registeredComponents: e.registeredComponents
|
|
900
894
|
}
|
|
901
895
|
};
|
|
@@ -907,9 +901,9 @@ const ee = Z.exports, te = {
|
|
|
907
901
|
}
|
|
908
902
|
});
|
|
909
903
|
var ue = function() {
|
|
910
|
-
var a, o,
|
|
904
|
+
var a, o, s, i, r, l, c;
|
|
911
905
|
var t = this, n = t._self._c;
|
|
912
|
-
return t._self._setupProxy, n("enable-editor", t._b({ attrs: { content: t.content, model: t.model, context: t.context, apiKey: t.apiKey, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich,
|
|
906
|
+
return t._self._setupProxy, n("enable-editor", t._b({ attrs: { content: t.content, model: t.model, context: t.context, apiKey: t.apiKey, canTrack: t.canTrack, locale: t.locale, includeRefs: t.includeRefs, enrich: t.enrich, showContent: t.showContent, builderContextSignal: t.builderContextSignal } }, "enable-editor", {}, !1), [t.isSsrAbTest ? [n("inlined-script", { attrs: { scriptStr: t.scriptStr } })] : t._e(), t.TARGET !== "reactNative" ? [n("content-styles", { attrs: { contentId: (a = t.builderContextSignal.content) == null ? void 0 : a.id, cssCode: (s = (o = t.builderContextSignal.content) == null ? void 0 : o.data) == null ? void 0 : s.cssCode, customFonts: (r = (i = t.builderContextSignal.content) == null ? void 0 : i.data) == null ? void 0 : r.customFonts } })] : t._e(), n("blocks", { attrs: { blocks: (c = (l = t.builderContextSignal.content) == null ? void 0 : l.data) == null ? void 0 : c.blocks, context: t.builderContextSignal, registeredComponents: t.registeredComponents } })], 2);
|
|
913
907
|
}, me = [], he = /* @__PURE__ */ u(
|
|
914
908
|
pe,
|
|
915
909
|
ue,
|