@builder.io/sdk-vue 0.6.1-1 → 0.6.1
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 +7 -3
- package/vue2/lib/browser/block-7572b272.cjs +3 -0
- package/vue2/lib/browser/block-c120af6b.js +181 -0
- package/vue2/lib/browser/block-styles-7b6133cb.js +77 -0
- package/vue2/lib/browser/block-styles-d210742a.cjs +1 -0
- package/vue2/lib/browser/block-wrapper-7137e4eb.js +66 -0
- package/vue2/lib/browser/block-wrapper-73003591.cjs +1 -0
- package/vue2/lib/browser/blocks/button/button.vue.d.ts +17 -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 +14 -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 +38 -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 +22 -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 +37 -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-9f1e75a3.js +72 -0
- package/vue2/lib/browser/blocks-wrapper-b4d967ac.cjs +1 -0
- package/vue2/lib/browser/component-ref-b509786c.js +102 -0
- package/vue2/lib/browser/component-ref-da79bed8.cjs +1 -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 +23 -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 +56 -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-284be2c3.cjs +1 -0
- package/vue2/lib/browser/content-adf884f8.js +928 -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-01587ac9.js +21 -0
- package/vue2/lib/browser/css-924d8859.cjs +6 -0
- package/vue2/lib/browser/enable-editor-4c0af531.cjs +1 -0
- package/vue2/lib/browser/enable-editor-872f651f.js +429 -0
- package/vue2/lib/browser/evaluate-34eb09eb.js +81 -0
- package/vue2/lib/browser/evaluate-3b22ca76.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/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 +6 -0
- package/vue2/lib/browser/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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-2147e6cd.js +35 -0
- package/vue2/lib/browser/get-block-actions-55e90df6.cjs +1 -0
- package/vue2/lib/browser/get-block-properties-2f43ed48.cjs +1 -0
- package/vue2/lib/browser/get-block-properties-58c54a69.js +48 -0
- package/vue2/lib/browser/get-processed-block-15b0d499.cjs +1 -0
- package/vue2/lib/browser/get-processed-block-a2ff4c51.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/init.d.ts +6 -0
- package/vue2/lib/browser/helpers/preview-lru-cache/set.d.ts +7 -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-20a64e56.js +1422 -0
- package/vue2/lib/browser/index-31b135ac.cjs +32 -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-395a54bf.cjs +1 -0
- package/vue2/lib/browser/inlined-script-dd1c2277.js +23 -0
- package/vue2/lib/browser/inlined-styles-5f724636.js +23 -0
- package/vue2/lib/browser/inlined-styles-6ad3b97d.cjs +1 -0
- package/vue2/lib/browser/interactive-element-91844a73.cjs +1 -0
- package/vue2/lib/browser/interactive-element-9a3140c7.js +42 -0
- package/vue2/lib/browser/repeated-block-2801e2ad.cjs +1 -0
- package/vue2/lib/browser/repeated-block-db085f7a.js +38 -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-1aad0890.cjs +31 -0
- package/vue2/lib/browser/styles-c675d986.js +89 -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 +111 -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-89ebff36.cjs +3 -0
- package/vue2/lib/edge/block-a17dd5f3.js +181 -0
- package/vue2/lib/edge/block-styles-68308a10.js +77 -0
- package/vue2/lib/edge/block-styles-c081fccd.cjs +1 -0
- package/vue2/lib/edge/block-wrapper-1d8816f6.js +66 -0
- package/vue2/lib/edge/block-wrapper-224770b5.cjs +1 -0
- package/vue2/lib/edge/blocks/button/button.vue.d.ts +17 -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 +14 -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 +38 -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 +22 -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 +37 -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-4e301a45.cjs +1 -0
- package/vue2/lib/edge/blocks-wrapper-e865d99a.js +72 -0
- package/vue2/lib/edge/component-ref-46ff36c7.cjs +1 -0
- package/vue2/lib/edge/component-ref-47c7b4b9.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 +23 -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 +56 -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-c1d216c0.cjs +1 -0
- package/vue2/lib/edge/content-dba5c9d2.js +928 -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-384211ae.js +21 -0
- package/vue2/lib/edge/css-f5a4c224.cjs +6 -0
- package/vue2/lib/edge/enable-editor-8c6fd5f2.cjs +1 -0
- package/vue2/lib/edge/enable-editor-985c44d4.js +429 -0
- package/vue2/lib/edge/evaluate-60a4358c.js +2532 -0
- package/vue2/lib/edge/evaluate-d1682114.cjs +21 -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/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 +6 -0
- package/vue2/lib/edge/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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-30acfe84.js +35 -0
- package/vue2/lib/edge/get-block-actions-70f0ddb1.cjs +1 -0
- package/vue2/lib/edge/get-block-properties-26d44344.js +48 -0
- package/vue2/lib/edge/get-block-properties-e47eac50.cjs +1 -0
- package/vue2/lib/edge/get-processed-block-6bfaca9c.cjs +1 -0
- package/vue2/lib/edge/get-processed-block-d3436370.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/init.d.ts +6 -0
- package/vue2/lib/edge/helpers/preview-lru-cache/set.d.ts +7 -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-84b65a4f.js +1422 -0
- package/vue2/lib/edge/index-a83a44e7.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-58f8fb7e.js +23 -0
- package/vue2/lib/edge/inlined-script-c7731507.cjs +1 -0
- package/vue2/lib/edge/inlined-styles-f19ba9ed.js +23 -0
- package/vue2/lib/edge/inlined-styles-fac668de.cjs +1 -0
- package/vue2/lib/edge/interactive-element-086120dd.js +42 -0
- package/vue2/lib/edge/interactive-element-f7ebf39a.cjs +1 -0
- package/vue2/lib/edge/repeated-block-5d01ffbd.cjs +1 -0
- package/vue2/lib/edge/repeated-block-8d023e60.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-022c2ac6.cjs +31 -0
- package/vue2/lib/edge/styles-dafbc021.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 +111 -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-7572b272.cjs +3 -0
- package/vue2/lib/node/block-c120af6b.js +181 -0
- package/vue2/lib/node/block-styles-7b6133cb.js +77 -0
- package/vue2/lib/node/block-styles-d210742a.cjs +1 -0
- package/vue2/lib/node/block-wrapper-7137e4eb.js +66 -0
- package/vue2/lib/node/block-wrapper-73003591.cjs +1 -0
- package/vue2/lib/node/blocks/button/button.vue.d.ts +17 -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 +14 -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 +38 -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 +22 -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 +37 -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-9f1e75a3.js +72 -0
- package/vue2/lib/node/blocks-wrapper-b4d967ac.cjs +1 -0
- package/vue2/lib/node/component-ref-b509786c.js +102 -0
- package/vue2/lib/node/component-ref-da79bed8.cjs +1 -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 +23 -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 +56 -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-284be2c3.cjs +1 -0
- package/vue2/lib/node/content-adf884f8.js +928 -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-01587ac9.js +21 -0
- package/vue2/lib/node/css-924d8859.cjs +6 -0
- package/vue2/lib/node/enable-editor-4c0af531.cjs +1 -0
- package/vue2/lib/node/enable-editor-872f651f.js +429 -0
- package/vue2/lib/node/evaluate-34eb09eb.js +81 -0
- package/vue2/lib/node/evaluate-3b22ca76.cjs +1 -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/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 +6 -0
- package/vue2/lib/node/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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-2147e6cd.js +35 -0
- package/vue2/lib/node/get-block-actions-55e90df6.cjs +1 -0
- package/vue2/lib/node/get-block-properties-2f43ed48.cjs +1 -0
- package/vue2/lib/node/get-block-properties-58c54a69.js +48 -0
- package/vue2/lib/node/get-processed-block-15b0d499.cjs +1 -0
- package/vue2/lib/node/get-processed-block-a2ff4c51.js +58 -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-20a64e56.js +1422 -0
- package/vue2/lib/node/index-31b135ac.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-395a54bf.cjs +1 -0
- package/vue2/lib/node/inlined-script-dd1c2277.js +23 -0
- package/vue2/lib/node/inlined-styles-5f724636.js +23 -0
- package/vue2/lib/node/inlined-styles-6ad3b97d.cjs +1 -0
- package/vue2/lib/node/interactive-element-91844a73.cjs +1 -0
- package/vue2/lib/node/interactive-element-9a3140c7.js +42 -0
- package/vue2/lib/node/repeated-block-2801e2ad.cjs +1 -0
- package/vue2/lib/node/repeated-block-db085f7a.js +38 -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-1aad0890.cjs +31 -0
- package/vue2/lib/node/styles-c675d986.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 +111 -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.ae2637e5.cjs +1 -0
- package/vue3/lib/browser/block-wrapper.f1e0d99f.js +54 -0
- package/vue3/lib/browser/blocks/button/button.vue.d.ts +30 -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 +21 -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 +38 -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 +22 -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 +56 -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.90060339.cjs +1 -0
- package/vue3/lib/browser/component-ref.e2ad1f80.js +111 -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 +23 -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 +90 -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 +73 -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/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 +6 -0
- package/vue3/lib/browser/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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.05d2bf89.js +79 -0
- package/vue3/lib/browser/get-block-actions.9a71b975.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.bb9d2170.js +3243 -0
- package/vue3/lib/browser/index.cjs +1 -0
- package/vue3/lib/browser/index.d.ts +7 -0
- package/vue3/lib/browser/index.eed52cb2.cjs +69 -0
- package/vue3/lib/browser/index.js +29 -0
- package/vue3/lib/browser/repeated-block.6860cc5f.js +33 -0
- package/vue3/lib/browser/repeated-block.f7f28e2b.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 +111 -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.5020430a.js +54 -0
- package/vue3/lib/edge/block-wrapper.6bb62da5.cjs +1 -0
- package/vue3/lib/edge/blocks/button/button.vue.d.ts +30 -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 +21 -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 +38 -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 +22 -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 +56 -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.0528b1a0.cjs +1 -0
- package/vue3/lib/edge/component-ref.1af99a31.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 +23 -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 +90 -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 +73 -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/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 +6 -0
- package/vue3/lib/edge/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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.8e0880b9.js +79 -0
- package/vue3/lib/edge/get-block-actions.cdcc68a3.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.51a4e9bc.js +5687 -0
- package/vue3/lib/edge/index.cjs +1 -0
- package/vue3/lib/edge/index.d.ts +7 -0
- package/vue3/lib/edge/index.f8106764.cjs +89 -0
- package/vue3/lib/edge/index.js +29 -0
- package/vue3/lib/edge/repeated-block.1735d6ce.js +33 -0
- package/vue3/lib/edge/repeated-block.6e7688cb.cjs +1 -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 +111 -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.ae2637e5.cjs +1 -0
- package/vue3/lib/node/block-wrapper.f1e0d99f.js +54 -0
- package/vue3/lib/node/blocks/button/button.vue.d.ts +30 -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 +21 -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 +38 -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 +22 -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 +56 -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.90060339.cjs +1 -0
- package/vue3/lib/node/component-ref.e2ad1f80.js +111 -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 +23 -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 +90 -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 +73 -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/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 +6 -0
- package/vue3/lib/node/functions/evaluate/helpers.d.ts +18 -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/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 +40 -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 +51 -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-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.05d2bf89.js +79 -0
- package/vue3/lib/node/get-block-actions.9a71b975.cjs +1 -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.bb9d2170.js +3243 -0
- package/vue3/lib/node/index.cjs +1 -0
- package/vue3/lib/node/index.d.ts +7 -0
- package/vue3/lib/node/index.eed52cb2.cjs +69 -0
- package/vue3/lib/node/index.js +29 -0
- package/vue3/lib/node/repeated-block.6860cc5f.js +33 -0
- package/vue3/lib/node/repeated-block.f7f28e2b.cjs +1 -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 +111 -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
- package/vue2/env.d.ts +0 -1
- package/vue2/node_modules/@types/node/LICENSE +0 -21
- package/vue2/node_modules/@types/node/README.md +0 -16
- package/vue2/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/vue2/node_modules/@types/node/assert.d.ts +0 -962
- package/vue2/node_modules/@types/node/async_hooks.d.ts +0 -497
- package/vue2/node_modules/@types/node/buffer.d.ts +0 -2236
- package/vue2/node_modules/@types/node/child_process.d.ts +0 -1396
- package/vue2/node_modules/@types/node/cluster.d.ts +0 -414
- package/vue2/node_modules/@types/node/console.d.ts +0 -412
- package/vue2/node_modules/@types/node/constants.d.ts +0 -18
- package/vue2/node_modules/@types/node/crypto.d.ts +0 -3869
- package/vue2/node_modules/@types/node/dgram.d.ts +0 -545
- package/vue2/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
- package/vue2/node_modules/@types/node/dns/promises.d.ts +0 -369
- package/vue2/node_modules/@types/node/dns.d.ts +0 -655
- package/vue2/node_modules/@types/node/domain.d.ts +0 -170
- package/vue2/node_modules/@types/node/events.d.ts +0 -641
- package/vue2/node_modules/@types/node/fs/promises.d.ts +0 -1094
- package/vue2/node_modules/@types/node/fs.d.ts +0 -3803
- package/vue2/node_modules/@types/node/globals.d.ts +0 -287
- package/vue2/node_modules/@types/node/globals.global.d.ts +0 -1
- package/vue2/node_modules/@types/node/http.d.ts +0 -1504
- package/vue2/node_modules/@types/node/http2.d.ts +0 -2100
- package/vue2/node_modules/@types/node/https.d.ts +0 -532
- package/vue2/node_modules/@types/node/index.d.ts +0 -131
- package/vue2/node_modules/@types/node/inspector.d.ts +0 -2745
- package/vue2/node_modules/@types/node/module.d.ts +0 -115
- package/vue2/node_modules/@types/node/net.d.ts +0 -828
- package/vue2/node_modules/@types/node/os.d.ts +0 -455
- package/vue2/node_modules/@types/node/package.json +0 -232
- package/vue2/node_modules/@types/node/path.d.ts +0 -191
- package/vue2/node_modules/@types/node/perf_hooks.d.ts +0 -586
- package/vue2/node_modules/@types/node/process.d.ts +0 -1481
- package/vue2/node_modules/@types/node/punycode.d.ts +0 -117
- package/vue2/node_modules/@types/node/querystring.d.ts +0 -131
- package/vue2/node_modules/@types/node/readline.d.ts +0 -543
- package/vue2/node_modules/@types/node/repl.d.ts +0 -424
- package/vue2/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/vue2/node_modules/@types/node/stream/promises.d.ts +0 -42
- package/vue2/node_modules/@types/node/stream/web.d.ts +0 -392
- package/vue2/node_modules/@types/node/stream.d.ts +0 -1363
- package/vue2/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/vue2/node_modules/@types/node/test.d.ts +0 -190
- package/vue2/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/vue2/node_modules/@types/node/timers.d.ts +0 -94
- package/vue2/node_modules/@types/node/tls.d.ts +0 -1019
- package/vue2/node_modules/@types/node/trace_events.d.ts +0 -161
- package/vue2/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/vue2/node_modules/@types/node/ts4.8/assert.d.ts +0 -962
- package/vue2/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -497
- package/vue2/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2236
- package/vue2/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1396
- package/vue2/node_modules/@types/node/ts4.8/cluster.d.ts +0 -414
- package/vue2/node_modules/@types/node/ts4.8/console.d.ts +0 -412
- package/vue2/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
- package/vue2/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3866
- package/vue2/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
- package/vue2/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/vue2/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -368
- package/vue2/node_modules/@types/node/ts4.8/dns.d.ts +0 -654
- package/vue2/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/vue2/node_modules/@types/node/ts4.8/events.d.ts +0 -641
- package/vue2/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1094
- package/vue2/node_modules/@types/node/ts4.8/fs.d.ts +0 -3802
- package/vue2/node_modules/@types/node/ts4.8/globals.d.ts +0 -284
- package/vue2/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/vue2/node_modules/@types/node/ts4.8/http.d.ts +0 -1503
- package/vue2/node_modules/@types/node/ts4.8/http2.d.ts +0 -2100
- package/vue2/node_modules/@types/node/ts4.8/https.d.ts +0 -532
- package/vue2/node_modules/@types/node/ts4.8/index.d.ts +0 -86
- package/vue2/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2745
- package/vue2/node_modules/@types/node/ts4.8/module.d.ts +0 -115
- package/vue2/node_modules/@types/node/ts4.8/net.d.ts +0 -828
- package/vue2/node_modules/@types/node/ts4.8/os.d.ts +0 -456
- package/vue2/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/vue2/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -586
- package/vue2/node_modules/@types/node/ts4.8/process.d.ts +0 -1481
- package/vue2/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/vue2/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
- package/vue2/node_modules/@types/node/ts4.8/readline.d.ts +0 -543
- package/vue2/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
- package/vue2/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/vue2/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
- package/vue2/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -392
- package/vue2/node_modules/@types/node/ts4.8/stream.d.ts +0 -1363
- package/vue2/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/vue2/node_modules/@types/node/ts4.8/test.d.ts +0 -190
- package/vue2/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/vue2/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
- package/vue2/node_modules/@types/node/ts4.8/tls.d.ts +0 -1019
- package/vue2/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -161
- package/vue2/node_modules/@types/node/ts4.8/tty.d.ts +0 -204
- package/vue2/node_modules/@types/node/ts4.8/url.d.ts +0 -855
- package/vue2/node_modules/@types/node/ts4.8/util.d.ts +0 -1594
- package/vue2/node_modules/@types/node/ts4.8/v8.d.ts +0 -472
- package/vue2/node_modules/@types/node/ts4.8/vm.d.ts +0 -507
- package/vue2/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/vue2/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -649
- package/vue2/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/vue2/node_modules/@types/node/tty.d.ts +0 -204
- package/vue2/node_modules/@types/node/url.d.ts +0 -855
- package/vue2/node_modules/@types/node/util.d.ts +0 -1594
- package/vue2/node_modules/@types/node/v8.d.ts +0 -472
- package/vue2/node_modules/@types/node/vm.d.ts +0 -507
- package/vue2/node_modules/@types/node/wasi.d.ts +0 -158
- package/vue2/node_modules/@types/node/worker_threads.d.ts +0 -649
- package/vue2/node_modules/@types/node/zlib.d.ts +0 -517
- package/vue2/node_modules/@vitejs/plugin-vue2/LICENSE +0 -21
- package/vue2/node_modules/@vitejs/plugin-vue2/README.md +0 -115
- package/vue2/node_modules/@vitejs/plugin-vue2/package.json +0 -65
- package/vue2/node_modules/@vue/compiler-sfc/LICENSE +0 -21
- package/vue2/node_modules/@vue/compiler-sfc/package.json +0 -34
- package/vue2/node_modules/@vue/tsconfig/README.md +0 -31
- package/vue2/node_modules/@vue/tsconfig/package.json +0 -35
- package/vue2/node_modules/@vue/tsconfig/tsconfig.json +0 -40
- package/vue2/node_modules/@vue/tsconfig/tsconfig.node.json +0 -17
- package/vue2/node_modules/@vue/tsconfig/tsconfig.web.json +0 -19
- package/vue2/node_modules/rollup/LICENSE.md +0 -695
- package/vue2/node_modules/rollup/README.md +0 -125
- package/vue2/node_modules/rollup/package.json +0 -178
- package/vue2/node_modules/vite/LICENSE.md +0 -3396
- package/vue2/node_modules/vite/README.md +0 -20
- package/vue2/node_modules/vite/bin/openChrome.applescript +0 -95
- package/vue2/node_modules/vite/bin/vite.js +0 -61
- package/vue2/node_modules/vite/client.d.ts +0 -281
- package/vue2/node_modules/vite/index.cjs +0 -34
- package/vue2/node_modules/vite/package.json +0 -170
- package/vue2/node_modules/vite-plugin-dts/LICENSE +0 -21
- package/vue2/node_modules/vite-plugin-dts/README.md +0 -368
- package/vue2/node_modules/vite-plugin-dts/README.zh-CN.md +0 -368
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/LICENSE +0 -21
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/README.md +0 -36
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/bin/vue-tsc.js +0 -67
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.d.ts +0 -16
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.js +0 -120
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.d.ts +0 -8
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.js +0 -5
- package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/package.json +0 -28
- package/vue2/node_modules/vite-plugin-dts/package.json +0 -103
- package/vue2/node_modules/vue/LICENSE +0 -21
- package/vue2/node_modules/vue/README.md +0 -118
- package/vue2/node_modules/vue/compiler-sfc/index.d.ts +0 -1
- package/vue2/node_modules/vue/compiler-sfc/index.js +0 -1
- package/vue2/node_modules/vue/compiler-sfc/index.mjs +0 -1
- package/vue2/node_modules/vue/compiler-sfc/package.json +0 -5
- package/vue2/node_modules/vue/package.json +0 -132
- package/vue2/node_modules/vue/packages/compiler-sfc/api-extractor.json +0 -64
- package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/lessc +0 -17
- package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/parser +0 -17
- package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/sass +0 -17
- package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/stylus +0 -17
- package/vue2/node_modules/vue/packages/compiler-sfc/package.json +0 -34
- package/vue2/node_modules/vue/packages/compiler-sfc/src/babelUtils.ts +0 -423
- package/vue2/node_modules/vue/packages/compiler-sfc/src/compileScript.ts +0 -1911
- package/vue2/node_modules/vue/packages/compiler-sfc/src/compileStyle.ts +0 -147
- package/vue2/node_modules/vue/packages/compiler-sfc/src/compileTemplate.ts +0 -205
- package/vue2/node_modules/vue/packages/compiler-sfc/src/cssVars.ts +0 -179
- package/vue2/node_modules/vue/packages/compiler-sfc/src/index.ts +0 -31
- package/vue2/node_modules/vue/packages/compiler-sfc/src/parse.ts +0 -129
- package/vue2/node_modules/vue/packages/compiler-sfc/src/parseComponent.ts +0 -220
- package/vue2/node_modules/vue/packages/compiler-sfc/src/prefixIdentifiers.ts +0 -82
- package/vue2/node_modules/vue/packages/compiler-sfc/src/rewriteDefault.ts +0 -115
- package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePlugins/scoped.ts +0 -203
- package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePlugins/trim.ts +0 -18
- package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePreprocessors.ts +0 -135
- package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts +0 -84
- package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/srcset.ts +0 -76
- package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/utils.ts +0 -86
- package/vue2/node_modules/vue/packages/compiler-sfc/src/types.ts +0 -69
- package/vue2/node_modules/vue/packages/compiler-sfc/src/warn.ts +0 -16
- package/vue2/node_modules/vue/packages/compiler-sfc/test/__snapshots__/compileScript.spec.ts.snap +0 -925
- package/vue2/node_modules/vue/packages/compiler-sfc/test/__snapshots__/cssVars.spec.ts.snap +0 -189
- package/vue2/node_modules/vue/packages/compiler-sfc/test/compileScript.spec.ts +0 -1594
- package/vue2/node_modules/vue/packages/compiler-sfc/test/compileStyle.spec.ts +0 -203
- package/vue2/node_modules/vue/packages/compiler-sfc/test/compileTemplate.spec.ts +0 -258
- package/vue2/node_modules/vue/packages/compiler-sfc/test/cssVars.spec.ts +0 -247
- package/vue2/node_modules/vue/packages/compiler-sfc/test/parseComponent.spec.ts +0 -269
- package/vue2/node_modules/vue/packages/compiler-sfc/test/prefixIdentifiers.spec.ts +0 -97
- package/vue2/node_modules/vue/packages/compiler-sfc/test/rewriteDefault.spec.ts +0 -245
- package/vue2/node_modules/vue/packages/compiler-sfc/test/stylePluginScoped.spec.ts +0 -137
- package/vue2/node_modules/vue/packages/compiler-sfc/test/tsconfig.json +0 -7
- package/vue2/node_modules/vue/packages/compiler-sfc/test/util.ts +0 -35
- package/vue2/node_modules/vue/src/compiler/codeframe.ts +0 -52
- package/vue2/node_modules/vue/src/compiler/codegen/events.ts +0 -170
- package/vue2/node_modules/vue/src/compiler/codegen/index.ts +0 -668
- package/vue2/node_modules/vue/src/compiler/create-compiler.ts +0 -83
- package/vue2/node_modules/vue/src/compiler/directives/bind.ts +0 -9
- package/vue2/node_modules/vue/src/compiler/directives/index.ts +0 -9
- package/vue2/node_modules/vue/src/compiler/directives/model.ts +0 -145
- package/vue2/node_modules/vue/src/compiler/directives/on.ts +0 -9
- package/vue2/node_modules/vue/src/compiler/error-detector.ts +0 -158
- package/vue2/node_modules/vue/src/compiler/helpers.ts +0 -243
- package/vue2/node_modules/vue/src/compiler/index.ts +0 -24
- package/vue2/node_modules/vue/src/compiler/optimizer.ts +0 -135
- package/vue2/node_modules/vue/src/compiler/parser/entity-decoder.ts +0 -9
- package/vue2/node_modules/vue/src/compiler/parser/filter-parser.ts +0 -116
- package/vue2/node_modules/vue/src/compiler/parser/html-parser.ts +0 -341
- package/vue2/node_modules/vue/src/compiler/parser/index.ts +0 -999
- package/vue2/node_modules/vue/src/compiler/parser/text-parser.ts +0 -52
- package/vue2/node_modules/vue/src/compiler/to-function.ts +0 -119
- package/vue2/node_modules/vue/src/core/components/index.ts +0 -5
- package/vue2/node_modules/vue/src/core/components/keep-alive.ts +0 -165
- package/vue2/node_modules/vue/src/core/config.ts +0 -128
- package/vue2/node_modules/vue/src/core/global-api/assets.ts +0 -35
- package/vue2/node_modules/vue/src/core/global-api/extend.ts +0 -94
- package/vue2/node_modules/vue/src/core/global-api/index.ts +0 -68
- package/vue2/node_modules/vue/src/core/global-api/mixin.ts +0 -9
- package/vue2/node_modules/vue/src/core/global-api/use.ts +0 -23
- package/vue2/node_modules/vue/src/core/index.ts +0 -27
- package/vue2/node_modules/vue/src/core/instance/events.ts +0 -160
- package/vue2/node_modules/vue/src/core/instance/index.ts +0 -27
- package/vue2/node_modules/vue/src/core/instance/init.ts +0 -140
- package/vue2/node_modules/vue/src/core/instance/inject.ts +0 -80
- package/vue2/node_modules/vue/src/core/instance/lifecycle.ts +0 -415
- package/vue2/node_modules/vue/src/core/instance/proxy.ts +0 -97
- package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-dynamic-keys.ts +0 -36
- package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-object-listeners.ts +0 -18
- package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-object-props.ts +0 -59
- package/vue2/node_modules/vue/src/core/instance/render-helpers/check-keycodes.ts +0 -33
- package/vue2/node_modules/vue/src/core/instance/render-helpers/index.ts +0 -31
- package/vue2/node_modules/vue/src/core/instance/render-helpers/render-list.ts +0 -49
- package/vue2/node_modules/vue/src/core/instance/render-helpers/render-slot.ts +0 -39
- package/vue2/node_modules/vue/src/core/instance/render-helpers/render-static.ts +0 -57
- package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-filter.ts +0 -8
- package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-scoped-slots.ts +0 -30
- package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-slots.ts +0 -51
- package/vue2/node_modules/vue/src/core/instance/render.ts +0 -173
- package/vue2/node_modules/vue/src/core/instance/state.ts +0 -387
- package/vue2/node_modules/vue/src/core/observer/array.ts +0 -54
- package/vue2/node_modules/vue/src/core/observer/dep.ts +0 -108
- package/vue2/node_modules/vue/src/core/observer/index.ts +0 -338
- package/vue2/node_modules/vue/src/core/observer/scheduler.ts +0 -199
- package/vue2/node_modules/vue/src/core/observer/traverse.ts +0 -47
- package/vue2/node_modules/vue/src/core/observer/watcher.ts +0 -278
- package/vue2/node_modules/vue/src/core/util/debug.ts +0 -105
- package/vue2/node_modules/vue/src/core/util/env.ts +0 -93
- package/vue2/node_modules/vue/src/core/util/error.ts +0 -81
- package/vue2/node_modules/vue/src/core/util/index.ts +0 -9
- package/vue2/node_modules/vue/src/core/util/lang.ts +0 -45
- package/vue2/node_modules/vue/src/core/util/next-tick.ts +0 -117
- package/vue2/node_modules/vue/src/core/util/options.ts +0 -489
- package/vue2/node_modules/vue/src/core/util/perf.ts +0 -28
- package/vue2/node_modules/vue/src/core/util/props.ts +0 -254
- package/vue2/node_modules/vue/src/core/vdom/create-component.ts +0 -275
- package/vue2/node_modules/vue/src/core/vdom/create-element.ts +0 -172
- package/vue2/node_modules/vue/src/core/vdom/create-functional-component.ts +0 -180
- package/vue2/node_modules/vue/src/core/vdom/helpers/extract-props.ts +0 -75
- package/vue2/node_modules/vue/src/core/vdom/helpers/get-first-component-child.ts +0 -16
- package/vue2/node_modules/vue/src/core/vdom/helpers/index.ts +0 -7
- package/vue2/node_modules/vue/src/core/vdom/helpers/is-async-placeholder.ts +0 -6
- package/vue2/node_modules/vue/src/core/vdom/helpers/merge-hook.ts +0 -40
- package/vue2/node_modules/vue/src/core/vdom/helpers/normalize-children.ts +0 -99
- package/vue2/node_modules/vue/src/core/vdom/helpers/normalize-scoped-slots.ts +0 -97
- package/vue2/node_modules/vue/src/core/vdom/helpers/resolve-async-component.ts +0 -157
- package/vue2/node_modules/vue/src/core/vdom/helpers/update-listeners.ts +0 -101
- package/vue2/node_modules/vue/src/core/vdom/modules/directives.ts +0 -137
- package/vue2/node_modules/vue/src/core/vdom/modules/index.ts +0 -4
- package/vue2/node_modules/vue/src/core/vdom/modules/template-ref.ts +0 -94
- package/vue2/node_modules/vue/src/core/vdom/patch.ts +0 -904
- package/vue2/node_modules/vue/src/core/vdom/vnode.ts +0 -119
- package/vue2/node_modules/vue/src/global.d.ts +0 -17
- package/vue2/node_modules/vue/src/platforms/web/compiler/directives/html.ts +0 -8
- package/vue2/node_modules/vue/src/platforms/web/compiler/directives/index.ts +0 -9
- package/vue2/node_modules/vue/src/platforms/web/compiler/directives/model.ts +0 -181
- package/vue2/node_modules/vue/src/platforms/web/compiler/directives/text.ts +0 -8
- package/vue2/node_modules/vue/src/platforms/web/compiler/index.ts +0 -6
- package/vue2/node_modules/vue/src/platforms/web/compiler/modules/class.ts +0 -44
- package/vue2/node_modules/vue/src/platforms/web/compiler/modules/index.ts +0 -5
- package/vue2/node_modules/vue/src/platforms/web/compiler/modules/model.ts +0 -89
- package/vue2/node_modules/vue/src/platforms/web/compiler/modules/style.ts +0 -47
- package/vue2/node_modules/vue/src/platforms/web/compiler/options.ts +0 -25
- package/vue2/node_modules/vue/src/platforms/web/compiler/util.ts +0 -22
- package/vue2/node_modules/vue/src/platforms/web/entry-compiler.ts +0 -4
- package/vue2/node_modules/vue/src/platforms/web/entry-runtime-esm.ts +0 -5
- package/vue2/node_modules/vue/src/platforms/web/entry-runtime-with-compiler-esm.ts +0 -5
- package/vue2/node_modules/vue/src/platforms/web/entry-runtime-with-compiler.ts +0 -10
- package/vue2/node_modules/vue/src/platforms/web/entry-runtime.ts +0 -7
- package/vue2/node_modules/vue/src/platforms/web/runtime/class-util.ts +0 -61
- package/vue2/node_modules/vue/src/platforms/web/runtime/components/index.ts +0 -7
- package/vue2/node_modules/vue/src/platforms/web/runtime/components/transition-group.ts +0 -204
- package/vue2/node_modules/vue/src/platforms/web/runtime/components/transition.ts +0 -205
- package/vue2/node_modules/vue/src/platforms/web/runtime/directives/index.ts +0 -7
- package/vue2/node_modules/vue/src/platforms/web/runtime/directives/model.ts +0 -148
- package/vue2/node_modules/vue/src/platforms/web/runtime/directives/show.ts +0 -61
- package/vue2/node_modules/vue/src/platforms/web/runtime/index.ts +0 -75
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/attrs.ts +0 -115
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/class.ts +0 -37
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/dom-props.ts +0 -123
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/events.ts +0 -127
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/index.ts +0 -8
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/style.ts +0 -104
- package/vue2/node_modules/vue/src/platforms/web/runtime/modules/transition.ts +0 -341
- package/vue2/node_modules/vue/src/platforms/web/runtime/node-ops.ts +0 -66
- package/vue2/node_modules/vue/src/platforms/web/runtime/patch.ts +0 -10
- package/vue2/node_modules/vue/src/platforms/web/runtime/transition-util.ts +0 -215
- package/vue2/node_modules/vue/src/platforms/web/runtime-with-compiler.ts +0 -110
- package/vue2/node_modules/vue/src/platforms/web/util/attrs.ts +0 -58
- package/vue2/node_modules/vue/src/platforms/web/util/class.ts +0 -87
- package/vue2/node_modules/vue/src/platforms/web/util/compat.ts +0 -16
- package/vue2/node_modules/vue/src/platforms/web/util/element.ts +0 -76
- package/vue2/node_modules/vue/src/platforms/web/util/index.ts +0 -21
- package/vue2/node_modules/vue/src/platforms/web/util/style.ts +0 -71
- package/vue2/node_modules/vue/src/shared/constants.ts +0 -20
- package/vue2/node_modules/vue/src/shared/util.ts +0 -372
- package/vue2/node_modules/vue/src/v3/apiAsyncComponent.ts +0 -117
- package/vue2/node_modules/vue/src/v3/apiInject.ts +0 -71
- package/vue2/node_modules/vue/src/v3/apiLifecycle.ts +0 -68
- package/vue2/node_modules/vue/src/v3/apiSetup.ts +0 -246
- package/vue2/node_modules/vue/src/v3/apiWatch.ts +0 -349
- package/vue2/node_modules/vue/src/v3/currentInstance.ts +0 -23
- package/vue2/node_modules/vue/src/v3/debug.ts +0 -21
- package/vue2/node_modules/vue/src/v3/h.ts +0 -18
- package/vue2/node_modules/vue/src/v3/index.ts +0 -96
- package/vue2/node_modules/vue/src/v3/reactivity/computed.ts +0 -100
- package/vue2/node_modules/vue/src/v3/reactivity/effect.ts +0 -20
- package/vue2/node_modules/vue/src/v3/reactivity/effectScope.ts +0 -137
- package/vue2/node_modules/vue/src/v3/reactivity/operations.ts +0 -14
- package/vue2/node_modules/vue/src/v3/reactivity/reactive.ts +0 -137
- package/vue2/node_modules/vue/src/v3/reactivity/readonly.ts +0 -127
- package/vue2/node_modules/vue/src/v3/reactivity/ref.ts +0 -296
- package/vue2/node_modules/vue/src/v3/sfc-helpers/useCssModule.ts +0 -24
- package/vue2/node_modules/vue/src/v3/sfc-helpers/useCssVars.ts +0 -34
- package/vue2/src/blocks/BaseText.vue +0 -25
- package/vue2/src/blocks/button/button.vue +0 -68
- package/vue2/src/blocks/button/component-info.ts +0 -35
- package/vue2/src/blocks/columns/columns.vue +0 -238
- package/vue2/src/blocks/columns/component-info.ts +0 -219
- package/vue2/src/blocks/custom-code/component-info.ts +0 -24
- package/vue2/src/blocks/custom-code/custom-code.vue +0 -88
- package/vue2/src/blocks/embed/component-info.ts +0 -38
- package/vue2/src/blocks/embed/embed.vue +0 -71
- package/vue2/src/blocks/embed/helpers.ts +0 -2
- package/vue2/src/blocks/form/component-info.ts +0 -233
- package/vue2/src/blocks/form/form.vue +0 -7
- package/vue2/src/blocks/fragment/component-info.ts +0 -8
- package/vue2/src/blocks/fragment/fragment.vue +0 -19
- package/vue2/src/blocks/helpers.ts +0 -43
- package/vue2/src/blocks/image/component-info.ts +0 -124
- package/vue2/src/blocks/image/image.helpers.ts +0 -47
- package/vue2/src/blocks/image/image.vue +0 -174
- package/vue2/src/blocks/img/component-info.ts +0 -16
- package/vue2/src/blocks/img/img.vue +0 -59
- package/vue2/src/blocks/input/component-info.ts +0 -47
- package/vue2/src/blocks/input/input.vue +0 -52
- package/vue2/src/blocks/raw-text/component-info.ts +0 -11
- package/vue2/src/blocks/raw-text/raw-text.vue +0 -35
- package/vue2/src/blocks/section/component-info.ts +0 -41
- package/vue2/src/blocks/section/section.vue +0 -47
- package/vue2/src/blocks/select/component-info.ts +0 -44
- package/vue2/src/blocks/select/select.vue +0 -50
- package/vue2/src/blocks/submit-button/component-info.ts +0 -27
- package/vue2/src/blocks/submit-button/submit-button.vue +0 -34
- package/vue2/src/blocks/symbol/component-info.ts +0 -35
- package/vue2/src/blocks/symbol/symbol.helpers.ts +0 -47
- package/vue2/src/blocks/symbol/symbol.vue +0 -143
- package/vue2/src/blocks/text/component-info.ts +0 -20
- package/vue2/src/blocks/text/text.vue +0 -23
- package/vue2/src/blocks/textarea/component-info.ts +0 -38
- package/vue2/src/blocks/textarea/textarea.vue +0 -38
- package/vue2/src/blocks/video/component-info.ts +0 -83
- package/vue2/src/blocks/video/video.vue +0 -105
- package/vue2/src/components/block/block.helpers.ts +0 -89
- package/vue2/src/components/block/block.vue +0 -203
- package/vue2/src/components/block/components/block-styles.vue +0 -110
- package/vue2/src/components/block/components/block-wrapper.vue +0 -83
- package/vue2/src/components/block/components/component-ref/component-ref.helpers.ts +0 -52
- package/vue2/src/components/block/components/component-ref/component-ref.vue +0 -97
- package/vue2/src/components/block/components/interactive-element.vue +0 -48
- package/vue2/src/components/block/components/repeated-block.vue +0 -51
- package/vue2/src/components/block/types.ts +0 -6
- package/vue2/src/components/blocks/blocks-wrapper.vue +0 -91
- package/vue2/src/components/blocks/blocks.vue +0 -99
- package/vue2/src/components/content/components/enable-editor.vue +0 -418
- package/vue2/src/components/content/components/styles.helpers.ts +0 -77
- package/vue2/src/components/content/components/styles.vue +0 -60
- package/vue2/src/components/content/content.helpers.ts +0 -42
- package/vue2/src/components/content/content.types.ts +0 -23
- package/vue2/src/components/content/content.vue +0 -205
- package/vue2/src/components/content/index.ts +0 -1
- package/vue2/src/components/content/wrap-component-ref.ts +0 -6
- package/vue2/src/components/content-variants/content-variants.types.ts +0 -20
- package/vue2/src/components/content-variants/content-variants.vue +0 -177
- package/vue2/src/components/content-variants/helpers.ts +0 -207
- package/vue2/src/components/inlined-script.vue +0 -18
- package/vue2/src/components/inlined-styles.vue +0 -18
- package/vue2/src/constants/builder-registered-components.ts +0 -62
- package/vue2/src/constants/device-sizes.ts +0 -59
- package/vue2/src/constants/sdk-version.ts +0 -1
- package/vue2/src/constants/target.ts +0 -4
- package/vue2/src/context/builder.context.ts +0 -16
- package/vue2/src/context/components.context.ts +0 -6
- package/vue2/src/context/types.ts +0 -36
- package/vue2/src/functions/apply-patch-with-mutation.ts +0 -61
- package/vue2/src/functions/camel-to-kebab-case.ts +0 -1
- package/vue2/src/functions/deopt.ts +0 -6
- package/vue2/src/functions/evaluate/browser-runtime/browser.ts +0 -41
- package/vue2/src/functions/evaluate/browser-runtime/index.ts +0 -1
- package/vue2/src/functions/evaluate/edge-runtime/acorn-interpreter.ts +0 -2891
- package/vue2/src/functions/evaluate/edge-runtime/edge-runtime.ts +0 -96
- package/vue2/src/functions/evaluate/edge-runtime/index.ts +0 -1
- package/vue2/src/functions/evaluate/evaluate.ts +0 -66
- package/vue2/src/functions/evaluate/helpers.ts +0 -32
- package/vue2/src/functions/evaluate/index.ts +0 -1
- package/vue2/src/functions/evaluate/node-runtime/index.ts +0 -1
- package/vue2/src/functions/evaluate/placeholder-runtime.ts +0 -4
- package/vue2/src/functions/event-handler-name.ts +0 -1
- package/vue2/src/functions/extract-text-styles.ts +0 -24
- package/vue2/src/functions/fast-clone.ts +0 -4
- package/vue2/src/functions/fetch-builder-props.ts +0 -62
- package/vue2/src/functions/get-block-actions-handler.ts +0 -16
- package/vue2/src/functions/get-block-actions.ts +0 -36
- package/vue2/src/functions/get-block-component-options.ts +0 -11
- package/vue2/src/functions/get-block-properties.ts +0 -82
- package/vue2/src/functions/get-builder-search-params/index.ts +0 -40
- package/vue2/src/functions/get-content/generate-content-url.ts +0 -45
- package/vue2/src/functions/get-content/index.ts +0 -110
- package/vue2/src/functions/get-content/types.ts +0 -62
- package/vue2/src/functions/get-fetch.ts +0 -11
- package/vue2/src/functions/get-global-this.ts +0 -16
- package/vue2/src/functions/get-processed-block.ts +0 -69
- package/vue2/src/functions/get-react-native-block-styles.ts +0 -27
- package/vue2/src/functions/is-browser.ts +0 -3
- package/vue2/src/functions/is-edge-runtime.ts +0 -9
- package/vue2/src/functions/is-editing.ts +0 -5
- package/vue2/src/functions/is-iframe.ts +0 -4
- package/vue2/src/functions/is-previewing.ts +0 -11
- package/vue2/src/functions/on-change.ts +0 -29
- package/vue2/src/functions/register-component.ts +0 -48
- package/vue2/src/functions/register.ts +0 -44
- package/vue2/src/functions/sanitize-react-native-block-styles.ts +0 -58
- package/vue2/src/functions/set-editor-settings.ts +0 -15
- package/vue2/src/functions/set.ts +0 -14
- package/vue2/src/functions/track/helpers.ts +0 -51
- package/vue2/src/functions/track/index.ts +0 -131
- package/vue2/src/functions/track/interaction.ts +0 -63
- package/vue2/src/functions/transform-block-properties.ts +0 -18
- package/vue2/src/functions/transform-block.ts +0 -6
- package/vue2/src/helpers/ab-tests.ts +0 -166
- package/vue2/src/helpers/canTrack.ts +0 -2
- package/vue2/src/helpers/cookie.ts +0 -81
- package/vue2/src/helpers/css.ts +0 -33
- package/vue2/src/helpers/flatten.ts +0 -19
- package/vue2/src/helpers/localStorage.ts +0 -36
- package/vue2/src/helpers/logger.ts +0 -7
- package/vue2/src/helpers/nullable.ts +0 -2
- package/vue2/src/helpers/preview-lru-cache/get.ts +0 -4
- package/vue2/src/helpers/preview-lru-cache/init.ts +0 -7
- package/vue2/src/helpers/preview-lru-cache/set.ts +0 -12
- package/vue2/src/helpers/sessionId.ts +0 -37
- package/vue2/src/helpers/time.ts +0 -2
- package/vue2/src/helpers/url.ts +0 -15
- package/vue2/src/helpers/uuid.ts +0 -17
- package/vue2/src/helpers/visitorId.ts +0 -37
- package/vue2/src/index-helpers/blocks-exports.ts +0 -20
- package/vue2/src/index-helpers/top-of-file.ts +0 -4
- package/vue2/src/index.ts +0 -8
- package/vue2/src/scripts/init-editing.ts +0 -113
- package/vue2/src/server-index.ts +0 -15
- package/vue2/tsconfig.config.json +0 -8
- package/vue2/tsconfig.json +0 -16
- package/vue2/vite.config.js +0 -31
- package/vue3/env.d.ts +0 -1
- package/vue3/node_modules/@types/node/LICENSE +0 -21
- package/vue3/node_modules/@types/node/README.md +0 -16
- package/vue3/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/vue3/node_modules/@types/node/assert.d.ts +0 -962
- package/vue3/node_modules/@types/node/async_hooks.d.ts +0 -497
- package/vue3/node_modules/@types/node/buffer.d.ts +0 -2236
- package/vue3/node_modules/@types/node/child_process.d.ts +0 -1396
- package/vue3/node_modules/@types/node/cluster.d.ts +0 -414
- package/vue3/node_modules/@types/node/console.d.ts +0 -412
- package/vue3/node_modules/@types/node/constants.d.ts +0 -18
- package/vue3/node_modules/@types/node/crypto.d.ts +0 -3869
- package/vue3/node_modules/@types/node/dgram.d.ts +0 -545
- package/vue3/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
- package/vue3/node_modules/@types/node/dns/promises.d.ts +0 -369
- package/vue3/node_modules/@types/node/dns.d.ts +0 -655
- package/vue3/node_modules/@types/node/domain.d.ts +0 -170
- package/vue3/node_modules/@types/node/events.d.ts +0 -641
- package/vue3/node_modules/@types/node/fs/promises.d.ts +0 -1094
- package/vue3/node_modules/@types/node/fs.d.ts +0 -3803
- package/vue3/node_modules/@types/node/globals.d.ts +0 -287
- package/vue3/node_modules/@types/node/globals.global.d.ts +0 -1
- package/vue3/node_modules/@types/node/http.d.ts +0 -1504
- package/vue3/node_modules/@types/node/http2.d.ts +0 -2100
- package/vue3/node_modules/@types/node/https.d.ts +0 -532
- package/vue3/node_modules/@types/node/index.d.ts +0 -131
- package/vue3/node_modules/@types/node/inspector.d.ts +0 -2745
- package/vue3/node_modules/@types/node/module.d.ts +0 -115
- package/vue3/node_modules/@types/node/net.d.ts +0 -828
- package/vue3/node_modules/@types/node/os.d.ts +0 -455
- package/vue3/node_modules/@types/node/package.json +0 -232
- package/vue3/node_modules/@types/node/path.d.ts +0 -191
- package/vue3/node_modules/@types/node/perf_hooks.d.ts +0 -586
- package/vue3/node_modules/@types/node/process.d.ts +0 -1481
- package/vue3/node_modules/@types/node/punycode.d.ts +0 -117
- package/vue3/node_modules/@types/node/querystring.d.ts +0 -131
- package/vue3/node_modules/@types/node/readline.d.ts +0 -543
- package/vue3/node_modules/@types/node/repl.d.ts +0 -424
- package/vue3/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/vue3/node_modules/@types/node/stream/promises.d.ts +0 -42
- package/vue3/node_modules/@types/node/stream/web.d.ts +0 -392
- package/vue3/node_modules/@types/node/stream.d.ts +0 -1363
- package/vue3/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/vue3/node_modules/@types/node/test.d.ts +0 -190
- package/vue3/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/vue3/node_modules/@types/node/timers.d.ts +0 -94
- package/vue3/node_modules/@types/node/tls.d.ts +0 -1019
- package/vue3/node_modules/@types/node/trace_events.d.ts +0 -161
- package/vue3/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/vue3/node_modules/@types/node/ts4.8/assert.d.ts +0 -962
- package/vue3/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -497
- package/vue3/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2236
- package/vue3/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1396
- package/vue3/node_modules/@types/node/ts4.8/cluster.d.ts +0 -414
- package/vue3/node_modules/@types/node/ts4.8/console.d.ts +0 -412
- package/vue3/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
- package/vue3/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3866
- package/vue3/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
- package/vue3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/vue3/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -368
- package/vue3/node_modules/@types/node/ts4.8/dns.d.ts +0 -654
- package/vue3/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/vue3/node_modules/@types/node/ts4.8/events.d.ts +0 -641
- package/vue3/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1094
- package/vue3/node_modules/@types/node/ts4.8/fs.d.ts +0 -3802
- package/vue3/node_modules/@types/node/ts4.8/globals.d.ts +0 -284
- package/vue3/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/vue3/node_modules/@types/node/ts4.8/http.d.ts +0 -1503
- package/vue3/node_modules/@types/node/ts4.8/http2.d.ts +0 -2100
- package/vue3/node_modules/@types/node/ts4.8/https.d.ts +0 -532
- package/vue3/node_modules/@types/node/ts4.8/index.d.ts +0 -86
- package/vue3/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2745
- package/vue3/node_modules/@types/node/ts4.8/module.d.ts +0 -115
- package/vue3/node_modules/@types/node/ts4.8/net.d.ts +0 -828
- package/vue3/node_modules/@types/node/ts4.8/os.d.ts +0 -456
- package/vue3/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/vue3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -586
- package/vue3/node_modules/@types/node/ts4.8/process.d.ts +0 -1481
- package/vue3/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/vue3/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
- package/vue3/node_modules/@types/node/ts4.8/readline.d.ts +0 -543
- package/vue3/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
- package/vue3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/vue3/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
- package/vue3/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -392
- package/vue3/node_modules/@types/node/ts4.8/stream.d.ts +0 -1363
- package/vue3/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/vue3/node_modules/@types/node/ts4.8/test.d.ts +0 -190
- package/vue3/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/vue3/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
- package/vue3/node_modules/@types/node/ts4.8/tls.d.ts +0 -1019
- package/vue3/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -161
- package/vue3/node_modules/@types/node/ts4.8/tty.d.ts +0 -204
- package/vue3/node_modules/@types/node/ts4.8/url.d.ts +0 -855
- package/vue3/node_modules/@types/node/ts4.8/util.d.ts +0 -1594
- package/vue3/node_modules/@types/node/ts4.8/v8.d.ts +0 -472
- package/vue3/node_modules/@types/node/ts4.8/vm.d.ts +0 -507
- package/vue3/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/vue3/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -649
- package/vue3/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/vue3/node_modules/@types/node/tty.d.ts +0 -204
- package/vue3/node_modules/@types/node/url.d.ts +0 -855
- package/vue3/node_modules/@types/node/util.d.ts +0 -1594
- package/vue3/node_modules/@types/node/v8.d.ts +0 -472
- package/vue3/node_modules/@types/node/vm.d.ts +0 -507
- package/vue3/node_modules/@types/node/wasi.d.ts +0 -158
- package/vue3/node_modules/@types/node/worker_threads.d.ts +0 -649
- package/vue3/node_modules/@types/node/zlib.d.ts +0 -517
- package/vue3/node_modules/@vitejs/plugin-vue/LICENSE +0 -21
- package/vue3/node_modules/@vitejs/plugin-vue/README.md +0 -171
- package/vue3/node_modules/@vitejs/plugin-vue/package.json +0 -51
- package/vue3/node_modules/@vue/server-renderer/LICENSE +0 -21
- package/vue3/node_modules/@vue/server-renderer/README.md +0 -178
- package/vue3/node_modules/@vue/server-renderer/index.js +0 -7
- package/vue3/node_modules/@vue/server-renderer/package.json +0 -41
- package/vue3/node_modules/@vue/tsconfig/README.md +0 -31
- package/vue3/node_modules/@vue/tsconfig/package.json +0 -35
- package/vue3/node_modules/@vue/tsconfig/tsconfig.json +0 -40
- package/vue3/node_modules/@vue/tsconfig/tsconfig.node.json +0 -17
- package/vue3/node_modules/@vue/tsconfig/tsconfig.web.json +0 -19
- package/vue3/node_modules/esbuild/LICENSE.md +0 -21
- package/vue3/node_modules/esbuild/README.md +0 -3
- package/vue3/node_modules/esbuild/bin/esbuild +0 -212
- package/vue3/node_modules/esbuild/install.js +0 -245
- package/vue3/node_modules/esbuild/package.json +0 -42
- package/vue3/node_modules/vite/LICENSE.md +0 -3450
- package/vue3/node_modules/vite/README.md +0 -20
- package/vue3/node_modules/vite/bin/openChrome.applescript +0 -95
- package/vue3/node_modules/vite/bin/vite.js +0 -61
- package/vue3/node_modules/vite/client.d.ts +0 -248
- package/vue3/node_modules/vite/index.cjs +0 -34
- package/vue3/node_modules/vite/package.json +0 -154
- package/vue3/node_modules/vite-plugin-dts/LICENSE +0 -21
- package/vue3/node_modules/vite-plugin-dts/README.md +0 -368
- package/vue3/node_modules/vite-plugin-dts/README.zh-CN.md +0 -368
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/LICENSE +0 -21
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/README.md +0 -36
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/bin/vue-tsc.js +0 -67
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.d.ts +0 -16
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.js +0 -120
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.d.ts +0 -8
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.js +0 -5
- package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/package.json +0 -28
- package/vue3/node_modules/vite-plugin-dts/package.json +0 -103
- package/vue3/node_modules/vue/LICENSE +0 -21
- package/vue3/node_modules/vue/README.md +0 -54
- package/vue3/node_modules/vue/compiler-sfc/index.d.mts +0 -1
- package/vue3/node_modules/vue/compiler-sfc/index.d.ts +0 -1
- package/vue3/node_modules/vue/compiler-sfc/index.js +0 -3
- package/vue3/node_modules/vue/compiler-sfc/index.mjs +0 -3
- package/vue3/node_modules/vue/compiler-sfc/package.json +0 -4
- package/vue3/node_modules/vue/compiler-sfc/register-ts.js +0 -5
- package/vue3/node_modules/vue/index.js +0 -7
- package/vue3/node_modules/vue/index.mjs +0 -1
- package/vue3/node_modules/vue/jsx-runtime/index.d.ts +0 -29
- package/vue3/node_modules/vue/jsx-runtime/index.js +0 -15
- package/vue3/node_modules/vue/jsx-runtime/index.mjs +0 -17
- package/vue3/node_modules/vue/jsx-runtime/package.json +0 -5
- package/vue3/node_modules/vue/jsx.d.ts +0 -26
- package/vue3/node_modules/vue/macros-global.d.ts +0 -19
- package/vue3/node_modules/vue/macros.d.ts +0 -112
- package/vue3/node_modules/vue/package.json +0 -103
- package/vue3/node_modules/vue/ref-macros.d.ts +0 -2
- package/vue3/node_modules/vue/server-renderer/index.d.mts +0 -1
- package/vue3/node_modules/vue/server-renderer/index.d.ts +0 -1
- package/vue3/node_modules/vue/server-renderer/index.js +0 -1
- package/vue3/node_modules/vue/server-renderer/index.mjs +0 -1
- package/vue3/node_modules/vue/server-renderer/package.json +0 -4
- package/vue3/node_modules/vue-tsc/LICENSE +0 -21
- package/vue3/node_modules/vue-tsc/README.md +0 -44
- package/vue3/node_modules/vue-tsc/bin/vue-tsc.js +0 -48
- package/vue3/node_modules/vue-tsc/out/proxy.d.ts +0 -4
- package/vue3/node_modules/vue-tsc/out/proxy.js +0 -110
- package/vue3/node_modules/vue-tsc/package.json +0 -26
- package/vue3/src/blocks/BaseText.vue +0 -25
- package/vue3/src/blocks/button/button.vue +0 -71
- package/vue3/src/blocks/button/component-info.ts +0 -35
- package/vue3/src/blocks/columns/columns.vue +0 -220
- package/vue3/src/blocks/columns/component-info.ts +0 -219
- package/vue3/src/blocks/custom-code/component-info.ts +0 -24
- package/vue3/src/blocks/custom-code/custom-code.vue +0 -88
- package/vue3/src/blocks/embed/component-info.ts +0 -38
- package/vue3/src/blocks/embed/embed.vue +0 -71
- package/vue3/src/blocks/embed/helpers.ts +0 -2
- package/vue3/src/blocks/form/component-info.ts +0 -233
- package/vue3/src/blocks/form/form.vue +0 -7
- package/vue3/src/blocks/fragment/component-info.ts +0 -8
- package/vue3/src/blocks/fragment/fragment.vue +0 -19
- package/vue3/src/blocks/helpers.ts +0 -43
- package/vue3/src/blocks/image/component-info.ts +0 -124
- package/vue3/src/blocks/image/image.helpers.ts +0 -47
- package/vue3/src/blocks/image/image.vue +0 -172
- package/vue3/src/blocks/img/component-info.ts +0 -16
- package/vue3/src/blocks/img/img.vue +0 -59
- package/vue3/src/blocks/input/component-info.ts +0 -47
- package/vue3/src/blocks/input/input.vue +0 -52
- package/vue3/src/blocks/raw-text/component-info.ts +0 -11
- package/vue3/src/blocks/raw-text/raw-text.vue +0 -35
- package/vue3/src/blocks/section/component-info.ts +0 -41
- package/vue3/src/blocks/section/section.vue +0 -47
- package/vue3/src/blocks/select/component-info.ts +0 -44
- package/vue3/src/blocks/select/select.vue +0 -46
- package/vue3/src/blocks/submit-button/component-info.ts +0 -27
- package/vue3/src/blocks/submit-button/submit-button.vue +0 -34
- package/vue3/src/blocks/symbol/component-info.ts +0 -35
- package/vue3/src/blocks/symbol/symbol.helpers.ts +0 -47
- package/vue3/src/blocks/symbol/symbol.vue +0 -134
- package/vue3/src/blocks/text/component-info.ts +0 -20
- package/vue3/src/blocks/text/text.vue +0 -23
- package/vue3/src/blocks/textarea/component-info.ts +0 -38
- package/vue3/src/blocks/textarea/textarea.vue +0 -38
- package/vue3/src/blocks/video/component-info.ts +0 -83
- package/vue3/src/blocks/video/video.vue +0 -105
- package/vue3/src/components/block/block.helpers.ts +0 -89
- package/vue3/src/components/block/block.vue +0 -214
- package/vue3/src/components/block/components/block-styles.vue +0 -100
- package/vue3/src/components/block/components/block-wrapper.vue +0 -86
- package/vue3/src/components/block/components/component-ref/component-ref.helpers.ts +0 -52
- package/vue3/src/components/block/components/component-ref/component-ref.vue +0 -74
- package/vue3/src/components/block/components/interactive-element.vue +0 -48
- package/vue3/src/components/block/components/repeated-block.vue +0 -51
- package/vue3/src/components/block/types.ts +0 -6
- package/vue3/src/components/blocks/blocks-wrapper.vue +0 -91
- package/vue3/src/components/blocks/blocks.vue +0 -78
- package/vue3/src/components/content/components/enable-editor.vue +0 -419
- package/vue3/src/components/content/components/styles.helpers.ts +0 -77
- package/vue3/src/components/content/components/styles.vue +0 -51
- package/vue3/src/components/content/content.helpers.ts +0 -42
- package/vue3/src/components/content/content.types.ts +0 -23
- package/vue3/src/components/content/content.vue +0 -169
- package/vue3/src/components/content/index.ts +0 -1
- package/vue3/src/components/content/wrap-component-ref.ts +0 -7
- package/vue3/src/components/content-variants/content-variants.types.ts +0 -20
- package/vue3/src/components/content-variants/content-variants.vue +0 -151
- package/vue3/src/components/content-variants/helpers.ts +0 -207
- package/vue3/src/components/inlined-script.vue +0 -12
- package/vue3/src/components/inlined-styles.vue +0 -12
- package/vue3/src/constants/builder-registered-components.ts +0 -62
- package/vue3/src/constants/device-sizes.ts +0 -59
- package/vue3/src/constants/sdk-version.ts +0 -1
- package/vue3/src/constants/target.ts +0 -4
- package/vue3/src/context/builder.context.ts +0 -16
- package/vue3/src/context/components.context.ts +0 -6
- package/vue3/src/context/types.ts +0 -36
- package/vue3/src/functions/apply-patch-with-mutation.ts +0 -61
- package/vue3/src/functions/camel-to-kebab-case.ts +0 -1
- package/vue3/src/functions/deopt.ts +0 -6
- package/vue3/src/functions/evaluate/browser-runtime/browser.ts +0 -41
- package/vue3/src/functions/evaluate/browser-runtime/index.ts +0 -1
- package/vue3/src/functions/evaluate/edge-runtime/acorn-interpreter.ts +0 -2891
- package/vue3/src/functions/evaluate/edge-runtime/edge-runtime.ts +0 -96
- package/vue3/src/functions/evaluate/edge-runtime/index.ts +0 -1
- package/vue3/src/functions/evaluate/evaluate.ts +0 -66
- package/vue3/src/functions/evaluate/helpers.ts +0 -32
- package/vue3/src/functions/evaluate/index.ts +0 -1
- package/vue3/src/functions/evaluate/node-runtime/index.ts +0 -1
- package/vue3/src/functions/evaluate/placeholder-runtime.ts +0 -4
- package/vue3/src/functions/event-handler-name.ts +0 -1
- package/vue3/src/functions/extract-text-styles.ts +0 -24
- package/vue3/src/functions/fast-clone.ts +0 -4
- package/vue3/src/functions/fetch-builder-props.ts +0 -62
- package/vue3/src/functions/get-block-actions-handler.ts +0 -16
- package/vue3/src/functions/get-block-actions.ts +0 -36
- package/vue3/src/functions/get-block-component-options.ts +0 -11
- package/vue3/src/functions/get-block-properties.ts +0 -82
- package/vue3/src/functions/get-builder-search-params/index.ts +0 -40
- package/vue3/src/functions/get-content/generate-content-url.ts +0 -45
- package/vue3/src/functions/get-content/index.ts +0 -110
- package/vue3/src/functions/get-content/types.ts +0 -62
- package/vue3/src/functions/get-fetch.ts +0 -11
- package/vue3/src/functions/get-global-this.ts +0 -16
- package/vue3/src/functions/get-processed-block.ts +0 -69
- package/vue3/src/functions/get-react-native-block-styles.ts +0 -27
- package/vue3/src/functions/is-browser.ts +0 -3
- package/vue3/src/functions/is-edge-runtime.ts +0 -9
- package/vue3/src/functions/is-editing.ts +0 -5
- package/vue3/src/functions/is-iframe.ts +0 -4
- package/vue3/src/functions/is-previewing.ts +0 -11
- package/vue3/src/functions/on-change.ts +0 -29
- package/vue3/src/functions/register-component.ts +0 -48
- package/vue3/src/functions/register.ts +0 -44
- package/vue3/src/functions/sanitize-react-native-block-styles.ts +0 -58
- package/vue3/src/functions/set-editor-settings.ts +0 -15
- package/vue3/src/functions/set.ts +0 -14
- package/vue3/src/functions/track/helpers.ts +0 -51
- package/vue3/src/functions/track/index.ts +0 -131
- package/vue3/src/functions/track/interaction.ts +0 -63
- package/vue3/src/functions/transform-block-properties.ts +0 -18
- package/vue3/src/functions/transform-block.ts +0 -6
- package/vue3/src/helpers/ab-tests.ts +0 -166
- package/vue3/src/helpers/canTrack.ts +0 -2
- package/vue3/src/helpers/cookie.ts +0 -81
- package/vue3/src/helpers/css.ts +0 -33
- package/vue3/src/helpers/flatten.ts +0 -19
- package/vue3/src/helpers/localStorage.ts +0 -36
- package/vue3/src/helpers/logger.ts +0 -7
- package/vue3/src/helpers/nullable.ts +0 -2
- package/vue3/src/helpers/preview-lru-cache/get.ts +0 -4
- package/vue3/src/helpers/preview-lru-cache/init.ts +0 -7
- package/vue3/src/helpers/preview-lru-cache/set.ts +0 -12
- package/vue3/src/helpers/sessionId.ts +0 -37
- package/vue3/src/helpers/time.ts +0 -2
- package/vue3/src/helpers/url.ts +0 -15
- package/vue3/src/helpers/uuid.ts +0 -17
- package/vue3/src/helpers/visitorId.ts +0 -37
- package/vue3/src/index-helpers/blocks-exports.ts +0 -20
- package/vue3/src/index-helpers/top-of-file.ts +0 -4
- package/vue3/src/index.ts +0 -8
- package/vue3/src/scripts/init-editing.ts +0 -113
- package/vue3/src/server-index.ts +0 -15
- package/vue3/tsconfig.config.json +0 -8
- package/vue3/tsconfig.json +0 -17
- package/vue3/vite.config.js +0 -31
- /package/vue2/{src/helpers/preview-lru-cache/helpers.ts → lib/browser/helpers/preview-lru-cache/helpers.d.ts} +0 -0
- /package/vue2/{src/helpers/preview-lru-cache/types.ts → lib/browser/helpers/preview-lru-cache/types.d.ts} +0 -0
- /package/{vue3/src/helpers/preview-lru-cache/helpers.ts → vue2/lib/edge/helpers/preview-lru-cache/helpers.d.ts} +0 -0
- /package/{vue3/src/helpers/preview-lru-cache/types.ts → vue2/lib/edge/helpers/preview-lru-cache/types.d.ts} +0 -0
|
@@ -1,507 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `vm` module enables compiling and running code within V8 Virtual
|
|
3
|
-
* Machine contexts. **The `vm` module is not a security mechanism. Do**
|
|
4
|
-
* **not use it to run untrusted code.**
|
|
5
|
-
*
|
|
6
|
-
* JavaScript code can be compiled and run immediately or
|
|
7
|
-
* compiled, saved, and run later.
|
|
8
|
-
*
|
|
9
|
-
* A common use case is to run the code in a different V8 Context. This means
|
|
10
|
-
* invoked code has a different global object than the invoking code.
|
|
11
|
-
*
|
|
12
|
-
* One can provide the context by `contextifying` an
|
|
13
|
-
* object. The invoked code treats any property in the context like a
|
|
14
|
-
* global variable. Any changes to global variables caused by the invoked
|
|
15
|
-
* code are reflected in the context object.
|
|
16
|
-
*
|
|
17
|
-
* ```js
|
|
18
|
-
* const vm = require('vm');
|
|
19
|
-
*
|
|
20
|
-
* const x = 1;
|
|
21
|
-
*
|
|
22
|
-
* const context = { x: 2 };
|
|
23
|
-
* vm.createContext(context); // Contextify the object.
|
|
24
|
-
*
|
|
25
|
-
* const code = 'x += 40; var y = 17;';
|
|
26
|
-
* // `x` and `y` are global variables in the context.
|
|
27
|
-
* // Initially, x has the value 2 because that is the value of context.x.
|
|
28
|
-
* vm.runInContext(code, context);
|
|
29
|
-
*
|
|
30
|
-
* console.log(context.x); // 42
|
|
31
|
-
* console.log(context.y); // 17
|
|
32
|
-
*
|
|
33
|
-
* console.log(x); // 1; y is not defined.
|
|
34
|
-
* ```
|
|
35
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/vm.js)
|
|
36
|
-
*/
|
|
37
|
-
declare module 'vm' {
|
|
38
|
-
interface Context extends NodeJS.Dict<any> {}
|
|
39
|
-
interface BaseOptions {
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the filename used in stack traces produced by this script.
|
|
42
|
-
* Default: `''`.
|
|
43
|
-
*/
|
|
44
|
-
filename?: string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the line number offset that is displayed in stack traces produced by this script.
|
|
47
|
-
* Default: `0`.
|
|
48
|
-
*/
|
|
49
|
-
lineOffset?: number | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Specifies the column number offset that is displayed in stack traces produced by this script.
|
|
52
|
-
* @default 0
|
|
53
|
-
*/
|
|
54
|
-
columnOffset?: number | undefined;
|
|
55
|
-
}
|
|
56
|
-
interface ScriptOptions extends BaseOptions {
|
|
57
|
-
displayErrors?: boolean | undefined;
|
|
58
|
-
timeout?: number | undefined;
|
|
59
|
-
cachedData?: Buffer | undefined;
|
|
60
|
-
/** @deprecated in favor of `script.createCachedData()` */
|
|
61
|
-
produceCachedData?: boolean | undefined;
|
|
62
|
-
}
|
|
63
|
-
interface RunningScriptOptions extends BaseOptions {
|
|
64
|
-
/**
|
|
65
|
-
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
|
|
66
|
-
* Default: `true`.
|
|
67
|
-
*/
|
|
68
|
-
displayErrors?: boolean | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* Specifies the number of milliseconds to execute code before terminating execution.
|
|
71
|
-
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
|
|
72
|
-
*/
|
|
73
|
-
timeout?: number | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
|
|
76
|
-
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
|
|
77
|
-
* If execution is terminated, an `Error` will be thrown.
|
|
78
|
-
* Default: `false`.
|
|
79
|
-
*/
|
|
80
|
-
breakOnSigint?: boolean | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
83
|
-
*/
|
|
84
|
-
microtaskMode?: 'afterEvaluate' | undefined;
|
|
85
|
-
}
|
|
86
|
-
interface CompileFunctionOptions extends BaseOptions {
|
|
87
|
-
/**
|
|
88
|
-
* Provides an optional data with V8's code cache data for the supplied source.
|
|
89
|
-
*/
|
|
90
|
-
cachedData?: Buffer | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies whether to produce new cache data.
|
|
93
|
-
* Default: `false`,
|
|
94
|
-
*/
|
|
95
|
-
produceCachedData?: boolean | undefined;
|
|
96
|
-
/**
|
|
97
|
-
* The sandbox/context in which the said function should be compiled in.
|
|
98
|
-
*/
|
|
99
|
-
parsingContext?: Context | undefined;
|
|
100
|
-
/**
|
|
101
|
-
* An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
|
|
102
|
-
*/
|
|
103
|
-
contextExtensions?: Object[] | undefined;
|
|
104
|
-
}
|
|
105
|
-
interface CreateContextOptions {
|
|
106
|
-
/**
|
|
107
|
-
* Human-readable name of the newly created context.
|
|
108
|
-
* @default 'VM Context i' Where i is an ascending numerical index of the created context.
|
|
109
|
-
*/
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Corresponds to the newly created context for display purposes.
|
|
113
|
-
* The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary),
|
|
114
|
-
* like the value of the `url.origin` property of a URL object.
|
|
115
|
-
* Most notably, this string should omit the trailing slash, as that denotes a path.
|
|
116
|
-
* @default ''
|
|
117
|
-
*/
|
|
118
|
-
origin?: string | undefined;
|
|
119
|
-
codeGeneration?:
|
|
120
|
-
| {
|
|
121
|
-
/**
|
|
122
|
-
* If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc)
|
|
123
|
-
* will throw an EvalError.
|
|
124
|
-
* @default true
|
|
125
|
-
*/
|
|
126
|
-
strings?: boolean | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError.
|
|
129
|
-
* @default true
|
|
130
|
-
*/
|
|
131
|
-
wasm?: boolean | undefined;
|
|
132
|
-
}
|
|
133
|
-
| undefined;
|
|
134
|
-
/**
|
|
135
|
-
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
136
|
-
*/
|
|
137
|
-
microtaskMode?: 'afterEvaluate' | undefined;
|
|
138
|
-
}
|
|
139
|
-
type MeasureMemoryMode = 'summary' | 'detailed';
|
|
140
|
-
interface MeasureMemoryOptions {
|
|
141
|
-
/**
|
|
142
|
-
* @default 'summary'
|
|
143
|
-
*/
|
|
144
|
-
mode?: MeasureMemoryMode | undefined;
|
|
145
|
-
context?: Context | undefined;
|
|
146
|
-
}
|
|
147
|
-
interface MemoryMeasurement {
|
|
148
|
-
total: {
|
|
149
|
-
jsMemoryEstimate: number;
|
|
150
|
-
jsMemoryRange: [number, number];
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Instances of the `vm.Script` class contain precompiled scripts that can be
|
|
155
|
-
* executed in specific contexts.
|
|
156
|
-
* @since v0.3.1
|
|
157
|
-
*/
|
|
158
|
-
class Script {
|
|
159
|
-
constructor(code: string, options?: ScriptOptions);
|
|
160
|
-
/**
|
|
161
|
-
* Runs the compiled code contained by the `vm.Script` object within the given`contextifiedObject` and returns the result. Running code does not have access
|
|
162
|
-
* to local scope.
|
|
163
|
-
*
|
|
164
|
-
* The following example compiles code that increments a global variable, sets
|
|
165
|
-
* the value of another global variable, then execute the code multiple times.
|
|
166
|
-
* The globals are contained in the `context` object.
|
|
167
|
-
*
|
|
168
|
-
* ```js
|
|
169
|
-
* const vm = require('vm');
|
|
170
|
-
*
|
|
171
|
-
* const context = {
|
|
172
|
-
* animal: 'cat',
|
|
173
|
-
* count: 2
|
|
174
|
-
* };
|
|
175
|
-
*
|
|
176
|
-
* const script = new vm.Script('count += 1; name = "kitty";');
|
|
177
|
-
*
|
|
178
|
-
* vm.createContext(context);
|
|
179
|
-
* for (let i = 0; i < 10; ++i) {
|
|
180
|
-
* script.runInContext(context);
|
|
181
|
-
* }
|
|
182
|
-
*
|
|
183
|
-
* console.log(context);
|
|
184
|
-
* // Prints: { animal: 'cat', count: 12, name: 'kitty' }
|
|
185
|
-
* ```
|
|
186
|
-
*
|
|
187
|
-
* Using the `timeout` or `breakOnSigint` options will result in new event loops
|
|
188
|
-
* and corresponding threads being started, which have a non-zero performance
|
|
189
|
-
* overhead.
|
|
190
|
-
* @since v0.3.1
|
|
191
|
-
* @param contextifiedObject A `contextified` object as returned by the `vm.createContext()` method.
|
|
192
|
-
* @return the result of the very last statement executed in the script.
|
|
193
|
-
*/
|
|
194
|
-
runInContext(contextifiedObject: Context, options?: RunningScriptOptions): any;
|
|
195
|
-
/**
|
|
196
|
-
* First contextifies the given `contextObject`, runs the compiled code contained
|
|
197
|
-
* by the `vm.Script` object within the created context, and returns the result.
|
|
198
|
-
* Running code does not have access to local scope.
|
|
199
|
-
*
|
|
200
|
-
* The following example compiles code that sets a global variable, then executes
|
|
201
|
-
* the code multiple times in different contexts. The globals are set on and
|
|
202
|
-
* contained within each individual `context`.
|
|
203
|
-
*
|
|
204
|
-
* ```js
|
|
205
|
-
* const vm = require('vm');
|
|
206
|
-
*
|
|
207
|
-
* const script = new vm.Script('globalVar = "set"');
|
|
208
|
-
*
|
|
209
|
-
* const contexts = [{}, {}, {}];
|
|
210
|
-
* contexts.forEach((context) => {
|
|
211
|
-
* script.runInNewContext(context);
|
|
212
|
-
* });
|
|
213
|
-
*
|
|
214
|
-
* console.log(contexts);
|
|
215
|
-
* // Prints: [{ globalVar: 'set' }, { globalVar: 'set' }, { globalVar: 'set' }]
|
|
216
|
-
* ```
|
|
217
|
-
* @since v0.3.1
|
|
218
|
-
* @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created.
|
|
219
|
-
* @return the result of the very last statement executed in the script.
|
|
220
|
-
*/
|
|
221
|
-
runInNewContext(contextObject?: Context, options?: RunningScriptOptions): any;
|
|
222
|
-
/**
|
|
223
|
-
* Runs the compiled code contained by the `vm.Script` within the context of the
|
|
224
|
-
* current `global` object. Running code does not have access to local scope, but_does_ have access to the current `global` object.
|
|
225
|
-
*
|
|
226
|
-
* The following example compiles code that increments a `global` variable then
|
|
227
|
-
* executes that code multiple times:
|
|
228
|
-
*
|
|
229
|
-
* ```js
|
|
230
|
-
* const vm = require('vm');
|
|
231
|
-
*
|
|
232
|
-
* global.globalVar = 0;
|
|
233
|
-
*
|
|
234
|
-
* const script = new vm.Script('globalVar += 1', { filename: 'myfile.vm' });
|
|
235
|
-
*
|
|
236
|
-
* for (let i = 0; i < 1000; ++i) {
|
|
237
|
-
* script.runInThisContext();
|
|
238
|
-
* }
|
|
239
|
-
*
|
|
240
|
-
* console.log(globalVar);
|
|
241
|
-
*
|
|
242
|
-
* // 1000
|
|
243
|
-
* ```
|
|
244
|
-
* @since v0.3.1
|
|
245
|
-
* @return the result of the very last statement executed in the script.
|
|
246
|
-
*/
|
|
247
|
-
runInThisContext(options?: RunningScriptOptions): any;
|
|
248
|
-
/**
|
|
249
|
-
* Creates a code cache that can be used with the `Script` constructor's`cachedData` option. Returns a `Buffer`. This method may be called at any
|
|
250
|
-
* time and any number of times.
|
|
251
|
-
*
|
|
252
|
-
* ```js
|
|
253
|
-
* const script = new vm.Script(`
|
|
254
|
-
* function add(a, b) {
|
|
255
|
-
* return a + b;
|
|
256
|
-
* }
|
|
257
|
-
*
|
|
258
|
-
* const x = add(1, 2);
|
|
259
|
-
* `);
|
|
260
|
-
*
|
|
261
|
-
* const cacheWithoutX = script.createCachedData();
|
|
262
|
-
*
|
|
263
|
-
* script.runInThisContext();
|
|
264
|
-
*
|
|
265
|
-
* const cacheWithX = script.createCachedData();
|
|
266
|
-
* ```
|
|
267
|
-
* @since v10.6.0
|
|
268
|
-
*/
|
|
269
|
-
createCachedData(): Buffer;
|
|
270
|
-
/** @deprecated in favor of `script.createCachedData()` */
|
|
271
|
-
cachedDataProduced?: boolean | undefined;
|
|
272
|
-
cachedDataRejected?: boolean | undefined;
|
|
273
|
-
cachedData?: Buffer | undefined;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* If given a `contextObject`, the `vm.createContext()` method will `prepare
|
|
277
|
-
* that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts,
|
|
278
|
-
* the `contextObject` will be the global object, retaining all of its existing
|
|
279
|
-
* properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables
|
|
280
|
-
* will remain unchanged.
|
|
281
|
-
*
|
|
282
|
-
* ```js
|
|
283
|
-
* const vm = require('vm');
|
|
284
|
-
*
|
|
285
|
-
* global.globalVar = 3;
|
|
286
|
-
*
|
|
287
|
-
* const context = { globalVar: 1 };
|
|
288
|
-
* vm.createContext(context);
|
|
289
|
-
*
|
|
290
|
-
* vm.runInContext('globalVar *= 2;', context);
|
|
291
|
-
*
|
|
292
|
-
* console.log(context);
|
|
293
|
-
* // Prints: { globalVar: 2 }
|
|
294
|
-
*
|
|
295
|
-
* console.log(global.globalVar);
|
|
296
|
-
* // Prints: 3
|
|
297
|
-
* ```
|
|
298
|
-
*
|
|
299
|
-
* If `contextObject` is omitted (or passed explicitly as `undefined`), a new,
|
|
300
|
-
* empty `contextified` object will be returned.
|
|
301
|
-
*
|
|
302
|
-
* The `vm.createContext()` method is primarily useful for creating a single
|
|
303
|
-
* context that can be used to run multiple scripts. For instance, if emulating a
|
|
304
|
-
* web browser, the method can be used to create a single context representing a
|
|
305
|
-
* window's global object, then run all `<script>` tags together within that
|
|
306
|
-
* context.
|
|
307
|
-
*
|
|
308
|
-
* The provided `name` and `origin` of the context are made visible through the
|
|
309
|
-
* Inspector API.
|
|
310
|
-
* @since v0.3.1
|
|
311
|
-
* @return contextified object.
|
|
312
|
-
*/
|
|
313
|
-
function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
|
|
314
|
-
/**
|
|
315
|
-
* Returns `true` if the given `object` object has been `contextified` using {@link createContext}.
|
|
316
|
-
* @since v0.11.7
|
|
317
|
-
*/
|
|
318
|
-
function isContext(sandbox: Context): boolean;
|
|
319
|
-
/**
|
|
320
|
-
* The `vm.runInContext()` method compiles `code`, runs it within the context of
|
|
321
|
-
* the `contextifiedObject`, then returns the result. Running code does not have
|
|
322
|
-
* access to the local scope. The `contextifiedObject` object _must_ have been
|
|
323
|
-
* previously `contextified` using the {@link createContext} method.
|
|
324
|
-
*
|
|
325
|
-
* If `options` is a string, then it specifies the filename.
|
|
326
|
-
*
|
|
327
|
-
* The following example compiles and executes different scripts using a single `contextified` object:
|
|
328
|
-
*
|
|
329
|
-
* ```js
|
|
330
|
-
* const vm = require('vm');
|
|
331
|
-
*
|
|
332
|
-
* const contextObject = { globalVar: 1 };
|
|
333
|
-
* vm.createContext(contextObject);
|
|
334
|
-
*
|
|
335
|
-
* for (let i = 0; i < 10; ++i) {
|
|
336
|
-
* vm.runInContext('globalVar *= 2;', contextObject);
|
|
337
|
-
* }
|
|
338
|
-
* console.log(contextObject);
|
|
339
|
-
* // Prints: { globalVar: 1024 }
|
|
340
|
-
* ```
|
|
341
|
-
* @since v0.3.1
|
|
342
|
-
* @param code The JavaScript code to compile and run.
|
|
343
|
-
* @param contextifiedObject The `contextified` object that will be used as the `global` when the `code` is compiled and run.
|
|
344
|
-
* @return the result of the very last statement executed in the script.
|
|
345
|
-
*/
|
|
346
|
-
function runInContext(code: string, contextifiedObject: Context, options?: RunningScriptOptions | string): any;
|
|
347
|
-
/**
|
|
348
|
-
* The `vm.runInNewContext()` first contextifies the given `contextObject` (or
|
|
349
|
-
* creates a new `contextObject` if passed as `undefined`), compiles the `code`,
|
|
350
|
-
* runs it within the created context, then returns the result. Running code
|
|
351
|
-
* does not have access to the local scope.
|
|
352
|
-
*
|
|
353
|
-
* If `options` is a string, then it specifies the filename.
|
|
354
|
-
*
|
|
355
|
-
* The following example compiles and executes code that increments a global
|
|
356
|
-
* variable and sets a new one. These globals are contained in the `contextObject`.
|
|
357
|
-
*
|
|
358
|
-
* ```js
|
|
359
|
-
* const vm = require('vm');
|
|
360
|
-
*
|
|
361
|
-
* const contextObject = {
|
|
362
|
-
* animal: 'cat',
|
|
363
|
-
* count: 2
|
|
364
|
-
* };
|
|
365
|
-
*
|
|
366
|
-
* vm.runInNewContext('count += 1; name = "kitty"', contextObject);
|
|
367
|
-
* console.log(contextObject);
|
|
368
|
-
* // Prints: { animal: 'cat', count: 3, name: 'kitty' }
|
|
369
|
-
* ```
|
|
370
|
-
* @since v0.3.1
|
|
371
|
-
* @param code The JavaScript code to compile and run.
|
|
372
|
-
* @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created.
|
|
373
|
-
* @return the result of the very last statement executed in the script.
|
|
374
|
-
*/
|
|
375
|
-
function runInNewContext(code: string, contextObject?: Context, options?: RunningScriptOptions | string): any;
|
|
376
|
-
/**
|
|
377
|
-
* `vm.runInThisContext()` compiles `code`, runs it within the context of the
|
|
378
|
-
* current `global` and returns the result. Running code does not have access to
|
|
379
|
-
* local scope, but does have access to the current `global` object.
|
|
380
|
-
*
|
|
381
|
-
* If `options` is a string, then it specifies the filename.
|
|
382
|
-
*
|
|
383
|
-
* The following example illustrates using both `vm.runInThisContext()` and
|
|
384
|
-
* the JavaScript [`eval()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) function to run the same code:
|
|
385
|
-
*
|
|
386
|
-
* ```js
|
|
387
|
-
* const vm = require('vm');
|
|
388
|
-
* let localVar = 'initial value';
|
|
389
|
-
*
|
|
390
|
-
* const vmResult = vm.runInThisContext('localVar = "vm";');
|
|
391
|
-
* console.log(`vmResult: '${vmResult}', localVar: '${localVar}'`);
|
|
392
|
-
* // Prints: vmResult: 'vm', localVar: 'initial value'
|
|
393
|
-
*
|
|
394
|
-
* const evalResult = eval('localVar = "eval";');
|
|
395
|
-
* console.log(`evalResult: '${evalResult}', localVar: '${localVar}'`);
|
|
396
|
-
* // Prints: evalResult: 'eval', localVar: 'eval'
|
|
397
|
-
* ```
|
|
398
|
-
*
|
|
399
|
-
* Because `vm.runInThisContext()` does not have access to the local scope,`localVar` is unchanged. In contrast,
|
|
400
|
-
* [`eval()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) _does_ have access to the
|
|
401
|
-
* local scope, so the value `localVar` is changed. In this way`vm.runInThisContext()` is much like an [indirect `eval()` call](https://es5.github.io/#x10.4.2), e.g.`(0,eval)('code')`.
|
|
402
|
-
*
|
|
403
|
-
* ## Example: Running an HTTP server within a VM
|
|
404
|
-
*
|
|
405
|
-
* When using either `script.runInThisContext()` or {@link runInThisContext}, the code is executed within the current V8 global
|
|
406
|
-
* context. The code passed to this VM context will have its own isolated scope.
|
|
407
|
-
*
|
|
408
|
-
* In order to run a simple web server using the `http` module the code passed to
|
|
409
|
-
* the context must either call `require('http')` on its own, or have a reference
|
|
410
|
-
* to the `http` module passed to it. For instance:
|
|
411
|
-
*
|
|
412
|
-
* ```js
|
|
413
|
-
* 'use strict';
|
|
414
|
-
* const vm = require('vm');
|
|
415
|
-
*
|
|
416
|
-
* const code = `
|
|
417
|
-
* ((require) => {
|
|
418
|
-
* const http = require('http');
|
|
419
|
-
*
|
|
420
|
-
* http.createServer((request, response) => {
|
|
421
|
-
* response.writeHead(200, { 'Content-Type': 'text/plain' });
|
|
422
|
-
* response.end('Hello World\\n');
|
|
423
|
-
* }).listen(8124);
|
|
424
|
-
*
|
|
425
|
-
* console.log('Server running at http://127.0.0.1:8124/');
|
|
426
|
-
* })`;
|
|
427
|
-
*
|
|
428
|
-
* vm.runInThisContext(code)(require);
|
|
429
|
-
* ```
|
|
430
|
-
*
|
|
431
|
-
* The `require()` in the above case shares the state with the context it is
|
|
432
|
-
* passed from. This may introduce risks when untrusted code is executed, e.g.
|
|
433
|
-
* altering objects in the context in unwanted ways.
|
|
434
|
-
* @since v0.3.1
|
|
435
|
-
* @param code The JavaScript code to compile and run.
|
|
436
|
-
* @return the result of the very last statement executed in the script.
|
|
437
|
-
*/
|
|
438
|
-
function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
|
|
439
|
-
/**
|
|
440
|
-
* Compiles the given code into the provided context (if no context is
|
|
441
|
-
* supplied, the current context is used), and returns it wrapped inside a
|
|
442
|
-
* function with the given `params`.
|
|
443
|
-
* @since v10.10.0
|
|
444
|
-
* @param code The body of the function to compile.
|
|
445
|
-
* @param params An array of strings containing all parameters for the function.
|
|
446
|
-
*/
|
|
447
|
-
function compileFunction(code: string, params?: ReadonlyArray<string>, options?: CompileFunctionOptions): Function;
|
|
448
|
-
/**
|
|
449
|
-
* Measure the memory known to V8 and used by all contexts known to the
|
|
450
|
-
* current V8 isolate, or the main context.
|
|
451
|
-
*
|
|
452
|
-
* The format of the object that the returned Promise may resolve with is
|
|
453
|
-
* specific to the V8 engine and may change from one version of V8 to the next.
|
|
454
|
-
*
|
|
455
|
-
* The returned result is different from the statistics returned by`v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measure the
|
|
456
|
-
* memory reachable by each V8 specific contexts in the current instance of
|
|
457
|
-
* the V8 engine, while the result of `v8.getHeapSpaceStatistics()` measure
|
|
458
|
-
* the memory occupied by each heap space in the current V8 instance.
|
|
459
|
-
*
|
|
460
|
-
* ```js
|
|
461
|
-
* const vm = require('vm');
|
|
462
|
-
* // Measure the memory used by the main context.
|
|
463
|
-
* vm.measureMemory({ mode: 'summary' })
|
|
464
|
-
* // This is the same as vm.measureMemory()
|
|
465
|
-
* .then((result) => {
|
|
466
|
-
* // The current format is:
|
|
467
|
-
* // {
|
|
468
|
-
* // total: {
|
|
469
|
-
* // jsMemoryEstimate: 2418479, jsMemoryRange: [ 2418479, 2745799 ]
|
|
470
|
-
* // }
|
|
471
|
-
* // }
|
|
472
|
-
* console.log(result);
|
|
473
|
-
* });
|
|
474
|
-
*
|
|
475
|
-
* const context = vm.createContext({ a: 1 });
|
|
476
|
-
* vm.measureMemory({ mode: 'detailed', execution: 'eager' })
|
|
477
|
-
* .then((result) => {
|
|
478
|
-
* // Reference the context here so that it won't be GC'ed
|
|
479
|
-
* // until the measurement is complete.
|
|
480
|
-
* console.log(context.a);
|
|
481
|
-
* // {
|
|
482
|
-
* // total: {
|
|
483
|
-
* // jsMemoryEstimate: 2574732,
|
|
484
|
-
* // jsMemoryRange: [ 2574732, 2904372 ]
|
|
485
|
-
* // },
|
|
486
|
-
* // current: {
|
|
487
|
-
* // jsMemoryEstimate: 2438996,
|
|
488
|
-
* // jsMemoryRange: [ 2438996, 2768636 ]
|
|
489
|
-
* // },
|
|
490
|
-
* // other: [
|
|
491
|
-
* // {
|
|
492
|
-
* // jsMemoryEstimate: 135736,
|
|
493
|
-
* // jsMemoryRange: [ 135736, 465376 ]
|
|
494
|
-
* // }
|
|
495
|
-
* // ]
|
|
496
|
-
* // }
|
|
497
|
-
* console.log(result);
|
|
498
|
-
* });
|
|
499
|
-
* ```
|
|
500
|
-
* @since v13.10.0
|
|
501
|
-
* @experimental
|
|
502
|
-
*/
|
|
503
|
-
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
504
|
-
}
|
|
505
|
-
declare module 'node:vm' {
|
|
506
|
-
export * from 'vm';
|
|
507
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The WASI API provides an implementation of the [WebAssembly System Interface](https://wasi.dev/) specification. WASI gives sandboxed WebAssembly applications access to the
|
|
3
|
-
* underlying operating system via a collection of POSIX-like functions.
|
|
4
|
-
*
|
|
5
|
-
* ```js
|
|
6
|
-
* import { readFile } from 'fs/promises';
|
|
7
|
-
* import { WASI } from 'wasi';
|
|
8
|
-
* import { argv, env } from 'process';
|
|
9
|
-
*
|
|
10
|
-
* const wasi = new WASI({
|
|
11
|
-
* args: argv,
|
|
12
|
-
* env,
|
|
13
|
-
* preopens: {
|
|
14
|
-
* '/sandbox': '/some/real/path/that/wasm/can/access'
|
|
15
|
-
* }
|
|
16
|
-
* });
|
|
17
|
-
*
|
|
18
|
-
* // Some WASI binaries require:
|
|
19
|
-
* // const importObject = { wasi_unstable: wasi.wasiImport };
|
|
20
|
-
* const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
|
|
21
|
-
*
|
|
22
|
-
* const wasm = await WebAssembly.compile(
|
|
23
|
-
* await readFile(new URL('./demo.wasm', import.meta.url))
|
|
24
|
-
* );
|
|
25
|
-
* const instance = await WebAssembly.instantiate(wasm, importObject);
|
|
26
|
-
*
|
|
27
|
-
* wasi.start(instance);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* To run the above example, create a new WebAssembly text format file named`demo.wat`:
|
|
31
|
-
*
|
|
32
|
-
* ```text
|
|
33
|
-
* (module
|
|
34
|
-
* ;; Import the required fd_write WASI function which will write the given io vectors to stdout
|
|
35
|
-
* ;; The function signature for fd_write is:
|
|
36
|
-
* ;; (File Descriptor, *iovs, iovs_len, nwritten) -> Returns number of bytes written
|
|
37
|
-
* (import "wasi_snapshot_preview1" "fd_write" (func $fd_write (param i32 i32 i32 i32) (result i32)))
|
|
38
|
-
*
|
|
39
|
-
* (memory 1)
|
|
40
|
-
* (export "memory" (memory 0))
|
|
41
|
-
*
|
|
42
|
-
* ;; Write 'hello world\n' to memory at an offset of 8 bytes
|
|
43
|
-
* ;; Note the trailing newline which is required for the text to appear
|
|
44
|
-
* (data (i32.const 8) "hello world\n")
|
|
45
|
-
*
|
|
46
|
-
* (func $main (export "_start")
|
|
47
|
-
* ;; Creating a new io vector within linear memory
|
|
48
|
-
* (i32.store (i32.const 0) (i32.const 8)) ;; iov.iov_base - This is a pointer to the start of the 'hello world\n' string
|
|
49
|
-
* (i32.store (i32.const 4) (i32.const 12)) ;; iov.iov_len - The length of the 'hello world\n' string
|
|
50
|
-
*
|
|
51
|
-
* (call $fd_write
|
|
52
|
-
* (i32.const 1) ;; file_descriptor - 1 for stdout
|
|
53
|
-
* (i32.const 0) ;; *iovs - The pointer to the iov array, which is stored at memory location 0
|
|
54
|
-
* (i32.const 1) ;; iovs_len - We're printing 1 string stored in an iov - so one.
|
|
55
|
-
* (i32.const 20) ;; nwritten - A place in memory to store the number of bytes written
|
|
56
|
-
* )
|
|
57
|
-
* drop ;; Discard the number of bytes written from the top of the stack
|
|
58
|
-
* )
|
|
59
|
-
* )
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* Use [wabt](https://github.com/WebAssembly/wabt) to compile `.wat` to `.wasm`
|
|
63
|
-
*
|
|
64
|
-
* ```console
|
|
65
|
-
* $ wat2wasm demo.wat
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* The `--experimental-wasi-unstable-preview1` CLI argument is needed for this
|
|
69
|
-
* example to run.
|
|
70
|
-
* @experimental
|
|
71
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/wasi.js)
|
|
72
|
-
*/
|
|
73
|
-
declare module 'wasi' {
|
|
74
|
-
interface WASIOptions {
|
|
75
|
-
/**
|
|
76
|
-
* An array of strings that the WebAssembly application will
|
|
77
|
-
* see as command line arguments. The first argument is the virtual path to the
|
|
78
|
-
* WASI command itself.
|
|
79
|
-
*/
|
|
80
|
-
args?: string[] | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* An object similar to `process.env` that the WebAssembly
|
|
83
|
-
* application will see as its environment.
|
|
84
|
-
*/
|
|
85
|
-
env?: object | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* This object represents the WebAssembly application's
|
|
88
|
-
* sandbox directory structure. The string keys of `preopens` are treated as
|
|
89
|
-
* directories within the sandbox. The corresponding values in `preopens` are
|
|
90
|
-
* the real paths to those directories on the host machine.
|
|
91
|
-
*/
|
|
92
|
-
preopens?: NodeJS.Dict<string> | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* By default, WASI applications terminate the Node.js
|
|
95
|
-
* process via the `__wasi_proc_exit()` function. Setting this option to `true`
|
|
96
|
-
* causes `wasi.start()` to return the exit code rather than terminate the
|
|
97
|
-
* process.
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
100
|
-
returnOnExit?: boolean | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* The file descriptor used as standard input in the WebAssembly application.
|
|
103
|
-
* @default 0
|
|
104
|
-
*/
|
|
105
|
-
stdin?: number | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* The file descriptor used as standard output in the WebAssembly application.
|
|
108
|
-
* @default 1
|
|
109
|
-
*/
|
|
110
|
-
stdout?: number | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* The file descriptor used as standard error in the WebAssembly application.
|
|
113
|
-
* @default 2
|
|
114
|
-
*/
|
|
115
|
-
stderr?: number | undefined;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* The `WASI` class provides the WASI system call API and additional convenience
|
|
119
|
-
* methods for working with WASI-based applications. Each `WASI` instance
|
|
120
|
-
* represents a distinct sandbox environment. For security purposes, each `WASI`instance must have its command-line arguments, environment variables, and
|
|
121
|
-
* sandbox directory structure configured explicitly.
|
|
122
|
-
* @since v13.3.0, v12.16.0
|
|
123
|
-
*/
|
|
124
|
-
class WASI {
|
|
125
|
-
constructor(options?: WASIOptions);
|
|
126
|
-
/**
|
|
127
|
-
* Attempt to begin execution of `instance` as a WASI command by invoking its`_start()` export. If `instance` does not contain a `_start()` export, or if`instance` contains an `_initialize()`
|
|
128
|
-
* export, then an exception is thrown.
|
|
129
|
-
*
|
|
130
|
-
* `start()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`. If
|
|
131
|
-
* `instance` does not have a `memory` export an exception is thrown.
|
|
132
|
-
*
|
|
133
|
-
* If `start()` is called more than once, an exception is thrown.
|
|
134
|
-
* @since v13.3.0, v12.16.0
|
|
135
|
-
*/
|
|
136
|
-
start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
137
|
-
/**
|
|
138
|
-
* Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
|
|
139
|
-
*
|
|
140
|
-
* `initialize()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`.
|
|
141
|
-
* If `instance` does not have a `memory` export an exception is thrown.
|
|
142
|
-
*
|
|
143
|
-
* If `initialize()` is called more than once, an exception is thrown.
|
|
144
|
-
* @since v14.6.0, v12.19.0
|
|
145
|
-
*/
|
|
146
|
-
initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
147
|
-
/**
|
|
148
|
-
* `wasiImport` is an object that implements the WASI system call API. This object
|
|
149
|
-
* should be passed as the `wasi_snapshot_preview1` import during the instantiation
|
|
150
|
-
* of a [`WebAssembly.Instance`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance).
|
|
151
|
-
* @since v13.3.0, v12.16.0
|
|
152
|
-
*/
|
|
153
|
-
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
declare module 'node:wasi' {
|
|
157
|
-
export * from 'wasi';
|
|
158
|
-
}
|