@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,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentProps } from "./component-ref.helpers
|
|
1
|
+
import type { ComponentProps } from "./component-ref.helpers";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
context?: any;
|
|
4
4
|
registeredComponents?: any;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
12
12
|
}>, unknown, {
|
|
13
13
|
Wrapper: any;
|
|
14
14
|
getWrapperProps: ({ componentOptions, builderBlock, context, componentRef, includeBlockProps, isInteractive, contextValue }: Omit<ComponentProps, "registeredComponents" | "blockChildren"> & {
|
|
15
|
-
contextValue: import("../../../../context/types
|
|
15
|
+
contextValue: import("../../../../context/types").BuilderContextInterface;
|
|
16
16
|
}) => import("../interactive-element.vue").InteractiveElementProps | {
|
|
17
17
|
attributes?: {
|
|
18
18
|
'builder-id': string | undefined;
|
|
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
21
21
|
} | {
|
|
22
22
|
[index: string]: any;
|
|
23
23
|
} | undefined;
|
|
24
|
-
builderBlock: import("
|
|
25
|
-
builderContext: import("../../../../context/types
|
|
24
|
+
builderBlock: import("../../../..").BuilderBlock;
|
|
25
|
+
builderContext: import("../../../../context/types").BuilderContextInterface;
|
|
26
26
|
};
|
|
27
27
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
28
28
|
context?: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from "../../../context/types
|
|
2
|
-
import { getBlockActions } from "../../../functions/get-block-actions
|
|
3
|
-
import { getBlockProperties } from "../../../functions/get-block-properties
|
|
4
|
-
import type { BuilderBlock } from "../../../types/builder-block
|
|
5
|
-
import type { Dictionary } from "../../../types/typescript
|
|
1
|
+
import type { BuilderContextInterface } from "../../../context/types";
|
|
2
|
+
import { getBlockActions } from "../../../functions/get-block-actions";
|
|
3
|
+
import { getBlockProperties } from "../../../functions/get-block-properties";
|
|
4
|
+
import type { BuilderBlock } from "../../../types/builder-block";
|
|
5
|
+
import type { Dictionary } from "../../../types/typescript";
|
|
6
6
|
export type InteractiveElementProps = {
|
|
7
7
|
Wrapper: any;
|
|
8
8
|
block: BuilderBlock;
|
|
@@ -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 interface RepeatData {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuilderBlock } from "../../types/builder-block
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block";
|
|
2
2
|
export type BlocksWrapperProps = {
|
|
3
3
|
blocks: BuilderBlock[] | undefined;
|
|
4
4
|
parent: string | undefined;
|
|
@@ -16,11 +16,11 @@ export type BlocksWrapperProps = {
|
|
|
16
16
|
};
|
|
17
17
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
18
18
|
path?: any;
|
|
19
|
-
BlocksWrapper?: any;
|
|
20
19
|
blocks?: any;
|
|
21
20
|
parent?: any;
|
|
22
21
|
styleProp?: any;
|
|
23
22
|
BlocksWrapperProps?: any;
|
|
23
|
+
BlocksWrapper?: any;
|
|
24
24
|
}>, unknown, unknown, {
|
|
25
25
|
className(): string;
|
|
26
26
|
}, {
|
|
@@ -28,17 +28,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
28
28
|
onMouseEnter(): void;
|
|
29
29
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
30
30
|
path?: any;
|
|
31
|
-
BlocksWrapper?: any;
|
|
32
31
|
blocks?: any;
|
|
33
32
|
parent?: any;
|
|
34
33
|
styleProp?: any;
|
|
35
34
|
BlocksWrapperProps?: any;
|
|
35
|
+
BlocksWrapper?: any;
|
|
36
36
|
}>>>, {
|
|
37
37
|
readonly path?: any;
|
|
38
|
-
readonly BlocksWrapper?: any;
|
|
39
38
|
readonly blocks?: any;
|
|
40
39
|
readonly parent?: any;
|
|
41
40
|
readonly styleProp?: any;
|
|
42
41
|
readonly BlocksWrapperProps?: any;
|
|
42
|
+
readonly BlocksWrapper?: any;
|
|
43
43
|
}, {}>;
|
|
44
44
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types
|
|
1
|
+
import type { BuilderContextInterface, RegisteredComponents } from '../../context/types';
|
|
2
2
|
import type { BlocksWrapperProps } from './blocks-wrapper.vue';
|
|
3
3
|
export type BlocksProps = Partial<Omit<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'>> & {
|
|
4
4
|
context?: BuilderContextInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContent } from "../../../types/builder-content
|
|
2
|
-
import type { Dictionary } from "../../../types/typescript
|
|
1
|
+
import type { BuilderContent } from "../../../types/builder-content";
|
|
2
|
+
import type { Dictionary } from "../../../types/typescript";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
4
4
|
data?: any;
|
|
5
5
|
context?: any;
|
|
@@ -7,11 +7,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
7
7
|
apiKey?: any;
|
|
8
8
|
canTrack?: any;
|
|
9
9
|
builderContextSignal?: any;
|
|
10
|
-
contentWrapper?: any;
|
|
11
|
-
model?: any;
|
|
12
|
-
trustedHosts?: any;
|
|
13
10
|
locale?: any;
|
|
14
11
|
enrich?: any;
|
|
12
|
+
trustedHosts?: any;
|
|
13
|
+
model?: any;
|
|
14
|
+
contentWrapper?: any;
|
|
15
15
|
showContent?: any;
|
|
16
16
|
contentWrapperProps?: any;
|
|
17
17
|
}>, unknown, {
|
|
@@ -71,11 +71,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
71
71
|
apiKey?: any;
|
|
72
72
|
canTrack?: any;
|
|
73
73
|
builderContextSignal?: any;
|
|
74
|
-
contentWrapper?: any;
|
|
75
|
-
model?: any;
|
|
76
|
-
trustedHosts?: any;
|
|
77
74
|
locale?: any;
|
|
78
75
|
enrich?: any;
|
|
76
|
+
trustedHosts?: any;
|
|
77
|
+
model?: any;
|
|
78
|
+
contentWrapper?: any;
|
|
79
79
|
showContent?: any;
|
|
80
80
|
contentWrapperProps?: any;
|
|
81
81
|
}>>>, {
|
|
@@ -85,11 +85,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
85
85
|
readonly apiKey?: any;
|
|
86
86
|
readonly canTrack?: any;
|
|
87
87
|
readonly builderContextSignal?: any;
|
|
88
|
-
readonly contentWrapper?: any;
|
|
89
|
-
readonly model?: any;
|
|
90
|
-
readonly trustedHosts?: any;
|
|
91
88
|
readonly locale?: any;
|
|
92
89
|
readonly enrich?: any;
|
|
90
|
+
readonly trustedHosts?: any;
|
|
91
|
+
readonly model?: any;
|
|
92
|
+
readonly contentWrapper?: any;
|
|
93
93
|
readonly showContent?: any;
|
|
94
94
|
readonly contentWrapperProps?: any;
|
|
95
95
|
}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
2
|
-
import type { Nullable } from '../../types/typescript
|
|
3
|
-
import type { ContentProps } from './content.types
|
|
1
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
2
|
+
import type { Nullable } from '../../types/typescript';
|
|
3
|
+
import type { ContentProps } from './content.types';
|
|
4
4
|
export declare const getRootStateInitialValue: ({ content, data, locale }: Pick<ContentProps, 'content' | 'data' | 'locale'>) => {
|
|
5
5
|
locale?: string | undefined;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderRenderState } from '../../context/types
|
|
2
|
-
export type { ContentProps } from './contentProps.types
|
|
1
|
+
import type { BuilderRenderState } from '../../context/types';
|
|
2
|
+
export type { ContentProps } from './contentProps.types';
|
|
3
3
|
export interface BuilderComponentStateChange {
|
|
4
4
|
state: BuilderRenderState;
|
|
5
5
|
ref: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BuilderRenderState, RegisteredComponents } from "../../context/types
|
|
2
|
-
import type { ComponentInfo } from "../../types/components
|
|
3
|
-
import type { Dictionary } from "../../types/typescript
|
|
1
|
+
import type { BuilderRenderState, RegisteredComponents } from "../../context/types";
|
|
2
|
+
import type { ComponentInfo } from "../../types/components";
|
|
3
|
+
import type { Dictionary } from "../../types/typescript";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
5
5
|
data?: any;
|
|
6
6
|
context?: any;
|
|
@@ -10,11 +10,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
10
10
|
linkComponent?: any;
|
|
11
11
|
blocksWrapper?: any;
|
|
12
12
|
canTrack?: any;
|
|
13
|
-
contentWrapper?: any;
|
|
14
|
-
model?: any;
|
|
15
|
-
trustedHosts?: any;
|
|
16
13
|
locale?: any;
|
|
17
14
|
enrich?: any;
|
|
15
|
+
trustedHosts?: any;
|
|
16
|
+
model?: any;
|
|
17
|
+
contentWrapper?: any;
|
|
18
18
|
showContent?: any;
|
|
19
19
|
contentWrapperProps?: any;
|
|
20
20
|
isNestedRender?: any;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
25
25
|
scriptStr: string;
|
|
26
26
|
registeredComponents: RegisteredComponents;
|
|
27
27
|
builderContextSignal: {
|
|
28
|
-
content: import("../../types/typescript
|
|
28
|
+
content: import("../../types/typescript").Nullable<import("../..").BuilderContent>;
|
|
29
29
|
localState: undefined;
|
|
30
30
|
rootState: {
|
|
31
31
|
locale?: string | undefined;
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
39
39
|
BlocksWrapper: any;
|
|
40
40
|
BlocksWrapperProps: any;
|
|
41
41
|
};
|
|
42
|
-
TARGET: import("../../types/targets
|
|
42
|
+
TARGET: import("../../types/targets").Target;
|
|
43
43
|
}, {}, {
|
|
44
44
|
contentSetState(newRootState: BuilderRenderState): void;
|
|
45
45
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
@@ -51,11 +51,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
51
51
|
linkComponent?: any;
|
|
52
52
|
blocksWrapper?: any;
|
|
53
53
|
canTrack?: any;
|
|
54
|
-
contentWrapper?: any;
|
|
55
|
-
model?: any;
|
|
56
|
-
trustedHosts?: any;
|
|
57
54
|
locale?: any;
|
|
58
55
|
enrich?: any;
|
|
56
|
+
trustedHosts?: any;
|
|
57
|
+
model?: any;
|
|
58
|
+
contentWrapper?: any;
|
|
59
59
|
showContent?: any;
|
|
60
60
|
contentWrapperProps?: any;
|
|
61
61
|
isNestedRender?: any;
|
|
@@ -71,11 +71,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
71
71
|
readonly linkComponent?: any;
|
|
72
72
|
readonly blocksWrapper?: any;
|
|
73
73
|
readonly canTrack?: any;
|
|
74
|
-
readonly contentWrapper?: any;
|
|
75
|
-
readonly model?: any;
|
|
76
|
-
readonly trustedHosts?: any;
|
|
77
74
|
readonly locale?: any;
|
|
78
75
|
readonly enrich?: any;
|
|
76
|
+
readonly trustedHosts?: any;
|
|
77
|
+
readonly model?: any;
|
|
78
|
+
readonly contentWrapper?: any;
|
|
79
79
|
readonly showContent?: any;
|
|
80
80
|
readonly contentWrapperProps?: any;
|
|
81
81
|
readonly isNestedRender?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BuilderRenderContext, RegisteredComponent } from '../../context/types
|
|
2
|
-
import type { ApiVersion } from '../../types/api-version
|
|
3
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
4
|
-
import type { Nullable } from '../../types/typescript
|
|
1
|
+
import type { BuilderRenderContext, RegisteredComponent } from '../../context/types';
|
|
2
|
+
import type { ApiVersion } from '../../types/api-version';
|
|
3
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
4
|
+
import type { Nullable } from '../../types/typescript';
|
|
5
5
|
export interface ContentVariantsPrps {
|
|
6
6
|
/**
|
|
7
7
|
* The Builder content JSON to render (required).
|
|
@@ -7,27 +7,27 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
7
7
|
linkComponent?: any;
|
|
8
8
|
blocksWrapper?: any;
|
|
9
9
|
canTrack?: any;
|
|
10
|
-
contentWrapper?: any;
|
|
11
|
-
model?: any;
|
|
12
|
-
trustedHosts?: any;
|
|
13
10
|
locale?: any;
|
|
14
11
|
enrich?: any;
|
|
12
|
+
trustedHosts?: any;
|
|
13
|
+
model?: any;
|
|
14
|
+
contentWrapper?: any;
|
|
15
15
|
contentWrapperProps?: any;
|
|
16
16
|
isNestedRender?: any;
|
|
17
17
|
customComponents?: any;
|
|
18
18
|
blocksWrapperProps?: any;
|
|
19
19
|
}>, unknown, {
|
|
20
20
|
shouldRenderVariants: boolean;
|
|
21
|
-
TARGET: import("../../types/targets
|
|
21
|
+
TARGET: import("../../types/targets").Target;
|
|
22
22
|
getInitVariantsFnsScriptString: () => string;
|
|
23
|
-
getVariants: (content: import("../../helpers/nullable
|
|
23
|
+
getVariants: (content: import("../../helpers/nullable").Nullable<import("../..").BuilderContent>) => {
|
|
24
24
|
testVariationId: string | undefined;
|
|
25
25
|
id: string | undefined;
|
|
26
26
|
data?: {
|
|
27
27
|
[key: string]: any;
|
|
28
28
|
title?: string | undefined;
|
|
29
|
-
blocks?: import("
|
|
30
|
-
inputs?: import("../../types/input
|
|
29
|
+
blocks?: import("../..").BuilderBlock[] | undefined;
|
|
30
|
+
inputs?: import("../../types/input").Input[] | undefined;
|
|
31
31
|
state?: {
|
|
32
32
|
[key: string]: any;
|
|
33
33
|
} | undefined;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
41
41
|
testRatio?: number | undefined;
|
|
42
42
|
meta?: {
|
|
43
43
|
[key: string]: any;
|
|
44
|
-
breakpoints?: import("../../types/typescript
|
|
44
|
+
breakpoints?: import("../../types/typescript").Nullable<import("../../types/builder-content").Breakpoints>;
|
|
45
45
|
} | undefined;
|
|
46
46
|
}[];
|
|
47
47
|
}, {
|
|
@@ -57,11 +57,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
57
57
|
linkComponent?: any;
|
|
58
58
|
blocksWrapper?: any;
|
|
59
59
|
canTrack?: any;
|
|
60
|
-
contentWrapper?: any;
|
|
61
|
-
model?: any;
|
|
62
|
-
trustedHosts?: any;
|
|
63
60
|
locale?: any;
|
|
64
61
|
enrich?: any;
|
|
62
|
+
trustedHosts?: any;
|
|
63
|
+
model?: any;
|
|
64
|
+
contentWrapper?: any;
|
|
65
65
|
contentWrapperProps?: any;
|
|
66
66
|
isNestedRender?: any;
|
|
67
67
|
customComponents?: any;
|
|
@@ -75,11 +75,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
75
75
|
readonly linkComponent?: any;
|
|
76
76
|
readonly blocksWrapper?: any;
|
|
77
77
|
readonly canTrack?: any;
|
|
78
|
-
readonly contentWrapper?: any;
|
|
79
|
-
readonly model?: any;
|
|
80
|
-
readonly trustedHosts?: any;
|
|
81
78
|
readonly locale?: any;
|
|
82
79
|
readonly enrich?: any;
|
|
80
|
+
readonly trustedHosts?: any;
|
|
81
|
+
readonly model?: any;
|
|
82
|
+
readonly contentWrapper?: any;
|
|
83
83
|
readonly contentWrapperProps?: any;
|
|
84
84
|
readonly isNestedRender?: any;
|
|
85
85
|
readonly customComponents?: any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Nullable } from '../../helpers/nullable
|
|
2
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
1
|
+
import type { Nullable } from '../../helpers/nullable';
|
|
2
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
3
3
|
export declare const getVariants: (content: Nullable<BuilderContent>) => {
|
|
4
4
|
testVariationId: string | undefined;
|
|
5
5
|
id: string | undefined;
|
|
6
6
|
data?: {
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
title?: string | undefined;
|
|
9
|
-
blocks?: import("
|
|
10
|
-
inputs?: import("../../types/input
|
|
9
|
+
blocks?: import("../..").BuilderBlock[] | undefined;
|
|
10
|
+
inputs?: import("../../types/input").Input[] | undefined;
|
|
11
11
|
state?: {
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
} | undefined;
|
|
@@ -21,7 +21,7 @@ export declare const getVariants: (content: Nullable<BuilderContent>) => {
|
|
|
21
21
|
testRatio?: number | undefined;
|
|
22
22
|
meta?: {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
breakpoints?: import("../../types/typescript
|
|
24
|
+
breakpoints?: import("../../types/typescript").Nullable<import("../../types/builder-content").Breakpoints>;
|
|
25
25
|
} | undefined;
|
|
26
26
|
}[];
|
|
27
27
|
export declare const checkShouldRenderVariants: ({ canTrack, content }: {
|
|
@@ -5,18 +5,18 @@ export interface DynamicRendererProps {
|
|
|
5
5
|
actionAttributes: any;
|
|
6
6
|
}
|
|
7
7
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
8
|
+
TagName?: any;
|
|
8
9
|
attributes?: any;
|
|
9
10
|
actionAttributes?: any;
|
|
10
|
-
TagName?: any;
|
|
11
11
|
}>, unknown, {
|
|
12
12
|
isEmptyElement: (tagName: any) => boolean;
|
|
13
13
|
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
14
|
+
TagName?: any;
|
|
14
15
|
attributes?: any;
|
|
15
16
|
actionAttributes?: any;
|
|
16
|
-
TagName?: any;
|
|
17
17
|
}>>>, {
|
|
18
|
+
readonly TagName?: any;
|
|
18
19
|
readonly attributes?: any;
|
|
19
20
|
readonly actionAttributes?: any;
|
|
20
|
-
readonly TagName?: any;
|
|
21
21
|
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Having them in a separate file allows us to override it to be empty in the
|
|
4
4
|
* React Native SDK.
|
|
5
5
|
*/
|
|
6
|
-
import type { RegisteredComponent } from '../context/types
|
|
6
|
+
import type { RegisteredComponent } from '../context/types';
|
|
7
7
|
export declare const getExtraComponents: () => RegisteredComponent[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.21";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This file should be overriden for each framework. Ideally this would be implemented in Mitosis. */
|
|
2
|
-
export declare const TARGET: import("../types/targets
|
|
2
|
+
export declare const TARGET: import("../types/targets").Target;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as BuilderContext } from './builder.context
|
|
1
|
+
export { default as BuilderContext } from './builder.context';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BlocksWrapperProps } from '../components/blocks/blocks-wrapper.vue';
|
|
2
|
-
import type { ApiVersion } from '../types/api-version
|
|
3
|
-
import type { BuilderContent } from '../types/builder-content
|
|
4
|
-
import type { ComponentInfo } from '../types/components
|
|
5
|
-
import type { Dictionary, Nullable } from '../types/typescript
|
|
2
|
+
import type { ApiVersion } from '../types/api-version';
|
|
3
|
+
import type { BuilderContent } from '../types/builder-content';
|
|
4
|
+
import type { ComponentInfo } from '../types/components';
|
|
5
|
+
import type { Dictionary, Nullable } from '../types/typescript';
|
|
6
6
|
export type RegisteredComponent = ComponentInfo & {
|
|
7
7
|
component: any;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderRenderState } from '../../../context/types
|
|
2
|
-
import type { ExecutorArgs } from '../helpers
|
|
1
|
+
import type { BuilderRenderState } from '../../../context/types';
|
|
2
|
+
import type { ExecutorArgs } from '../helpers';
|
|
3
3
|
export declare const runInBrowser: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
|
|
4
4
|
export declare function flattenState({ rootState, localState, rootSetState }: {
|
|
5
5
|
rootState: Record<string | symbol, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { runInBrowser as evaluator } from './browser
|
|
1
|
+
export { runInBrowser as evaluator } from './browser';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExecutorArgs } from './helpers
|
|
1
|
+
import type { ExecutorArgs } from './helpers';
|
|
2
2
|
/**
|
|
3
3
|
* Even though we have separate runtimes for browser/node/edge, sometimes frameworks will
|
|
4
4
|
* end up sending the server runtime code to the browser (most notably in dev mode).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExecutorArgs } from '../helpers
|
|
1
|
+
import type { ExecutorArgs } from '../helpers';
|
|
2
2
|
export declare const runInEdge: ({ builder, context, event, rootState, localState, rootSetState, code }: ExecutorArgs) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { runInEdge as evaluator } from './edge-runtime
|
|
1
|
+
export { runInEdge as evaluator } from './edge-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EvaluatorArgs } from './helpers
|
|
1
|
+
import type { EvaluatorArgs } from './helpers';
|
|
2
2
|
type EvalValue = unknown;
|
|
3
3
|
export declare function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression, enableCache }: EvaluatorArgs): EvalValue;
|
|
4
4
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContextInterface, BuilderRenderState } from '../../context/types
|
|
2
|
-
import { getUserAttributes } from '../track/helpers
|
|
1
|
+
import type { BuilderContextInterface, BuilderRenderState } from '../../context/types';
|
|
2
|
+
import { getUserAttributes } from '../track/helpers';
|
|
3
3
|
export type EvaluatorArgs = Omit<ExecutorArgs, 'builder' | 'event'> & {
|
|
4
4
|
event?: Event;
|
|
5
5
|
isExpression?: boolean;
|
|
@@ -20,6 +20,6 @@ export type Executor = (args: ExecutorArgs) => any;
|
|
|
20
20
|
export type FunctionArguments = ReturnType<typeof getFunctionArguments>;
|
|
21
21
|
export declare const getFunctionArguments: ({ builder, context, event, state }: Pick<ExecutorArgs, "context" | "builder" | "event"> & {
|
|
22
22
|
state: BuilderRenderState;
|
|
23
|
-
}) => [string, Event | BuilderRenderState | import("../../context/types
|
|
23
|
+
}) => [string, Event | BuilderRenderState | import("../../context/types").BuilderRenderContext | BuilderGlobals | undefined][];
|
|
24
24
|
export declare const getBuilderGlobals: () => BuilderGlobals;
|
|
25
25
|
export declare const parseCode: (code: string, { isExpression }: Pick<EvaluatorArgs, 'isExpression'>) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { evaluate } from './evaluate
|
|
1
|
+
export { evaluate } from './evaluate';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { runInNode as evaluator } from './node-runtime
|
|
1
|
+
export { runInNode as evaluator } from './node-runtime';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function initializes the SDK on a Node server. It handles importing the
|
|
3
|
+
* `isolated-vm` package which is needed for dynamic bindings.
|
|
4
|
+
*
|
|
5
|
+
* NOTE: this function cannot be called on the client. You must call this function
|
|
6
|
+
* from a server-only location, such as:
|
|
7
|
+
* - The NextJS Pages router's `_document.tsx`
|
|
8
|
+
* - Your Remix route's `loader`
|
|
9
|
+
*/
|
|
10
|
+
export declare const initializeNodeRuntime: () => void;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import type { ExecutorArgs } from '../helpers
|
|
1
|
+
import type { ExecutorArgs } from '../helpers';
|
|
2
|
+
/**
|
|
3
|
+
* Set the `isolated-vm` instance to be used by the node runtime.
|
|
4
|
+
* This is useful for environments that are not able to rely on our
|
|
5
|
+
* `safeDynamicRequire` trick to import the `isolated-vm` package.
|
|
6
|
+
*/
|
|
7
|
+
export declare const setIvm: (ivm: typeof import('isolated-vm')) => void;
|
|
2
8
|
export declare const runInNode: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExecutorArgs } from './helpers
|
|
1
|
+
import type { ExecutorArgs } from './helpers';
|
|
2
2
|
export declare const evaluator: (_args: ExecutorArgs) => never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ContentVariantsPrps } from '../components/content-variants/content-variants.types
|
|
2
|
-
import type { Dictionary } from '../types/typescript
|
|
3
|
-
import type { GetContentOptions } from './get-content/types
|
|
1
|
+
import type { ContentVariantsPrps } from '../components/content-variants/content-variants.types';
|
|
2
|
+
import type { Dictionary } from '../types/typescript';
|
|
3
|
+
import type { GetContentOptions } from './get-content/types';
|
|
4
4
|
type GetBuilderPropsOptions = (Omit<GetContentOptions, 'model'> & {
|
|
5
5
|
model?: string;
|
|
6
6
|
}) & ({
|
|
@@ -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
|
type Options = {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
} & Pick<BuilderContextInterface, 'localState' | 'context' | 'rootState' | 'rootSetState'>;
|
|
@@ -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
|
type Actions = {
|
|
4
4
|
[index: string]: (event: Event) => any;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BuilderBlock } from '../types/builder-block
|
|
1
|
+
import type { BuilderBlock } from '../types/builder-block';
|
|
2
2
|
export declare function getBlockComponentOptions(block: BuilderBlock): 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 declare function getBlockProperties({ block, context }: {
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
context: BuilderContextInterface;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { QueryObject } from '../../helpers/search/search
|
|
1
|
+
import type { QueryObject } from '../../helpers/search/search';
|
|
2
2
|
/**
|
|
3
3
|
* Receives a `URLSearchParams` object or a regular query object, and returns the subset of query params that are
|
|
4
4
|
* relevant to the Builder SDK.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { GetContentOptions } from './types
|
|
1
|
+
import type { GetContentOptions } from './types';
|
|
2
2
|
export declare const generateContentUrl: (options: GetContentOptions) => URL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BuilderContent } from '../../types/builder-content
|
|
2
|
-
import type { GetContentOptions } from './types
|
|
1
|
+
import type { BuilderContent } from '../../types/builder-content';
|
|
2
|
+
import type { GetContentOptions } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Returns the first content entry that matches the given options.
|
|
5
5
|
*/
|