@builder.io/sdk-qwik 0.16.11 → 0.16.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (479) hide show
  1. package/lib/browser/blocks/accordion/accordion.qwik.cjs +74 -143
  2. package/lib/browser/blocks/accordion/accordion.qwik.mjs +74 -143
  3. package/lib/browser/blocks/accordion/component-info.qwik.cjs +2 -1
  4. package/lib/browser/blocks/accordion/component-info.qwik.mjs +2 -1
  5. package/lib/browser/blocks/button/button.qwik.cjs +8 -17
  6. package/lib/browser/blocks/button/button.qwik.mjs +8 -17
  7. package/lib/browser/blocks/columns/columns.qwik.cjs +33 -67
  8. package/lib/browser/blocks/columns/columns.qwik.mjs +33 -67
  9. package/lib/browser/blocks/columns/component-info.qwik.cjs +4 -3
  10. package/lib/browser/blocks/columns/component-info.qwik.mjs +4 -3
  11. package/lib/browser/blocks/custom-code/custom-code.qwik.cjs +18 -22
  12. package/lib/browser/blocks/custom-code/custom-code.qwik.mjs +19 -23
  13. package/lib/browser/blocks/embed/embed.qwik.cjs +17 -23
  14. package/lib/browser/blocks/embed/embed.qwik.mjs +17 -23
  15. package/lib/browser/blocks/form/form/form.qwik.cjs +74 -128
  16. package/lib/browser/blocks/form/form/form.qwik.mjs +75 -129
  17. package/lib/browser/blocks/form/input/input.qwik.cjs +2 -2
  18. package/lib/browser/blocks/form/input/input.qwik.mjs +3 -3
  19. package/lib/browser/blocks/form/select/select.qwik.cjs +7 -5
  20. package/lib/browser/blocks/form/select/select.qwik.mjs +8 -6
  21. package/lib/browser/blocks/form/submit-button/submit-button.qwik.cjs +7 -9
  22. package/lib/browser/blocks/form/submit-button/submit-button.qwik.mjs +8 -10
  23. package/lib/browser/blocks/form/textarea/textarea.qwik.cjs +11 -21
  24. package/lib/browser/blocks/form/textarea/textarea.qwik.mjs +12 -22
  25. package/lib/browser/blocks/fragment/fragment.qwik.cjs +6 -3
  26. package/lib/browser/blocks/fragment/fragment.qwik.mjs +7 -4
  27. package/lib/browser/blocks/image/component-info.qwik.cjs +6 -3
  28. package/lib/browser/blocks/image/component-info.qwik.mjs +6 -3
  29. package/lib/browser/blocks/image/image.helpers.qwik.cjs +12 -6
  30. package/lib/browser/blocks/image/image.helpers.qwik.mjs +12 -6
  31. package/lib/browser/blocks/image/image.qwik.cjs +63 -89
  32. package/lib/browser/blocks/image/image.qwik.mjs +63 -89
  33. package/lib/browser/blocks/img/img.qwik.cjs +12 -18
  34. package/lib/browser/blocks/img/img.qwik.mjs +12 -18
  35. package/lib/browser/blocks/section/section.qwik.cjs +7 -6
  36. package/lib/browser/blocks/section/section.qwik.mjs +8 -7
  37. package/lib/browser/blocks/slot/slot.qwik.cjs +17 -43
  38. package/lib/browser/blocks/slot/slot.qwik.mjs +17 -43
  39. package/lib/browser/blocks/symbol/symbol.helpers.qwik.cjs +2 -1
  40. package/lib/browser/blocks/symbol/symbol.helpers.qwik.mjs +2 -1
  41. package/lib/browser/blocks/symbol/symbol.qwik.cjs +45 -137
  42. package/lib/browser/blocks/symbol/symbol.qwik.mjs +45 -137
  43. package/lib/browser/blocks/tabs/tabs.qwik.cjs +45 -99
  44. package/lib/browser/blocks/tabs/tabs.qwik.mjs +45 -99
  45. package/lib/browser/blocks/text/text.qwik.cjs +11 -15
  46. package/lib/browser/blocks/text/text.qwik.mjs +11 -15
  47. package/lib/browser/blocks/video/video.qwik.cjs +73 -87
  48. package/lib/browser/blocks/video/video.qwik.mjs +74 -88
  49. package/lib/browser/components/block/animator.qwik.cjs +22 -11
  50. package/lib/browser/components/block/animator.qwik.mjs +22 -11
  51. package/lib/browser/components/block/block.helpers.qwik.cjs +8 -4
  52. package/lib/browser/components/block/block.helpers.qwik.mjs +8 -4
  53. package/lib/browser/components/block/block.qwik.cjs +114 -320
  54. package/lib/browser/components/block/block.qwik.mjs +115 -321
  55. package/lib/browser/components/block/components/block-styles.qwik.cjs +22 -39
  56. package/lib/browser/components/block/components/block-styles.qwik.mjs +23 -40
  57. package/lib/browser/components/block/components/block-wrapper.qwik.cjs +12 -18
  58. package/lib/browser/components/block/components/block-wrapper.qwik.mjs +12 -18
  59. package/lib/browser/components/block/components/component-ref/component-ref.qwik.cjs +12 -29
  60. package/lib/browser/components/block/components/component-ref/component-ref.qwik.mjs +14 -31
  61. package/lib/browser/components/block/components/interactive-element.qwik.cjs +18 -27
  62. package/lib/browser/components/block/components/interactive-element.qwik.mjs +18 -27
  63. package/lib/browser/components/block/components/repeated-block.qwik.cjs +10 -31
  64. package/lib/browser/components/block/components/repeated-block.qwik.mjs +11 -32
  65. package/lib/browser/components/blocks/blocks-wrapper.qwik.cjs +24 -72
  66. package/lib/browser/components/blocks/blocks-wrapper.qwik.mjs +24 -72
  67. package/lib/browser/components/blocks/blocks.qwik.cjs +19 -78
  68. package/lib/browser/components/blocks/blocks.qwik.mjs +20 -79
  69. package/lib/browser/components/content/components/enable-editor.qwik.cjs +101 -193
  70. package/lib/browser/components/content/components/enable-editor.qwik.mjs +102 -194
  71. package/lib/browser/components/content/components/styles.helpers.qwik.cjs +12 -6
  72. package/lib/browser/components/content/components/styles.helpers.qwik.mjs +12 -6
  73. package/lib/browser/components/content/components/styles.qwik.cjs +8 -20
  74. package/lib/browser/components/content/components/styles.qwik.mjs +8 -20
  75. package/lib/browser/components/content/content.helpers.qwik.cjs +2 -1
  76. package/lib/browser/components/content/content.helpers.qwik.mjs +2 -1
  77. package/lib/browser/components/content/content.qwik.cjs +39 -189
  78. package/lib/browser/components/content/content.qwik.mjs +39 -189
  79. package/lib/browser/components/content-variants/content-variants.qwik.cjs +74 -313
  80. package/lib/browser/components/content-variants/content-variants.qwik.mjs +75 -314
  81. package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.cjs +11 -12
  82. package/lib/browser/components/dynamic-renderer/dynamic-renderer.qwik.mjs +12 -13
  83. package/lib/browser/components/inlined-script.qwik.cjs +8 -13
  84. package/lib/browser/components/inlined-script.qwik.mjs +9 -14
  85. package/lib/browser/components/inlined-styles.qwik.cjs +8 -13
  86. package/lib/browser/components/inlined-styles.qwik.mjs +9 -14
  87. package/lib/browser/constants/device-sizes.qwik.cjs +2 -1
  88. package/lib/browser/constants/device-sizes.qwik.mjs +2 -1
  89. package/lib/browser/constants/sdk-version.qwik.cjs +1 -1
  90. package/lib/browser/constants/sdk-version.qwik.mjs +1 -1
  91. package/lib/browser/functions/evaluate/browser-runtime/browser.qwik.cjs +6 -3
  92. package/lib/browser/functions/evaluate/browser-runtime/browser.qwik.mjs +6 -3
  93. package/lib/browser/functions/evaluate/choose-eval.qwik.cjs +3 -1
  94. package/lib/browser/functions/evaluate/choose-eval.qwik.mjs +3 -1
  95. package/lib/browser/functions/evaluate/evaluate.qwik.cjs +6 -3
  96. package/lib/browser/functions/evaluate/evaluate.qwik.mjs +6 -3
  97. package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +4 -2
  98. package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +4 -2
  99. package/lib/browser/functions/get-block-actions-handler.qwik.cjs +9 -15
  100. package/lib/browser/functions/get-block-actions-handler.qwik.mjs +10 -16
  101. package/lib/browser/functions/get-block-actions.qwik.cjs +4 -2
  102. package/lib/browser/functions/get-block-actions.qwik.mjs +4 -2
  103. package/lib/browser/functions/get-builder-search-params/index.qwik.cjs +4 -2
  104. package/lib/browser/functions/get-builder-search-params/index.qwik.mjs +4 -2
  105. package/lib/browser/functions/get-content/generate-content-url.qwik.cjs +22 -11
  106. package/lib/browser/functions/get-content/generate-content-url.qwik.mjs +22 -11
  107. package/lib/browser/functions/get-content/index.qwik.cjs +4 -2
  108. package/lib/browser/functions/get-content/index.qwik.mjs +4 -2
  109. package/lib/browser/functions/get-global-this.qwik.cjs +8 -4
  110. package/lib/browser/functions/get-global-this.qwik.mjs +8 -4
  111. package/lib/browser/functions/get-processed-block.qwik.cjs +15 -8
  112. package/lib/browser/functions/get-processed-block.qwik.mjs +15 -8
  113. package/lib/browser/functions/is-from-trusted-host.qwik.cjs +2 -1
  114. package/lib/browser/functions/is-from-trusted-host.qwik.mjs +2 -1
  115. package/lib/browser/functions/is-previewing.qwik.cjs +2 -1
  116. package/lib/browser/functions/is-previewing.qwik.mjs +2 -1
  117. package/lib/browser/functions/register-component.qwik.cjs +2 -1
  118. package/lib/browser/functions/register-component.qwik.mjs +2 -1
  119. package/lib/browser/functions/register.qwik.cjs +6 -3
  120. package/lib/browser/functions/register.qwik.mjs +6 -3
  121. package/lib/browser/functions/set.qwik.cjs +2 -1
  122. package/lib/browser/functions/set.qwik.mjs +2 -1
  123. package/lib/browser/functions/track/helpers.qwik.cjs +2 -1
  124. package/lib/browser/functions/track/helpers.qwik.mjs +2 -1
  125. package/lib/browser/functions/track/index.qwik.cjs +8 -4
  126. package/lib/browser/functions/track/index.qwik.mjs +8 -4
  127. package/lib/browser/functions/track/interaction.qwik.cjs +6 -3
  128. package/lib/browser/functions/track/interaction.qwik.mjs +6 -3
  129. package/lib/browser/helpers/ab-tests.qwik.cjs +15 -8
  130. package/lib/browser/helpers/ab-tests.qwik.mjs +16 -9
  131. package/lib/browser/helpers/cookie.qwik.cjs +4 -2
  132. package/lib/browser/helpers/cookie.qwik.mjs +4 -2
  133. package/lib/browser/helpers/css.qwik.cjs +6 -4
  134. package/lib/browser/helpers/css.qwik.mjs +6 -4
  135. package/lib/browser/helpers/flatten.qwik.cjs +3 -2
  136. package/lib/browser/helpers/flatten.qwik.mjs +3 -2
  137. package/lib/browser/helpers/localStorage.qwik.cjs +4 -2
  138. package/lib/browser/helpers/localStorage.qwik.mjs +4 -2
  139. package/lib/browser/helpers/omit.qwik.cjs +2 -1
  140. package/lib/browser/helpers/omit.qwik.mjs +2 -1
  141. package/lib/browser/helpers/search/search.qwik.cjs +3 -2
  142. package/lib/browser/helpers/search/search.qwik.mjs +3 -2
  143. package/lib/browser/helpers/sessionId.qwik.cjs +4 -3
  144. package/lib/browser/helpers/sessionId.qwik.mjs +4 -3
  145. package/lib/browser/helpers/subscribe-to-editor.qwik.cjs +10 -5
  146. package/lib/browser/helpers/subscribe-to-editor.qwik.mjs +10 -5
  147. package/lib/browser/helpers/url.qwik.cjs +4 -2
  148. package/lib/browser/helpers/url.qwik.mjs +4 -2
  149. package/lib/browser/helpers/visitorId.qwik.cjs +4 -3
  150. package/lib/browser/helpers/visitorId.qwik.mjs +4 -3
  151. package/lib/browser/scripts/init-editing.qwik.cjs +25 -19
  152. package/lib/browser/scripts/init-editing.qwik.mjs +25 -19
  153. package/lib/edge/blocks/accordion/accordion.qwik.cjs +74 -143
  154. package/lib/edge/blocks/accordion/accordion.qwik.mjs +74 -143
  155. package/lib/edge/blocks/accordion/component-info.qwik.cjs +2 -1
  156. package/lib/edge/blocks/accordion/component-info.qwik.mjs +2 -1
  157. package/lib/edge/blocks/button/button.qwik.cjs +8 -17
  158. package/lib/edge/blocks/button/button.qwik.mjs +8 -17
  159. package/lib/edge/blocks/columns/columns.qwik.cjs +33 -67
  160. package/lib/edge/blocks/columns/columns.qwik.mjs +33 -67
  161. package/lib/edge/blocks/columns/component-info.qwik.cjs +4 -3
  162. package/lib/edge/blocks/columns/component-info.qwik.mjs +4 -3
  163. package/lib/edge/blocks/custom-code/custom-code.qwik.cjs +18 -22
  164. package/lib/edge/blocks/custom-code/custom-code.qwik.mjs +19 -23
  165. package/lib/edge/blocks/embed/embed.qwik.cjs +17 -23
  166. package/lib/edge/blocks/embed/embed.qwik.mjs +17 -23
  167. package/lib/edge/blocks/form/form/form.qwik.cjs +74 -128
  168. package/lib/edge/blocks/form/form/form.qwik.mjs +75 -129
  169. package/lib/edge/blocks/form/input/input.qwik.cjs +2 -2
  170. package/lib/edge/blocks/form/input/input.qwik.mjs +3 -3
  171. package/lib/edge/blocks/form/select/select.qwik.cjs +7 -5
  172. package/lib/edge/blocks/form/select/select.qwik.mjs +8 -6
  173. package/lib/edge/blocks/form/submit-button/submit-button.qwik.cjs +7 -9
  174. package/lib/edge/blocks/form/submit-button/submit-button.qwik.mjs +8 -10
  175. package/lib/edge/blocks/form/textarea/textarea.qwik.cjs +11 -21
  176. package/lib/edge/blocks/form/textarea/textarea.qwik.mjs +12 -22
  177. package/lib/edge/blocks/fragment/fragment.qwik.cjs +6 -3
  178. package/lib/edge/blocks/fragment/fragment.qwik.mjs +7 -4
  179. package/lib/edge/blocks/image/component-info.qwik.cjs +6 -3
  180. package/lib/edge/blocks/image/component-info.qwik.mjs +6 -3
  181. package/lib/edge/blocks/image/image.helpers.qwik.cjs +12 -6
  182. package/lib/edge/blocks/image/image.helpers.qwik.mjs +12 -6
  183. package/lib/edge/blocks/image/image.qwik.cjs +63 -89
  184. package/lib/edge/blocks/image/image.qwik.mjs +63 -89
  185. package/lib/edge/blocks/img/img.qwik.cjs +12 -18
  186. package/lib/edge/blocks/img/img.qwik.mjs +12 -18
  187. package/lib/edge/blocks/section/section.qwik.cjs +7 -6
  188. package/lib/edge/blocks/section/section.qwik.mjs +8 -7
  189. package/lib/edge/blocks/slot/slot.qwik.cjs +17 -43
  190. package/lib/edge/blocks/slot/slot.qwik.mjs +17 -43
  191. package/lib/edge/blocks/symbol/symbol.helpers.qwik.cjs +2 -1
  192. package/lib/edge/blocks/symbol/symbol.helpers.qwik.mjs +2 -1
  193. package/lib/edge/blocks/symbol/symbol.qwik.cjs +45 -137
  194. package/lib/edge/blocks/symbol/symbol.qwik.mjs +45 -137
  195. package/lib/edge/blocks/tabs/tabs.qwik.cjs +45 -99
  196. package/lib/edge/blocks/tabs/tabs.qwik.mjs +45 -99
  197. package/lib/edge/blocks/text/text.qwik.cjs +11 -15
  198. package/lib/edge/blocks/text/text.qwik.mjs +11 -15
  199. package/lib/edge/blocks/video/video.qwik.cjs +73 -87
  200. package/lib/edge/blocks/video/video.qwik.mjs +74 -88
  201. package/lib/edge/components/block/animator.qwik.cjs +22 -11
  202. package/lib/edge/components/block/animator.qwik.mjs +22 -11
  203. package/lib/edge/components/block/block.helpers.qwik.cjs +8 -4
  204. package/lib/edge/components/block/block.helpers.qwik.mjs +8 -4
  205. package/lib/edge/components/block/block.qwik.cjs +114 -320
  206. package/lib/edge/components/block/block.qwik.mjs +115 -321
  207. package/lib/edge/components/block/components/block-styles.qwik.cjs +22 -39
  208. package/lib/edge/components/block/components/block-styles.qwik.mjs +23 -40
  209. package/lib/edge/components/block/components/block-wrapper.qwik.cjs +12 -18
  210. package/lib/edge/components/block/components/block-wrapper.qwik.mjs +12 -18
  211. package/lib/edge/components/block/components/component-ref/component-ref.qwik.cjs +12 -29
  212. package/lib/edge/components/block/components/component-ref/component-ref.qwik.mjs +14 -31
  213. package/lib/edge/components/block/components/interactive-element.qwik.cjs +18 -27
  214. package/lib/edge/components/block/components/interactive-element.qwik.mjs +18 -27
  215. package/lib/edge/components/block/components/repeated-block.qwik.cjs +10 -31
  216. package/lib/edge/components/block/components/repeated-block.qwik.mjs +11 -32
  217. package/lib/edge/components/blocks/blocks-wrapper.qwik.cjs +24 -72
  218. package/lib/edge/components/blocks/blocks-wrapper.qwik.mjs +24 -72
  219. package/lib/edge/components/blocks/blocks.qwik.cjs +19 -78
  220. package/lib/edge/components/blocks/blocks.qwik.mjs +20 -79
  221. package/lib/edge/components/content/components/enable-editor.qwik.cjs +101 -193
  222. package/lib/edge/components/content/components/enable-editor.qwik.mjs +102 -194
  223. package/lib/edge/components/content/components/styles.helpers.qwik.cjs +12 -6
  224. package/lib/edge/components/content/components/styles.helpers.qwik.mjs +12 -6
  225. package/lib/edge/components/content/components/styles.qwik.cjs +8 -20
  226. package/lib/edge/components/content/components/styles.qwik.mjs +8 -20
  227. package/lib/edge/components/content/content.helpers.qwik.cjs +2 -1
  228. package/lib/edge/components/content/content.helpers.qwik.mjs +2 -1
  229. package/lib/edge/components/content/content.qwik.cjs +39 -189
  230. package/lib/edge/components/content/content.qwik.mjs +39 -189
  231. package/lib/edge/components/content-variants/content-variants.qwik.cjs +74 -313
  232. package/lib/edge/components/content-variants/content-variants.qwik.mjs +75 -314
  233. package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.cjs +11 -12
  234. package/lib/edge/components/dynamic-renderer/dynamic-renderer.qwik.mjs +12 -13
  235. package/lib/edge/components/inlined-script.qwik.cjs +8 -13
  236. package/lib/edge/components/inlined-script.qwik.mjs +9 -14
  237. package/lib/edge/components/inlined-styles.qwik.cjs +8 -13
  238. package/lib/edge/components/inlined-styles.qwik.mjs +9 -14
  239. package/lib/edge/constants/device-sizes.qwik.cjs +2 -1
  240. package/lib/edge/constants/device-sizes.qwik.mjs +2 -1
  241. package/lib/edge/constants/sdk-version.qwik.cjs +1 -1
  242. package/lib/edge/constants/sdk-version.qwik.mjs +1 -1
  243. package/lib/edge/functions/evaluate/browser-runtime/browser.qwik.cjs +6 -3
  244. package/lib/edge/functions/evaluate/browser-runtime/browser.qwik.mjs +6 -3
  245. package/lib/edge/functions/evaluate/choose-eval.qwik.cjs +3 -1
  246. package/lib/edge/functions/evaluate/choose-eval.qwik.mjs +3 -1
  247. package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.cjs +6 -7
  248. package/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.qwik.mjs +6 -7
  249. package/lib/edge/functions/evaluate/evaluate.qwik.cjs +6 -3
  250. package/lib/edge/functions/evaluate/evaluate.qwik.mjs +6 -3
  251. package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +4 -2
  252. package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +4 -2
  253. package/lib/edge/functions/get-block-actions-handler.qwik.cjs +9 -15
  254. package/lib/edge/functions/get-block-actions-handler.qwik.mjs +10 -16
  255. package/lib/edge/functions/get-block-actions.qwik.cjs +4 -2
  256. package/lib/edge/functions/get-block-actions.qwik.mjs +4 -2
  257. package/lib/edge/functions/get-builder-search-params/index.qwik.cjs +4 -2
  258. package/lib/edge/functions/get-builder-search-params/index.qwik.mjs +4 -2
  259. package/lib/edge/functions/get-content/generate-content-url.qwik.cjs +22 -11
  260. package/lib/edge/functions/get-content/generate-content-url.qwik.mjs +22 -11
  261. package/lib/edge/functions/get-content/index.qwik.cjs +4 -2
  262. package/lib/edge/functions/get-content/index.qwik.mjs +4 -2
  263. package/lib/edge/functions/get-global-this.qwik.cjs +8 -4
  264. package/lib/edge/functions/get-global-this.qwik.mjs +8 -4
  265. package/lib/edge/functions/get-processed-block.qwik.cjs +15 -8
  266. package/lib/edge/functions/get-processed-block.qwik.mjs +15 -8
  267. package/lib/edge/functions/is-from-trusted-host.qwik.cjs +2 -1
  268. package/lib/edge/functions/is-from-trusted-host.qwik.mjs +2 -1
  269. package/lib/edge/functions/is-previewing.qwik.cjs +2 -1
  270. package/lib/edge/functions/is-previewing.qwik.mjs +2 -1
  271. package/lib/edge/functions/register-component.qwik.cjs +2 -1
  272. package/lib/edge/functions/register-component.qwik.mjs +2 -1
  273. package/lib/edge/functions/register.qwik.cjs +6 -3
  274. package/lib/edge/functions/register.qwik.mjs +6 -3
  275. package/lib/edge/functions/set.qwik.cjs +2 -1
  276. package/lib/edge/functions/set.qwik.mjs +2 -1
  277. package/lib/edge/functions/track/helpers.qwik.cjs +2 -1
  278. package/lib/edge/functions/track/helpers.qwik.mjs +2 -1
  279. package/lib/edge/functions/track/index.qwik.cjs +8 -4
  280. package/lib/edge/functions/track/index.qwik.mjs +8 -4
  281. package/lib/edge/functions/track/interaction.qwik.cjs +6 -3
  282. package/lib/edge/functions/track/interaction.qwik.mjs +6 -3
  283. package/lib/edge/helpers/ab-tests.qwik.cjs +15 -8
  284. package/lib/edge/helpers/ab-tests.qwik.mjs +16 -9
  285. package/lib/edge/helpers/cookie.qwik.cjs +4 -2
  286. package/lib/edge/helpers/cookie.qwik.mjs +4 -2
  287. package/lib/edge/helpers/css.qwik.cjs +6 -4
  288. package/lib/edge/helpers/css.qwik.mjs +6 -4
  289. package/lib/edge/helpers/flatten.qwik.cjs +3 -2
  290. package/lib/edge/helpers/flatten.qwik.mjs +3 -2
  291. package/lib/edge/helpers/localStorage.qwik.cjs +4 -2
  292. package/lib/edge/helpers/localStorage.qwik.mjs +4 -2
  293. package/lib/edge/helpers/omit.qwik.cjs +2 -1
  294. package/lib/edge/helpers/omit.qwik.mjs +2 -1
  295. package/lib/edge/helpers/search/search.qwik.cjs +3 -2
  296. package/lib/edge/helpers/search/search.qwik.mjs +3 -2
  297. package/lib/edge/helpers/sessionId.qwik.cjs +4 -3
  298. package/lib/edge/helpers/sessionId.qwik.mjs +4 -3
  299. package/lib/edge/helpers/subscribe-to-editor.qwik.cjs +10 -5
  300. package/lib/edge/helpers/subscribe-to-editor.qwik.mjs +10 -5
  301. package/lib/edge/helpers/url.qwik.cjs +4 -2
  302. package/lib/edge/helpers/url.qwik.mjs +4 -2
  303. package/lib/edge/helpers/visitorId.qwik.cjs +4 -3
  304. package/lib/edge/helpers/visitorId.qwik.mjs +4 -3
  305. package/lib/edge/scripts/init-editing.qwik.cjs +25 -19
  306. package/lib/edge/scripts/init-editing.qwik.mjs +25 -19
  307. package/lib/node/blocks/accordion/accordion.qwik.cjs +74 -143
  308. package/lib/node/blocks/accordion/accordion.qwik.mjs +74 -143
  309. package/lib/node/blocks/accordion/component-info.qwik.cjs +2 -1
  310. package/lib/node/blocks/accordion/component-info.qwik.mjs +2 -1
  311. package/lib/node/blocks/button/button.qwik.cjs +8 -17
  312. package/lib/node/blocks/button/button.qwik.mjs +8 -17
  313. package/lib/node/blocks/columns/columns.qwik.cjs +33 -67
  314. package/lib/node/blocks/columns/columns.qwik.mjs +33 -67
  315. package/lib/node/blocks/columns/component-info.qwik.cjs +4 -3
  316. package/lib/node/blocks/columns/component-info.qwik.mjs +4 -3
  317. package/lib/node/blocks/custom-code/custom-code.qwik.cjs +18 -22
  318. package/lib/node/blocks/custom-code/custom-code.qwik.mjs +19 -23
  319. package/lib/node/blocks/embed/embed.qwik.cjs +17 -23
  320. package/lib/node/blocks/embed/embed.qwik.mjs +17 -23
  321. package/lib/node/blocks/form/form/form.qwik.cjs +74 -128
  322. package/lib/node/blocks/form/form/form.qwik.mjs +75 -129
  323. package/lib/node/blocks/form/input/input.qwik.cjs +2 -2
  324. package/lib/node/blocks/form/input/input.qwik.mjs +3 -3
  325. package/lib/node/blocks/form/select/select.qwik.cjs +7 -5
  326. package/lib/node/blocks/form/select/select.qwik.mjs +8 -6
  327. package/lib/node/blocks/form/submit-button/submit-button.qwik.cjs +7 -9
  328. package/lib/node/blocks/form/submit-button/submit-button.qwik.mjs +8 -10
  329. package/lib/node/blocks/form/textarea/textarea.qwik.cjs +11 -21
  330. package/lib/node/blocks/form/textarea/textarea.qwik.mjs +12 -22
  331. package/lib/node/blocks/fragment/fragment.qwik.cjs +6 -3
  332. package/lib/node/blocks/fragment/fragment.qwik.mjs +7 -4
  333. package/lib/node/blocks/image/component-info.qwik.cjs +6 -3
  334. package/lib/node/blocks/image/component-info.qwik.mjs +6 -3
  335. package/lib/node/blocks/image/image.helpers.qwik.cjs +12 -6
  336. package/lib/node/blocks/image/image.helpers.qwik.mjs +12 -6
  337. package/lib/node/blocks/image/image.qwik.cjs +63 -89
  338. package/lib/node/blocks/image/image.qwik.mjs +63 -89
  339. package/lib/node/blocks/img/img.qwik.cjs +12 -18
  340. package/lib/node/blocks/img/img.qwik.mjs +12 -18
  341. package/lib/node/blocks/section/section.qwik.cjs +7 -6
  342. package/lib/node/blocks/section/section.qwik.mjs +8 -7
  343. package/lib/node/blocks/slot/slot.qwik.cjs +17 -43
  344. package/lib/node/blocks/slot/slot.qwik.mjs +17 -43
  345. package/lib/node/blocks/symbol/symbol.helpers.qwik.cjs +2 -1
  346. package/lib/node/blocks/symbol/symbol.helpers.qwik.mjs +2 -1
  347. package/lib/node/blocks/symbol/symbol.qwik.cjs +45 -137
  348. package/lib/node/blocks/symbol/symbol.qwik.mjs +45 -137
  349. package/lib/node/blocks/tabs/tabs.qwik.cjs +45 -99
  350. package/lib/node/blocks/tabs/tabs.qwik.mjs +45 -99
  351. package/lib/node/blocks/text/text.qwik.cjs +11 -15
  352. package/lib/node/blocks/text/text.qwik.mjs +11 -15
  353. package/lib/node/blocks/video/video.qwik.cjs +73 -87
  354. package/lib/node/blocks/video/video.qwik.mjs +74 -88
  355. package/lib/node/components/block/animator.qwik.cjs +22 -11
  356. package/lib/node/components/block/animator.qwik.mjs +22 -11
  357. package/lib/node/components/block/block.helpers.qwik.cjs +8 -4
  358. package/lib/node/components/block/block.helpers.qwik.mjs +8 -4
  359. package/lib/node/components/block/block.qwik.cjs +114 -320
  360. package/lib/node/components/block/block.qwik.mjs +115 -321
  361. package/lib/node/components/block/components/block-styles.qwik.cjs +22 -39
  362. package/lib/node/components/block/components/block-styles.qwik.mjs +23 -40
  363. package/lib/node/components/block/components/block-wrapper.qwik.cjs +12 -18
  364. package/lib/node/components/block/components/block-wrapper.qwik.mjs +12 -18
  365. package/lib/node/components/block/components/component-ref/component-ref.qwik.cjs +12 -29
  366. package/lib/node/components/block/components/component-ref/component-ref.qwik.mjs +14 -31
  367. package/lib/node/components/block/components/interactive-element.qwik.cjs +18 -27
  368. package/lib/node/components/block/components/interactive-element.qwik.mjs +18 -27
  369. package/lib/node/components/block/components/repeated-block.qwik.cjs +10 -31
  370. package/lib/node/components/block/components/repeated-block.qwik.mjs +11 -32
  371. package/lib/node/components/blocks/blocks-wrapper.qwik.cjs +24 -72
  372. package/lib/node/components/blocks/blocks-wrapper.qwik.mjs +24 -72
  373. package/lib/node/components/blocks/blocks.qwik.cjs +19 -78
  374. package/lib/node/components/blocks/blocks.qwik.mjs +20 -79
  375. package/lib/node/components/content/components/enable-editor.qwik.cjs +101 -193
  376. package/lib/node/components/content/components/enable-editor.qwik.mjs +102 -194
  377. package/lib/node/components/content/components/styles.helpers.qwik.cjs +12 -6
  378. package/lib/node/components/content/components/styles.helpers.qwik.mjs +12 -6
  379. package/lib/node/components/content/components/styles.qwik.cjs +8 -20
  380. package/lib/node/components/content/components/styles.qwik.mjs +8 -20
  381. package/lib/node/components/content/content.helpers.qwik.cjs +2 -1
  382. package/lib/node/components/content/content.helpers.qwik.mjs +2 -1
  383. package/lib/node/components/content/content.qwik.cjs +39 -189
  384. package/lib/node/components/content/content.qwik.mjs +39 -189
  385. package/lib/node/components/content-variants/content-variants.qwik.cjs +74 -313
  386. package/lib/node/components/content-variants/content-variants.qwik.mjs +75 -314
  387. package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.cjs +11 -12
  388. package/lib/node/components/dynamic-renderer/dynamic-renderer.qwik.mjs +12 -13
  389. package/lib/node/components/inlined-script.qwik.cjs +8 -13
  390. package/lib/node/components/inlined-script.qwik.mjs +9 -14
  391. package/lib/node/components/inlined-styles.qwik.cjs +8 -13
  392. package/lib/node/components/inlined-styles.qwik.mjs +9 -14
  393. package/lib/node/constants/device-sizes.qwik.cjs +2 -1
  394. package/lib/node/constants/device-sizes.qwik.mjs +2 -1
  395. package/lib/node/constants/sdk-version.qwik.cjs +1 -1
  396. package/lib/node/constants/sdk-version.qwik.mjs +1 -1
  397. package/lib/node/functions/evaluate/browser-runtime/browser.qwik.cjs +6 -3
  398. package/lib/node/functions/evaluate/browser-runtime/browser.qwik.mjs +6 -3
  399. package/lib/node/functions/evaluate/choose-eval.qwik.cjs +3 -1
  400. package/lib/node/functions/evaluate/choose-eval.qwik.mjs +3 -1
  401. package/lib/node/functions/evaluate/evaluate.qwik.cjs +6 -3
  402. package/lib/node/functions/evaluate/evaluate.qwik.mjs +6 -3
  403. package/lib/node/functions/evaluate/node-runtime/init.qwik.cjs +6 -0
  404. package/lib/node/functions/evaluate/node-runtime/init.qwik.mjs +6 -0
  405. package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.cjs +4 -2
  406. package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.qwik.mjs +4 -2
  407. package/lib/node/functions/get-block-actions-handler.qwik.cjs +9 -15
  408. package/lib/node/functions/get-block-actions-handler.qwik.mjs +10 -16
  409. package/lib/node/functions/get-block-actions.qwik.cjs +4 -2
  410. package/lib/node/functions/get-block-actions.qwik.mjs +4 -2
  411. package/lib/node/functions/get-builder-search-params/index.qwik.cjs +4 -2
  412. package/lib/node/functions/get-builder-search-params/index.qwik.mjs +4 -2
  413. package/lib/node/functions/get-content/generate-content-url.qwik.cjs +22 -11
  414. package/lib/node/functions/get-content/generate-content-url.qwik.mjs +22 -11
  415. package/lib/node/functions/get-content/index.qwik.cjs +4 -2
  416. package/lib/node/functions/get-content/index.qwik.mjs +4 -2
  417. package/lib/node/functions/get-global-this.qwik.cjs +8 -4
  418. package/lib/node/functions/get-global-this.qwik.mjs +8 -4
  419. package/lib/node/functions/get-processed-block.qwik.cjs +15 -8
  420. package/lib/node/functions/get-processed-block.qwik.mjs +15 -8
  421. package/lib/node/functions/is-from-trusted-host.qwik.cjs +2 -1
  422. package/lib/node/functions/is-from-trusted-host.qwik.mjs +2 -1
  423. package/lib/node/functions/is-previewing.qwik.cjs +2 -1
  424. package/lib/node/functions/is-previewing.qwik.mjs +2 -1
  425. package/lib/node/functions/register-component.qwik.cjs +2 -1
  426. package/lib/node/functions/register-component.qwik.mjs +2 -1
  427. package/lib/node/functions/register.qwik.cjs +6 -3
  428. package/lib/node/functions/register.qwik.mjs +6 -3
  429. package/lib/node/functions/set.qwik.cjs +2 -1
  430. package/lib/node/functions/set.qwik.mjs +2 -1
  431. package/lib/node/functions/track/helpers.qwik.cjs +2 -1
  432. package/lib/node/functions/track/helpers.qwik.mjs +2 -1
  433. package/lib/node/functions/track/index.qwik.cjs +8 -4
  434. package/lib/node/functions/track/index.qwik.mjs +8 -4
  435. package/lib/node/functions/track/interaction.qwik.cjs +6 -3
  436. package/lib/node/functions/track/interaction.qwik.mjs +6 -3
  437. package/lib/node/helpers/ab-tests.qwik.cjs +15 -8
  438. package/lib/node/helpers/ab-tests.qwik.mjs +16 -9
  439. package/lib/node/helpers/cookie.qwik.cjs +4 -2
  440. package/lib/node/helpers/cookie.qwik.mjs +4 -2
  441. package/lib/node/helpers/css.qwik.cjs +6 -4
  442. package/lib/node/helpers/css.qwik.mjs +6 -4
  443. package/lib/node/helpers/flatten.qwik.cjs +3 -2
  444. package/lib/node/helpers/flatten.qwik.mjs +3 -2
  445. package/lib/node/helpers/localStorage.qwik.cjs +4 -2
  446. package/lib/node/helpers/localStorage.qwik.mjs +4 -2
  447. package/lib/node/helpers/omit.qwik.cjs +2 -1
  448. package/lib/node/helpers/omit.qwik.mjs +2 -1
  449. package/lib/node/helpers/search/search.qwik.cjs +3 -2
  450. package/lib/node/helpers/search/search.qwik.mjs +3 -2
  451. package/lib/node/helpers/sessionId.qwik.cjs +4 -3
  452. package/lib/node/helpers/sessionId.qwik.mjs +4 -3
  453. package/lib/node/helpers/subscribe-to-editor.qwik.cjs +10 -5
  454. package/lib/node/helpers/subscribe-to-editor.qwik.mjs +10 -5
  455. package/lib/node/helpers/url.qwik.cjs +4 -2
  456. package/lib/node/helpers/url.qwik.mjs +4 -2
  457. package/lib/node/helpers/visitorId.qwik.cjs +4 -3
  458. package/lib/node/helpers/visitorId.qwik.mjs +4 -3
  459. package/lib/node/scripts/init-editing.qwik.cjs +25 -19
  460. package/lib/node/scripts/init-editing.qwik.mjs +25 -19
  461. package/package.json +2 -2
  462. package/types/src/constants/sdk-version.d.ts +1 -1
  463. package/types/src/functions/evaluate/should-force-browser-runtime-in-node.d.ts +3 -1
  464. package/lib/browser/constants/sdk-name.qwik.cjs +0 -15
  465. package/lib/browser/constants/sdk-name.qwik.mjs +0 -15
  466. package/lib/browser/functions/evaluate/node-runtime/init.qwik.cjs +0 -9
  467. package/lib/browser/functions/evaluate/node-runtime/init.qwik.mjs +0 -9
  468. package/lib/browser/functions/evaluate/node-runtime/node-runtime.qwik.cjs +0 -47
  469. package/lib/browser/functions/evaluate/node-runtime/node-runtime.qwik.mjs +0 -47
  470. package/lib/browser/functions/evaluate/node-runtime/safeDynamicRequire.qwik.cjs +0 -15
  471. package/lib/browser/functions/evaluate/node-runtime/safeDynamicRequire.qwik.mjs +0 -15
  472. package/lib/edge/constants/sdk-name.qwik.cjs +0 -15
  473. package/lib/edge/constants/sdk-name.qwik.mjs +0 -15
  474. package/lib/edge/functions/evaluate/node-runtime/init.qwik.cjs +0 -9
  475. package/lib/edge/functions/evaluate/node-runtime/init.qwik.mjs +0 -9
  476. package/lib/edge/functions/evaluate/node-runtime/node-runtime.qwik.cjs +0 -47
  477. package/lib/edge/functions/evaluate/node-runtime/node-runtime.qwik.mjs +0 -47
  478. package/lib/edge/functions/evaluate/node-runtime/safeDynamicRequire.qwik.cjs +0 -15
  479. package/lib/edge/functions/evaluate/node-runtime/safeDynamicRequire.qwik.mjs +0 -15
