@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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { default as Button } from '../blocks/button/index
|
|
2
|
-
export { default as Columns } from '../blocks/columns/index
|
|
3
|
-
export { default as Fragment } from '../blocks/fragment/index
|
|
4
|
-
export { default as Image } from '../blocks/image/index
|
|
5
|
-
export { default as Section } from '../blocks/section/index
|
|
6
|
-
export { default as Symbol } from '../blocks/symbol/index
|
|
7
|
-
export { default as Text } from '../blocks/text/index
|
|
8
|
-
export { default as Video } from '../blocks/video/index
|
|
9
|
-
export { default as Blocks } from '../components/blocks/index
|
|
10
|
-
export { default as Content } from '../components/content-variants/index
|
|
1
|
+
export { default as Button } from '../blocks/button/index';
|
|
2
|
+
export { default as Columns } from '../blocks/columns/index';
|
|
3
|
+
export { default as Fragment } from '../blocks/fragment/index';
|
|
4
|
+
export { default as Image } from '../blocks/image/index';
|
|
5
|
+
export { default as Section } from '../blocks/section/index';
|
|
6
|
+
export { default as Symbol } from '../blocks/symbol/index';
|
|
7
|
+
export { default as Text } from '../blocks/text/index';
|
|
8
|
+
export { default as Video } from '../blocks/video/index';
|
|
9
|
+
export { default as Blocks } from '../components/blocks/index';
|
|
10
|
+
export { default as Content } from '../components/content-variants/index';
|
|
11
11
|
/**
|
|
12
12
|
* Builder Context
|
|
13
13
|
*/
|
|
14
|
-
export { BuilderContext } from '../context/index
|
|
14
|
+
export { BuilderContext } from '../context/index';
|
|
@@ -16,7 +16,7 @@ function filterAttrs(e = {}, t, n) {
|
|
|
16
16
|
}
|
|
17
17
|
const _sfc_main$p = defineComponent({
|
|
18
18
|
name: "dynamic-renderer",
|
|
19
|
-
props: ["
|
|
19
|
+
props: ["TagName", "attributes", "actionAttributes"],
|
|
20
20
|
data() {
|
|
21
21
|
return { isEmptyElement };
|
|
22
22
|
}
|
|
@@ -304,8 +304,26 @@ if (typeof output === 'object' && output !== null) {
|
|
|
304
304
|
|
|
305
305
|
output;
|
|
306
306
|
`;
|
|
307
|
+
};
|
|
308
|
+
let IVM_INSTANCE = null;
|
|
309
|
+
const getIvm = () => {
|
|
310
|
+
try {
|
|
311
|
+
const e = safeDynamicRequire("isolated-vm");
|
|
312
|
+
if (e)
|
|
313
|
+
return e;
|
|
314
|
+
} catch (e) {
|
|
315
|
+
logger.error("isolated-vm import error.", e);
|
|
316
|
+
}
|
|
317
|
+
throw new Error(`${MSG_PREFIX}could not import \`isolated-vm\` module for safe script execution on Node server.
|
|
318
|
+
|
|
319
|
+
In certain Node environments, the SDK requires additional initialization steps. This can be achieved by
|
|
320
|
+
importing and calling \`initializeNodeRuntime()\` from "@builder.io/sdk-react/node/init". This must be done in
|
|
321
|
+
a server-only execution path within your application.
|
|
322
|
+
|
|
323
|
+
Please see the documentation for more information: https://builder.io/c/docs/integration-tips#enabling-data-bindings-in-node-environments
|
|
324
|
+
`);
|
|
307
325
|
}, getIsolateContext = () => {
|
|
308
|
-
const e =
|
|
326
|
+
const e = getIvm();
|
|
309
327
|
return new e.Isolate({
|
|
310
328
|
memoryLimit: 128
|
|
311
329
|
}).createContextSync();
|
|
@@ -318,7 +336,7 @@ output;
|
|
|
318
336
|
rootSetState: s,
|
|
319
337
|
rootState: i
|
|
320
338
|
}) => {
|
|
321
|
-
const a =
|
|
339
|
+
const a = getIvm(), l = fastClone({
|
|
322
340
|
...i,
|
|
323
341
|
...r
|
|
324
342
|
}), c = getFunctionArguments({
|
|
@@ -696,22 +714,22 @@ const getComponent = ({
|
|
|
696
714
|
},
|
|
697
715
|
block: o
|
|
698
716
|
}));
|
|
699
|
-
}, BlockStyles = () => import("./block-styles-
|
|
717
|
+
}, BlockStyles = () => import("./block-styles-rz8jpORX.js").then((e) => e.default).catch((e) => {
|
|
700
718
|
throw console.error(
|
|
701
719
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
702
720
|
e
|
|
703
721
|
), e;
|
|
704
|
-
}), BlockWrapper = () => import("./block-wrapper-
|
|
722
|
+
}), BlockWrapper = () => import("./block-wrapper--vej-Ae6.js").then((e) => e.default).catch((e) => {
|
|
705
723
|
throw console.error(
|
|
706
724
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
707
725
|
e
|
|
708
726
|
), e;
|
|
709
|
-
}), ComponentRef = () => import("./component-ref-
|
|
727
|
+
}), ComponentRef = () => import("./component-ref-PGVczQrW.js").then((e) => e.default).catch((e) => {
|
|
710
728
|
throw console.error(
|
|
711
729
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
712
730
|
e
|
|
713
731
|
), e;
|
|
714
|
-
}), RepeatedBlock = () => import("./repeated-block-
|
|
732
|
+
}), RepeatedBlock = () => import("./repeated-block-tjhtQDPA.js").then((e) => e.default).catch((e) => {
|
|
715
733
|
throw console.error(
|
|
716
734
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
717
735
|
e
|
|
@@ -863,12 +881,12 @@ const Block = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$l
|
|
|
863
881
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = defineComponent({
|
|
864
882
|
name: "builder-blocks-wrapper",
|
|
865
883
|
props: [
|
|
866
|
-
"BlocksWrapper",
|
|
867
884
|
"blocks",
|
|
868
885
|
"parent",
|
|
869
886
|
"path",
|
|
870
887
|
"styleProp",
|
|
871
|
-
"BlocksWrapperProps"
|
|
888
|
+
"BlocksWrapperProps",
|
|
889
|
+
"BlocksWrapper"
|
|
872
890
|
],
|
|
873
891
|
computed: {
|
|
874
892
|
className() {
|
|
@@ -921,7 +939,7 @@ function _sfc_render$k(e, t, n, o, r, s) {
|
|
|
921
939
|
_: 3
|
|
922
940
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
923
941
|
}
|
|
924
|
-
const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$k], ["__scopeId", "data-v-
|
|
942
|
+
const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$k], ["__scopeId", "data-v-9724ab41"]]), _sfc_main$l = defineComponent({
|
|
925
943
|
name: "builder-blocks",
|
|
926
944
|
components: { BlocksWrapper, Block },
|
|
927
945
|
props: [
|
|
@@ -1175,7 +1193,7 @@ function _sfc_render$i(e, t, n, o, r, s) {
|
|
|
1175
1193
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1176
1194
|
], 16);
|
|
1177
1195
|
}
|
|
1178
|
-
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
1196
|
+
const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-6caab097"]]), _sfc_main$i = defineComponent({
|
|
1179
1197
|
name: "builder-fragment-component",
|
|
1180
1198
|
props: []
|
|
1181
1199
|
});
|
|
@@ -1304,7 +1322,7 @@ function _sfc_render$g(e, t, n, o, r, s) {
|
|
|
1304
1322
|
])) : createCommentVNode("", !0)
|
|
1305
1323
|
], 64);
|
|
1306
1324
|
}
|
|
1307
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
1325
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-dde76a35"]]), _sfc_main$g = defineComponent({
|
|
1308
1326
|
name: "builder-section-component",
|
|
1309
1327
|
props: ["attributes", "maxWidth"],
|
|
1310
1328
|
data() {
|
|
@@ -1859,7 +1877,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render
|
|
|
1859
1877
|
}, _sfc_main$f = defineComponent({
|
|
1860
1878
|
name: "builder-slot",
|
|
1861
1879
|
components: { Blocks },
|
|
1862
|
-
props: ["
|
|
1880
|
+
props: ["builderContext", "name"]
|
|
1863
1881
|
});
|
|
1864
1882
|
function _sfc_render$e(e, t, n, o, r, s) {
|
|
1865
1883
|
var a, l, c;
|
|
@@ -2325,7 +2343,6 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
|
|
|
2325
2343
|
name: "builder-form-component",
|
|
2326
2344
|
components: { Block, Blocks },
|
|
2327
2345
|
props: [
|
|
2328
|
-
"js",
|
|
2329
2346
|
"builderContext",
|
|
2330
2347
|
"previewState",
|
|
2331
2348
|
"sendWithJs",
|
|
@@ -2526,7 +2543,7 @@ function _sfc_render$a(e, t, n, o, r, s) {
|
|
|
2526
2543
|
}, null, 8, ["blocks", "context"])) : createCommentVNode("", !0)
|
|
2527
2544
|
], 16, _hoisted_1$4);
|
|
2528
2545
|
}
|
|
2529
|
-
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
2546
|
+
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a], ["__scopeId", "data-v-83a4b1d9"]]), componentInfo$4 = {
|
|
2530
2547
|
name: "Form:Input",
|
|
2531
2548
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
2532
2549
|
inputs: [
|
|
@@ -2660,7 +2677,7 @@ function _sfc_render$8(e, t, n, o, r, s) {
|
|
|
2660
2677
|
name: e.name
|
|
2661
2678
|
}, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
2662
2679
|
(openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.options, (i, a) => (openBlock(), createElementBlock("option", {
|
|
2663
|
-
key: a
|
|
2680
|
+
key: `${i.name}-${a}`,
|
|
2664
2681
|
value: i.value
|
|
2665
2682
|
}, toDisplayString(i.name || i.value), 9, _hoisted_2$1))), 128))
|
|
2666
2683
|
], 16, _hoisted_1$2);
|
|
@@ -3432,7 +3449,7 @@ function isFromTrustedHost(e, t) {
|
|
|
3432
3449
|
const n = new URL(t.origin), o = n.hostname;
|
|
3433
3450
|
return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
3434
3451
|
}
|
|
3435
|
-
const SDK_VERSION = "1.0.
|
|
3452
|
+
const SDK_VERSION = "1.0.21", registry = {};
|
|
3436
3453
|
function register(e, t) {
|
|
3437
3454
|
let n = registry[e];
|
|
3438
3455
|
if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
|
|
@@ -3584,18 +3601,18 @@ const setupBrowserForEditing = (e = {}) => {
|
|
|
3584
3601
|
name: "enable-editor",
|
|
3585
3602
|
props: [
|
|
3586
3603
|
"builderContextSignal",
|
|
3587
|
-
"contentWrapper",
|
|
3588
|
-
"model",
|
|
3589
|
-
"trustedHosts",
|
|
3590
|
-
"context",
|
|
3591
3604
|
"canTrack",
|
|
3592
3605
|
"apiKey",
|
|
3593
3606
|
"locale",
|
|
3594
3607
|
"enrich",
|
|
3608
|
+
"trustedHosts",
|
|
3609
|
+
"model",
|
|
3595
3610
|
"content",
|
|
3611
|
+
"data",
|
|
3612
|
+
"contentWrapper",
|
|
3613
|
+
"context",
|
|
3596
3614
|
"showContent",
|
|
3597
|
-
"contentWrapperProps"
|
|
3598
|
-
"data"
|
|
3615
|
+
"contentWrapperProps"
|
|
3599
3616
|
],
|
|
3600
3617
|
data() {
|
|
3601
3618
|
return {
|
|
@@ -4301,8 +4318,8 @@ const ContentVariants = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sf
|
|
|
4301
4318
|
name: "builder-symbol",
|
|
4302
4319
|
components: { ContentVariants },
|
|
4303
4320
|
props: [
|
|
4304
|
-
"attributes",
|
|
4305
4321
|
"symbol",
|
|
4322
|
+
"attributes",
|
|
4306
4323
|
"dynamic",
|
|
4307
4324
|
"builderContext",
|
|
4308
4325
|
"builderBlock",
|
package/lib/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-XIqTnRyC.cjs");exports.Blocks=e.Blocks;exports.BuilderContext=e.BuilderContext;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
|
package/lib/node/index.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/node/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/node/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-mnDtU0q8.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-XIqTnRyC.cjs"),r=()=>Promise.resolve().then(()=>require("./index-XIqTnRyC.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-mnDtU0q8.js";
|
|
3
|
+
const i = () => import("./index-mnDtU0q8.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/node/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
|