@builder.io/sdk-qwik 0.16.6 → 0.16.9
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/README.md +1 -1
- package/lib/browser/blocks/accordion/accordion.qwik.cjs +215 -0
- package/lib/browser/blocks/accordion/accordion.qwik.mjs +215 -0
- package/lib/browser/blocks/accordion/component-info.qwik.cjs +159 -0
- package/lib/browser/blocks/accordion/component-info.qwik.mjs +159 -0
- package/lib/browser/blocks/accordion/helpers.qwik.cjs +6 -0
- package/lib/browser/blocks/accordion/helpers.qwik.mjs +6 -0
- package/lib/browser/blocks/button/button.qwik.cjs +39 -0
- package/lib/browser/blocks/button/button.qwik.mjs +39 -0
- package/lib/browser/blocks/button/component-info.qwik.cjs +44 -0
- package/lib/browser/blocks/button/component-info.qwik.mjs +44 -0
- package/lib/browser/blocks/columns/columns.qwik.cjs +208 -0
- package/lib/browser/blocks/columns/columns.qwik.mjs +208 -0
- package/lib/browser/blocks/columns/component-info.qwik.cjs +251 -0
- package/lib/browser/blocks/columns/component-info.qwik.mjs +251 -0
- package/lib/browser/blocks/columns/helpers.qwik.cjs +6 -0
- package/lib/browser/blocks/columns/helpers.qwik.mjs +6 -0
- package/lib/browser/blocks/custom-code/component-info.qwik.cjs +32 -0
- package/lib/browser/blocks/custom-code/component-info.qwik.mjs +32 -0
- package/lib/browser/blocks/custom-code/custom-code.qwik.cjs +55 -0
- package/lib/browser/blocks/custom-code/custom-code.qwik.mjs +55 -0
- package/lib/browser/blocks/embed/component-info.qwik.cjs +22 -0
- package/lib/browser/blocks/embed/component-info.qwik.mjs +22 -0
- package/lib/browser/blocks/embed/embed.qwik.cjs +57 -0
- package/lib/browser/blocks/embed/embed.qwik.mjs +57 -0
- package/lib/browser/blocks/embed/helpers.qwik.cjs +9 -0
- package/lib/browser/blocks/embed/helpers.qwik.mjs +9 -0
- package/lib/browser/blocks/form/form/component-info.qwik.cjs +281 -0
- package/lib/browser/blocks/form/form/component-info.qwik.mjs +281 -0
- package/lib/browser/blocks/form/form/form.qwik.cjs +304 -0
- package/lib/browser/blocks/form/form/form.qwik.mjs +304 -0
- package/lib/browser/blocks/form/input/component-info.qwik.cjs +74 -0
- package/lib/browser/blocks/form/input/component-info.qwik.mjs +74 -0
- package/lib/browser/blocks/form/input/input.qwik.cjs +18 -0
- package/lib/browser/blocks/form/input/input.qwik.mjs +18 -0
- package/lib/browser/blocks/form/select/component-info.qwik.cjs +58 -0
- package/lib/browser/blocks/form/select/component-info.qwik.mjs +58 -0
- package/lib/browser/blocks/form/select/select.qwik.cjs +20 -0
- package/lib/browser/blocks/form/select/select.qwik.mjs +20 -0
- package/lib/browser/blocks/form/submit-button/component-info.qwik.cjs +27 -0
- package/lib/browser/blocks/form/submit-button/component-info.qwik.mjs +27 -0
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.cjs +15 -0
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.mjs +15 -0
- package/lib/browser/blocks/form/textarea/component-info.qwik.cjs +46 -0
- package/lib/browser/blocks/form/textarea/component-info.qwik.mjs +46 -0
- package/lib/browser/blocks/form/textarea/textarea.qwik.cjs +26 -0
- package/lib/browser/blocks/form/textarea/textarea.qwik.mjs +26 -0
- package/lib/browser/blocks/fragment/component-info.qwik.cjs +10 -0
- package/lib/browser/blocks/fragment/component-info.qwik.mjs +10 -0
- package/lib/browser/blocks/fragment/fragment.qwik.cjs +8 -0
- package/lib/browser/blocks/fragment/fragment.qwik.mjs +8 -0
- package/lib/browser/blocks/image/component-info.qwik.cjs +161 -0
- package/lib/browser/blocks/image/component-info.qwik.mjs +161 -0
- package/lib/browser/blocks/image/image.helpers.qwik.cjs +57 -0
- package/lib/browser/blocks/image/image.helpers.qwik.mjs +57 -0
- package/lib/browser/blocks/image/image.qwik.cjs +140 -0
- package/lib/browser/blocks/image/image.qwik.mjs +140 -0
- package/lib/browser/blocks/img/component-info.qwik.cjs +27 -0
- package/lib/browser/blocks/img/component-info.qwik.mjs +27 -0
- package/lib/browser/blocks/img/img.qwik.cjs +24 -0
- package/lib/browser/blocks/img/img.qwik.mjs +24 -0
- package/lib/browser/blocks/section/component-info.qwik.cjs +48 -0
- package/lib/browser/blocks/section/component-info.qwik.mjs +48 -0
- package/lib/browser/blocks/section/section.qwik.cjs +23 -0
- package/lib/browser/blocks/section/section.qwik.mjs +23 -0
- package/lib/browser/blocks/slot/component-info.qwik.cjs +23 -0
- package/lib/browser/blocks/slot/component-info.qwik.mjs +23 -0
- package/lib/browser/blocks/slot/slot.qwik.cjs +52 -0
- package/lib/browser/blocks/slot/slot.qwik.mjs +52 -0
- package/lib/browser/blocks/symbol/component-info.qwik.cjs +49 -0
- package/lib/browser/blocks/symbol/component-info.qwik.mjs +49 -0
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.cjs +23 -0
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.mjs +23 -0
- package/lib/browser/blocks/symbol/symbol.qwik.cjs +167 -0
- package/lib/browser/blocks/symbol/symbol.qwik.mjs +167 -0
- package/lib/browser/blocks/tabs/component-info.qwik.cjs +177 -0
- package/lib/browser/blocks/tabs/component-info.qwik.mjs +177 -0
- package/lib/browser/blocks/tabs/tabs.qwik.cjs +118 -0
- package/lib/browser/blocks/tabs/tabs.qwik.mjs +118 -0
- package/lib/browser/blocks/text/component-info.qwik.cjs +28 -0
- package/lib/browser/blocks/text/component-info.qwik.mjs +28 -0
- package/lib/browser/blocks/text/text.qwik.cjs +33 -0
- package/lib/browser/blocks/text/text.qwik.mjs +33 -0
- package/lib/browser/blocks/video/component-info.qwik.cjs +128 -0
- package/lib/browser/blocks/video/component-info.qwik.mjs +128 -0
- package/lib/browser/blocks/video/video.qwik.cjs +109 -0
- package/lib/browser/blocks/video/video.qwik.mjs +109 -0
- package/lib/browser/components/block/animator.qwik.cjs +171 -0
- package/lib/browser/components/block/animator.qwik.mjs +171 -0
- package/lib/browser/components/block/block.helpers.qwik.cjs +86 -0
- package/lib/browser/components/block/block.helpers.qwik.mjs +86 -0
- package/lib/browser/components/block/block.qwik.cjs +371 -0
- package/lib/browser/components/block/block.qwik.mjs +371 -0
- package/lib/browser/components/block/components/block-styles.qwik.cjs +94 -0
- package/lib/browser/components/block/components/block-styles.qwik.mjs +94 -0
- package/lib/browser/components/block/components/block-wrapper.qwik.cjs +33 -0
- package/lib/browser/components/block/components/block-wrapper.qwik.mjs +33 -0
- package/lib/browser/components/block/components/component-ref/component-ref.helpers.qwik.cjs +27 -0
- package/lib/browser/components/block/components/component-ref/component-ref.helpers.qwik.mjs +27 -0
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.cjs +53 -0
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.mjs +53 -0
- package/lib/browser/components/block/components/interactive-element.qwik.cjs +39 -0
- package/lib/browser/components/block/components/interactive-element.qwik.mjs +39 -0
- package/lib/browser/components/block/components/repeated-block.qwik.cjs +41 -0
- package/lib/browser/components/block/components/repeated-block.qwik.mjs +41 -0
- package/lib/browser/components/blocks/blocks-wrapper.qwik.cjs +111 -0
- package/lib/browser/components/blocks/blocks-wrapper.qwik.mjs +111 -0
- package/lib/browser/components/blocks/blocks.qwik.cjs +90 -0
- package/lib/browser/components/blocks/blocks.qwik.mjs +90 -0
- package/lib/browser/components/content/components/enable-editor.qwik.cjs +405 -0
- package/lib/browser/components/content/components/enable-editor.qwik.mjs +405 -0
- package/lib/browser/components/content/components/styles.helpers.qwik.cjs +74 -0
- package/lib/browser/components/content/components/styles.helpers.qwik.mjs +74 -0
- package/lib/browser/components/content/components/styles.qwik.cjs +39 -0
- package/lib/browser/components/content/components/styles.qwik.mjs +39 -0
- package/lib/browser/components/content/content.helpers.qwik.cjs +31 -0
- package/lib/browser/components/content/content.helpers.qwik.mjs +31 -0
- package/lib/browser/components/content/content.qwik.cjs +267 -0
- package/lib/browser/components/content/content.qwik.mjs +267 -0
- package/lib/browser/components/content-variants/content-variants.qwik.cjs +349 -0
- package/lib/browser/components/content-variants/content-variants.qwik.mjs +349 -0
- package/lib/browser/components/content-variants/helpers.qwik.cjs +40 -0
- package/lib/browser/components/content-variants/helpers.qwik.mjs +40 -0
- package/lib/browser/components/content-variants/inlined-fns.qwik.cjs +6 -0
- package/lib/browser/components/content-variants/inlined-fns.qwik.mjs +6 -0
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.helpers.qwik.cjs +23 -0
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.helpers.qwik.mjs +23 -0
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.cjs +24 -0
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.mjs +24 -0
- package/lib/browser/components/inlined-script.qwik.cjs +18 -0
- package/lib/browser/components/inlined-script.qwik.mjs +18 -0
- package/lib/browser/components/inlined-styles.qwik.cjs +18 -0
- package/lib/browser/components/inlined-styles.qwik.mjs +18 -0
- package/lib/browser/constants/builder-registered-components.qwik.cjs +69 -0
- package/lib/browser/constants/builder-registered-components.qwik.mjs +69 -0
- package/lib/browser/constants/device-sizes.qwik.cjs +48 -0
- package/lib/browser/constants/device-sizes.qwik.mjs +48 -0
- package/lib/browser/constants/extra-components.qwik.cjs +61 -0
- package/lib/browser/constants/extra-components.qwik.mjs +61 -0
- package/lib/browser/constants/sdk-name.qwik.cjs +15 -0
- package/lib/browser/constants/sdk-name.qwik.mjs +15 -0
- package/lib/browser/constants/sdk-version.qwik.cjs +4 -0
- package/lib/browser/constants/sdk-version.qwik.mjs +4 -0
- package/lib/browser/constants/target.qwik.cjs +4 -0
- package/lib/browser/constants/target.qwik.mjs +4 -0
- package/lib/browser/context/builder.context.qwik.cjs +4 -0
- package/lib/browser/context/builder.context.qwik.mjs +5 -0
- package/lib/browser/context/components.context.qwik.cjs +4 -0
- package/lib/browser/context/components.context.qwik.mjs +5 -0
- package/lib/browser/functions/camel-to-kebab-case.qwik.cjs +4 -0
- package/lib/browser/functions/camel-to-kebab-case.qwik.mjs +4 -0
- package/lib/browser/functions/deopt.qwik.cjs +6 -0
- package/lib/browser/functions/deopt.qwik.mjs +6 -0
- package/lib/browser/functions/evaluate/browser-runtime/browser.qwik.cjs +44 -0
- package/lib/browser/functions/evaluate/browser-runtime/browser.qwik.mjs +44 -0
- package/lib/browser/functions/evaluate/choose-eval.qwik.cjs +7 -0
- package/lib/browser/functions/evaluate/choose-eval.qwik.mjs +7 -0
- package/lib/browser/functions/evaluate/evaluate.qwik.cjs +65 -0
- package/lib/browser/functions/evaluate/evaluate.qwik.mjs +65 -0
- package/lib/browser/functions/evaluate/helpers.qwik.cjs +32 -0
- package/lib/browser/functions/evaluate/helpers.qwik.mjs +32 -0
- package/lib/browser/functions/evaluate/node-runtime/init.qwik.cjs +9 -0
- package/lib/browser/functions/evaluate/node-runtime/init.qwik.mjs +9 -0
- package/lib/browser/functions/evaluate/node-runtime/node-runtime.qwik.cjs +47 -0
- package/lib/browser/functions/evaluate/node-runtime/node-runtime.qwik.mjs +47 -0
- package/lib/{node/node-evaluate-4014c795.cjs → browser/functions/evaluate/node-runtime/safeDynamicRequire.qwik.cjs} +2 -1
- package/lib/{node/node-evaluate-db446d2b.js → browser/functions/evaluate/node-runtime/safeDynamicRequire.qwik.mjs} +1 -1
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +21 -0
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +21 -0
- package/lib/browser/functions/event-handler-name.qwik.cjs +7 -0
- package/lib/browser/functions/event-handler-name.qwik.mjs +7 -0
- package/lib/browser/functions/fast-clone.qwik.cjs +4 -0
- package/lib/browser/functions/fast-clone.qwik.mjs +4 -0
- package/lib/browser/functions/fetch-builder-props.qwik.cjs +26 -0
- package/lib/browser/functions/fetch-builder-props.qwik.mjs +26 -0
- package/lib/browser/functions/get-block-actions-handler.qwik.cjs +22 -0
- package/lib/browser/functions/get-block-actions-handler.qwik.mjs +22 -0
- package/lib/browser/functions/get-block-actions.qwik.cjs +27 -0
- package/lib/browser/functions/get-block-actions.qwik.mjs +27 -0
- package/lib/browser/functions/get-block-component-options.qwik.cjs +10 -0
- package/lib/browser/functions/get-block-component-options.qwik.mjs +10 -0
- package/lib/browser/functions/get-block-properties.qwik.cjs +34 -0
- package/lib/browser/functions/get-block-properties.qwik.mjs +34 -0
- package/lib/browser/functions/get-builder-search-params/index.qwik.cjs +27 -0
- package/lib/browser/functions/get-builder-search-params/index.qwik.mjs +27 -0
- package/lib/browser/functions/get-class-prop-name.qwik.cjs +18 -0
- package/lib/browser/functions/get-class-prop-name.qwik.mjs +18 -0
- package/lib/browser/functions/get-content/generate-content-url.qwik.cjs +62 -0
- package/lib/browser/functions/get-content/generate-content-url.qwik.mjs +62 -0
- package/lib/browser/functions/get-content/index.qwik.cjs +67 -0
- package/lib/browser/functions/get-content/index.qwik.mjs +67 -0
- package/lib/browser/functions/get-env.qwik.cjs +20 -0
- package/lib/browser/functions/get-env.qwik.mjs +20 -0
- package/lib/browser/functions/get-fetch.qwik.cjs +14 -0
- package/lib/browser/functions/get-fetch.qwik.mjs +14 -0
- package/lib/browser/functions/get-global-this.qwik.cjs +14 -0
- package/lib/browser/functions/get-global-this.qwik.mjs +14 -0
- package/lib/browser/functions/get-processed-block.qwik.cjs +89 -0
- package/lib/browser/functions/get-processed-block.qwik.mjs +89 -0
- package/lib/browser/functions/get-style.qwik.cjs +28 -0
- package/lib/browser/functions/get-style.qwik.mjs +28 -0
- package/lib/browser/functions/get.qwik.cjs +7 -0
- package/lib/browser/functions/get.qwik.mjs +7 -0
- package/lib/browser/functions/is-browser.qwik.cjs +6 -0
- package/lib/browser/functions/is-browser.qwik.mjs +6 -0
- package/lib/browser/functions/is-editing.qwik.cjs +9 -0
- package/lib/browser/functions/is-editing.qwik.mjs +9 -0
- package/lib/browser/functions/is-from-trusted-host.qwik.cjs +16 -0
- package/lib/browser/functions/is-from-trusted-host.qwik.mjs +16 -0
- package/lib/browser/functions/is-iframe.qwik.cjs +7 -0
- package/lib/browser/functions/is-iframe.qwik.mjs +7 -0
- package/lib/browser/functions/is-node-runtime.qwik.cjs +8 -0
- package/lib/browser/functions/is-node-runtime.qwik.mjs +8 -0
- package/lib/browser/functions/is-previewing.qwik.cjs +12 -0
- package/lib/browser/functions/is-previewing.qwik.mjs +12 -0
- package/lib/browser/functions/register-component.qwik.cjs +20 -0
- package/lib/browser/functions/register-component.qwik.mjs +20 -0
- package/lib/browser/functions/register.qwik.cjs +30 -0
- package/lib/browser/functions/register.qwik.mjs +30 -0
- package/lib/browser/functions/set-editor-settings.qwik.cjs +15 -0
- package/lib/browser/functions/set-editor-settings.qwik.mjs +15 -0
- package/lib/browser/functions/set.qwik.cjs +10 -0
- package/lib/browser/functions/set.qwik.mjs +10 -0
- package/lib/browser/functions/track/helpers.qwik.cjs +47 -0
- package/lib/browser/functions/track/helpers.qwik.mjs +47 -0
- package/lib/browser/functions/track/index.qwik.cjs +73 -0
- package/lib/browser/functions/track/index.qwik.mjs +73 -0
- package/lib/browser/functions/track/interaction.qwik.cjs +53 -0
- package/lib/browser/functions/track/interaction.qwik.mjs +53 -0
- package/lib/browser/functions/transform-block-properties.qwik.cjs +6 -0
- package/lib/browser/functions/transform-block-properties.qwik.mjs +6 -0
- package/lib/browser/functions/transform-block.qwik.cjs +6 -0
- package/lib/browser/functions/transform-block.qwik.mjs +6 -0
- package/lib/browser/functions/transform-style-property.qwik.cjs +6 -0
- package/lib/browser/functions/transform-style-property.qwik.mjs +6 -0
- package/lib/browser/helpers/ab-tests.qwik.cjs +103 -0
- package/lib/browser/helpers/ab-tests.qwik.mjs +103 -0
- package/lib/browser/helpers/canTrack.qwik.cjs +5 -0
- package/lib/browser/helpers/canTrack.qwik.mjs +5 -0
- package/lib/browser/helpers/cookie.qwik.cjs +78 -0
- package/lib/browser/helpers/cookie.qwik.mjs +78 -0
- package/lib/browser/helpers/css.qwik.cjs +28 -0
- package/lib/browser/helpers/css.qwik.mjs +28 -0
- package/lib/browser/helpers/flatten.qwik.cjs +36 -0
- package/lib/browser/helpers/flatten.qwik.mjs +36 -0
- package/lib/browser/helpers/localStorage.qwik.cjs +26 -0
- package/lib/browser/helpers/localStorage.qwik.mjs +26 -0
- package/lib/browser/helpers/logger.qwik.cjs +11 -0
- package/lib/browser/helpers/logger.qwik.mjs +11 -0
- package/lib/browser/helpers/nullable.qwik.cjs +4 -0
- package/lib/browser/helpers/nullable.qwik.mjs +4 -0
- package/lib/browser/helpers/omit.qwik.cjs +9 -0
- package/lib/browser/helpers/omit.qwik.mjs +9 -0
- package/lib/browser/helpers/search/search.qwik.cjs +20 -0
- package/lib/browser/helpers/search/search.qwik.mjs +20 -0
- package/lib/browser/helpers/sessionId.qwik.cjs +33 -0
- package/lib/browser/helpers/sessionId.qwik.mjs +33 -0
- package/lib/browser/helpers/subscribe-to-editor.qwik.cjs +55 -0
- package/lib/browser/helpers/subscribe-to-editor.qwik.mjs +55 -0
- package/lib/browser/helpers/url.qwik.cjs +11 -0
- package/lib/browser/helpers/url.qwik.mjs +11 -0
- package/lib/browser/helpers/uuid.qwik.cjs +13 -0
- package/lib/browser/helpers/uuid.qwik.mjs +13 -0
- package/lib/browser/helpers/visitorId.qwik.cjs +33 -0
- package/lib/browser/helpers/visitorId.qwik.mjs +33 -0
- package/lib/browser/index.qwik.cjs +44 -6726
- package/lib/browser/index.qwik.mjs +23 -6705
- package/lib/browser/scripts/init-editing.qwik.cjs +121 -0
- package/lib/browser/scripts/init-editing.qwik.mjs +121 -0
- package/lib/browser/types/api-version.qwik.cjs +4 -0
- package/lib/browser/types/api-version.qwik.mjs +4 -0
- package/lib/edge/blocks/accordion/accordion.qwik.cjs +215 -0
- package/lib/edge/blocks/accordion/accordion.qwik.mjs +215 -0
- package/lib/edge/blocks/accordion/component-info.qwik.cjs +159 -0
- package/lib/edge/blocks/accordion/component-info.qwik.mjs +159 -0
- package/lib/edge/blocks/accordion/helpers.qwik.cjs +6 -0
- package/lib/edge/blocks/accordion/helpers.qwik.mjs +6 -0
- package/lib/edge/blocks/button/button.qwik.cjs +39 -0
- package/lib/edge/blocks/button/button.qwik.mjs +39 -0
- package/lib/edge/blocks/button/component-info.qwik.cjs +44 -0
- package/lib/edge/blocks/button/component-info.qwik.mjs +44 -0
- package/lib/edge/blocks/columns/columns.qwik.cjs +208 -0
- package/lib/edge/blocks/columns/columns.qwik.mjs +208 -0
- package/lib/edge/blocks/columns/component-info.qwik.cjs +251 -0
- package/lib/edge/blocks/columns/component-info.qwik.mjs +251 -0
- package/lib/edge/blocks/columns/helpers.qwik.cjs +6 -0
- package/lib/edge/blocks/columns/helpers.qwik.mjs +6 -0
- package/lib/edge/blocks/custom-code/component-info.qwik.cjs +32 -0
- package/lib/edge/blocks/custom-code/component-info.qwik.mjs +32 -0
- package/lib/edge/blocks/custom-code/custom-code.qwik.cjs +55 -0
- package/lib/edge/blocks/custom-code/custom-code.qwik.mjs +55 -0
- package/lib/edge/blocks/embed/component-info.qwik.cjs +22 -0
- package/lib/edge/blocks/embed/component-info.qwik.mjs +22 -0
- package/lib/edge/blocks/embed/embed.qwik.cjs +57 -0
- package/lib/edge/blocks/embed/embed.qwik.mjs +57 -0
- package/lib/edge/blocks/embed/helpers.qwik.cjs +9 -0
- package/lib/edge/blocks/embed/helpers.qwik.mjs +9 -0
- package/lib/edge/blocks/form/form/component-info.qwik.cjs +281 -0
- package/lib/edge/blocks/form/form/component-info.qwik.mjs +281 -0
- package/lib/edge/blocks/form/form/form.qwik.cjs +304 -0
- package/lib/edge/blocks/form/form/form.qwik.mjs +304 -0
- package/lib/edge/blocks/form/input/component-info.qwik.cjs +74 -0
- package/lib/edge/blocks/form/input/component-info.qwik.mjs +74 -0
- package/lib/edge/blocks/form/input/input.qwik.cjs +18 -0
- package/lib/edge/blocks/form/input/input.qwik.mjs +18 -0
- package/lib/edge/blocks/form/select/component-info.qwik.cjs +58 -0
- package/lib/edge/blocks/form/select/component-info.qwik.mjs +58 -0
- package/lib/edge/blocks/form/select/select.qwik.cjs +20 -0
- package/lib/edge/blocks/form/select/select.qwik.mjs +20 -0
- package/lib/edge/blocks/form/submit-button/component-info.qwik.cjs +27 -0
- package/lib/edge/blocks/form/submit-button/component-info.qwik.mjs +27 -0
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.cjs +15 -0
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.mjs +15 -0
- package/lib/edge/blocks/form/textarea/component-info.qwik.cjs +46 -0
- package/lib/edge/blocks/form/textarea/component-info.qwik.mjs +46 -0
- package/lib/edge/blocks/form/textarea/textarea.qwik.cjs +26 -0
- package/lib/edge/blocks/form/textarea/textarea.qwik.mjs +26 -0
- package/lib/edge/blocks/fragment/component-info.qwik.cjs +10 -0
- package/lib/edge/blocks/fragment/component-info.qwik.mjs +10 -0
- package/lib/edge/blocks/fragment/fragment.qwik.cjs +8 -0
- package/lib/edge/blocks/fragment/fragment.qwik.mjs +8 -0
- package/lib/edge/blocks/image/component-info.qwik.cjs +161 -0
- package/lib/edge/blocks/image/component-info.qwik.mjs +161 -0
- package/lib/edge/blocks/image/image.helpers.qwik.cjs +57 -0
- package/lib/edge/blocks/image/image.helpers.qwik.mjs +57 -0
- package/lib/edge/blocks/image/image.qwik.cjs +140 -0
- package/lib/edge/blocks/image/image.qwik.mjs +140 -0
- package/lib/edge/blocks/img/component-info.qwik.cjs +27 -0
- package/lib/edge/blocks/img/component-info.qwik.mjs +27 -0
- package/lib/edge/blocks/img/img.qwik.cjs +24 -0
- package/lib/edge/blocks/img/img.qwik.mjs +24 -0
- package/lib/edge/blocks/section/component-info.qwik.cjs +48 -0
- package/lib/edge/blocks/section/component-info.qwik.mjs +48 -0
- package/lib/edge/blocks/section/section.qwik.cjs +23 -0
- package/lib/edge/blocks/section/section.qwik.mjs +23 -0
- package/lib/edge/blocks/slot/component-info.qwik.cjs +23 -0
- package/lib/edge/blocks/slot/component-info.qwik.mjs +23 -0
- package/lib/edge/blocks/slot/slot.qwik.cjs +52 -0
- package/lib/edge/blocks/slot/slot.qwik.mjs +52 -0
- package/lib/edge/blocks/symbol/component-info.qwik.cjs +49 -0
- package/lib/edge/blocks/symbol/component-info.qwik.mjs +49 -0
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.cjs +23 -0
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.mjs +23 -0
- package/lib/edge/blocks/symbol/symbol.qwik.cjs +167 -0
- package/lib/edge/blocks/symbol/symbol.qwik.mjs +167 -0
- package/lib/edge/blocks/tabs/component-info.qwik.cjs +177 -0
- package/lib/edge/blocks/tabs/component-info.qwik.mjs +177 -0
- package/lib/edge/blocks/tabs/tabs.qwik.cjs +118 -0
- package/lib/edge/blocks/tabs/tabs.qwik.mjs +118 -0
- package/lib/edge/blocks/text/component-info.qwik.cjs +28 -0
- package/lib/edge/blocks/text/component-info.qwik.mjs +28 -0
- package/lib/edge/blocks/text/text.qwik.cjs +33 -0
- package/lib/edge/blocks/text/text.qwik.mjs +33 -0
- package/lib/edge/blocks/video/component-info.qwik.cjs +128 -0
- package/lib/edge/blocks/video/component-info.qwik.mjs +128 -0
- package/lib/edge/blocks/video/video.qwik.cjs +109 -0
- package/lib/edge/blocks/video/video.qwik.mjs +109 -0
- package/lib/edge/components/block/animator.qwik.cjs +171 -0
- package/lib/edge/components/block/animator.qwik.mjs +171 -0
- package/lib/edge/components/block/block.helpers.qwik.cjs +86 -0
- package/lib/edge/components/block/block.helpers.qwik.mjs +86 -0
- package/lib/edge/components/block/block.qwik.cjs +371 -0
- package/lib/edge/components/block/block.qwik.mjs +371 -0
- package/lib/edge/components/block/components/block-styles.qwik.cjs +94 -0
- package/lib/edge/components/block/components/block-styles.qwik.mjs +94 -0
- package/lib/edge/components/block/components/block-wrapper.qwik.cjs +33 -0
- package/lib/edge/components/block/components/block-wrapper.qwik.mjs +33 -0
- package/lib/edge/components/block/components/component-ref/component-ref.helpers.qwik.cjs +27 -0
- package/lib/edge/components/block/components/component-ref/component-ref.helpers.qwik.mjs +27 -0
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.cjs +53 -0
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.mjs +53 -0
- package/lib/edge/components/block/components/interactive-element.qwik.cjs +39 -0
- package/lib/edge/components/block/components/interactive-element.qwik.mjs +39 -0
- package/lib/edge/components/block/components/repeated-block.qwik.cjs +41 -0
- package/lib/edge/components/block/components/repeated-block.qwik.mjs +41 -0
- package/lib/edge/components/blocks/blocks-wrapper.qwik.cjs +111 -0
- package/lib/edge/components/blocks/blocks-wrapper.qwik.mjs +111 -0
- package/lib/edge/components/blocks/blocks.qwik.cjs +90 -0
- package/lib/edge/components/blocks/blocks.qwik.mjs +90 -0
- package/lib/edge/components/content/components/enable-editor.qwik.cjs +405 -0
- package/lib/edge/components/content/components/enable-editor.qwik.mjs +405 -0
- package/lib/edge/components/content/components/styles.helpers.qwik.cjs +74 -0
- package/lib/edge/components/content/components/styles.helpers.qwik.mjs +74 -0
- package/lib/edge/components/content/components/styles.qwik.cjs +39 -0
- package/lib/edge/components/content/components/styles.qwik.mjs +39 -0
- package/lib/edge/components/content/content.helpers.qwik.cjs +31 -0
- package/lib/edge/components/content/content.helpers.qwik.mjs +31 -0
- package/lib/edge/components/content/content.qwik.cjs +267 -0
- package/lib/edge/components/content/content.qwik.mjs +267 -0
- package/lib/edge/components/content-variants/content-variants.qwik.cjs +349 -0
- package/lib/edge/components/content-variants/content-variants.qwik.mjs +349 -0
- package/lib/edge/components/content-variants/helpers.qwik.cjs +40 -0
- package/lib/edge/components/content-variants/helpers.qwik.mjs +40 -0
- package/lib/edge/components/content-variants/inlined-fns.qwik.cjs +6 -0
- package/lib/edge/components/content-variants/inlined-fns.qwik.mjs +6 -0
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.helpers.qwik.cjs +23 -0
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.helpers.qwik.mjs +23 -0
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.cjs +24 -0
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.mjs +24 -0
- package/lib/edge/components/inlined-script.qwik.cjs +18 -0
- package/lib/edge/components/inlined-script.qwik.mjs +18 -0
- package/lib/edge/components/inlined-styles.qwik.cjs +18 -0
- package/lib/edge/components/inlined-styles.qwik.mjs +18 -0
- package/lib/edge/constants/builder-registered-components.qwik.cjs +69 -0
- package/lib/edge/constants/builder-registered-components.qwik.mjs +69 -0
- package/lib/edge/constants/device-sizes.qwik.cjs +48 -0
- package/lib/edge/constants/device-sizes.qwik.mjs +48 -0
- package/lib/edge/constants/extra-components.qwik.cjs +61 -0
- package/lib/edge/constants/extra-components.qwik.mjs +61 -0
- package/lib/edge/constants/sdk-name.qwik.cjs +15 -0
- package/lib/edge/constants/sdk-name.qwik.mjs +15 -0
- package/lib/edge/constants/sdk-version.qwik.cjs +4 -0
- package/lib/edge/constants/sdk-version.qwik.mjs +4 -0
- package/lib/edge/constants/target.qwik.cjs +4 -0
- package/lib/edge/constants/target.qwik.mjs +4 -0
- package/lib/edge/context/builder.context.qwik.cjs +4 -0
- package/lib/edge/context/builder.context.qwik.mjs +5 -0
- package/lib/edge/context/components.context.qwik.cjs +4 -0
- package/lib/edge/context/components.context.qwik.mjs +5 -0
- package/lib/edge/functions/camel-to-kebab-case.qwik.cjs +4 -0
- package/lib/edge/functions/camel-to-kebab-case.qwik.mjs +4 -0
- package/lib/edge/functions/deopt.qwik.cjs +6 -0
- package/lib/edge/functions/deopt.qwik.mjs +6 -0
- package/lib/edge/functions/evaluate/browser-runtime/browser.qwik.cjs +44 -0
- package/lib/edge/functions/evaluate/browser-runtime/browser.qwik.mjs +44 -0
- package/lib/edge/functions/evaluate/choose-eval.qwik.cjs +8 -0
- package/lib/edge/functions/evaluate/choose-eval.qwik.mjs +8 -0
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.cjs +3164 -0
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.mjs +3165 -0
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.cjs +69 -0
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.mjs +69 -0
- package/lib/edge/functions/evaluate/evaluate.qwik.cjs +65 -0
- package/lib/edge/functions/evaluate/evaluate.qwik.mjs +65 -0
- package/lib/edge/functions/evaluate/helpers.qwik.cjs +32 -0
- package/lib/edge/functions/evaluate/helpers.qwik.mjs +32 -0
- package/lib/edge/functions/evaluate/node-runtime/init.qwik.cjs +9 -0
- package/lib/edge/functions/evaluate/node-runtime/init.qwik.mjs +9 -0
- package/lib/edge/functions/evaluate/node-runtime/node-runtime.qwik.cjs +47 -0
- package/lib/edge/functions/evaluate/node-runtime/node-runtime.qwik.mjs +47 -0
- package/lib/edge/functions/evaluate/node-runtime/safeDynamicRequire.qwik.cjs +15 -0
- package/lib/edge/functions/evaluate/node-runtime/safeDynamicRequire.qwik.mjs +15 -0
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +21 -0
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +21 -0
- package/lib/edge/functions/event-handler-name.qwik.cjs +7 -0
- package/lib/edge/functions/event-handler-name.qwik.mjs +7 -0
- package/lib/edge/functions/fast-clone.qwik.cjs +4 -0
- package/lib/edge/functions/fast-clone.qwik.mjs +4 -0
- package/lib/edge/functions/fetch-builder-props.qwik.cjs +26 -0
- package/lib/edge/functions/fetch-builder-props.qwik.mjs +26 -0
- package/lib/edge/functions/get-block-actions-handler.qwik.cjs +22 -0
- package/lib/edge/functions/get-block-actions-handler.qwik.mjs +22 -0
- package/lib/edge/functions/get-block-actions.qwik.cjs +27 -0
- package/lib/edge/functions/get-block-actions.qwik.mjs +27 -0
- package/lib/edge/functions/get-block-component-options.qwik.cjs +10 -0
- package/lib/edge/functions/get-block-component-options.qwik.mjs +10 -0
- package/lib/edge/functions/get-block-properties.qwik.cjs +34 -0
- package/lib/edge/functions/get-block-properties.qwik.mjs +34 -0
- package/lib/edge/functions/get-builder-search-params/index.qwik.cjs +27 -0
- package/lib/edge/functions/get-builder-search-params/index.qwik.mjs +27 -0
- package/lib/edge/functions/get-class-prop-name.qwik.cjs +18 -0
- package/lib/edge/functions/get-class-prop-name.qwik.mjs +18 -0
- package/lib/edge/functions/get-content/generate-content-url.qwik.cjs +62 -0
- package/lib/edge/functions/get-content/generate-content-url.qwik.mjs +62 -0
- package/lib/edge/functions/get-content/index.qwik.cjs +67 -0
- package/lib/edge/functions/get-content/index.qwik.mjs +67 -0
- package/lib/edge/functions/get-env.qwik.cjs +20 -0
- package/lib/edge/functions/get-env.qwik.mjs +20 -0
- package/lib/edge/functions/get-fetch.qwik.cjs +14 -0
- package/lib/edge/functions/get-fetch.qwik.mjs +14 -0
- package/lib/edge/functions/get-global-this.qwik.cjs +14 -0
- package/lib/edge/functions/get-global-this.qwik.mjs +14 -0
- package/lib/edge/functions/get-processed-block.qwik.cjs +89 -0
- package/lib/edge/functions/get-processed-block.qwik.mjs +89 -0
- package/lib/edge/functions/get-style.qwik.cjs +28 -0
- package/lib/edge/functions/get-style.qwik.mjs +28 -0
- package/lib/edge/functions/get.qwik.cjs +7 -0
- package/lib/edge/functions/get.qwik.mjs +7 -0
- package/lib/edge/functions/is-browser.qwik.cjs +6 -0
- package/lib/edge/functions/is-browser.qwik.mjs +6 -0
- package/lib/edge/functions/is-editing.qwik.cjs +9 -0
- package/lib/edge/functions/is-editing.qwik.mjs +9 -0
- package/lib/edge/functions/is-from-trusted-host.qwik.cjs +16 -0
- package/lib/edge/functions/is-from-trusted-host.qwik.mjs +16 -0
- package/lib/edge/functions/is-iframe.qwik.cjs +7 -0
- package/lib/edge/functions/is-iframe.qwik.mjs +7 -0
- package/lib/edge/functions/is-node-runtime.qwik.cjs +8 -0
- package/lib/edge/functions/is-node-runtime.qwik.mjs +8 -0
- package/lib/edge/functions/is-previewing.qwik.cjs +12 -0
- package/lib/edge/functions/is-previewing.qwik.mjs +12 -0
- package/lib/edge/functions/register-component.qwik.cjs +20 -0
- package/lib/edge/functions/register-component.qwik.mjs +20 -0
- package/lib/edge/functions/register.qwik.cjs +30 -0
- package/lib/edge/functions/register.qwik.mjs +30 -0
- package/lib/edge/functions/set-editor-settings.qwik.cjs +15 -0
- package/lib/edge/functions/set-editor-settings.qwik.mjs +15 -0
- package/lib/edge/functions/set.qwik.cjs +10 -0
- package/lib/edge/functions/set.qwik.mjs +10 -0
- package/lib/edge/functions/track/helpers.qwik.cjs +47 -0
- package/lib/edge/functions/track/helpers.qwik.mjs +47 -0
- package/lib/edge/functions/track/index.qwik.cjs +73 -0
- package/lib/edge/functions/track/index.qwik.mjs +73 -0
- package/lib/edge/functions/track/interaction.qwik.cjs +53 -0
- package/lib/edge/functions/track/interaction.qwik.mjs +53 -0
- package/lib/edge/functions/transform-block-properties.qwik.cjs +6 -0
- package/lib/edge/functions/transform-block-properties.qwik.mjs +6 -0
- package/lib/edge/functions/transform-block.qwik.cjs +6 -0
- package/lib/edge/functions/transform-block.qwik.mjs +6 -0
- package/lib/edge/functions/transform-style-property.qwik.cjs +6 -0
- package/lib/edge/functions/transform-style-property.qwik.mjs +6 -0
- package/lib/edge/helpers/ab-tests.qwik.cjs +103 -0
- package/lib/edge/helpers/ab-tests.qwik.mjs +103 -0
- package/lib/edge/helpers/canTrack.qwik.cjs +5 -0
- package/lib/edge/helpers/canTrack.qwik.mjs +5 -0
- package/lib/edge/helpers/cookie.qwik.cjs +78 -0
- package/lib/edge/helpers/cookie.qwik.mjs +78 -0
- package/lib/edge/helpers/css.qwik.cjs +28 -0
- package/lib/edge/helpers/css.qwik.mjs +28 -0
- package/lib/edge/helpers/flatten.qwik.cjs +36 -0
- package/lib/edge/helpers/flatten.qwik.mjs +36 -0
- package/lib/edge/helpers/localStorage.qwik.cjs +26 -0
- package/lib/edge/helpers/localStorage.qwik.mjs +26 -0
- package/lib/edge/helpers/logger.qwik.cjs +11 -0
- package/lib/edge/helpers/logger.qwik.mjs +11 -0
- package/lib/edge/helpers/nullable.qwik.cjs +4 -0
- package/lib/edge/helpers/nullable.qwik.mjs +4 -0
- package/lib/edge/helpers/omit.qwik.cjs +9 -0
- package/lib/edge/helpers/omit.qwik.mjs +9 -0
- package/lib/edge/helpers/search/search.qwik.cjs +20 -0
- package/lib/edge/helpers/search/search.qwik.mjs +20 -0
- package/lib/edge/helpers/sessionId.qwik.cjs +33 -0
- package/lib/edge/helpers/sessionId.qwik.mjs +33 -0
- package/lib/edge/helpers/subscribe-to-editor.qwik.cjs +55 -0
- package/lib/edge/helpers/subscribe-to-editor.qwik.mjs +55 -0
- package/lib/edge/helpers/url.qwik.cjs +11 -0
- package/lib/edge/helpers/url.qwik.mjs +11 -0
- package/lib/edge/helpers/uuid.qwik.cjs +13 -0
- package/lib/edge/helpers/uuid.qwik.mjs +13 -0
- package/lib/edge/helpers/visitorId.qwik.cjs +33 -0
- package/lib/edge/helpers/visitorId.qwik.mjs +33 -0
- package/lib/edge/index.qwik.cjs +44 -9950
- package/lib/edge/index.qwik.mjs +23 -9929
- package/lib/edge/scripts/init-editing.qwik.cjs +121 -0
- package/lib/edge/scripts/init-editing.qwik.mjs +121 -0
- package/lib/edge/types/api-version.qwik.cjs +4 -0
- package/lib/edge/types/api-version.qwik.mjs +4 -0
- package/lib/node/blocks/accordion/accordion.qwik.cjs +215 -0
- package/lib/node/blocks/accordion/accordion.qwik.mjs +215 -0
- package/lib/node/blocks/accordion/component-info.qwik.cjs +159 -0
- package/lib/node/blocks/accordion/component-info.qwik.mjs +159 -0
- package/lib/node/blocks/accordion/helpers.qwik.cjs +6 -0
- package/lib/node/blocks/accordion/helpers.qwik.mjs +6 -0
- package/lib/node/blocks/button/button.qwik.cjs +39 -0
- package/lib/node/blocks/button/button.qwik.mjs +39 -0
- package/lib/node/blocks/button/component-info.qwik.cjs +44 -0
- package/lib/node/blocks/button/component-info.qwik.mjs +44 -0
- package/lib/node/blocks/columns/columns.qwik.cjs +208 -0
- package/lib/node/blocks/columns/columns.qwik.mjs +208 -0
- package/lib/node/blocks/columns/component-info.qwik.cjs +251 -0
- package/lib/node/blocks/columns/component-info.qwik.mjs +251 -0
- package/lib/node/blocks/columns/helpers.qwik.cjs +6 -0
- package/lib/node/blocks/columns/helpers.qwik.mjs +6 -0
- package/lib/node/blocks/custom-code/component-info.qwik.cjs +32 -0
- package/lib/node/blocks/custom-code/component-info.qwik.mjs +32 -0
- package/lib/node/blocks/custom-code/custom-code.qwik.cjs +55 -0
- package/lib/node/blocks/custom-code/custom-code.qwik.mjs +55 -0
- package/lib/node/blocks/embed/component-info.qwik.cjs +22 -0
- package/lib/node/blocks/embed/component-info.qwik.mjs +22 -0
- package/lib/node/blocks/embed/embed.qwik.cjs +57 -0
- package/lib/node/blocks/embed/embed.qwik.mjs +57 -0
- package/lib/node/blocks/embed/helpers.qwik.cjs +9 -0
- package/lib/node/blocks/embed/helpers.qwik.mjs +9 -0
- package/lib/node/blocks/form/form/component-info.qwik.cjs +281 -0
- package/lib/node/blocks/form/form/component-info.qwik.mjs +281 -0
- package/lib/node/blocks/form/form/form.qwik.cjs +304 -0
- package/lib/node/blocks/form/form/form.qwik.mjs +304 -0
- package/lib/node/blocks/form/input/component-info.qwik.cjs +74 -0
- package/lib/node/blocks/form/input/component-info.qwik.mjs +74 -0
- package/lib/node/blocks/form/input/input.qwik.cjs +18 -0
- package/lib/node/blocks/form/input/input.qwik.mjs +18 -0
- package/lib/node/blocks/form/select/component-info.qwik.cjs +58 -0
- package/lib/node/blocks/form/select/component-info.qwik.mjs +58 -0
- package/lib/node/blocks/form/select/select.qwik.cjs +20 -0
- package/lib/node/blocks/form/select/select.qwik.mjs +20 -0
- package/lib/node/blocks/form/submit-button/component-info.qwik.cjs +27 -0
- package/lib/node/blocks/form/submit-button/component-info.qwik.mjs +27 -0
- package/lib/node/blocks/form/submit-button/submit-button.qwik.cjs +15 -0
- package/lib/node/blocks/form/submit-button/submit-button.qwik.mjs +15 -0
- package/lib/node/blocks/form/textarea/component-info.qwik.cjs +46 -0
- package/lib/node/blocks/form/textarea/component-info.qwik.mjs +46 -0
- package/lib/node/blocks/form/textarea/textarea.qwik.cjs +26 -0
- package/lib/node/blocks/form/textarea/textarea.qwik.mjs +26 -0
- package/lib/node/blocks/fragment/component-info.qwik.cjs +10 -0
- package/lib/node/blocks/fragment/component-info.qwik.mjs +10 -0
- package/lib/node/blocks/fragment/fragment.qwik.cjs +8 -0
- package/lib/node/blocks/fragment/fragment.qwik.mjs +8 -0
- package/lib/node/blocks/image/component-info.qwik.cjs +161 -0
- package/lib/node/blocks/image/component-info.qwik.mjs +161 -0
- package/lib/node/blocks/image/image.helpers.qwik.cjs +57 -0
- package/lib/node/blocks/image/image.helpers.qwik.mjs +57 -0
- package/lib/node/blocks/image/image.qwik.cjs +140 -0
- package/lib/node/blocks/image/image.qwik.mjs +140 -0
- package/lib/node/blocks/img/component-info.qwik.cjs +27 -0
- package/lib/node/blocks/img/component-info.qwik.mjs +27 -0
- package/lib/node/blocks/img/img.qwik.cjs +24 -0
- package/lib/node/blocks/img/img.qwik.mjs +24 -0
- package/lib/node/blocks/section/component-info.qwik.cjs +48 -0
- package/lib/node/blocks/section/component-info.qwik.mjs +48 -0
- package/lib/node/blocks/section/section.qwik.cjs +23 -0
- package/lib/node/blocks/section/section.qwik.mjs +23 -0
- package/lib/node/blocks/slot/component-info.qwik.cjs +23 -0
- package/lib/node/blocks/slot/component-info.qwik.mjs +23 -0
- package/lib/node/blocks/slot/slot.qwik.cjs +52 -0
- package/lib/node/blocks/slot/slot.qwik.mjs +52 -0
- package/lib/node/blocks/symbol/component-info.qwik.cjs +49 -0
- package/lib/node/blocks/symbol/component-info.qwik.mjs +49 -0
- package/lib/node/blocks/symbol/symbol.helpers.qwik.cjs +23 -0
- package/lib/node/blocks/symbol/symbol.helpers.qwik.mjs +23 -0
- package/lib/node/blocks/symbol/symbol.qwik.cjs +167 -0
- package/lib/node/blocks/symbol/symbol.qwik.mjs +167 -0
- package/lib/node/blocks/tabs/component-info.qwik.cjs +177 -0
- package/lib/node/blocks/tabs/component-info.qwik.mjs +177 -0
- package/lib/node/blocks/tabs/tabs.qwik.cjs +118 -0
- package/lib/node/blocks/tabs/tabs.qwik.mjs +118 -0
- package/lib/node/blocks/text/component-info.qwik.cjs +28 -0
- package/lib/node/blocks/text/component-info.qwik.mjs +28 -0
- package/lib/node/blocks/text/text.qwik.cjs +33 -0
- package/lib/node/blocks/text/text.qwik.mjs +33 -0
- package/lib/node/blocks/video/component-info.qwik.cjs +128 -0
- package/lib/node/blocks/video/component-info.qwik.mjs +128 -0
- package/lib/node/blocks/video/video.qwik.cjs +109 -0
- package/lib/node/blocks/video/video.qwik.mjs +109 -0
- package/lib/node/components/block/animator.qwik.cjs +171 -0
- package/lib/node/components/block/animator.qwik.mjs +171 -0
- package/lib/node/components/block/block.helpers.qwik.cjs +86 -0
- package/lib/node/components/block/block.helpers.qwik.mjs +86 -0
- package/lib/node/components/block/block.qwik.cjs +371 -0
- package/lib/node/components/block/block.qwik.mjs +371 -0
- package/lib/node/components/block/components/block-styles.qwik.cjs +94 -0
- package/lib/node/components/block/components/block-styles.qwik.mjs +94 -0
- package/lib/node/components/block/components/block-wrapper.qwik.cjs +33 -0
- package/lib/node/components/block/components/block-wrapper.qwik.mjs +33 -0
- package/lib/node/components/block/components/component-ref/component-ref.helpers.qwik.cjs +27 -0
- package/lib/node/components/block/components/component-ref/component-ref.helpers.qwik.mjs +27 -0
- package/lib/node/components/block/components/component-ref/component-ref.qwik.cjs +53 -0
- package/lib/node/components/block/components/component-ref/component-ref.qwik.mjs +53 -0
- package/lib/node/components/block/components/interactive-element.qwik.cjs +39 -0
- package/lib/node/components/block/components/interactive-element.qwik.mjs +39 -0
- package/lib/node/components/block/components/repeated-block.qwik.cjs +41 -0
- package/lib/node/components/block/components/repeated-block.qwik.mjs +41 -0
- package/lib/node/components/blocks/blocks-wrapper.qwik.cjs +111 -0
- package/lib/node/components/blocks/blocks-wrapper.qwik.mjs +111 -0
- package/lib/node/components/blocks/blocks.qwik.cjs +90 -0
- package/lib/node/components/blocks/blocks.qwik.mjs +90 -0
- package/lib/node/components/content/components/enable-editor.qwik.cjs +405 -0
- package/lib/node/components/content/components/enable-editor.qwik.mjs +405 -0
- package/lib/node/components/content/components/styles.helpers.qwik.cjs +74 -0
- package/lib/node/components/content/components/styles.helpers.qwik.mjs +74 -0
- package/lib/node/components/content/components/styles.qwik.cjs +39 -0
- package/lib/node/components/content/components/styles.qwik.mjs +39 -0
- package/lib/node/components/content/content.helpers.qwik.cjs +31 -0
- package/lib/node/components/content/content.helpers.qwik.mjs +31 -0
- package/lib/node/components/content/content.qwik.cjs +267 -0
- package/lib/node/components/content/content.qwik.mjs +267 -0
- package/lib/node/components/content-variants/content-variants.qwik.cjs +349 -0
- package/lib/node/components/content-variants/content-variants.qwik.mjs +349 -0
- package/lib/node/components/content-variants/helpers.qwik.cjs +40 -0
- package/lib/node/components/content-variants/helpers.qwik.mjs +40 -0
- package/lib/node/components/content-variants/inlined-fns.qwik.cjs +6 -0
- package/lib/node/components/content-variants/inlined-fns.qwik.mjs +6 -0
- package/lib/node/components/dynamic-renderer/dynamic-renderer.helpers.qwik.cjs +23 -0
- package/lib/node/components/dynamic-renderer/dynamic-renderer.helpers.qwik.mjs +23 -0
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.cjs +24 -0
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.mjs +24 -0
- package/lib/node/components/inlined-script.qwik.cjs +18 -0
- package/lib/node/components/inlined-script.qwik.mjs +18 -0
- package/lib/node/components/inlined-styles.qwik.cjs +18 -0
- package/lib/node/components/inlined-styles.qwik.mjs +18 -0
- package/lib/node/constants/builder-registered-components.qwik.cjs +69 -0
- package/lib/node/constants/builder-registered-components.qwik.mjs +69 -0
- package/lib/node/constants/device-sizes.qwik.cjs +48 -0
- package/lib/node/constants/device-sizes.qwik.mjs +48 -0
- package/lib/node/constants/extra-components.qwik.cjs +61 -0
- package/lib/node/constants/extra-components.qwik.mjs +61 -0
- package/lib/node/constants/sdk-name.qwik.cjs +15 -0
- package/lib/node/constants/sdk-name.qwik.mjs +15 -0
- package/lib/node/constants/sdk-version.qwik.cjs +4 -0
- package/lib/node/constants/sdk-version.qwik.mjs +4 -0
- package/lib/node/constants/target.qwik.cjs +4 -0
- package/lib/node/constants/target.qwik.mjs +4 -0
- package/lib/node/context/builder.context.qwik.cjs +4 -0
- package/lib/node/context/builder.context.qwik.mjs +5 -0
- package/lib/node/context/components.context.qwik.cjs +4 -0
- package/lib/node/context/components.context.qwik.mjs +5 -0
- package/lib/node/functions/camel-to-kebab-case.qwik.cjs +4 -0
- package/lib/node/functions/camel-to-kebab-case.qwik.mjs +4 -0
- package/lib/node/functions/deopt.qwik.cjs +6 -0
- package/lib/node/functions/deopt.qwik.mjs +6 -0
- package/lib/node/functions/evaluate/browser-runtime/browser.qwik.cjs +44 -0
- package/lib/node/functions/evaluate/browser-runtime/browser.qwik.mjs +44 -0
- package/lib/node/functions/evaluate/choose-eval.qwik.cjs +8 -0
- package/lib/node/functions/evaluate/choose-eval.qwik.mjs +8 -0
- package/lib/node/functions/evaluate/evaluate.qwik.cjs +65 -0
- package/lib/node/functions/evaluate/evaluate.qwik.mjs +65 -0
- package/lib/node/functions/evaluate/helpers.qwik.cjs +32 -0
- package/lib/node/functions/evaluate/helpers.qwik.mjs +32 -0
- package/lib/node/functions/evaluate/node-runtime/init.qwik.cjs +9 -0
- package/lib/node/functions/evaluate/node-runtime/init.qwik.mjs +9 -0
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.cjs +146 -0
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.mjs +146 -0
- package/lib/node/functions/evaluate/node-runtime/safeDynamicRequire.qwik.cjs +15 -0
- package/lib/node/functions/evaluate/node-runtime/safeDynamicRequire.qwik.mjs +15 -0
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +21 -0
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +21 -0
- package/lib/node/functions/event-handler-name.qwik.cjs +7 -0
- package/lib/node/functions/event-handler-name.qwik.mjs +7 -0
- package/lib/node/functions/fast-clone.qwik.cjs +4 -0
- package/lib/node/functions/fast-clone.qwik.mjs +4 -0
- package/lib/node/functions/fetch-builder-props.qwik.cjs +26 -0
- package/lib/node/functions/fetch-builder-props.qwik.mjs +26 -0
- package/lib/node/functions/get-block-actions-handler.qwik.cjs +22 -0
- package/lib/node/functions/get-block-actions-handler.qwik.mjs +22 -0
- package/lib/node/functions/get-block-actions.qwik.cjs +27 -0
- package/lib/node/functions/get-block-actions.qwik.mjs +27 -0
- package/lib/node/functions/get-block-component-options.qwik.cjs +10 -0
- package/lib/node/functions/get-block-component-options.qwik.mjs +10 -0
- package/lib/node/functions/get-block-properties.qwik.cjs +34 -0
- package/lib/node/functions/get-block-properties.qwik.mjs +34 -0
- package/lib/node/functions/get-builder-search-params/index.qwik.cjs +27 -0
- package/lib/node/functions/get-builder-search-params/index.qwik.mjs +27 -0
- package/lib/node/functions/get-class-prop-name.qwik.cjs +18 -0
- package/lib/node/functions/get-class-prop-name.qwik.mjs +18 -0
- package/lib/node/functions/get-content/generate-content-url.qwik.cjs +62 -0
- package/lib/node/functions/get-content/generate-content-url.qwik.mjs +62 -0
- package/lib/node/functions/get-content/index.qwik.cjs +67 -0
- package/lib/node/functions/get-content/index.qwik.mjs +67 -0
- package/lib/node/functions/get-env.qwik.cjs +20 -0
- package/lib/node/functions/get-env.qwik.mjs +20 -0
- package/lib/node/functions/get-fetch.qwik.cjs +14 -0
- package/lib/node/functions/get-fetch.qwik.mjs +14 -0
- package/lib/node/functions/get-global-this.qwik.cjs +14 -0
- package/lib/node/functions/get-global-this.qwik.mjs +14 -0
- package/lib/node/functions/get-processed-block.qwik.cjs +89 -0
- package/lib/node/functions/get-processed-block.qwik.mjs +89 -0
- package/lib/node/functions/get-style.qwik.cjs +28 -0
- package/lib/node/functions/get-style.qwik.mjs +28 -0
- package/lib/node/functions/get.qwik.cjs +7 -0
- package/lib/node/functions/get.qwik.mjs +7 -0
- package/lib/node/functions/is-browser.qwik.cjs +6 -0
- package/lib/node/functions/is-browser.qwik.mjs +6 -0
- package/lib/node/functions/is-editing.qwik.cjs +9 -0
- package/lib/node/functions/is-editing.qwik.mjs +9 -0
- package/lib/node/functions/is-from-trusted-host.qwik.cjs +16 -0
- package/lib/node/functions/is-from-trusted-host.qwik.mjs +16 -0
- package/lib/node/functions/is-iframe.qwik.cjs +7 -0
- package/lib/node/functions/is-iframe.qwik.mjs +7 -0
- package/lib/node/functions/is-node-runtime.qwik.cjs +8 -0
- package/lib/node/functions/is-node-runtime.qwik.mjs +8 -0
- package/lib/node/functions/is-previewing.qwik.cjs +12 -0
- package/lib/node/functions/is-previewing.qwik.mjs +12 -0
- package/lib/node/functions/register-component.qwik.cjs +20 -0
- package/lib/node/functions/register-component.qwik.mjs +20 -0
- package/lib/node/functions/register.qwik.cjs +30 -0
- package/lib/node/functions/register.qwik.mjs +30 -0
- package/lib/node/functions/set-editor-settings.qwik.cjs +15 -0
- package/lib/node/functions/set-editor-settings.qwik.mjs +15 -0
- package/lib/node/functions/set.qwik.cjs +10 -0
- package/lib/node/functions/set.qwik.mjs +10 -0
- package/lib/node/functions/track/helpers.qwik.cjs +47 -0
- package/lib/node/functions/track/helpers.qwik.mjs +47 -0
- package/lib/node/functions/track/index.qwik.cjs +73 -0
- package/lib/node/functions/track/index.qwik.mjs +73 -0
- package/lib/node/functions/track/interaction.qwik.cjs +53 -0
- package/lib/node/functions/track/interaction.qwik.mjs +53 -0
- package/lib/node/functions/transform-block-properties.qwik.cjs +6 -0
- package/lib/node/functions/transform-block-properties.qwik.mjs +6 -0
- package/lib/node/functions/transform-block.qwik.cjs +6 -0
- package/lib/node/functions/transform-block.qwik.mjs +6 -0
- package/lib/node/functions/transform-style-property.qwik.cjs +6 -0
- package/lib/node/functions/transform-style-property.qwik.mjs +6 -0
- package/lib/node/helpers/ab-tests.qwik.cjs +103 -0
- package/lib/node/helpers/ab-tests.qwik.mjs +103 -0
- package/lib/node/helpers/canTrack.qwik.cjs +5 -0
- package/lib/node/helpers/canTrack.qwik.mjs +5 -0
- package/lib/node/helpers/cookie.qwik.cjs +78 -0
- package/lib/node/helpers/cookie.qwik.mjs +78 -0
- package/lib/node/helpers/css.qwik.cjs +28 -0
- package/lib/node/helpers/css.qwik.mjs +28 -0
- package/lib/node/helpers/flatten.qwik.cjs +36 -0
- package/lib/node/helpers/flatten.qwik.mjs +36 -0
- package/lib/node/helpers/localStorage.qwik.cjs +26 -0
- package/lib/node/helpers/localStorage.qwik.mjs +26 -0
- package/lib/node/helpers/logger.qwik.cjs +11 -0
- package/lib/node/helpers/logger.qwik.mjs +11 -0
- package/lib/node/helpers/nullable.qwik.cjs +4 -0
- package/lib/node/helpers/nullable.qwik.mjs +4 -0
- package/lib/node/helpers/omit.qwik.cjs +9 -0
- package/lib/node/helpers/omit.qwik.mjs +9 -0
- package/lib/node/helpers/search/search.qwik.cjs +20 -0
- package/lib/node/helpers/search/search.qwik.mjs +20 -0
- package/lib/node/helpers/sessionId.qwik.cjs +33 -0
- package/lib/node/helpers/sessionId.qwik.mjs +33 -0
- package/lib/node/helpers/subscribe-to-editor.qwik.cjs +55 -0
- package/lib/node/helpers/subscribe-to-editor.qwik.mjs +55 -0
- package/lib/node/helpers/url.qwik.cjs +11 -0
- package/lib/node/helpers/url.qwik.mjs +11 -0
- package/lib/node/helpers/uuid.qwik.cjs +13 -0
- package/lib/node/helpers/uuid.qwik.mjs +13 -0
- package/lib/node/helpers/visitorId.qwik.cjs +33 -0
- package/lib/node/helpers/visitorId.qwik.mjs +33 -0
- package/lib/node/index.qwik.cjs +44 -6871
- package/lib/node/index.qwik.mjs +23 -6850
- package/lib/node/scripts/init-editing.qwik.cjs +121 -0
- package/lib/node/scripts/init-editing.qwik.mjs +121 -0
- package/lib/node/types/api-version.qwik.cjs +4 -0
- package/lib/node/types/api-version.qwik.mjs +4 -0
- package/package.json +8 -3
- package/types/src/blocks/slot/slot.d.ts +2 -2
- package/types/src/components/block/block.helpers.d.ts +1 -2
- package/types/src/components/blocks/blocks-wrapper.d.ts +2 -2
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/functions/evaluate/node-runtime/init.d.ts +1 -0
- package/types/src/functions/get-processed-block.d.ts +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const target = require("../../constants/target.qwik.cjs");
|
|
4
|
+
const isBrowser = require("../../functions/is-browser.qwik.cjs");
|
|
5
|
+
const inlinedFns = require("./inlined-fns.qwik.cjs");
|
|
6
|
+
const UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME = "builderIoAbTest";
|
|
7
|
+
const UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME = "builderIoRenderContent";
|
|
8
|
+
const getVariants = (content) => Object.values((content == null ? void 0 : content.variations) || {}).map((variant) => ({
|
|
9
|
+
...variant,
|
|
10
|
+
testVariationId: variant.id,
|
|
11
|
+
id: content == null ? void 0 : content.id
|
|
12
|
+
}));
|
|
13
|
+
const checkShouldRenderVariants = ({ canTrack, content }) => {
|
|
14
|
+
const hasVariants = getVariants(content).length > 0;
|
|
15
|
+
if (!hasVariants)
|
|
16
|
+
return false;
|
|
17
|
+
if (!canTrack)
|
|
18
|
+
return false;
|
|
19
|
+
if (isBrowser.isBrowser())
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
};
|
|
23
|
+
const getIsHydrationTarget = (target2) => target2 === "react" || target2 === "reactNative";
|
|
24
|
+
const isHydrationTarget = getIsHydrationTarget(target.TARGET);
|
|
25
|
+
const getInitVariantsFnsScriptString = () => `
|
|
26
|
+
window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${inlinedFns.UPDATE_COOKIES_AND_STYLES_SCRIPT}
|
|
27
|
+
window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${inlinedFns.UPDATE_VARIANT_VISIBILITY_SCRIPT}
|
|
28
|
+
`;
|
|
29
|
+
const getUpdateCookieAndStylesScript = (variants, contentId) => `
|
|
30
|
+
window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME}(
|
|
31
|
+
"${contentId}",${JSON.stringify(variants)}, ${isHydrationTarget}
|
|
32
|
+
)`;
|
|
33
|
+
const getUpdateVariantVisibilityScript = ({ contentId, variationId }) => `window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME}(
|
|
34
|
+
"${variationId}", "${contentId}", ${isHydrationTarget}
|
|
35
|
+
)`;
|
|
36
|
+
exports.checkShouldRenderVariants = checkShouldRenderVariants;
|
|
37
|
+
exports.getInitVariantsFnsScriptString = getInitVariantsFnsScriptString;
|
|
38
|
+
exports.getUpdateCookieAndStylesScript = getUpdateCookieAndStylesScript;
|
|
39
|
+
exports.getUpdateVariantVisibilityScript = getUpdateVariantVisibilityScript;
|
|
40
|
+
exports.getVariants = getVariants;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TARGET } from "../../constants/target.qwik.mjs";
|
|
2
|
+
import { isBrowser } from "../../functions/is-browser.qwik.mjs";
|
|
3
|
+
import { UPDATE_COOKIES_AND_STYLES_SCRIPT, UPDATE_VARIANT_VISIBILITY_SCRIPT } from "./inlined-fns.qwik.mjs";
|
|
4
|
+
const UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME = "builderIoAbTest";
|
|
5
|
+
const UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME = "builderIoRenderContent";
|
|
6
|
+
const getVariants = (content) => Object.values((content == null ? void 0 : content.variations) || {}).map((variant) => ({
|
|
7
|
+
...variant,
|
|
8
|
+
testVariationId: variant.id,
|
|
9
|
+
id: content == null ? void 0 : content.id
|
|
10
|
+
}));
|
|
11
|
+
const checkShouldRenderVariants = ({ canTrack, content }) => {
|
|
12
|
+
const hasVariants = getVariants(content).length > 0;
|
|
13
|
+
if (!hasVariants)
|
|
14
|
+
return false;
|
|
15
|
+
if (!canTrack)
|
|
16
|
+
return false;
|
|
17
|
+
if (isBrowser())
|
|
18
|
+
return false;
|
|
19
|
+
return true;
|
|
20
|
+
};
|
|
21
|
+
const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
|
|
22
|
+
const isHydrationTarget = getIsHydrationTarget(TARGET);
|
|
23
|
+
const getInitVariantsFnsScriptString = () => `
|
|
24
|
+
window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
|
|
25
|
+
window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
|
|
26
|
+
`;
|
|
27
|
+
const getUpdateCookieAndStylesScript = (variants, contentId) => `
|
|
28
|
+
window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME}(
|
|
29
|
+
"${contentId}",${JSON.stringify(variants)}, ${isHydrationTarget}
|
|
30
|
+
)`;
|
|
31
|
+
const getUpdateVariantVisibilityScript = ({ contentId, variationId }) => `window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME}(
|
|
32
|
+
"${variationId}", "${contentId}", ${isHydrationTarget}
|
|
33
|
+
)`;
|
|
34
|
+
export {
|
|
35
|
+
checkShouldRenderVariants,
|
|
36
|
+
getInitVariantsFnsScriptString,
|
|
37
|
+
getUpdateCookieAndStylesScript,
|
|
38
|
+
getUpdateVariantVisibilityScript,
|
|
39
|
+
getVariants
|
|
40
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const UPDATE_COOKIES_AND_STYLES_SCRIPT = "function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {\n function getAndSetVariantId() {\n function setCookie(name, value, days) {\n let expires = '';\n if (days) {\n const date = new Date();\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n expires = '; expires=' + date.toUTCString();\n }\n document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${contentId}`;\n const variantInCookie = getCookie(cookieName);\n const availableIDs = variants.map(vr => vr.id).concat(contentId);\n if (variantInCookie && availableIDs.includes(variantInCookie)) {\n return variantInCookie;\n }\n let n = 0;\n const random = Math.random();\n for (let i = 0; i < variants.length; i++) {\n const variant = variants[i];\n const testRatio = variant.testRatio;\n n += testRatio;\n if (random < n) {\n setCookie(cookieName, variant.id);\n return variant.id;\n }\n }\n setCookie(cookieName, contentId);\n return contentId;\n }\n const winningVariantId = getAndSetVariantId();\n const styleEl = document.currentScript?.previousElementSibling;\n if (isHydrationTarget) {\n styleEl.remove();\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n } else {\n const newStyleStr = variants.concat({\n id: contentId\n }).filter(variant => variant.id !== winningVariantId).map(value => {\n return `.variant-${value.id} { display: none; }\n `;\n }).join('');\n styleEl.innerHTML = newStyleStr;\n }\n}";
|
|
4
|
+
const UPDATE_VARIANT_VISIBILITY_SCRIPT = "function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {\n if (!navigator.cookieEnabled) {\n return;\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${defaultContentId}`;\n const winningVariant = getCookie(cookieName);\n const parentDiv = document.currentScript?.parentElement;\n const isDefaultContent = variantContentId === defaultContentId;\n const isWinningVariant = winningVariant === variantContentId;\n if (isWinningVariant && !isDefaultContent) {\n parentDiv?.removeAttribute('hidden');\n parentDiv?.removeAttribute('aria-hidden');\n } else if (!isWinningVariant && isDefaultContent) {\n parentDiv?.setAttribute('hidden', 'true');\n parentDiv?.setAttribute('aria-hidden', 'true');\n }\n if (isHydrationTarget) {\n if (!isWinningVariant) {\n parentDiv?.remove();\n }\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n }\n return;\n}";
|
|
5
|
+
exports.UPDATE_COOKIES_AND_STYLES_SCRIPT = UPDATE_COOKIES_AND_STYLES_SCRIPT;
|
|
6
|
+
exports.UPDATE_VARIANT_VISIBILITY_SCRIPT = UPDATE_VARIANT_VISIBILITY_SCRIPT;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const UPDATE_COOKIES_AND_STYLES_SCRIPT = "function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {\n function getAndSetVariantId() {\n function setCookie(name, value, days) {\n let expires = '';\n if (days) {\n const date = new Date();\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n expires = '; expires=' + date.toUTCString();\n }\n document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${contentId}`;\n const variantInCookie = getCookie(cookieName);\n const availableIDs = variants.map(vr => vr.id).concat(contentId);\n if (variantInCookie && availableIDs.includes(variantInCookie)) {\n return variantInCookie;\n }\n let n = 0;\n const random = Math.random();\n for (let i = 0; i < variants.length; i++) {\n const variant = variants[i];\n const testRatio = variant.testRatio;\n n += testRatio;\n if (random < n) {\n setCookie(cookieName, variant.id);\n return variant.id;\n }\n }\n setCookie(cookieName, contentId);\n return contentId;\n }\n const winningVariantId = getAndSetVariantId();\n const styleEl = document.currentScript?.previousElementSibling;\n if (isHydrationTarget) {\n styleEl.remove();\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n } else {\n const newStyleStr = variants.concat({\n id: contentId\n }).filter(variant => variant.id !== winningVariantId).map(value => {\n return `.variant-${value.id} { display: none; }\n `;\n }).join('');\n styleEl.innerHTML = newStyleStr;\n }\n}";
|
|
2
|
+
const UPDATE_VARIANT_VISIBILITY_SCRIPT = "function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {\n if (!navigator.cookieEnabled) {\n return;\n }\n function getCookie(name) {\n const nameEQ = name + '=';\n const ca = document.cookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n const cookieName = `builder.tests.${defaultContentId}`;\n const winningVariant = getCookie(cookieName);\n const parentDiv = document.currentScript?.parentElement;\n const isDefaultContent = variantContentId === defaultContentId;\n const isWinningVariant = winningVariant === variantContentId;\n if (isWinningVariant && !isDefaultContent) {\n parentDiv?.removeAttribute('hidden');\n parentDiv?.removeAttribute('aria-hidden');\n } else if (!isWinningVariant && isDefaultContent) {\n parentDiv?.setAttribute('hidden', 'true');\n parentDiv?.setAttribute('aria-hidden', 'true');\n }\n if (isHydrationTarget) {\n if (!isWinningVariant) {\n parentDiv?.remove();\n }\n const thisScriptEl = document.currentScript;\n thisScriptEl?.remove();\n }\n return;\n}";
|
|
3
|
+
export {
|
|
4
|
+
UPDATE_COOKIES_AND_STYLES_SCRIPT,
|
|
5
|
+
UPDATE_VARIANT_VISIBILITY_SCRIPT
|
|
6
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set([
|
|
4
|
+
"area",
|
|
5
|
+
"base",
|
|
6
|
+
"br",
|
|
7
|
+
"col",
|
|
8
|
+
"embed",
|
|
9
|
+
"hr",
|
|
10
|
+
"img",
|
|
11
|
+
"input",
|
|
12
|
+
"keygen",
|
|
13
|
+
"link",
|
|
14
|
+
"meta",
|
|
15
|
+
"param",
|
|
16
|
+
"source",
|
|
17
|
+
"track",
|
|
18
|
+
"wbr"
|
|
19
|
+
]);
|
|
20
|
+
const isEmptyElement = (tagName) => {
|
|
21
|
+
return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.has(tagName.toLowerCase());
|
|
22
|
+
};
|
|
23
|
+
exports.isEmptyElement = isEmptyElement;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set([
|
|
2
|
+
"area",
|
|
3
|
+
"base",
|
|
4
|
+
"br",
|
|
5
|
+
"col",
|
|
6
|
+
"embed",
|
|
7
|
+
"hr",
|
|
8
|
+
"img",
|
|
9
|
+
"input",
|
|
10
|
+
"keygen",
|
|
11
|
+
"link",
|
|
12
|
+
"meta",
|
|
13
|
+
"param",
|
|
14
|
+
"source",
|
|
15
|
+
"track",
|
|
16
|
+
"wbr"
|
|
17
|
+
]);
|
|
18
|
+
const isEmptyElement = (tagName) => {
|
|
19
|
+
return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.has(tagName.toLowerCase());
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
isEmptyElement
|
|
23
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
4
|
+
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
5
|
+
const dynamicRenderer_helpers = require("./dynamic-renderer.helpers.qwik.cjs");
|
|
6
|
+
const DynamicRenderer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
7
|
+
qwik._jsxBranch();
|
|
8
|
+
return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
9
|
+
children: !dynamicRenderer_helpers.isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ qwik._jsxC(props.TagName, {
|
|
10
|
+
...props.attributes,
|
|
11
|
+
...props.actionAttributes,
|
|
12
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
|
|
13
|
+
}, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
|
|
14
|
+
...props.attributes,
|
|
15
|
+
...props.actionAttributes,
|
|
16
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
|
|
17
|
+
}, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
|
|
18
|
+
...props.attributes,
|
|
19
|
+
...props.actionAttributes
|
|
20
|
+
}, 0, "yW_4")
|
|
21
|
+
}, 1, "yW_5");
|
|
22
|
+
}, "DynamicRenderer_component_1Co0xkmyAfQ"));
|
|
23
|
+
exports.DynamicRenderer = DynamicRenderer;
|
|
24
|
+
exports.default = DynamicRenderer;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxBranch, _jsxC, Slot } from "@builder.io/qwik";
|
|
2
|
+
import { Fragment } from "@builder.io/qwik/jsx-runtime";
|
|
3
|
+
import { isEmptyElement } from "./dynamic-renderer.helpers.qwik.mjs";
|
|
4
|
+
const DynamicRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
5
|
+
_jsxBranch();
|
|
6
|
+
return /* @__PURE__ */ _jsxC(Fragment, {
|
|
7
|
+
children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ _jsxC(props.TagName, {
|
|
8
|
+
...props.attributes,
|
|
9
|
+
...props.actionAttributes,
|
|
10
|
+
children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_0")
|
|
11
|
+
}, 0, "yW_1") : /* @__PURE__ */ _jsxC(props.TagName, {
|
|
12
|
+
...props.attributes,
|
|
13
|
+
...props.actionAttributes,
|
|
14
|
+
children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_2")
|
|
15
|
+
}, 0, "yW_3") : /* @__PURE__ */ _jsxC(props.TagName, {
|
|
16
|
+
...props.attributes,
|
|
17
|
+
...props.actionAttributes
|
|
18
|
+
}, 0, "yW_4")
|
|
19
|
+
}, 1, "yW_5");
|
|
20
|
+
}, "DynamicRenderer_component_1Co0xkmyAfQ"));
|
|
21
|
+
export {
|
|
22
|
+
DynamicRenderer,
|
|
23
|
+
DynamicRenderer as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
4
|
+
const InlinedScript = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
5
|
+
return /* @__PURE__ */ qwik._jsxQ("script", null, {
|
|
6
|
+
dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.scriptStr, [
|
|
7
|
+
props
|
|
8
|
+
], "p0.scriptStr"),
|
|
9
|
+
"data-id": qwik._fnSignal((p0) => p0.id, [
|
|
10
|
+
props
|
|
11
|
+
], "p0.id"),
|
|
12
|
+
nonce: qwik._fnSignal((p0) => p0.nonce || "", [
|
|
13
|
+
props
|
|
14
|
+
], 'p0.nonce||""')
|
|
15
|
+
}, null, 3, "WO_0");
|
|
16
|
+
}, "InlinedScript_component_hwThBdhA8rw"));
|
|
17
|
+
exports.InlinedScript = InlinedScript;
|
|
18
|
+
exports.default = InlinedScript;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxQ, _fnSignal } from "@builder.io/qwik";
|
|
2
|
+
const InlinedScript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
3
|
+
return /* @__PURE__ */ _jsxQ("script", null, {
|
|
4
|
+
dangerouslySetInnerHTML: _fnSignal((p0) => p0.scriptStr, [
|
|
5
|
+
props
|
|
6
|
+
], "p0.scriptStr"),
|
|
7
|
+
"data-id": _fnSignal((p0) => p0.id, [
|
|
8
|
+
props
|
|
9
|
+
], "p0.id"),
|
|
10
|
+
nonce: _fnSignal((p0) => p0.nonce || "", [
|
|
11
|
+
props
|
|
12
|
+
], 'p0.nonce||""')
|
|
13
|
+
}, null, 3, "WO_0");
|
|
14
|
+
}, "InlinedScript_component_hwThBdhA8rw"));
|
|
15
|
+
export {
|
|
16
|
+
InlinedScript,
|
|
17
|
+
InlinedScript as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
4
|
+
const InlinedStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
5
|
+
return /* @__PURE__ */ qwik._jsxQ("style", null, {
|
|
6
|
+
dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.styles, [
|
|
7
|
+
props
|
|
8
|
+
], "p0.styles"),
|
|
9
|
+
"data-id": qwik._fnSignal((p0) => p0.id, [
|
|
10
|
+
props
|
|
11
|
+
], "p0.id"),
|
|
12
|
+
nonce: qwik._fnSignal((p0) => p0.nonce, [
|
|
13
|
+
props
|
|
14
|
+
], "p0.nonce")
|
|
15
|
+
}, null, 3, "NG_0");
|
|
16
|
+
}, "InlinedStyles_component_IOsg46hMexk"));
|
|
17
|
+
exports.InlinedStyles = InlinedStyles;
|
|
18
|
+
exports.default = InlinedStyles;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxQ, _fnSignal } from "@builder.io/qwik";
|
|
2
|
+
const InlinedStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
3
|
+
return /* @__PURE__ */ _jsxQ("style", null, {
|
|
4
|
+
dangerouslySetInnerHTML: _fnSignal((p0) => p0.styles, [
|
|
5
|
+
props
|
|
6
|
+
], "p0.styles"),
|
|
7
|
+
"data-id": _fnSignal((p0) => p0.id, [
|
|
8
|
+
props
|
|
9
|
+
], "p0.id"),
|
|
10
|
+
nonce: _fnSignal((p0) => p0.nonce, [
|
|
11
|
+
props
|
|
12
|
+
], "p0.nonce")
|
|
13
|
+
}, null, 3, "NG_0");
|
|
14
|
+
}, "InlinedStyles_component_IOsg46hMexk"));
|
|
15
|
+
export {
|
|
16
|
+
InlinedStyles,
|
|
17
|
+
InlinedStyles as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const componentInfo$9 = require("../blocks/accordion/component-info.qwik.cjs");
|
|
4
|
+
const accordion = require("../blocks/accordion/accordion.qwik.cjs");
|
|
5
|
+
const componentInfo = require("../blocks/button/component-info.qwik.cjs");
|
|
6
|
+
const button = require("../blocks/button/button.qwik.cjs");
|
|
7
|
+
const componentInfo$1 = require("../blocks/columns/component-info.qwik.cjs");
|
|
8
|
+
const columns = require("../blocks/columns/columns.qwik.cjs");
|
|
9
|
+
const componentInfo$2 = require("../blocks/fragment/component-info.qwik.cjs");
|
|
10
|
+
const fragment = require("../blocks/fragment/fragment.qwik.cjs");
|
|
11
|
+
const componentInfo$3 = require("../blocks/image/component-info.qwik.cjs");
|
|
12
|
+
const image = require("../blocks/image/image.qwik.cjs");
|
|
13
|
+
const componentInfo$4 = require("../blocks/section/component-info.qwik.cjs");
|
|
14
|
+
const section = require("../blocks/section/section.qwik.cjs");
|
|
15
|
+
const componentInfo$5 = require("../blocks/slot/component-info.qwik.cjs");
|
|
16
|
+
const slot = require("../blocks/slot/slot.qwik.cjs");
|
|
17
|
+
const componentInfo$6 = require("../blocks/symbol/component-info.qwik.cjs");
|
|
18
|
+
const symbol = require("../blocks/symbol/symbol.qwik.cjs");
|
|
19
|
+
const componentInfo$8 = require("../blocks/tabs/component-info.qwik.cjs");
|
|
20
|
+
const tabs = require("../blocks/tabs/tabs.qwik.cjs");
|
|
21
|
+
const componentInfo$7 = require("../blocks/text/component-info.qwik.cjs");
|
|
22
|
+
const text = require("../blocks/text/text.qwik.cjs");
|
|
23
|
+
const extraComponents = require("./extra-components.qwik.cjs");
|
|
24
|
+
const getDefaultRegisteredComponents = () => [
|
|
25
|
+
{
|
|
26
|
+
component: button.Button,
|
|
27
|
+
...componentInfo.componentInfo
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
component: columns.Columns,
|
|
31
|
+
...componentInfo$1.componentInfo
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
component: fragment.FragmentComponent,
|
|
35
|
+
...componentInfo$2.componentInfo
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
component: image.Image,
|
|
39
|
+
...componentInfo$3.componentInfo
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
component: section.SectionComponent,
|
|
43
|
+
...componentInfo$4.componentInfo
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
component: slot.Slot,
|
|
47
|
+
...componentInfo$5.componentInfo
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
component: symbol.Symbol,
|
|
51
|
+
...componentInfo$6.componentInfo
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
component: text.Text,
|
|
55
|
+
...componentInfo$7.componentInfo
|
|
56
|
+
},
|
|
57
|
+
...[
|
|
58
|
+
{
|
|
59
|
+
component: tabs.Tabs,
|
|
60
|
+
...componentInfo$8.componentInfo
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
component: accordion.Accordion,
|
|
64
|
+
...componentInfo$9.componentInfo
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
...extraComponents.getExtraComponents()
|
|
68
|
+
];
|
|
69
|
+
exports.getDefaultRegisteredComponents = getDefaultRegisteredComponents;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { componentInfo as componentInfo$9 } from "../blocks/accordion/component-info.qwik.mjs";
|
|
2
|
+
import { Accordion } from "../blocks/accordion/accordion.qwik.mjs";
|
|
3
|
+
import { componentInfo } from "../blocks/button/component-info.qwik.mjs";
|
|
4
|
+
import { Button } from "../blocks/button/button.qwik.mjs";
|
|
5
|
+
import { componentInfo as componentInfo$1 } from "../blocks/columns/component-info.qwik.mjs";
|
|
6
|
+
import { Columns } from "../blocks/columns/columns.qwik.mjs";
|
|
7
|
+
import { componentInfo as componentInfo$2 } from "../blocks/fragment/component-info.qwik.mjs";
|
|
8
|
+
import { FragmentComponent } from "../blocks/fragment/fragment.qwik.mjs";
|
|
9
|
+
import { componentInfo as componentInfo$3 } from "../blocks/image/component-info.qwik.mjs";
|
|
10
|
+
import { Image } from "../blocks/image/image.qwik.mjs";
|
|
11
|
+
import { componentInfo as componentInfo$4 } from "../blocks/section/component-info.qwik.mjs";
|
|
12
|
+
import { SectionComponent } from "../blocks/section/section.qwik.mjs";
|
|
13
|
+
import { componentInfo as componentInfo$5 } from "../blocks/slot/component-info.qwik.mjs";
|
|
14
|
+
import { Slot } from "../blocks/slot/slot.qwik.mjs";
|
|
15
|
+
import { componentInfo as componentInfo$6 } from "../blocks/symbol/component-info.qwik.mjs";
|
|
16
|
+
import { Symbol as Symbol$1 } from "../blocks/symbol/symbol.qwik.mjs";
|
|
17
|
+
import { componentInfo as componentInfo$8 } from "../blocks/tabs/component-info.qwik.mjs";
|
|
18
|
+
import { Tabs } from "../blocks/tabs/tabs.qwik.mjs";
|
|
19
|
+
import { componentInfo as componentInfo$7 } from "../blocks/text/component-info.qwik.mjs";
|
|
20
|
+
import { Text } from "../blocks/text/text.qwik.mjs";
|
|
21
|
+
import { getExtraComponents } from "./extra-components.qwik.mjs";
|
|
22
|
+
const getDefaultRegisteredComponents = () => [
|
|
23
|
+
{
|
|
24
|
+
component: Button,
|
|
25
|
+
...componentInfo
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
component: Columns,
|
|
29
|
+
...componentInfo$1
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
component: FragmentComponent,
|
|
33
|
+
...componentInfo$2
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
component: Image,
|
|
37
|
+
...componentInfo$3
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
component: SectionComponent,
|
|
41
|
+
...componentInfo$4
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
component: Slot,
|
|
45
|
+
...componentInfo$5
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
component: Symbol$1,
|
|
49
|
+
...componentInfo$6
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
component: Text,
|
|
53
|
+
...componentInfo$7
|
|
54
|
+
},
|
|
55
|
+
...[
|
|
56
|
+
{
|
|
57
|
+
component: Tabs,
|
|
58
|
+
...componentInfo$8
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
component: Accordion,
|
|
62
|
+
...componentInfo$9
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
...getExtraComponents()
|
|
66
|
+
];
|
|
67
|
+
export {
|
|
68
|
+
getDefaultRegisteredComponents
|
|
69
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const fastClone = require("../functions/fast-clone.qwik.cjs");
|
|
4
|
+
const SIZES = {
|
|
5
|
+
small: {
|
|
6
|
+
min: 320,
|
|
7
|
+
default: 321,
|
|
8
|
+
max: 640
|
|
9
|
+
},
|
|
10
|
+
medium: {
|
|
11
|
+
min: 641,
|
|
12
|
+
default: 642,
|
|
13
|
+
max: 991
|
|
14
|
+
},
|
|
15
|
+
large: {
|
|
16
|
+
min: 990,
|
|
17
|
+
default: 991,
|
|
18
|
+
max: 1200
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
|
|
22
|
+
const getSizesForBreakpoints = ({ small, medium }) => {
|
|
23
|
+
const newSizes = fastClone.fastClone(SIZES);
|
|
24
|
+
if (!small || !medium)
|
|
25
|
+
return newSizes;
|
|
26
|
+
const smallMin = Math.floor(small / 2);
|
|
27
|
+
newSizes.small = {
|
|
28
|
+
max: small,
|
|
29
|
+
min: smallMin,
|
|
30
|
+
default: smallMin + 1
|
|
31
|
+
};
|
|
32
|
+
const mediumMin = newSizes.small.max + 1;
|
|
33
|
+
newSizes.medium = {
|
|
34
|
+
max: medium,
|
|
35
|
+
min: mediumMin,
|
|
36
|
+
default: mediumMin + 1
|
|
37
|
+
};
|
|
38
|
+
const largeMin = newSizes.medium.max + 1;
|
|
39
|
+
newSizes.large = {
|
|
40
|
+
max: 2e3,
|
|
41
|
+
// TODO: decide upper limit
|
|
42
|
+
min: largeMin,
|
|
43
|
+
default: largeMin + 1
|
|
44
|
+
};
|
|
45
|
+
return newSizes;
|
|
46
|
+
};
|
|
47
|
+
exports.getMaxWidthQueryForSize = getMaxWidthQueryForSize;
|
|
48
|
+
exports.getSizesForBreakpoints = getSizesForBreakpoints;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { fastClone } from "../functions/fast-clone.qwik.mjs";
|
|
2
|
+
const SIZES = {
|
|
3
|
+
small: {
|
|
4
|
+
min: 320,
|
|
5
|
+
default: 321,
|
|
6
|
+
max: 640
|
|
7
|
+
},
|
|
8
|
+
medium: {
|
|
9
|
+
min: 641,
|
|
10
|
+
default: 642,
|
|
11
|
+
max: 991
|
|
12
|
+
},
|
|
13
|
+
large: {
|
|
14
|
+
min: 990,
|
|
15
|
+
default: 991,
|
|
16
|
+
max: 1200
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
|
|
20
|
+
const getSizesForBreakpoints = ({ small, medium }) => {
|
|
21
|
+
const newSizes = fastClone(SIZES);
|
|
22
|
+
if (!small || !medium)
|
|
23
|
+
return newSizes;
|
|
24
|
+
const smallMin = Math.floor(small / 2);
|
|
25
|
+
newSizes.small = {
|
|
26
|
+
max: small,
|
|
27
|
+
min: smallMin,
|
|
28
|
+
default: smallMin + 1
|
|
29
|
+
};
|
|
30
|
+
const mediumMin = newSizes.small.max + 1;
|
|
31
|
+
newSizes.medium = {
|
|
32
|
+
max: medium,
|
|
33
|
+
min: mediumMin,
|
|
34
|
+
default: mediumMin + 1
|
|
35
|
+
};
|
|
36
|
+
const largeMin = newSizes.medium.max + 1;
|
|
37
|
+
newSizes.large = {
|
|
38
|
+
max: 2e3,
|
|
39
|
+
// TODO: decide upper limit
|
|
40
|
+
min: largeMin,
|
|
41
|
+
default: largeMin + 1
|
|
42
|
+
};
|
|
43
|
+
return newSizes;
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
getMaxWidthQueryForSize,
|
|
47
|
+
getSizesForBreakpoints
|
|
48
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const componentInfo = require("../blocks/custom-code/component-info.qwik.cjs");
|
|
4
|
+
const customCode = require("../blocks/custom-code/custom-code.qwik.cjs");
|
|
5
|
+
const componentInfo$1 = require("../blocks/embed/component-info.qwik.cjs");
|
|
6
|
+
const embed = require("../blocks/embed/embed.qwik.cjs");
|
|
7
|
+
const componentInfo$2 = require("../blocks/form/form/component-info.qwik.cjs");
|
|
8
|
+
const form = require("../blocks/form/form/form.qwik.cjs");
|
|
9
|
+
const componentInfo$3 = require("../blocks/form/input/component-info.qwik.cjs");
|
|
10
|
+
const input = require("../blocks/form/input/input.qwik.cjs");
|
|
11
|
+
const componentInfo$5 = require("../blocks/form/select/component-info.qwik.cjs");
|
|
12
|
+
const select = require("../blocks/form/select/select.qwik.cjs");
|
|
13
|
+
const componentInfo$4 = require("../blocks/form/submit-button/component-info.qwik.cjs");
|
|
14
|
+
const submitButton = require("../blocks/form/submit-button/submit-button.qwik.cjs");
|
|
15
|
+
const componentInfo$6 = require("../blocks/form/textarea/component-info.qwik.cjs");
|
|
16
|
+
const textarea = require("../blocks/form/textarea/textarea.qwik.cjs");
|
|
17
|
+
const componentInfo$7 = require("../blocks/img/component-info.qwik.cjs");
|
|
18
|
+
const img = require("../blocks/img/img.qwik.cjs");
|
|
19
|
+
const componentInfo$8 = require("../blocks/video/component-info.qwik.cjs");
|
|
20
|
+
const video = require("../blocks/video/video.qwik.cjs");
|
|
21
|
+
const getExtraComponents = () => [
|
|
22
|
+
{
|
|
23
|
+
component: customCode.CustomCode,
|
|
24
|
+
...componentInfo.componentInfo
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
component: embed.Embed,
|
|
28
|
+
...componentInfo$1.componentInfo
|
|
29
|
+
},
|
|
30
|
+
...[
|
|
31
|
+
{
|
|
32
|
+
component: form.FormComponent,
|
|
33
|
+
...componentInfo$2.componentInfo
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
component: input.FormInputComponent,
|
|
37
|
+
...componentInfo$3.componentInfo
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
component: submitButton.SubmitButton,
|
|
41
|
+
...componentInfo$4.componentInfo
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
component: select.SelectComponent,
|
|
45
|
+
...componentInfo$5.componentInfo
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
component: textarea.Textarea,
|
|
49
|
+
...componentInfo$6.componentInfo
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
{
|
|
53
|
+
component: img.ImgComponent,
|
|
54
|
+
...componentInfo$7.componentInfo
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
component: video.Video,
|
|
58
|
+
...componentInfo$8.componentInfo
|
|
59
|
+
}
|
|
60
|
+
];
|
|
61
|
+
exports.getExtraComponents = getExtraComponents;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { componentInfo } from "../blocks/custom-code/component-info.qwik.mjs";
|
|
2
|
+
import { CustomCode } from "../blocks/custom-code/custom-code.qwik.mjs";
|
|
3
|
+
import { componentInfo as componentInfo$1 } from "../blocks/embed/component-info.qwik.mjs";
|
|
4
|
+
import { Embed } from "../blocks/embed/embed.qwik.mjs";
|
|
5
|
+
import { componentInfo as componentInfo$2 } from "../blocks/form/form/component-info.qwik.mjs";
|
|
6
|
+
import { FormComponent } from "../blocks/form/form/form.qwik.mjs";
|
|
7
|
+
import { componentInfo as componentInfo$3 } from "../blocks/form/input/component-info.qwik.mjs";
|
|
8
|
+
import { FormInputComponent } from "../blocks/form/input/input.qwik.mjs";
|
|
9
|
+
import { componentInfo as componentInfo$5 } from "../blocks/form/select/component-info.qwik.mjs";
|
|
10
|
+
import { SelectComponent } from "../blocks/form/select/select.qwik.mjs";
|
|
11
|
+
import { componentInfo as componentInfo$4 } from "../blocks/form/submit-button/component-info.qwik.mjs";
|
|
12
|
+
import { SubmitButton } from "../blocks/form/submit-button/submit-button.qwik.mjs";
|
|
13
|
+
import { componentInfo as componentInfo$6 } from "../blocks/form/textarea/component-info.qwik.mjs";
|
|
14
|
+
import { Textarea } from "../blocks/form/textarea/textarea.qwik.mjs";
|
|
15
|
+
import { componentInfo as componentInfo$7 } from "../blocks/img/component-info.qwik.mjs";
|
|
16
|
+
import { ImgComponent } from "../blocks/img/img.qwik.mjs";
|
|
17
|
+
import { componentInfo as componentInfo$8 } from "../blocks/video/component-info.qwik.mjs";
|
|
18
|
+
import { Video } from "../blocks/video/video.qwik.mjs";
|
|
19
|
+
const getExtraComponents = () => [
|
|
20
|
+
{
|
|
21
|
+
component: CustomCode,
|
|
22
|
+
...componentInfo
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
component: Embed,
|
|
26
|
+
...componentInfo$1
|
|
27
|
+
},
|
|
28
|
+
...[
|
|
29
|
+
{
|
|
30
|
+
component: FormComponent,
|
|
31
|
+
...componentInfo$2
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
component: FormInputComponent,
|
|
35
|
+
...componentInfo$3
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
component: SubmitButton,
|
|
39
|
+
...componentInfo$4
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
component: SelectComponent,
|
|
43
|
+
...componentInfo$5
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
component: Textarea,
|
|
47
|
+
...componentInfo$6
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
{
|
|
51
|
+
component: ImgComponent,
|
|
52
|
+
...componentInfo$7
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
component: Video,
|
|
56
|
+
...componentInfo$8
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
export {
|
|
60
|
+
getExtraComponents
|
|
61
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const target = require("./target.qwik.cjs");
|
|
4
|
+
const SDK_NAME_FOR_TARGET = (() => {
|
|
5
|
+
switch (target.TARGET) {
|
|
6
|
+
case "rsc":
|
|
7
|
+
return "react-nextjs";
|
|
8
|
+
case "reactNative":
|
|
9
|
+
return "react-native";
|
|
10
|
+
default:
|
|
11
|
+
return target.TARGET;
|
|
12
|
+
}
|
|
13
|
+
})();
|
|
14
|
+
const SDK_NAME = `@builder.io/sdk-${SDK_NAME_FOR_TARGET}`;
|
|
15
|
+
exports.SDK_NAME = SDK_NAME;
|