@@ -1,5 +1,4 @@
1
- import { componentQrl, inlinedQrl, _jsxBranch, useStore, useComputedQrl, useLexicalScope, _jsxC, Fragment, _IMMUTABLE, _fnSignal } from "@builder.io/qwik";
2
- import { Fragment as Fragment$1 } from "@builder.io/qwik/jsx-runtime";
1
+ import { jsxs, jsx, Fragment as Fragment$1 } from "@builder.io/qwik/jsx-runtime";
3
2
  import { TARGET } from "../../constants/target.qwik.mjs";
4
3
  import { handleABTestingSync } from "../../helpers/ab-tests.qwik.mjs";
5
4
  import { getDefaultCanTrack } from "../../helpers/canTrack.qwik.mjs";
@@ -7,342 +6,104 @@ import { ContentComponent } from "../content/content.qwik.mjs";
7
6
  import { InlinedScript } from "../inlined-script.qwik.mjs";
8
7
  import { InlinedStyles } from "../inlined-styles.qwik.mjs";
9
8
  import { checkShouldRenderVariants, getUpdateCookieAndStylesScript, getVariants, getInitVariantsFnsScriptString } from "./helpers.qwik.mjs";
10
- const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
11
- _jsxBranch();
9
+ import { component$, useStore, useComputed$, Fragment } from "@builder.io/qwik";
10
+ const ContentVariants = component$((props) => {
12
11
  const state = useStore({
13
12
  shouldRenderVariants: checkShouldRenderVariants({
14
13
  canTrack: getDefaultCanTrack(props.canTrack),
15
14
  content: props.content
16
15
  })
17
16
  });
18
- const updateCookieAndStylesScriptStr = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
17
+ const updateCookieAndStylesScriptStr = useComputed$(() => {
19
18
  var _a;
20
- const [props2] = useLexicalScope();
21
- return getUpdateCookieAndStylesScript(getVariants(props2.content).map((value) => ({
19
+ return getUpdateCookieAndStylesScript(getVariants(props.content).map((value) => ({
22
20
  id: value.testVariationId,
23
21
  testRatio: value.testRatio
24
- })), ((_a = props2.content) == null ? void 0 : _a.id) || "");
25
- }, "ContentVariants_component_updateCookieAndStylesScriptStr_useComputed_FtJXWpnoDYg", [
26
- props
27
- ]));
28
- const hideVariantsStyleString = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
29
- const [props2] = useLexicalScope();
30
- return getVariants(props2.content).map((value) => `.variant-${value.testVariationId} { display: none; } `).join("");
31
- }, "ContentVariants_component_hideVariantsStyleString_useComputed_fQIC0fJqAl4", [
32
- props
33
- ]));
34
- const defaultContent = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
22
+ })), ((_a = props.content) == null ? void 0 : _a.id) || "");
23
+ });
24
+ const hideVariantsStyleString = useComputed$(() => {
25
+ return getVariants(props.content).map((value) => `.variant-${value.testVariationId} { display: none; } `).join("");
26
+ });
27
+ const defaultContent = useComputed$(() => {
35
28
  var _a;
36
- const [props2, state2] = useLexicalScope();
37
- return state2.shouldRenderVariants ? {
38
- ...props2.content,
39
- testVariationId: (_a = props2.content) == null ? void 0 : _a.id
29
+ return state.shouldRenderVariants ? {
30
+ ...props.content,
31
+ testVariationId: (_a = props.content) == null ? void 0 : _a.id
40
32
  } : handleABTestingSync({
41
- item: props2.content,
42
- canTrack: getDefaultCanTrack(props2.canTrack)
33
+ item: props.content,
34
+ canTrack: getDefaultCanTrack(props.canTrack)
43
35
  });
44
- }, "ContentVariants_component_defaultContent_useComputed_00q2HQsQPYc", [
45
- props,
46
- state
47
- ]));
48
- return /* @__PURE__ */ _jsxC(Fragment, {
36
+ });
37
+ return /* @__PURE__ */ jsxs(Fragment, {
49
38
  children: [
50
- !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ _jsxC(InlinedScript, {
39
+ !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ jsx(InlinedScript, {
51
40
  id: "builderio-init-variants-fns",
52
- get scriptStr() {
53
- return getInitVariantsFnsScriptString();
54
- },
55
- get nonce() {
56
- return props.nonce || "";
57
- },
58
- [_IMMUTABLE]: {
59
- id: _IMMUTABLE,
60
- nonce: _fnSignal((p0) => p0.nonce || "", [
61
- props
62
- ], 'p0.nonce||""'),
63
- scriptStr: _IMMUTABLE
64
- }
65
- }, 3, "XM_0") : null,
66
- state.shouldRenderVariants ? /* @__PURE__ */ _jsxC(Fragment$1, {
41
+ scriptStr: getInitVariantsFnsScriptString(),
42
+ nonce: props.nonce || ""
43
+ }) : null,
44
+ state.shouldRenderVariants ? /* @__PURE__ */ jsxs(Fragment$1, {
67
45
  children: [
68
- /* @__PURE__ */ _jsxC(InlinedStyles, {
46
+ /* @__PURE__ */ jsx(InlinedStyles, {
69
47
  id: "builderio-variants",
70
- get styles() {
71
- return hideVariantsStyleString.value;
72
- },
73
- get nonce() {
74
- return props.nonce || "";
75
- },
76
- [_IMMUTABLE]: {
77
- id: _IMMUTABLE,
78
- nonce: _fnSignal((p0) => p0.nonce || "", [
79
- props
80
- ], 'p0.nonce||""'),
81
- styles: _fnSignal((p0) => p0.value, [
82
- hideVariantsStyleString
83
- ], "p0.value")
84
- }
85
- }, 3, "XM_1"),
86
- /* @__PURE__ */ _jsxC(InlinedScript, {
48
+ styles: hideVariantsStyleString.value,
49
+ nonce: props.nonce || ""
50
+ }),
51
+ /* @__PURE__ */ jsx(InlinedScript, {
87
52
  id: "builderio-variants-visibility",
88
- get scriptStr() {
89
- return updateCookieAndStylesScriptStr.value;
90
- },
91
- get nonce() {
92
- return props.nonce || "";
93
- },
94
- [_IMMUTABLE]: {
95
- id: _IMMUTABLE,
96
- nonce: _fnSignal((p0) => p0.nonce || "", [
97
- props
98
- ], 'p0.nonce||""'),
99
- scriptStr: _fnSignal((p0) => p0.value, [
100
- updateCookieAndStylesScriptStr
101
- ], "p0.value")
102
- }
103
- }, 3, "XM_2"),
53
+ scriptStr: updateCookieAndStylesScriptStr.value,
54
+ nonce: props.nonce || ""
55
+ }),
104
56
  (getVariants(props.content) || []).map((variant) => {
105
- return /* @__PURE__ */ _jsxC(ContentComponent, {
106
- get isNestedRender() {
107
- return props.isNestedRender;
108
- },
109
- get nonce() {
110
- return props.nonce;
111
- },
57
+ return /* @__PURE__ */ jsx(ContentComponent, {
58
+ isNestedRender: props.isNestedRender,
59
+ nonce: props.nonce,
112
60
  content: variant,
113
61
  showContent: false,
114
- get model() {
115
- return props.model;
116
- },
117
- get data() {
118
- return props.data;
119
- },
120
- get context() {
121
- return props.context;
122
- },
123
- get apiKey() {
124
- return props.apiKey;
125
- },
126
- get apiVersion() {
127
- return props.apiVersion;
128
- },
129
- get customComponents() {
130
- return props.customComponents;
131
- },
132
- get linkComponent() {
133
- return props.linkComponent;
134
- },
135
- get canTrack() {
136
- return props.canTrack;
137
- },
138
- get locale() {
139
- return props.locale;
140
- },
141
- get enrich() {
142
- return props.enrich;
143
- },
144
- get isSsrAbTest() {
145
- return state.shouldRenderVariants;
146
- },
147
- get blocksWrapper() {
148
- return props.blocksWrapper;
149
- },
150
- get blocksWrapperProps() {
151
- return props.blocksWrapperProps;
152
- },
153
- get contentWrapper() {
154
- return props.contentWrapper;
155
- },
156
- get contentWrapperProps() {
157
- return props.contentWrapperProps;
158
- },
159
- get trustedHosts() {
160
- return props.trustedHosts;
161
- },
162
- [_IMMUTABLE]: {
163
- apiKey: _fnSignal((p0) => p0.apiKey, [
164
- props
165
- ], "p0.apiKey"),
166
- apiVersion: _fnSignal((p0) => p0.apiVersion, [
167
- props
168
- ], "p0.apiVersion"),
169
- blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
170
- props
171
- ], "p0.blocksWrapper"),
172
- blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
173
- props
174
- ], "p0.blocksWrapperProps"),
175
- canTrack: _fnSignal((p0) => p0.canTrack, [
176
- props
177
- ], "p0.canTrack"),
178
- contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
179
- props
180
- ], "p0.contentWrapper"),
181
- contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
182
- props
183
- ], "p0.contentWrapperProps"),
184
- context: _fnSignal((p0) => p0.context, [
185
- props
186
- ], "p0.context"),
187
- customComponents: _fnSignal((p0) => p0.customComponents, [
188
- props
189
- ], "p0.customComponents"),
190
- data: _fnSignal((p0) => p0.data, [
191
- props
192
- ], "p0.data"),
193
- enrich: _fnSignal((p0) => p0.enrich, [
194
- props
195
- ], "p0.enrich"),
196
- isNestedRender: _fnSignal((p0) => p0.isNestedRender, [
197
- props
198
- ], "p0.isNestedRender"),
199
- isSsrAbTest: _fnSignal((p0) => p0.shouldRenderVariants, [
200
- state
201
- ], "p0.shouldRenderVariants"),
202
- linkComponent: _fnSignal((p0) => p0.linkComponent, [
203
- props
204
- ], "p0.linkComponent"),
205
- locale: _fnSignal((p0) => p0.locale, [
206
- props
207
- ], "p0.locale"),
208
- model: _fnSignal((p0) => p0.model, [
209
- props
210
- ], "p0.model"),
211
- nonce: _fnSignal((p0) => p0.nonce, [
212
- props
213
- ], "p0.nonce"),
214
- showContent: _IMMUTABLE,
215
- trustedHosts: _fnSignal((p0) => p0.trustedHosts, [
216
- props
217
- ], "p0.trustedHosts")
218
- }
219
- }, 3, variant.testVariationId);
62
+ model: props.model,
63
+ data: props.data,
64
+ context: props.context,
65
+ apiKey: props.apiKey,
66
+ apiVersion: props.apiVersion,
67
+ customComponents: props.customComponents,
68
+ linkComponent: props.linkComponent,
69
+ canTrack: props.canTrack,
70
+ locale: props.locale,
71
+ enrich: props.enrich,
72
+ isSsrAbTest: state.shouldRenderVariants,
73
+ blocksWrapper: props.blocksWrapper,
74
+ blocksWrapperProps: props.blocksWrapperProps,
75
+ contentWrapper: props.contentWrapper,
76
+ contentWrapperProps: props.contentWrapperProps,
77
+ trustedHosts: props.trustedHosts
78
+ }, variant.testVariationId);
220
79
  })
