@builder.io/sdk-vue 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/{block-styles-qEzB1AE4.js → block-styles-2lYNYVH3.js} +1 -1
- package/lib/browser/{block-styles-h0NwSSoD.cjs → block-styles-y6pFfJz3.cjs} +1 -1
- package/lib/browser/{block-wrapper-74EOWuCY.js → block-wrapper-a1zxMruE.js} +3 -3
- package/lib/browser/{block-wrapper-cY3VTwbu.cjs → block-wrapper-mlbE709c.cjs} +1 -1
- package/lib/browser/blocks/button/button.types.d.ts +1 -1
- package/lib/browser/blocks/button/button.vue.d.ts +1 -1
- package/lib/browser/blocks/button/component-info.d.ts +1 -1
- package/lib/browser/blocks/columns/columns.types.d.ts +2 -2
- package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/browser/blocks/columns/component-info.d.ts +1 -1
- package/lib/browser/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/browser/blocks/embed/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/form/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/browser/blocks/form/input/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/browser/blocks/form/select/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/browser/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/browser/blocks/fragment/component-info.d.ts +1 -1
- package/lib/browser/blocks/image/component-info.d.ts +1 -1
- package/lib/browser/blocks/image/image.types.d.ts +1 -1
- package/lib/browser/blocks/img/component-info.d.ts +1 -1
- package/lib/browser/blocks/img/img.vue.d.ts +2 -2
- package/lib/browser/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/browser/blocks/section/component-info.d.ts +1 -1
- package/lib/browser/blocks/section/section.vue.d.ts +1 -1
- package/lib/browser/blocks/slot/component-info.d.ts +1 -1
- package/lib/browser/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/browser/blocks/symbol/component-info.d.ts +1 -1
- package/lib/browser/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/browser/blocks/text/component-info.d.ts +1 -1
- package/lib/browser/blocks/textarea/component-info.d.ts +1 -1
- package/lib/browser/blocks/video/component-info.d.ts +1 -1
- package/lib/browser/blocks/video/video.types.d.ts +1 -1
- package/lib/browser/{component-ref-LM6x3Bcl.js → component-ref-5K3RMLKh.js} +2 -2
- package/lib/browser/{component-ref-Q1s_RePh.cjs → component-ref-mNbBuzhy.cjs} +1 -1
- package/lib/browser/components/block/animator.d.ts +1 -1
- package/lib/browser/components/block/block.helpers.d.ts +4 -4
- package/lib/browser/components/block/block.vue.d.ts +4 -4
- package/lib/browser/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/browser/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/browser/components/block/types.d.ts +2 -2
- package/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/browser/components/blocks/blocks.types.d.ts +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/browser/components/content/content.helpers.d.ts +3 -3
- package/lib/browser/components/content/content.types.d.ts +2 -2
- package/lib/browser/components/content/content.vue.d.ts +14 -14
- package/lib/browser/components/content/contentProps.types.d.ts +1 -1
- package/lib/browser/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/browser/components/content-variants/helpers.d.ts +5 -5
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/browser/constants/builder-registered-components.d.ts +1 -1
- package/lib/browser/constants/extra-components.d.ts +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/constants/target.d.ts +1 -1
- package/lib/browser/context/index.d.ts +1 -1
- package/lib/browser/context/types.d.ts +4 -4
- package/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/browser/functions/evaluate/helpers.d.ts +3 -3
- package/lib/browser/functions/evaluate/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/browser/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/browser/functions/fetch-builder-props.d.ts +3 -3
- package/lib/browser/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/browser/functions/get-block-actions.d.ts +2 -2
- package/lib/browser/functions/get-block-component-options.d.ts +1 -1
- package/lib/browser/functions/get-block-properties.d.ts +2 -2
- package/lib/browser/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/browser/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/browser/functions/get-content/index.d.ts +2 -2
- package/lib/browser/functions/get-content/types.d.ts +139 -0
- package/lib/browser/functions/get-processed-block.d.ts +2 -2
- package/lib/browser/functions/get-style.d.ts +2 -2
- package/lib/browser/functions/is-editing.d.ts +1 -1
- package/lib/browser/functions/is-previewing.d.ts +1 -1
- package/lib/browser/functions/register-component.d.ts +1 -1
- package/lib/browser/functions/register.d.ts +2 -2
- package/lib/browser/functions/track/index.d.ts +2 -2
- package/lib/browser/functions/transform-block-properties.d.ts +2 -2
- package/lib/browser/functions/transform-block.d.ts +1 -1
- package/lib/browser/functions/transform-style-property.d.ts +2 -2
- package/lib/browser/{get-block-properties-JqO02Pvj.js → get-block-properties-4MopDiTP.js} +1 -1
- package/lib/browser/{get-block-properties-3XNUCHH5.cjs → get-block-properties-PuGrG7pm.cjs} +1 -1
- package/lib/browser/helpers/ab-tests.d.ts +3 -3
- package/lib/browser/helpers/cookie.d.ts +1 -1
- package/lib/browser/helpers/localStorage.d.ts +2 -2
- package/lib/browser/helpers/logger.d.ts +1 -0
- package/lib/browser/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/browser/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/browser/helpers/sessionId.d.ts +1 -1
- package/lib/browser/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/browser/helpers/visitorId.d.ts +1 -1
- package/lib/browser/{index-boTk8cd2.cjs → index-OSGu6alT.cjs} +5 -5
- package/lib/browser/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/browser/{index-cWs7iJKE.js → index-mwZzSIN7.js} +51 -52
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.d.cts +3 -3
- package/lib/browser/index.d.mts +3 -3
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block-w8LmwHBS.cjs → repeated-block-VP4euR8a.cjs} +1 -1
- package/lib/browser/{repeated-block-2XTmcIT3.js → repeated-block-hUFMTXXS.js} +2 -2
- package/lib/browser/server-index.d.ts +27 -27
- package/lib/browser/style.css +1 -1
- package/lib/browser/types/builder-content.d.ts +3 -3
- package/lib/browser/types/builder-props.d.ts +2 -2
- package/lib/browser/types/components.d.ts +2 -2
- package/lib/edge/{block-styles-DY4QgHPp.cjs → block-styles-_eYB_Fxz.cjs} +1 -1
- package/lib/{node/block-styles-0bjSdiE1.js → edge/block-styles-nhMA9R4s.js} +1 -1
- package/lib/{node/block-wrapper-l6jhviaq.cjs → edge/block-wrapper-4RaFHsBw.cjs} +1 -1
- package/lib/edge/{block-wrapper-MB2DAb22.js → block-wrapper-xgShkhuq.js} +3 -3
- package/lib/edge/blocks/button/button.types.d.ts +1 -1
- package/lib/edge/blocks/button/button.vue.d.ts +1 -1
- package/lib/edge/blocks/button/component-info.d.ts +1 -1
- package/lib/edge/blocks/columns/columns.types.d.ts +2 -2
- package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/edge/blocks/columns/component-info.d.ts +1 -1
- package/lib/edge/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/edge/blocks/embed/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/form/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/edge/blocks/form/input/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/edge/blocks/form/select/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/edge/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/edge/blocks/fragment/component-info.d.ts +1 -1
- package/lib/edge/blocks/image/component-info.d.ts +1 -1
- package/lib/edge/blocks/image/image.types.d.ts +1 -1
- package/lib/edge/blocks/img/component-info.d.ts +1 -1
- package/lib/edge/blocks/img/img.vue.d.ts +2 -2
- package/lib/edge/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/edge/blocks/section/component-info.d.ts +1 -1
- package/lib/edge/blocks/section/section.vue.d.ts +1 -1
- package/lib/edge/blocks/slot/component-info.d.ts +1 -1
- package/lib/edge/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/edge/blocks/symbol/component-info.d.ts +1 -1
- package/lib/edge/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/edge/blocks/text/component-info.d.ts +1 -1
- package/lib/edge/blocks/textarea/component-info.d.ts +1 -1
- package/lib/edge/blocks/video/component-info.d.ts +1 -1
- package/lib/edge/blocks/video/video.types.d.ts +1 -1
- package/lib/{node/component-ref-_PZ_f7VE.cjs → edge/component-ref-KD6yANwg.cjs} +1 -1
- package/lib/{node/component-ref-hMFqpMd5.js → edge/component-ref-kGbDg8GR.js} +2 -2
- package/lib/edge/components/block/animator.d.ts +1 -1
- package/lib/edge/components/block/block.helpers.d.ts +4 -4
- package/lib/edge/components/block/block.vue.d.ts +4 -4
- package/lib/edge/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/edge/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/edge/components/block/types.d.ts +2 -2
- package/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/edge/components/blocks/blocks.types.d.ts +1 -1
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/edge/components/content/content.helpers.d.ts +3 -3
- package/lib/edge/components/content/content.types.d.ts +2 -2
- package/lib/edge/components/content/content.vue.d.ts +14 -14
- package/lib/edge/components/content/contentProps.types.d.ts +1 -1
- package/lib/edge/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/edge/components/content-variants/helpers.d.ts +5 -5
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/edge/constants/builder-registered-components.d.ts +1 -1
- package/lib/edge/constants/extra-components.d.ts +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/constants/target.d.ts +1 -1
- package/lib/edge/context/index.d.ts +1 -1
- package/lib/edge/context/types.d.ts +4 -4
- package/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/edge/functions/evaluate/helpers.d.ts +3 -3
- package/lib/edge/functions/evaluate/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/edge/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/edge/functions/fetch-builder-props.d.ts +3 -3
- package/lib/edge/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/edge/functions/get-block-actions.d.ts +2 -2
- package/lib/edge/functions/get-block-component-options.d.ts +1 -1
- package/lib/edge/functions/get-block-properties.d.ts +2 -2
- package/lib/edge/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/edge/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/edge/functions/get-content/index.d.ts +2 -2
- package/lib/edge/functions/get-content/types.d.ts +139 -0
- package/lib/edge/functions/get-processed-block.d.ts +2 -2
- package/lib/edge/functions/get-style.d.ts +2 -2
- package/lib/edge/functions/is-editing.d.ts +1 -1
- package/lib/edge/functions/is-previewing.d.ts +1 -1
- package/lib/edge/functions/register-component.d.ts +1 -1
- package/lib/edge/functions/register.d.ts +2 -2
- package/lib/edge/functions/track/index.d.ts +2 -2
- package/lib/edge/functions/transform-block-properties.d.ts +2 -2
- package/lib/edge/functions/transform-block.d.ts +1 -1
- package/lib/edge/functions/transform-style-property.d.ts +2 -2
- package/lib/edge/{get-block-properties-Db253d7J.cjs → get-block-properties-v6bf_R5d.cjs} +1 -1
- package/lib/{node/get-block-properties-ALDt-aYB.js → edge/get-block-properties-yFfbPH85.js} +1 -1
- package/lib/edge/helpers/ab-tests.d.ts +3 -3
- package/lib/edge/helpers/cookie.d.ts +1 -1
- package/lib/edge/helpers/localStorage.d.ts +2 -2
- package/lib/edge/helpers/logger.d.ts +1 -0
- package/lib/edge/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/edge/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/edge/helpers/sessionId.d.ts +1 -1
- package/lib/edge/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/edge/helpers/visitorId.d.ts +1 -1
- package/lib/edge/{index-EgsFYAAH.js → index-Ua4OW_gh.js} +129 -130
- package/lib/edge/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/edge/{index-6jtmxcZK.cjs → index-xnWjf2tW.cjs} +5 -5
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.d.cts +3 -3
- package/lib/edge/index.d.mts +3 -3
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block-v0Tdo6MH.cjs → repeated-block-qRyqdxjD.cjs} +1 -1
- package/lib/edge/{repeated-block-IASkNW44.js → repeated-block-uiPuS74Z.js} +2 -2
- package/lib/edge/server-index.d.ts +27 -27
- package/lib/edge/style.css +1 -1
- package/lib/edge/types/builder-content.d.ts +3 -3
- package/lib/edge/types/builder-props.d.ts +2 -2
- package/lib/edge/types/components.d.ts +2 -2
- package/lib/node/{block-styles-hsIt6cz9.cjs → block-styles-h0iWFk09.cjs} +1 -1
- package/lib/{edge/block-styles-V1jE4Apg.js → node/block-styles-rz8jpORX.js} +1 -1
- package/lib/node/{block-wrapper-4eUteNjO.js → block-wrapper--vej-Ae6.js} +3 -3
- package/lib/{edge/block-wrapper-id_fLCFD.cjs → node/block-wrapper-bGeMckW5.cjs} +1 -1
- package/lib/node/blocks/button/button.types.d.ts +1 -1
- package/lib/node/blocks/button/button.vue.d.ts +1 -1
- package/lib/node/blocks/button/component-info.d.ts +1 -1
- package/lib/node/blocks/columns/columns.types.d.ts +2 -2
- package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/node/blocks/columns/component-info.d.ts +1 -1
- package/lib/node/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/node/blocks/embed/component-info.d.ts +1 -1
- package/lib/node/blocks/form/form/component-info.d.ts +1 -1
- package/lib/node/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/node/blocks/form/input/component-info.d.ts +1 -1
- package/lib/node/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/node/blocks/form/select/component-info.d.ts +1 -1
- package/lib/node/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/node/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/node/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/node/blocks/fragment/component-info.d.ts +1 -1
- package/lib/node/blocks/image/component-info.d.ts +1 -1
- package/lib/node/blocks/image/image.types.d.ts +1 -1
- package/lib/node/blocks/img/component-info.d.ts +1 -1
- package/lib/node/blocks/img/img.vue.d.ts +2 -2
- package/lib/node/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/node/blocks/section/component-info.d.ts +1 -1
- package/lib/node/blocks/section/section.vue.d.ts +1 -1
- package/lib/node/blocks/slot/component-info.d.ts +1 -1
- package/lib/node/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/node/blocks/symbol/component-info.d.ts +1 -1
- package/lib/node/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/node/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/node/blocks/text/component-info.d.ts +1 -1
- package/lib/node/blocks/textarea/component-info.d.ts +1 -1
- package/lib/node/blocks/video/component-info.d.ts +1 -1
- package/lib/node/blocks/video/video.types.d.ts +1 -1
- package/lib/{edge/component-ref-EF1jkhwy.js → node/component-ref-PGVczQrW.js} +2 -2
- package/lib/{edge/component-ref-pUSq0c0J.cjs → node/component-ref-YhLendyR.cjs} +1 -1
- package/lib/node/components/block/animator.d.ts +1 -1
- package/lib/node/components/block/block.helpers.d.ts +4 -4
- package/lib/node/components/block/block.vue.d.ts +4 -4
- package/lib/node/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/node/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/node/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/node/components/block/types.d.ts +2 -2
- package/lib/node/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/node/components/blocks/blocks.types.d.ts +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/node/components/content/content.helpers.d.ts +3 -3
- package/lib/node/components/content/content.types.d.ts +2 -2
- package/lib/node/components/content/content.vue.d.ts +14 -14
- package/lib/node/components/content/contentProps.types.d.ts +1 -1
- package/lib/node/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/node/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/node/components/content-variants/helpers.d.ts +5 -5
- package/lib/node/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/node/constants/builder-registered-components.d.ts +1 -1
- package/lib/node/constants/extra-components.d.ts +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/constants/target.d.ts +1 -1
- package/lib/node/context/index.d.ts +1 -1
- package/lib/node/context/types.d.ts +4 -4
- package/lib/node/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/node/functions/evaluate/helpers.d.ts +3 -3
- package/lib/node/functions/evaluate/index.d.ts +1 -1
- package/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/node/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/node/functions/fetch-builder-props.d.ts +3 -3
- package/lib/node/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/node/functions/get-block-actions.d.ts +2 -2
- package/lib/node/functions/get-block-component-options.d.ts +1 -1
- package/lib/node/functions/get-block-properties.d.ts +2 -2
- package/lib/node/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/node/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/node/functions/get-content/index.d.ts +2 -2
- package/lib/node/functions/get-content/types.d.ts +139 -0
- package/lib/node/functions/get-processed-block.d.ts +2 -2
- package/lib/node/functions/get-style.d.ts +2 -2
- package/lib/node/functions/is-editing.d.ts +1 -1
- package/lib/node/functions/is-previewing.d.ts +1 -1
- package/lib/node/functions/register-component.d.ts +1 -1
- package/lib/node/functions/register.d.ts +2 -2
- package/lib/node/functions/track/index.d.ts +2 -2
- package/lib/node/functions/transform-block-properties.d.ts +2 -2
- package/lib/node/functions/transform-block.d.ts +1 -1
- package/lib/node/functions/transform-style-property.d.ts +2 -2
- package/lib/node/{get-block-properties-IfIhpTyk.cjs → get-block-properties-GTVEiEYp.cjs} +1 -1
- package/lib/{edge/get-block-properties-faT56OMN.js → node/get-block-properties-kAmm-X1q.js} +1 -1
- package/lib/node/helpers/ab-tests.d.ts +3 -3
- package/lib/node/helpers/cookie.d.ts +1 -1
- package/lib/node/helpers/localStorage.d.ts +2 -2
- package/lib/node/helpers/logger.d.ts +1 -0
- package/lib/node/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/node/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/node/helpers/sessionId.d.ts +1 -1
- package/lib/node/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/node/helpers/visitorId.d.ts +1 -1
- package/lib/node/{index-u36w67Cr.cjs → index-XIqTnRyC.cjs} +13 -6
- package/lib/node/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/node/{index-3WfVCyJd.js → index-mnDtU0q8.js} +41 -24
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.d.cts +3 -3
- package/lib/node/index.d.mts +3 -3
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block-dIHQGH39.cjs → repeated-block-SWSMCPvd.cjs} +1 -1
- package/lib/node/{repeated-block-qd2uOmxH.js → repeated-block-tjhtQDPA.js} +2 -2
- package/lib/node/server-index.d.ts +27 -27
- package/lib/node/style.css +1 -1
- package/lib/node/types/builder-content.d.ts +3 -3
- package/lib/node/types/builder-props.d.ts +2 -2
- package/lib/node/types/components.d.ts +2 -2
- package/package.json +1 -1
package/lib/edge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-xnWjf2tW.cjs");exports.Blocks=e.Blocks;exports.BuilderContext=e.BuilderContext;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/edge/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './index-helpers/top-of-file
|
|
1
|
+
export * from './index-helpers/top-of-file';
|
|
2
2
|
/**
|
|
3
3
|
* In the React SDK, this file is marked with `use client`.
|
|
4
4
|
*/
|
|
5
|
-
export * from './index-helpers/blocks-exports
|
|
5
|
+
export * from './index-helpers/blocks-exports';
|
|
6
6
|
/**
|
|
7
7
|
* In the React SDK, this file is not marked with `use client`, to allow
|
|
8
8
|
* NextJS App Directory to use the SDK helper functions without issues.
|
|
9
9
|
*/
|
|
10
|
-
export * from './server-index
|
|
10
|
+
export * from './server-index';
|
package/lib/edge/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './index-helpers/top-of-file
|
|
1
|
+
export * from './index-helpers/top-of-file';
|
|
2
2
|
/**
|
|
3
3
|
* In the React SDK, this file is marked with `use client`.
|
|
4
4
|
*/
|
|
5
|
-
export * from './index-helpers/blocks-exports
|
|
5
|
+
export * from './index-helpers/blocks-exports';
|
|
6
6
|
/**
|
|
7
7
|
* In the React SDK, this file is not marked with `use client`, to allow
|
|
8
8
|
* NextJS App Directory to use the SDK helper functions without issues.
|
|
9
9
|
*/
|
|
10
|
-
export * from './server-index
|
|
10
|
+
export * from './server-index';
|
package/lib/edge/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a, j as t, k as r, C as o, o as i, F as n, I as c, S as g, l, m, V as u, z as d, r as C, y as p, A as B, D as E, u as S, p as f, q as h, s as x, t as b, x as k, v as y } from "./index-
|
|
1
|
+
import { n as a, j as t, k as r, C as o, o as i, F as n, I as c, S as g, l, m, V as u, z as d, r as C, y as p, A as B, D as E, u as S, p as f, q as h, s as x, t as b, x as k, v as y } from "./index-Ua4OW_gh.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Blocks,
|
|
4
4
|
t as BuilderContext,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-xnWjf2tW.cjs"),r=()=>Promise.resolve().then(()=>require("./index-xnWjf2tW.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents","linkComponent"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,a,m,d){const n=o.resolveComponent("block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"])}const l=t._export_sfc(c,[["render",s]]);exports.default=l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as p } from "vue";
|
|
2
|
-
import { j as s, e as l } from "./index-
|
|
3
|
-
const i = () => import("./index-
|
|
2
|
+
import { j as s, e as l } from "./index-Ua4OW_gh.js";
|
|
3
|
+
const i = () => import("./index-Ua4OW_gh.js").then((e) => e.G).then((e) => e.default).catch((e) => {
|
|
4
4
|
throw console.error(
|
|
5
5
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
6
|
e
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export * from './index-helpers/top-of-file
|
|
1
|
+
export * from './index-helpers/top-of-file';
|
|
2
2
|
/**
|
|
3
3
|
* Component Prop types
|
|
4
4
|
*/
|
|
5
|
-
export type { ButtonProps } from './blocks/button/button.types
|
|
6
|
-
export type { ColumnProps } from './blocks/columns/columns.types
|
|
7
|
-
export type { FragmentProps } from './blocks/fragment/fragment.types
|
|
8
|
-
export type { ImageProps } from './blocks/image/image.types
|
|
9
|
-
export type { SectionProps } from './blocks/section/section.types
|
|
10
|
-
export type { SymbolProps } from './blocks/symbol/symbol.types
|
|
11
|
-
export type { TextProps } from './blocks/text/text.types
|
|
12
|
-
export type { VideoProps } from './blocks/video/video.types
|
|
13
|
-
export type { BlocksProps } from './components/blocks/blocks.types
|
|
14
|
-
export type { ContentVariantsPrps as ContentProps } from './components/content-variants/content-variants.types
|
|
5
|
+
export type { ButtonProps } from './blocks/button/button.types';
|
|
6
|
+
export type { ColumnProps } from './blocks/columns/columns.types';
|
|
7
|
+
export type { FragmentProps } from './blocks/fragment/fragment.types';
|
|
8
|
+
export type { ImageProps } from './blocks/image/image.types';
|
|
9
|
+
export type { SectionProps } from './blocks/section/section.types';
|
|
10
|
+
export type { SymbolProps } from './blocks/symbol/symbol.types';
|
|
11
|
+
export type { TextProps } from './blocks/text/text.types';
|
|
12
|
+
export type { VideoProps } from './blocks/video/video.types';
|
|
13
|
+
export type { BlocksProps } from './components/blocks/blocks.types';
|
|
14
|
+
export type { ContentVariantsPrps as ContentProps } from './components/content-variants/content-variants.types';
|
|
15
15
|
/**
|
|
16
16
|
* General Builder types
|
|
17
17
|
*/
|
|
18
|
-
export type { RegisteredComponent } from './context/types
|
|
19
|
-
export type { BuilderBlock } from './types/builder-block
|
|
20
|
-
export type { BuilderContent } from './types/builder-content
|
|
21
|
-
export type { ComponentInfo } from './types/components
|
|
18
|
+
export type { RegisteredComponent } from './context/types';
|
|
19
|
+
export type { BuilderBlock } from './types/builder-block';
|
|
20
|
+
export type { BuilderContent } from './types/builder-content';
|
|
21
|
+
export type { ComponentInfo } from './types/components';
|
|
22
22
|
/**
|
|
23
23
|
* Helper functions
|
|
24
24
|
*/
|
|
25
|
-
export { isEditing } from './functions/is-editing
|
|
26
|
-
export { isPreviewing } from './functions/is-previewing
|
|
27
|
-
export { createRegisterComponentMessage } from './functions/register-component
|
|
28
|
-
export { register } from './functions/register
|
|
29
|
-
export type { InsertMenuConfig, InsertMenuItem } from './functions/register
|
|
30
|
-
export { setEditorSettings } from './functions/set-editor-settings
|
|
31
|
-
export type { Settings } from './functions/set-editor-settings
|
|
32
|
-
export { getBuilderSearchParams } from './functions/get-builder-search-params/index
|
|
33
|
-
export { track } from './functions/track/index
|
|
34
|
-
export { subscribeToEditor } from './helpers/subscribe-to-editor
|
|
25
|
+
export { isEditing } from './functions/is-editing';
|
|
26
|
+
export { isPreviewing } from './functions/is-previewing';
|
|
27
|
+
export { createRegisterComponentMessage } from './functions/register-component';
|
|
28
|
+
export { register } from './functions/register';
|
|
29
|
+
export type { InsertMenuConfig, InsertMenuItem } from './functions/register';
|
|
30
|
+
export { setEditorSettings } from './functions/set-editor-settings';
|
|
31
|
+
export type { Settings } from './functions/set-editor-settings';
|
|
32
|
+
export { getBuilderSearchParams } from './functions/get-builder-search-params/index';
|
|
33
|
+
export { track } from './functions/track/index';
|
|
34
|
+
export { subscribeToEditor } from './helpers/subscribe-to-editor';
|
|
35
35
|
/**
|
|
36
36
|
* Content fetching
|
|
37
37
|
*/
|
|
38
|
-
export { fetchBuilderProps } from './functions/fetch-builder-props
|
|
39
|
-
export { _processContentResult, fetchEntries, fetchOneEntry } from './functions/get-content/index
|
|
38
|
+
export { fetchBuilderProps } from './functions/fetch-builder-props';
|
|
39
|
+
export { _processContentResult, fetchEntries, fetchOneEntry } from './functions/get-content/index';
|
package/lib/edge/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-1o2kztlxdt6[data-v-
|
|
1
|
+
.component-1o2kztlxdt6[data-v-9724ab41]{display:flex;flex-direction:column;align-items:stretch}.div-2fnk003dqad[data-v-6caab097]{display:flex;line-height:normal}.img-1be3j8m9ewb[data-v-dde76a35]{opacity:1;transition:opacity .2s ease-in-out}.div-1be3j8m9ewb[data-v-dde76a35]{width:100%;pointer-events:none;font-size:0}.div-1be3j8m9ewb-2[data-v-dde76a35]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-5vz8uirn7sc[data-v-83a4b1d9]{padding:10px;color:red;text-align:center}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BuilderBlock } from './builder-block
|
|
2
|
-
import type { Input } from './input
|
|
3
|
-
import type { Nullable } from './typescript
|
|
1
|
+
import type { BuilderBlock } from './builder-block';
|
|
2
|
+
import type { Input } from './input';
|
|
3
|
+
import type { Nullable } from './typescript';
|
|
4
4
|
export interface Breakpoints {
|
|
5
5
|
small: number;
|
|
6
6
|
medium: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface, RegisteredComponents } from '../context/types
|
|
2
|
-
import type { BuilderBlock } from './builder-block
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from '../context/types';
|
|
2
|
+
import type { BuilderBlock } from './builder-block';
|
|
3
3
|
export type BuilderDataProps = {
|
|
4
4
|
builderBlock: BuilderBlock;
|
|
5
5
|
builderContext: BuilderContextInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderElement } from './element
|
|
2
|
-
import type { Input } from './input
|
|
1
|
+
import type { BuilderElement } from './element';
|
|
2
|
+
import type { Input } from './input';
|
|
3
3
|
export interface ComponentInfo {
|
|
4
4
|
/**
|
|
5
5
|
* Name your component something unique, e.g. 'MyButton'. You can override built-in components
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index-XIqTnRyC.cjs"),h=s.defineComponent({name:"block-styles",components:{InlinedStyles:t._sfc_main},props:["block","context"],data(){return{TARGET:t.TARGET}},computed:{canShowBlock(){const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return t.checkIsDefined(e.hide)?!e.hide:t.checkIsDefined(e.show)?e.show:!0},css(){var d;const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),o=e.responsiveStyles,c=this.context.content,r=t.getSizesForBreakpoints(((d=c==null?void 0:c.meta)==null?void 0:d.breakpoints)||{}),a=o==null?void 0:o.large,i=o==null?void 0:o.medium,n=o==null?void 0:o.small,l=e.id;if(!l)return"";const u=a?t.createCssClass({className:l,styles:a}):"",S=i?t.createCssClass({className:l,styles:i,mediaQuery:t.getMaxWidthQueryForSize("medium",r)}):"",m=n?t.createCssClass({className:l,styles:n,mediaQuery:t.getMaxWidthQueryForSize("small",r)}):"";return[u,S,m].join(" ")}}});function k(e,o,c,r,a,i){const n=s.resolveComponent("inlined-styles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(s.openBlock(),s.createBlock(n,{key:0,id:"builderio-block",styles:e.css},null,8,["styles"])):s.createCommentVNode("",!0)}const p=t._export_sfc(h,[["render",k]]);exports.default=p;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, resolveComponent as y, openBlock as x, createBlock as f, createCommentVNode as b } from "vue";
|
|
2
|
-
import { _ as B, T as _, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-
|
|
2
|
+
import { _ as B, T as _, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-mnDtU0q8.js";
|
|
3
3
|
const v = k({
|
|
4
4
|
name: "block-styles",
|
|
5
5
|
components: { InlinedStyles: B },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
|
|
2
|
-
import { g as s, a as l } from "./get-block-properties-
|
|
3
|
-
import { e as m } from "./index-
|
|
4
|
-
const d = () => import("./index-
|
|
2
|
+
import { g as s, a as l } from "./get-block-properties-kAmm-X1q.js";
|
|
3
|
+
import { e as m } from "./index-mnDtU0q8.js";
|
|
4
|
+
const d = () => import("./index-mnDtU0q8.js").then((e) => e.E).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-GTVEiEYp.cjs"),n=require("./index-XIqTnRyC.cjs"),c=()=>Promise.resolve().then(()=>require("./index-XIqTnRyC.cjs")).then(e=>e.dynamicRenderer).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",e),e}),a=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(c)},props:["Wrapper","block","context"],data(){return{getBlockActions:o.getBlockActions,getBlockProperties:o.getBlockProperties}}});function i(e,l,p,d,m,u){const r=t.resolveComponent("dynamic-renderer");return t.openBlock(),t.createBlock(r,{TagName:e.Wrapper,attributes:e.getBlockProperties({block:e.block,context:e.context}),actionAttributes:e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const s=n._export_sfc(a,[["render",i]]);exports.default=s;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../types/components';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderBlock } from '../../types/builder-block
|
|
2
|
-
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props
|
|
1
|
+
import type { BuilderBlock } from '../../types/builder-block';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props';
|
|
3
3
|
type Column = {
|
|
4
4
|
blocks: BuilderBlock[];
|
|
5
5
|
width?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { SizeName } from "../../constants/device-sizes
|
|
2
|
-
import { mapStyleObjToStrIfNeeded } from "../../functions/get-style
|
|
3
|
-
import type { Dictionary } from "../../types/typescript
|
|
1
|
+
import type { SizeName } from "../../constants/device-sizes";
|
|
2
|
+
import { mapStyleObjToStrIfNeeded } from "../../functions/get-style";
|
|
3
|
+
import type { Dictionary } from "../../types/typescript";
|
|
4
4
|
type CSSVal = string | number;
|
|
5
5
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
6
6
|
builderContext?: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../types/components';
|
|
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';
|
|
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';
|
|
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';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BuilderBlock } from "../../../types/builder-block
|
|
2
|
-
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props
|
|
3
|
-
import type { Dictionary } from "../../../types/typescript
|
|
4
|
-
import { filterAttrs } from "../../helpers
|
|
1
|
+
import type { BuilderBlock } from "../../../types/builder-block";
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props";
|
|
3
|
+
import type { Dictionary } from "../../../types/typescript";
|
|
4
|
+
import { filterAttrs } from "../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* This import is used by the Svelte SDK. Do not remove.
|
|
7
7
|
*/
|
|
@@ -37,7 +37,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
37
37
|
builderLinkComponent?: any;
|
|
38
38
|
builderBlock?: any;
|
|
39
39
|
builderComponents?: any;
|
|
40
|
-
js?: any;
|
|
41
40
|
previewState?: any;
|
|
42
41
|
sendWithJs?: any;
|
|
43
42
|
sendSubmissionsTo?: any;
|
|
@@ -69,7 +68,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
69
68
|
builderLinkComponent?: any;
|
|
70
69
|
builderBlock?: any;
|
|
71
70
|
builderComponents?: any;
|
|
72
|
-
js?: any;
|
|
73
71
|
previewState?: any;
|
|
74
72
|
sendWithJs?: any;
|
|
75
73
|
sendSubmissionsTo?: any;
|
|
@@ -92,7 +90,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
92
90
|
readonly builderLinkComponent?: any;
|
|
93
91
|
readonly builderBlock?: any;
|
|
94
92
|
readonly builderComponents?: any;
|
|
95
|
-
readonly js?: any;
|
|
96
93
|
readonly previewState?: any;
|
|
97
94
|
readonly sendWithJs?: any;
|
|
98
95
|
readonly sendSubmissionsTo?: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../../types/components';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEditing } from "../../../functions/is-editing
|
|
2
|
-
import { filterAttrs } from "../../helpers
|
|
1
|
+
import { isEditing } from "../../../functions/is-editing";
|
|
2
|
+
import { filterAttrs } from "../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* This import is used by the Svelte SDK. Do not remove.
|
|
5
5
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../../types/components';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEditing } from "../../../functions/is-editing
|
|
2
|
-
import { filterAttrs } from "../../helpers
|
|
1
|
+
import { isEditing } from "../../../functions/is-editing";
|
|
2
|
+
import { filterAttrs } from "../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* This import is used by the Svelte SDK. Do not remove.
|
|
5
5
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../../types/components';
|
|
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';
|
|
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';
|
|
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';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEditing } from "../../functions/is-editing
|
|
2
|
-
import { filterAttrs } from "../helpers
|
|
1
|
+
import { isEditing } from "../../functions/is-editing";
|
|
2
|
+
import { filterAttrs } from "../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* This import is used by the Svelte SDK. Do not remove.
|
|
5
5
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../types/components';
|
|
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';
|
|
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';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuilderDataProps } from "../../types/builder-props
|
|
1
|
+
import type { BuilderDataProps } from "../../types/builder-props";
|
|
2
2
|
export type DropzoneProps = BuilderDataProps & {
|
|
3
3
|
name: string;
|
|
4
4
|
attributes: any;
|
|
@@ -6,14 +6,11 @@ export type DropzoneProps = BuilderDataProps & {
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
7
7
|
name?: any;
|
|
8
8
|
builderContext?: any;
|
|
9
|
-
js?: any;
|
|
10
9
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
11
10
|
name?: any;
|
|
12
11
|
builderContext?: any;
|
|
13
|
-
js?: any;
|
|
14
12
|
}>>>, {
|
|
15
13
|
readonly name?: any;
|
|
16
14
|
readonly builderContext?: any;
|
|
17
|
-
readonly js?: any;
|
|
18
15
|
}, {}>;
|
|
19
16
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../types/components';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from '../../context/types
|
|
2
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
1
|
+
import type { BuilderContextInterface } from '../../context/types';
|
|
2
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
3
3
|
export interface SymbolInfo {
|
|
4
4
|
model?: string;
|
|
5
5
|
entry?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
2
|
-
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props
|
|
1
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
2
|
+
import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props';
|
|
3
3
|
interface SymbolInfo {
|
|
4
4
|
model?: string;
|
|
5
5
|
entry?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ComponentInfo } from '../../types/components
|
|
1
|
+
import type { ComponentInfo } from '../../types/components';
|
|
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';
|
|
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';
|
|
2
2
|
export declare const componentInfo: ComponentInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as r, createBlock as l, resolveDynamicComponent as k, mergeProps as d, withCtx as u, renderSlot as P, resolveComponent as B, normalizeProps as g, createElementBlock as $, Fragment as v, renderList as S, createCommentVNode as W } from "vue";
|
|
2
|
-
import { e as f, B as h, w } from "./index-
|
|
3
|
-
import { g as R, a as b } from "./get-block-properties-
|
|
2
|
+
import { e as f, B as h, w } from "./index-mnDtU0q8.js";
|
|
3
|
+
import { g as R, a as b } from "./get-block-properties-kAmm-X1q.js";
|
|
4
4
|
const I = m({
|
|
5
5
|
name: "interactive-element",
|
|
6
6
|
props: ["wrapperProps", "includeBlockProps", "block", "context", "Wrapper"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-XIqTnRyC.cjs"),a=require("./get-block-properties-GTVEiEYp.cjs"),u=o.defineComponent({name:"interactive-element",props:["wrapperProps","includeBlockProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function d(e,t,c,l,n,s){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:e.includeBlockProps?{...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})}:{}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const k=p._export_sfc(u,[["render",d]]),B=({componentOptions:e,builderBlock:t,context:c,componentRef:l,includeBlockProps:n,isInteractive:s,contextValue:i})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:t,context:i})}:{}};return s?{Wrapper:l,block:t,context:c,wrapperProps:e,includeBlockProps:n}:r},f=o.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:k},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?p.wrapComponentRef(k):this.componentRef,getWrapperProps:B}}});function b(e,t,c,l,n,s){const i=o.resolveComponent("block");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(r,m)=>(o.openBlock(),o.createBlock(i,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):o.createCommentVNode("",!0)}const C=p._export_sfc(f,[["render",b]]);exports.default=C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuilderAnimation } from '../../types/builder-block
|
|
1
|
+
import type { BuilderAnimation } from '../../types/builder-block';
|
|
2
2
|
export declare function bindAnimations(animations: BuilderAnimation[]): void;
|
|
3
3
|
export declare function triggerAnimation(animation: BuilderAnimation): void;
|
|
4
4
|
export declare function bindHoverAnimation(animation: BuilderAnimation): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types
|
|
2
|
-
import type { BuilderBlock } from '../../types/builder-block
|
|
3
|
-
import type { RepeatData } from './types
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types';
|
|
2
|
+
import type { BuilderBlock } from '../../types/builder-block';
|
|
3
|
+
import type { RepeatData } from './types';
|
|
4
4
|
export declare const getComponent: ({ block, context, registeredComponents }: {
|
|
5
5
|
block: BuilderBlock;
|
|
6
6
|
context: BuilderContextInterface;
|
|
7
7
|
registeredComponents: RegisteredComponents;
|
|
8
|
-
}) => import("../../context/types
|
|
8
|
+
}) => import("../../context/types").RegisteredComponent | null | undefined;
|
|
9
9
|
export declare const getRepeatItemData: ({ block, context }: {
|
|
10
10
|
block: BuilderBlock;
|
|
11
11
|
context: BuilderContextInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface, RegisteredComponents } from "../../context/types
|
|
2
|
-
import type { BuilderBlock } from "../../types/builder-block
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from "../../context/types";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block";
|
|
3
3
|
export type BlockProps = {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
12
12
|
registeredComponents?: any;
|
|
13
13
|
linkComponent?: any;
|
|
14
14
|
}>, unknown, unknown, {
|
|
15
|
-
blockComponent(): import("../../context/types
|
|
16
|
-
repeatItem(): import("./types
|
|
15
|
+
blockComponent(): import("../../context/types").RegisteredComponent | null | undefined;
|
|
16
|
+
repeatItem(): import("./types").RepeatData[] | undefined;
|
|
17
17
|
processedBlock(): any;
|
|
18
18
|
Tag(): any;
|
|
19
19
|
canShowBlock(): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from "../../../context/types
|
|
2
|
-
import type { BuilderBlock } from "../../../types/builder-block
|
|
1
|
+
import type { BuilderContextInterface } from "../../../context/types";
|
|
2
|
+
import type { BuilderBlock } from "../../../types/builder-block";
|
|
3
3
|
export type BlockStylesProps = {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
8
8
|
context?: any;
|
|
9
9
|
block?: any;
|
|
10
10
|
}>, unknown, {
|
|
11
|
-
TARGET: import("../../../types/targets
|
|
11
|
+
TARGET: import("../../../types/targets").Target;
|
|
12
12
|
}, {
|
|
13
13
|
canShowBlock(): boolean;
|
|
14
14
|
css(): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getBlockActions } from "../../../functions/get-block-actions
|
|
2
|
-
import { getBlockProperties } from "../../../functions/get-block-properties
|
|
1
|
+
import { getBlockActions } from "../../../functions/get-block-actions";
|
|
2
|
+
import { getBlockProperties } from "../../../functions/get-block-properties";
|
|
3
3
|
/**
|
|
4
4
|
* This component renders a block's wrapper HTML element (from the block's `tagName` property).
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types
|
|
2
|
-
import type { BuilderBlock } from '../../../../types/builder-block
|
|
3
|
-
import type { BuilderDataProps } from '../../../../types/builder-props
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types';
|
|
2
|
+
import type { BuilderBlock } from '../../../../types/builder-block';
|
|
3
|
+
import type { BuilderDataProps } from '../../../../types/builder-props';
|
|
4
4
|
import type { InteractiveElementProps } from '../interactive-element.vue';
|
|
5
5
|
type ComponentOptions = BuilderDataProps & {
|
|
6
6
|
[index: string]: any;
|