@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,855 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `url` module provides utilities for URL resolution and parsing. It can be
|
|
3
|
-
* accessed using:
|
|
4
|
-
*
|
|
5
|
-
* ```js
|
|
6
|
-
* import url from 'url';
|
|
7
|
-
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/url.js)
|
|
9
|
-
*/
|
|
10
|
-
declare module 'url' {
|
|
11
|
-
import { Blob } from 'node:buffer';
|
|
12
|
-
import { ClientRequestArgs } from 'node:http';
|
|
13
|
-
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
14
|
-
// Input to `url.format`
|
|
15
|
-
interface UrlObject {
|
|
16
|
-
auth?: string | null | undefined;
|
|
17
|
-
hash?: string | null | undefined;
|
|
18
|
-
host?: string | null | undefined;
|
|
19
|
-
hostname?: string | null | undefined;
|
|
20
|
-
href?: string | null | undefined;
|
|
21
|
-
pathname?: string | null | undefined;
|
|
22
|
-
protocol?: string | null | undefined;
|
|
23
|
-
search?: string | null | undefined;
|
|
24
|
-
slashes?: boolean | null | undefined;
|
|
25
|
-
port?: string | number | null | undefined;
|
|
26
|
-
query?: string | null | ParsedUrlQueryInput | undefined;
|
|
27
|
-
}
|
|
28
|
-
// Output of `url.parse`
|
|
29
|
-
interface Url {
|
|
30
|
-
auth: string | null;
|
|
31
|
-
hash: string | null;
|
|
32
|
-
host: string | null;
|
|
33
|
-
hostname: string | null;
|
|
34
|
-
href: string;
|
|
35
|
-
path: string | null;
|
|
36
|
-
pathname: string | null;
|
|
37
|
-
protocol: string | null;
|
|
38
|
-
search: string | null;
|
|
39
|
-
slashes: boolean | null;
|
|
40
|
-
port: string | null;
|
|
41
|
-
query: string | null | ParsedUrlQuery;
|
|
42
|
-
}
|
|
43
|
-
interface UrlWithParsedQuery extends Url {
|
|
44
|
-
query: ParsedUrlQuery;
|
|
45
|
-
}
|
|
46
|
-
interface UrlWithStringQuery extends Url {
|
|
47
|
-
query: string | null;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The `url.parse()` method takes a URL string, parses it, and returns a URL
|
|
51
|
-
* object.
|
|
52
|
-
*
|
|
53
|
-
* A `TypeError` is thrown if `urlString` is not a string.
|
|
54
|
-
*
|
|
55
|
-
* A `URIError` is thrown if the `auth` property is present but cannot be decoded.
|
|
56
|
-
*
|
|
57
|
-
* Use of the legacy `url.parse()` method is discouraged. Users should
|
|
58
|
-
* use the WHATWG `URL` API. Because the `url.parse()` method uses a
|
|
59
|
-
* lenient, non-standard algorithm for parsing URL strings, security
|
|
60
|
-
* issues can be introduced. Specifically, issues with [host name spoofing](https://hackerone.com/reports/678487) and
|
|
61
|
-
* incorrect handling of usernames and passwords have been identified.
|
|
62
|
-
*
|
|
63
|
-
* Deprecation of this API has been shelved for now primarily due to the the
|
|
64
|
-
* inability of the [WHATWG API to parse relative URLs](https://github.com/nodejs/node/issues/12682#issuecomment-1154492373).
|
|
65
|
-
* [Discussions are ongoing](https://github.com/whatwg/url/issues/531) for the best way to resolve this.
|
|
66
|
-
*
|
|
67
|
-
* @since v0.1.25
|
|
68
|
-
* @param urlString The URL string to parse.
|
|
69
|
-
* @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property
|
|
70
|
-
* on the returned URL object will be an unparsed, undecoded string.
|
|
71
|
-
* @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the
|
|
72
|
-
* result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`.
|
|
73
|
-
*/
|
|
74
|
-
function parse(urlString: string): UrlWithStringQuery;
|
|
75
|
-
function parse(urlString: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
|
|
76
|
-
function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
|
|
77
|
-
function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
|
|
78
|
-
/**
|
|
79
|
-
* The URL object has both a `toString()` method and `href` property that return string serializations of the URL.
|
|
80
|
-
* These are not, however, customizable in any way. The `url.format(URL[, options])` method allows for basic
|
|
81
|
-
* customization of the output.
|
|
82
|
-
* Returns a customizable serialization of a URL `String` representation of a `WHATWG URL` object.
|
|
83
|
-
*
|
|
84
|
-
* ```js
|
|
85
|
-
* import url from 'url';
|
|
86
|
-
* const myURL = new URL('https://a:b@測試?abc#foo');
|
|
87
|
-
*
|
|
88
|
-
* console.log(myURL.href);
|
|
89
|
-
* // Prints https://a:b@xn--g6w251d/?abc#foo
|
|
90
|
-
*
|
|
91
|
-
* console.log(myURL.toString());
|
|
92
|
-
* // Prints https://a:b@xn--g6w251d/?abc#foo
|
|
93
|
-
*
|
|
94
|
-
* console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
|
|
95
|
-
* // Prints 'https://測試/?abc'
|
|
96
|
-
* ```
|
|
97
|
-
* @since v7.6.0
|
|
98
|
-
* @param urlObject A `WHATWG URL` object
|
|
99
|
-
* @param options
|
|
100
|
-
*/
|
|
101
|
-
function format(urlObject: URL, options?: URLFormatOptions): string;
|
|
102
|
-
/**
|
|
103
|
-
* The `url.format()` method returns a formatted URL string derived from`urlObject`.
|
|
104
|
-
*
|
|
105
|
-
* ```js
|
|
106
|
-
* const url = require('url');
|
|
107
|
-
* url.format({
|
|
108
|
-
* protocol: 'https',
|
|
109
|
-
* hostname: 'example.com',
|
|
110
|
-
* pathname: '/some/path',
|
|
111
|
-
* query: {
|
|
112
|
-
* page: 1,
|
|
113
|
-
* format: 'json'
|
|
114
|
-
* }
|
|
115
|
-
* });
|
|
116
|
-
*
|
|
117
|
-
* // => 'https://example.com/some/path?page=1&format=json'
|
|
118
|
-
* ```
|
|
119
|
-
*
|
|
120
|
-
* If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
|
|
121
|
-
*
|
|
122
|
-
* The formatting process operates as follows:
|
|
123
|
-
*
|
|
124
|
-
* * A new empty string `result` is created.
|
|
125
|
-
* * If `urlObject.protocol` is a string, it is appended as-is to `result`.
|
|
126
|
-
* * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
|
|
127
|
-
* * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
|
|
128
|
-
* colon (`:`) character, the literal string `:` will be appended to `result`.
|
|
129
|
-
* * If either of the following conditions is true, then the literal string `//`will be appended to `result`:
|
|
130
|
-
* * `urlObject.slashes` property is true;
|
|
131
|
-
* * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`;
|
|
132
|
-
* * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string
|
|
133
|
-
* and appended to `result`followed by the literal string `@`.
|
|
134
|
-
* * If the `urlObject.host` property is `undefined` then:
|
|
135
|
-
* * If the `urlObject.hostname` is a string, it is appended to `result`.
|
|
136
|
-
* * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
|
|
137
|
-
* an `Error` is thrown.
|
|
138
|
-
* * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`:
|
|
139
|
-
* * The literal string `:` is appended to `result`, and
|
|
140
|
-
* * The value of `urlObject.port` is coerced to a string and appended to`result`.
|
|
141
|
-
* * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`.
|
|
142
|
-
* * If the `urlObject.pathname` property is a string that is not an empty string:
|
|
143
|
-
* * If the `urlObject.pathname`_does not start_ with an ASCII forward slash
|
|
144
|
-
* (`/`), then the literal string `'/'` is appended to `result`.
|
|
145
|
-
* * The value of `urlObject.pathname` is appended to `result`.
|
|
146
|
-
* * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
|
|
147
|
-
* * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the
|
|
148
|
-
* `querystring` module's `stringify()`method passing the value of `urlObject.query`.
|
|
149
|
-
* * Otherwise, if `urlObject.search` is a string:
|
|
150
|
-
* * If the value of `urlObject.search`_does not start_ with the ASCII question
|
|
151
|
-
* mark (`?`) character, the literal string `?` is appended to `result`.
|
|
152
|
-
* * The value of `urlObject.search` is appended to `result`.
|
|
153
|
-
* * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
|
|
154
|
-
* * If the `urlObject.hash` property is a string:
|
|
155
|
-
* * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`)
|
|
156
|
-
* character, the literal string `#` is appended to `result`.
|
|
157
|
-
* * The value of `urlObject.hash` is appended to `result`.
|
|
158
|
-
* * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
|
|
159
|
-
* string, an `Error` is thrown.
|
|
160
|
-
* * `result` is returned.
|
|
161
|
-
* @since v0.1.25
|
|
162
|
-
* @legacy Use the WHATWG URL API instead.
|
|
163
|
-
* @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
|
|
164
|
-
*/
|
|
165
|
-
function format(urlObject: UrlObject | string): string;
|
|
166
|
-
/**
|
|
167
|
-
* The `url.resolve()` method resolves a target URL relative to a base URL in a
|
|
168
|
-
* manner similar to that of a Web browser resolving an anchor tag HREF.
|
|
169
|
-
*
|
|
170
|
-
* ```js
|
|
171
|
-
* const url = require('url');
|
|
172
|
-
* url.resolve('/one/two/three', 'four'); // '/one/two/four'
|
|
173
|
-
* url.resolve('http://example.com/', '/one'); // 'http://example.com/one'
|
|
174
|
-
* url.resolve('http://example.com/one', '/two'); // 'http://example.com/two'
|
|
175
|
-
* ```
|
|
176
|
-
*
|
|
177
|
-
* You can achieve the same result using the WHATWG URL API:
|
|
178
|
-
*
|
|
179
|
-
* ```js
|
|
180
|
-
* function resolve(from, to) {
|
|
181
|
-
* const resolvedUrl = new URL(to, new URL(from, 'resolve://'));
|
|
182
|
-
* if (resolvedUrl.protocol === 'resolve:') {
|
|
183
|
-
* // `from` is a relative URL.
|
|
184
|
-
* const { pathname, search, hash } = resolvedUrl;
|
|
185
|
-
* return pathname + search + hash;
|
|
186
|
-
* }
|
|
187
|
-
* return resolvedUrl.toString();
|
|
188
|
-
* }
|
|
189
|
-
*
|
|
190
|
-
* resolve('/one/two/three', 'four'); // '/one/two/four'
|
|
191
|
-
* resolve('http://example.com/', '/one'); // 'http://example.com/one'
|
|
192
|
-
* resolve('http://example.com/one', '/two'); // 'http://example.com/two'
|
|
193
|
-
* ```
|
|
194
|
-
* @since v0.1.25
|
|
195
|
-
* @legacy Use the WHATWG URL API instead.
|
|
196
|
-
* @param from The Base URL being resolved against.
|
|
197
|
-
* @param to The HREF URL being resolved.
|
|
198
|
-
*/
|
|
199
|
-
function resolve(from: string, to: string): string;
|
|
200
|
-
/**
|
|
201
|
-
* Returns the [Punycode](https://tools.ietf.org/html/rfc5891#section-4.4) ASCII serialization of the `domain`. If `domain` is an
|
|
202
|
-
* invalid domain, the empty string is returned.
|
|
203
|
-
*
|
|
204
|
-
* It performs the inverse operation to {@link domainToUnicode}.
|
|
205
|
-
*
|
|
206
|
-
* This feature is only available if the `node` executable was compiled with `ICU` enabled. If not, the domain names are passed through unchanged.
|
|
207
|
-
*
|
|
208
|
-
* ```js
|
|
209
|
-
* import url from 'url';
|
|
210
|
-
*
|
|
211
|
-
* console.log(url.domainToASCII('español.com'));
|
|
212
|
-
* // Prints xn--espaol-zwa.com
|
|
213
|
-
* console.log(url.domainToASCII('中文.com'));
|
|
214
|
-
* // Prints xn--fiq228c.com
|
|
215
|
-
* console.log(url.domainToASCII('xn--iñvalid.com'));
|
|
216
|
-
* // Prints an empty string
|
|
217
|
-
* ```
|
|
218
|
-
* @since v7.4.0, v6.13.0
|
|
219
|
-
*/
|
|
220
|
-
function domainToASCII(domain: string): string;
|
|
221
|
-
/**
|
|
222
|
-
* Returns the Unicode serialization of the `domain`. If `domain` is an invalid
|
|
223
|
-
* domain, the empty string is returned.
|
|
224
|
-
*
|
|
225
|
-
* It performs the inverse operation to {@link domainToASCII}.
|
|
226
|
-
*
|
|
227
|
-
* This feature is only available if the `node` executable was compiled with `ICU` enabled. If not, the domain names are passed through unchanged.
|
|
228
|
-
*
|
|
229
|
-
* ```js
|
|
230
|
-
* import url from 'url';
|
|
231
|
-
*
|
|
232
|
-
* console.log(url.domainToUnicode('xn--espaol-zwa.com'));
|
|
233
|
-
* // Prints español.com
|
|
234
|
-
* console.log(url.domainToUnicode('xn--fiq228c.com'));
|
|
235
|
-
* // Prints 中文.com
|
|
236
|
-
* console.log(url.domainToUnicode('xn--iñvalid.com'));
|
|
237
|
-
* // Prints an empty string
|
|
238
|
-
* ```
|
|
239
|
-
* @since v7.4.0, v6.13.0
|
|
240
|
-
*/
|
|
241
|
-
function domainToUnicode(domain: string): string;
|
|
242
|
-
/**
|
|
243
|
-
* This function ensures the correct decodings of percent-encoded characters as
|
|
244
|
-
* well as ensuring a cross-platform valid absolute path string.
|
|
245
|
-
*
|
|
246
|
-
* ```js
|
|
247
|
-
* import { fileURLToPath } from 'url';
|
|
248
|
-
*
|
|
249
|
-
* const __filename = fileURLToPath(import.meta.url);
|
|
250
|
-
*
|
|
251
|
-
* new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/
|
|
252
|
-
* fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows)
|
|
253
|
-
*
|
|
254
|
-
* new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt
|
|
255
|
-
* fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows)
|
|
256
|
-
*
|
|
257
|
-
* new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt
|
|
258
|
-
* fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX)
|
|
259
|
-
*
|
|
260
|
-
* new URL('file:///hello world').pathname; // Incorrect: /hello%20world
|
|
261
|
-
* fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX)
|
|
262
|
-
* ```
|
|
263
|
-
* @since v10.12.0
|
|
264
|
-
* @param url The file URL string or URL object to convert to a path.
|
|
265
|
-
* @return The fully-resolved platform-specific Node.js file path.
|
|
266
|
-
*/
|
|
267
|
-
function fileURLToPath(url: string | URL): string;
|
|
268
|
-
/**
|
|
269
|
-
* This function ensures that `path` is resolved absolutely, and that the URL
|
|
270
|
-
* control characters are correctly encoded when converting into a File URL.
|
|
271
|
-
*
|
|
272
|
-
* ```js
|
|
273
|
-
* import { pathToFileURL } from 'url';
|
|
274
|
-
*
|
|
275
|
-
* new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1
|
|
276
|
-
* pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX)
|
|
277
|
-
*
|
|
278
|
-
* new URL('/some/path%.c', 'file:'); // Incorrect: file:///some/path%.c
|
|
279
|
-
* pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
|
|
280
|
-
* ```
|
|
281
|
-
* @since v10.12.0
|
|
282
|
-
* @param path The path to convert to a File URL.
|
|
283
|
-
* @return The file URL object.
|
|
284
|
-
*/
|
|
285
|
-
function pathToFileURL(path: string): URL;
|
|
286
|
-
/**
|
|
287
|
-
* This utility function converts a URL object into an ordinary options object as
|
|
288
|
-
* expected by the `http.request()` and `https.request()` APIs.
|
|
289
|
-
*
|
|
290
|
-
* ```js
|
|
291
|
-
* import { urlToHttpOptions } from 'url';
|
|
292
|
-
* const myURL = new URL('https://a:b@測試?abc#foo');
|
|
293
|
-
*
|
|
294
|
-
* console.log(urlToHttpOptions(myURL));
|
|
295
|
-
*
|
|
296
|
-
* {
|
|
297
|
-
* protocol: 'https:',
|
|
298
|
-
* hostname: 'xn--g6w251d',
|
|
299
|
-
* hash: '#foo',
|
|
300
|
-
* search: '?abc',
|
|
301
|
-
* pathname: '/',
|
|
302
|
-
* path: '/?abc',
|
|
303
|
-
* href: 'https://a:b@xn--g6w251d/?abc#foo',
|
|
304
|
-
* auth: 'a:b'
|
|
305
|
-
* }
|
|
306
|
-
*
|
|
307
|
-
* ```
|
|
308
|
-
* @since v15.7.0
|
|
309
|
-
* @param url The `WHATWG URL` object to convert to an options object.
|
|
310
|
-
* @return Options object
|
|
311
|
-
*/
|
|
312
|
-
function urlToHttpOptions(url: URL): ClientRequestArgs;
|
|
313
|
-
interface URLFormatOptions {
|
|
314
|
-
auth?: boolean | undefined;
|
|
315
|
-
fragment?: boolean | undefined;
|
|
316
|
-
search?: boolean | undefined;
|
|
317
|
-
unicode?: boolean | undefined;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Browser-compatible `URL` class, implemented by following the WHATWG URL
|
|
321
|
-
* Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself.
|
|
322
|
-
* The `URL` class is also available on the global object.
|
|
323
|
-
*
|
|
324
|
-
* In accordance with browser conventions, all properties of `URL` objects
|
|
325
|
-
* are implemented as getters and setters on the class prototype, rather than as
|
|
326
|
-
* data properties on the object itself. Thus, unlike `legacy urlObject` s,
|
|
327
|
-
* using the `delete` keyword on any properties of `URL` objects (e.g. `delete myURL.protocol`, `delete myURL.pathname`, etc) has no effect but will still
|
|
328
|
-
* return `true`.
|
|
329
|
-
* @since v7.0.0, v6.13.0
|
|
330
|
-
*/
|
|
331
|
-
class URL {
|
|
332
|
-
/**
|
|
333
|
-
* Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later.
|
|
334
|
-
*
|
|
335
|
-
* ```js
|
|
336
|
-
* const {
|
|
337
|
-
* Blob,
|
|
338
|
-
* resolveObjectURL,
|
|
339
|
-
* } = require('buffer');
|
|
340
|
-
*
|
|
341
|
-
* const blob = new Blob(['hello']);
|
|
342
|
-
* const id = URL.createObjectURL(blob);
|
|
343
|
-
*
|
|
344
|
-
* // later...
|
|
345
|
-
*
|
|
346
|
-
* const otherBlob = resolveObjectURL(id);
|
|
347
|
-
* console.log(otherBlob.size);
|
|
348
|
-
* ```
|
|
349
|
-
*
|
|
350
|
-
* The data stored by the registered `Blob` will be retained in memory until`URL.revokeObjectURL()` is called to remove it.
|
|
351
|
-
*
|
|
352
|
-
* `Blob` objects are registered within the current thread. If using Worker
|
|
353
|
-
* Threads, `Blob` objects registered within one Worker will not be available
|
|
354
|
-
* to other workers or the main thread.
|
|
355
|
-
* @since v16.7.0
|
|
356
|
-
* @experimental
|
|
357
|
-
*/
|
|
358
|
-
static createObjectURL(blob: Blob): string;
|
|
359
|
-
/**
|
|
360
|
-
* Removes the stored `Blob` identified by the given ID.
|
|
361
|
-
* @since v16.7.0
|
|
362
|
-
* @experimental
|
|
363
|
-
* @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
|
|
364
|
-
*/
|
|
365
|
-
static revokeObjectURL(objectUrl: string): void;
|
|
366
|
-
constructor(input: string, base?: string | URL);
|
|
367
|
-
/**
|
|
368
|
-
* Gets and sets the fragment portion of the URL.
|
|
369
|
-
*
|
|
370
|
-
* ```js
|
|
371
|
-
* const myURL = new URL('https://example.org/foo#bar');
|
|
372
|
-
* console.log(myURL.hash);
|
|
373
|
-
* // Prints #bar
|
|
374
|
-
*
|
|
375
|
-
* myURL.hash = 'baz';
|
|
376
|
-
* console.log(myURL.href);
|
|
377
|
-
* // Prints https://example.org/foo#baz
|
|
378
|
-
* ```
|
|
379
|
-
*
|
|
380
|
-
* Invalid URL characters included in the value assigned to the `hash` property
|
|
381
|
-
* are `percent-encoded`. The selection of which characters to
|
|
382
|
-
* percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
383
|
-
*/
|
|
384
|
-
hash: string;
|
|
385
|
-
/**
|
|
386
|
-
* Gets and sets the host portion of the URL.
|
|
387
|
-
*
|
|
388
|
-
* ```js
|
|
389
|
-
* const myURL = new URL('https://example.org:81/foo');
|
|
390
|
-
* console.log(myURL.host);
|
|
391
|
-
* // Prints example.org:81
|
|
392
|
-
*
|
|
393
|
-
* myURL.host = 'example.com:82';
|
|
394
|
-
* console.log(myURL.href);
|
|
395
|
-
* // Prints https://example.com:82/foo
|
|
396
|
-
* ```
|
|
397
|
-
*
|
|
398
|
-
* Invalid host values assigned to the `host` property are ignored.
|
|
399
|
-
*/
|
|
400
|
-
host: string;
|
|
401
|
-
/**
|
|
402
|
-
* Gets and sets the host name portion of the URL. The key difference between`url.host` and `url.hostname` is that `url.hostname` does _not_ include the
|
|
403
|
-
* port.
|
|
404
|
-
*
|
|
405
|
-
* ```js
|
|
406
|
-
* const myURL = new URL('https://example.org:81/foo');
|
|
407
|
-
* console.log(myURL.hostname);
|
|
408
|
-
* // Prints example.org
|
|
409
|
-
*
|
|
410
|
-
* // Setting the hostname does not change the port
|
|
411
|
-
* myURL.hostname = 'example.com:82';
|
|
412
|
-
* console.log(myURL.href);
|
|
413
|
-
* // Prints https://example.com:81/foo
|
|
414
|
-
*
|
|
415
|
-
* // Use myURL.host to change the hostname and port
|
|
416
|
-
* myURL.host = 'example.org:82';
|
|
417
|
-
* console.log(myURL.href);
|
|
418
|
-
* // Prints https://example.org:82/foo
|
|
419
|
-
* ```
|
|
420
|
-
*
|
|
421
|
-
* Invalid host name values assigned to the `hostname` property are ignored.
|
|
422
|
-
*/
|
|
423
|
-
hostname: string;
|
|
424
|
-
/**
|
|
425
|
-
* Gets and sets the serialized URL.
|
|
426
|
-
*
|
|
427
|
-
* ```js
|
|
428
|
-
* const myURL = new URL('https://example.org/foo');
|
|
429
|
-
* console.log(myURL.href);
|
|
430
|
-
* // Prints https://example.org/foo
|
|
431
|
-
*
|
|
432
|
-
* myURL.href = 'https://example.com/bar';
|
|
433
|
-
* console.log(myURL.href);
|
|
434
|
-
* // Prints https://example.com/bar
|
|
435
|
-
* ```
|
|
436
|
-
*
|
|
437
|
-
* Getting the value of the `href` property is equivalent to calling {@link toString}.
|
|
438
|
-
*
|
|
439
|
-
* Setting the value of this property to a new value is equivalent to creating a
|
|
440
|
-
* new `URL` object using `new URL(value)`. Each of the `URL`object's properties will be modified.
|
|
441
|
-
*
|
|
442
|
-
* If the value assigned to the `href` property is not a valid URL, a `TypeError`will be thrown.
|
|
443
|
-
*/
|
|
444
|
-
href: string;
|
|
445
|
-
/**
|
|
446
|
-
* Gets the read-only serialization of the URL's origin.
|
|
447
|
-
*
|
|
448
|
-
* ```js
|
|
449
|
-
* const myURL = new URL('https://example.org/foo/bar?baz');
|
|
450
|
-
* console.log(myURL.origin);
|
|
451
|
-
* // Prints https://example.org
|
|
452
|
-
* ```
|
|
453
|
-
*
|
|
454
|
-
* ```js
|
|
455
|
-
* const idnURL = new URL('https://測試');
|
|
456
|
-
* console.log(idnURL.origin);
|
|
457
|
-
* // Prints https://xn--g6w251d
|
|
458
|
-
*
|
|
459
|
-
* console.log(idnURL.hostname);
|
|
460
|
-
* // Prints xn--g6w251d
|
|
461
|
-
* ```
|
|
462
|
-
*/
|
|
463
|
-
readonly origin: string;
|
|
464
|
-
/**
|
|
465
|
-
* Gets and sets the password portion of the URL.
|
|
466
|
-
*
|
|
467
|
-
* ```js
|
|
468
|
-
* const myURL = new URL('https://abc:xyz@example.com');
|
|
469
|
-
* console.log(myURL.password);
|
|
470
|
-
* // Prints xyz
|
|
471
|
-
*
|
|
472
|
-
* myURL.password = '123';
|
|
473
|
-
* console.log(myURL.href);
|
|
474
|
-
* // Prints https://abc:123@example.com
|
|
475
|
-
* ```
|
|
476
|
-
*
|
|
477
|
-
* Invalid URL characters included in the value assigned to the `password` property
|
|
478
|
-
* are `percent-encoded`. The selection of which characters to
|
|
479
|
-
* percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
480
|
-
*/
|
|
481
|
-
password: string;
|
|
482
|
-
/**
|
|
483
|
-
* Gets and sets the path portion of the URL.
|
|
484
|
-
*
|
|
485
|
-
* ```js
|
|
486
|
-
* const myURL = new URL('https://example.org/abc/xyz?123');
|
|
487
|
-
* console.log(myURL.pathname);
|
|
488
|
-
* // Prints /abc/xyz
|
|
489
|
-
*
|
|
490
|
-
* myURL.pathname = '/abcdef';
|
|
491
|
-
* console.log(myURL.href);
|
|
492
|
-
* // Prints https://example.org/abcdef?123
|
|
493
|
-
* ```
|
|
494
|
-
*
|
|
495
|
-
* Invalid URL characters included in the value assigned to the `pathname`property are `percent-encoded`. The selection of which characters
|
|
496
|
-
* to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
497
|
-
*/
|
|
498
|
-
pathname: string;
|
|
499
|
-
/**
|
|
500
|
-
* Gets and sets the port portion of the URL.
|
|
501
|
-
*
|
|
502
|
-
* The port value may be a number or a string containing a number in the range`0` to `65535` (inclusive). Setting the value to the default port of the`URL` objects given `protocol` will
|
|
503
|
-
* result in the `port` value becoming
|
|
504
|
-
* the empty string (`''`).
|
|
505
|
-
*
|
|
506
|
-
* The port value can be an empty string in which case the port depends on
|
|
507
|
-
* the protocol/scheme:
|
|
508
|
-
*
|
|
509
|
-
* <omitted>
|
|
510
|
-
*
|
|
511
|
-
* Upon assigning a value to the port, the value will first be converted to a
|
|
512
|
-
* string using `.toString()`.
|
|
513
|
-
*
|
|
514
|
-
* If that string is invalid but it begins with a number, the leading number is
|
|
515
|
-
* assigned to `port`.
|
|
516
|
-
* If the number lies outside the range denoted above, it is ignored.
|
|
517
|
-
*
|
|
518
|
-
* ```js
|
|
519
|
-
* const myURL = new URL('https://example.org:8888');
|
|
520
|
-
* console.log(myURL.port);
|
|
521
|
-
* // Prints 8888
|
|
522
|
-
*
|
|
523
|
-
* // Default ports are automatically transformed to the empty string
|
|
524
|
-
* // (HTTPS protocol's default port is 443)
|
|
525
|
-
* myURL.port = '443';
|
|
526
|
-
* console.log(myURL.port);
|
|
527
|
-
* // Prints the empty string
|
|
528
|
-
* console.log(myURL.href);
|
|
529
|
-
* // Prints https://example.org/
|
|
530
|
-
*
|
|
531
|
-
* myURL.port = 1234;
|
|
532
|
-
* console.log(myURL.port);
|
|
533
|
-
* // Prints 1234
|
|
534
|
-
* console.log(myURL.href);
|
|
535
|
-
* // Prints https://example.org:1234/
|
|
536
|
-
*
|
|
537
|
-
* // Completely invalid port strings are ignored
|
|
538
|
-
* myURL.port = 'abcd';
|
|
539
|
-
* console.log(myURL.port);
|
|
540
|
-
* // Prints 1234
|
|
541
|
-
*
|
|
542
|
-
* // Leading numbers are treated as a port number
|
|
543
|
-
* myURL.port = '5678abcd';
|
|
544
|
-
* console.log(myURL.port);
|
|
545
|
-
* // Prints 5678
|
|
546
|
-
*
|
|
547
|
-
* // Non-integers are truncated
|
|
548
|
-
* myURL.port = 1234.5678;
|
|
549
|
-
* console.log(myURL.port);
|
|
550
|
-
* // Prints 1234
|
|
551
|
-
*
|
|
552
|
-
* // Out-of-range numbers which are not represented in scientific notation
|
|
553
|
-
* // will be ignored.
|
|
554
|
-
* myURL.port = 1e10; // 10000000000, will be range-checked as described below
|
|
555
|
-
* console.log(myURL.port);
|
|
556
|
-
* // Prints 1234
|
|
557
|
-
* ```
|
|
558
|
-
*
|
|
559
|
-
* Numbers which contain a decimal point,
|
|
560
|
-
* such as floating-point numbers or numbers in scientific notation,
|
|
561
|
-
* are not an exception to this rule.
|
|
562
|
-
* Leading numbers up to the decimal point will be set as the URL's port,
|
|
563
|
-
* assuming they are valid:
|
|
564
|
-
*
|
|
565
|
-
* ```js
|
|
566
|
-
* myURL.port = 4.567e21;
|
|
567
|
-
* console.log(myURL.port);
|
|
568
|
-
* // Prints 4 (because it is the leading number in the string '4.567e21')
|
|
569
|
-
* ```
|
|
570
|
-
*/
|
|
571
|
-
port: string;
|
|
572
|
-
/**
|
|
573
|
-
* Gets and sets the protocol portion of the URL.
|
|
574
|
-
*
|
|
575
|
-
* ```js
|
|
576
|
-
* const myURL = new URL('https://example.org');
|
|
577
|
-
* console.log(myURL.protocol);
|
|
578
|
-
* // Prints https:
|
|
579
|
-
*
|
|
580
|
-
* myURL.protocol = 'ftp';
|
|
581
|
-
* console.log(myURL.href);
|
|
582
|
-
* // Prints ftp://example.org/
|
|
583
|
-
* ```
|
|
584
|
-
*
|
|
585
|
-
* Invalid URL protocol values assigned to the `protocol` property are ignored.
|
|
586
|
-
*/
|
|
587
|
-
protocol: string;
|
|
588
|
-
/**
|
|
589
|
-
* Gets and sets the serialized query portion of the URL.
|
|
590
|
-
*
|
|
591
|
-
* ```js
|
|
592
|
-
* const myURL = new URL('https://example.org/abc?123');
|
|
593
|
-
* console.log(myURL.search);
|
|
594
|
-
* // Prints ?123
|
|
595
|
-
*
|
|
596
|
-
* myURL.search = 'abc=xyz';
|
|
597
|
-
* console.log(myURL.href);
|
|
598
|
-
* // Prints https://example.org/abc?abc=xyz
|
|
599
|
-
* ```
|
|
600
|
-
*
|
|
601
|
-
* Any invalid URL characters appearing in the value assigned the `search`property will be `percent-encoded`. The selection of which
|
|
602
|
-
* characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
603
|
-
*/
|
|
604
|
-
search: string;
|
|
605
|
-
/**
|
|
606
|
-
* Gets the `URLSearchParams` object representing the query parameters of the
|
|
607
|
-
* URL. This property is read-only but the `URLSearchParams` object it provides
|
|
608
|
-
* can be used to mutate the URL instance; to replace the entirety of query
|
|
609
|
-
* parameters of the URL, use the {@link search} setter. See `URLSearchParams` documentation for details.
|
|
610
|
-
*
|
|
611
|
-
* Use care when using `.searchParams` to modify the `URL` because,
|
|
612
|
-
* per the WHATWG specification, the `URLSearchParams` object uses
|
|
613
|
-
* different rules to determine which characters to percent-encode. For
|
|
614
|
-
* instance, the `URL` object will not percent encode the ASCII tilde (`~`)
|
|
615
|
-
* character, while `URLSearchParams` will always encode it:
|
|
616
|
-
*
|
|
617
|
-
* ```js
|
|
618
|
-
* const myUrl = new URL('https://example.org/abc?foo=~bar');
|
|
619
|
-
*
|
|
620
|
-
* console.log(myUrl.search); // prints ?foo=~bar
|
|
621
|
-
*
|
|
622
|
-
* // Modify the URL via searchParams...
|
|
623
|
-
* myUrl.searchParams.sort();
|
|
624
|
-
*
|
|
625
|
-
* console.log(myUrl.search); // prints ?foo=%7Ebar
|
|
626
|
-
* ```
|
|
627
|
-
*/
|
|
628
|
-
readonly searchParams: URLSearchParams;
|
|
629
|
-
/**
|
|
630
|
-
* Gets and sets the username portion of the URL.
|
|
631
|
-
*
|
|
632
|
-
* ```js
|
|
633
|
-
* const myURL = new URL('https://abc:xyz@example.com');
|
|
634
|
-
* console.log(myURL.username);
|
|
635
|
-
* // Prints abc
|
|
636
|
-
*
|
|
637
|
-
* myURL.username = '123';
|
|
638
|
-
* console.log(myURL.href);
|
|
639
|
-
* // Prints https://123:xyz@example.com/
|
|
640
|
-
* ```
|
|
641
|
-
*
|
|
642
|
-
* Any invalid URL characters appearing in the value assigned the `username`property will be `percent-encoded`. The selection of which
|
|
643
|
-
* characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
644
|
-
*/
|
|
645
|
-
username: string;
|
|
646
|
-
/**
|
|
647
|
-
* The `toString()` method on the `URL` object returns the serialized URL. The
|
|
648
|
-
* value returned is equivalent to that of {@link href} and {@link toJSON}.
|
|
649
|
-
*/
|
|
650
|
-
toString(): string;
|
|
651
|
-
/**
|
|
652
|
-
* The `toJSON()` method on the `URL` object returns the serialized URL. The
|
|
653
|
-
* value returned is equivalent to that of {@link href} and {@link toString}.
|
|
654
|
-
*
|
|
655
|
-
* This method is automatically called when an `URL` object is serialized
|
|
656
|
-
* with [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify).
|
|
657
|
-
*
|
|
658
|
-
* ```js
|
|
659
|
-
* const myURLs = [
|
|
660
|
-
* new URL('https://www.example.com'),
|
|
661
|
-
* new URL('https://test.example.org'),
|
|
662
|
-
* ];
|
|
663
|
-
* console.log(JSON.stringify(myURLs));
|
|
664
|
-
* // Prints ["https://www.example.com/","https://test.example.org/"]
|
|
665
|
-
* ```
|
|
666
|
-
*/
|
|
667
|
-
toJSON(): string;
|
|
668
|
-
}
|
|
669
|
-
/**
|
|
670
|
-
* The `URLSearchParams` API provides read and write access to the query of a`URL`. The `URLSearchParams` class can also be used standalone with one of the
|
|
671
|
-
* four following constructors.
|
|
672
|
-
* The `URLSearchParams` class is also available on the global object.
|
|
673
|
-
*
|
|
674
|
-
* The WHATWG `URLSearchParams` interface and the `querystring` module have
|
|
675
|
-
* similar purpose, but the purpose of the `querystring` module is more
|
|
676
|
-
* general, as it allows the customization of delimiter characters (`&` and `=`).
|
|
677
|
-
* On the other hand, this API is designed purely for URL query strings.
|
|
678
|
-
*
|
|
679
|
-
* ```js
|
|
680
|
-
* const myURL = new URL('https://example.org/?abc=123');
|
|
681
|
-
* console.log(myURL.searchParams.get('abc'));
|
|
682
|
-
* // Prints 123
|
|
683
|
-
*
|
|
684
|
-
* myURL.searchParams.append('abc', 'xyz');
|
|
685
|
-
* console.log(myURL.href);
|
|
686
|
-
* // Prints https://example.org/?abc=123&abc=xyz
|
|
687
|
-
*
|
|
688
|
-
* myURL.searchParams.delete('abc');
|
|
689
|
-
* myURL.searchParams.set('a', 'b');
|
|
690
|
-
* console.log(myURL.href);
|
|
691
|
-
* // Prints https://example.org/?a=b
|
|
692
|
-
*
|
|
693
|
-
* const newSearchParams = new URLSearchParams(myURL.searchParams);
|
|
694
|
-
* // The above is equivalent to
|
|
695
|
-
* // const newSearchParams = new URLSearchParams(myURL.search);
|
|
696
|
-
*
|
|
697
|
-
* newSearchParams.append('a', 'c');
|
|
698
|
-
* console.log(myURL.href);
|
|
699
|
-
* // Prints https://example.org/?a=b
|
|
700
|
-
* console.log(newSearchParams.toString());
|
|
701
|
-
* // Prints a=b&a=c
|
|
702
|
-
*
|
|
703
|
-
* // newSearchParams.toString() is implicitly called
|
|
704
|
-
* myURL.search = newSearchParams;
|
|
705
|
-
* console.log(myURL.href);
|
|
706
|
-
* // Prints https://example.org/?a=b&a=c
|
|
707
|
-
* newSearchParams.delete('a');
|
|
708
|
-
* console.log(myURL.href);
|
|
709
|
-
* // Prints https://example.org/?a=b&a=c
|
|
710
|
-
* ```
|
|
711
|
-
* @since v7.5.0, v6.13.0
|
|
712
|
-
*/
|
|
713
|
-
class URLSearchParams implements Iterable<[string, string]> {
|
|
714
|
-
constructor(init?: URLSearchParams | string | Record<string, string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
|
|
715
|
-
/**
|
|
716
|
-
* Append a new name-value pair to the query string.
|
|
717
|
-
*/
|
|
718
|
-
append(name: string, value: string): void;
|
|
719
|
-
/**
|
|
720
|
-
* Remove all name-value pairs whose name is `name`.
|
|
721
|
-
*/
|
|
722
|
-
delete(name: string): void;
|
|
723
|
-
/**
|
|
724
|
-
* Returns an ES6 `Iterator` over each of the name-value pairs in the query.
|
|
725
|
-
* Each item of the iterator is a JavaScript `Array`. The first item of the `Array`is the `name`, the second item of the `Array` is the `value`.
|
|
726
|
-
*
|
|
727
|
-
* Alias for `urlSearchParams[@@iterator]()`.
|
|
728
|
-
*/
|
|
729
|
-
entries(): IterableIterator<[string, string]>;
|
|
730
|
-
/**
|
|
731
|
-
* Iterates over each name-value pair in the query and invokes the given function.
|
|
732
|
-
*
|
|
733
|
-
* ```js
|
|
734
|
-
* const myURL = new URL('https://example.org/?a=b&c=d');
|
|
735
|
-
* myURL.searchParams.forEach((value, name, searchParams) => {
|
|
736
|
-
* console.log(name, value, myURL.searchParams === searchParams);
|
|
737
|
-
* });
|
|
738
|
-
* // Prints:
|
|
739
|
-
* // a b true
|
|
740
|
-
* // c d true
|
|
741
|
-
* ```
|
|
742
|
-
* @param fn Invoked for each name-value pair in the query
|
|
743
|
-
* @param thisArg To be used as `this` value for when `fn` is called
|
|
744
|
-
*/
|
|
745
|
-
forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, thisArg?: TThis): void;
|
|
746
|
-
/**
|
|
747
|
-
* Returns the value of the first name-value pair whose name is `name`. If there
|
|
748
|
-
* are no such pairs, `null` is returned.
|
|
749
|
-
* @return or `null` if there is no name-value pair with the given `name`.
|
|
750
|
-
*/
|
|
751
|
-
get(name: string): string | null;
|
|
752
|
-
/**
|
|
753
|
-
* Returns the values of all name-value pairs whose name is `name`. If there are
|
|
754
|
-
* no such pairs, an empty array is returned.
|
|
755
|
-
*/
|
|
756
|
-
getAll(name: string): string[];
|
|
757
|
-
/**
|
|
758
|
-
* Returns `true` if there is at least one name-value pair whose name is `name`.
|
|
759
|
-
*/
|
|
760
|
-
has(name: string): boolean;
|
|
761
|
-
/**
|
|
762
|
-
* Returns an ES6 `Iterator` over the names of each name-value pair.
|
|
763
|
-
*
|
|
764
|
-
* ```js
|
|
765
|
-
* const params = new URLSearchParams('foo=bar&foo=baz');
|
|
766
|
-
* for (const name of params.keys()) {
|
|
767
|
-
* console.log(name);
|
|
768
|
-
* }
|
|
769
|
-
* // Prints:
|
|
770
|
-
* // foo
|
|
771
|
-
* // foo
|
|
772
|
-
* ```
|
|
773
|
-
*/
|
|
774
|
-
keys(): IterableIterator<string>;
|
|
775
|
-
/**
|
|
776
|
-
* Sets the value in the `URLSearchParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`,
|
|
777
|
-
* set the first such pair's value to `value` and remove all others. If not,
|
|
778
|
-
* append the name-value pair to the query string.
|
|
779
|
-
*
|
|
780
|
-
* ```js
|
|
781
|
-
* const params = new URLSearchParams();
|
|
782
|
-
* params.append('foo', 'bar');
|
|
783
|
-
* params.append('foo', 'baz');
|
|
784
|
-
* params.append('abc', 'def');
|
|
785
|
-
* console.log(params.toString());
|
|
786
|
-
* // Prints foo=bar&foo=baz&abc=def
|
|
787
|
-
*
|
|
788
|
-
* params.set('foo', 'def');
|
|
789
|
-
* params.set('xyz', 'opq');
|
|
790
|
-
* console.log(params.toString());
|
|
791
|
-
* // Prints foo=def&abc=def&xyz=opq
|
|
792
|
-
* ```
|
|
793
|
-
*/
|
|
794
|
-
set(name: string, value: string): void;
|
|
795
|
-
/**
|
|
796
|
-
* Sort all existing name-value pairs in-place by their names. Sorting is done
|
|
797
|
-
* with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs
|
|
798
|
-
* with the same name is preserved.
|
|
799
|
-
*
|
|
800
|
-
* This method can be used, in particular, to increase cache hits.
|
|
801
|
-
*
|
|
802
|
-
* ```js
|
|
803
|
-
* const params = new URLSearchParams('query[]=abc&type=search&query[]=123');
|
|
804
|
-
* params.sort();
|
|
805
|
-
* console.log(params.toString());
|
|
806
|
-
* // Prints query%5B%5D=abc&query%5B%5D=123&type=search
|
|
807
|
-
* ```
|
|
808
|
-
* @since v7.7.0, v6.13.0
|
|
809
|
-
*/
|
|
810
|
-
sort(): void;
|
|
811
|
-
/**
|
|
812
|
-
* Returns the search parameters serialized as a string, with characters
|
|
813
|
-
* percent-encoded where necessary.
|
|
814
|
-
*/
|
|
815
|
-
toString(): string;
|
|
816
|
-
/**
|
|
817
|
-
* Returns an ES6 `Iterator` over the values of each name-value pair.
|
|
818
|
-
*/
|
|
819
|
-
values(): IterableIterator<string>;
|
|
820
|
-
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
import { URL as _URL, URLSearchParams as _URLSearchParams } from 'url';
|
|
824
|
-
global {
|
|
825
|
-
interface URLSearchParams extends _URLSearchParams {}
|
|
826
|
-
interface URL extends _URL {}
|
|
827
|
-
interface Global {
|
|
828
|
-
URL: typeof _URL;
|
|
829
|
-
URLSearchParams: typeof _URLSearchParams;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* `URL` class is a global reference for `require('url').URL`
|
|
833
|
-
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
834
|
-
* @since v10.0.0
|
|
835
|
-
*/
|
|
836
|
-
var URL:
|
|
837
|
-
// For compatibility with "dom" and "webworker" URL declarations
|
|
838
|
-
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
839
|
-
? URL
|
|
840
|
-
: typeof _URL;
|
|
841
|
-
/**
|
|
842
|
-
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`.
|
|
843
|
-
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
844
|
-
* @since v10.0.0
|
|
845
|
-
*/
|
|
846
|
-
var URLSearchParams:
|
|
847
|
-
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
848
|
-
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
849
|
-
? URLSearchParams
|
|
850
|
-
: typeof _URLSearchParams;
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
declare module 'node:url' {
|
|
854
|
-
export * from 'url';
|
|
855
|
-
}
|