221
80
  ]
222
- }, 1, "XM_3") : null,
223
- /* @__PURE__ */ _jsxC(ContentComponent, {
224
- get nonce() {
225
- return props.nonce;
226
- },
227
- get isNestedRender() {
228
- return props.isNestedRender;
229
- },
230
- get content() {
231
- return defaultContent.value;
232
- },
81
+ }) : null,
82
+ /* @__PURE__ */ jsx(ContentComponent, {
83
+ nonce: props.nonce,
84
+ isNestedRender: props.isNestedRender,
85
+ content: defaultContent.value,
233
86
  showContent: true,
234
- get model() {
235
- return props.model;
236
- },
237
- get data() {
238
- return props.data;
239
- },
240
- get context() {
241
- return props.context;
242
- },
243
- get apiKey() {
244
- return props.apiKey;
245
- },
246
- get apiVersion() {
247
- return props.apiVersion;
248
- },
249
- get customComponents() {
250
- return props.customComponents;
251
- },
252
- get linkComponent() {
253
- return props.linkComponent;
254
- },
255
- get canTrack() {
256
- return props.canTrack;
257
- },
258
- get locale() {
259
- return props.locale;
260
- },
261
- get enrich() {
262
- return props.enrich;
263
- },
264
- get isSsrAbTest() {
265
- return state.shouldRenderVariants;
266
- },
267
- get blocksWrapper() {
268
- return props.blocksWrapper;
269
- },
270
- get blocksWrapperProps() {
271
- return props.blocksWrapperProps;
272
- },
273
- get contentWrapper() {
274
- return props.contentWrapper;
275
- },
276
- get contentWrapperProps() {
277
- return props.contentWrapperProps;
278
- },
279
- get trustedHosts() {
280
- return props.trustedHosts;
281
- },
282
- [_IMMUTABLE]: {
283
- apiKey: _fnSignal((p0) => p0.apiKey, [
284
- props
285
- ], "p0.apiKey"),
286
- apiVersion: _fnSignal((p0) => p0.apiVersion, [
287
- props
288
- ], "p0.apiVersion"),
289
- blocksWrapper: _fnSignal((p0) => p0.blocksWrapper, [
290
- props
291
- ], "p0.blocksWrapper"),
292
- blocksWrapperProps: _fnSignal((p0) => p0.blocksWrapperProps, [
293
- props
294
- ], "p0.blocksWrapperProps"),
295
- canTrack: _fnSignal((p0) => p0.canTrack, [
296
- props
297
- ], "p0.canTrack"),
298
- content: _fnSignal((p0) => p0.value, [
299
- defaultContent
300
- ], "p0.value"),
301
- contentWrapper: _fnSignal((p0) => p0.contentWrapper, [
302
- props
303
- ], "p0.contentWrapper"),
304
- contentWrapperProps: _fnSignal((p0) => p0.contentWrapperProps, [
305
- props
306
- ], "p0.contentWrapperProps"),
307
- context: _fnSignal((p0) => p0.context, [
308
- props
309
- ], "p0.context"),
310
- customComponents: _fnSignal((p0) => p0.customComponents, [
311
- props
312
- ], "p0.customComponents"),
313
- data: _fnSignal((p0) => p0.data, [
314
- props
315
- ], "p0.data"),
316
- enrich: _fnSignal((p0) => p0.enrich, [
317
- props
318
- ], "p0.enrich"),
319
- isNestedRender: _fnSignal((p0) => p0.isNestedRender, [
320
- props
321
- ], "p0.isNestedRender"),
322
- isSsrAbTest: _fnSignal((p0) => p0.shouldRenderVariants, [
323
- state
324
- ], "p0.shouldRenderVariants"),
325
- linkComponent: _fnSignal((p0) => p0.linkComponent, [
326
- props
327
- ], "p0.linkComponent"),
328
- locale: _fnSignal((p0) => p0.locale, [
329
- props
330
- ], "p0.locale"),
331
- model: _fnSignal((p0) => p0.model, [
332
- props
333
- ], "p0.model"),
334
- nonce: _fnSignal((p0) => p0.nonce, [
335
- props
336
- ], "p0.nonce"),
337
- showContent: _IMMUTABLE,
338
- trustedHosts: _fnSignal((p0) => p0.trustedHosts, [
339
- props
340
- ], "p0.trustedHosts")
341
- }
342
- }, 3, "XM_4")
87
+ model: props.model,
88
+ data: props.data,
89
+ context: props.context,
90
+ apiKey: props.apiKey,
91
+ apiVersion: props.apiVersion,
92
+ customComponents: props.customComponents,
93
+ linkComponent: props.linkComponent,
94
+ canTrack: props.canTrack,
95
+ locale: props.locale,
96
+ enrich: props.enrich,
97
+ isSsrAbTest: state.shouldRenderVariants,
98
+ blocksWrapper: props.blocksWrapper,
99
+ blocksWrapperProps: props.blocksWrapperProps,
100
+ contentWrapper: props.contentWrapper,
101
+ contentWrapperProps: props.contentWrapperProps,
102
+ trustedHosts: props.trustedHosts
103
+ })
343
104
  ]
