@builder.io/sdk-qwik 0.16.19 → 0.16.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/browser/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/browser/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/browser/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/browser/blocks/button/button.qwik.cjs +17 -8
- package/lib/browser/blocks/button/button.qwik.mjs +17 -8
- package/lib/browser/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/browser/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/browser/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/browser/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/browser/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/browser/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/browser/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/browser/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/browser/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/browser/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/browser/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/browser/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/browser/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/browser/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/browser/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/browser/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/browser/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/browser/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/browser/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/browser/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/browser/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/browser/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/browser/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/browser/blocks/image/image.qwik.cjs +89 -63
- package/lib/browser/blocks/image/image.qwik.mjs +89 -63
- package/lib/browser/blocks/img/img.qwik.cjs +18 -12
- package/lib/browser/blocks/img/img.qwik.mjs +18 -12
- package/lib/browser/blocks/section/section.qwik.cjs +6 -7
- package/lib/browser/blocks/section/section.qwik.mjs +7 -8
- package/lib/browser/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/browser/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/browser/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/browser/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/browser/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/browser/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/browser/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/browser/blocks/text/text.qwik.cjs +15 -11
- package/lib/browser/blocks/text/text.qwik.mjs +15 -11
- package/lib/browser/blocks/video/video.qwik.cjs +87 -73
- package/lib/browser/blocks/video/video.qwik.mjs +88 -74
- package/lib/browser/components/awaiter.qwik.cjs +7 -8
- package/lib/browser/components/awaiter.qwik.mjs +8 -9
- package/lib/browser/components/block/animator.qwik.cjs +11 -22
- package/lib/browser/components/block/animator.qwik.mjs +11 -22
- package/lib/browser/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/browser/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/browser/components/block/block.qwik.cjs +320 -114
- package/lib/browser/components/block/block.qwik.mjs +321 -115
- package/lib/browser/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/browser/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/browser/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/browser/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/browser/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/browser/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/browser/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/browser/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/browser/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/browser/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/browser/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/browser/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/browser/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/browser/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/browser/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/browser/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/browser/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/browser/components/content/components/styles.qwik.cjs +20 -8
- package/lib/browser/components/content/components/styles.qwik.mjs +20 -8
- package/lib/browser/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/browser/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/browser/components/content/content.qwik.cjs +213 -51
- package/lib/browser/components/content/content.qwik.mjs +213 -51
- package/lib/browser/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/browser/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/browser/components/inlined-script.qwik.cjs +13 -8
- package/lib/browser/components/inlined-script.qwik.mjs +14 -9
- package/lib/browser/components/inlined-styles.qwik.cjs +13 -8
- package/lib/browser/components/inlined-styles.qwik.mjs +14 -9
- package/lib/browser/constants/device-sizes.qwik.cjs +1 -2
- package/lib/browser/constants/device-sizes.qwik.mjs +1 -2
- package/lib/browser/constants/sdk-version.qwik.cjs +1 -1
- package/lib/browser/constants/sdk-version.qwik.mjs +1 -1
- package/lib/browser/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/browser/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/browser/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/browser/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/browser/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/browser/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/browser/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/browser/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/browser/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/browser/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/browser/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/browser/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/browser/functions/get-content/index.qwik.cjs +2 -4
- package/lib/browser/functions/get-content/index.qwik.mjs +2 -4
- package/lib/browser/functions/get-global-this.qwik.cjs +4 -8
- package/lib/browser/functions/get-global-this.qwik.mjs +4 -8
- package/lib/browser/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/browser/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/browser/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/browser/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/browser/functions/is-previewing.qwik.cjs +1 -2
- package/lib/browser/functions/is-previewing.qwik.mjs +1 -2
- package/lib/browser/functions/register-component.qwik.cjs +1 -2
- package/lib/browser/functions/register-component.qwik.mjs +1 -2
- package/lib/browser/functions/register.qwik.cjs +3 -6
- package/lib/browser/functions/register.qwik.mjs +3 -6
- package/lib/browser/functions/set.qwik.cjs +1 -2
- package/lib/browser/functions/set.qwik.mjs +1 -2
- package/lib/browser/functions/track/helpers.qwik.cjs +1 -2
- package/lib/browser/functions/track/helpers.qwik.mjs +1 -2
- package/lib/browser/functions/track/index.qwik.cjs +4 -8
- package/lib/browser/functions/track/index.qwik.mjs +4 -8
- package/lib/browser/functions/track/interaction.qwik.cjs +3 -6
- package/lib/browser/functions/track/interaction.qwik.mjs +3 -6
- package/lib/browser/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/browser/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/browser/helpers/cookie.qwik.cjs +2 -4
- package/lib/browser/helpers/cookie.qwik.mjs +2 -4
- package/lib/browser/helpers/css.qwik.cjs +4 -6
- package/lib/browser/helpers/css.qwik.mjs +4 -6
- package/lib/browser/helpers/flatten.qwik.cjs +2 -3
- package/lib/browser/helpers/flatten.qwik.mjs +2 -3
- package/lib/browser/helpers/localStorage.qwik.cjs +2 -4
- package/lib/browser/helpers/localStorage.qwik.mjs +2 -4
- package/lib/browser/helpers/omit.qwik.cjs +1 -2
- package/lib/browser/helpers/omit.qwik.mjs +1 -2
- package/lib/browser/helpers/search/search.qwik.cjs +2 -3
- package/lib/browser/helpers/search/search.qwik.mjs +2 -3
- package/lib/browser/helpers/sessionId.qwik.cjs +3 -4
- package/lib/browser/helpers/sessionId.qwik.mjs +3 -4
- package/lib/browser/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/browser/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/browser/helpers/url.qwik.cjs +2 -4
- package/lib/browser/helpers/url.qwik.mjs +2 -4
- package/lib/browser/helpers/visitorId.qwik.cjs +3 -4
- package/lib/browser/helpers/visitorId.qwik.mjs +3 -4
- package/lib/browser/scripts/init-editing.qwik.cjs +19 -25
- package/lib/browser/scripts/init-editing.qwik.mjs +19 -25
- package/lib/edge/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/edge/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/edge/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/edge/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/edge/blocks/button/button.qwik.cjs +17 -8
- package/lib/edge/blocks/button/button.qwik.mjs +17 -8
- package/lib/edge/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/edge/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/edge/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/edge/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/edge/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/edge/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/edge/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/edge/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/edge/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/edge/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/edge/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/edge/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/edge/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/edge/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/edge/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/edge/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/edge/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/edge/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/edge/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/edge/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/edge/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/edge/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/edge/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/edge/blocks/image/image.qwik.cjs +89 -63
- package/lib/edge/blocks/image/image.qwik.mjs +89 -63
- package/lib/edge/blocks/img/img.qwik.cjs +18 -12
- package/lib/edge/blocks/img/img.qwik.mjs +18 -12
- package/lib/edge/blocks/section/section.qwik.cjs +6 -7
- package/lib/edge/blocks/section/section.qwik.mjs +7 -8
- package/lib/edge/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/edge/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/edge/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/edge/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/edge/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/edge/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/edge/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/edge/blocks/text/text.qwik.cjs +15 -11
- package/lib/edge/blocks/text/text.qwik.mjs +15 -11
- package/lib/edge/blocks/video/video.qwik.cjs +87 -73
- package/lib/edge/blocks/video/video.qwik.mjs +88 -74
- package/lib/edge/components/awaiter.qwik.cjs +7 -8
- package/lib/edge/components/awaiter.qwik.mjs +8 -9
- package/lib/edge/components/block/animator.qwik.cjs +11 -22
- package/lib/edge/components/block/animator.qwik.mjs +11 -22
- package/lib/edge/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/edge/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/edge/components/block/block.qwik.cjs +320 -114
- package/lib/edge/components/block/block.qwik.mjs +321 -115
- package/lib/edge/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/edge/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/edge/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/edge/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/edge/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/edge/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/edge/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/edge/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/edge/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/edge/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/edge/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/edge/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/edge/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/edge/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/edge/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/edge/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/edge/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/edge/components/content/components/styles.qwik.cjs +20 -8
- package/lib/edge/components/content/components/styles.qwik.mjs +20 -8
- package/lib/edge/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/edge/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/edge/components/content/content.qwik.cjs +213 -51
- package/lib/edge/components/content/content.qwik.mjs +213 -51
- package/lib/edge/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/edge/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/edge/components/inlined-script.qwik.cjs +13 -8
- package/lib/edge/components/inlined-script.qwik.mjs +14 -9
- package/lib/edge/components/inlined-styles.qwik.cjs +13 -8
- package/lib/edge/components/inlined-styles.qwik.mjs +14 -9
- package/lib/edge/constants/device-sizes.qwik.cjs +1 -2
- package/lib/edge/constants/device-sizes.qwik.mjs +1 -2
- package/lib/edge/constants/sdk-version.qwik.cjs +1 -1
- package/lib/edge/constants/sdk-version.qwik.mjs +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.cjs +7 -6
- package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.mjs +7 -6
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.cjs +11 -20
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.qwik.mjs +11 -20
- package/lib/edge/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/edge/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/edge/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/edge/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/edge/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/edge/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/edge/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/edge/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/edge/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/edge/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/edge/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/edge/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/edge/functions/get-content/index.qwik.cjs +2 -4
- package/lib/edge/functions/get-content/index.qwik.mjs +2 -4
- package/lib/edge/functions/get-global-this.qwik.cjs +4 -8
- package/lib/edge/functions/get-global-this.qwik.mjs +4 -8
- package/lib/edge/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/edge/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/edge/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/edge/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/edge/functions/is-previewing.qwik.cjs +1 -2
- package/lib/edge/functions/is-previewing.qwik.mjs +1 -2
- package/lib/edge/functions/register-component.qwik.cjs +1 -2
- package/lib/edge/functions/register-component.qwik.mjs +1 -2
- package/lib/edge/functions/register.qwik.cjs +3 -6
- package/lib/edge/functions/register.qwik.mjs +3 -6
- package/lib/edge/functions/set.qwik.cjs +1 -2
- package/lib/edge/functions/set.qwik.mjs +1 -2
- package/lib/edge/functions/track/helpers.qwik.cjs +1 -2
- package/lib/edge/functions/track/helpers.qwik.mjs +1 -2
- package/lib/edge/functions/track/index.qwik.cjs +4 -8
- package/lib/edge/functions/track/index.qwik.mjs +4 -8
- package/lib/edge/functions/track/interaction.qwik.cjs +3 -6
- package/lib/edge/functions/track/interaction.qwik.mjs +3 -6
- package/lib/edge/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/edge/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/edge/helpers/cookie.qwik.cjs +2 -4
- package/lib/edge/helpers/cookie.qwik.mjs +2 -4
- package/lib/edge/helpers/css.qwik.cjs +4 -6
- package/lib/edge/helpers/css.qwik.mjs +4 -6
- package/lib/edge/helpers/flatten.qwik.cjs +2 -3
- package/lib/edge/helpers/flatten.qwik.mjs +2 -3
- package/lib/edge/helpers/localStorage.qwik.cjs +2 -4
- package/lib/edge/helpers/localStorage.qwik.mjs +2 -4
- package/lib/edge/helpers/omit.qwik.cjs +1 -2
- package/lib/edge/helpers/omit.qwik.mjs +1 -2
- package/lib/edge/helpers/search/search.qwik.cjs +2 -3
- package/lib/edge/helpers/search/search.qwik.mjs +2 -3
- package/lib/edge/helpers/sessionId.qwik.cjs +3 -4
- package/lib/edge/helpers/sessionId.qwik.mjs +3 -4
- package/lib/edge/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/edge/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/edge/helpers/url.qwik.cjs +2 -4
- package/lib/edge/helpers/url.qwik.mjs +2 -4
- package/lib/edge/helpers/visitorId.qwik.cjs +3 -4
- package/lib/edge/helpers/visitorId.qwik.mjs +3 -4
- package/lib/edge/scripts/init-editing.qwik.cjs +19 -25
- package/lib/edge/scripts/init-editing.qwik.mjs +19 -25
- package/lib/node/blocks/accordion/accordion.qwik.cjs +143 -74
- package/lib/node/blocks/accordion/accordion.qwik.mjs +143 -74
- package/lib/node/blocks/accordion/component-info.qwik.cjs +1 -2
- package/lib/node/blocks/accordion/component-info.qwik.mjs +1 -2
- package/lib/node/blocks/button/button.qwik.cjs +17 -8
- package/lib/node/blocks/button/button.qwik.mjs +17 -8
- package/lib/node/blocks/columns/columns.qwik.cjs +119 -66
- package/lib/node/blocks/columns/columns.qwik.mjs +119 -66
- package/lib/node/blocks/columns/component-info.qwik.cjs +3 -4
- package/lib/node/blocks/columns/component-info.qwik.mjs +3 -4
- package/lib/node/blocks/custom-code/custom-code.qwik.cjs +22 -18
- package/lib/node/blocks/custom-code/custom-code.qwik.mjs +23 -19
- package/lib/node/blocks/embed/embed.qwik.cjs +23 -17
- package/lib/node/blocks/embed/embed.qwik.mjs +23 -17
- package/lib/node/blocks/form/form/form.qwik.cjs +128 -74
- package/lib/node/blocks/form/form/form.qwik.mjs +129 -75
- package/lib/node/blocks/form/input/input.qwik.cjs +2 -2
- package/lib/node/blocks/form/input/input.qwik.mjs +3 -3
- package/lib/node/blocks/form/select/select.qwik.cjs +5 -7
- package/lib/node/blocks/form/select/select.qwik.mjs +6 -8
- package/lib/node/blocks/form/submit-button/submit-button.qwik.cjs +9 -7
- package/lib/node/blocks/form/submit-button/submit-button.qwik.mjs +10 -8
- package/lib/node/blocks/form/textarea/textarea.qwik.cjs +21 -11
- package/lib/node/blocks/form/textarea/textarea.qwik.mjs +22 -12
- package/lib/node/blocks/fragment/fragment.qwik.cjs +3 -6
- package/lib/node/blocks/fragment/fragment.qwik.mjs +4 -7
- package/lib/node/blocks/image/component-info.qwik.cjs +3 -6
- package/lib/node/blocks/image/component-info.qwik.mjs +3 -6
- package/lib/node/blocks/image/image.helpers.qwik.cjs +6 -12
- package/lib/node/blocks/image/image.helpers.qwik.mjs +6 -12
- package/lib/node/blocks/image/image.qwik.cjs +89 -63
- package/lib/node/blocks/image/image.qwik.mjs +89 -63
- package/lib/node/blocks/img/img.qwik.cjs +18 -12
- package/lib/node/blocks/img/img.qwik.mjs +18 -12
- package/lib/node/blocks/section/section.qwik.cjs +6 -7
- package/lib/node/blocks/section/section.qwik.mjs +7 -8
- package/lib/node/blocks/slot/slot.qwik.cjs +43 -17
- package/lib/node/blocks/slot/slot.qwik.mjs +43 -17
- package/lib/node/blocks/symbol/symbol.helpers.qwik.cjs +1 -2
- package/lib/node/blocks/symbol/symbol.helpers.qwik.mjs +1 -2
- package/lib/node/blocks/symbol/symbol.qwik.cjs +137 -45
- package/lib/node/blocks/symbol/symbol.qwik.mjs +137 -45
- package/lib/node/blocks/tabs/tabs.qwik.cjs +99 -45
- package/lib/node/blocks/tabs/tabs.qwik.mjs +99 -45
- package/lib/node/blocks/text/text.qwik.cjs +15 -11
- package/lib/node/blocks/text/text.qwik.mjs +15 -11
- package/lib/node/blocks/video/video.qwik.cjs +87 -73
- package/lib/node/blocks/video/video.qwik.mjs +88 -74
- package/lib/node/components/awaiter.qwik.cjs +7 -8
- package/lib/node/components/awaiter.qwik.mjs +8 -9
- package/lib/node/components/block/animator.qwik.cjs +11 -22
- package/lib/node/components/block/animator.qwik.mjs +11 -22
- package/lib/node/components/block/block.helpers.qwik.cjs +4 -8
- package/lib/node/components/block/block.helpers.qwik.mjs +4 -8
- package/lib/node/components/block/block.qwik.cjs +320 -114
- package/lib/node/components/block/block.qwik.mjs +321 -115
- package/lib/node/components/block/components/block-styles.qwik.cjs +39 -22
- package/lib/node/components/block/components/block-styles.qwik.mjs +40 -23
- package/lib/node/components/block/components/block-wrapper.qwik.cjs +18 -12
- package/lib/node/components/block/components/block-wrapper.qwik.mjs +18 -12
- package/lib/node/components/block/components/component-ref/component-ref.qwik.cjs +29 -12
- package/lib/node/components/block/components/component-ref/component-ref.qwik.mjs +31 -14
- package/lib/node/components/block/components/interactive-element.qwik.cjs +58 -25
- package/lib/node/components/block/components/interactive-element.qwik.mjs +59 -26
- package/lib/node/components/block/components/repeated-block.qwik.cjs +31 -10
- package/lib/node/components/block/components/repeated-block.qwik.mjs +32 -11
- package/lib/node/components/blocks/blocks-wrapper.qwik.cjs +73 -25
- package/lib/node/components/blocks/blocks-wrapper.qwik.mjs +73 -25
- package/lib/node/components/blocks/blocks.qwik.cjs +84 -20
- package/lib/node/components/blocks/blocks.qwik.mjs +85 -21
- package/lib/node/components/content/components/enable-editor.qwik.cjs +175 -90
- package/lib/node/components/content/components/enable-editor.qwik.mjs +176 -91
- package/lib/node/components/content/components/styles.helpers.qwik.cjs +6 -12
- package/lib/node/components/content/components/styles.helpers.qwik.mjs +6 -12
- package/lib/node/components/content/components/styles.qwik.cjs +20 -8
- package/lib/node/components/content/components/styles.qwik.mjs +20 -8
- package/lib/node/components/content/content.helpers.qwik.cjs +1 -2
- package/lib/node/components/content/content.helpers.qwik.mjs +1 -2
- package/lib/node/components/content/content.qwik.cjs +213 -51
- package/lib/node/components/content/content.qwik.mjs +213 -51
- package/lib/node/components/content-variants/content-variants.qwik.cjs +325 -76
- package/lib/node/components/content-variants/content-variants.qwik.mjs +326 -77
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.cjs +12 -11
- package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.mjs +13 -12
- package/lib/node/components/inlined-script.qwik.cjs +13 -8
- package/lib/node/components/inlined-script.qwik.mjs +14 -9
- package/lib/node/components/inlined-styles.qwik.cjs +13 -8
- package/lib/node/components/inlined-styles.qwik.mjs +14 -9
- package/lib/node/constants/device-sizes.qwik.cjs +1 -2
- package/lib/node/constants/device-sizes.qwik.mjs +1 -2
- package/lib/node/constants/sdk-version.qwik.cjs +1 -1
- package/lib/node/constants/sdk-version.qwik.mjs +1 -1
- package/lib/node/functions/evaluate/evaluate.qwik.cjs +2 -4
- package/lib/node/functions/evaluate/evaluate.qwik.mjs +2 -4
- package/lib/node/functions/evaluate/helpers.qwik.cjs +3 -6
- package/lib/node/functions/evaluate/helpers.qwik.mjs +3 -6
- package/lib/node/functions/evaluate/node-runtime/init.qwik.cjs +1 -2
- package/lib/node/functions/evaluate/node-runtime/init.qwik.mjs +1 -2
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.cjs +5 -4
- package/lib/node/functions/evaluate/node-runtime/node-runtime.qwik.mjs +5 -4
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +1 -2
- package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +1 -2
- package/lib/node/functions/get-block-actions-handler.qwik.cjs +14 -8
- package/lib/node/functions/get-block-actions-handler.qwik.mjs +15 -9
- package/lib/node/functions/get-block-actions.qwik.cjs +2 -4
- package/lib/node/functions/get-block-actions.qwik.mjs +2 -4
- package/lib/node/functions/get-builder-search-params/index.qwik.cjs +2 -4
- package/lib/node/functions/get-builder-search-params/index.qwik.mjs +2 -4
- package/lib/node/functions/get-content/generate-content-url.qwik.cjs +11 -22
- package/lib/node/functions/get-content/generate-content-url.qwik.mjs +11 -22
- package/lib/node/functions/get-content/index.qwik.cjs +2 -4
- package/lib/node/functions/get-content/index.qwik.mjs +2 -4
- package/lib/node/functions/get-global-this.qwik.cjs +4 -8
- package/lib/node/functions/get-global-this.qwik.mjs +4 -8
- package/lib/node/functions/get-processed-block.qwik.cjs +8 -15
- package/lib/node/functions/get-processed-block.qwik.mjs +8 -15
- package/lib/node/functions/is-from-trusted-host.qwik.cjs +1 -2
- package/lib/node/functions/is-from-trusted-host.qwik.mjs +1 -2
- package/lib/node/functions/is-previewing.qwik.cjs +1 -2
- package/lib/node/functions/is-previewing.qwik.mjs +1 -2
- package/lib/node/functions/register-component.qwik.cjs +1 -2
- package/lib/node/functions/register-component.qwik.mjs +1 -2
- package/lib/node/functions/register.qwik.cjs +3 -6
- package/lib/node/functions/register.qwik.mjs +3 -6
- package/lib/node/functions/set.qwik.cjs +1 -2
- package/lib/node/functions/set.qwik.mjs +1 -2
- package/lib/node/functions/track/helpers.qwik.cjs +1 -2
- package/lib/node/functions/track/helpers.qwik.mjs +1 -2
- package/lib/node/functions/track/index.qwik.cjs +4 -8
- package/lib/node/functions/track/index.qwik.mjs +4 -8
- package/lib/node/functions/track/interaction.qwik.cjs +3 -6
- package/lib/node/functions/track/interaction.qwik.mjs +3 -6
- package/lib/node/helpers/ab-tests.qwik.cjs +8 -15
- package/lib/node/helpers/ab-tests.qwik.mjs +9 -16
- package/lib/node/helpers/cookie.qwik.cjs +2 -4
- package/lib/node/helpers/cookie.qwik.mjs +2 -4
- package/lib/node/helpers/css.qwik.cjs +4 -6
- package/lib/node/helpers/css.qwik.mjs +4 -6
- package/lib/node/helpers/flatten.qwik.cjs +2 -3
- package/lib/node/helpers/flatten.qwik.mjs +2 -3
- package/lib/node/helpers/localStorage.qwik.cjs +2 -4
- package/lib/node/helpers/localStorage.qwik.mjs +2 -4
- package/lib/node/helpers/omit.qwik.cjs +1 -2
- package/lib/node/helpers/omit.qwik.mjs +1 -2
- package/lib/node/helpers/search/search.qwik.cjs +2 -3
- package/lib/node/helpers/search/search.qwik.mjs +2 -3
- package/lib/node/helpers/sessionId.qwik.cjs +3 -4
- package/lib/node/helpers/sessionId.qwik.mjs +3 -4
- package/lib/node/helpers/subscribe-to-editor.qwik.cjs +5 -10
- package/lib/node/helpers/subscribe-to-editor.qwik.mjs +5 -10
- package/lib/node/helpers/url.qwik.cjs +2 -4
- package/lib/node/helpers/url.qwik.mjs +2 -4
- package/lib/node/helpers/visitorId.qwik.cjs +3 -4
- package/lib/node/helpers/visitorId.qwik.mjs +3 -4
- package/lib/node/scripts/init-editing.qwik.cjs +19 -25
- package/lib/node/scripts/init-editing.qwik.mjs +19 -25
- package/package.json +2 -2
- package/types/src/blocks/columns/columns.d.ts +10 -10
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/functions/evaluate/node-runtime/setIvm.d.ts +1 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const qwik = require("@builder.io/qwik");
|
|
4
4
|
const contentVariants = require("../../components/content-variants/content-variants.qwik.cjs");
|
|
5
5
|
const getClassPropName = require("../../functions/get-class-prop-name.qwik.cjs");
|
|
6
6
|
const symbol_helpers = require("./symbol.helpers.qwik.cjs");
|
|
7
|
-
const qwik = require("@builder.io/qwik");
|
|
8
7
|
const setContent = function setContent2(props, state, blocksWrapper, contentWrapper, className) {
|
|
9
8
|
if (state.contentToUse)
|
|
10
9
|
return;
|
|
@@ -12,64 +11,157 @@ const setContent = function setContent2(props, state, blocksWrapper, contentWrap
|
|
|
12
11
|
symbol: props.symbol,
|
|
13
12
|
builderContextValue: props.builderContext
|
|
14
13
|
}).then((newContent) => {
|
|
15
|
-
if (newContent)
|
|
14
|
+
if (newContent)
|
|
16
15
|
state.contentToUse = newContent;
|
|
17
|
-
}
|
|
18
16
|
});
|
|
19
17
|
};
|
|
20
|
-
const Symbol$1 = qwik.
|
|
21
|
-
var _a
|
|
22
|
-
const blocksWrapper = qwik.
|
|
18
|
+
const Symbol$1 = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
19
|
+
var _a;
|
|
20
|
+
const blocksWrapper = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
23
21
|
return "div";
|
|
24
|
-
});
|
|
25
|
-
const contentWrapper = qwik.
|
|
22
|
+
}, "Symbol_component_blocksWrapper_useComputed_B5dlF985gMM"));
|
|
23
|
+
const contentWrapper = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
26
24
|
return "div";
|
|
27
|
-
});
|
|
28
|
-
const className = qwik.
|
|
29
|
-
var _a2,
|
|
25
|
+
}, "Symbol_component_contentWrapper_useComputed_EvmPpPj8JTo"));
|
|
26
|
+
const className = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
27
|
+
var _a2, _b;
|
|
28
|
+
const [props2] = qwik.useLexicalScope();
|
|
30
29
|
return [
|
|
31
|
-
|
|
32
|
-
props.attributes[getClassPropName.getClassPropName()]
|
|
33
|
-
],
|
|
30
|
+
props2.attributes[getClassPropName.getClassPropName()],
|
|
34
31
|
"builder-symbol",
|
|
35
|
-
((_a2 =
|
|
36
|
-
((
|
|
32
|
+
((_a2 = props2.symbol) == null ? void 0 : _a2.inline) ? "builder-inline-symbol" : void 0,
|
|
33
|
+
((_b = props2.symbol) == null ? void 0 : _b.dynamic) || props2.dynamic ? "builder-dynamic-symbol" : void 0
|
|
37
34
|
].filter(Boolean).join(" ");
|
|
38
|
-
}
|
|
35
|
+
}, "Symbol_component_className_useComputed_Wb6GqgtDHpE", [
|
|
36
|
+
props
|
|
37
|
+
]));
|
|
39
38
|
const state = qwik.useStore({
|
|
40
39
|
contentToUse: (_a = props.symbol) == null ? void 0 : _a.content
|
|
41
40
|
});
|
|
42
|
-
qwik.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
qwik.useTaskQrl(/* @__PURE__ */ qwik.inlinedQrl(({ track }) => {
|
|
42
|
+
const [blocksWrapper2, className2, contentWrapper2, props2, state2] = qwik.useLexicalScope();
|
|
43
|
+
track(() => props2.symbol);
|
|
44
|
+
setContent(props2, state2);
|
|
45
|
+
}, "Symbol_component_useTask_NIAWAC1bMBo", [
|
|
46
|
+
blocksWrapper,
|
|
47
|
+
className,
|
|
48
|
+
contentWrapper,
|
|
49
|
+
props,
|
|
50
|
+
state
|
|
51
|
+
]));
|
|
52
|
+
return /* @__PURE__ */ qwik._jsxS("div", {
|
|
47
53
|
...props.attributes,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
children: /* @__PURE__ */ qwik._jsxC(contentVariants.ContentVariants, {
|
|
55
|
+
get nonce() {
|
|
56
|
+
return props.builderContext.nonce;
|
|
57
|
+
},
|
|
51
58
|
isNestedRender: true,
|
|
52
|
-
apiVersion
|
|
53
|
-
|
|
54
|
-
context: {
|
|
55
|
-
...props.builderContext.context,
|
|
56
|
-
symbolId: (_b = props.builderBlock) == null ? void 0 : _b.id
|
|
59
|
+
get apiVersion() {
|
|
60
|
+
return props.builderContext.apiVersion;
|
|
57
61
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
...(_c = props.symbol) == null ? void 0 : _c.data,
|
|
61
|
-
...props.builderContext.localState,
|
|
62
|
-
...(_e = (_d = state.contentToUse) == null ? void 0 : _d.data) == null ? void 0 : _e.state
|
|
62
|
+
get apiKey() {
|
|
63
|
+
return props.builderContext.apiKey;
|
|
63
64
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
get context() {
|
|
66
|
+
var _a2;
|
|
67
|
+
return {
|
|
68
|
+
...props.builderContext.context,
|
|
69
|
+
symbolId: (_a2 = props.builderBlock) == null ? void 0 : _a2.id
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
get customComponents() {
|
|
73
|
+
return Object.values(props.builderComponents);
|
|
74
|
+
},
|
|
75
|
+
get data() {
|
|
76
|
+
var _a2, _b, _c;
|
|
77
|
+
return {
|
|
78
|
+
...(_a2 = props.symbol) == null ? void 0 : _a2.data,
|
|
79
|
+
...props.builderContext.localState,
|
|
80
|
+
...(_c = (_b = state.contentToUse) == null ? void 0 : _b.data) == null ? void 0 : _c.state
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
get canTrack() {
|
|
84
|
+
return props.builderContext.canTrack;
|
|
85
|
+
},
|
|
86
|
+
get model() {
|
|
87
|
+
var _a2;
|
|
88
|
+
return (_a2 = props.symbol) == null ? void 0 : _a2.model;
|
|
89
|
+
},
|
|
90
|
+
get content() {
|
|
91
|
+
return state.contentToUse;
|
|
92
|
+
},
|
|
93
|
+
get linkComponent() {
|
|
94
|
+
return props.builderLinkComponent;
|
|
95
|
+
},
|
|
96
|
+
get blocksWrapper() {
|
|
97
|
+
return blocksWrapper.value;
|
|
98
|
+
},
|
|
99
|
+
get contentWrapper() {
|
|
100
|
+
return contentWrapper.value;
|
|
101
|
+
},
|
|
102
|
+
[qwik._IMMUTABLE]: {
|
|
103
|
+
apiKey: qwik._fnSignal((p0) => p0.builderContext.apiKey, [
|
|
104
|
+
props
|
|
105
|
+
], "p0.builderContext.apiKey"),
|
|
106
|
+
apiVersion: qwik._fnSignal((p0) => p0.builderContext.apiVersion, [
|
|
107
|
+
props
|
|
108
|
+
], "p0.builderContext.apiVersion"),
|
|
109
|
+
blocksWrapper: qwik._fnSignal((p0) => p0.value, [
|
|
110
|
+
blocksWrapper
|
|
111
|
+
], "p0.value"),
|
|
112
|
+
canTrack: qwik._fnSignal((p0) => p0.builderContext.canTrack, [
|
|
113
|
+
props
|
|
114
|
+
], "p0.builderContext.canTrack"),
|
|
115
|
+
content: qwik._fnSignal((p0) => p0.contentToUse, [
|
|
116
|
+
state
|
|
117
|
+
], "p0.contentToUse"),
|
|
118
|
+
contentWrapper: qwik._fnSignal((p0) => p0.value, [
|
|
119
|
+
contentWrapper
|
|
120
|
+
], "p0.value"),
|
|
121
|
+
context: qwik._fnSignal((p0) => {
|
|
122
|
+
var _a2;
|
|
123
|
+
return {
|
|
124
|
+
...p0.builderContext.context,
|
|
125
|
+
symbolId: (_a2 = p0.builderBlock) == null ? void 0 : _a2.id
|
|
126
|
+
};
|
|
127
|
+
}, [
|
|
128
|
+
props
|
|
129
|
+
], "{...p0.builderContext.context,symbolId:p0.builderBlock?.id}"),
|
|
130
|
+
customComponents: qwik._fnSignal((p0) => Object.values(p0.builderComponents), [
|
|
131
|
+
props
|
|
132
|
+
], "Object.values(p0.builderComponents)"),
|
|
133
|
+
data: qwik._fnSignal((p0, p1) => {
|
|
134
|
+
var _a2, _b, _c;
|
|
135
|
+
return {
|
|
136
|
+
...(_a2 = p0.symbol) == null ? void 0 : _a2.data,
|
|
137
|
+
...p0.builderContext.localState,
|
|
138
|
+
...(_c = (_b = p1.contentToUse) == null ? void 0 : _b.data) == null ? void 0 : _c.state
|
|
139
|
+
};
|
|
140
|
+
}, [
|
|
141
|
+
props,
|
|
142
|
+
state
|
|
143
|
+
], "{...p0.symbol?.data,...p0.builderContext.localState,...p1.contentToUse?.data?.state}"),
|
|
144
|
+
isNestedRender: qwik._IMMUTABLE,
|
|
145
|
+
linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
|
|
146
|
+
props
|
|
147
|
+
], "p0.builderLinkComponent"),
|
|
148
|
+
model: qwik._fnSignal((p0) => {
|
|
149
|
+
var _a2;
|
|
150
|
+
return (_a2 = p0.symbol) == null ? void 0 : _a2.model;
|
|
151
|
+
}, [
|
|
152
|
+
props
|
|
153
|
+
], "p0.symbol?.model"),
|
|
154
|
+
nonce: qwik._fnSignal((p0) => p0.builderContext.nonce, [
|
|
155
|
+
props
|
|
156
|
+
], "p0.builderContext.nonce")
|
|
157
|
+
}
|
|
158
|
+
}, 3, "Wt_0")
|
|
159
|
+
}, {
|
|
160
|
+
class: qwik._fnSignal((p0) => p0.value, [
|
|
161
|
+
className
|
|
162
|
+
], "p0.value")
|
|
163
|
+
}, 0, "Wt_1");
|
|
164
|
+
}, "Symbol_component_WVvggdkUPdk"));
|
|
73
165
|
exports.Symbol = Symbol$1;
|
|
74
166
|
exports.default = Symbol$1;
|
|
75
167
|
exports.setContent = setContent;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { componentQrl, inlinedQrl, useComputedQrl, useLexicalScope, useStore, useTaskQrl, _jsxS, _jsxC, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
|
|
2
2
|
import { ContentVariants } from "../../components/content-variants/content-variants.qwik.mjs";
|
|
3
3
|
import { getClassPropName } from "../../functions/get-class-prop-name.qwik.mjs";
|
|
4
4
|
import { fetchSymbolContent } from "./symbol.helpers.qwik.mjs";
|
|
5
|
-
import { component$, useComputed$, useStore, useTask$ } from "@builder.io/qwik";
|
|
6
5
|
const setContent = function setContent2(props, state, blocksWrapper, contentWrapper, className) {
|
|
7
6
|
if (state.contentToUse)
|
|
8
7
|
return;
|
|
@@ -10,64 +9,157 @@ const setContent = function setContent2(props, state, blocksWrapper, contentWrap
|
|
|
10
9
|
symbol: props.symbol,
|
|
11
10
|
builderContextValue: props.builderContext
|
|
12
11
|
}).then((newContent) => {
|
|
13
|
-
if (newContent)
|
|
12
|
+
if (newContent)
|
|
14
13
|
state.contentToUse = newContent;
|
|
15
|
-
}
|
|
16
14
|
});
|
|
17
15
|
};
|
|
18
|
-
const Symbol$1 =
|
|
19
|
-
var _a
|
|
20
|
-
const blocksWrapper =
|
|
16
|
+
const Symbol$1 = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
17
|
+
var _a;
|
|
18
|
+
const blocksWrapper = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
21
19
|
return "div";
|
|
22
|
-
});
|
|
23
|
-
const contentWrapper =
|
|
20
|
+
}, "Symbol_component_blocksWrapper_useComputed_B5dlF985gMM"));
|
|
21
|
+
const contentWrapper = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
24
22
|
return "div";
|
|
25
|
-
});
|
|
26
|
-
const className =
|
|
27
|
-
var _a2,
|
|
23
|
+
}, "Symbol_component_contentWrapper_useComputed_EvmPpPj8JTo"));
|
|
24
|
+
const className = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
25
|
+
var _a2, _b;
|
|
26
|
+
const [props2] = useLexicalScope();
|
|
28
27
|
return [
|
|
29
|
-
|
|
30
|
-
props.attributes[getClassPropName()]
|
|
31
|
-
],
|
|
28
|
+
props2.attributes[getClassPropName()],
|
|
32
29
|
"builder-symbol",
|
|
33
|
-
((_a2 =
|
|
34
|
-
((
|
|
30
|
+
((_a2 = props2.symbol) == null ? void 0 : _a2.inline) ? "builder-inline-symbol" : void 0,
|
|
31
|
+
((_b = props2.symbol) == null ? void 0 : _b.dynamic) || props2.dynamic ? "builder-dynamic-symbol" : void 0
|
|
35
32
|
].filter(Boolean).join(" ");
|
|
36
|
-
}
|
|
33
|
+
}, "Symbol_component_className_useComputed_Wb6GqgtDHpE", [
|
|
34
|
+
props
|
|
35
|
+
]));
|
|
37
36
|
const state = useStore({
|
|
38
37
|
contentToUse: (_a = props.symbol) == null ? void 0 : _a.content
|
|
39
38
|
});
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
useTaskQrl(/* @__PURE__ */ inlinedQrl(({ track }) => {
|
|
40
|
+
const [blocksWrapper2, className2, contentWrapper2, props2, state2] = useLexicalScope();
|
|
41
|
+
track(() => props2.symbol);
|
|
42
|
+
setContent(props2, state2);
|
|
43
|
+
}, "Symbol_component_useTask_NIAWAC1bMBo", [
|
|
44
|
+
blocksWrapper,
|
|
45
|
+
className,
|
|
46
|
+
contentWrapper,
|
|
47
|
+
props,
|
|
48
|
+
state
|
|
49
|
+
]));
|
|
50
|
+
return /* @__PURE__ */ _jsxS("div", {
|
|
45
51
|
...props.attributes,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
52
|
+
children: /* @__PURE__ */ _jsxC(ContentVariants, {
|
|
53
|
+
get nonce() {
|
|
54
|
+
return props.builderContext.nonce;
|
|
55
|
+
},
|
|
49
56
|
isNestedRender: true,
|
|
50
|
-
apiVersion
|
|
51
|
-
|
|
52
|
-
context: {
|
|
53
|
-
...props.builderContext.context,
|
|
54
|
-
symbolId: (_b = props.builderBlock) == null ? void 0 : _b.id
|
|
57
|
+
get apiVersion() {
|
|
58
|
+
return props.builderContext.apiVersion;
|
|
55
59
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
...(_c = props.symbol) == null ? void 0 : _c.data,
|
|
59
|
-
...props.builderContext.localState,
|
|
60
|
-
...(_e = (_d = state.contentToUse) == null ? void 0 : _d.data) == null ? void 0 : _e.state
|
|
60
|
+
get apiKey() {
|
|
61
|
+
return props.builderContext.apiKey;
|
|
61
62
|
},
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
get context() {
|
|
64
|
+
var _a2;
|
|
65
|
+
return {
|
|
66
|
+
...props.builderContext.context,
|
|
67
|
+
symbolId: (_a2 = props.builderBlock) == null ? void 0 : _a2.id
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
get customComponents() {
|
|
71
|
+
return Object.values(props.builderComponents);
|
|
72
|
+
},
|
|
73
|
+
get data() {
|
|
74
|
+
var _a2, _b, _c;
|
|
75
|
+
return {
|
|
76
|
+
...(_a2 = props.symbol) == null ? void 0 : _a2.data,
|
|
77
|
+
...props.builderContext.localState,
|
|
78
|
+
...(_c = (_b = state.contentToUse) == null ? void 0 : _b.data) == null ? void 0 : _c.state
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
get canTrack() {
|
|
82
|
+
return props.builderContext.canTrack;
|
|
83
|
+
},
|
|
84
|
+
get model() {
|
|
85
|
+
var _a2;
|
|
86
|
+
return (_a2 = props.symbol) == null ? void 0 : _a2.model;
|
|
87
|
+
},
|
|
88
|
+
get content() {
|
|
89
|
+
return state.contentToUse;
|
|
90
|
+
},
|
|
91
|
+
get linkComponent() {
|
|
92
|
+
return props.builderLinkComponent;
|
|
93
|
+
},
|
|
94
|
+
get blocksWrapper() {
|
|
95
|
+
return blocksWrapper.value;
|
|
96
|
+
},
|
|
97
|
+
get contentWrapper() {
|
|
98
|
+
return contentWrapper.value;
|
|
99
|
+
},
|
|
100
|
+
[_IMMUTABLE]: {
|
|
101
|
+
apiKey: _fnSignal((p0) => p0.builderContext.apiKey, [
|
|
102
|
+
props
|
|
103
|
+
], "p0.builderContext.apiKey"),
|
|
104
|
+
apiVersion: _fnSignal((p0) => p0.builderContext.apiVersion, [
|
|
105
|
+
props
|
|
106
|
+
], "p0.builderContext.apiVersion"),
|
|
107
|
+
blocksWrapper: _fnSignal((p0) => p0.value, [
|
|
108
|
+
blocksWrapper
|
|
109
|
+
], "p0.value"),
|
|
110
|
+
canTrack: _fnSignal((p0) => p0.builderContext.canTrack, [
|
|
111
|
+
props
|
|
112
|
+
], "p0.builderContext.canTrack"),
|
|
113
|
+
content: _fnSignal((p0) => p0.contentToUse, [
|
|
114
|
+
state
|
|
115
|
+
], "p0.contentToUse"),
|
|
116
|
+
contentWrapper: _fnSignal((p0) => p0.value, [
|
|
117
|
+
contentWrapper
|
|
118
|
+
], "p0.value"),
|
|
119
|
+
context: _fnSignal((p0) => {
|
|
120
|
+
var _a2;
|
|
121
|
+
return {
|
|
122
|
+
...p0.builderContext.context,
|
|
123
|
+
symbolId: (_a2 = p0.builderBlock) == null ? void 0 : _a2.id
|
|
124
|
+
};
|
|
125
|
+
}, [
|
|
126
|
+
props
|
|
127
|
+
], "{...p0.builderContext.context,symbolId:p0.builderBlock?.id}"),
|
|
128
|
+
customComponents: _fnSignal((p0) => Object.values(p0.builderComponents), [
|
|
129
|
+
props
|
|
130
|
+
], "Object.values(p0.builderComponents)"),
|
|
131
|
+
data: _fnSignal((p0, p1) => {
|
|
132
|
+
var _a2, _b, _c;
|
|
133
|
+
return {
|
|
134
|
+
...(_a2 = p0.symbol) == null ? void 0 : _a2.data,
|
|
135
|
+
...p0.builderContext.localState,
|
|
136
|
+
...(_c = (_b = p1.contentToUse) == null ? void 0 : _b.data) == null ? void 0 : _c.state
|
|
137
|
+
};
|
|
138
|
+
}, [
|
|
139
|
+
props,
|
|
140
|
+
state
|
|
141
|
+
], "{...p0.symbol?.data,...p0.builderContext.localState,...p1.contentToUse?.data?.state}"),
|
|
142
|
+
isNestedRender: _IMMUTABLE,
|
|
143
|
+
linkComponent: _fnSignal((p0) => p0.builderLinkComponent, [
|
|
144
|
+
props
|
|
145
|
+
], "p0.builderLinkComponent"),
|
|
146
|
+
model: _fnSignal((p0) => {
|
|
147
|
+
var _a2;
|
|
148
|
+
return (_a2 = p0.symbol) == null ? void 0 : _a2.model;
|
|
149
|
+
}, [
|
|
150
|
+
props
|
|
151
|
+
], "p0.symbol?.model"),
|
|
152
|
+
nonce: _fnSignal((p0) => p0.builderContext.nonce, [
|
|
153
|
+
props
|
|
154
|
+
], "p0.builderContext.nonce")
|
|
155
|
+
}
|
|
156
|
+
}, 3, "Wt_0")
|
|
157
|
+
}, {
|
|
158
|
+
class: _fnSignal((p0) => p0.value, [
|
|
159
|
+
className
|
|
160
|
+
], "p0.value")
|
|
161
|
+
}, 0, "Wt_1");
|
|
162
|
+
}, "Symbol_component_WVvggdkUPdk"));
|
|
71
163
|
export {
|
|
72
164
|
Symbol$1 as Symbol,
|
|
73
165
|
Symbol$1 as default,
|
|
@@ -1,63 +1,117 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
4
|
-
const blocks = require("../../components/blocks/blocks.qwik.cjs");
|
|
5
3
|
const qwik = require("@builder.io/qwik");
|
|
4
|
+
const blocks = require("../../components/blocks/blocks.qwik.cjs");
|
|
6
5
|
const activeTabContent = function activeTabContent2(props, state, active) {
|
|
7
6
|
return props.tabs && props.tabs[active].content;
|
|
8
7
|
};
|
|
9
8
|
const onClick = function onClick2(props, state, index) {
|
|
10
|
-
if (index === state.activeTab && props.collapsible)
|
|
9
|
+
if (index === state.activeTab && props.collapsible)
|
|
11
10
|
state.activeTab = -1;
|
|
12
|
-
|
|
11
|
+
else
|
|
13
12
|
state.activeTab = index;
|
|
14
|
-
}
|
|
15
13
|
};
|
|
16
|
-
const Tabs = qwik.
|
|
14
|
+
const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
15
|
+
qwik._jsxBranch();
|
|
17
16
|
const state = qwik.useStore({
|
|
18
17
|
activeTab: props.defaultActiveTab ? props.defaultActiveTab - 1 : 0
|
|
19
18
|
});
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
return /* @__PURE__ */ qwik._jsxQ("div", null, null, [
|
|
20
|
+
/* @__PURE__ */ qwik._jsxQ("div", null, {
|
|
21
|
+
class: "builder-tabs-wrap",
|
|
22
|
+
style: qwik._fnSignal((p0) => ({
|
|
23
|
+
display: "flex",
|
|
24
|
+
flexDirection: "row",
|
|
25
|
+
justifyContent: p0.tabHeaderLayout || "flex-start",
|
|
26
|
+
overflow: "auto"
|
|
27
|
+
}), [
|
|
28
|
+
props
|
|
29
|
+
], '{display:"flex",flexDirection:"row",justifyContent:p0.tabHeaderLayout||"flex-start",overflow:"auto"}')
|
|
30
|
+
}, (props.tabs || []).map((tab, index) => {
|
|
31
|
+
return /* @__PURE__ */ qwik._jsxQ("span", {
|
|
32
|
+
class: `builder-tab-wrap ${state.activeTab === index ? "builder-tab-active" : ""}`,
|
|
33
|
+
onClick$: /* @__PURE__ */ qwik.inlinedQrl((event) => {
|
|
34
|
+
const [index2, props2, state2] = qwik.useLexicalScope();
|
|
35
|
+
return onClick(props2, state2, index2);
|
|
36
|
+
}, "Tabs_component_div_div_span_onClick_hSTBabAHGks", [
|
|
37
|
+
index,
|
|
38
|
+
props,
|
|
39
|
+
state
|
|
40
|
+
]),
|
|
24
41
|
style: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
42
|
+
...state.activeTab === index ? props.activeTabStyle : {}
|
|
43
|
+
}
|
|
44
|
+
}, null, /* @__PURE__ */ qwik._jsxC(blocks.Blocks, {
|
|
45
|
+
get parent() {
|
|
46
|
+
return props.builderBlock.id;
|
|
29
47
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
registeredComponents:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
path: `component.options.tabs.${index}.label`,
|
|
49
|
+
get blocks() {
|
|
50
|
+
return tab.label;
|
|
51
|
+
},
|
|
52
|
+
get context() {
|
|
53
|
+
return props.builderContext;
|
|
54
|
+
},
|
|
55
|
+
get registeredComponents() {
|
|
56
|
+
return props.builderComponents;
|
|
57
|
+
},
|
|
58
|
+
get linkComponent() {
|
|
59
|
+
return props.builderLinkComponent;
|
|
60
|
+
},
|
|
61
|
+
[qwik._IMMUTABLE]: {
|
|
62
|
+
blocks: qwik._wrapProp(tab, "label"),
|
|
63
|
+
context: qwik._fnSignal((p0) => p0.builderContext, [
|
|
64
|
+
props
|
|
65
|
+
], "p0.builderContext"),
|
|
66
|
+
linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
|
|
67
|
+
props
|
|
68
|
+
], "p0.builderLinkComponent"),
|
|
69
|
+
parent: qwik._fnSignal((p0) => p0.builderBlock.id, [
|
|
70
|
+
props
|
|
71
|
+
], "p0.builderBlock.id"),
|
|
72
|
+
registeredComponents: qwik._fnSignal((p0) => p0.builderComponents, [
|
|
73
|
+
props
|
|
74
|
+
], "p0.builderComponents")
|
|
75
|
+
}
|
|
76
|
+
}, 3, "6k_0"), 0, index);
|
|
77
|
+
}), 1, null),
|
|
78
|
+
activeTabContent(props, state, state.activeTab) ? /* @__PURE__ */ qwik._jsxQ("div", null, null, /* @__PURE__ */ qwik._jsxC(blocks.Blocks, {
|
|
79
|
+
get parent() {
|
|
80
|
+
return props.builderBlock.id;
|
|
81
|
+
},
|
|
82
|
+
get path() {
|
|
83
|
+
return `component.options.tabs.${state.activeTab}.content`;
|
|
84
|
+
},
|
|
85
|
+
blocks: activeTabContent(props, state, state.activeTab),
|
|
86
|
+
get context() {
|
|
87
|
+
return props.builderContext;
|
|
88
|
+
},
|
|
89
|
+
get registeredComponents() {
|
|
90
|
+
return props.builderComponents;
|
|
91
|
+
},
|
|
92
|
+
get linkComponent() {
|
|
93
|
+
return props.builderLinkComponent;
|
|
94
|
+
},
|
|
95
|
+
[qwik._IMMUTABLE]: {
|
|
96
|
+
context: qwik._fnSignal((p0) => p0.builderContext, [
|
|
97
|
+
props
|
|
98
|
+
], "p0.builderContext"),
|
|
99
|
+
linkComponent: qwik._fnSignal((p0) => p0.builderLinkComponent, [
|
|
100
|
+
props
|
|
101
|
+
], "p0.builderLinkComponent"),
|
|
102
|
+
parent: qwik._fnSignal((p0) => p0.builderBlock.id, [
|
|
103
|
+
props
|
|
104
|
+
], "p0.builderBlock.id"),
|
|
105
|
+
path: qwik._fnSignal((p0) => `component.options.tabs.${p0.activeTab}.content`, [
|
|
106
|
+
state
|
|
107
|
+
], "`component.options.tabs.${p0.activeTab}.content`"),
|
|
108
|
+
registeredComponents: qwik._fnSignal((p0) => p0.builderComponents, [
|
|
109
|
+
props
|
|
110
|
+
], "p0.builderComponents")
|
|
111
|
+
}
|
|
112
|
+
}, 3, "6k_1"), 1, "6k_2") : null
|
|
113
|
+
], 1, "6k_3");
|
|
114
|
+
}, "Tabs_component_MhWcxXy0lMY"));
|
|
61
115
|
exports.Tabs = Tabs;
|
|
62
116
|
exports.activeTabContent = activeTabContent;
|
|
63
117
|
exports.default = Tabs;
|