@builder.io/sdk-vue 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -1
- package/vue2/lib/browser/block-750d8ed7.cjs +3 -0
- package/vue2/lib/browser/block-86d82810.js +181 -0
- package/vue2/lib/browser/block-styles-132270d0.js +82 -0
- package/vue2/lib/browser/block-styles-5b5e9888.cjs +1 -0
- package/vue2/lib/browser/block-wrapper-571b134c.cjs +1 -0
- package/vue2/lib/browser/block-wrapper-f011d1f2.js +66 -0
- package/vue2/lib/browser/blocks/button/button.vue.d.ts +18 -0
- package/vue2/lib/browser/blocks/button/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/columns/columns.vue.d.ts +44 -0
- package/vue2/lib/browser/blocks/columns/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/custom-code/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/custom-code/custom-code.vue.d.ts +13 -0
- package/vue2/lib/browser/blocks/embed/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/embed/embed.vue.d.ts +18 -0
- package/vue2/lib/browser/blocks/embed/helpers.d.ts +1 -0
- package/vue2/lib/browser/blocks/form/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/fragment/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue2/lib/browser/blocks/helpers.d.ts +13 -0
- package/vue2/lib/browser/blocks/image/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/image/image.helpers.d.ts +1 -0
- package/vue2/lib/browser/blocks/image/image.vue.d.ts +72 -0
- package/vue2/lib/browser/blocks/img/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/img/img.vue.d.ts +39 -0
- package/vue2/lib/browser/blocks/input/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/raw-text/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/section/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/section/section.vue.d.ts +23 -0
- package/vue2/lib/browser/blocks/select/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/submit-button/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/symbol/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue2/lib/browser/blocks/symbol/symbol.vue.d.ts +39 -0
- package/vue2/lib/browser/blocks/text/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/text/text.vue.d.ts +11 -0
- package/vue2/lib/browser/blocks/textarea/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/video/component-info.d.ts +2 -0
- package/vue2/lib/browser/blocks/video/video.vue.d.ts +64 -0
- package/vue2/lib/browser/blocks-wrapper-1d620d76.cjs +1 -0
- package/vue2/lib/browser/blocks-wrapper-33f35ea5.js +72 -0
- package/vue2/lib/browser/component-ref-26a164ea.cjs +1 -0
- package/vue2/lib/browser/component-ref-d6254a68.js +102 -0
- package/vue2/lib/browser/components/block/block.helpers.d.ts +13 -0
- package/vue2/lib/browser/components/block/block.vue.d.ts +41 -0
- package/vue2/lib/browser/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue2/lib/browser/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue2/lib/browser/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue2/lib/browser/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue2/lib/browser/components/block/types.d.ts +6 -0
- package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +29 -0
- package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +57 -0
- package/vue2/lib/browser/components/content/components/styles.helpers.d.ts +15 -0
- package/vue2/lib/browser/components/content/components/styles.vue.d.ts +16 -0
- package/vue2/lib/browser/components/content/content.helpers.d.ts +7 -0
- package/vue2/lib/browser/components/content/content.types.d.ts +24 -0
- package/vue2/lib/browser/components/content/content.vue.d.ts +26 -0
- package/vue2/lib/browser/components/content/index.d.ts +1 -0
- package/vue2/lib/browser/components/content/wrap-component-ref.d.ts +6 -0
- package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +50 -0
- package/vue2/lib/browser/components/content-variants/helpers.d.ts +18 -0
- package/vue2/lib/browser/components/inlined-script.vue.d.ts +11 -0
- package/vue2/lib/browser/components/inlined-styles.vue.d.ts +11 -0
- package/vue2/lib/browser/constants/builder-registered-components.d.ts +6 -0
- package/vue2/lib/browser/constants/device-sizes.d.ts +13 -0
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -0
- package/vue2/lib/browser/constants/target.d.ts +2 -0
- package/vue2/lib/browser/content-859f190b.cjs +1 -0
- package/vue2/lib/browser/content-dc49d77b.js +926 -0
- package/vue2/lib/browser/context/builder.context.d.ts +15 -0
- package/vue2/lib/browser/context/components.context.d.ts +7 -0
- package/vue2/lib/browser/context/types.d.ts +35 -0
- package/vue2/lib/browser/css-67efb2d0.js +21 -0
- package/vue2/lib/browser/css-a19d330c.cjs +6 -0
- package/vue2/lib/browser/enable-editor-4054558e.js +442 -0
- package/vue2/lib/browser/enable-editor-ed3f647e.cjs +1 -0
- package/vue2/lib/browser/evaluate-28c12253.js +86 -0
- package/vue2/lib/browser/evaluate-6cd69c12.cjs +1 -0
- package/vue2/lib/browser/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue2/lib/browser/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue2/lib/browser/functions/deopt.d.ts +4 -0
- package/vue2/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue2/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue2/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue2/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue2/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue2/lib/browser/functions/evaluate/evaluate.d.ts +2 -0
- package/vue2/lib/browser/functions/evaluate/helpers.d.ts +24 -0
- package/vue2/lib/browser/functions/evaluate/index.d.ts +1 -0
- package/vue2/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue2/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/browser/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue2/lib/browser/functions/event-handler-name.d.ts +1 -0
- package/vue2/lib/browser/functions/extract-text-styles.d.ts +4 -0
- package/vue2/lib/browser/functions/fast-clone.d.ts +4 -0
- package/vue2/lib/browser/functions/fetch-builder-props.d.ts +53 -0
- package/vue2/lib/browser/functions/get-block-actions-handler.d.ts +8 -0
- package/vue2/lib/browser/functions/get-block-actions.d.ts +10 -0
- package/vue2/lib/browser/functions/get-block-component-options.d.ts +2 -0
- package/vue2/lib/browser/functions/get-block-properties.d.ts +6 -0
- package/vue2/lib/browser/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue2/lib/browser/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue2/lib/browser/functions/get-content/index.d.ts +28 -0
- package/vue2/lib/browser/functions/get-content/types.d.ts +142 -0
- package/vue2/lib/browser/functions/get-fetch.d.ts +1 -0
- package/vue2/lib/browser/functions/get-processed-block.d.ts +10 -0
- package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue2/lib/browser/functions/is-browser.d.ts +1 -0
- package/vue2/lib/browser/functions/is-edge-runtime.d.ts +4 -0
- package/vue2/lib/browser/functions/is-editing.d.ts +1 -0
- package/vue2/lib/browser/functions/is-iframe.d.ts +1 -0
- package/vue2/lib/browser/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/browser/functions/is-previewing.d.ts +1 -0
- package/vue2/lib/browser/functions/on-change.d.ts +7 -0
- package/vue2/lib/browser/functions/register-component.d.ts +15 -0
- package/vue2/lib/browser/functions/register.d.ts +16 -0
- package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue2/lib/browser/functions/set-editor-settings.d.ts +4 -0
- package/vue2/lib/browser/functions/set.d.ts +7 -0
- package/vue2/lib/browser/functions/track/helpers.d.ts +5 -0
- package/vue2/lib/browser/functions/track/index.d.ts +51 -0
- package/vue2/lib/browser/functions/track/interaction.d.ts +13 -0
- package/vue2/lib/browser/functions/transform-block-properties.d.ts +2 -0
- package/vue2/lib/browser/functions/transform-block.d.ts +2 -0
- package/vue2/lib/browser/get-block-actions-63de56e5.js +35 -0
- package/vue2/lib/browser/get-block-actions-f19965b6.cjs +1 -0
- package/vue2/lib/browser/get-block-properties-21c833e6.cjs +1 -0
- package/vue2/lib/browser/get-block-properties-a5f2574c.js +48 -0
- package/vue2/lib/browser/get-processed-block-981ce262.cjs +1 -0
- package/vue2/lib/browser/get-processed-block-9b23550f.js +58 -0
- package/vue2/lib/browser/helpers/ab-tests.d.ts +9 -0
- package/vue2/lib/browser/helpers/canTrack.d.ts +1 -0
- package/vue2/lib/browser/helpers/cookie.d.ts +19 -0
- package/vue2/lib/browser/helpers/css.d.ts +7 -0
- package/vue2/lib/browser/helpers/flatten.d.ts +6 -0
- package/vue2/lib/browser/helpers/localStorage.d.ts +9 -0
- package/vue2/lib/browser/helpers/logger.d.ts +6 -0
- package/vue2/lib/browser/helpers/nullable.d.ts +2 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue2/lib/browser/helpers/sessionId.d.ts +6 -0
- package/vue2/lib/browser/helpers/time.d.ts +1 -0
- package/vue2/lib/browser/helpers/url.d.ts +6 -0
- package/vue2/lib/browser/helpers/uuid.d.ts +8 -0
- package/vue2/lib/browser/helpers/visitorId.d.ts +6 -0
- package/vue2/lib/browser/index-63eb9f8d.cjs +32 -0
- package/vue2/lib/browser/index-f82eab8f.js +1441 -0
- package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +88 -0
- package/vue2/lib/browser/index-helpers/top-of-file.d.ts +1 -0
- package/vue2/lib/browser/index.cjs +1 -0
- package/vue2/lib/browser/index.d.ts +7 -0
- package/vue2/lib/browser/index.js +29 -0
- package/vue2/lib/browser/inlined-script-2d16b8db.js +23 -0
- package/vue2/lib/browser/inlined-script-95114af2.cjs +1 -0
- package/vue2/lib/browser/inlined-styles-9637cb58.cjs +1 -0
- package/vue2/lib/browser/inlined-styles-fbbf7fd9.js +23 -0
- package/vue2/lib/browser/interactive-element-c87a6c35.js +42 -0
- package/vue2/lib/browser/interactive-element-d37313e0.cjs +1 -0
- package/vue2/lib/browser/repeated-block-231b11b1.js +38 -0
- package/vue2/lib/browser/repeated-block-49fef627.cjs +1 -0
- package/vue2/lib/browser/scripts/init-editing.d.ts +6 -0
- package/vue2/lib/browser/server-index.d.ts +15 -0
- package/vue2/lib/browser/style.css +1 -0
- package/vue2/lib/browser/styles-28f7ec70.js +89 -0
- package/vue2/lib/browser/styles-6a6b8114.cjs +31 -0
- package/vue2/lib/browser/types/api-version.d.ts +2 -0
- package/vue2/lib/browser/types/builder-block.d.ts +66 -0
- package/vue2/lib/browser/types/builder-content.d.ts +44 -0
- package/vue2/lib/browser/types/builder-props.d.ts +9 -0
- package/vue2/lib/browser/types/can-track.d.ts +3 -0
- package/vue2/lib/browser/types/components.d.ts +110 -0
- package/vue2/lib/browser/types/deep-partial.d.ts +3 -0
- package/vue2/lib/browser/types/element.d.ts +59 -0
- package/vue2/lib/browser/types/enforced-partials.d.ts +21 -0
- package/vue2/lib/browser/types/input.d.ts +121 -0
- package/vue2/lib/browser/types/targets.d.ts +1 -0
- package/vue2/lib/browser/types/typescript.d.ts +11 -0
- package/vue2/lib/edge/block-85fe2549.cjs +3 -0
- package/vue2/lib/edge/block-88cc78c4.js +181 -0
- package/vue2/lib/edge/block-styles-65d9a724.cjs +1 -0
- package/vue2/lib/edge/block-styles-9140aecf.js +82 -0
- package/vue2/lib/edge/block-wrapper-36a4a767.js +66 -0
- package/vue2/lib/edge/block-wrapper-e6392713.cjs +1 -0
- package/vue2/lib/edge/blocks/button/button.vue.d.ts +18 -0
- package/vue2/lib/edge/blocks/button/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/columns/columns.vue.d.ts +44 -0
- package/vue2/lib/edge/blocks/columns/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/custom-code/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/custom-code/custom-code.vue.d.ts +13 -0
- package/vue2/lib/edge/blocks/embed/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/embed/embed.vue.d.ts +18 -0
- package/vue2/lib/edge/blocks/embed/helpers.d.ts +1 -0
- package/vue2/lib/edge/blocks/form/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/fragment/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue2/lib/edge/blocks/helpers.d.ts +13 -0
- package/vue2/lib/edge/blocks/image/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/image/image.helpers.d.ts +1 -0
- package/vue2/lib/edge/blocks/image/image.vue.d.ts +72 -0
- package/vue2/lib/edge/blocks/img/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/img/img.vue.d.ts +39 -0
- package/vue2/lib/edge/blocks/input/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/raw-text/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/section/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/section/section.vue.d.ts +23 -0
- package/vue2/lib/edge/blocks/select/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/submit-button/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/symbol/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue2/lib/edge/blocks/symbol/symbol.vue.d.ts +39 -0
- package/vue2/lib/edge/blocks/text/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/text/text.vue.d.ts +11 -0
- package/vue2/lib/edge/blocks/textarea/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/video/component-info.d.ts +2 -0
- package/vue2/lib/edge/blocks/video/video.vue.d.ts +64 -0
- package/vue2/lib/edge/blocks-wrapper-96489519.cjs +1 -0
- package/vue2/lib/edge/blocks-wrapper-dcd7b27a.js +72 -0
- package/vue2/lib/edge/component-ref-0bf4a838.cjs +1 -0
- package/vue2/lib/edge/component-ref-9b2c6138.js +102 -0
- package/vue2/lib/edge/components/block/block.helpers.d.ts +13 -0
- package/vue2/lib/edge/components/block/block.vue.d.ts +41 -0
- package/vue2/lib/edge/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue2/lib/edge/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue2/lib/edge/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue2/lib/edge/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue2/lib/edge/components/block/types.d.ts +6 -0
- package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +29 -0
- package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +57 -0
- package/vue2/lib/edge/components/content/components/styles.helpers.d.ts +15 -0
- package/vue2/lib/edge/components/content/components/styles.vue.d.ts +16 -0
- package/vue2/lib/edge/components/content/content.helpers.d.ts +7 -0
- package/vue2/lib/edge/components/content/content.types.d.ts +24 -0
- package/vue2/lib/edge/components/content/content.vue.d.ts +26 -0
- package/vue2/lib/edge/components/content/index.d.ts +1 -0
- package/vue2/lib/edge/components/content/wrap-component-ref.d.ts +6 -0
- package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +50 -0
- package/vue2/lib/edge/components/content-variants/helpers.d.ts +18 -0
- package/vue2/lib/edge/components/inlined-script.vue.d.ts +11 -0
- package/vue2/lib/edge/components/inlined-styles.vue.d.ts +11 -0
- package/vue2/lib/edge/constants/builder-registered-components.d.ts +6 -0
- package/vue2/lib/edge/constants/device-sizes.d.ts +13 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -0
- package/vue2/lib/edge/constants/target.d.ts +2 -0
- package/vue2/lib/edge/content-199e7143.cjs +1 -0
- package/vue2/lib/edge/content-ad722031.js +926 -0
- package/vue2/lib/edge/context/builder.context.d.ts +15 -0
- package/vue2/lib/edge/context/components.context.d.ts +7 -0
- package/vue2/lib/edge/context/types.d.ts +35 -0
- package/vue2/lib/edge/css-05af2335.cjs +6 -0
- package/vue2/lib/edge/css-5bd5388a.js +21 -0
- package/vue2/lib/edge/enable-editor-a32a425e.js +442 -0
- package/vue2/lib/edge/enable-editor-ee8b2ba3.cjs +1 -0
- package/vue2/lib/edge/evaluate-7661cdf7.cjs +21 -0
- package/vue2/lib/edge/evaluate-79ba5368.js +2565 -0
- package/vue2/lib/edge/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue2/lib/edge/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue2/lib/edge/functions/deopt.d.ts +4 -0
- package/vue2/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue2/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue2/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue2/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue2/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue2/lib/edge/functions/evaluate/evaluate.d.ts +2 -0
- package/vue2/lib/edge/functions/evaluate/helpers.d.ts +24 -0
- package/vue2/lib/edge/functions/evaluate/index.d.ts +1 -0
- package/vue2/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue2/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/edge/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue2/lib/edge/functions/event-handler-name.d.ts +1 -0
- package/vue2/lib/edge/functions/extract-text-styles.d.ts +4 -0
- package/vue2/lib/edge/functions/fast-clone.d.ts +4 -0
- package/vue2/lib/edge/functions/fetch-builder-props.d.ts +53 -0
- package/vue2/lib/edge/functions/get-block-actions-handler.d.ts +8 -0
- package/vue2/lib/edge/functions/get-block-actions.d.ts +10 -0
- package/vue2/lib/edge/functions/get-block-component-options.d.ts +2 -0
- package/vue2/lib/edge/functions/get-block-properties.d.ts +6 -0
- package/vue2/lib/edge/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue2/lib/edge/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue2/lib/edge/functions/get-content/index.d.ts +28 -0
- package/vue2/lib/edge/functions/get-content/types.d.ts +142 -0
- package/vue2/lib/edge/functions/get-fetch.d.ts +1 -0
- package/vue2/lib/edge/functions/get-processed-block.d.ts +10 -0
- package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue2/lib/edge/functions/is-browser.d.ts +1 -0
- package/vue2/lib/edge/functions/is-edge-runtime.d.ts +4 -0
- package/vue2/lib/edge/functions/is-editing.d.ts +1 -0
- package/vue2/lib/edge/functions/is-iframe.d.ts +1 -0
- package/vue2/lib/edge/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/edge/functions/is-previewing.d.ts +1 -0
- package/vue2/lib/edge/functions/on-change.d.ts +7 -0
- package/vue2/lib/edge/functions/register-component.d.ts +15 -0
- package/vue2/lib/edge/functions/register.d.ts +16 -0
- package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue2/lib/edge/functions/set-editor-settings.d.ts +4 -0
- package/vue2/lib/edge/functions/set.d.ts +7 -0
- package/vue2/lib/edge/functions/track/helpers.d.ts +5 -0
- package/vue2/lib/edge/functions/track/index.d.ts +51 -0
- package/vue2/lib/edge/functions/track/interaction.d.ts +13 -0
- package/vue2/lib/edge/functions/transform-block-properties.d.ts +2 -0
- package/vue2/lib/edge/functions/transform-block.d.ts +2 -0
- package/vue2/lib/edge/get-block-actions-4ed31703.cjs +1 -0
- package/vue2/lib/edge/get-block-actions-5ae9dffc.js +35 -0
- package/vue2/lib/edge/get-block-properties-c72eb3c0.js +48 -0
- package/vue2/lib/edge/get-block-properties-e0553a33.cjs +1 -0
- package/vue2/lib/edge/get-processed-block-e8256b7e.cjs +1 -0
- package/vue2/lib/edge/get-processed-block-f3dbc4e7.js +52 -0
- package/vue2/lib/edge/helpers/ab-tests.d.ts +9 -0
- package/vue2/lib/edge/helpers/canTrack.d.ts +1 -0
- package/vue2/lib/edge/helpers/cookie.d.ts +19 -0
- package/vue2/lib/edge/helpers/css.d.ts +7 -0
- package/vue2/lib/edge/helpers/flatten.d.ts +6 -0
- package/vue2/lib/edge/helpers/localStorage.d.ts +9 -0
- package/vue2/lib/edge/helpers/logger.d.ts +6 -0
- package/vue2/lib/edge/helpers/nullable.d.ts +2 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue2/lib/edge/helpers/sessionId.d.ts +6 -0
- package/vue2/lib/edge/helpers/time.d.ts +1 -0
- package/vue2/lib/edge/helpers/url.d.ts +6 -0
- package/vue2/lib/edge/helpers/uuid.d.ts +8 -0
- package/vue2/lib/edge/helpers/visitorId.d.ts +6 -0
- package/vue2/lib/edge/index-4cf9f60c.js +1441 -0
- package/vue2/lib/edge/index-946de873.cjs +32 -0
- package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +88 -0
- package/vue2/lib/edge/index-helpers/top-of-file.d.ts +1 -0
- package/vue2/lib/edge/index.cjs +1 -0
- package/vue2/lib/edge/index.d.ts +7 -0
- package/vue2/lib/edge/index.js +29 -0
- package/vue2/lib/edge/inlined-script-58b1138d.js +23 -0
- package/vue2/lib/edge/inlined-script-cd8bf7d3.cjs +1 -0
- package/vue2/lib/edge/inlined-styles-8c6cdbc5.js +23 -0
- package/vue2/lib/edge/inlined-styles-a1951810.cjs +1 -0
- package/vue2/lib/edge/interactive-element-1a5ee50b.cjs +1 -0
- package/vue2/lib/edge/interactive-element-2f0d2294.js +42 -0
- package/vue2/lib/edge/repeated-block-8721baa8.cjs +1 -0
- package/vue2/lib/edge/repeated-block-a32b01bc.js +38 -0
- package/vue2/lib/edge/scripts/init-editing.d.ts +6 -0
- package/vue2/lib/edge/server-index.d.ts +15 -0
- package/vue2/lib/edge/style.css +1 -0
- package/vue2/lib/edge/styles-b2c8a706.cjs +31 -0
- package/vue2/lib/edge/styles-eab59896.js +89 -0
- package/vue2/lib/edge/types/api-version.d.ts +2 -0
- package/vue2/lib/edge/types/builder-block.d.ts +66 -0
- package/vue2/lib/edge/types/builder-content.d.ts +44 -0
- package/vue2/lib/edge/types/builder-props.d.ts +9 -0
- package/vue2/lib/edge/types/can-track.d.ts +3 -0
- package/vue2/lib/edge/types/components.d.ts +110 -0
- package/vue2/lib/edge/types/deep-partial.d.ts +3 -0
- package/vue2/lib/edge/types/element.d.ts +59 -0
- package/vue2/lib/edge/types/enforced-partials.d.ts +21 -0
- package/vue2/lib/edge/types/input.d.ts +121 -0
- package/vue2/lib/edge/types/targets.d.ts +1 -0
- package/vue2/lib/edge/types/typescript.d.ts +11 -0
- package/vue2/lib/node/block-575160ba.cjs +3 -0
- package/vue2/lib/node/block-6c3981dc.js +181 -0
- package/vue2/lib/node/block-styles-258f0e47.cjs +1 -0
- package/vue2/lib/node/block-styles-b1b9a610.js +82 -0
- package/vue2/lib/node/block-wrapper-1bdc3ca4.js +66 -0
- package/vue2/lib/node/block-wrapper-fed00059.cjs +1 -0
- package/vue2/lib/node/blocks/button/button.vue.d.ts +18 -0
- package/vue2/lib/node/blocks/button/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/columns/columns.vue.d.ts +44 -0
- package/vue2/lib/node/blocks/columns/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/custom-code/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/custom-code/custom-code.vue.d.ts +13 -0
- package/vue2/lib/node/blocks/embed/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/embed/embed.vue.d.ts +18 -0
- package/vue2/lib/node/blocks/embed/helpers.d.ts +1 -0
- package/vue2/lib/node/blocks/form/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/fragment/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue2/lib/node/blocks/helpers.d.ts +13 -0
- package/vue2/lib/node/blocks/image/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/image/image.helpers.d.ts +1 -0
- package/vue2/lib/node/blocks/image/image.vue.d.ts +72 -0
- package/vue2/lib/node/blocks/img/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/img/img.vue.d.ts +39 -0
- package/vue2/lib/node/blocks/input/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/raw-text/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/section/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/section/section.vue.d.ts +23 -0
- package/vue2/lib/node/blocks/select/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/submit-button/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/symbol/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue2/lib/node/blocks/symbol/symbol.vue.d.ts +39 -0
- package/vue2/lib/node/blocks/text/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/text/text.vue.d.ts +11 -0
- package/vue2/lib/node/blocks/textarea/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/video/component-info.d.ts +2 -0
- package/vue2/lib/node/blocks/video/video.vue.d.ts +64 -0
- package/vue2/lib/node/blocks-wrapper-031887f0.js +72 -0
- package/vue2/lib/node/blocks-wrapper-80b3a22f.cjs +1 -0
- package/vue2/lib/node/component-ref-5be913d9.cjs +1 -0
- package/vue2/lib/node/component-ref-ccb3e639.js +102 -0
- package/vue2/lib/node/components/block/block.helpers.d.ts +13 -0
- package/vue2/lib/node/components/block/block.vue.d.ts +41 -0
- package/vue2/lib/node/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue2/lib/node/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue2/lib/node/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue2/lib/node/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue2/lib/node/components/block/types.d.ts +6 -0
- package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue2/lib/node/components/blocks/blocks.vue.d.ts +29 -0
- package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +57 -0
- package/vue2/lib/node/components/content/components/styles.helpers.d.ts +15 -0
- package/vue2/lib/node/components/content/components/styles.vue.d.ts +16 -0
- package/vue2/lib/node/components/content/content.helpers.d.ts +7 -0
- package/vue2/lib/node/components/content/content.types.d.ts +24 -0
- package/vue2/lib/node/components/content/content.vue.d.ts +26 -0
- package/vue2/lib/node/components/content/index.d.ts +1 -0
- package/vue2/lib/node/components/content/wrap-component-ref.d.ts +6 -0
- package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +50 -0
- package/vue2/lib/node/components/content-variants/helpers.d.ts +18 -0
- package/vue2/lib/node/components/inlined-script.vue.d.ts +11 -0
- package/vue2/lib/node/components/inlined-styles.vue.d.ts +11 -0
- package/vue2/lib/node/constants/builder-registered-components.d.ts +6 -0
- package/vue2/lib/node/constants/device-sizes.d.ts +13 -0
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -0
- package/vue2/lib/node/constants/target.d.ts +2 -0
- package/vue2/lib/node/content-8b7678bc.cjs +1 -0
- package/vue2/lib/node/content-f80acd05.js +926 -0
- package/vue2/lib/node/context/builder.context.d.ts +15 -0
- package/vue2/lib/node/context/components.context.d.ts +7 -0
- package/vue2/lib/node/context/types.d.ts +35 -0
- package/vue2/lib/node/css-44cbcf3f.cjs +6 -0
- package/vue2/lib/node/css-ad18a8ab.js +21 -0
- package/vue2/lib/node/enable-editor-405441b9.cjs +1 -0
- package/vue2/lib/node/enable-editor-8b4a5b45.js +442 -0
- package/vue2/lib/node/evaluate-19fac854.cjs +41 -0
- package/vue2/lib/node/evaluate-52887aac.js +187 -0
- package/vue2/lib/node/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue2/lib/node/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue2/lib/node/functions/deopt.d.ts +4 -0
- package/vue2/lib/node/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue2/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue2/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue2/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue2/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue2/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue2/lib/node/functions/evaluate/evaluate.d.ts +2 -0
- package/vue2/lib/node/functions/evaluate/helpers.d.ts +24 -0
- package/vue2/lib/node/functions/evaluate/index.d.ts +1 -0
- package/vue2/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue2/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue2/lib/node/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue2/lib/node/functions/event-handler-name.d.ts +1 -0
- package/vue2/lib/node/functions/extract-text-styles.d.ts +4 -0
- package/vue2/lib/node/functions/fast-clone.d.ts +4 -0
- package/vue2/lib/node/functions/fetch-builder-props.d.ts +53 -0
- package/vue2/lib/node/functions/get-block-actions-handler.d.ts +8 -0
- package/vue2/lib/node/functions/get-block-actions.d.ts +10 -0
- package/vue2/lib/node/functions/get-block-component-options.d.ts +2 -0
- package/vue2/lib/node/functions/get-block-properties.d.ts +6 -0
- package/vue2/lib/node/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue2/lib/node/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue2/lib/node/functions/get-content/index.d.ts +28 -0
- package/vue2/lib/node/functions/get-content/types.d.ts +142 -0
- package/vue2/lib/node/functions/get-fetch.d.ts +1 -0
- package/vue2/lib/node/functions/get-processed-block.d.ts +10 -0
- package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue2/lib/node/functions/is-browser.d.ts +1 -0
- package/vue2/lib/node/functions/is-edge-runtime.d.ts +4 -0
- package/vue2/lib/node/functions/is-editing.d.ts +1 -0
- package/vue2/lib/node/functions/is-iframe.d.ts +1 -0
- package/vue2/lib/node/functions/is-node-runtime.d.ts +4 -0
- package/vue2/lib/node/functions/is-previewing.d.ts +1 -0
- package/vue2/lib/node/functions/on-change.d.ts +7 -0
- package/vue2/lib/node/functions/register-component.d.ts +15 -0
- package/vue2/lib/node/functions/register.d.ts +16 -0
- package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue2/lib/node/functions/set-editor-settings.d.ts +4 -0
- package/vue2/lib/node/functions/set.d.ts +7 -0
- package/vue2/lib/node/functions/track/helpers.d.ts +5 -0
- package/vue2/lib/node/functions/track/index.d.ts +51 -0
- package/vue2/lib/node/functions/track/interaction.d.ts +13 -0
- package/vue2/lib/node/functions/transform-block-properties.d.ts +2 -0
- package/vue2/lib/node/functions/transform-block.d.ts +2 -0
- package/vue2/lib/node/get-block-actions-1a6b19ce.js +35 -0
- package/vue2/lib/node/get-block-actions-65751661.cjs +1 -0
- package/vue2/lib/node/get-block-properties-2204d735.cjs +1 -0
- package/vue2/lib/node/get-block-properties-cbc0612e.js +48 -0
- package/vue2/lib/node/get-processed-block-78fabb02.js +52 -0
- package/vue2/lib/node/get-processed-block-902c8e72.cjs +1 -0
- package/vue2/lib/node/helpers/ab-tests.d.ts +9 -0
- package/vue2/lib/node/helpers/canTrack.d.ts +1 -0
- package/vue2/lib/node/helpers/cookie.d.ts +19 -0
- package/vue2/lib/node/helpers/css.d.ts +7 -0
- package/vue2/lib/node/helpers/flatten.d.ts +6 -0
- package/vue2/lib/node/helpers/localStorage.d.ts +9 -0
- package/vue2/lib/node/helpers/logger.d.ts +6 -0
- package/vue2/lib/node/helpers/nullable.d.ts +2 -0
- package/vue2/lib/node/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue2/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue2/lib/node/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue2/lib/node/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue2/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue2/lib/node/helpers/sessionId.d.ts +6 -0
- package/vue2/lib/node/helpers/time.d.ts +1 -0
- package/vue2/lib/node/helpers/url.d.ts +6 -0
- package/vue2/lib/node/helpers/uuid.d.ts +8 -0
- package/vue2/lib/node/helpers/visitorId.d.ts +6 -0
- package/vue2/lib/node/index-43273102.js +1441 -0
- package/vue2/lib/node/index-d8e34fec.cjs +32 -0
- package/vue2/lib/node/index-helpers/blocks-exports.d.ts +88 -0
- package/vue2/lib/node/index-helpers/top-of-file.d.ts +1 -0
- package/vue2/lib/node/index.cjs +1 -0
- package/vue2/lib/node/index.d.ts +7 -0
- package/vue2/lib/node/index.js +29 -0
- package/vue2/lib/node/inlined-script-82af82d4.cjs +1 -0
- package/vue2/lib/node/inlined-script-da97caa2.js +23 -0
- package/vue2/lib/node/inlined-styles-73c1efea.cjs +1 -0
- package/vue2/lib/node/inlined-styles-f35650e9.js +23 -0
- package/vue2/lib/node/interactive-element-07235e63.cjs +1 -0
- package/vue2/lib/node/interactive-element-22405343.js +42 -0
- package/vue2/lib/node/repeated-block-53bf7a45.js +38 -0
- package/vue2/lib/node/repeated-block-771e5e8b.cjs +1 -0
- package/vue2/lib/node/scripts/init-editing.d.ts +6 -0
- package/vue2/lib/node/server-index.d.ts +15 -0
- package/vue2/lib/node/style.css +1 -0
- package/vue2/lib/node/styles-6a9d7ee1.cjs +31 -0
- package/vue2/lib/node/styles-c2fd2724.js +89 -0
- package/vue2/lib/node/types/api-version.d.ts +2 -0
- package/vue2/lib/node/types/builder-block.d.ts +66 -0
- package/vue2/lib/node/types/builder-content.d.ts +44 -0
- package/vue2/lib/node/types/builder-props.d.ts +9 -0
- package/vue2/lib/node/types/can-track.d.ts +3 -0
- package/vue2/lib/node/types/components.d.ts +110 -0
- package/vue2/lib/node/types/deep-partial.d.ts +3 -0
- package/vue2/lib/node/types/element.d.ts +59 -0
- package/vue2/lib/node/types/enforced-partials.d.ts +21 -0
- package/vue2/lib/node/types/input.d.ts +121 -0
- package/vue2/lib/node/types/targets.d.ts +1 -0
- package/vue2/lib/node/types/typescript.d.ts +11 -0
- package/vue3/lib/browser/block-wrapper.32fa4b39.js +54 -0
- package/vue3/lib/browser/block-wrapper.fc71d4d3.cjs +1 -0
- package/vue3/lib/browser/blocks/button/button.vue.d.ts +31 -0
- package/vue3/lib/browser/blocks/button/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/columns/columns.vue.d.ts +69 -0
- package/vue3/lib/browser/blocks/columns/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/custom-code/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/custom-code/custom-code.vue.d.ts +20 -0
- package/vue3/lib/browser/blocks/embed/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/embed/embed.vue.d.ts +22 -0
- package/vue3/lib/browser/blocks/embed/helpers.d.ts +1 -0
- package/vue3/lib/browser/blocks/form/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/fragment/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue3/lib/browser/blocks/helpers.d.ts +13 -0
- package/vue3/lib/browser/blocks/image/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/image/image.helpers.d.ts +1 -0
- package/vue3/lib/browser/blocks/image/image.vue.d.ts +72 -0
- package/vue3/lib/browser/blocks/img/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/img/img.vue.d.ts +39 -0
- package/vue3/lib/browser/blocks/input/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/raw-text/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/section/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/section/section.vue.d.ts +23 -0
- package/vue3/lib/browser/blocks/select/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/submit-button/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/symbol/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue3/lib/browser/blocks/symbol/symbol.vue.d.ts +58 -0
- package/vue3/lib/browser/blocks/text/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/text/text.vue.d.ts +11 -0
- package/vue3/lib/browser/blocks/textarea/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/video/component-info.d.ts +2 -0
- package/vue3/lib/browser/blocks/video/video.vue.d.ts +64 -0
- package/vue3/lib/browser/component-ref.52b4ab91.js +111 -0
- package/vue3/lib/browser/component-ref.f8946ad7.cjs +1 -0
- package/vue3/lib/browser/components/block/block.helpers.d.ts +13 -0
- package/vue3/lib/browser/components/block/block.vue.d.ts +41 -0
- package/vue3/lib/browser/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue3/lib/browser/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue3/lib/browser/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue3/lib/browser/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue3/lib/browser/components/block/types.d.ts +6 -0
- package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +29 -0
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +91 -0
- package/vue3/lib/browser/components/content/components/styles.helpers.d.ts +15 -0
- package/vue3/lib/browser/components/content/components/styles.vue.d.ts +16 -0
- package/vue3/lib/browser/components/content/content.helpers.d.ts +7 -0
- package/vue3/lib/browser/components/content/content.types.d.ts +24 -0
- package/vue3/lib/browser/components/content/content.vue.d.ts +69 -0
- package/vue3/lib/browser/components/content/index.d.ts +1 -0
- package/vue3/lib/browser/components/content/wrap-component-ref.d.ts +6 -0
- package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +75 -0
- package/vue3/lib/browser/components/content-variants/helpers.d.ts +41 -0
- package/vue3/lib/browser/components/inlined-script.vue.d.ts +11 -0
- package/vue3/lib/browser/components/inlined-styles.vue.d.ts +11 -0
- package/vue3/lib/browser/constants/builder-registered-components.d.ts +6 -0
- package/vue3/lib/browser/constants/device-sizes.d.ts +13 -0
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -0
- package/vue3/lib/browser/constants/target.d.ts +2 -0
- package/vue3/lib/browser/context/builder.context.d.ts +15 -0
- package/vue3/lib/browser/context/components.context.d.ts +7 -0
- package/vue3/lib/browser/context/types.d.ts +35 -0
- package/vue3/lib/browser/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue3/lib/browser/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue3/lib/browser/functions/deopt.d.ts +4 -0
- package/vue3/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue3/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue3/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue3/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue3/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue3/lib/browser/functions/evaluate/evaluate.d.ts +2 -0
- package/vue3/lib/browser/functions/evaluate/helpers.d.ts +24 -0
- package/vue3/lib/browser/functions/evaluate/index.d.ts +1 -0
- package/vue3/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue3/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/browser/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue3/lib/browser/functions/event-handler-name.d.ts +1 -0
- package/vue3/lib/browser/functions/extract-text-styles.d.ts +4 -0
- package/vue3/lib/browser/functions/fast-clone.d.ts +4 -0
- package/vue3/lib/browser/functions/fetch-builder-props.d.ts +53 -0
- package/vue3/lib/browser/functions/get-block-actions-handler.d.ts +8 -0
- package/vue3/lib/browser/functions/get-block-actions.d.ts +10 -0
- package/vue3/lib/browser/functions/get-block-component-options.d.ts +2 -0
- package/vue3/lib/browser/functions/get-block-properties.d.ts +6 -0
- package/vue3/lib/browser/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue3/lib/browser/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue3/lib/browser/functions/get-content/index.d.ts +28 -0
- package/vue3/lib/browser/functions/get-content/types.d.ts +142 -0
- package/vue3/lib/browser/functions/get-fetch.d.ts +1 -0
- package/vue3/lib/browser/functions/get-processed-block.d.ts +10 -0
- package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue3/lib/browser/functions/is-browser.d.ts +1 -0
- package/vue3/lib/browser/functions/is-edge-runtime.d.ts +4 -0
- package/vue3/lib/browser/functions/is-editing.d.ts +1 -0
- package/vue3/lib/browser/functions/is-iframe.d.ts +1 -0
- package/vue3/lib/browser/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/browser/functions/is-previewing.d.ts +1 -0
- package/vue3/lib/browser/functions/on-change.d.ts +7 -0
- package/vue3/lib/browser/functions/register-component.d.ts +15 -0
- package/vue3/lib/browser/functions/register.d.ts +16 -0
- package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue3/lib/browser/functions/set-editor-settings.d.ts +4 -0
- package/vue3/lib/browser/functions/set.d.ts +7 -0
- package/vue3/lib/browser/functions/track/helpers.d.ts +5 -0
- package/vue3/lib/browser/functions/track/index.d.ts +51 -0
- package/vue3/lib/browser/functions/track/interaction.d.ts +13 -0
- package/vue3/lib/browser/functions/transform-block-properties.d.ts +2 -0
- package/vue3/lib/browser/functions/transform-block.d.ts +2 -0
- package/vue3/lib/browser/get-block-actions.33a95ae9.js +79 -0
- package/vue3/lib/browser/get-block-actions.720b385e.cjs +1 -0
- package/vue3/lib/browser/helpers/ab-tests.d.ts +9 -0
- package/vue3/lib/browser/helpers/canTrack.d.ts +1 -0
- package/vue3/lib/browser/helpers/cookie.d.ts +19 -0
- package/vue3/lib/browser/helpers/css.d.ts +7 -0
- package/vue3/lib/browser/helpers/flatten.d.ts +6 -0
- package/vue3/lib/browser/helpers/localStorage.d.ts +9 -0
- package/vue3/lib/browser/helpers/logger.d.ts +6 -0
- package/vue3/lib/browser/helpers/nullable.d.ts +2 -0
- package/vue3/lib/browser/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue3/lib/browser/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue3/lib/browser/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue3/lib/browser/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue3/lib/browser/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue3/lib/browser/helpers/sessionId.d.ts +6 -0
- package/vue3/lib/browser/helpers/time.d.ts +1 -0
- package/vue3/lib/browser/helpers/url.d.ts +6 -0
- package/vue3/lib/browser/helpers/uuid.d.ts +8 -0
- package/vue3/lib/browser/helpers/visitorId.d.ts +6 -0
- package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +111 -0
- package/vue3/lib/browser/index-helpers/top-of-file.d.ts +1 -0
- package/vue3/lib/browser/index.abbd01ce.cjs +69 -0
- package/vue3/lib/browser/index.bd816233.js +3299 -0
- package/vue3/lib/browser/index.cjs +1 -0
- package/vue3/lib/browser/index.d.ts +7 -0
- package/vue3/lib/browser/index.js +29 -0
- package/vue3/lib/browser/repeated-block.41d43763.js +33 -0
- package/vue3/lib/browser/repeated-block.4bb78d4d.cjs +1 -0
- package/vue3/lib/browser/scripts/init-editing.d.ts +6 -0
- package/vue3/lib/browser/server-index.d.ts +15 -0
- package/vue3/lib/browser/style.css +1 -0
- package/vue3/lib/browser/types/api-version.d.ts +2 -0
- package/vue3/lib/browser/types/builder-block.d.ts +66 -0
- package/vue3/lib/browser/types/builder-content.d.ts +44 -0
- package/vue3/lib/browser/types/builder-props.d.ts +9 -0
- package/vue3/lib/browser/types/can-track.d.ts +3 -0
- package/vue3/lib/browser/types/components.d.ts +110 -0
- package/vue3/lib/browser/types/deep-partial.d.ts +3 -0
- package/vue3/lib/browser/types/element.d.ts +59 -0
- package/vue3/lib/browser/types/enforced-partials.d.ts +21 -0
- package/vue3/lib/browser/types/input.d.ts +121 -0
- package/vue3/lib/browser/types/targets.d.ts +1 -0
- package/vue3/lib/browser/types/typescript.d.ts +11 -0
- package/vue3/lib/edge/block-wrapper.4bb452b4.js +54 -0
- package/vue3/lib/edge/block-wrapper.d36a195b.cjs +1 -0
- package/vue3/lib/edge/blocks/button/button.vue.d.ts +31 -0
- package/vue3/lib/edge/blocks/button/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/columns/columns.vue.d.ts +69 -0
- package/vue3/lib/edge/blocks/columns/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/custom-code/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/custom-code/custom-code.vue.d.ts +20 -0
- package/vue3/lib/edge/blocks/embed/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/embed/embed.vue.d.ts +22 -0
- package/vue3/lib/edge/blocks/embed/helpers.d.ts +1 -0
- package/vue3/lib/edge/blocks/form/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/fragment/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue3/lib/edge/blocks/helpers.d.ts +13 -0
- package/vue3/lib/edge/blocks/image/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/image/image.helpers.d.ts +1 -0
- package/vue3/lib/edge/blocks/image/image.vue.d.ts +72 -0
- package/vue3/lib/edge/blocks/img/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/img/img.vue.d.ts +39 -0
- package/vue3/lib/edge/blocks/input/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/raw-text/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/section/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/section/section.vue.d.ts +23 -0
- package/vue3/lib/edge/blocks/select/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/submit-button/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/symbol/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue3/lib/edge/blocks/symbol/symbol.vue.d.ts +58 -0
- package/vue3/lib/edge/blocks/text/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/text/text.vue.d.ts +11 -0
- package/vue3/lib/edge/blocks/textarea/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/video/component-info.d.ts +2 -0
- package/vue3/lib/edge/blocks/video/video.vue.d.ts +64 -0
- package/vue3/lib/edge/component-ref.09c0c561.cjs +1 -0
- package/vue3/lib/edge/component-ref.215d8eb3.js +111 -0
- package/vue3/lib/edge/components/block/block.helpers.d.ts +13 -0
- package/vue3/lib/edge/components/block/block.vue.d.ts +41 -0
- package/vue3/lib/edge/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue3/lib/edge/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue3/lib/edge/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue3/lib/edge/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue3/lib/edge/components/block/types.d.ts +6 -0
- package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +29 -0
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +91 -0
- package/vue3/lib/edge/components/content/components/styles.helpers.d.ts +15 -0
- package/vue3/lib/edge/components/content/components/styles.vue.d.ts +16 -0
- package/vue3/lib/edge/components/content/content.helpers.d.ts +7 -0
- package/vue3/lib/edge/components/content/content.types.d.ts +24 -0
- package/vue3/lib/edge/components/content/content.vue.d.ts +69 -0
- package/vue3/lib/edge/components/content/index.d.ts +1 -0
- package/vue3/lib/edge/components/content/wrap-component-ref.d.ts +6 -0
- package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +75 -0
- package/vue3/lib/edge/components/content-variants/helpers.d.ts +41 -0
- package/vue3/lib/edge/components/inlined-script.vue.d.ts +11 -0
- package/vue3/lib/edge/components/inlined-styles.vue.d.ts +11 -0
- package/vue3/lib/edge/constants/builder-registered-components.d.ts +6 -0
- package/vue3/lib/edge/constants/device-sizes.d.ts +13 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -0
- package/vue3/lib/edge/constants/target.d.ts +2 -0
- package/vue3/lib/edge/context/builder.context.d.ts +15 -0
- package/vue3/lib/edge/context/components.context.d.ts +7 -0
- package/vue3/lib/edge/context/types.d.ts +35 -0
- package/vue3/lib/edge/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue3/lib/edge/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue3/lib/edge/functions/deopt.d.ts +4 -0
- package/vue3/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue3/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue3/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue3/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue3/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue3/lib/edge/functions/evaluate/evaluate.d.ts +2 -0
- package/vue3/lib/edge/functions/evaluate/helpers.d.ts +24 -0
- package/vue3/lib/edge/functions/evaluate/index.d.ts +1 -0
- package/vue3/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue3/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/edge/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue3/lib/edge/functions/event-handler-name.d.ts +1 -0
- package/vue3/lib/edge/functions/extract-text-styles.d.ts +4 -0
- package/vue3/lib/edge/functions/fast-clone.d.ts +4 -0
- package/vue3/lib/edge/functions/fetch-builder-props.d.ts +53 -0
- package/vue3/lib/edge/functions/get-block-actions-handler.d.ts +8 -0
- package/vue3/lib/edge/functions/get-block-actions.d.ts +10 -0
- package/vue3/lib/edge/functions/get-block-component-options.d.ts +2 -0
- package/vue3/lib/edge/functions/get-block-properties.d.ts +6 -0
- package/vue3/lib/edge/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue3/lib/edge/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue3/lib/edge/functions/get-content/index.d.ts +28 -0
- package/vue3/lib/edge/functions/get-content/types.d.ts +142 -0
- package/vue3/lib/edge/functions/get-fetch.d.ts +1 -0
- package/vue3/lib/edge/functions/get-processed-block.d.ts +10 -0
- package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue3/lib/edge/functions/is-browser.d.ts +1 -0
- package/vue3/lib/edge/functions/is-edge-runtime.d.ts +4 -0
- package/vue3/lib/edge/functions/is-editing.d.ts +1 -0
- package/vue3/lib/edge/functions/is-iframe.d.ts +1 -0
- package/vue3/lib/edge/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/edge/functions/is-previewing.d.ts +1 -0
- package/vue3/lib/edge/functions/on-change.d.ts +7 -0
- package/vue3/lib/edge/functions/register-component.d.ts +15 -0
- package/vue3/lib/edge/functions/register.d.ts +16 -0
- package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue3/lib/edge/functions/set-editor-settings.d.ts +4 -0
- package/vue3/lib/edge/functions/set.d.ts +7 -0
- package/vue3/lib/edge/functions/track/helpers.d.ts +5 -0
- package/vue3/lib/edge/functions/track/index.d.ts +51 -0
- package/vue3/lib/edge/functions/track/interaction.d.ts +13 -0
- package/vue3/lib/edge/functions/transform-block-properties.d.ts +2 -0
- package/vue3/lib/edge/functions/transform-block.d.ts +2 -0
- package/vue3/lib/edge/get-block-actions.32987a91.js +79 -0
- package/vue3/lib/edge/get-block-actions.b7d0a3c2.cjs +1 -0
- package/vue3/lib/edge/helpers/ab-tests.d.ts +9 -0
- package/vue3/lib/edge/helpers/canTrack.d.ts +1 -0
- package/vue3/lib/edge/helpers/cookie.d.ts +19 -0
- package/vue3/lib/edge/helpers/css.d.ts +7 -0
- package/vue3/lib/edge/helpers/flatten.d.ts +6 -0
- package/vue3/lib/edge/helpers/localStorage.d.ts +9 -0
- package/vue3/lib/edge/helpers/logger.d.ts +6 -0
- package/vue3/lib/edge/helpers/nullable.d.ts +2 -0
- package/vue3/lib/edge/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue3/lib/edge/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue3/lib/edge/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue3/lib/edge/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue3/lib/edge/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue3/lib/edge/helpers/sessionId.d.ts +6 -0
- package/vue3/lib/edge/helpers/time.d.ts +1 -0
- package/vue3/lib/edge/helpers/url.d.ts +6 -0
- package/vue3/lib/edge/helpers/uuid.d.ts +8 -0
- package/vue3/lib/edge/helpers/visitorId.d.ts +6 -0
- package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +111 -0
- package/vue3/lib/edge/index-helpers/top-of-file.d.ts +1 -0
- package/vue3/lib/edge/index.cc0efb3b.js +5772 -0
- package/vue3/lib/edge/index.ceec697c.cjs +89 -0
- package/vue3/lib/edge/index.cjs +1 -0
- package/vue3/lib/edge/index.d.ts +7 -0
- package/vue3/lib/edge/index.js +29 -0
- package/vue3/lib/edge/repeated-block.b5d1a5b6.cjs +1 -0
- package/vue3/lib/edge/repeated-block.d1e4f878.js +33 -0
- package/vue3/lib/edge/scripts/init-editing.d.ts +6 -0
- package/vue3/lib/edge/server-index.d.ts +15 -0
- package/vue3/lib/edge/style.css +1 -0
- package/vue3/lib/edge/types/api-version.d.ts +2 -0
- package/vue3/lib/edge/types/builder-block.d.ts +66 -0
- package/vue3/lib/edge/types/builder-content.d.ts +44 -0
- package/vue3/lib/edge/types/builder-props.d.ts +9 -0
- package/vue3/lib/edge/types/can-track.d.ts +3 -0
- package/vue3/lib/edge/types/components.d.ts +110 -0
- package/vue3/lib/edge/types/deep-partial.d.ts +3 -0
- package/vue3/lib/edge/types/element.d.ts +59 -0
- package/vue3/lib/edge/types/enforced-partials.d.ts +21 -0
- package/vue3/lib/edge/types/input.d.ts +121 -0
- package/vue3/lib/edge/types/targets.d.ts +1 -0
- package/vue3/lib/edge/types/typescript.d.ts +11 -0
- package/vue3/lib/node/block-wrapper.027e2e58.cjs +1 -0
- package/vue3/lib/node/block-wrapper.1f5bec88.js +55 -0
- package/vue3/lib/node/blocks/button/button.vue.d.ts +31 -0
- package/vue3/lib/node/blocks/button/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/columns/columns.vue.d.ts +69 -0
- package/vue3/lib/node/blocks/columns/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/custom-code/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/custom-code/custom-code.vue.d.ts +20 -0
- package/vue3/lib/node/blocks/embed/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/embed/embed.vue.d.ts +22 -0
- package/vue3/lib/node/blocks/embed/helpers.d.ts +1 -0
- package/vue3/lib/node/blocks/form/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/fragment/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/fragment/fragment.vue.d.ts +7 -0
- package/vue3/lib/node/blocks/helpers.d.ts +13 -0
- package/vue3/lib/node/blocks/image/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/image/image.helpers.d.ts +1 -0
- package/vue3/lib/node/blocks/image/image.vue.d.ts +72 -0
- package/vue3/lib/node/blocks/img/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/img/img.vue.d.ts +39 -0
- package/vue3/lib/node/blocks/input/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/raw-text/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/section/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/section/section.vue.d.ts +23 -0
- package/vue3/lib/node/blocks/select/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/submit-button/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/symbol/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/symbol/symbol.helpers.d.ts +14 -0
- package/vue3/lib/node/blocks/symbol/symbol.vue.d.ts +58 -0
- package/vue3/lib/node/blocks/text/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/text/text.vue.d.ts +11 -0
- package/vue3/lib/node/blocks/textarea/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/video/component-info.d.ts +2 -0
- package/vue3/lib/node/blocks/video/video.vue.d.ts +64 -0
- package/vue3/lib/node/component-ref.5c293120.cjs +1 -0
- package/vue3/lib/node/component-ref.d2c6eedf.js +112 -0
- package/vue3/lib/node/components/block/block.helpers.d.ts +13 -0
- package/vue3/lib/node/components/block/block.vue.d.ts +41 -0
- package/vue3/lib/node/components/block/components/block-styles.vue.d.ts +22 -0
- package/vue3/lib/node/components/block/components/block-wrapper.vue.d.ts +29 -0
- package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
- package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
- package/vue3/lib/node/components/block/components/interactive-element.vue.d.ts +30 -0
- package/vue3/lib/node/components/block/components/repeated-block.vue.d.ts +16 -0
- package/vue3/lib/node/components/block/types.d.ts +6 -0
- package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +30 -0
- package/vue3/lib/node/components/blocks/blocks.vue.d.ts +29 -0
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +91 -0
- package/vue3/lib/node/components/content/components/styles.helpers.d.ts +15 -0
- package/vue3/lib/node/components/content/components/styles.vue.d.ts +16 -0
- package/vue3/lib/node/components/content/content.helpers.d.ts +7 -0
- package/vue3/lib/node/components/content/content.types.d.ts +24 -0
- package/vue3/lib/node/components/content/content.vue.d.ts +69 -0
- package/vue3/lib/node/components/content/index.d.ts +1 -0
- package/vue3/lib/node/components/content/wrap-component-ref.d.ts +6 -0
- package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +20 -0
- package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +75 -0
- package/vue3/lib/node/components/content-variants/helpers.d.ts +41 -0
- package/vue3/lib/node/components/inlined-script.vue.d.ts +11 -0
- package/vue3/lib/node/components/inlined-styles.vue.d.ts +11 -0
- package/vue3/lib/node/constants/builder-registered-components.d.ts +6 -0
- package/vue3/lib/node/constants/device-sizes.d.ts +13 -0
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -0
- package/vue3/lib/node/constants/target.d.ts +2 -0
- package/vue3/lib/node/context/builder.context.d.ts +15 -0
- package/vue3/lib/node/context/components.context.d.ts +7 -0
- package/vue3/lib/node/context/types.d.ts +35 -0
- package/vue3/lib/node/functions/apply-patch-with-mutation.d.ts +10 -0
- package/vue3/lib/node/functions/camel-to-kebab-case.d.ts +1 -0
- package/vue3/lib/node/functions/deopt.d.ts +4 -0
- package/vue3/lib/node/functions/evaluate/browser-runtime/browser.d.ts +4 -0
- package/vue3/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/vue3/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
- package/vue3/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
- package/vue3/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
- package/vue3/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -0
- package/vue3/lib/node/functions/evaluate/evaluate.d.ts +2 -0
- package/vue3/lib/node/functions/evaluate/helpers.d.ts +24 -0
- package/vue3/lib/node/functions/evaluate/index.d.ts +1 -0
- package/vue3/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -0
- package/vue3/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
- package/vue3/lib/node/functions/evaluate/placeholder-runtime.d.ts +2 -0
- package/vue3/lib/node/functions/event-handler-name.d.ts +1 -0
- package/vue3/lib/node/functions/extract-text-styles.d.ts +4 -0
- package/vue3/lib/node/functions/fast-clone.d.ts +4 -0
- package/vue3/lib/node/functions/fetch-builder-props.d.ts +53 -0
- package/vue3/lib/node/functions/get-block-actions-handler.d.ts +8 -0
- package/vue3/lib/node/functions/get-block-actions.d.ts +10 -0
- package/vue3/lib/node/functions/get-block-component-options.d.ts +2 -0
- package/vue3/lib/node/functions/get-block-properties.d.ts +6 -0
- package/vue3/lib/node/functions/get-builder-search-params/index.d.ts +12 -0
- package/vue3/lib/node/functions/get-content/generate-content-url.d.ts +2 -0
- package/vue3/lib/node/functions/get-content/index.d.ts +28 -0
- package/vue3/lib/node/functions/get-content/types.d.ts +142 -0
- package/vue3/lib/node/functions/get-fetch.d.ts +1 -0
- package/vue3/lib/node/functions/get-processed-block.d.ts +10 -0
- package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +7 -0
- package/vue3/lib/node/functions/is-browser.d.ts +1 -0
- package/vue3/lib/node/functions/is-edge-runtime.d.ts +4 -0
- package/vue3/lib/node/functions/is-editing.d.ts +1 -0
- package/vue3/lib/node/functions/is-iframe.d.ts +1 -0
- package/vue3/lib/node/functions/is-node-runtime.d.ts +4 -0
- package/vue3/lib/node/functions/is-previewing.d.ts +1 -0
- package/vue3/lib/node/functions/on-change.d.ts +7 -0
- package/vue3/lib/node/functions/register-component.d.ts +15 -0
- package/vue3/lib/node/functions/register.d.ts +16 -0
- package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +3 -0
- package/vue3/lib/node/functions/set-editor-settings.d.ts +4 -0
- package/vue3/lib/node/functions/set.d.ts +7 -0
- package/vue3/lib/node/functions/track/helpers.d.ts +5 -0
- package/vue3/lib/node/functions/track/index.d.ts +51 -0
- package/vue3/lib/node/functions/track/interaction.d.ts +13 -0
- package/vue3/lib/node/functions/transform-block-properties.d.ts +2 -0
- package/vue3/lib/node/functions/transform-block.d.ts +2 -0
- package/vue3/lib/node/get-block-actions.3bf73664.cjs +1 -0
- package/vue3/lib/node/get-block-actions.68279ccf.js +79 -0
- package/vue3/lib/node/helpers/ab-tests.d.ts +9 -0
- package/vue3/lib/node/helpers/canTrack.d.ts +1 -0
- package/vue3/lib/node/helpers/cookie.d.ts +19 -0
- package/vue3/lib/node/helpers/css.d.ts +7 -0
- package/vue3/lib/node/helpers/flatten.d.ts +6 -0
- package/vue3/lib/node/helpers/localStorage.d.ts +9 -0
- package/vue3/lib/node/helpers/logger.d.ts +6 -0
- package/vue3/lib/node/helpers/nullable.d.ts +2 -0
- package/vue3/lib/node/helpers/preview-lru-cache/get.d.ts +2 -0
- package/vue3/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
- package/vue3/lib/node/helpers/preview-lru-cache/init.d.ts +6 -0
- package/vue3/lib/node/helpers/preview-lru-cache/set.d.ts +7 -0
- package/vue3/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
- package/vue3/lib/node/helpers/sessionId.d.ts +6 -0
- package/vue3/lib/node/helpers/time.d.ts +1 -0
- package/vue3/lib/node/helpers/url.d.ts +6 -0
- package/vue3/lib/node/helpers/uuid.d.ts +8 -0
- package/vue3/lib/node/helpers/visitorId.d.ts +6 -0
- package/vue3/lib/node/index-helpers/blocks-exports.d.ts +111 -0
- package/vue3/lib/node/index-helpers/top-of-file.d.ts +1 -0
- package/vue3/lib/node/index.44e0d18b.cjs +109 -0
- package/vue3/lib/node/index.bb1871d7.js +3393 -0
- package/vue3/lib/node/index.cjs +1 -0
- package/vue3/lib/node/index.d.ts +7 -0
- package/vue3/lib/node/index.js +30 -0
- package/vue3/lib/node/repeated-block.6533598e.cjs +1 -0
- package/vue3/lib/node/repeated-block.c5b9936f.js +34 -0
- package/vue3/lib/node/scripts/init-editing.d.ts +6 -0
- package/vue3/lib/node/server-index.d.ts +15 -0
- package/vue3/lib/node/style.css +1 -0
- package/vue3/lib/node/types/api-version.d.ts +2 -0
- package/vue3/lib/node/types/builder-block.d.ts +66 -0
- package/vue3/lib/node/types/builder-content.d.ts +44 -0
- package/vue3/lib/node/types/builder-props.d.ts +9 -0
- package/vue3/lib/node/types/can-track.d.ts +3 -0
- package/vue3/lib/node/types/components.d.ts +110 -0
- package/vue3/lib/node/types/deep-partial.d.ts +3 -0
- package/vue3/lib/node/types/element.d.ts +59 -0
- package/vue3/lib/node/types/enforced-partials.d.ts +21 -0
- package/vue3/lib/node/types/input.d.ts +121 -0
- package/vue3/lib/node/types/targets.d.ts +1 -0
- package/vue3/lib/node/types/typescript.d.ts +11 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";const v=require("vue");function A(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const s=n?r.replace(t,""):r;o[s]=e[r]}return o}const yt=v.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:A}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function g(e,t,n,o,r,s,i,u){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),s&&(a._scopeId="data-v-"+s);var d;if(i?(d=function(l){l=l||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!l&&typeof __VUE_SSR_CONTEXT__<"u"&&(l=__VUE_SSR_CONTEXT__),r&&r.call(this,l),l&&l._registeredComponents&&l._registeredComponents.add(i)},a._ssrRegister=d):r&&(d=u?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(a.functional){a._injectStyles=d;var p=a.render;a.render=function(f,m){return d.call(m),p(f,m)}}else{var _=a.beforeCreate;a.beforeCreate=_?[].concat(_,d):[d]}return{exports:e,options:a}}var vt=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{href:t.link,target:t.openLinkInNewTab?"_blank":void 0,role:"button"}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},St=[],kt=g(yt,vt,St,!1,null,"ab46b8bd",null,null);const Ct=kt.exports,E=e=>JSON.parse(JSON.stringify(e)),H={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},xt=(e,t=H)=>`@media (max-width: ${t[e].max}px)`,J=({small:e,medium:t})=>{const n=E(H);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n},w="vue2",wt=()=>Promise.resolve().then(()=>Y).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),$t=()=>Promise.resolve().then(()=>require("./inlined-styles-73c1efea.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",e),e}),Tt=v.defineComponent({name:"builder-columns",components:{"inlined-styles":$t,blocks:wt},props:["js","space","columns","stackColumnsAt","reverseColumnsWhenStacked","builderContext","builderBlock","builderComponents"],data(){return{gutterSize:typeof this.space=="number"?this.space||0:20,cols:this.columns||[],stackAt:this.stackColumnsAt||"tablet",flexDir:this.stackColumnsAt==="never"?"row":this.reverseColumnsWhenStacked?"column-reverse":"column",TARGET:w}},computed:{columnsCssVars(){return{"--flex-dir":this.flexDir,"--flex-dir-tablet":this.getTabletStyle({stackedStyle:this.flexDir,desktopStyle:"row"})}},columnsStyles(){return`
|
|
2
|
+
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
3
|
+
.${this.builderBlock.id}-breakpoints {
|
|
4
|
+
flex-direction: var(--flex-dir-tablet);
|
|
5
|
+
align-items: stretch;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.${this.builderBlock.id}-breakpoints > .builder-column {
|
|
9
|
+
width: var(--column-width-tablet) !important;
|
|
10
|
+
margin-left: var(--column-margin-left-tablet) !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (max-width: ${this.getWidthForBreakpointSize("small")}px) {
|
|
15
|
+
.${this.builderBlock.id}-breakpoints {
|
|
16
|
+
flex-direction: var(--flex-dir);
|
|
17
|
+
align-items: stretch;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.${this.builderBlock.id}-breakpoints > .builder-column {
|
|
21
|
+
width: var(--column-width-mobile) !important;
|
|
22
|
+
margin-left: var(--column-margin-left-mobile) !important;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
`}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",s=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:s,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:s,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return J(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Rt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,blocks:o.blocks}})],1)})],2)},It=[],Pt=g(Tt,Rt,It,!1,null,"bd1575ca",null,null);const At=Pt.exports,Et=v.defineComponent({name:"builder-fragment-component",props:[]});var Ot=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},Vt=[],Bt=g(Et,Ot,Vt,!1,null,null,null,null);const Nt=Bt.exports;function K(e){return e.replace(/http(s)?:/,"")}function jt(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ft(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return K(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],s=t.match("x")?t:`${t}x`;return K(`${o[0]}_${s}${r}`)}return null}function V(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${jt(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ft(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Ut=v.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)!=null&&n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),V(t)}else if(this.image&&!this.srcset)return V(t);return V(t)},webpSrcSet(){var e;return(e=this.srcSetToUse)!=null&&e.match(/builder\.io/)&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Mt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!((r=(o=t.builderBlock)==null?void 0:o.children)!=null&&r.length&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),(i=(s=t.builderBlock)==null?void 0:s.children)!=null&&i.length&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},Wt=[],Lt=g(Ut,Mt,Wt,!1,null,"aae97bc7",null,null);const Kt=Lt.exports,zt=v.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:A}}});var Gt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Dt=[],qt=g(zt,Gt,Dt,!1,null,null,null,null);const Ht=qt.exports,T="[Builder.io]: ",k={log:(...e)=>console.log(T,...e),error:(...e)=>console.error(T,...e),warn:(...e)=>console.warn(T,...e),debug:(...e)=>console.debug(T,...e)},Jt=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return O({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{k.error("Could not fetch symbol content: ",n)})},Qt=()=>Promise.resolve().then(()=>De).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),Xt=v.defineComponent({name:"builder-symbol",components:{"content-variants":Qt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:A}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,(t=this.symbol)!=null&&t.dynamic||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||Jt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Yt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(s=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:s.state},model:(i=t.symbol)==null?void 0:i.model,content:t.contentToUse}})],1)},Zt=[],te=g(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=v.defineComponent({name:"builder-text",props:["text"]});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}})},re=[],se=g(ne,oe,re,!1,null,null,null,null);const ie=se.exports,ae=v.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","attributes","preload","fit","position","video","posterImage"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.attributes,...this.videoProps}}}});var ce=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("video",t._b({style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,borderRadius:1},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1))},le=[],ue=g(ae,ce,le,!1,null,null,null,null);const de=ue.exports,me=Symbol(),Q={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:me},fe=Symbol(),X={Components:{registeredComponents:{}},key:fe},pe=()=>Promise.resolve().then(()=>require("./block-575160ba.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),he=()=>Promise.resolve().then(()=>require("./block-styles-258f0e47.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ge=()=>Promise.resolve().then(()=>require("./blocks-wrapper-80b3a22f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),be=v.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":ge,block:pe,"block-styles":he},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:Q.key,componentsContext:X.key}});var _e=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},ye=[],ve=g(be,_e,ye,!1,null,null,null,null);const B=ve.exports,Y=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),x=e=>e!=null;function b(){return typeof window<"u"&&typeof document<"u"}const Se=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Z=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){k.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},tt=async e=>Z(e),ke=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(x).join("; "),Ce=[["secure",""],["SameSite","None"]],xe=({name:e,value:t,expires:n})=>{const r=(b()?location.protocol==="https:":!0)?Ce:[[]],s=n?[["expires",n.toUTCString()]]:[[]],i=[[e,t],...s,["path","/"],["domain",Se(window.location.hostname)],...r];return ke(i)},et=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=xe({name:e,value:t,expires:n});document.cookie=r}catch(r){k.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},we="builder.tests",N=e=>`${we}.${e}`,$e=({contentId:e})=>tt({name:N(e),canTrack:!0}),Te=({contentId:e})=>Z({name:N(e),canTrack:!0}),Re=({contentId:e,value:t})=>et({name:N(e),value:t,canTrack:!0}),nt=e=>x(e.id)&&x(e.variations)&&Object.keys(e.variations).length>0,Ie=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const s in t){const i=(r=t[s])==null?void 0:r.testRatio;if(n+=i,o<n)return s}return e},ot=e=>{const t=Ie(e);return Re({contentId:e.id,value:t}).catch(n=>{k.error("could not store A/B test variation: ",n)}),t},rt=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Pe=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!nt(e))return e;const n=Te({contentId:e.id})||ot({variations:e.variations,id:e.id}),o=rt({item:e,testGroupId:n});return{...e,...o}},Ae=async({item:e,canTrack:t})=>{if(!t||!nt(e))return e;const o=await $e({contentId:e.id})||ot({variations:e.variations,id:e.id}),r=rt({item:e,testGroupId:o});return{...e,...r}},P=e=>x(e)?e:!0,R=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),Ee=({canTrack:e,content:t})=>!(!(R(t).length>0)||!e);function Oe(e,t,n){var i;function o(){function u(m,h,y){let S="";if(y){const c=new Date;c.setTime(c.getTime()+y*24*60*60*1e3),S="; expires="+c.toUTCString()}document.cookie=m+"="+(h||"")+S+"; path=/; Secure; SameSite=None"}function a(m){const h=m+"=",y=document.cookie.split(";");for(let S=0;S<y.length;S++){let c=y[S];for(;c.charAt(0)===" ";)c=c.substring(1,c.length);if(c.indexOf(h)===0)return c.substring(h.length,c.length)}return null}const d=`builder.tests.${e}`,p=a(d),_=t.map(m=>m.id).concat(e);if(p&&_.includes(p))return p;let l=0;const f=Math.random();for(let m=0;m<t.length;m++){const h=t[m],y=h.testRatio;if(l+=y,f<l)return u(d,h.id),h.id}return u(d,e),e}const r=o(),s=(i=document.currentScript)==null?void 0:i.previousElementSibling;if(n){s.remove();const u=document.currentScript;u==null||u.remove()}else{const u=t.concat({id:e}).filter(a=>a.id!==r).map(a=>`.variant-${a.id} { display: none; }
|
|
26
|
+
`).join("");s.innerHTML=u}}function Ve(e,t,n){var a;if(!navigator.cookieEnabled)return;function o(d){const p=d+"=",_=document.cookie.split(";");for(let l=0;l<_.length;l++){let f=_[l];for(;f.charAt(0)===" ";)f=f.substring(1,f.length);if(f.indexOf(p)===0)return f.substring(p.length,f.length)}return null}const r=`builder.tests.${t}`,s=o(r),i=(a=document.currentScript)==null?void 0:a.parentElement,u=e===t;if(s===e){if(u)return;i==null||i.removeAttribute("hidden"),i==null||i.removeAttribute("aria-hidden")}else{u&&(n?i==null||i.remove():(i==null||i.setAttribute("hidden","true"),i==null||i.setAttribute("aria-hidden","true")));return}}const Be=e=>e==="react"||e==="reactNative",st=Be(w),it="builderIoAbTest",at="builderIoRenderContent",Ne=()=>{const e=Oe.toString().replace(/\s+/g," "),t=Ve.toString().replace(/\s+/g," ");return`
|
|
27
|
+
window.${it} = ${e}
|
|
28
|
+
window.${at} = ${t}
|
|
29
|
+
`},je=(e,t)=>`
|
|
30
|
+
window.${it}("${t}",${JSON.stringify(e)}, ${st})`,Fe=({contentId:e,variationId:t})=>`
|
|
31
|
+
window.${at}("${t}", "${e}", ${st})`,Ue=()=>Promise.resolve().then(()=>require("./content-8b7678bc.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentComponent at ../content/content.vue",e),e}),Me=()=>Promise.resolve().then(()=>require("./inlined-script-82af82d4.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),We=()=>Promise.resolve().then(()=>require("./inlined-styles-73c1efea.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",e),e}),Le=v.defineComponent({name:"content-variants",components:{"inlined-script":Me,"inlined-styles":We,"content-component":Ue},props:["canTrack","content","__isNestedRender","model","data","context","apiKey","apiVersion","customComponents","locale","includeRefs","enrich"],data(){return{shouldRenderVariants:Ee({canTrack:P(this.canTrack),content:this.content}),TARGET:w,getScriptString:Ne,getVariants:R}},mounted(){this.shouldRenderVariants=!1},computed:{variantScriptStr(){var e;return je(R(this.content).map(t=>({id:t.testVariationId,testRatio:t.testRatio})),((e=this.content)==null?void 0:e.id)||"")},hideVariantsStyleString(){return R(this.content).map(e=>`.variant-${e.testVariationId} { display: none; } `).join("")},defaultContent(){var e;return this.shouldRenderVariants?{...this.content,testVariationId:(e=this.content)==null?void 0:e.id}:Pe({item:this.content,canTrack:P(this.canTrack)})}}});var Ke=function(){var o,r;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[!t.__isNestedRender&&t.TARGET!=="reactNative"?[n("inlined-script",{attrs:{scriptStr:t.getScriptString()}})]:t._e(),t.shouldRenderVariants?[n("inlined-styles",{attrs:{id:`variants-styles-${(o=t.content)==null?void 0:o.id}`,styles:t.hideVariantsStyleString}}),n("inlined-script",{attrs:{scriptStr:t.variantScriptStr}}),t._l(t.getVariants(t.content),function(s,i){return n("content-component",{key:s.testVariationId,attrs:{content:s,showContent:!1,classNameProp:void 0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}})})]:t._e(),n("content-component",t._b({attrs:{content:t.defaultContent,classNameProp:`variant-${(r=t.content)==null?void 0:r.id}`,showContent:!0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}},"content-component",{key:t.shouldRenderVariants.toString()},!1))],2)},ze=[],Ge=g(Le,Ke,ze,!1,null,null,null,null);const j=Ge.exports,De=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"})),qe=B,He=j;function Je(){return b()&&window.self!==window.top}function F(){return Je()&&window.location.search.indexOf("builder.frameEditing=")!==-1}function Qe(){return!b()||F()?!1:location.search.indexOf("builder.preview=")!==-1}const Xe=[],Ye=e=>({type:"builder.registerComponent",data:ct(e)}),Ze=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},tn=e=>typeof e=="function"?Ze(e):E(e),ct=({inputs:e,...t})=>({...E(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[r,s])=>({...o,[r]:tn(s)}),{}))}),z={};function en(e,t){let n=z[e];if(n||(n=z[e]=[]),n.push(t),b()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(r){console.debug("Could not postmessage",r)}}}const G={};function nn(e){if(b()){Object.assign(G,e);const t={type:"builder.settingsChange",data:G};parent.postMessage(t,"*")}}function on(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function rn(){const e=on().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
32
|
+
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const lt=rn();function I(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const s=e[r],i=[t,r].filter(Boolean).join(n);return[typeof s=="object",s!==null,!(Array.isArray(s)&&s.length===0)].every(Boolean)?{...o,...I(s,i,n)}:{...o,[i]:s}},{})}const sn="v3",D="builder.",an="options.",cn=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},U=e=>{if(!e)return{};const t=ut(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(D)){const r=o.replace(D,"").replace(an,"");n[r]=t[o]}}),n},ln=()=>{if(!b())return{};const e=new URLSearchParams(window.location.search);return U(e)},ut=e=>e instanceof URLSearchParams?cn(e):e,q=e=>typeof e=="number"&&!isNaN(e)&&e>=0,M=e=>{let{noTraverse:t=!1}=e;const{limit:n=30,userAttributes:o,query:r,model:s,apiKey:i,includeRefs:u=!0,enrich:a,locale:d,apiVersion:p=sn,fields:_,omit:l,offset:f,cacheSeconds:m,staleCacheSeconds:h,sort:y,includeUnpublished:S}=e;if(!i)throw new Error("Missing API key");if(!["v2","v3"].includes(p))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${p}'`);(e.limit===void 0||e.limit>1)&&!("noTraverse"in e)&&(t=!0);const c=new URL(`https://cdn.builder.io/api/${p}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${u}${d?`&locale=${d}`:""}${a?`&enrich=${a}`:""}`);if(c.searchParams.set("omit",l||"meta.componentsUsed"),_&&c.searchParams.set("fields",_),Number.isFinite(f)&&f>-1&&c.searchParams.set("offset",String(Math.floor(f))),typeof S=="boolean"&&c.searchParams.set("includeUnpublished",String(S)),m&&q(m)&&c.searchParams.set("cacheSeconds",String(m)),h&&q(h)&&c.searchParams.set("staleCacheSeconds",String(h)),y){const C=I({sort:y});for(const $ in C)c.searchParams.set($,JSON.stringify(C[$]))}const _t={...ln(),...ut(e.options||{})},L=I(_t);for(const C in L)c.searchParams.set(C,String(L[C]));if(o&&c.searchParams.set("userAttributes",JSON.stringify(o)),r){const C=I({query:r});for(const $ in C)c.searchParams.set($,JSON.stringify(C[$]))}return c},un=e=>"results"in e;async function O(e){const t=await W({...e,limit:1});return t&&t.results[0]||null}const dn=O,mn=async e=>{const t=M(e);return await(await lt(t.href)).json()},dt=async(e,t,n=M(e))=>{const o=P(e.canTrack);if(n.search.includes("preview="),!o||!(b()||w==="reactNative"))return t;try{const r=[];for(const s of t.results)r.push(await Ae({item:s,canTrack:o}));t.results=r}catch(r){k.error("Could not process A/B tests. ",r)}return t};async function W(e){try{const t=M(e),n=await mn(e);return un(n)?dt(e,n):(k.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return k.error("Error fetching data. ",t),null}}const fn=W;function pn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function mt(){return pn().replace(/-/g,"")}const ft="builderSessionId",hn=async({canTrack:e})=>{if(!e)return;const t=await tt({name:ft,canTrack:e});if(x(t))return t;{const n=gn();return bn({id:n,canTrack:e}),n}},gn=()=>mt(),bn=({id:e,canTrack:t})=>et({name:ft,value:e,canTrack:t}),pt=()=>b()&&typeof localStorage<"u"?localStorage:void 0,_n=({key:e,canTrack:t})=>{var n;try{return t?(n=pt())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},yn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=pt())==null||o.setItem(e,n))}catch(r){console.debug("[LocalStorage] SET error: ",r)}},ht="builderVisitorId",vn=({canTrack:e})=>{if(!e)return;const t=_n({key:ht,canTrack:e});if(x(t))return t;{const n=Sn();return kn({id:n,canTrack:e}),n}},Sn=()=>mt(),kn=({id:e,canTrack:t})=>yn({key:ht,value:e,canTrack:t}),Cn=()=>{if(b()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},xn=()=>typeof navigator=="object"&&navigator.userAgent||"",gt=()=>{const e=xn(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||w==="reactNative"}},n=e.match(/Tablet|iPad/i),o=Cn();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},wn=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await hn({canTrack:e}),n=vn({canTrack:e});return{sessionId:t,visitorId:n}},$n=async({type:e,canTrack:t,apiKey:n,metadata:o,...r})=>({type:e,data:{...r,metadata:{url:location.href,...o},...await wn({canTrack:t}),userAttributes:gt(),ownerId:n}});async function bt(e){if(!e.apiKey){k.error("Missing API key for track call. Please provide your API key.");return}if(e.canTrack&&!F()&&(b()||w==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await $n(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const Tn=e=>bt({...e,canTrack:!0}),Rn=async e=>{var o,r,s;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((r=e.userAttributes)==null?void 0:r.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:U(e.searchParams||((s=e.url)==null?void 0:s.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await O(n)}};exports.Blocks=B;exports.Button=Ct;exports.Columns=At;exports.ComponentsContext=X;exports.Content=j;exports.Fragment=Nt;exports.Image=Kt;exports.RenderBlocks=qe;exports.RenderContent=He;exports.Section=Ht;exports.Symbol=ee;exports.TARGET=w;exports.Text=ie;exports.Video=de;exports._processContentResult=dt;exports._track=bt;exports.blocks=Y;exports.builderContext=Q;exports.checkIsDefined=x;exports.components=Xe;exports.createRegisterComponentMessage=Ye;exports.fastClone=E;exports.fetch=lt;exports.fetchBuilderProps=Rn;exports.fetchEntries=W;exports.fetchOneEntry=O;exports.filterAttrs=A;exports.getAllContent=fn;exports.getBuilderSearchParams=U;exports.getContent=dn;exports.getDefaultCanTrack=P;exports.getMaxWidthQueryForSize=xt;exports.getRenderContentScriptString=Fe;exports.getSizesForBreakpoints=J;exports.getUserAttributes=gt;exports.isBrowser=b;exports.isEditing=F;exports.isPreviewing=Qe;exports.logger=k;exports.normalizeComponent=g;exports.register=en;exports.serializeComponentInfo=ct;exports.setEditorSettings=nn;exports.track=Tn;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export { default as Button } from '../blocks/button/button.vue';
|
|
2
|
+
export { default as Columns } from '../blocks/columns/columns.vue';
|
|
3
|
+
export { default as Fragment } from '../blocks/fragment/fragment.vue';
|
|
4
|
+
export { default as Image } from '../blocks/image/image.vue';
|
|
5
|
+
export { default as Section } from '../blocks/section/section.vue';
|
|
6
|
+
export { default as Symbol } from '../blocks/symbol/symbol.vue';
|
|
7
|
+
export { default as Text } from '../blocks/text/text.vue';
|
|
8
|
+
export { default as Video } from '../blocks/video/video.vue';
|
|
9
|
+
import { default as Blocks } from '../components/blocks/blocks.vue';
|
|
10
|
+
import { default as Content } from '../components/content-variants/content-variants.vue';
|
|
11
|
+
export { Blocks, Content };
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Renamed to `Blocks`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RenderBlocks: import("vue").DefineComponent<Readonly<{
|
|
16
|
+
parent?: any;
|
|
17
|
+
path?: any;
|
|
18
|
+
blocks?: any;
|
|
19
|
+
styleProp?: any;
|
|
20
|
+
context?: any;
|
|
21
|
+
registeredComponents?: any;
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
23
|
+
parent?: any;
|
|
24
|
+
path?: any;
|
|
25
|
+
blocks?: any;
|
|
26
|
+
styleProp?: any;
|
|
27
|
+
context?: any;
|
|
28
|
+
registeredComponents?: any;
|
|
29
|
+
}>>>, {
|
|
30
|
+
readonly parent?: any;
|
|
31
|
+
readonly path?: any;
|
|
32
|
+
readonly blocks?: any;
|
|
33
|
+
readonly styleProp?: any;
|
|
34
|
+
readonly context?: any;
|
|
35
|
+
readonly registeredComponents?: any;
|
|
36
|
+
}>;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Renamed to `Content`.
|
|
39
|
+
*/
|
|
40
|
+
export declare const RenderContent: import("vue").DefineComponent<Readonly<{
|
|
41
|
+
data?: any;
|
|
42
|
+
model?: any;
|
|
43
|
+
content?: any;
|
|
44
|
+
context?: any;
|
|
45
|
+
apiKey?: any;
|
|
46
|
+
apiVersion?: any;
|
|
47
|
+
canTrack?: any;
|
|
48
|
+
__isNestedRender?: any;
|
|
49
|
+
customComponents?: any;
|
|
50
|
+
locale?: any;
|
|
51
|
+
includeRefs?: any;
|
|
52
|
+
enrich?: any;
|
|
53
|
+
}>, {}, {
|
|
54
|
+
shouldRenderVariants: boolean;
|
|
55
|
+
TARGET: import("../types/targets").Target;
|
|
56
|
+
getScriptString: () => string;
|
|
57
|
+
getVariants: (content: import("../helpers/nullable").Nullable<import("../types/builder-content").BuilderContent>) => any;
|
|
58
|
+
}, {
|
|
59
|
+
variantScriptStr(): string;
|
|
60
|
+
hideVariantsStyleString(): any;
|
|
61
|
+
defaultContent(): any;
|
|
62
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
63
|
+
data?: any;
|
|
64
|
+
model?: any;
|
|
65
|
+
content?: any;
|
|
66
|
+
context?: any;
|
|
67
|
+
apiKey?: any;
|
|
68
|
+
apiVersion?: any;
|
|
69
|
+
canTrack?: any;
|
|
70
|
+
__isNestedRender?: any;
|
|
71
|
+
customComponents?: any;
|
|
72
|
+
locale?: any;
|
|
73
|
+
includeRefs?: any;
|
|
74
|
+
enrich?: any;
|
|
75
|
+
}>>>, {
|
|
76
|
+
readonly data?: any;
|
|
77
|
+
readonly model?: any;
|
|
78
|
+
readonly content?: any;
|
|
79
|
+
readonly context?: any;
|
|
80
|
+
readonly apiKey?: any;
|
|
81
|
+
readonly apiVersion?: any;
|
|
82
|
+
readonly canTrack?: any;
|
|
83
|
+
readonly __isNestedRender?: any;
|
|
84
|
+
readonly customComponents?: any;
|
|
85
|
+
readonly locale?: any;
|
|
86
|
+
readonly includeRefs?: any;
|
|
87
|
+
readonly enrich?: any;
|
|
88
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d8e34fec.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;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.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './index-helpers/top-of-file.js';
|
|
2
|
+
export * from './index-helpers/blocks-exports.js';
|
|
3
|
+
/**
|
|
4
|
+
* We have a separate entry point to the SDKs that guarantees no components are being imported. This is useful
|
|
5
|
+
* for React SDK, which would break in the NextJS App directory because the component imports have `use client` in them.
|
|
6
|
+
*/
|
|
7
|
+
export * from './server-index.js';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { x as a, B as n, C as r, y as o, F as i, I as g, R as c, z as l, S as d, d as m, e as C, V as u, D as B, q as p, L as E, E as R, t as S, G as f, J as h, H as k, i as x, u as y, r as P, A, K as F } from "./index-43273102.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
export {
|
|
4
|
+
a as Blocks,
|
|
5
|
+
n as Button,
|
|
6
|
+
r as Columns,
|
|
7
|
+
o as Content,
|
|
8
|
+
i as Fragment,
|
|
9
|
+
g as Image,
|
|
10
|
+
c as RenderBlocks,
|
|
11
|
+
l as RenderContent,
|
|
12
|
+
d as Section,
|
|
13
|
+
m as Symbol,
|
|
14
|
+
C as Text,
|
|
15
|
+
u as Video,
|
|
16
|
+
B as _processContentResult,
|
|
17
|
+
p as createRegisterComponentMessage,
|
|
18
|
+
E as fetchBuilderProps,
|
|
19
|
+
R as fetchEntries,
|
|
20
|
+
S as fetchOneEntry,
|
|
21
|
+
f as getAllContent,
|
|
22
|
+
h as getBuilderSearchParams,
|
|
23
|
+
k as getContent,
|
|
24
|
+
x as isEditing,
|
|
25
|
+
y as isPreviewing,
|
|
26
|
+
P as register,
|
|
27
|
+
A as setEditorSettings,
|
|
28
|
+
F as track
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index-d8e34fec.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as t } from "vue";
|
|
2
|
+
import { n as e } from "./index-43273102.js";
|
|
3
|
+
const s = t({
|
|
4
|
+
name: "inlined-script",
|
|
5
|
+
props: ["scriptStr", "id"]
|
|
6
|
+
});
|
|
7
|
+
var o = function() {
|
|
8
|
+
var n = this, r = n._self._c;
|
|
9
|
+
return n._self._setupProxy, r("script", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.scriptStr) } });
|
|
10
|
+
}, i = [], p = /* @__PURE__ */ e(
|
|
11
|
+
s,
|
|
12
|
+
o,
|
|
13
|
+
i,
|
|
14
|
+
!1,
|
|
15
|
+
null,
|
|
16
|
+
null,
|
|
17
|
+
null,
|
|
18
|
+
null
|
|
19
|
+
);
|
|
20
|
+
const a = p.exports;
|
|
21
|
+
export {
|
|
22
|
+
a as default
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-d8e34fec.cjs"),r=t.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=s.normalizeComponent(r,l,o,!1,null,null,null,null);const _=i.exports;exports.default=_;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as s } from "vue";
|
|
2
|
+
import { n as t } from "./index-43273102.js";
|
|
3
|
+
const r = s({
|
|
4
|
+
name: "inlined-styles",
|
|
5
|
+
props: ["styles", "id"]
|
|
6
|
+
});
|
|
7
|
+
var o = function() {
|
|
8
|
+
var n = this, e = n._self._c;
|
|
9
|
+
return n._self._setupProxy, e("style", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.styles) } });
|
|
10
|
+
}, l = [], _ = /* @__PURE__ */ t(
|
|
11
|
+
r,
|
|
12
|
+
o,
|
|
13
|
+
l,
|
|
14
|
+
!1,
|
|
15
|
+
null,
|
|
16
|
+
null,
|
|
17
|
+
null,
|
|
18
|
+
null
|
|
19
|
+
);
|
|
20
|
+
const p = _.exports;
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-65751661.cjs"),n=require("./get-block-properties-2204d735.cjs"),c=require("./index-d8e34fec.cjs");require("./evaluate-19fac854.cjs");require("./css-44cbcf3f.cjs");const l=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:n.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},s=[],i=c.normalizeComponent(l,a,s,!1,null,null,null,null);const p=i.exports;exports.default=p;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as o } from "vue";
|
|
2
|
+
import { g as r } from "./get-block-actions-1a6b19ce.js";
|
|
3
|
+
import { g as n } from "./get-block-properties-cbc0612e.js";
|
|
4
|
+
import { n as c } from "./index-43273102.js";
|
|
5
|
+
import "./evaluate-52887aac.js";
|
|
6
|
+
import "./css-ad18a8ab.js";
|
|
7
|
+
const a = o({
|
|
8
|
+
name: "interactive-element",
|
|
9
|
+
props: ["wrapperProps", "block", "context", "Wrapper"],
|
|
10
|
+
data() {
|
|
11
|
+
return { getBlockActions: r, getBlockProperties: n };
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
var l = function() {
|
|
15
|
+
var t = this, e = t._self._c;
|
|
16
|
+
return t._self._setupProxy, e(t.Wrapper, t._b({ tag: "component", attrs: { attributes: {
|
|
17
|
+
...t.getBlockProperties({
|
|
18
|
+
block: t.block,
|
|
19
|
+
context: t.context
|
|
20
|
+
}),
|
|
21
|
+
...t.getBlockActions({
|
|
22
|
+
block: t.block,
|
|
23
|
+
rootState: t.context.rootState,
|
|
24
|
+
rootSetState: t.context.rootSetState,
|
|
25
|
+
localState: t.context.localState,
|
|
26
|
+
context: t.context.context
|
|
27
|
+
})
|
|
28
|
+
} } }, "component", t.wrapperProps, !1), [t._t("default")], 2);
|
|
29
|
+
}, p = [], s = /* @__PURE__ */ c(
|
|
30
|
+
a,
|
|
31
|
+
l,
|
|
32
|
+
p,
|
|
33
|
+
!1,
|
|
34
|
+
null,
|
|
35
|
+
null,
|
|
36
|
+
null,
|
|
37
|
+
null
|
|
38
|
+
);
|
|
39
|
+
const S = s.exports;
|
|
40
|
+
export {
|
|
41
|
+
S as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
import { l as n, n as s } from "./index-43273102.js";
|
|
3
|
+
const l = () => import("./block-6c3981dc.js").then((e) => e.default).catch((e) => {
|
|
4
|
+
throw console.error(
|
|
5
|
+
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
6
|
+
e
|
|
7
|
+
), e;
|
|
8
|
+
}), c = r({
|
|
9
|
+
name: "repeated-block",
|
|
10
|
+
components: { block: l },
|
|
11
|
+
props: ["repeatContext", "block", "registeredComponents"],
|
|
12
|
+
data() {
|
|
13
|
+
return { store: this.repeatContext };
|
|
14
|
+
},
|
|
15
|
+
provide() {
|
|
16
|
+
const e = this;
|
|
17
|
+
return {
|
|
18
|
+
[n.key]: e.store
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
var a = function() {
|
|
23
|
+
var t = this, o = t._self._c;
|
|
24
|
+
return t._self._setupProxy, o("block", { attrs: { block: t.block, context: t.store, registeredComponents: t.registeredComponents } });
|
|
25
|
+
}, p = [], i = /* @__PURE__ */ s(
|
|
26
|
+
c,
|
|
27
|
+
a,
|
|
28
|
+
p,
|
|
29
|
+
!1,
|
|
30
|
+
null,
|
|
31
|
+
null,
|
|
32
|
+
null,
|
|
33
|
+
null
|
|
34
|
+
);
|
|
35
|
+
const d = i.exports;
|
|
36
|
+
export {
|
|
37
|
+
d as default
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("./index-d8e34fec.cjs"),s=()=>Promise.resolve().then(()=>require("./block-575160ba.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=n.defineComponent({name:"repeated-block",components:{block:s},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[o.builderContext.key]:e.store}}});var l=function(){var t=this,r=t._self._c;return t._self._setupProxy,r("block",{attrs:{block:t.block,context:t.store,registeredComponents:t.registeredComponents}})},i=[],a=o.normalizeComponent(c,l,i,!1,null,null,null,null);const p=a.exports;exports.default=p;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './index-helpers/top-of-file.js';
|
|
2
|
+
export { isEditing } from './functions/is-editing.js';
|
|
3
|
+
export { isPreviewing } from './functions/is-previewing.js';
|
|
4
|
+
export { createRegisterComponentMessage } from './functions/register-component.js';
|
|
5
|
+
export { register } from './functions/register.js';
|
|
6
|
+
export type { InsertMenuConfig, InsertMenuItem } from './functions/register.js';
|
|
7
|
+
export { setEditorSettings } from './functions/set-editor-settings.js';
|
|
8
|
+
export type { Settings } from './functions/set-editor-settings.js';
|
|
9
|
+
export { _processContentResult, fetchEntries, fetchOneEntry, getAllContent, getContent } from './functions/get-content/index.js';
|
|
10
|
+
export { getBuilderSearchParams } from './functions/get-builder-search-params/index.js';
|
|
11
|
+
export { track } from './functions/track/index.js';
|
|
12
|
+
export type { ContentProps } from './components/content/content.types.js';
|
|
13
|
+
export type { RegisteredComponent } from './context/types.js';
|
|
14
|
+
export type { ComponentInfo } from './types/components.js';
|
|
15
|
+
export { fetchBuilderProps } from './functions/fetch-builder-props.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.button-2fnk003dqad[data-v-ab46b8bd]{all:unset}.div-t9spj7joih[data-v-bd1575ca]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-bd1575ca]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-aae97bc7]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-aae97bc7]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-aae97bc7]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-tqyw9m0iue[data-v-a3106f07]{display:flex;flex-direction:column;align-items:stretch}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),c=require("./index-d8e34fec.cjs"),f=e=>{var o;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),i=t.split(",")[0],r=e.fileUrl??((o=e==null?void 0:e.files)==null?void 0:o.regular);let l="";if(r&&t&&i&&(l+=`
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "${t}";
|
|
4
|
+
src: local("${i}"), url('${r}') format('woff2');
|
|
5
|
+
font-display: fallback;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
}
|
|
8
|
+
`.trim()),e.files)for(const n in e.files){if(!(String(Number(n))===n))continue;const s=e.files[n];s&&s!==r&&(l+=`
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "${t}";
|
|
11
|
+
src: url('${s}') format('woff2');
|
|
12
|
+
font-display: fallback;
|
|
13
|
+
font-weight: ${n};
|
|
14
|
+
}
|
|
15
|
+
`.trim())}return l},u=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(i=>f(i)))==null?void 0:t.join(" "))||""},d=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",m=()=>Promise.resolve().then(()=>require("./inlined-styles-73c1efea.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",e),e}),p=a.defineComponent({name:"content-styles",components:{"inlined-styles":m},props:["cssCode","contentId","customFonts"],data(){return{injectedStyles:`
|
|
16
|
+
${d({cssCode:this.cssCode,contentId:this.contentId})}
|
|
17
|
+
${u({customFonts:this.customFonts})}
|
|
18
|
+
|
|
19
|
+
.builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
.builder-text > p, .builder-text > .builder-paragraph {
|
|
23
|
+
color: inherit;
|
|
24
|
+
line-height: inherit;
|
|
25
|
+
letter-spacing: inherit;
|
|
26
|
+
font-weight: inherit;
|
|
27
|
+
font-size: inherit;
|
|
28
|
+
text-align: inherit;
|
|
29
|
+
font-family: inherit;
|
|
30
|
+
}
|
|
31
|
+
`.trim()}}});var h=function(){var t=this,i=t._self._c;return t._self._setupProxy,i("inlined-styles",{attrs:{styles:t.injectedStyles}})},y=[],g=c.normalizeComponent(p,h,y,!1,null,null,null,null);const _=g.exports;exports.default=_;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent as a } from "vue";
|
|
2
|
+
import { n as f } from "./index-43273102.js";
|
|
3
|
+
const c = (t) => {
|
|
4
|
+
var o;
|
|
5
|
+
const e = t.family + (t.kind && !t.kind.includes("#") ? ", " + t.kind : ""), i = e.split(",")[0], r = t.fileUrl ?? ((o = t == null ? void 0 : t.files) == null ? void 0 : o.regular);
|
|
6
|
+
let l = "";
|
|
7
|
+
if (r && e && i && (l += `
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "${e}";
|
|
10
|
+
src: local("${i}"), url('${r}') format('woff2');
|
|
11
|
+
font-display: fallback;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
}
|
|
14
|
+
`.trim()), t.files)
|
|
15
|
+
for (const n in t.files) {
|
|
16
|
+
if (!(String(Number(n)) === n))
|
|
17
|
+
continue;
|
|
18
|
+
const s = t.files[n];
|
|
19
|
+
s && s !== r && (l += `
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: "${e}";
|
|
22
|
+
src: url('${s}') format('woff2');
|
|
23
|
+
font-display: fallback;
|
|
24
|
+
font-weight: ${n};
|
|
25
|
+
}
|
|
26
|
+
`.trim());
|
|
27
|
+
}
|
|
28
|
+
return l;
|
|
29
|
+
}, m = ({
|
|
30
|
+
customFonts: t
|
|
31
|
+
}) => {
|
|
32
|
+
var e;
|
|
33
|
+
return ((e = t == null ? void 0 : t.map((i) => c(i))) == null ? void 0 : e.join(" ")) || "";
|
|
34
|
+
}, u = ({
|
|
35
|
+
cssCode: t,
|
|
36
|
+
contentId: e
|
|
37
|
+
}) => t ? e ? (t == null ? void 0 : t.replace(/&/g, `div[builder-content-id="${e}"]`)) || "" : t : "", d = () => import("./inlined-styles-f35650e9.js").then((t) => t.default).catch((t) => {
|
|
38
|
+
throw console.error(
|
|
39
|
+
"Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",
|
|
40
|
+
t
|
|
41
|
+
), t;
|
|
42
|
+
}), p = a({
|
|
43
|
+
name: "content-styles",
|
|
44
|
+
components: { "inlined-styles": d },
|
|
45
|
+
props: ["cssCode", "contentId", "customFonts"],
|
|
46
|
+
data() {
|
|
47
|
+
return {
|
|
48
|
+
injectedStyles: `
|
|
49
|
+
${u({
|
|
50
|
+
cssCode: this.cssCode,
|
|
51
|
+
contentId: this.contentId
|
|
52
|
+
})}
|
|
53
|
+
${m({
|
|
54
|
+
customFonts: this.customFonts
|
|
55
|
+
})}
|
|
56
|
+
|
|
57
|
+
.builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
|
|
58
|
+
margin: 0;
|
|
59
|
+
}
|
|
60
|
+
.builder-text > p, .builder-text > .builder-paragraph {
|
|
61
|
+
color: inherit;
|
|
62
|
+
line-height: inherit;
|
|
63
|
+
letter-spacing: inherit;
|
|
64
|
+
font-weight: inherit;
|
|
65
|
+
font-size: inherit;
|
|
66
|
+
text-align: inherit;
|
|
67
|
+
font-family: inherit;
|
|
68
|
+
}
|
|
69
|
+
`.trim()
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
var h = function() {
|
|
74
|
+
var e = this, i = e._self._c;
|
|
75
|
+
return e._self._setupProxy, i("inlined-styles", { attrs: { styles: e.injectedStyles } });
|
|
76
|
+
}, y = [], g = /* @__PURE__ */ f(
|
|
77
|
+
p,
|
|
78
|
+
h,
|
|
79
|
+
y,
|
|
80
|
+
!1,
|
|
81
|
+
null,
|
|
82
|
+
null,
|
|
83
|
+
null,
|
|
84
|
+
null
|
|
85
|
+
);
|
|
86
|
+
const $ = g.exports;
|
|
87
|
+
export {
|
|
88
|
+
$ as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
type JSONValue = string | number | boolean | JSONObject | JSONArray;
|
|
2
|
+
interface JSONObject {
|
|
3
|
+
[x: string]: JSONValue;
|
|
4
|
+
}
|
|
5
|
+
interface JSONArray extends Array<JSONValue> {
|
|
6
|
+
}
|
|
7
|
+
/** @todo typedoc this */
|
|
8
|
+
export interface BuilderBlock {
|
|
9
|
+
'@type': '@builder.io/sdk:Element';
|
|
10
|
+
'@version'?: number;
|
|
11
|
+
id?: string;
|
|
12
|
+
tagName?: string;
|
|
13
|
+
layerName?: string;
|
|
14
|
+
groupLocked?: boolean;
|
|
15
|
+
layerLocked?: boolean;
|
|
16
|
+
/** @todo make alias for properties.class */
|
|
17
|
+
class?: string;
|
|
18
|
+
children?: BuilderBlock[];
|
|
19
|
+
responsiveStyles?: {
|
|
20
|
+
large?: Partial<CSSStyleDeclaration>;
|
|
21
|
+
medium?: Partial<CSSStyleDeclaration>;
|
|
22
|
+
small?: Partial<CSSStyleDeclaration>;
|
|
23
|
+
/** @deprecated */
|
|
24
|
+
xsmall?: Partial<CSSStyleDeclaration>;
|
|
25
|
+
};
|
|
26
|
+
component?: {
|
|
27
|
+
name: string;
|
|
28
|
+
options?: any;
|
|
29
|
+
tag?: string;
|
|
30
|
+
};
|
|
31
|
+
bindings?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
meta?: {
|
|
35
|
+
[key: string]: JSONValue;
|
|
36
|
+
};
|
|
37
|
+
actions?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
properties?: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
code?: {
|
|
44
|
+
bindings?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
actions?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
repeat?: {
|
|
52
|
+
collection: string;
|
|
53
|
+
itemName?: string;
|
|
54
|
+
} | null;
|
|
55
|
+
animations?: any[];
|
|
56
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
57
|
+
/**
|
|
58
|
+
* generated by the "Hide If" binding
|
|
59
|
+
*/
|
|
60
|
+
hide?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* generated by the "Show If" binding
|
|
63
|
+
*/
|
|
64
|
+
show?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { BuilderBlock } from './builder-block.js';
|
|
2
|
+
import type { Input } from './input.js';
|
|
3
|
+
import type { Nullable } from './typescript.js';
|
|
4
|
+
export interface Breakpoints {
|
|
5
|
+
small: number;
|
|
6
|
+
medium: number;
|
|
7
|
+
}
|
|
8
|
+
export interface BuilderContentVariation {
|
|
9
|
+
data?: {
|
|
10
|
+
title?: string;
|
|
11
|
+
blocks?: BuilderBlock[];
|
|
12
|
+
inputs?: Input[];
|
|
13
|
+
state?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
jsCode?: string;
|
|
17
|
+
tsCode?: string;
|
|
18
|
+
httpRequests?: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
23
|
+
name?: string;
|
|
24
|
+
testRatio?: number;
|
|
25
|
+
id?: string;
|
|
26
|
+
meta?: {
|
|
27
|
+
breakpoints?: Nullable<Breakpoints>;
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface BuilderContent extends BuilderContentVariation {
|
|
32
|
+
'@version'?: number;
|
|
33
|
+
published?: 'published' | 'draft' | 'archived';
|
|
34
|
+
modelId?: string;
|
|
35
|
+
priority?: number;
|
|
36
|
+
lastUpdated?: number;
|
|
37
|
+
startDate?: number;
|
|
38
|
+
endDate?: number;
|
|
39
|
+
variations?: {
|
|
40
|
+
[id: string]: BuilderContentVariation;
|
|
41
|
+
};
|
|
42
|
+
testVariationId?: string;
|
|
43
|
+
testVariationName?: string;
|
|
44
|
+
}
|