344
- }, 1, "XM_5");
345
- }, "ContentVariants_component_4tFRiQMMEfM"));
105
+ });
106
+ });
346
107
  export {
347
108
  ContentVariants,
348
109
  ContentVariants as default
@@ -1,24 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const qwik = require("@builder.io/qwik");
4
3
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
4
  const dynamicRenderer_helpers = require("./dynamic-renderer.helpers.qwik.cjs");
6
- const DynamicRenderer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
7
- qwik._jsxBranch();
8
- return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
9
- children: !dynamicRenderer_helpers.isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ qwik._jsxC(props.TagName, {
5
+ const qwik = require("@builder.io/qwik");
6
+ const DynamicRenderer = qwik.component$((props) => {
7
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {
8
+ children: !dynamicRenderer_helpers.isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ jsxRuntime.jsx(props.TagName, {
10
9
  ...props.attributes,
11
10
  ...props.actionAttributes,
12
- children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
13
- }, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
11
+ children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
12
+ }) : /* @__PURE__ */ jsxRuntime.jsx(props.TagName, {
14
13
  ...props.attributes,
15
14
  ...props.actionAttributes,
16
- children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
17
- }, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
15
+ children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
16
+ }) : /* @__PURE__ */ jsxRuntime.jsx(props.TagName, {
18
17
  ...props.attributes,
19
18
  ...props.actionAttributes
20
- }, 0, "yW_4")
21
- }, 1, "yW_5");
22
- }, "DynamicRenderer_component_1Co0xkmyAfQ"));
19
+ })
20
+ });
21
+ });
23
22
  exports.DynamicRenderer = DynamicRenderer;
