@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,828 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* > Stability: 2 - Stable
|
|
3
|
-
*
|
|
4
|
-
* The `net` module provides an asynchronous network API for creating stream-based
|
|
5
|
-
* TCP or `IPC` servers ({@link createServer}) and clients
|
|
6
|
-
* ({@link createConnection}).
|
|
7
|
-
*
|
|
8
|
-
* It can be accessed using:
|
|
9
|
-
*
|
|
10
|
-
* ```js
|
|
11
|
-
* const net = require('net');
|
|
12
|
-
* ```
|
|
13
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/net.js)
|
|
14
|
-
*/
|
|
15
|
-
declare module 'net' {
|
|
16
|
-
import * as stream from 'node:stream';
|
|
17
|
-
import { Abortable, EventEmitter } from 'node:events';
|
|
18
|
-
import * as dns from 'node:dns';
|
|
19
|
-
type LookupFunction = (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void;
|
|
20
|
-
interface AddressInfo {
|
|
21
|
-
address: string;
|
|
22
|
-
family: string;
|
|
23
|
-
port: number;
|
|
24
|
-
}
|
|
25
|
-
interface SocketConstructorOpts {
|
|
26
|
-
fd?: number | undefined;
|
|
27
|
-
allowHalfOpen?: boolean | undefined;
|
|
28
|
-
readable?: boolean | undefined;
|
|
29
|
-
writable?: boolean | undefined;
|
|
30
|
-
signal?: AbortSignal;
|
|
31
|
-
}
|
|
32
|
-
interface OnReadOpts {
|
|
33
|
-
buffer: Uint8Array | (() => Uint8Array);
|
|
34
|
-
/**
|
|
35
|
-
* This function is called for every chunk of incoming data.
|
|
36
|
-
* Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer.
|
|
37
|
-
* Return false from this function to implicitly pause() the socket.
|
|
38
|
-
*/
|
|
39
|
-
callback(bytesWritten: number, buf: Uint8Array): boolean;
|
|
40
|
-
}
|
|
41
|
-
interface ConnectOpts {
|
|
42
|
-
/**
|
|
43
|
-
* If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket.
|
|
44
|
-
* Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will
|
|
45
|
-
* still be emitted as normal and methods like pause() and resume() will also behave as expected.
|
|
46
|
-
*/
|
|
47
|
-
onread?: OnReadOpts | undefined;
|
|
48
|
-
}
|
|
49
|
-
interface TcpSocketConnectOpts extends ConnectOpts {
|
|
50
|
-
port: number;
|
|
51
|
-
host?: string | undefined;
|
|
52
|
-
localAddress?: string | undefined;
|
|
53
|
-
localPort?: number | undefined;
|
|
54
|
-
hints?: number | undefined;
|
|
55
|
-
family?: number | undefined;
|
|
56
|
-
lookup?: LookupFunction | undefined;
|
|
57
|
-
noDelay?: boolean | undefined;
|
|
58
|
-
keepAlive?: boolean | undefined;
|
|
59
|
-
keepAliveInitialDelay?: number | undefined;
|
|
60
|
-
}
|
|
61
|
-
interface IpcSocketConnectOpts extends ConnectOpts {
|
|
62
|
-
path: string;
|
|
63
|
-
}
|
|
64
|
-
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
|
65
|
-
type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
|
|
66
|
-
/**
|
|
67
|
-
* This class is an abstraction of a TCP socket or a streaming `IPC` endpoint
|
|
68
|
-
* (uses named pipes on Windows, and Unix domain sockets otherwise). It is also
|
|
69
|
-
* an `EventEmitter`.
|
|
70
|
-
*
|
|
71
|
-
* A `net.Socket` can be created by the user and used directly to interact with
|
|
72
|
-
* a server. For example, it is returned by {@link createConnection},
|
|
73
|
-
* so the user can use it to talk to the server.
|
|
74
|
-
*
|
|
75
|
-
* It can also be created by Node.js and passed to the user when a connection
|
|
76
|
-
* is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use
|
|
77
|
-
* it to interact with the client.
|
|
78
|
-
* @since v0.3.4
|
|
79
|
-
*/
|
|
80
|
-
class Socket extends stream.Duplex {
|
|
81
|
-
constructor(options?: SocketConstructorOpts);
|
|
82
|
-
/**
|
|
83
|
-
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
84
|
-
* case of a string. It defaults to UTF8 encoding.
|
|
85
|
-
*
|
|
86
|
-
* Returns `true` if the entire data was flushed successfully to the kernel
|
|
87
|
-
* buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free.
|
|
88
|
-
*
|
|
89
|
-
* The optional `callback` parameter will be executed when the data is finally
|
|
90
|
-
* written out, which may not be immediately.
|
|
91
|
-
*
|
|
92
|
-
* See `Writable` stream `write()` method for more
|
|
93
|
-
* information.
|
|
94
|
-
* @since v0.1.90
|
|
95
|
-
* @param [encoding='utf8'] Only used when data is `string`.
|
|
96
|
-
*/
|
|
97
|
-
write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean;
|
|
98
|
-
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Initiate a connection on a given socket.
|
|
101
|
-
*
|
|
102
|
-
* Possible signatures:
|
|
103
|
-
*
|
|
104
|
-
* * `socket.connect(options[, connectListener])`
|
|
105
|
-
* * `socket.connect(path[, connectListener])` for `IPC` connections.
|
|
106
|
-
* * `socket.connect(port[, host][, connectListener])` for TCP connections.
|
|
107
|
-
* * Returns: `net.Socket` The socket itself.
|
|
108
|
-
*
|
|
109
|
-
* This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting,
|
|
110
|
-
* instead of a `'connect'` event, an `'error'` event will be emitted with
|
|
111
|
-
* the error passed to the `'error'` listener.
|
|
112
|
-
* The last parameter `connectListener`, if supplied, will be added as a listener
|
|
113
|
-
* for the `'connect'` event **once**.
|
|
114
|
-
*
|
|
115
|
-
* This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined
|
|
116
|
-
* behavior.
|
|
117
|
-
*/
|
|
118
|
-
connect(options: SocketConnectOpts, connectionListener?: () => void): this;
|
|
119
|
-
connect(port: number, host: string, connectionListener?: () => void): this;
|
|
120
|
-
connect(port: number, connectionListener?: () => void): this;
|
|
121
|
-
connect(path: string, connectionListener?: () => void): this;
|
|
122
|
-
/**
|
|
123
|
-
* Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information.
|
|
124
|
-
* @since v0.1.90
|
|
125
|
-
* @return The socket itself.
|
|
126
|
-
*/
|
|
127
|
-
setEncoding(encoding?: BufferEncoding): this;
|
|
128
|
-
/**
|
|
129
|
-
* Pauses the reading of data. That is, `'data'` events will not be emitted.
|
|
130
|
-
* Useful to throttle back an upload.
|
|
131
|
-
* @return The socket itself.
|
|
132
|
-
*/
|
|
133
|
-
pause(): this;
|
|
134
|
-
/**
|
|
135
|
-
* Resumes reading after a call to `socket.pause()`.
|
|
136
|
-
* @return The socket itself.
|
|
137
|
-
*/
|
|
138
|
-
resume(): this;
|
|
139
|
-
/**
|
|
140
|
-
* Sets the socket to timeout after `timeout` milliseconds of inactivity on
|
|
141
|
-
* the socket. By default `net.Socket` do not have a timeout.
|
|
142
|
-
*
|
|
143
|
-
* When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to
|
|
144
|
-
* end the connection.
|
|
145
|
-
*
|
|
146
|
-
* ```js
|
|
147
|
-
* socket.setTimeout(3000);
|
|
148
|
-
* socket.on('timeout', () => {
|
|
149
|
-
* console.log('socket timeout');
|
|
150
|
-
* socket.end();
|
|
151
|
-
* });
|
|
152
|
-
* ```
|
|
153
|
-
*
|
|
154
|
-
* If `timeout` is 0, then the existing idle timeout is disabled.
|
|
155
|
-
*
|
|
156
|
-
* The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event.
|
|
157
|
-
* @since v0.1.90
|
|
158
|
-
* @return The socket itself.
|
|
159
|
-
*/
|
|
160
|
-
setTimeout(timeout: number, callback?: () => void): this;
|
|
161
|
-
/**
|
|
162
|
-
* Enable/disable the use of Nagle's algorithm.
|
|
163
|
-
*
|
|
164
|
-
* When a TCP connection is created, it will have Nagle's algorithm enabled.
|
|
165
|
-
*
|
|
166
|
-
* Nagle's algorithm delays data before it is sent via the network. It attempts
|
|
167
|
-
* to optimize throughput at the expense of latency.
|
|
168
|
-
*
|
|
169
|
-
* Passing `true` for `noDelay` or not passing an argument will disable Nagle's
|
|
170
|
-
* algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's
|
|
171
|
-
* algorithm.
|
|
172
|
-
* @since v0.1.90
|
|
173
|
-
* @param [noDelay=true]
|
|
174
|
-
* @return The socket itself.
|
|
175
|
-
*/
|
|
176
|
-
setNoDelay(noDelay?: boolean): this;
|
|
177
|
-
/**
|
|
178
|
-
* Enable/disable keep-alive functionality, and optionally set the initial
|
|
179
|
-
* delay before the first keepalive probe is sent on an idle socket.
|
|
180
|
-
*
|
|
181
|
-
* Set `initialDelay` (in milliseconds) to set the delay between the last
|
|
182
|
-
* data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default
|
|
183
|
-
* (or previous) setting.
|
|
184
|
-
*
|
|
185
|
-
* Enabling the keep-alive functionality will set the following socket options:
|
|
186
|
-
*
|
|
187
|
-
* * `SO_KEEPALIVE=1`
|
|
188
|
-
* * `TCP_KEEPIDLE=initialDelay`
|
|
189
|
-
* * `TCP_KEEPCNT=10`
|
|
190
|
-
* * `TCP_KEEPINTVL=1`
|
|
191
|
-
* @since v0.1.92
|
|
192
|
-
* @param [enable=false]
|
|
193
|
-
* @param [initialDelay=0]
|
|
194
|
-
* @return The socket itself.
|
|
195
|
-
*/
|
|
196
|
-
setKeepAlive(enable?: boolean, initialDelay?: number): this;
|
|
197
|
-
/**
|
|
198
|
-
* Returns the bound `address`, the address `family` name and `port` of the
|
|
199
|
-
* socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`
|
|
200
|
-
* @since v0.1.90
|
|
201
|
-
*/
|
|
202
|
-
address(): AddressInfo | {};
|
|
203
|
-
/**
|
|
204
|
-
* Calling `unref()` on a socket will allow the program to exit if this is the only
|
|
205
|
-
* active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect.
|
|
206
|
-
* @since v0.9.1
|
|
207
|
-
* @return The socket itself.
|
|
208
|
-
*/
|
|
209
|
-
unref(): this;
|
|
210
|
-
/**
|
|
211
|
-
* Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will_not_ let the program exit if it's the only socket left (the default behavior).
|
|
212
|
-
* If the socket is `ref`ed calling `ref` again will have no effect.
|
|
213
|
-
* @since v0.9.1
|
|
214
|
-
* @return The socket itself.
|
|
215
|
-
*/
|
|
216
|
-
ref(): this;
|
|
217
|
-
/**
|
|
218
|
-
* This property shows the number of characters buffered for writing. The buffer
|
|
219
|
-
* may contain strings whose length after encoding is not yet known. So this number
|
|
220
|
-
* is only an approximation of the number of bytes in the buffer.
|
|
221
|
-
*
|
|
222
|
-
* `net.Socket` has the property that `socket.write()` always works. This is to
|
|
223
|
-
* help users get up and running quickly. The computer cannot always keep up
|
|
224
|
-
* with the amount of data that is written to a socket. The network connection
|
|
225
|
-
* simply might be too slow. Node.js will internally queue up the data written to a
|
|
226
|
-
* socket and send it out over the wire when it is possible.
|
|
227
|
-
*
|
|
228
|
-
* The consequence of this internal buffering is that memory may grow.
|
|
229
|
-
* Users who experience large or growing `bufferSize` should attempt to
|
|
230
|
-
* "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`.
|
|
231
|
-
* @since v0.3.8
|
|
232
|
-
* @deprecated Since v14.6.0 - Use `writableLength` instead.
|
|
233
|
-
*/
|
|
234
|
-
readonly bufferSize: number;
|
|
235
|
-
/**
|
|
236
|
-
* The amount of received bytes.
|
|
237
|
-
* @since v0.5.3
|
|
238
|
-
*/
|
|
239
|
-
readonly bytesRead: number;
|
|
240
|
-
/**
|
|
241
|
-
* The amount of bytes sent.
|
|
242
|
-
* @since v0.5.3
|
|
243
|
-
*/
|
|
244
|
-
readonly bytesWritten: number;
|
|
245
|
-
/**
|
|
246
|
-
* If `true`,`socket.connect(options[, connectListener])` was
|
|
247
|
-
* called and has not yet finished. It will stay `true` until the socket becomes
|
|
248
|
-
* connected, then it is set to `false` and the `'connect'` event is emitted. Note
|
|
249
|
-
* that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event.
|
|
250
|
-
* @since v6.1.0
|
|
251
|
-
*/
|
|
252
|
-
readonly connecting: boolean;
|
|
253
|
-
/**
|
|
254
|
-
* See `writable.destroyed` for further details.
|
|
255
|
-
*/
|
|
256
|
-
readonly destroyed: boolean;
|
|
257
|
-
/**
|
|
258
|
-
* The string representation of the local IP address the remote client is
|
|
259
|
-
* connecting on. For example, in a server listening on `'0.0.0.0'`, if a client
|
|
260
|
-
* connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
|
|
261
|
-
* @since v0.9.6
|
|
262
|
-
*/
|
|
263
|
-
readonly localAddress?: string;
|
|
264
|
-
/**
|
|
265
|
-
* The numeric representation of the local port. For example, `80` or `21`.
|
|
266
|
-
* @since v0.9.6
|
|
267
|
-
*/
|
|
268
|
-
readonly localPort?: number;
|
|
269
|
-
/**
|
|
270
|
-
* The string representation of the local IP family. `'IPv4'` or `'IPv6'`.
|
|
271
|
-
* @since v18.8.0, v16.18.0
|
|
272
|
-
*/
|
|
273
|
-
readonly localFamily?: string;
|
|
274
|
-
/**
|
|
275
|
-
* This is `true` if the socket is not connected yet, either because `.connect()`
|
|
276
|
-
* has not yet been called or because it is still in the process of connecting (see `socket.connecting`).
|
|
277
|
-
* @since v10.16.0
|
|
278
|
-
*/
|
|
279
|
-
readonly pending: boolean;
|
|
280
|
-
/**
|
|
281
|
-
* This property represents the state of the connection as a string.
|
|
282
|
-
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
|
283
|
-
* @since v0.5.0
|
|
284
|
-
*/
|
|
285
|
-
readonly readyState: SocketReadyState;
|
|
286
|
-
/**
|
|
287
|
-
* The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
|
|
288
|
-
* the socket is destroyed (for example, if the client disconnected).
|
|
289
|
-
* @since v0.5.10
|
|
290
|
-
*/
|
|
291
|
-
readonly remoteAddress?: string | undefined;
|
|
292
|
-
/**
|
|
293
|
-
* The string representation of the remote IP family. `'IPv4'` or `'IPv6'`.
|
|
294
|
-
* @since v0.11.14
|
|
295
|
-
*/
|
|
296
|
-
readonly remoteFamily?: string | undefined;
|
|
297
|
-
/**
|
|
298
|
-
* The numeric representation of the remote port. For example, `80` or `21`.
|
|
299
|
-
* @since v0.5.10
|
|
300
|
-
*/
|
|
301
|
-
readonly remotePort?: number | undefined;
|
|
302
|
-
/**
|
|
303
|
-
* The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
|
|
304
|
-
* @since v10.7.0
|
|
305
|
-
*/
|
|
306
|
-
readonly timeout?: number | undefined;
|
|
307
|
-
/**
|
|
308
|
-
* Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
|
309
|
-
* server will still send some data.
|
|
310
|
-
*
|
|
311
|
-
* See `writable.end()` for further details.
|
|
312
|
-
* @since v0.1.90
|
|
313
|
-
* @param [encoding='utf8'] Only used when data is `string`.
|
|
314
|
-
* @param callback Optional callback for when the socket is finished.
|
|
315
|
-
* @return The socket itself.
|
|
316
|
-
*/
|
|
317
|
-
end(callback?: () => void): this;
|
|
318
|
-
end(buffer: Uint8Array | string, callback?: () => void): this;
|
|
319
|
-
end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
|
|
320
|
-
/**
|
|
321
|
-
* events.EventEmitter
|
|
322
|
-
* 1. close
|
|
323
|
-
* 2. connect
|
|
324
|
-
* 3. data
|
|
325
|
-
* 4. drain
|
|
326
|
-
* 5. end
|
|
327
|
-
* 6. error
|
|
328
|
-
* 7. lookup
|
|
329
|
-
* 8. timeout
|
|
330
|
-
*/
|
|
331
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
332
|
-
addListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
333
|
-
addListener(event: 'connect', listener: () => void): this;
|
|
334
|
-
addListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
335
|
-
addListener(event: 'drain', listener: () => void): this;
|
|
336
|
-
addListener(event: 'end', listener: () => void): this;
|
|
337
|
-
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
338
|
-
addListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
339
|
-
addListener(event: 'ready', listener: () => void): this;
|
|
340
|
-
addListener(event: 'timeout', listener: () => void): this;
|
|
341
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
342
|
-
emit(event: 'close', hadError: boolean): boolean;
|
|
343
|
-
emit(event: 'connect'): boolean;
|
|
344
|
-
emit(event: 'data', data: Buffer): boolean;
|
|
345
|
-
emit(event: 'drain'): boolean;
|
|
346
|
-
emit(event: 'end'): boolean;
|
|
347
|
-
emit(event: 'error', err: Error): boolean;
|
|
348
|
-
emit(event: 'lookup', err: Error, address: string, family: string | number, host: string): boolean;
|
|
349
|
-
emit(event: 'ready'): boolean;
|
|
350
|
-
emit(event: 'timeout'): boolean;
|
|
351
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
352
|
-
on(event: 'close', listener: (hadError: boolean) => void): this;
|
|
353
|
-
on(event: 'connect', listener: () => void): this;
|
|
354
|
-
on(event: 'data', listener: (data: Buffer) => void): this;
|
|
355
|
-
on(event: 'drain', listener: () => void): this;
|
|
356
|
-
on(event: 'end', listener: () => void): this;
|
|
357
|
-
on(event: 'error', listener: (err: Error) => void): this;
|
|
358
|
-
on(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
359
|
-
on(event: 'ready', listener: () => void): this;
|
|
360
|
-
on(event: 'timeout', listener: () => void): this;
|
|
361
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
362
|
-
once(event: 'close', listener: (hadError: boolean) => void): this;
|
|
363
|
-
once(event: 'connect', listener: () => void): this;
|
|
364
|
-
once(event: 'data', listener: (data: Buffer) => void): this;
|
|
365
|
-
once(event: 'drain', listener: () => void): this;
|
|
366
|
-
once(event: 'end', listener: () => void): this;
|
|
367
|
-
once(event: 'error', listener: (err: Error) => void): this;
|
|
368
|
-
once(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
369
|
-
once(event: 'ready', listener: () => void): this;
|
|
370
|
-
once(event: 'timeout', listener: () => void): this;
|
|
371
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
372
|
-
prependListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
373
|
-
prependListener(event: 'connect', listener: () => void): this;
|
|
374
|
-
prependListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
375
|
-
prependListener(event: 'drain', listener: () => void): this;
|
|
376
|
-
prependListener(event: 'end', listener: () => void): this;
|
|
377
|
-
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
378
|
-
prependListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
379
|
-
prependListener(event: 'ready', listener: () => void): this;
|
|
380
|
-
prependListener(event: 'timeout', listener: () => void): this;
|
|
381
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
382
|
-
prependOnceListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
383
|
-
prependOnceListener(event: 'connect', listener: () => void): this;
|
|
384
|
-
prependOnceListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
385
|
-
prependOnceListener(event: 'drain', listener: () => void): this;
|
|
386
|
-
prependOnceListener(event: 'end', listener: () => void): this;
|
|
387
|
-
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
388
|
-
prependOnceListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
389
|
-
prependOnceListener(event: 'ready', listener: () => void): this;
|
|
390
|
-
prependOnceListener(event: 'timeout', listener: () => void): this;
|
|
391
|
-
}
|
|
392
|
-
interface ListenOptions extends Abortable {
|
|
393
|
-
port?: number | undefined;
|
|
394
|
-
host?: string | undefined;
|
|
395
|
-
backlog?: number | undefined;
|
|
396
|
-
path?: string | undefined;
|
|
397
|
-
exclusive?: boolean | undefined;
|
|
398
|
-
readableAll?: boolean | undefined;
|
|
399
|
-
writableAll?: boolean | undefined;
|
|
400
|
-
/**
|
|
401
|
-
* @default false
|
|
402
|
-
*/
|
|
403
|
-
ipv6Only?: boolean | undefined;
|
|
404
|
-
}
|
|
405
|
-
interface ServerOpts {
|
|
406
|
-
/**
|
|
407
|
-
* Indicates whether half-opened TCP connections are allowed.
|
|
408
|
-
* @default false
|
|
409
|
-
*/
|
|
410
|
-
allowHalfOpen?: boolean | undefined;
|
|
411
|
-
/**
|
|
412
|
-
* Indicates whether the socket should be paused on incoming connections.
|
|
413
|
-
* @default false
|
|
414
|
-
*/
|
|
415
|
-
pauseOnConnect?: boolean | undefined;
|
|
416
|
-
/**
|
|
417
|
-
* If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received.
|
|
418
|
-
* @default false
|
|
419
|
-
* @since v16.5.0
|
|
420
|
-
*/
|
|
421
|
-
noDelay?: boolean | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
|
|
424
|
-
* similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
|
|
425
|
-
* @default false
|
|
426
|
-
* @since v16.5.0
|
|
427
|
-
*/
|
|
428
|
-
keepAlive?: boolean | undefined;
|
|
429
|
-
/**
|
|
430
|
-
* If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket.
|
|
431
|
-
* @default 0
|
|
432
|
-
* @since v16.5.0
|
|
433
|
-
*/
|
|
434
|
-
keepAliveInitialDelay?: number | undefined;
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
* This class is used to create a TCP or `IPC` server.
|
|
438
|
-
* @since v0.1.90
|
|
439
|
-
*/
|
|
440
|
-
class Server extends EventEmitter {
|
|
441
|
-
constructor(connectionListener?: (socket: Socket) => void);
|
|
442
|
-
constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void);
|
|
443
|
-
/**
|
|
444
|
-
* Start a server listening for connections. A `net.Server` can be a TCP or
|
|
445
|
-
* an `IPC` server depending on what it listens to.
|
|
446
|
-
*
|
|
447
|
-
* Possible signatures:
|
|
448
|
-
*
|
|
449
|
-
* * `server.listen(handle[, backlog][, callback])`
|
|
450
|
-
* * `server.listen(options[, callback])`
|
|
451
|
-
* * `server.listen(path[, backlog][, callback])` for `IPC` servers
|
|
452
|
-
* * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers
|
|
453
|
-
*
|
|
454
|
-
* This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'`
|
|
455
|
-
* event.
|
|
456
|
-
*
|
|
457
|
-
* All `listen()` methods can take a `backlog` parameter to specify the maximum
|
|
458
|
-
* length of the queue of pending connections. The actual length will be determined
|
|
459
|
-
* by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512).
|
|
460
|
-
*
|
|
461
|
-
* All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for
|
|
462
|
-
* details).
|
|
463
|
-
*
|
|
464
|
-
* The `server.listen()` method can be called again if and only if there was an
|
|
465
|
-
* error during the first `server.listen()` call or `server.close()` has been
|
|
466
|
-
* called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown.
|
|
467
|
-
*
|
|
468
|
-
* One of the most common errors raised when listening is `EADDRINUSE`.
|
|
469
|
-
* This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry
|
|
470
|
-
* after a certain amount of time:
|
|
471
|
-
*
|
|
472
|
-
* ```js
|
|
473
|
-
* server.on('error', (e) => {
|
|
474
|
-
* if (e.code === 'EADDRINUSE') {
|
|
475
|
-
* console.log('Address in use, retrying...');
|
|
476
|
-
* setTimeout(() => {
|
|
477
|
-
* server.close();
|
|
478
|
-
* server.listen(PORT, HOST);
|
|
479
|
-
* }, 1000);
|
|
480
|
-
* }
|
|
481
|
-
* });
|
|
482
|
-
* ```
|
|
483
|
-
*/
|
|
484
|
-
listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;
|
|
485
|
-
listen(port?: number, hostname?: string, listeningListener?: () => void): this;
|
|
486
|
-
listen(port?: number, backlog?: number, listeningListener?: () => void): this;
|
|
487
|
-
listen(port?: number, listeningListener?: () => void): this;
|
|
488
|
-
listen(path: string, backlog?: number, listeningListener?: () => void): this;
|
|
489
|
-
listen(path: string, listeningListener?: () => void): this;
|
|
490
|
-
listen(options: ListenOptions, listeningListener?: () => void): this;
|
|
491
|
-
listen(handle: any, backlog?: number, listeningListener?: () => void): this;
|
|
492
|
-
listen(handle: any, listeningListener?: () => void): this;
|
|
493
|
-
/**
|
|
494
|
-
* Stops the server from accepting new connections and keeps existing
|
|
495
|
-
* connections. This function is asynchronous, the server is finally closed
|
|
496
|
-
* when all connections are ended and the server emits a `'close'` event.
|
|
497
|
-
* The optional `callback` will be called once the `'close'` event occurs. Unlike
|
|
498
|
-
* that event, it will be called with an `Error` as its only argument if the server
|
|
499
|
-
* was not open when it was closed.
|
|
500
|
-
* @since v0.1.90
|
|
501
|
-
* @param callback Called when the server is closed.
|
|
502
|
-
*/
|
|
503
|
-
close(callback?: (err?: Error) => void): this;
|
|
504
|
-
/**
|
|
505
|
-
* Returns the bound `address`, the address `family` name, and `port` of the server
|
|
506
|
-
* as reported by the operating system if listening on an IP socket
|
|
507
|
-
* (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`.
|
|
508
|
-
*
|
|
509
|
-
* For a server listening on a pipe or Unix domain socket, the name is returned
|
|
510
|
-
* as a string.
|
|
511
|
-
*
|
|
512
|
-
* ```js
|
|
513
|
-
* const server = net.createServer((socket) => {
|
|
514
|
-
* socket.end('goodbye\n');
|
|
515
|
-
* }).on('error', (err) => {
|
|
516
|
-
* // Handle errors here.
|
|
517
|
-
* throw err;
|
|
518
|
-
* });
|
|
519
|
-
*
|
|
520
|
-
* // Grab an arbitrary unused port.
|
|
521
|
-
* server.listen(() => {
|
|
522
|
-
* console.log('opened server on', server.address());
|
|
523
|
-
* });
|
|
524
|
-
* ```
|
|
525
|
-
*
|
|
526
|
-
* `server.address()` returns `null` before the `'listening'` event has been
|
|
527
|
-
* emitted or after calling `server.close()`.
|
|
528
|
-
* @since v0.1.90
|
|
529
|
-
*/
|
|
530
|
-
address(): AddressInfo | string | null;
|
|
531
|
-
/**
|
|
532
|
-
* Asynchronously get the number of concurrent connections on the server. Works
|
|
533
|
-
* when sockets were sent to forks.
|
|
534
|
-
*
|
|
535
|
-
* Callback should take two arguments `err` and `count`.
|
|
536
|
-
* @since v0.9.7
|
|
537
|
-
*/
|
|
538
|
-
getConnections(cb: (error: Error | null, count: number) => void): void;
|
|
539
|
-
/**
|
|
540
|
-
* Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will_not_ let the program exit if it's the only server left (the default behavior).
|
|
541
|
-
* If the server is `ref`ed calling `ref()` again will have no effect.
|
|
542
|
-
* @since v0.9.1
|
|
543
|
-
*/
|
|
544
|
-
ref(): this;
|
|
545
|
-
/**
|
|
546
|
-
* Calling `unref()` on a server will allow the program to exit if this is the only
|
|
547
|
-
* active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect.
|
|
548
|
-
* @since v0.9.1
|
|
549
|
-
*/
|
|
550
|
-
unref(): this;
|
|
551
|
-
/**
|
|
552
|
-
* Set this property to reject connections when the server's connection count gets
|
|
553
|
-
* high.
|
|
554
|
-
*
|
|
555
|
-
* It is not recommended to use this option once a socket has been sent to a child
|
|
556
|
-
* with `child_process.fork()`.
|
|
557
|
-
* @since v0.2.0
|
|
558
|
-
*/
|
|
559
|
-
maxConnections: number;
|
|
560
|
-
connections: number;
|
|
561
|
-
/**
|
|
562
|
-
* Indicates whether or not the server is listening for connections.
|
|
563
|
-
* @since v5.7.0
|
|
564
|
-
*/
|
|
565
|
-
listening: boolean;
|
|
566
|
-
/**
|
|
567
|
-
* events.EventEmitter
|
|
568
|
-
* 1. close
|
|
569
|
-
* 2. connection
|
|
570
|
-
* 3. error
|
|
571
|
-
* 4. listening
|
|
572
|
-
*/
|
|
573
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
574
|
-
addListener(event: 'close', listener: () => void): this;
|
|
575
|
-
addListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
576
|
-
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
577
|
-
addListener(event: 'listening', listener: () => void): this;
|
|
578
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
579
|
-
emit(event: 'close'): boolean;
|
|
580
|
-
emit(event: 'connection', socket: Socket): boolean;
|
|
581
|
-
emit(event: 'error', err: Error): boolean;
|
|
582
|
-
emit(event: 'listening'): boolean;
|
|
583
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
584
|
-
on(event: 'close', listener: () => void): this;
|
|
585
|
-
on(event: 'connection', listener: (socket: Socket) => void): this;
|
|
586
|
-
on(event: 'error', listener: (err: Error) => void): this;
|
|
587
|
-
on(event: 'listening', listener: () => void): this;
|
|
588
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
589
|
-
once(event: 'close', listener: () => void): this;
|
|
590
|
-
once(event: 'connection', listener: (socket: Socket) => void): this;
|
|
591
|
-
once(event: 'error', listener: (err: Error) => void): this;
|
|
592
|
-
once(event: 'listening', listener: () => void): this;
|
|
593
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
594
|
-
prependListener(event: 'close', listener: () => void): this;
|
|
595
|
-
prependListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
596
|
-
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
597
|
-
prependListener(event: 'listening', listener: () => void): this;
|
|
598
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
599
|
-
prependOnceListener(event: 'close', listener: () => void): this;
|
|
600
|
-
prependOnceListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
601
|
-
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
602
|
-
prependOnceListener(event: 'listening', listener: () => void): this;
|
|
603
|
-
}
|
|
604
|
-
type IPVersion = 'ipv4' | 'ipv6';
|
|
605
|
-
/**
|
|
606
|
-
* The `BlockList` object can be used with some network APIs to specify rules for
|
|
607
|
-
* disabling inbound or outbound access to specific IP addresses, IP ranges, or
|
|
608
|
-
* IP subnets.
|
|
609
|
-
* @since v15.0.0
|
|
610
|
-
*/
|
|
611
|
-
class BlockList {
|
|
612
|
-
/**
|
|
613
|
-
* Adds a rule to block the given IP address.
|
|
614
|
-
* @since v15.0.0
|
|
615
|
-
* @param address An IPv4 or IPv6 address.
|
|
616
|
-
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
617
|
-
*/
|
|
618
|
-
addAddress(address: string, type?: IPVersion): void;
|
|
619
|
-
addAddress(address: SocketAddress): void;
|
|
620
|
-
/**
|
|
621
|
-
* Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive).
|
|
622
|
-
* @since v15.0.0
|
|
623
|
-
* @param start The starting IPv4 or IPv6 address in the range.
|
|
624
|
-
* @param end The ending IPv4 or IPv6 address in the range.
|
|
625
|
-
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
626
|
-
*/
|
|
627
|
-
addRange(start: string, end: string, type?: IPVersion): void;
|
|
628
|
-
addRange(start: SocketAddress, end: SocketAddress): void;
|
|
629
|
-
/**
|
|
630
|
-
* Adds a rule to block a range of IP addresses specified as a subnet mask.
|
|
631
|
-
* @since v15.0.0
|
|
632
|
-
* @param net The network IPv4 or IPv6 address.
|
|
633
|
-
* @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`.
|
|
634
|
-
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
635
|
-
*/
|
|
636
|
-
addSubnet(net: SocketAddress, prefix: number): void;
|
|
637
|
-
addSubnet(net: string, prefix: number, type?: IPVersion): void;
|
|
638
|
-
/**
|
|
639
|
-
* Returns `true` if the given IP address matches any of the rules added to the`BlockList`.
|
|
640
|
-
*
|
|
641
|
-
* ```js
|
|
642
|
-
* const blockList = new net.BlockList();
|
|
643
|
-
* blockList.addAddress('123.123.123.123');
|
|
644
|
-
* blockList.addRange('10.0.0.1', '10.0.0.10');
|
|
645
|
-
* blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6');
|
|
646
|
-
*
|
|
647
|
-
* console.log(blockList.check('123.123.123.123')); // Prints: true
|
|
648
|
-
* console.log(blockList.check('10.0.0.3')); // Prints: true
|
|
649
|
-
* console.log(blockList.check('222.111.111.222')); // Prints: false
|
|
650
|
-
*
|
|
651
|
-
* // IPv6 notation for IPv4 addresses works:
|
|
652
|
-
* console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true
|
|
653
|
-
* console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true
|
|
654
|
-
* ```
|
|
655
|
-
* @since v15.0.0
|
|
656
|
-
* @param address The IP address to check
|
|
657
|
-
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
658
|
-
*/
|
|
659
|
-
check(address: SocketAddress): boolean;
|
|
660
|
-
check(address: string, type?: IPVersion): boolean;
|
|
661
|
-
}
|
|
662
|
-
interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
|
|
663
|
-
timeout?: number | undefined;
|
|
664
|
-
}
|
|
665
|
-
interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts {
|
|
666
|
-
timeout?: number | undefined;
|
|
667
|
-
}
|
|
668
|
-
type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts;
|
|
669
|
-
/**
|
|
670
|
-
* Creates a new TCP or `IPC` server.
|
|
671
|
-
*
|
|
672
|
-
* If `allowHalfOpen` is set to `true`, when the other end of the socket
|
|
673
|
-
* signals the end of transmission, the server will only send back the end of
|
|
674
|
-
* transmission when `socket.end()` is explicitly called. For example, in the
|
|
675
|
-
* context of TCP, when a FIN packed is received, a FIN packed is sent
|
|
676
|
-
* back only when `socket.end()` is explicitly called. Until then the
|
|
677
|
-
* connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information.
|
|
678
|
-
*
|
|
679
|
-
* If `pauseOnConnect` is set to `true`, then the socket associated with each
|
|
680
|
-
* incoming connection will be paused, and no data will be read from its handle.
|
|
681
|
-
* This allows connections to be passed between processes without any data being
|
|
682
|
-
* read by the original process. To begin reading data from a paused socket, call `socket.resume()`.
|
|
683
|
-
*
|
|
684
|
-
* The server can be a TCP server or an `IPC` server, depending on what it `listen()` to.
|
|
685
|
-
*
|
|
686
|
-
* Here is an example of an TCP echo server which listens for connections
|
|
687
|
-
* on port 8124:
|
|
688
|
-
*
|
|
689
|
-
* ```js
|
|
690
|
-
* const net = require('net');
|
|
691
|
-
* const server = net.createServer((c) => {
|
|
692
|
-
* // 'connection' listener.
|
|
693
|
-
* console.log('client connected');
|
|
694
|
-
* c.on('end', () => {
|
|
695
|
-
* console.log('client disconnected');
|
|
696
|
-
* });
|
|
697
|
-
* c.write('hello\r\n');
|
|
698
|
-
* c.pipe(c);
|
|
699
|
-
* });
|
|
700
|
-
* server.on('error', (err) => {
|
|
701
|
-
* throw err;
|
|
702
|
-
* });
|
|
703
|
-
* server.listen(8124, () => {
|
|
704
|
-
* console.log('server bound');
|
|
705
|
-
* });
|
|
706
|
-
* ```
|
|
707
|
-
*
|
|
708
|
-
* Test this by using `telnet`:
|
|
709
|
-
*
|
|
710
|
-
* ```console
|
|
711
|
-
* $ telnet localhost 8124
|
|
712
|
-
* ```
|
|
713
|
-
*
|
|
714
|
-
* To listen on the socket `/tmp/echo.sock`:
|
|
715
|
-
*
|
|
716
|
-
* ```js
|
|
717
|
-
* server.listen('/tmp/echo.sock', () => {
|
|
718
|
-
* console.log('server bound');
|
|
719
|
-
* });
|
|
720
|
-
* ```
|
|
721
|
-
*
|
|
722
|
-
* Use `nc` to connect to a Unix domain socket server:
|
|
723
|
-
*
|
|
724
|
-
* ```console
|
|
725
|
-
* $ nc -U /tmp/echo.sock
|
|
726
|
-
* ```
|
|
727
|
-
* @since v0.5.0
|
|
728
|
-
* @param connectionListener Automatically set as a listener for the {@link 'connection'} event.
|
|
729
|
-
*/
|
|
730
|
-
function createServer(connectionListener?: (socket: Socket) => void): Server;
|
|
731
|
-
function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server;
|
|
732
|
-
/**
|
|
733
|
-
* Aliases to {@link createConnection}.
|
|
734
|
-
*
|
|
735
|
-
* Possible signatures:
|
|
736
|
-
*
|
|
737
|
-
* * {@link connect}
|
|
738
|
-
* * {@link connect} for `IPC` connections.
|
|
739
|
-
* * {@link connect} for TCP connections.
|
|
740
|
-
*/
|
|
741
|
-
function connect(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
742
|
-
function connect(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
743
|
-
function connect(path: string, connectionListener?: () => void): Socket;
|
|
744
|
-
/**
|
|
745
|
-
* A factory function, which creates a new {@link Socket},
|
|
746
|
-
* immediately initiates connection with `socket.connect()`,
|
|
747
|
-
* then returns the `net.Socket` that starts the connection.
|
|
748
|
-
*
|
|
749
|
-
* When the connection is established, a `'connect'` event will be emitted
|
|
750
|
-
* on the returned socket. The last parameter `connectListener`, if supplied,
|
|
751
|
-
* will be added as a listener for the `'connect'` event **once**.
|
|
752
|
-
*
|
|
753
|
-
* Possible signatures:
|
|
754
|
-
*
|
|
755
|
-
* * {@link createConnection}
|
|
756
|
-
* * {@link createConnection} for `IPC` connections.
|
|
757
|
-
* * {@link createConnection} for TCP connections.
|
|
758
|
-
*
|
|
759
|
-
* The {@link connect} function is an alias to this function.
|
|
760
|
-
*/
|
|
761
|
-
function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
762
|
-
function createConnection(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
763
|
-
function createConnection(path: string, connectionListener?: () => void): Socket;
|
|
764
|
-
/**
|
|
765
|
-
* Tests if input is an IP address. Returns `0` for invalid strings,
|
|
766
|
-
* returns `4` for IP version 4 addresses, and returns `6` for IP version 6
|
|
767
|
-
* addresses.
|
|
768
|
-
* @since v0.3.0
|
|
769
|
-
*/
|
|
770
|
-
function isIP(input: string): number;
|
|
771
|
-
/**
|
|
772
|
-
* Returns `true` if input is a version 4 IP address, otherwise returns `false`.
|
|
773
|
-
* @since v0.3.0
|
|
774
|
-
*/
|
|
775
|
-
function isIPv4(input: string): boolean;
|
|
776
|
-
/**
|
|
777
|
-
* Returns `true` if input is a version 6 IP address, otherwise returns `false`.
|
|
778
|
-
* @since v0.3.0
|
|
779
|
-
*/
|
|
780
|
-
function isIPv6(input: string): boolean;
|
|
781
|
-
interface SocketAddressInitOptions {
|
|
782
|
-
/**
|
|
783
|
-
* The network address as either an IPv4 or IPv6 string.
|
|
784
|
-
* @default 127.0.0.1
|
|
785
|
-
*/
|
|
786
|
-
address?: string | undefined;
|
|
787
|
-
/**
|
|
788
|
-
* @default `'ipv4'`
|
|
789
|
-
*/
|
|
790
|
-
family?: IPVersion | undefined;
|
|
791
|
-
/**
|
|
792
|
-
* An IPv6 flow-label used only if `family` is `'ipv6'`.
|
|
793
|
-
* @default 0
|
|
794
|
-
*/
|
|
795
|
-
flowlabel?: number | undefined;
|
|
796
|
-
/**
|
|
797
|
-
* An IP port.
|
|
798
|
-
* @default 0
|
|
799
|
-
*/
|
|
800
|
-
port?: number | undefined;
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* @since v15.14.0
|
|
804
|
-
*/
|
|
805
|
-
class SocketAddress {
|
|
806
|
-
constructor(options: SocketAddressInitOptions);
|
|
807
|
-
/**
|
|
808
|
-
* @since v15.14.0
|
|
809
|
-
*/
|
|
810
|
-
readonly address: string;
|
|
811
|
-
/**
|
|
812
|
-
* Either \`'ipv4'\` or \`'ipv6'\`.
|
|
813
|
-
* @since v15.14.0
|
|
814
|
-
*/
|
|
815
|
-
readonly family: IPVersion;
|
|
816
|
-
/**
|
|
817
|
-
* @since v15.14.0
|
|
818
|
-
*/
|
|
819
|
-
readonly port: number;
|
|
820
|
-
/**
|
|
821
|
-
* @since v15.14.0
|
|
822
|
-
*/
|
|
823
|
-
readonly flowlabel: number;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
declare module 'node:net' {
|
|
827
|
-
export * from 'net';
|
|
828
|
-
}
|