@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,999 +0,0 @@
|
|
|
1
|
-
import he from 'he'
|
|
2
|
-
import { parseHTML } from './html-parser'
|
|
3
|
-
import { parseText } from './text-parser'
|
|
4
|
-
import { parseFilters } from './filter-parser'
|
|
5
|
-
import { genAssignmentCode } from '../directives/model'
|
|
6
|
-
import { extend, cached, no, camelize, hyphenate } from 'shared/util'
|
|
7
|
-
import { isIE, isEdge, isServerRendering } from 'core/util/env'
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
addProp,
|
|
11
|
-
addAttr,
|
|
12
|
-
baseWarn,
|
|
13
|
-
addHandler,
|
|
14
|
-
addDirective,
|
|
15
|
-
getBindingAttr,
|
|
16
|
-
getAndRemoveAttr,
|
|
17
|
-
getRawBindingAttr,
|
|
18
|
-
pluckModuleFunction,
|
|
19
|
-
getAndRemoveAttrByRegex
|
|
20
|
-
} from '../helpers'
|
|
21
|
-
|
|
22
|
-
import {
|
|
23
|
-
ASTAttr,
|
|
24
|
-
ASTElement,
|
|
25
|
-
ASTIfCondition,
|
|
26
|
-
ASTNode,
|
|
27
|
-
ASTText,
|
|
28
|
-
CompilerOptions
|
|
29
|
-
} from 'types/compiler'
|
|
30
|
-
|
|
31
|
-
export const onRE = /^@|^v-on:/
|
|
32
|
-
export const dirRE = process.env.VBIND_PROP_SHORTHAND
|
|
33
|
-
? /^v-|^@|^:|^\.|^#/
|
|
34
|
-
: /^v-|^@|^:|^#/
|
|
35
|
-
export const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/
|
|
36
|
-
export const forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/
|
|
37
|
-
const stripParensRE = /^\(|\)$/g
|
|
38
|
-
const dynamicArgRE = /^\[.*\]$/
|
|
39
|
-
|
|
40
|
-
const argRE = /:(.*)$/
|
|
41
|
-
export const bindRE = /^:|^\.|^v-bind:/
|
|
42
|
-
const propBindRE = /^\./
|
|
43
|
-
const modifierRE = /\.[^.\]]+(?=[^\]]*$)/g
|
|
44
|
-
|
|
45
|
-
export const slotRE = /^v-slot(:|$)|^#/
|
|
46
|
-
|
|
47
|
-
const lineBreakRE = /[\r\n]/
|
|
48
|
-
const whitespaceRE = /[ \f\t\r\n]+/g
|
|
49
|
-
|
|
50
|
-
const invalidAttributeRE = /[\s"'<>\/=]/
|
|
51
|
-
|
|
52
|
-
const decodeHTMLCached = cached(he.decode)
|
|
53
|
-
|
|
54
|
-
export const emptySlotScopeToken = `_empty_`
|
|
55
|
-
|
|
56
|
-
// configurable state
|
|
57
|
-
export let warn: any
|
|
58
|
-
let delimiters
|
|
59
|
-
let transforms
|
|
60
|
-
let preTransforms
|
|
61
|
-
let postTransforms
|
|
62
|
-
let platformIsPreTag
|
|
63
|
-
let platformMustUseProp
|
|
64
|
-
let platformGetTagNamespace
|
|
65
|
-
let maybeComponent
|
|
66
|
-
|
|
67
|
-
export function createASTElement(
|
|
68
|
-
tag: string,
|
|
69
|
-
attrs: Array<ASTAttr>,
|
|
70
|
-
parent: ASTElement | void
|
|
71
|
-
): ASTElement {
|
|
72
|
-
return {
|
|
73
|
-
type: 1,
|
|
74
|
-
tag,
|
|
75
|
-
attrsList: attrs,
|
|
76
|
-
attrsMap: makeAttrsMap(attrs),
|
|
77
|
-
rawAttrsMap: {},
|
|
78
|
-
parent,
|
|
79
|
-
children: []
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Convert HTML string to AST.
|
|
85
|
-
*/
|
|
86
|
-
export function parse(template: string, options: CompilerOptions): ASTElement {
|
|
87
|
-
warn = options.warn || baseWarn
|
|
88
|
-
|
|
89
|
-
platformIsPreTag = options.isPreTag || no
|
|
90
|
-
platformMustUseProp = options.mustUseProp || no
|
|
91
|
-
platformGetTagNamespace = options.getTagNamespace || no
|
|
92
|
-
const isReservedTag = options.isReservedTag || no
|
|
93
|
-
maybeComponent = (el: ASTElement) =>
|
|
94
|
-
!!(
|
|
95
|
-
el.component ||
|
|
96
|
-
el.attrsMap[':is'] ||
|
|
97
|
-
el.attrsMap['v-bind:is'] ||
|
|
98
|
-
!(el.attrsMap.is ? isReservedTag(el.attrsMap.is) : isReservedTag(el.tag))
|
|
99
|
-
)
|
|
100
|
-
transforms = pluckModuleFunction(options.modules, 'transformNode')
|
|
101
|
-
preTransforms = pluckModuleFunction(options.modules, 'preTransformNode')
|
|
102
|
-
postTransforms = pluckModuleFunction(options.modules, 'postTransformNode')
|
|
103
|
-
|
|
104
|
-
delimiters = options.delimiters
|
|
105
|
-
|
|
106
|
-
const stack: any[] = []
|
|
107
|
-
const preserveWhitespace = options.preserveWhitespace !== false
|
|
108
|
-
const whitespaceOption = options.whitespace
|
|
109
|
-
let root
|
|
110
|
-
let currentParent
|
|
111
|
-
let inVPre = false
|
|
112
|
-
let inPre = false
|
|
113
|
-
let warned = false
|
|
114
|
-
|
|
115
|
-
function warnOnce(msg, range) {
|
|
116
|
-
if (!warned) {
|
|
117
|
-
warned = true
|
|
118
|
-
warn(msg, range)
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function closeElement(element) {
|
|
123
|
-
trimEndingWhitespace(element)
|
|
124
|
-
if (!inVPre && !element.processed) {
|
|
125
|
-
element = processElement(element, options)
|
|
126
|
-
}
|
|
127
|
-
// tree management
|
|
128
|
-
if (!stack.length && element !== root) {
|
|
129
|
-
// allow root elements with v-if, v-else-if and v-else
|
|
130
|
-
if (root.if && (element.elseif || element.else)) {
|
|
131
|
-
if (__DEV__) {
|
|
132
|
-
checkRootConstraints(element)
|
|
133
|
-
}
|
|
134
|
-
addIfCondition(root, {
|
|
135
|
-
exp: element.elseif,
|
|
136
|
-
block: element
|
|
137
|
-
})
|
|
138
|
-
} else if (__DEV__) {
|
|
139
|
-
warnOnce(
|
|
140
|
-
`Component template should contain exactly one root element. ` +
|
|
141
|
-
`If you are using v-if on multiple elements, ` +
|
|
142
|
-
`use v-else-if to chain them instead.`,
|
|
143
|
-
{ start: element.start }
|
|
144
|
-
)
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (currentParent && !element.forbidden) {
|
|
148
|
-
if (element.elseif || element.else) {
|
|
149
|
-
processIfConditions(element, currentParent)
|
|
150
|
-
} else {
|
|
151
|
-
if (element.slotScope) {
|
|
152
|
-
// scoped slot
|
|
153
|
-
// keep it in the children list so that v-else(-if) conditions can
|
|
154
|
-
// find it as the prev node.
|
|
155
|
-
const name = element.slotTarget || '"default"'
|
|
156
|
-
;(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[
|
|
157
|
-
name
|
|
158
|
-
] = element
|
|
159
|
-
}
|
|
160
|
-
currentParent.children.push(element)
|
|
161
|
-
element.parent = currentParent
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// final children cleanup
|
|
166
|
-
// filter out scoped slots
|
|
167
|
-
element.children = element.children.filter(c => !c.slotScope)
|
|
168
|
-
// remove trailing whitespace node again
|
|
169
|
-
trimEndingWhitespace(element)
|
|
170
|
-
|
|
171
|
-
// check pre state
|
|
172
|
-
if (element.pre) {
|
|
173
|
-
inVPre = false
|
|
174
|
-
}
|
|
175
|
-
if (platformIsPreTag(element.tag)) {
|
|
176
|
-
inPre = false
|
|
177
|
-
}
|
|
178
|
-
// apply post-transforms
|
|
179
|
-
for (let i = 0; i < postTransforms.length; i++) {
|
|
180
|
-
postTransforms[i](element, options)
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function trimEndingWhitespace(el) {
|
|
185
|
-
// remove trailing whitespace node
|
|
186
|
-
if (!inPre) {
|
|
187
|
-
let lastNode
|
|
188
|
-
while (
|
|
189
|
-
(lastNode = el.children[el.children.length - 1]) &&
|
|
190
|
-
lastNode.type === 3 &&
|
|
191
|
-
lastNode.text === ' '
|
|
192
|
-
) {
|
|
193
|
-
el.children.pop()
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
function checkRootConstraints(el) {
|
|
199
|
-
if (el.tag === 'slot' || el.tag === 'template') {
|
|
200
|
-
warnOnce(
|
|
201
|
-
`Cannot use <${el.tag}> as component root element because it may ` +
|
|
202
|
-
'contain multiple nodes.',
|
|
203
|
-
{ start: el.start }
|
|
204
|
-
)
|
|
205
|
-
}
|
|
206
|
-
if (el.attrsMap.hasOwnProperty('v-for')) {
|
|
207
|
-
warnOnce(
|
|
208
|
-
'Cannot use v-for on stateful component root element because ' +
|
|
209
|
-
'it renders multiple elements.',
|
|
210
|
-
el.rawAttrsMap['v-for']
|
|
211
|
-
)
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
parseHTML(template, {
|
|
216
|
-
warn,
|
|
217
|
-
expectHTML: options.expectHTML,
|
|
218
|
-
isUnaryTag: options.isUnaryTag,
|
|
219
|
-
canBeLeftOpenTag: options.canBeLeftOpenTag,
|
|
220
|
-
shouldDecodeNewlines: options.shouldDecodeNewlines,
|
|
221
|
-
shouldDecodeNewlinesForHref: options.shouldDecodeNewlinesForHref,
|
|
222
|
-
shouldKeepComment: options.comments,
|
|
223
|
-
outputSourceRange: options.outputSourceRange,
|
|
224
|
-
start(tag, attrs, unary, start, end) {
|
|
225
|
-
// check namespace.
|
|
226
|
-
// inherit parent ns if there is one
|
|
227
|
-
const ns =
|
|
228
|
-
(currentParent && currentParent.ns) || platformGetTagNamespace(tag)
|
|
229
|
-
|
|
230
|
-
// handle IE svg bug
|
|
231
|
-
/* istanbul ignore if */
|
|
232
|
-
if (isIE && ns === 'svg') {
|
|
233
|
-
attrs = guardIESVGBug(attrs)
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
let element: ASTElement = createASTElement(tag, attrs, currentParent)
|
|
237
|
-
if (ns) {
|
|
238
|
-
element.ns = ns
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
if (__DEV__) {
|
|
242
|
-
if (options.outputSourceRange) {
|
|
243
|
-
element.start = start
|
|
244
|
-
element.end = end
|
|
245
|
-
element.rawAttrsMap = element.attrsList.reduce((cumulated, attr) => {
|
|
246
|
-
cumulated[attr.name] = attr
|
|
247
|
-
return cumulated
|
|
248
|
-
}, {})
|
|
249
|
-
}
|
|
250
|
-
attrs.forEach(attr => {
|
|
251
|
-
if (invalidAttributeRE.test(attr.name)) {
|
|
252
|
-
warn(
|
|
253
|
-
`Invalid dynamic argument expression: attribute names cannot contain ` +
|
|
254
|
-
`spaces, quotes, <, >, / or =.`,
|
|
255
|
-
options.outputSourceRange
|
|
256
|
-
? {
|
|
257
|
-
start: attr.start! + attr.name.indexOf(`[`),
|
|
258
|
-
end: attr.start! + attr.name.length
|
|
259
|
-
}
|
|
260
|
-
: undefined
|
|
261
|
-
)
|
|
262
|
-
}
|
|
263
|
-
})
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
if (isForbiddenTag(element) && !isServerRendering()) {
|
|
267
|
-
element.forbidden = true
|
|
268
|
-
__DEV__ &&
|
|
269
|
-
warn(
|
|
270
|
-
'Templates should only be responsible for mapping the state to the ' +
|
|
271
|
-
'UI. Avoid placing tags with side-effects in your templates, such as ' +
|
|
272
|
-
`<${tag}>` +
|
|
273
|
-
', as they will not be parsed.',
|
|
274
|
-
{ start: element.start }
|
|
275
|
-
)
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
// apply pre-transforms
|
|
279
|
-
for (let i = 0; i < preTransforms.length; i++) {
|
|
280
|
-
element = preTransforms[i](element, options) || element
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
if (!inVPre) {
|
|
284
|
-
processPre(element)
|
|
285
|
-
if (element.pre) {
|
|
286
|
-
inVPre = true
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
if (platformIsPreTag(element.tag)) {
|
|
290
|
-
inPre = true
|
|
291
|
-
}
|
|
292
|
-
if (inVPre) {
|
|
293
|
-
processRawAttrs(element)
|
|
294
|
-
} else if (!element.processed) {
|
|
295
|
-
// structural directives
|
|
296
|
-
processFor(element)
|
|
297
|
-
processIf(element)
|
|
298
|
-
processOnce(element)
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
if (!root) {
|
|
302
|
-
root = element
|
|
303
|
-
if (__DEV__) {
|
|
304
|
-
checkRootConstraints(root)
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
if (!unary) {
|
|
309
|
-
currentParent = element
|
|
310
|
-
stack.push(element)
|
|
311
|
-
} else {
|
|
312
|
-
closeElement(element)
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
|
|
316
|
-
end(tag, start, end) {
|
|
317
|
-
const element = stack[stack.length - 1]
|
|
318
|
-
// pop stack
|
|
319
|
-
stack.length -= 1
|
|
320
|
-
currentParent = stack[stack.length - 1]
|
|
321
|
-
if (__DEV__ && options.outputSourceRange) {
|
|
322
|
-
element.end = end
|
|
323
|
-
}
|
|
324
|
-
closeElement(element)
|
|
325
|
-
},
|
|
326
|
-
|
|
327
|
-
chars(text: string, start?: number, end?: number) {
|
|
328
|
-
if (!currentParent) {
|
|
329
|
-
if (__DEV__) {
|
|
330
|
-
if (text === template) {
|
|
331
|
-
warnOnce(
|
|
332
|
-
'Component template requires a root element, rather than just text.',
|
|
333
|
-
{ start }
|
|
334
|
-
)
|
|
335
|
-
} else if ((text = text.trim())) {
|
|
336
|
-
warnOnce(`text "${text}" outside root element will be ignored.`, {
|
|
337
|
-
start
|
|
338
|
-
})
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
return
|
|
342
|
-
}
|
|
343
|
-
// IE textarea placeholder bug
|
|
344
|
-
/* istanbul ignore if */
|
|
345
|
-
if (
|
|
346
|
-
isIE &&
|
|
347
|
-
currentParent.tag === 'textarea' &&
|
|
348
|
-
currentParent.attrsMap.placeholder === text
|
|
349
|
-
) {
|
|
350
|
-
return
|
|
351
|
-
}
|
|
352
|
-
const children = currentParent.children
|
|
353
|
-
if (inPre || text.trim()) {
|
|
354
|
-
text = isTextTag(currentParent)
|
|
355
|
-
? text
|
|
356
|
-
: (decodeHTMLCached(text) as string)
|
|
357
|
-
} else if (!children.length) {
|
|
358
|
-
// remove the whitespace-only node right after an opening tag
|
|
359
|
-
text = ''
|
|
360
|
-
} else if (whitespaceOption) {
|
|
361
|
-
if (whitespaceOption === 'condense') {
|
|
362
|
-
// in condense mode, remove the whitespace node if it contains
|
|
363
|
-
// line break, otherwise condense to a single space
|
|
364
|
-
text = lineBreakRE.test(text) ? '' : ' '
|
|
365
|
-
} else {
|
|
366
|
-
text = ' '
|
|
367
|
-
}
|
|
368
|
-
} else {
|
|
369
|
-
text = preserveWhitespace ? ' ' : ''
|
|
370
|
-
}
|
|
371
|
-
if (text) {
|
|
372
|
-
if (!inPre && whitespaceOption === 'condense') {
|
|
373
|
-
// condense consecutive whitespaces into single space
|
|
374
|
-
text = text.replace(whitespaceRE, ' ')
|
|
375
|
-
}
|
|
376
|
-
let res
|
|
377
|
-
let child: ASTNode | undefined
|
|
378
|
-
if (!inVPre && text !== ' ' && (res = parseText(text, delimiters))) {
|
|
379
|
-
child = {
|
|
380
|
-
type: 2,
|
|
381
|
-
expression: res.expression,
|
|
382
|
-
tokens: res.tokens,
|
|
383
|
-
text
|
|
384
|
-
}
|
|
385
|
-
} else if (
|
|
386
|
-
text !== ' ' ||
|
|
387
|
-
!children.length ||
|
|
388
|
-
children[children.length - 1].text !== ' '
|
|
389
|
-
) {
|
|
390
|
-
child = {
|
|
391
|
-
type: 3,
|
|
392
|
-
text
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
if (child) {
|
|
396
|
-
if (__DEV__ && options.outputSourceRange) {
|
|
397
|
-
child.start = start
|
|
398
|
-
child.end = end
|
|
399
|
-
}
|
|
400
|
-
children.push(child)
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
comment(text: string, start, end) {
|
|
405
|
-
// adding anything as a sibling to the root node is forbidden
|
|
406
|
-
// comments should still be allowed, but ignored
|
|
407
|
-
if (currentParent) {
|
|
408
|
-
const child: ASTText = {
|
|
409
|
-
type: 3,
|
|
410
|
-
text,
|
|
411
|
-
isComment: true
|
|
412
|
-
}
|
|
413
|
-
if (__DEV__ && options.outputSourceRange) {
|
|
414
|
-
child.start = start
|
|
415
|
-
child.end = end
|
|
416
|
-
}
|
|
417
|
-
currentParent.children.push(child)
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
})
|
|
421
|
-
return root
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
function processPre(el) {
|
|
425
|
-
if (getAndRemoveAttr(el, 'v-pre') != null) {
|
|
426
|
-
el.pre = true
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
function processRawAttrs(el) {
|
|
431
|
-
const list = el.attrsList
|
|
432
|
-
const len = list.length
|
|
433
|
-
if (len) {
|
|
434
|
-
const attrs: Array<ASTAttr> = (el.attrs = new Array(len))
|
|
435
|
-
for (let i = 0; i < len; i++) {
|
|
436
|
-
attrs[i] = {
|
|
437
|
-
name: list[i].name,
|
|
438
|
-
value: JSON.stringify(list[i].value)
|
|
439
|
-
}
|
|
440
|
-
if (list[i].start != null) {
|
|
441
|
-
attrs[i].start = list[i].start
|
|
442
|
-
attrs[i].end = list[i].end
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
} else if (!el.pre) {
|
|
446
|
-
// non root node in pre blocks with no attributes
|
|
447
|
-
el.plain = true
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
export function processElement(element: ASTElement, options: CompilerOptions) {
|
|
452
|
-
processKey(element)
|
|
453
|
-
|
|
454
|
-
// determine whether this is a plain element after
|
|
455
|
-
// removing structural attributes
|
|
456
|
-
element.plain =
|
|
457
|
-
!element.key && !element.scopedSlots && !element.attrsList.length
|
|
458
|
-
|
|
459
|
-
processRef(element)
|
|
460
|
-
processSlotContent(element)
|
|
461
|
-
processSlotOutlet(element)
|
|
462
|
-
processComponent(element)
|
|
463
|
-
for (let i = 0; i < transforms.length; i++) {
|
|
464
|
-
element = transforms[i](element, options) || element
|
|
465
|
-
}
|
|
466
|
-
processAttrs(element)
|
|
467
|
-
return element
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
function processKey(el) {
|
|
471
|
-
const exp = getBindingAttr(el, 'key')
|
|
472
|
-
if (exp) {
|
|
473
|
-
if (__DEV__) {
|
|
474
|
-
if (el.tag === 'template') {
|
|
475
|
-
warn(
|
|
476
|
-
`<template> cannot be keyed. Place the key on real elements instead.`,
|
|
477
|
-
getRawBindingAttr(el, 'key')
|
|
478
|
-
)
|
|
479
|
-
}
|
|
480
|
-
if (el.for) {
|
|
481
|
-
const iterator = el.iterator2 || el.iterator1
|
|
482
|
-
const parent = el.parent
|
|
483
|
-
if (
|
|
484
|
-
iterator &&
|
|
485
|
-
iterator === exp &&
|
|
486
|
-
parent &&
|
|
487
|
-
parent.tag === 'transition-group'
|
|
488
|
-
) {
|
|
489
|
-
warn(
|
|
490
|
-
`Do not use v-for index as key on <transition-group> children, ` +
|
|
491
|
-
`this is the same as not using keys.`,
|
|
492
|
-
getRawBindingAttr(el, 'key'),
|
|
493
|
-
true /* tip */
|
|
494
|
-
)
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
el.key = exp
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
function processRef(el) {
|
|
503
|
-
const ref = getBindingAttr(el, 'ref')
|
|
504
|
-
if (ref) {
|
|
505
|
-
el.ref = ref
|
|
506
|
-
el.refInFor = checkInFor(el)
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
export function processFor(el: ASTElement) {
|
|
511
|
-
let exp
|
|
512
|
-
if ((exp = getAndRemoveAttr(el, 'v-for'))) {
|
|
513
|
-
const res = parseFor(exp)
|
|
514
|
-
if (res) {
|
|
515
|
-
extend(el, res)
|
|
516
|
-
} else if (__DEV__) {
|
|
517
|
-
warn(`Invalid v-for expression: ${exp}`, el.rawAttrsMap['v-for'])
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
type ForParseResult = {
|
|
523
|
-
for: string
|
|
524
|
-
alias: string
|
|
525
|
-
iterator1?: string
|
|
526
|
-
iterator2?: string
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
export function parseFor(exp: string): ForParseResult | undefined {
|
|
530
|
-
const inMatch = exp.match(forAliasRE)
|
|
531
|
-
if (!inMatch) return
|
|
532
|
-
const res: any = {}
|
|
533
|
-
res.for = inMatch[2].trim()
|
|
534
|
-
const alias = inMatch[1].trim().replace(stripParensRE, '')
|
|
535
|
-
const iteratorMatch = alias.match(forIteratorRE)
|
|
536
|
-
if (iteratorMatch) {
|
|
537
|
-
res.alias = alias.replace(forIteratorRE, '').trim()
|
|
538
|
-
res.iterator1 = iteratorMatch[1].trim()
|
|
539
|
-
if (iteratorMatch[2]) {
|
|
540
|
-
res.iterator2 = iteratorMatch[2].trim()
|
|
541
|
-
}
|
|
542
|
-
} else {
|
|
543
|
-
res.alias = alias
|
|
544
|
-
}
|
|
545
|
-
return res
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
function processIf(el) {
|
|
549
|
-
const exp = getAndRemoveAttr(el, 'v-if')
|
|
550
|
-
if (exp) {
|
|
551
|
-
el.if = exp
|
|
552
|
-
addIfCondition(el, {
|
|
553
|
-
exp: exp,
|
|
554
|
-
block: el
|
|
555
|
-
})
|
|
556
|
-
} else {
|
|
557
|
-
if (getAndRemoveAttr(el, 'v-else') != null) {
|
|
558
|
-
el.else = true
|
|
559
|
-
}
|
|
560
|
-
const elseif = getAndRemoveAttr(el, 'v-else-if')
|
|
561
|
-
if (elseif) {
|
|
562
|
-
el.elseif = elseif
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
function processIfConditions(el, parent) {
|
|
568
|
-
const prev = findPrevElement(parent.children)
|
|
569
|
-
if (prev && prev.if) {
|
|
570
|
-
addIfCondition(prev, {
|
|
571
|
-
exp: el.elseif,
|
|
572
|
-
block: el
|
|
573
|
-
})
|
|
574
|
-
} else if (__DEV__) {
|
|
575
|
-
warn(
|
|
576
|
-
`v-${el.elseif ? 'else-if="' + el.elseif + '"' : 'else'} ` +
|
|
577
|
-
`used on element <${el.tag}> without corresponding v-if.`,
|
|
578
|
-
el.rawAttrsMap[el.elseif ? 'v-else-if' : 'v-else']
|
|
579
|
-
)
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
function findPrevElement(children: Array<any>): ASTElement | void {
|
|
584
|
-
let i = children.length
|
|
585
|
-
while (i--) {
|
|
586
|
-
if (children[i].type === 1) {
|
|
587
|
-
return children[i]
|
|
588
|
-
} else {
|
|
589
|
-
if (__DEV__ && children[i].text !== ' ') {
|
|
590
|
-
warn(
|
|
591
|
-
`text "${children[i].text.trim()}" between v-if and v-else(-if) ` +
|
|
592
|
-
`will be ignored.`,
|
|
593
|
-
children[i]
|
|
594
|
-
)
|
|
595
|
-
}
|
|
596
|
-
children.pop()
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
export function addIfCondition(el: ASTElement, condition: ASTIfCondition) {
|
|
602
|
-
if (!el.ifConditions) {
|
|
603
|
-
el.ifConditions = []
|
|
604
|
-
}
|
|
605
|
-
el.ifConditions.push(condition)
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
function processOnce(el) {
|
|
609
|
-
const once = getAndRemoveAttr(el, 'v-once')
|
|
610
|
-
if (once != null) {
|
|
611
|
-
el.once = true
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
// handle content being passed to a component as slot,
|
|
616
|
-
// e.g. <template slot="xxx">, <div slot-scope="xxx">
|
|
617
|
-
function processSlotContent(el) {
|
|
618
|
-
let slotScope
|
|
619
|
-
if (el.tag === 'template') {
|
|
620
|
-
slotScope = getAndRemoveAttr(el, 'scope')
|
|
621
|
-
/* istanbul ignore if */
|
|
622
|
-
if (__DEV__ && slotScope) {
|
|
623
|
-
warn(
|
|
624
|
-
`the "scope" attribute for scoped slots have been deprecated and ` +
|
|
625
|
-
`replaced by "slot-scope" since 2.5. The new "slot-scope" attribute ` +
|
|
626
|
-
`can also be used on plain elements in addition to <template> to ` +
|
|
627
|
-
`denote scoped slots.`,
|
|
628
|
-
el.rawAttrsMap['scope'],
|
|
629
|
-
true
|
|
630
|
-
)
|
|
631
|
-
}
|
|
632
|
-
el.slotScope = slotScope || getAndRemoveAttr(el, 'slot-scope')
|
|
633
|
-
} else if ((slotScope = getAndRemoveAttr(el, 'slot-scope'))) {
|
|
634
|
-
/* istanbul ignore if */
|
|
635
|
-
if (__DEV__ && el.attrsMap['v-for']) {
|
|
636
|
-
warn(
|
|
637
|
-
`Ambiguous combined usage of slot-scope and v-for on <${el.tag}> ` +
|
|
638
|
-
`(v-for takes higher priority). Use a wrapper <template> for the ` +
|
|
639
|
-
`scoped slot to make it clearer.`,
|
|
640
|
-
el.rawAttrsMap['slot-scope'],
|
|
641
|
-
true
|
|
642
|
-
)
|
|
643
|
-
}
|
|
644
|
-
el.slotScope = slotScope
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
// slot="xxx"
|
|
648
|
-
const slotTarget = getBindingAttr(el, 'slot')
|
|
649
|
-
if (slotTarget) {
|
|
650
|
-
el.slotTarget = slotTarget === '""' ? '"default"' : slotTarget
|
|
651
|
-
el.slotTargetDynamic = !!(
|
|
652
|
-
el.attrsMap[':slot'] || el.attrsMap['v-bind:slot']
|
|
653
|
-
)
|
|
654
|
-
// preserve slot as an attribute for native shadow DOM compat
|
|
655
|
-
// only for non-scoped slots.
|
|
656
|
-
if (el.tag !== 'template' && !el.slotScope) {
|
|
657
|
-
addAttr(el, 'slot', slotTarget, getRawBindingAttr(el, 'slot'))
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
// 2.6 v-slot syntax
|
|
662
|
-
if (process.env.NEW_SLOT_SYNTAX) {
|
|
663
|
-
if (el.tag === 'template') {
|
|
664
|
-
// v-slot on <template>
|
|
665
|
-
const slotBinding = getAndRemoveAttrByRegex(el, slotRE)
|
|
666
|
-
if (slotBinding) {
|
|
667
|
-
if (__DEV__) {
|
|
668
|
-
if (el.slotTarget || el.slotScope) {
|
|
669
|
-
warn(`Unexpected mixed usage of different slot syntaxes.`, el)
|
|
670
|
-
}
|
|
671
|
-
if (el.parent && !maybeComponent(el.parent)) {
|
|
672
|
-
warn(
|
|
673
|
-
`<template v-slot> can only appear at the root level inside ` +
|
|
674
|
-
`the receiving component`,
|
|
675
|
-
el
|
|
676
|
-
)
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
const { name, dynamic } = getSlotName(slotBinding)
|
|
680
|
-
el.slotTarget = name
|
|
681
|
-
el.slotTargetDynamic = dynamic
|
|
682
|
-
el.slotScope = slotBinding.value || emptySlotScopeToken // force it into a scoped slot for perf
|
|
683
|
-
}
|
|
684
|
-
} else {
|
|
685
|
-
// v-slot on component, denotes default slot
|
|
686
|
-
const slotBinding = getAndRemoveAttrByRegex(el, slotRE)
|
|
687
|
-
if (slotBinding) {
|
|
688
|
-
if (__DEV__) {
|
|
689
|
-
if (!maybeComponent(el)) {
|
|
690
|
-
warn(
|
|
691
|
-
`v-slot can only be used on components or <template>.`,
|
|
692
|
-
slotBinding
|
|
693
|
-
)
|
|
694
|
-
}
|
|
695
|
-
if (el.slotScope || el.slotTarget) {
|
|
696
|
-
warn(`Unexpected mixed usage of different slot syntaxes.`, el)
|
|
697
|
-
}
|
|
698
|
-
if (el.scopedSlots) {
|
|
699
|
-
warn(
|
|
700
|
-
`To avoid scope ambiguity, the default slot should also use ` +
|
|
701
|
-
`<template> syntax when there are other named slots.`,
|
|
702
|
-
slotBinding
|
|
703
|
-
)
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
// add the component's children to its default slot
|
|
707
|
-
const slots = el.scopedSlots || (el.scopedSlots = {})
|
|
708
|
-
const { name, dynamic } = getSlotName(slotBinding)
|
|
709
|
-
const slotContainer = (slots[name] = createASTElement(
|
|
710
|
-
'template',
|
|
711
|
-
[],
|
|
712
|
-
el
|
|
713
|
-
))
|
|
714
|
-
slotContainer.slotTarget = name
|
|
715
|
-
slotContainer.slotTargetDynamic = dynamic
|
|
716
|
-
slotContainer.children = el.children.filter((c: any) => {
|
|
717
|
-
if (!c.slotScope) {
|
|
718
|
-
c.parent = slotContainer
|
|
719
|
-
return true
|
|
720
|
-
}
|
|
721
|
-
})
|
|
722
|
-
slotContainer.slotScope = slotBinding.value || emptySlotScopeToken
|
|
723
|
-
// remove children as they are returned from scopedSlots now
|
|
724
|
-
el.children = []
|
|
725
|
-
// mark el non-plain so data gets generated
|
|
726
|
-
el.plain = false
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
function getSlotName(binding) {
|
|
733
|
-
let name = binding.name.replace(slotRE, '')
|
|
734
|
-
if (!name) {
|
|
735
|
-
if (binding.name[0] !== '#') {
|
|
736
|
-
name = 'default'
|
|
737
|
-
} else if (__DEV__) {
|
|
738
|
-
warn(`v-slot shorthand syntax requires a slot name.`, binding)
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
return dynamicArgRE.test(name)
|
|
742
|
-
? // dynamic [name]
|
|
743
|
-
{ name: name.slice(1, -1), dynamic: true }
|
|
744
|
-
: // static name
|
|
745
|
-
{ name: `"${name}"`, dynamic: false }
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
// handle <slot/> outlets
|
|
749
|
-
function processSlotOutlet(el) {
|
|
750
|
-
if (el.tag === 'slot') {
|
|
751
|
-
el.slotName = getBindingAttr(el, 'name')
|
|
752
|
-
if (__DEV__ && el.key) {
|
|
753
|
-
warn(
|
|
754
|
-
`\`key\` does not work on <slot> because slots are abstract outlets ` +
|
|
755
|
-
`and can possibly expand into multiple elements. ` +
|
|
756
|
-
`Use the key on a wrapping element instead.`,
|
|
757
|
-
getRawBindingAttr(el, 'key')
|
|
758
|
-
)
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
function processComponent(el) {
|
|
764
|
-
let binding
|
|
765
|
-
if ((binding = getBindingAttr(el, 'is'))) {
|
|
766
|
-
el.component = binding
|
|
767
|
-
}
|
|
768
|
-
if (getAndRemoveAttr(el, 'inline-template') != null) {
|
|
769
|
-
el.inlineTemplate = true
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
function processAttrs(el) {
|
|
774
|
-
const list = el.attrsList
|
|
775
|
-
let i, l, name, rawName, value, modifiers, syncGen, isDynamic
|
|
776
|
-
for (i = 0, l = list.length; i < l; i++) {
|
|
777
|
-
name = rawName = list[i].name
|
|
778
|
-
value = list[i].value
|
|
779
|
-
if (dirRE.test(name)) {
|
|
780
|
-
// mark element as dynamic
|
|
781
|
-
el.hasBindings = true
|
|
782
|
-
// modifiers
|
|
783
|
-
modifiers = parseModifiers(name.replace(dirRE, ''))
|
|
784
|
-
// support .foo shorthand syntax for the .prop modifier
|
|
785
|
-
if (process.env.VBIND_PROP_SHORTHAND && propBindRE.test(name)) {
|
|
786
|
-
;(modifiers || (modifiers = {})).prop = true
|
|
787
|
-
name = `.` + name.slice(1).replace(modifierRE, '')
|
|
788
|
-
} else if (modifiers) {
|
|
789
|
-
name = name.replace(modifierRE, '')
|
|
790
|
-
}
|
|
791
|
-
if (bindRE.test(name)) {
|
|
792
|
-
// v-bind
|
|
793
|
-
name = name.replace(bindRE, '')
|
|
794
|
-
value = parseFilters(value)
|
|
795
|
-
isDynamic = dynamicArgRE.test(name)
|
|
796
|
-
if (isDynamic) {
|
|
797
|
-
name = name.slice(1, -1)
|
|
798
|
-
}
|
|
799
|
-
if (__DEV__ && value.trim().length === 0) {
|
|
800
|
-
warn(
|
|
801
|
-
`The value for a v-bind expression cannot be empty. Found in "v-bind:${name}"`
|
|
802
|
-
)
|
|
803
|
-
}
|
|
804
|
-
if (modifiers) {
|
|
805
|
-
if (modifiers.prop && !isDynamic) {
|
|
806
|
-
name = camelize(name)
|
|
807
|
-
if (name === 'innerHtml') name = 'innerHTML'
|
|
808
|
-
}
|
|
809
|
-
if (modifiers.camel && !isDynamic) {
|
|
810
|
-
name = camelize(name)
|
|
811
|
-
}
|
|
812
|
-
if (modifiers.sync) {
|
|
813
|
-
syncGen = genAssignmentCode(value, `$event`)
|
|
814
|
-
if (!isDynamic) {
|
|
815
|
-
addHandler(
|
|
816
|
-
el,
|
|
817
|
-
`update:${camelize(name)}`,
|
|
818
|
-
syncGen,
|
|
819
|
-
null,
|
|
820
|
-
false,
|
|
821
|
-
warn,
|
|
822
|
-
list[i]
|
|
823
|
-
)
|
|
824
|
-
if (hyphenate(name) !== camelize(name)) {
|
|
825
|
-
addHandler(
|
|
826
|
-
el,
|
|
827
|
-
`update:${hyphenate(name)}`,
|
|
828
|
-
syncGen,
|
|
829
|
-
null,
|
|
830
|
-
false,
|
|
831
|
-
warn,
|
|
832
|
-
list[i]
|
|
833
|
-
)
|
|
834
|
-
}
|
|
835
|
-
} else {
|
|
836
|
-
// handler w/ dynamic event name
|
|
837
|
-
addHandler(
|
|
838
|
-
el,
|
|
839
|
-
`"update:"+(${name})`,
|
|
840
|
-
syncGen,
|
|
841
|
-
null,
|
|
842
|
-
false,
|
|
843
|
-
warn,
|
|
844
|
-
list[i],
|
|
845
|
-
true // dynamic
|
|
846
|
-
)
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
if (
|
|
851
|
-
(modifiers && modifiers.prop) ||
|
|
852
|
-
(!el.component && platformMustUseProp(el.tag, el.attrsMap.type, name))
|
|
853
|
-
) {
|
|
854
|
-
addProp(el, name, value, list[i], isDynamic)
|
|
855
|
-
} else {
|
|
856
|
-
addAttr(el, name, value, list[i], isDynamic)
|
|
857
|
-
}
|
|
858
|
-
} else if (onRE.test(name)) {
|
|
859
|
-
// v-on
|
|
860
|
-
name = name.replace(onRE, '')
|
|
861
|
-
isDynamic = dynamicArgRE.test(name)
|
|
862
|
-
if (isDynamic) {
|
|
863
|
-
name = name.slice(1, -1)
|
|
864
|
-
}
|
|
865
|
-
addHandler(el, name, value, modifiers, false, warn, list[i], isDynamic)
|
|
866
|
-
} else {
|
|
867
|
-
// normal directives
|
|
868
|
-
name = name.replace(dirRE, '')
|
|
869
|
-
// parse arg
|
|
870
|
-
const argMatch = name.match(argRE)
|
|
871
|
-
let arg = argMatch && argMatch[1]
|
|
872
|
-
isDynamic = false
|
|
873
|
-
if (arg) {
|
|
874
|
-
name = name.slice(0, -(arg.length + 1))
|
|
875
|
-
if (dynamicArgRE.test(arg)) {
|
|
876
|
-
arg = arg.slice(1, -1)
|
|
877
|
-
isDynamic = true
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
addDirective(
|
|
881
|
-
el,
|
|
882
|
-
name,
|
|
883
|
-
rawName,
|
|
884
|
-
value,
|
|
885
|
-
arg,
|
|
886
|
-
isDynamic,
|
|
887
|
-
modifiers,
|
|
888
|
-
list[i]
|
|
889
|
-
)
|
|
890
|
-
if (__DEV__ && name === 'model') {
|
|
891
|
-
checkForAliasModel(el, value)
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
} else {
|
|
895
|
-
// literal attribute
|
|
896
|
-
if (__DEV__) {
|
|
897
|
-
const res = parseText(value, delimiters)
|
|
898
|
-
if (res) {
|
|
899
|
-
warn(
|
|
900
|
-
`${name}="${value}": ` +
|
|
901
|
-
'Interpolation inside attributes has been removed. ' +
|
|
902
|
-
'Use v-bind or the colon shorthand instead. For example, ' +
|
|
903
|
-
'instead of <div id="{{ val }}">, use <div :id="val">.',
|
|
904
|
-
list[i]
|
|
905
|
-
)
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
addAttr(el, name, JSON.stringify(value), list[i])
|
|
909
|
-
// #6887 firefox doesn't update muted state if set via attribute
|
|
910
|
-
// even immediately after element creation
|
|
911
|
-
if (
|
|
912
|
-
!el.component &&
|
|
913
|
-
name === 'muted' &&
|
|
914
|
-
platformMustUseProp(el.tag, el.attrsMap.type, name)
|
|
915
|
-
) {
|
|
916
|
-
addProp(el, name, 'true', list[i])
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
function checkInFor(el: ASTElement): boolean {
|
|
923
|
-
let parent: ASTElement | void = el
|
|
924
|
-
while (parent) {
|
|
925
|
-
if (parent.for !== undefined) {
|
|
926
|
-
return true
|
|
927
|
-
}
|
|
928
|
-
parent = parent.parent
|
|
929
|
-
}
|
|
930
|
-
return false
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
function parseModifiers(name: string): Object | void {
|
|
934
|
-
const match = name.match(modifierRE)
|
|
935
|
-
if (match) {
|
|
936
|
-
const ret = {}
|
|
937
|
-
match.forEach(m => {
|
|
938
|
-
ret[m.slice(1)] = true
|
|
939
|
-
})
|
|
940
|
-
return ret
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
function makeAttrsMap(attrs: Array<Record<string, any>>): Record<string, any> {
|
|
945
|
-
const map = {}
|
|
946
|
-
for (let i = 0, l = attrs.length; i < l; i++) {
|
|
947
|
-
if (__DEV__ && map[attrs[i].name] && !isIE && !isEdge) {
|
|
948
|
-
warn('duplicate attribute: ' + attrs[i].name, attrs[i])
|
|
949
|
-
}
|
|
950
|
-
map[attrs[i].name] = attrs[i].value
|
|
951
|
-
}
|
|
952
|
-
return map
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
// for script (e.g. type="x/template") or style, do not decode content
|
|
956
|
-
function isTextTag(el): boolean {
|
|
957
|
-
return el.tag === 'script' || el.tag === 'style'
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
function isForbiddenTag(el): boolean {
|
|
961
|
-
return (
|
|
962
|
-
el.tag === 'style' ||
|
|
963
|
-
(el.tag === 'script' &&
|
|
964
|
-
(!el.attrsMap.type || el.attrsMap.type === 'text/javascript'))
|
|
965
|
-
)
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
const ieNSBug = /^xmlns:NS\d+/
|
|
969
|
-
const ieNSPrefix = /^NS\d+:/
|
|
970
|
-
|
|
971
|
-
/* istanbul ignore next */
|
|
972
|
-
function guardIESVGBug(attrs) {
|
|
973
|
-
const res: any[] = []
|
|
974
|
-
for (let i = 0; i < attrs.length; i++) {
|
|
975
|
-
const attr = attrs[i]
|
|
976
|
-
if (!ieNSBug.test(attr.name)) {
|
|
977
|
-
attr.name = attr.name.replace(ieNSPrefix, '')
|
|
978
|
-
res.push(attr)
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
return res
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
function checkForAliasModel(el, value) {
|
|
985
|
-
let _el = el
|
|
986
|
-
while (_el) {
|
|
987
|
-
if (_el.for && _el.alias === value) {
|
|
988
|
-
warn(
|
|
989
|
-
`<${el.tag} v-model="${value}">: ` +
|
|
990
|
-
`You are binding v-model directly to a v-for iteration alias. ` +
|
|
991
|
-
`This will not be able to modify the v-for source array because ` +
|
|
992
|
-
`writing to the alias is like modifying a function local variable. ` +
|
|
993
|
-
`Consider using an array of objects and use v-model on an object property instead.`,
|
|
994
|
-
el.rawAttrsMap['v-model']
|
|
995
|
-
)
|
|
996
|
-
}
|
|
997
|
-
_el = _el.parent
|
|
998
|
-
}
|
|
999
|
-
}
|