24
23
  exports.default = DynamicRenderer;
@@ -1,23 +1,22 @@
1
- import { componentQrl, inlinedQrl, _jsxBranch, _jsxC, Slot } from "@builder.io/qwik";
2
- import { Fragment } from "@builder.io/qwik/jsx-runtime";
1
+ import { jsx, Fragment } from "@builder.io/qwik/jsx-runtime";
3
2
  import { isEmptyElement } from "./dynamic-renderer.helpers.qwik.mjs";
4
- const DynamicRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5
- _jsxBranch();
6
- return /* @__PURE__ */ _jsxC(Fragment, {
7
- children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ _jsxC(props.TagName, {
3
+ import { component$, Slot } from "@builder.io/qwik";
4
+ const DynamicRenderer = component$((props) => {
5
+ return /* @__PURE__ */ jsx(Fragment, {
6
+ children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ jsx(props.TagName, {
8
7
  ...props.attributes,
9
8
  ...props.actionAttributes,
10
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_0")
11
- }, 0, "yW_1") : /* @__PURE__ */ _jsxC(props.TagName, {
9
+ children: /* @__PURE__ */ jsx(Slot, {})
10
+ }) : /* @__PURE__ */ jsx(props.TagName, {
12
11
  ...props.attributes,
13
12
  ...props.actionAttributes,
14
- children: /* @__PURE__ */ _jsxC(Slot, null, 3, "yW_2")
15
- }, 0, "yW_3") : /* @__PURE__ */ _jsxC(props.TagName, {
13
+ children: /* @__PURE__ */ jsx(Slot, {})
14
+ }) : /* @__PURE__ */ jsx(props.TagName, {
16
15
  ...props.attributes,
17
16
  ...props.actionAttributes
18
- }, 0, "yW_4")
19
- }, 1, "yW_5");
20
- }, "DynamicRenderer_component_1Co0xkmyAfQ"));
17
+ })
18
+ });
19
+ });
21
20
  export {
22
21
  DynamicRenderer,
23
22
  DynamicRenderer as default
@@ -1,18 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
3
4
  const qwik = require("@builder.io/qwik");
4
- const InlinedScript = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
5
- return /* @__PURE__ */ qwik._jsxQ("script", null, {
6
- dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.scriptStr, [
7
- props
8
- ], "p0.scriptStr"),
9
- "data-id": qwik._fnSignal((p0) => p0.id, [
10
- props
11
- ], "p0.id"),
12
- nonce: qwik._fnSignal((p0) => p0.nonce || "", [
13
- props
14
- ], 'p0.nonce||""')
15
- }, null, 3, "WO_0");
16
- }, "InlinedScript_component_hwThBdhA8rw"));
5
+ const InlinedScript = qwik.component$((props) => {
6
+ return /* @__PURE__ */ jsxRuntime.jsx("script", {
7
+ dangerouslySetInnerHTML: props.scriptStr,
8
+ "data-id": props.id,
9
+ nonce: props.nonce || ""
10
+ });
11
+ });
17
12
  exports.InlinedScript = InlinedScript;
