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