@builder.io/sdk-qwik 0.16.20 → 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 +91 -45
- package/lib/browser/blocks/columns/columns.qwik.mjs +91 -45
- 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 +91 -45
- package/lib/edge/blocks/columns/columns.qwik.mjs +91 -45
- 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 +91 -45
- package/lib/node/blocks/columns/columns.qwik.mjs +91 -45
- 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/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/constants/sdk-version.d.ts +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { componentQrl, inlinedQrl, _jsxBranch, useStore, useComputedQrl, useLexicalScope, useVisibleTaskQrl, useTaskQrl, _jsxC, _IMMUTABLE, _fnSignal, _wrapProp } from "@builder.io/qwik";
|
|
2
|
+
import { Fragment } from "@builder.io/qwik/jsx-runtime";
|
|
2
3
|
import { TARGET } from "../../constants/target.qwik.mjs";
|
|
3
4
|
import { getBlockComponentOptions } from "../../functions/get-block-component-options.qwik.mjs";
|
|
4
5
|
import { getProcessedBlock } from "../../functions/get-processed-block.qwik.mjs";
|
|
@@ -8,158 +9,363 @@ import { BlockStyles } from "./components/block-styles.qwik.mjs";
|
|
|
8
9
|
import { BlockWrapper } from "./components/block-wrapper.qwik.mjs";
|
|
9
10
|
import { ComponentRef } from "./components/component-ref/component-ref.qwik.mjs";
|
|
10
11
|
import { RepeatedBlock } from "./components/repeated-block.qwik.mjs";
|
|
11
|
-
|
|
12
|
-
const Block = component$((props) => {
|
|
12
|
+
const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
13
13
|
var _a;
|
|
14
|
+
_jsxBranch();
|
|
14
15
|
useStore({
|
|
15
16
|
_processedBlock: {
|
|
16
17
|
value: null,
|
|
17
18
|
update: false
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
|
-
const repeatItem =
|
|
21
|
+
const repeatItem = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
22
|
+
const [props2] = useLexicalScope();
|
|
21
23
|
return getRepeatItemData({
|
|
22
|
-
block:
|
|
23
|
-
context:
|
|
24
|
+
block: props2.block,
|
|
25
|
+
context: props2.context
|
|
24
26
|
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
+
}, "Block_component_repeatItem_useComputed_j31Y3wFqSCM", [
|
|
28
|
+
props
|
|
29
|
+
]));
|
|
30
|
+
const processedBlock = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
27
31
|
var _a2;
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
const [props2] = useLexicalScope();
|
|
33
|
+
const blockToUse = ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) ? props2.block : getProcessedBlock({
|
|
34
|
+
block: props2.block,
|
|
35
|
+
localState: props2.context.localState,
|
|
36
|
+
rootState: props2.context.rootState,
|
|
37
|
+
rootSetState: props2.context.rootSetState,
|
|
38
|
+
context: props2.context.context,
|
|
34
39
|
shouldEvaluateBindings: true
|
|
35
40
|
});
|
|
36
41
|
return blockToUse;
|
|
37
|
-
}
|
|
38
|
-
|
|
42
|
+
}, "Block_component_processedBlock_useComputed_ESKw0l5FcBc", [
|
|
43
|
+
props
|
|
44
|
+
]));
|
|
45
|
+
const blockComponent = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
46
|
+
const [processedBlock2, props2] = useLexicalScope();
|
|
39
47
|
return getComponent({
|
|
40
|
-
block:
|
|
41
|
-
registeredComponents:
|
|
48
|
+
block: processedBlock2.value,
|
|
49
|
+
registeredComponents: props2.registeredComponents
|
|
42
50
|
});
|
|
43
|
-
}
|
|
44
|
-
|
|
51
|
+
}, "Block_component_blockComponent_useComputed_83sGy9Xlsi0", [
|
|
52
|
+
processedBlock,
|
|
53
|
+
props
|
|
54
|
+
]));
|
|
55
|
+
const Tag = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
45
56
|
var _a2;
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return
|
|
51
|
-
}
|
|
52
|
-
|
|
57
|
+
const [processedBlock2, props2] = useLexicalScope();
|
|
58
|
+
const shouldUseLink = props2.block.tagName === "a" || ((_a2 = processedBlock2.value.properties) == null ? void 0 : _a2.href) || processedBlock2.value.href;
|
|
59
|
+
if (shouldUseLink)
|
|
60
|
+
return props2.linkComponent || "a";
|
|
61
|
+
return props2.block.tagName || "div";
|
|
62
|
+
}, "Block_component_Tag_useComputed_eQnDgbcBW2A", [
|
|
63
|
+
processedBlock,
|
|
64
|
+
props
|
|
65
|
+
]));
|
|
66
|
+
const canShowBlock = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
53
67
|
var _a2, _b;
|
|
54
|
-
|
|
55
|
-
|
|
68
|
+
const [processedBlock2, props2, repeatItem2] = useLexicalScope();
|
|
69
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
70
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
56
71
|
return true;
|
|
57
72
|
return false;
|
|
58
73
|
}
|
|
59
|
-
const shouldHide = "hide" in
|
|
60
|
-
const shouldShow = "show" in
|
|
74
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
75
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
61
76
|
return shouldShow && !shouldHide;
|
|
62
|
-
}
|
|
63
|
-
|
|
77
|
+
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
78
|
+
processedBlock,
|
|
79
|
+
props,
|
|
80
|
+
repeatItem
|
|
81
|
+
]));
|
|
82
|
+
const childrenWithoutParentComponent = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
64
83
|
var _a2;
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
84
|
+
const [blockComponent2, processedBlock2, repeatItem2] = useLexicalScope();
|
|
85
|
+
const shouldRenderChildrenOutsideRef = !((_a2 = blockComponent2.value) == null ? void 0 : _a2.component) && !repeatItem2.value;
|
|
86
|
+
return shouldRenderChildrenOutsideRef ? processedBlock2.value.children ?? [] : [];
|
|
87
|
+
}, "Block_component_childrenWithoutParentComponent_useComputed_0WENYGElWnc", [
|
|
88
|
+
blockComponent,
|
|
89
|
+
processedBlock,
|
|
90
|
+
repeatItem
|
|
91
|
+
]));
|
|
92
|
+
const componentRefProps = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
69
93
|
var _a2, _b, _c;
|
|
94
|
+
const [blockComponent2, processedBlock2, props2] = useLexicalScope();
|
|
70
95
|
return {
|
|
71
|
-
blockChildren:
|
|
72
|
-
componentRef: (_a2 =
|
|
96
|
+
blockChildren: processedBlock2.value.children ?? [],
|
|
97
|
+
componentRef: (_a2 = blockComponent2.value) == null ? void 0 : _a2.component,
|
|
73
98
|
componentOptions: {
|
|
74
|
-
...getBlockComponentOptions(
|
|
75
|
-
...provideBuilderBlock(
|
|
76
|
-
...provideBuilderContext(
|
|
77
|
-
...provideLinkComponent(
|
|
78
|
-
...provideRegisteredComponents(
|
|
99
|
+
...getBlockComponentOptions(processedBlock2.value),
|
|
100
|
+
...provideBuilderBlock(blockComponent2.value, processedBlock2.value),
|
|
101
|
+
...provideBuilderContext(blockComponent2.value, props2.context),
|
|
102
|
+
...provideLinkComponent(blockComponent2.value, props2.linkComponent),
|
|
103
|
+
...provideRegisteredComponents(blockComponent2.value, props2.registeredComponents)
|
|
79
104
|
},
|
|
80
|
-
context:
|
|
81
|
-
linkComponent:
|
|
82
|
-
registeredComponents:
|
|
83
|
-
builderBlock:
|
|
84
|
-
includeBlockProps: ((_b =
|
|
85
|
-
isInteractive: !(((_c =
|
|
105
|
+
context: props2.context,
|
|
106
|
+
linkComponent: props2.linkComponent,
|
|
107
|
+
registeredComponents: props2.registeredComponents,
|
|
108
|
+
builderBlock: processedBlock2.value,
|
|
109
|
+
includeBlockProps: ((_b = blockComponent2.value) == null ? void 0 : _b.noWrap) === true,
|
|
110
|
+
isInteractive: !(((_c = blockComponent2.value) == null ? void 0 : _c.isRSC) && TARGET === "rsc")
|
|
86
111
|
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
112
|
+
}, "Block_component_componentRefProps_useComputed_Ikbl8VO04ho", [
|
|
113
|
+
blockComponent,
|
|
114
|
+
processedBlock,
|
|
115
|
+
props
|
|
116
|
+
]));
|
|
117
|
+
useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
118
|
+
const [processedBlock2] = useLexicalScope();
|
|
119
|
+
const blockId = processedBlock2.value.id;
|
|
120
|
+
const animations = processedBlock2.value.animations;
|
|
121
|
+
if (animations && blockId)
|
|
92
122
|
bindAnimations(animations.map((animation) => ({
|
|
93
123
|
...animation,
|
|
94
124
|
elementId: blockId
|
|
95
125
|
})));
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
})
|
|
100
|
-
|
|
101
|
-
|
|
126
|
+
}, "Block_component_useVisibleTask_hrTYvqw0Tbs", [
|
|
127
|
+
processedBlock
|
|
128
|
+
]));
|
|
129
|
+
useTaskQrl(/* @__PURE__ */ inlinedQrl(({ track }) => {
|
|
130
|
+
}, "Block_component_useTask_Xb7FQvPjBMo"));
|
|
131
|
+
return /* @__PURE__ */ _jsxC(Fragment, {
|
|
132
|
+
children: canShowBlock.value ? /* @__PURE__ */ _jsxC(Fragment, {
|
|
102
133
|
children: [
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
block
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
134
|
+
/* @__PURE__ */ _jsxC(BlockStyles, {
|
|
135
|
+
get block() {
|
|
136
|
+
return processedBlock.value;
|
|
137
|
+
},
|
|
138
|
+
get context() {
|
|
139
|
+
return props.context;
|
|
140
|
+
},
|
|
141
|
+
[_IMMUTABLE]: {
|
|
142
|
+
block: _fnSignal((p0) => p0.value, [
|
|
143
|
+
processedBlock
|
|
144
|
+
], "p0.value"),
|
|
145
|
+
context: _fnSignal((p0) => p0.context, [
|
|
146
|
+
props
|
|
147
|
+
], "p0.context")
|
|
148
|
+
}
|
|
149
|
+
}, 3, "jN_0"),
|
|
150
|
+
!((_a = blockComponent.value) == null ? void 0 : _a.noWrap) ? !repeatItem.value ? /* @__PURE__ */ _jsxC(BlockWrapper, {
|
|
151
|
+
get Wrapper() {
|
|
152
|
+
return Tag.value;
|
|
153
|
+
},
|
|
154
|
+
get block() {
|
|
155
|
+
return processedBlock.value;
|
|
156
|
+
},
|
|
157
|
+
get context() {
|
|
158
|
+
return props.context;
|
|
159
|
+
},
|
|
111
160
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
componentRef
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
161
|
+
/* @__PURE__ */ _jsxC(ComponentRef, {
|
|
162
|
+
get componentRef() {
|
|
163
|
+
return componentRefProps.value.componentRef;
|
|
164
|
+
},
|
|
165
|
+
get componentOptions() {
|
|
166
|
+
return componentRefProps.value.componentOptions;
|
|
167
|
+
},
|
|
168
|
+
get blockChildren() {
|
|
169
|
+
return componentRefProps.value.blockChildren;
|
|
170
|
+
},
|
|
171
|
+
get context() {
|
|
172
|
+
return componentRefProps.value.context;
|
|
173
|
+
},
|
|
174
|
+
get registeredComponents() {
|
|
175
|
+
return componentRefProps.value.registeredComponents;
|
|
176
|
+
},
|
|
177
|
+
get linkComponent() {
|
|
178
|
+
return componentRefProps.value.linkComponent;
|
|
179
|
+
},
|
|
180
|
+
get builderBlock() {
|
|
181
|
+
return componentRefProps.value.builderBlock;
|
|
182
|
+
},
|
|
183
|
+
get includeBlockProps() {
|
|
184
|
+
return componentRefProps.value.includeBlockProps;
|
|
185
|
+
},
|
|
186
|
+
get isInteractive() {
|
|
187
|
+
return componentRefProps.value.isInteractive;
|
|
188
|
+
},
|
|
189
|
+
[_IMMUTABLE]: {
|
|
190
|
+
blockChildren: _fnSignal((p0) => p0.value.blockChildren, [
|
|
191
|
+
componentRefProps
|
|
192
|
+
], "p0.value.blockChildren"),
|
|
193
|
+
builderBlock: _fnSignal((p0) => p0.value.builderBlock, [
|
|
194
|
+
componentRefProps
|
|
195
|
+
], "p0.value.builderBlock"),
|
|
196
|
+
componentOptions: _fnSignal((p0) => p0.value.componentOptions, [
|
|
197
|
+
componentRefProps
|
|
198
|
+
], "p0.value.componentOptions"),
|
|
199
|
+
componentRef: _fnSignal((p0) => p0.value.componentRef, [
|
|
200
|
+
componentRefProps
|
|
201
|
+
], "p0.value.componentRef"),
|
|
202
|
+
context: _fnSignal((p0) => p0.value.context, [
|
|
203
|
+
componentRefProps
|
|
204
|
+
], "p0.value.context"),
|
|
205
|
+
includeBlockProps: _fnSignal((p0) => p0.value.includeBlockProps, [
|
|
206
|
+
componentRefProps
|
|
207
|
+
], "p0.value.includeBlockProps"),
|
|
208
|
+
isInteractive: _fnSignal((p0) => p0.value.isInteractive, [
|
|
209
|
+
componentRefProps
|
|
210
|
+
], "p0.value.isInteractive"),
|
|
211
|
+
linkComponent: _fnSignal((p0) => p0.value.linkComponent, [
|
|
212
|
+
componentRefProps
|
|
213
|
+
], "p0.value.linkComponent"),
|
|
214
|
+
registeredComponents: _fnSignal((p0) => p0.value.registeredComponents, [
|
|
215
|
+
componentRefProps
|
|
216
|
+
], "p0.value.registeredComponents")
|
|
217
|
+
}
|
|
218
|
+
}, 3, "jN_1"),
|
|
123
219
|
(childrenWithoutParentComponent.value || []).map((child) => {
|
|
124
|
-
return /* @__PURE__ */
|
|
220
|
+
return /* @__PURE__ */ _jsxC(Block, {
|
|
125
221
|
block: child,
|
|
126
|
-
registeredComponents
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
222
|
+
get registeredComponents() {
|
|
223
|
+
return props.registeredComponents;
|
|
224
|
+
},
|
|
225
|
+
get linkComponent() {
|
|
226
|
+
return props.linkComponent;
|
|
227
|
+
},
|
|
228
|
+
get context() {
|
|
229
|
+
return props.context;
|
|
230
|
+
},
|
|
231
|
+
[_IMMUTABLE]: {
|
|
232
|
+
context: _fnSignal((p0) => p0.context, [
|
|
233
|
+
props
|
|
234
|
+
], "p0.context"),
|
|
235
|
+
linkComponent: _fnSignal((p0) => p0.linkComponent, [
|
|
236
|
+
props
|
|
237
|
+
], "p0.linkComponent"),
|
|
238
|
+
registeredComponents: _fnSignal((p0) => p0.registeredComponents, [
|
|
239
|
+
props
|
|
240
|
+
], "p0.registeredComponents")
|
|
241
|
+
}
|
|
242
|
+
}, 3, child.id);
|
|
130
243
|
})
|
|
131
|
-
]
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
linkComponent
|
|
155
|
-
|
|
244
|
+
],
|
|
245
|
+
[_IMMUTABLE]: {
|
|
246
|
+
Wrapper: _fnSignal((p0) => p0.value, [
|
|
247
|
+
Tag
|
|
248
|
+
], "p0.value"),
|
|
249
|
+
block: _fnSignal((p0) => p0.value, [
|
|
250
|
+
processedBlock
|
|
251
|
+
], "p0.value"),
|
|
252
|
+
context: _fnSignal((p0) => p0.context, [
|
|
253
|
+
props
|
|
254
|
+
], "p0.context")
|
|
255
|
+
}
|
|
256
|
+
}, 1, "jN_2") : (repeatItem.value || []).map((data, index) => {
|
|
257
|
+
return /* @__PURE__ */ _jsxC(RepeatedBlock, {
|
|
258
|
+
get repeatContext() {
|
|
259
|
+
return data.context;
|
|
260
|
+
},
|
|
261
|
+
get block() {
|
|
262
|
+
return data.block;
|
|
263
|
+
},
|
|
264
|
+
get registeredComponents() {
|
|
265
|
+
return props.registeredComponents;
|
|
266
|
+
},
|
|
267
|
+
get linkComponent() {
|
|
268
|
+
return props.linkComponent;
|
|
269
|
+
},
|
|
270
|
+
[_IMMUTABLE]: {
|
|
271
|
+
block: _wrapProp(data, "block"),
|
|
272
|
+
linkComponent: _fnSignal((p0) => p0.linkComponent, [
|
|
273
|
+
props
|
|
274
|
+
], "p0.linkComponent"),
|
|
275
|
+
registeredComponents: _fnSignal((p0) => p0.registeredComponents, [
|
|
276
|
+
props
|
|
277
|
+
], "p0.registeredComponents"),
|
|
278
|
+
repeatContext: _wrapProp(data, "context")
|
|
279
|
+
}
|
|
280
|
+
}, 3, index);
|
|
281
|
+
}) : !repeatItem.value ? /* @__PURE__ */ _jsxC(ComponentRef, {
|
|
282
|
+
get componentRef() {
|
|
283
|
+
return componentRefProps.value.componentRef;
|
|
284
|
+
},
|
|
285
|
+
get componentOptions() {
|
|
286
|
+
return componentRefProps.value.componentOptions;
|
|
287
|
+
},
|
|
288
|
+
get blockChildren() {
|
|
289
|
+
return componentRefProps.value.blockChildren;
|
|
290
|
+
},
|
|
291
|
+
get context() {
|
|
292
|
+
return componentRefProps.value.context;
|
|
293
|
+
},
|
|
294
|
+
get registeredComponents() {
|
|
295
|
+
return componentRefProps.value.registeredComponents;
|
|
296
|
+
},
|
|
297
|
+
get linkComponent() {
|
|
298
|
+
return componentRefProps.value.linkComponent;
|
|
299
|
+
},
|
|
300
|
+
get builderBlock() {
|
|
301
|
+
return componentRefProps.value.builderBlock;
|
|
302
|
+
},
|
|
303
|
+
get includeBlockProps() {
|
|
304
|
+
return componentRefProps.value.includeBlockProps;
|
|
305
|
+
},
|
|
306
|
+
get isInteractive() {
|
|
307
|
+
return componentRefProps.value.isInteractive;
|
|
308
|
+
},
|
|
309
|
+
[_IMMUTABLE]: {
|
|
310
|
+
blockChildren: _fnSignal((p0) => p0.value.blockChildren, [
|
|
311
|
+
componentRefProps
|
|
312
|
+
], "p0.value.blockChildren"),
|
|
313
|
+
builderBlock: _fnSignal((p0) => p0.value.builderBlock, [
|
|
314
|
+
componentRefProps
|
|
315
|
+
], "p0.value.builderBlock"),
|
|
316
|
+
componentOptions: _fnSignal((p0) => p0.value.componentOptions, [
|
|
317
|
+
componentRefProps
|
|
318
|
+
], "p0.value.componentOptions"),
|
|
319
|
+
componentRef: _fnSignal((p0) => p0.value.componentRef, [
|
|
320
|
+
componentRefProps
|
|
321
|
+
], "p0.value.componentRef"),
|
|
322
|
+
context: _fnSignal((p0) => p0.value.context, [
|
|
323
|
+
componentRefProps
|
|
324
|
+
], "p0.value.context"),
|
|
325
|
+
includeBlockProps: _fnSignal((p0) => p0.value.includeBlockProps, [
|
|
326
|
+
componentRefProps
|
|
327
|
+
], "p0.value.includeBlockProps"),
|
|
328
|
+
isInteractive: _fnSignal((p0) => p0.value.isInteractive, [
|
|
329
|
+
componentRefProps
|
|
330
|
+
], "p0.value.isInteractive"),
|
|
331
|
+
linkComponent: _fnSignal((p0) => p0.value.linkComponent, [
|
|
332
|
+
componentRefProps
|
|
333
|
+
], "p0.value.linkComponent"),
|
|
334
|
+
registeredComponents: _fnSignal((p0) => p0.value.registeredComponents, [
|
|
335
|
+
componentRefProps
|
|
336
|
+
], "p0.value.registeredComponents")
|
|
337
|
+
}
|
|
338
|
+
}, 3, "jN_3") : (repeatItem.value || []).map((data, index) => {
|
|
339
|
+
return /* @__PURE__ */ _jsxC(RepeatedBlock, {
|
|
340
|
+
get repeatContext() {
|
|
341
|
+
return data.context;
|
|
342
|
+
},
|
|
343
|
+
get block() {
|
|
344
|
+
return data.block;
|
|
345
|
+
},
|
|
346
|
+
get registeredComponents() {
|
|
347
|
+
return props.registeredComponents;
|
|
348
|
+
},
|
|
349
|
+
get linkComponent() {
|
|
350
|
+
return props.linkComponent;
|
|
351
|
+
},
|
|
352
|
+
[_IMMUTABLE]: {
|
|
353
|
+
block: _wrapProp(data, "block"),
|
|
354
|
+
linkComponent: _fnSignal((p0) => p0.linkComponent, [
|
|
355
|
+
props
|
|
356
|
+
], "p0.linkComponent"),
|
|
357
|
+
registeredComponents: _fnSignal((p0) => p0.registeredComponents, [
|
|
358
|
+
props
|
|
359
|
+
], "p0.registeredComponents"),
|
|
360
|
+
repeatContext: _wrapProp(data, "context")
|
|
361
|
+
}
|
|
362
|
+
}, 3, index);
|
|
156
363
|
})
|
|
157
364
|
]
|
|
158
|
-
}) : null
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
const Block$1 = Block;
|
|
365
|
+
}, 1, "jN_4") : null
|
|
366
|
+
}, 1, "jN_5");
|
|
367
|
+
}, "Block_component_nnPv0RY0U0k"));
|
|
162
368
|
export {
|
|
163
369
|
Block,
|
|
164
|
-
Block
|
|
370
|
+
Block as default
|
|
165
371
|
};
|
|
@@ -1,36 +1,38 @@
|
|
|
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 deviceSizes = require("../../../constants/device-sizes.qwik.cjs");
|
|
5
6
|
const camelToKebabCase = require("../../../functions/camel-to-kebab-case.qwik.cjs");
|
|
6
7
|
const css = require("../../../helpers/css.qwik.cjs");
|
|
7
8
|
const nullable = require("../../../helpers/nullable.qwik.cjs");
|
|
8
9
|
const inlinedStyles = require("../../inlined-styles.qwik.cjs");
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const canShowBlock = qwik.
|
|
12
|
-
const
|
|
13
|
-
|
|
10
|
+
const BlockStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
11
|
+
qwik._jsxBranch();
|
|
12
|
+
const canShowBlock = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
13
|
+
const [props2] = qwik.useLexicalScope();
|
|
14
|
+
const processedBlock = props2.block;
|
|
15
|
+
if (nullable.checkIsDefined(processedBlock.hide))
|
|
14
16
|
return !processedBlock.hide;
|
|
15
|
-
|
|
16
|
-
if (nullable.checkIsDefined(processedBlock.show)) {
|
|
17
|
+
if (nullable.checkIsDefined(processedBlock.show))
|
|
17
18
|
return processedBlock.show;
|
|
18
|
-
}
|
|
19
19
|
return true;
|
|
20
|
-
}
|
|
21
|
-
|
|
20
|
+
}, "BlockStyles_component_canShowBlock_useComputed_YHoS9Lak9z4", [
|
|
21
|
+
props
|
|
22
|
+
]));
|
|
23
|
+
const css$1 = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
22
24
|
var _a, _b, _c;
|
|
23
|
-
const
|
|
25
|
+
const [props2] = qwik.useLexicalScope();
|
|
26
|
+
const processedBlock = props2.block;
|
|
24
27
|
const styles = processedBlock.responsiveStyles;
|
|
25
|
-
const content =
|
|
28
|
+
const content = props2.context.content;
|
|
26
29
|
const sizesWithUpdatedBreakpoints = deviceSizes.getSizesForBreakpoints(((_a = content == null ? void 0 : content.meta) == null ? void 0 : _a.breakpoints) || {});
|
|
27
30
|
const largeStyles = styles == null ? void 0 : styles.large;
|
|
28
31
|
const mediumStyles = styles == null ? void 0 : styles.medium;
|
|
29
32
|
const smallStyles = styles == null ? void 0 : styles.small;
|
|
30
33
|
const className = processedBlock.id;
|
|
31
|
-
if (!className)
|
|
34
|
+
if (!className)
|
|
32
35
|
return "";
|
|
33
|
-
}
|
|
34
36
|
const largeStylesClass = largeStyles ? css.createCssClass({
|
|
35
37
|
className,
|
|
36
38
|
styles: largeStyles
|
|
@@ -64,14 +66,29 @@ const BlockStyles = qwik.component$((props) => {
|
|
|
64
66
|
smallStylesClass,
|
|
65
67
|
hoverStylesClass
|
|
66
68
|
].join(" ");
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
}, "BlockStyles_component_css_useComputed_b9Ru8qTcNik", [
|
|
70
|
+
props
|
|
71
|
+
]));
|
|
72
|
+
return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
|
|
73
|
+
children: css$1.value && canShowBlock.value ? /* @__PURE__ */ qwik._jsxC(inlinedStyles.InlinedStyles, {
|
|
70
74
|
id: "builderio-block",
|
|
71
|
-
styles
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
get styles() {
|
|
76
|
+
return css$1.value;
|
|
77
|
+
},
|
|
78
|
+
get nonce() {
|
|
79
|
+
return props.context.nonce;
|
|
80
|
+
},
|
|
81
|
+
[qwik._IMMUTABLE]: {
|
|
82
|
+
id: qwik._IMMUTABLE,
|
|
83
|
+
nonce: qwik._fnSignal((p0) => p0.context.nonce, [
|
|
84
|
+
props
|
|
85
|
+
], "p0.context.nonce"),
|
|
86
|
+
styles: qwik._fnSignal((p0) => p0.value, [
|
|
87
|
+
css$1
|
|
88
|
+
], "p0.value")
|
|
89
|
+
}
|
|
90
|
+
}, 3, "8B_0") : null
|
|
91
|
+
}, 1, "8B_1");
|
|
92
|
+
}, "BlockStyles_component_0lZeirBI638"));
|
|
76
93
|
exports.BlockStyles = BlockStyles;
|
|
77
94
|
exports.default = BlockStyles;
|