18
13
  exports.default = InlinedScript;
@@ -1,17 +1,12 @@
1
- import { componentQrl, inlinedQrl, _jsxQ, _fnSignal } from "@builder.io/qwik";
2
- const InlinedScript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
3
- return /* @__PURE__ */ _jsxQ("script", null, {
4
- dangerouslySetInnerHTML: _fnSignal((p0) => p0.scriptStr, [
5
- props
6
- ], "p0.scriptStr"),
7
- "data-id": _fnSignal((p0) => p0.id, [
8
- props
9
- ], "p0.id"),
10
- nonce: _fnSignal((p0) => p0.nonce || "", [
11
- props
12
- ], 'p0.nonce||""')
13
- }, null, 3, "WO_0");
14
- }, "InlinedScript_component_hwThBdhA8rw"));
1
+ import { jsx } from "@builder.io/qwik/jsx-runtime";
2
+ import { component$ } from "@builder.io/qwik";
3
+ const InlinedScript = component$((props) => {
4
+ return /* @__PURE__ */ jsx("script", {
5
+ dangerouslySetInnerHTML: props.scriptStr,
6
+ "data-id": props.id,
7
+ nonce: props.nonce || ""
8
+ });
9
+ });
15
10
  export {
16
11
  InlinedScript,
17
12
  InlinedScript as default
@@ -1,18 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
3
4
  const qwik = require("@builder.io/qwik");
4
- const InlinedStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
5
- return /* @__PURE__ */ qwik._jsxQ("style", null, {
6
- dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.styles, [
7
- props
8
- ], "p0.styles"),
9
- "data-id": qwik._fnSignal((p0) => p0.id, [
10
- props
11
- ], "p0.id"),
12
- nonce: qwik._fnSignal((p0) => p0.nonce, [
13
- props
14
- ], "p0.nonce")
15
- }, null, 3, "NG_0");
16
- }, "InlinedStyles_component_IOsg46hMexk"));
5
+ const InlinedStyles = qwik.component$((props) => {
6
+ return /* @__PURE__ */ jsxRuntime.jsx("style", {
7
+ dangerouslySetInnerHTML: props.styles,
8
+ "data-id": props.id,
9
+ nonce: props.nonce
10
+ });
11
+ });
17
12
  exports.InlinedStyles = InlinedStyles;
