@builder.io/sdk-qwik 0.16.19 → 0.16.21
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/lib/browser/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/browser/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/browser/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/browser/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/browser/blocks/button/button.qwik.cjs +17 -8
- package/lib/browser/blocks/button/button.qwik.mjs +17 -8
- package/lib/browser/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/browser/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/browser/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/browser/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/browser/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/browser/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/browser/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/browser/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/browser/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/browser/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/browser/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/browser/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/browser/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/browser/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/browser/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/browser/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/browser/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/browser/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/browser/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/browser/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/browser/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/browser/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/browser/blocks/image/image.qwik.cjs +89 -63
- package/lib/browser/blocks/image/image.qwik.mjs +89 -63
- package/lib/browser/blocks/img/img.qwik.cjs +18 -12
- package/lib/browser/blocks/img/img.qwik.mjs +18 -12
- package/lib/browser/blocks/section/section.qwik.cjs +6 -7
- package/lib/browser/blocks/section/section.qwik.mjs +7 -8
- package/lib/browser/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/browser/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/browser/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/browser/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/browser/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/browser/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/browser/blocks/text/text.qwik.cjs +15 -11
- package/lib/browser/blocks/text/text.qwik.mjs +15 -11
- package/lib/browser/blocks/video/video.qwik.cjs +87 -73
- package/lib/browser/blocks/video/video.qwik.mjs +88 -74
- package/lib/browser/components/awaiter.qwik.cjs +7 -8
- package/lib/browser/components/awaiter.qwik.mjs +8 -9
- package/lib/browser/components/block/animator.qwik.cjs +11 -22
- package/lib/browser/components/block/animator.qwik.mjs +11 -22
- package/lib/browser/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/browser/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/browser/components/block/block.qwik.cjs +320 -114
- package/lib/browser/components/block/block.qwik.mjs +321 -115
- package/lib/browser/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/browser/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/browser/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/browser/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/browser/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/browser/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/browser/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/browser/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/browser/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/browser/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/browser/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/browser/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/browser/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/browser/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/browser/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/browser/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/browser/components/content/components/styles.qwik.cjs +20 -8
- package/lib/browser/components/content/components/styles.qwik.mjs +20 -8
- package/lib/browser/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/browser/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/browser/components/content/content.qwik.cjs +213 -51
- package/lib/browser/components/content/content.qwik.mjs +213 -51
- package/lib/browser/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/browser/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/browser/components/inlined-script.qwik.cjs +13 -8
- package/lib/browser/components/inlined-script.qwik.mjs +14 -9
- package/lib/browser/components/inlined-styles.qwik.cjs +13 -8
- package/lib/browser/components/inlined-styles.qwik.mjs +14 -9
- package/lib/browser/constants/device-sizes.qwik.cjs +1 -2
- package/lib/browser/constants/device-sizes.qwik.mjs +1 -2
- package/lib/browser/constants/sdk-version.qwik.cjs +1 -1
- package/lib/browser/constants/sdk-version.qwik.mjs +1 -1
- package/lib/browser/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/browser/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/browser/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/browser/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/browser/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/browser/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/browser/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/browser/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/browser/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/browser/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/browser/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/browser/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/browser/functions/get-content/index.qwik.cjs +2 -4
- package/lib/browser/functions/get-content/index.qwik.mjs +2 -4
- package/lib/browser/functions/get-global-this.qwik.cjs +4 -8
- package/lib/browser/functions/get-global-this.qwik.mjs +4 -8
- package/lib/browser/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/browser/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/browser/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/browser/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/browser/functions/is-previewing.qwik.cjs +1 -2
- package/lib/browser/functions/is-previewing.qwik.mjs +1 -2
- package/lib/browser/functions/register-component.qwik.cjs +1 -2
- package/lib/browser/functions/register-component.qwik.mjs +1 -2
- package/lib/browser/functions/register.qwik.cjs +3 -6
- package/lib/browser/functions/register.qwik.mjs +3 -6
- package/lib/browser/functions/set.qwik.cjs +1 -2
- package/lib/browser/functions/set.qwik.mjs +1 -2
- package/lib/browser/functions/track/helpers.qwik.cjs +1 -2
- package/lib/browser/functions/track/helpers.qwik.mjs +1 -2
- package/lib/browser/functions/track/index.qwik.cjs +4 -8
- package/lib/browser/functions/track/index.qwik.mjs +4 -8
- package/lib/browser/functions/track/interaction.qwik.cjs +3 -6
- package/lib/browser/functions/track/interaction.qwik.mjs +3 -6
- package/lib/browser/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/browser/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/browser/helpers/cookie.qwik.cjs +2 -4
- package/lib/browser/helpers/cookie.qwik.mjs +2 -4
- package/lib/browser/helpers/css.qwik.cjs +4 -6
- package/lib/browser/helpers/css.qwik.mjs +4 -6
- package/lib/browser/helpers/flatten.qwik.cjs +2 -3
- package/lib/browser/helpers/flatten.qwik.mjs +2 -3
- package/lib/browser/helpers/localStorage.qwik.cjs +2 -4
- package/lib/browser/helpers/localStorage.qwik.mjs +2 -4
- package/lib/browser/helpers/omit.qwik.cjs +1 -2
- package/lib/browser/helpers/omit.qwik.mjs +1 -2
- package/lib/browser/helpers/search/search.qwik.cjs +2 -3
- package/lib/browser/helpers/search/search.qwik.mjs +2 -3
- package/lib/browser/helpers/sessionId.qwik.cjs +3 -4
- package/lib/browser/helpers/sessionId.qwik.mjs +3 -4
- package/lib/browser/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/browser/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/browser/helpers/url.qwik.cjs +2 -4
- package/lib/browser/helpers/url.qwik.mjs +2 -4
- package/lib/browser/helpers/visitorId.qwik.cjs +3 -4
- package/lib/browser/helpers/visitorId.qwik.mjs +3 -4
- package/lib/browser/scripts/init-editing.qwik.cjs +19 -25
- package/lib/browser/scripts/init-editing.qwik.mjs +19 -25
- package/lib/edge/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/edge/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/edge/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/edge/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/edge/blocks/button/button.qwik.cjs +17 -8
- package/lib/edge/blocks/button/button.qwik.mjs +17 -8
- package/lib/edge/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/edge/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/edge/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/edge/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/edge/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/edge/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/edge/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/edge/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/edge/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/edge/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/edge/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/edge/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/edge/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/edge/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/edge/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/edge/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/edge/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/edge/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/edge/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/edge/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/edge/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/edge/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/edge/blocks/image/image.qwik.cjs +89 -63
- package/lib/edge/blocks/image/image.qwik.mjs +89 -63
- package/lib/edge/blocks/img/img.qwik.cjs +18 -12
- package/lib/edge/blocks/img/img.qwik.mjs +18 -12
- package/lib/edge/blocks/section/section.qwik.cjs +6 -7
- package/lib/edge/blocks/section/section.qwik.mjs +7 -8
- package/lib/edge/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/edge/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/edge/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/edge/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/edge/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/edge/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/edge/blocks/text/text.qwik.cjs +15 -11
- package/lib/edge/blocks/text/text.qwik.mjs +15 -11
- package/lib/edge/blocks/video/video.qwik.cjs +87 -73
- package/lib/edge/blocks/video/video.qwik.mjs +88 -74
- package/lib/edge/components/awaiter.qwik.cjs +7 -8
- package/lib/edge/components/awaiter.qwik.mjs +8 -9
- package/lib/edge/components/block/animator.qwik.cjs +11 -22
- package/lib/edge/components/block/animator.qwik.mjs +11 -22
- package/lib/edge/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/edge/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/edge/components/block/block.qwik.cjs +320 -114
- package/lib/edge/components/block/block.qwik.mjs +321 -115
- package/lib/edge/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/edge/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/edge/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/edge/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/edge/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/edge/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/edge/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/edge/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/edge/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/edge/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/edge/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/edge/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/edge/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/edge/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/edge/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/edge/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/edge/components/content/components/styles.qwik.cjs +20 -8
- package/lib/edge/components/content/components/styles.qwik.mjs +20 -8
- package/lib/edge/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/edge/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/edge/components/content/content.qwik.cjs +213 -51
- package/lib/edge/components/content/content.qwik.mjs +213 -51
- package/lib/edge/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/edge/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/edge/components/inlined-script.qwik.cjs +13 -8
- package/lib/edge/components/inlined-script.qwik.mjs +14 -9
- package/lib/edge/components/inlined-styles.qwik.cjs +13 -8
- package/lib/edge/components/inlined-styles.qwik.mjs +14 -9
- package/lib/edge/constants/device-sizes.qwik.cjs +1 -2
- package/lib/edge/constants/device-sizes.qwik.mjs +1 -2
- package/lib/edge/constants/sdk-version.qwik.cjs +1 -1
- package/lib/edge/constants/sdk-version.qwik.mjs +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.cjs +7 -6
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.mjs +7 -6
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.cjs +11 -20
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.mjs +11 -20
- package/lib/edge/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/edge/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/edge/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/edge/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/edge/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/edge/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/edge/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/edge/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/edge/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/edge/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/edge/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/edge/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/edge/functions/get-content/index.qwik.cjs +2 -4
- package/lib/edge/functions/get-content/index.qwik.mjs +2 -4
- package/lib/edge/functions/get-global-this.qwik.cjs +4 -8
- package/lib/edge/functions/get-global-this.qwik.mjs +4 -8
- package/lib/edge/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/edge/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/edge/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/edge/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/edge/functions/is-previewing.qwik.cjs +1 -2
- package/lib/edge/functions/is-previewing.qwik.mjs +1 -2
- package/lib/edge/functions/register-component.qwik.cjs +1 -2
- package/lib/edge/functions/register-component.qwik.mjs +1 -2
- package/lib/edge/functions/register.qwik.cjs +3 -6
- package/lib/edge/functions/register.qwik.mjs +3 -6
- package/lib/edge/functions/set.qwik.cjs +1 -2
- package/lib/edge/functions/set.qwik.mjs +1 -2
- package/lib/edge/functions/track/helpers.qwik.cjs +1 -2
- package/lib/edge/functions/track/helpers.qwik.mjs +1 -2
- package/lib/edge/functions/track/index.qwik.cjs +4 -8
- package/lib/edge/functions/track/index.qwik.mjs +4 -8
- package/lib/edge/functions/track/interaction.qwik.cjs +3 -6
- package/lib/edge/functions/track/interaction.qwik.mjs +3 -6
- package/lib/edge/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/edge/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/edge/helpers/cookie.qwik.cjs +2 -4
- package/lib/edge/helpers/cookie.qwik.mjs +2 -4
- package/lib/edge/helpers/css.qwik.cjs +4 -6
- package/lib/edge/helpers/css.qwik.mjs +4 -6
- package/lib/edge/helpers/flatten.qwik.cjs +2 -3
- package/lib/edge/helpers/flatten.qwik.mjs +2 -3
- package/lib/edge/helpers/localStorage.qwik.cjs +2 -4
- package/lib/edge/helpers/localStorage.qwik.mjs +2 -4
- package/lib/edge/helpers/omit.qwik.cjs +1 -2
- package/lib/edge/helpers/omit.qwik.mjs +1 -2
- package/lib/edge/helpers/search/search.qwik.cjs +2 -3
- package/lib/edge/helpers/search/search.qwik.mjs +2 -3
- package/lib/edge/helpers/sessionId.qwik.cjs +3 -4
- package/lib/edge/helpers/sessionId.qwik.mjs +3 -4
- package/lib/edge/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/edge/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/edge/helpers/url.qwik.cjs +2 -4
- package/lib/edge/helpers/url.qwik.mjs +2 -4
- package/lib/edge/helpers/visitorId.qwik.cjs +3 -4
- package/lib/edge/helpers/visitorId.qwik.mjs +3 -4
- package/lib/edge/scripts/init-editing.qwik.cjs +19 -25
- package/lib/edge/scripts/init-editing.qwik.mjs +19 -25
- package/lib/node/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/node/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/node/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/node/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/node/blocks/button/button.qwik.cjs +17 -8
- package/lib/node/blocks/button/button.qwik.mjs +17 -8
- package/lib/node/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/node/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/node/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/node/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/node/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/node/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/node/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/node/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/node/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/node/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/node/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/node/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/node/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/node/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/node/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/node/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/node/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/node/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/node/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/node/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/node/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/node/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/node/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/node/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/node/blocks/image/image.qwik.cjs +89 -63
- package/lib/node/blocks/image/image.qwik.mjs +89 -63
- package/lib/node/blocks/img/img.qwik.cjs +18 -12
- package/lib/node/blocks/img/img.qwik.mjs +18 -12
- package/lib/node/blocks/section/section.qwik.cjs +6 -7
- package/lib/node/blocks/section/section.qwik.mjs +7 -8
- package/lib/node/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/node/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/node/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/node/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/node/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/node/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/node/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/node/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/node/blocks/text/text.qwik.cjs +15 -11
- package/lib/node/blocks/text/text.qwik.mjs +15 -11
- package/lib/node/blocks/video/video.qwik.cjs +87 -73
- package/lib/node/blocks/video/video.qwik.mjs +88 -74
- package/lib/node/components/awaiter.qwik.cjs +7 -8
- package/lib/node/components/awaiter.qwik.mjs +8 -9
- package/lib/node/components/block/animator.qwik.cjs +11 -22
- package/lib/node/components/block/animator.qwik.mjs +11 -22
- package/lib/node/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/node/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/node/components/block/block.qwik.cjs +320 -114
- package/lib/node/components/block/block.qwik.mjs +321 -115
- package/lib/node/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/node/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/node/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/node/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/node/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/node/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/node/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/node/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/node/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/node/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/node/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/node/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/node/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/node/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/node/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/node/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/node/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/node/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/node/components/content/components/styles.qwik.cjs +20 -8
- package/lib/node/components/content/components/styles.qwik.mjs +20 -8
- package/lib/node/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/node/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/node/components/content/content.qwik.cjs +213 -51
- package/lib/node/components/content/content.qwik.mjs +213 -51
- package/lib/node/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/node/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/node/components/inlined-script.qwik.cjs +13 -8
- package/lib/node/components/inlined-script.qwik.mjs +14 -9
- package/lib/node/components/inlined-styles.qwik.cjs +13 -8
- package/lib/node/components/inlined-styles.qwik.mjs +14 -9
- package/lib/node/constants/device-sizes.qwik.cjs +1 -2
- package/lib/node/constants/device-sizes.qwik.mjs +1 -2
- package/lib/node/constants/sdk-version.qwik.cjs +1 -1
- package/lib/node/constants/sdk-version.qwik.mjs +1 -1
- package/lib/node/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/node/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/node/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/node/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/node/functions/evaluate/node-runtime/init.qwik.cjs +1 -2
- package/lib/node/functions/evaluate/node-runtime/init.qwik.mjs +1 -2
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.cjs +5 -4
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.mjs +5 -4
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/node/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/node/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/node/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/node/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/node/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/node/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/node/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/node/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/node/functions/get-content/index.qwik.cjs +2 -4
- package/lib/node/functions/get-content/index.qwik.mjs +2 -4
- package/lib/node/functions/get-global-this.qwik.cjs +4 -8
- package/lib/node/functions/get-global-this.qwik.mjs +4 -8
- package/lib/node/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/node/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/node/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/node/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/node/functions/is-previewing.qwik.cjs +1 -2
- package/lib/node/functions/is-previewing.qwik.mjs +1 -2
- package/lib/node/functions/register-component.qwik.cjs +1 -2
- package/lib/node/functions/register-component.qwik.mjs +1 -2
- package/lib/node/functions/register.qwik.cjs +3 -6
- package/lib/node/functions/register.qwik.mjs +3 -6
- package/lib/node/functions/set.qwik.cjs +1 -2
- package/lib/node/functions/set.qwik.mjs +1 -2
- package/lib/node/functions/track/helpers.qwik.cjs +1 -2
- package/lib/node/functions/track/helpers.qwik.mjs +1 -2
- package/lib/node/functions/track/index.qwik.cjs +4 -8
- package/lib/node/functions/track/index.qwik.mjs +4 -8
- package/lib/node/functions/track/interaction.qwik.cjs +3 -6
- package/lib/node/functions/track/interaction.qwik.mjs +3 -6
- package/lib/node/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/node/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/node/helpers/cookie.qwik.cjs +2 -4
- package/lib/node/helpers/cookie.qwik.mjs +2 -4
- package/lib/node/helpers/css.qwik.cjs +4 -6
- package/lib/node/helpers/css.qwik.mjs +4 -6
- package/lib/node/helpers/flatten.qwik.cjs +2 -3
- package/lib/node/helpers/flatten.qwik.mjs +2 -3
- package/lib/node/helpers/localStorage.qwik.cjs +2 -4
- package/lib/node/helpers/localStorage.qwik.mjs +2 -4
- package/lib/node/helpers/omit.qwik.cjs +1 -2
- package/lib/node/helpers/omit.qwik.mjs +1 -2
- package/lib/node/helpers/search/search.qwik.cjs +2 -3
- package/lib/node/helpers/search/search.qwik.mjs +2 -3
- package/lib/node/helpers/sessionId.qwik.cjs +3 -4
- package/lib/node/helpers/sessionId.qwik.mjs +3 -4
- package/lib/node/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/node/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/node/helpers/url.qwik.cjs +2 -4
- package/lib/node/helpers/url.qwik.mjs +2 -4
- package/lib/node/helpers/visitorId.qwik.cjs +3 -4
- package/lib/node/helpers/visitorId.qwik.mjs +3 -4
- package/lib/node/scripts/init-editing.qwik.cjs +19 -25
- package/lib/node/scripts/init-editing.qwik.mjs +19 -25
- package/package.json +2 -2
- package/types/src/blocks/columns/columns.d.ts +10 -10
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/functions/evaluate/node-runtime/setIvm.d.ts +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxBranch, useStore, useComputedQrl, useLexicalScope, _jsxC, Fragment, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
|
|
2
|
+
import { Fragment as Fragment$1 } from "@builder.io/qwik/jsx-runtime";
|
|
2
3
|
import { TARGET } from "../../constants/target.qwik.mjs";
|
|
3
4
|
import { handleABTestingSync } from "../../helpers/ab-tests.qwik.mjs";
|
|
4
5
|
import { getDefaultCanTrack } from "../../helpers/canTrack.qwik.mjs";
|
|
@@ -6,106 +7,354 @@ import { ContentComponent } from "../content/content.qwik.mjs";
|
|
|
6
7
|
import { InlinedScript } from "../inlined-script.qwik.mjs";
|
|
7
8
|
import { InlinedStyles } from "../inlined-styles.qwik.mjs";
|
|
8
9
|
import { checkShouldRenderVariants, getUpdateCookieAndStylesScript, getVariants, getInitVariantsFnsScriptString } from "./helpers.qwik.mjs";
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
11
|
+
_jsxBranch();
|
|
11
12
|
const state = useStore({
|
|
12
13
|
shouldRenderVariants: checkShouldRenderVariants({
|
|
13
14
|
canTrack: getDefaultCanTrack(props.canTrack),
|
|
14
15
|
content: props.content
|
|
15
16
|
})
|
|
16
17
|
});
|
|
17
|
-
const updateCookieAndStylesScriptStr =
|
|
18
|
+
const updateCookieAndStylesScriptStr = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
18
19
|
var _a;
|
|
19
|
-
|
|
20
|
+
const [props2] = useLexicalScope();
|
|
21
|
+
return getUpdateCookieAndStylesScript(getVariants(props2.content).map((value) => ({
|
|
20
22
|
id: value.testVariationId,
|
|
21
23
|
testRatio: value.testRatio
|
|
22
|
-
})), ((_a =
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
})), ((_a = props2.content) == null ? void 0 : _a.id) || "");
|
|
25
|
+
}, "ContentVariants_component_updateCookieAndStylesScriptStr_useComputed_FtJXWpnoDYg", [
|
|
26
|
+
props
|
|
27
|
+
]));
|
|
28
|
+
const hideVariantsStyleString = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
29
|
+
const [props2] = useLexicalScope();
|
|
30
|
+
return getVariants(props2.content).map((value) => `.variant-${value.testVariationId} { display: none; } `).join("");
|
|
31
|
+
}, "ContentVariants_component_hideVariantsStyleString_useComputed_fQIC0fJqAl4", [
|
|
32
|
+
props
|
|
33
|
+
]));
|
|
34
|
+
const defaultContent = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
28
35
|
var _a;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
36
|
+
const [props2, state2] = useLexicalScope();
|
|
37
|
+
return state2.shouldRenderVariants ? {
|
|
38
|
+
...props2.content,
|
|
39
|
+
testVariationId: (_a = props2.content) == null ? void 0 : _a.id
|
|
32
40
|
} : handleABTestingSync({
|
|
33
|
-
item:
|
|
34
|
-
canTrack: getDefaultCanTrack(
|
|
41
|
+
item: props2.content,
|
|
42
|
+
canTrack: getDefaultCanTrack(props2.canTrack)
|
|
35
43
|
});
|
|
36
|
-
}
|
|
37
|
-
|
|
44
|
+
}, "ContentVariants_component_defaultContent_useComputed_00q2HQsQPYc", [
|
|
45
|
+
props,
|
|
46
|
+
state
|
|
47
|
+
]));
|
|
48
|
+
return /* @__PURE__ */ _jsxC(Fragment, {
|
|
38
49
|
children: [
|
|
39
|
-
!props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */
|
|
50
|
+
!props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ _jsxC(InlinedScript, {
|
|
40
51
|
id: "builderio-init-variants-fns",
|
|
41
|
-
scriptStr
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
52
|
+
get scriptStr() {
|
|
53
|
+
return getInitVariantsFnsScriptString();
|
|
54
|
+
},
|
|
55
|
+
get nonce() {
|
|
56
|
+
return props.nonce || "";
|
|
57
|
+
},
|
|
58
|
+
[_IMMUTABLE]: {
|
|
59
|
+
id: _IMMUTABLE,
|
|
60
|
+
nonce: _fnSignal((p0) => p0.nonce || "", [
|
|
61
|
+
props
|
|
62
|
+
], 'p0.nonce||""'),
|
|
63
|
+
scriptStr: _IMMUTABLE
|
|
64
|
+
}
|
|
65
|
+
}, 3, "XM_0") : null,
|
|
66
|
+
state.shouldRenderVariants ? /* @__PURE__ */ _jsxC(Fragment$1, {
|
|
45
67
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ _jsxC(InlinedStyles, {
|
|
47
69
|
id: "builderio-variants",
|
|
48
|
-
styles
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
70
|
+
get styles() {
|
|
71
|
+
return hideVariantsStyleString.value;
|
|
72
|
+
},
|
|
73
|
+
get nonce() {
|
|
74
|
+
return props.nonce || "";
|
|
75
|
+
},
|
|
76
|
+
[_IMMUTABLE]: {
|
|
77
|
+
id: _IMMUTABLE,
|
|
78
|
+
nonce: _fnSignal((p0) => p0.nonce || "", [
|
|
79
|
+
props
|
|
80
|
+
], 'p0.nonce||""'),
|
|
81
|
+
styles: _fnSignal((p0) => p0.value, [
|
|
82
|
+
hideVariantsStyleString
|
|
83
|
+
], "p0.value")
|
|
84
|
+
}
|
|
85
|
+
}, 3, "XM_1"),
|
|
86
|
+
/* @__PURE__ */ _jsxC(InlinedScript, {
|
|
52
87
|
id: "builderio-variants-visibility",
|
|
53
|
-
scriptStr
|
|
54
|
-
|
|
55
|
-
|
|
88
|
+
get scriptStr() {
|
|
89
|
+
return updateCookieAndStylesScriptStr.value;
|
|
90
|
+
},
|
|
91
|
+
get nonce() {
|
|
92
|
+
return props.nonce || "";
|
|
93
|
+
},
|
|
94
|
+
[_IMMUTABLE]: {
|
|
95
|
+
id: _IMMUTABLE,
|
|
96
|
+
nonce: _fnSignal((p0) => p0.nonce || "", [
|
|
97
|
+
props
|
|
98
|
+
], 'p0.nonce||""'),
|
|
99
|
+
scriptStr: _fnSignal((p0) => p0.value, [
|
|
100
|
+
updateCookieAndStylesScriptStr
|
|
101
|
+
], "p0.value")
|
|
102
|
+
}
|
|
103
|
+
}, 3, "XM_2"),
|
|
56
104
|
(getVariants(props.content) || []).map((variant) => {
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
apiHost
|
|
59
|
-
|
|
60
|
-
|
|
105
|
+
return /* @__PURE__ */ _jsxC(ContentComponent, {
|
|
106
|
+
get apiHost() {
|
|
107
|
+
return props.apiHost;
|
|
108
|
+
},
|
|
109
|
+
get isNestedRender() {
|
|
110
|
+
return props.isNestedRender;
|
|
111
|
+
},
|
|
112
|
+
get nonce() {
|
|
113
|
+
return props.nonce;
|
|
114
|
+
},
|
|
61
115
|
content: variant,
|
|
62
116
|
showContent: false,
|
|
63
|
-
model
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
117
|
+
get model() {
|
|
118
|
+
return props.model;
|
|
119
|
+
},
|
|
120
|
+
get data() {
|
|
121
|
+
return props.data;
|
|
122
|
+
},
|
|
123
|
+
get context() {
|
|
124
|
+
return props.context;
|
|
125
|
+
},
|
|
126
|
+
get apiKey() {
|
|
127
|
+
return props.apiKey;
|
|
128
|
+
},
|
|
129
|
+
get apiVersion() {
|
|
130
|
+
return props.apiVersion;
|
|
131
|
+
},
|
|
132
|
+
get customComponents() {
|
|
133
|
+
return props.customComponents;
|
|
134
|
+
},
|
|
135
|
+
get linkComponent() {
|
|
136
|
+
return props.linkComponent;
|
|
137
|
+
},
|
|
138
|
+
get canTrack() {
|
|
139
|
+
return props.canTrack;
|
|
140
|
+
},
|
|
141
|
+
get locale() {
|
|
142
|
+
return props.locale;
|
|
143
|
+
},
|
|
144
|
+
get enrich() {
|
|
145
|
+
return props.enrich;
|
|
146
|
+
},
|
|
147
|
+
get isSsrAbTest() {
|
|
148
|
+
return state.shouldRenderVariants;
|
|
149
|
+
},
|
|
150
|
+
get blocksWrapper() {
|
|
151
|
+
return props.blocksWrapper;
|
|
152
|
+
},
|
|
153
|
+
get blocksWrapperProps() {
|
|
154
|
+
return props.blocksWrapperProps;
|
|
155
|
+
},
|
|
156
|
+
get contentWrapper() {
|
|
157
|
+
return props.contentWrapper;
|
|
158
|
+
},
|
|
159
|
+
get contentWrapperProps() {
|
|
160
|
+
return props.contentWrapperProps;
|
|
161
|
+
},
|
|
162
|
+
get trustedHosts() {
|
|
163
|
+
return props.trustedHosts;
|
|
164
|
+
},
|
|
165
|
+
[_IMMUTABLE]: {
|
|
166
|
+
apiHost: _fnSignal((p0) => p0.apiHost, [
|
|
167
|
+
props
|
|
168
|
+
], "p0.apiHost"),
|
|
169
|
+
apiKey: _fnSignal((p0) => p0.apiKey, [
|
|
170
|
+
props
|
|
171
|
+
], "p0.apiKey"),
|
|
172
|
+
apiVersion: _fnSignal((p0) => p0.apiVersion, [
|
|
173
|
+
props
|
|
174
|
+
], "p0.apiVersion"),
|
|
175
|
+
blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
|
|
176
|
+
props
|
|
177
|
+
], "p0.blocksWrapper"),
|
|
178
|
+
blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
|
|
179
|
+
props
|
|
180
|
+
], "p0.blocksWrapperProps"),
|
|
181
|
+
canTrack: _fnSignal((p0) => p0.canTrack, [
|
|
182
|
+
props
|
|
183
|
+
], "p0.canTrack"),
|
|
184
|
+
contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
|
|
185
|
+
props
|
|
186
|
+
], "p0.contentWrapper"),
|
|
187
|
+
contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
|
|
188
|
+
props
|
|
189
|
+
], "p0.contentWrapperProps"),
|
|
190
|
+
context: _fnSignal((p0) => p0.context, [
|
|
191
|
+
props
|
|
192
|
+
], "p0.context"),
|
|
193
|
+
customComponents: _fnSignal((p0) => p0.customComponents, [
|
|
194
|
+
props
|
|
195
|
+
], "p0.customComponents"),
|
|
196
|
+
data: _fnSignal((p0) => p0.data, [
|
|
197
|
+
props
|
|
198
|
+
], "p0.data"),
|
|
199
|
+
enrich: _fnSignal((p0) => p0.enrich, [
|
|
200
|
+
props
|
|
201
|
+
], "p0.enrich"),
|
|
202
|
+
isNestedRender: _fnSignal((p0) => p0.isNestedRender, [
|
|
203
|
+
props
|
|
204
|
+
], "p0.isNestedRender"),
|
|
205
|
+
isSsrAbTest: _fnSignal((p0) => p0.shouldRenderVariants, [
|
|
206
|
+
state
|
|
207
|
+
], "p0.shouldRenderVariants"),
|
|
208
|
+
linkComponent: _fnSignal((p0) => p0.linkComponent, [
|
|
209
|
+
props
|
|
210
|
+
], "p0.linkComponent"),
|
|
211
|
+
locale: _fnSignal((p0) => p0.locale, [
|
|
212
|
+
props
|
|
213
|
+
], "p0.locale"),
|
|
214
|
+
model: _fnSignal((p0) => p0.model, [
|
|
215
|
+
props
|
|
216
|
+
], "p0.model"),
|
|
217
|
+
nonce: _fnSignal((p0) => p0.nonce, [
|
|
218
|
+
props
|
|
219
|
+
], "p0.nonce"),
|
|
220
|
+
showContent: _IMMUTABLE,
|
|
221
|
+
trustedHosts: _fnSignal((p0) => p0.trustedHosts, [
|
|
222
|
+
props
|
|
223
|
+
], "p0.trustedHosts")
|
|
224
|
+
}
|
|
225
|
+
}, 3, variant.testVariationId);
|
|
80
226
|
})
|
|
81
227
|
]
|
|
82
|
-
}) : null,
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
apiHost
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
228
|
+
}, 1, "XM_3") : null,
|
|
229
|
+
/* @__PURE__ */ _jsxC(ContentComponent, {
|
|
230
|
+
get apiHost() {
|
|
231
|
+
return props.apiHost;
|
|
232
|
+
},
|
|
233
|
+
get nonce() {
|
|
234
|
+
return props.nonce;
|
|
235
|
+
},
|
|
236
|
+
get isNestedRender() {
|
|
237
|
+
return props.isNestedRender;
|
|
238
|
+
},
|
|
239
|
+
get content() {
|
|
240
|
+
return defaultContent.value;
|
|
241
|
+
},
|
|
88
242
|
showContent: true,
|
|
89
|
-
model
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
243
|
+
get model() {
|
|
244
|
+
return props.model;
|
|
245
|
+
},
|
|
246
|
+
get data() {
|
|
247
|
+
return props.data;
|
|
248
|
+
},
|
|
249
|
+
get context() {
|
|
250
|
+
return props.context;
|
|
251
|
+
},
|
|
252
|
+
get apiKey() {
|
|
253
|
+
return props.apiKey;
|
|
254
|
+
},
|
|
255
|
+
get apiVersion() {
|
|
256
|
+
return props.apiVersion;
|
|
257
|
+
},
|
|
258
|
+
get customComponents() {
|
|
259
|
+
return props.customComponents;
|
|
260
|
+
},
|
|
261
|
+
get linkComponent() {
|
|
262
|
+
return props.linkComponent;
|
|
263
|
+
},
|
|
264
|
+
get canTrack() {
|
|
265
|
+
return props.canTrack;
|
|
266
|
+
},
|
|
267
|
+
get locale() {
|
|
268
|
+
return props.locale;
|
|
269
|
+
},
|
|
270
|
+
get enrich() {
|
|
271
|
+
return props.enrich;
|
|
272
|
+
},
|
|
273
|
+
get isSsrAbTest() {
|
|
274
|
+
return state.shouldRenderVariants;
|
|
275
|
+
},
|
|
276
|
+
get blocksWrapper() {
|
|
277
|
+
return props.blocksWrapper;
|
|
278
|
+
},
|
|
279
|
+
get blocksWrapperProps() {
|
|
280
|
+
return props.blocksWrapperProps;
|
|
281
|
+
},
|
|
282
|
+
get contentWrapper() {
|
|
283
|
+
return props.contentWrapper;
|
|
284
|
+
},
|
|
285
|
+
get contentWrapperProps() {
|
|
286
|
+
return props.contentWrapperProps;
|
|
287
|
+
},
|
|
288
|
+
get trustedHosts() {
|
|
289
|
+
return props.trustedHosts;
|
|
290
|
+
},
|
|
291
|
+
[_IMMUTABLE]: {
|
|
292
|
+
apiHost: _fnSignal((p0) => p0.apiHost, [
|
|
293
|
+
props
|
|
294
|
+
], "p0.apiHost"),
|
|
295
|
+
apiKey: _fnSignal((p0) => p0.apiKey, [
|
|
296
|
+
props
|
|
297
|
+
], "p0.apiKey"),
|
|
298
|
+
apiVersion: _fnSignal((p0) => p0.apiVersion, [
|
|
299
|
+
props
|
|
300
|
+
], "p0.apiVersion"),
|
|
301
|
+
blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
|
|
302
|
+
props
|
|
303
|
+
], "p0.blocksWrapper"),
|
|
304
|
+
blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
|
|
305
|
+
props
|
|
306
|
+
], "p0.blocksWrapperProps"),
|
|
307
|
+
canTrack: _fnSignal((p0) => p0.canTrack, [
|
|
308
|
+
props
|
|
309
|
+
], "p0.canTrack"),
|
|
310
|
+
content: _fnSignal((p0) => p0.value, [
|
|
311
|
+
defaultContent
|
|
312
|
+
], "p0.value"),
|
|
313
|
+
contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
|
|
314
|
+
props
|
|
315
|
+
], "p0.contentWrapper"),
|
|
316
|
+
contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
|
|
317
|
+
props
|
|
318
|
+
], "p0.contentWrapperProps"),
|
|
319
|
+
context: _fnSignal((p0) => p0.context, [
|
|
320
|
+
props
|
|
321
|
+
], "p0.context"),
|
|
322
|
+
customComponents: _fnSignal((p0) => p0.customComponents, [
|
|
323
|
+
props
|
|
324
|
+
], "p0.customComponents"),
|
|
325
|
+
data: _fnSignal((p0) => p0.data, [
|
|
326
|
+
props
|
|
327
|
+
], "p0.data"),
|
|
328
|
+
enrich: _fnSignal((p0) => p0.enrich, [
|
|
329
|
+
props
|
|
330
|
+
], "p0.enrich"),
|
|
331
|
+
isNestedRender: _fnSignal((p0) => p0.isNestedRender, [
|
|
332
|
+
props
|
|
333
|
+
], "p0.isNestedRender"),
|
|
334
|
+
isSsrAbTest: _fnSignal((p0) => p0.shouldRenderVariants, [
|
|
335
|
+
state
|
|
336
|
+
], "p0.shouldRenderVariants"),
|
|
337
|
+
linkComponent: _fnSignal((p0) => p0.linkComponent, [
|
|
338
|
+
props
|
|
339
|
+
], "p0.linkComponent"),
|
|
340
|
+
locale: _fnSignal((p0) => p0.locale, [
|
|
341
|
+
props
|
|
342
|
+
], "p0.locale"),
|
|
343
|
+
model: _fnSignal((p0) => p0.model, [
|
|
344
|
+
props
|
|
345
|
+
], "p0.model"),
|
|
346
|
+
nonce: _fnSignal((p0) => p0.nonce, [
|
|
347
|
+
props
|
|
348
|
+
], "p0.nonce"),
|
|
349
|
+
showContent: _IMMUTABLE,
|
|
350
|
+
trustedHosts: _fnSignal((p0) => p0.trustedHosts, [
|
|
351
|
+
props
|
|
352
|
+
], "p0.trustedHosts")
|
|
353
|
+
}
|
|
354
|
+
}, 3, "XM_4")
|
|
106
355
|
]
|
|
107
|
-
});
|
|
108
|
-
});
|
|
356
|
+
}, 1, "XM_5");
|
|
357
|
+
}, "ContentVariants_component_4tFRiQMMEfM"));
|
|
109
358
|
export {
|
|
110
359
|
ContentVariants,
|
|
111
360
|
ContentVariants as default
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
3
4
|
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
5
|
const dynamicRenderer_helpers = require("./dynamic-renderer.helpers.qwik.cjs");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
children: !dynamicRenderer_helpers.isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */
|
|
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, {
|
|
9
10
|
...props.attributes,
|
|
10
11
|
...props.actionAttributes,
|
|
11
|
-
children: /* @__PURE__ */
|
|
12
|
-
}) : /* @__PURE__ */
|
|
12
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
|
|
13
|
+
}, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
|
|
13
14
|
...props.attributes,
|
|
14
15
|
...props.actionAttributes,
|
|
15
|
-
children: /* @__PURE__ */
|
|
16
|
-
}) : /* @__PURE__ */
|
|
16
|
+
children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
|
|
17
|
+
}, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
|
|
17
18
|
...props.attributes,
|
|
18
19
|
...props.actionAttributes
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
});
|
|
20
|
+
}, 0, "yW_4")
|
|
21
|
+
}, 1, "yW_5");
|
|
22
|
+
}, "DynamicRenderer_component_1Co0xkmyAfQ"));
|
|
22
23
|
exports.DynamicRenderer = DynamicRenderer;
|
|
23
24
|
exports.default = DynamicRenderer;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxBranch, _jsxC, Slot } from "@builder.io/qwik";
|
|
2
|
+
import { Fragment } from "@builder.io/qwik/jsx-runtime";
|
|
2
3
|
import { isEmptyElement } from "./dynamic-renderer.helpers.qwik.mjs";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */
|
|
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, {
|
|
7
8
|
...props.attributes,
|
|
8
9
|
...props.actionAttributes,
|
|
9
|
-
children: /* @__PURE__ */
|
|
10
|
-
}) : /* @__PURE__ */
|
|
10
|
+
children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_0")
|
|
11
|
+
}, 0, "yW_1") : /* @__PURE__ */ _jsxC(props.TagName, {
|
|
11
12
|
...props.attributes,
|
|
12
13
|
...props.actionAttributes,
|
|
13
|
-
children: /* @__PURE__ */
|
|
14
|
-
}) : /* @__PURE__ */
|
|
14
|
+
children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_2")
|
|
15
|
+
}, 0, "yW_3") : /* @__PURE__ */ _jsxC(props.TagName, {
|
|
15
16
|
...props.attributes,
|
|
16
17
|
...props.actionAttributes
|
|
17
|
-
})
|
|
18
|
-
});
|
|
19
|
-
});
|
|
18
|
+
}, 0, "yW_4")
|
|
19
|
+
}, 1, "yW_5");
|
|
20
|
+
}, "DynamicRenderer_component_1Co0xkmyAfQ"));
|
|
20
21
|
export {
|
|
21
22
|
DynamicRenderer,
|
|
22
23
|
DynamicRenderer as default
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
3
|
const qwik = require("@builder.io/qwik");
|
|
5
|
-
const InlinedScript = qwik.
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
dangerouslySetInnerHTML:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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"));
|
|
12
17
|
exports.InlinedScript = InlinedScript;
|
|
13
18
|
exports.default = InlinedScript;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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"));
|
|
10
15
|
export {
|
|
11
16
|
InlinedScript,
|
|
12
17
|
InlinedScript as default
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
3
|
const qwik = require("@builder.io/qwik");
|
|
5
|
-
const InlinedStyles = qwik.
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
dangerouslySetInnerHTML:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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"));
|
|
12
17
|
exports.InlinedStyles = InlinedStyles;
|
|
13
18
|
exports.default = InlinedStyles;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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"));
|
|
10
15
|
export {
|
|
11
16
|
InlinedStyles,
|
|
12
17
|
InlinedStyles as default
|
|
@@ -21,9 +21,8 @@ const SIZES = {
|
|
|
21
21
|
const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
|
|
22
22
|
const getSizesForBreakpoints = ({ small, medium }) => {
|
|
23
23
|
const newSizes = fastClone.fastClone(SIZES);
|
|
24
|
-
if (!small || !medium)
|
|
24
|
+
if (!small || !medium)
|
|
25
25
|
return newSizes;
|
|
26
|
-
}
|
|
27
26
|
const smallMin = Math.floor(small / 2);
|
|
28
27
|
newSizes.small = {
|
|
29
28
|
max: small,
|
|
@@ -19,9 +19,8 @@ const SIZES = {
|
|
|
19
19
|
const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
|
|
20
20
|
const getSizesForBreakpoints = ({ small, medium }) => {
|
|
21
21
|
const newSizes = fastClone(SIZES);
|
|
22
|
-
if (!small || !medium)
|
|
22
|
+
if (!small || !medium)
|
|
23
23
|
return newSizes;
|
|
24
|
-
}
|
|
25
24
|
const smallMin = Math.floor(small / 2);
|
|
26
25
|
newSizes.small = {
|
|
27
26
|
max: small,
|