18
13
  exports.default = InlinedStyles;
@@ -1,17 +1,12 @@
1
- import { componentQrl, inlinedQrl, _jsxQ, _fnSignal } from "@builder.io/qwik";
2
- const InlinedStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
3
- return /* @__PURE__ */ _jsxQ("style", null, {
4
- dangerouslySetInnerHTML: _fnSignal((p0) => p0.styles, [
5
- props
6
- ], "p0.styles"),
7
- "data-id": _fnSignal((p0) => p0.id, [
8
- props
9
- ], "p0.id"),
10
- nonce: _fnSignal((p0) => p0.nonce, [
11
- props
12
- ], "p0.nonce")
13
- }, null, 3, "NG_0");
14
- }, "InlinedStyles_component_IOsg46hMexk"));
1
+ import { jsx } from "@builder.io/qwik/jsx-runtime";
2
+ import { component$ } from "@builder.io/qwik";
3
+ const InlinedStyles = component$((props) => {
4
+ return /* @__PURE__ */ jsx("style", {
5
+ dangerouslySetInnerHTML: props.styles,
6
+ "data-id": props.id,
7
+ nonce: props.nonce
8
+ });
9
+ });
15
10
  export {
16
11
  InlinedStyles,
17
12
  InlinedStyles as default
@@ -21,8 +21,9 @@ const SIZES = {
21
21
  const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
22
22
  const getSizesForBreakpoints = ({ small, medium }) => {
23
23
  const newSizes = fastClone.fastClone(SIZES);
24
- if (!small || !medium)
24
+ if (!small || !medium) {
25
25
  return newSizes;
26
+ }
26
27
  const smallMin = Math.floor(small / 2);
27
28
  newSizes.small = {
28
29
  max: small,
@@ -19,8 +19,9 @@ const SIZES = {
19
19
  const getMaxWidthQueryForSize = (size, sizeValues = SIZES) => `@media (max-width: ${sizeValues[size].max}px)`;
20
20
  const getSizesForBreakpoints = ({ small, medium }) => {
21
21
  const newSizes = fastClone(SIZES);
22
- if (!small || !medium)
22
+ if (!small || !medium) {
23
23
  return newSizes;
24
+ }
24
25
  const smallMin = Math.floor(small / 2);
25
26
  newSizes.small = {
26
27
  max: small,
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.16.11";
3
+ const SDK_VERSION = "0.16.13";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.16.11";
1
+ const SDK_VERSION = "0.16.13";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };