@builder.io/sdk-vue 0.7.0 → 0.7.1-0

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 (246) hide show
  1. package/package.json +4 -2
  2. package/vue2/lib/browser/{block-134a618c.cjs → block-b12c2a9e.cjs} +2 -2
  3. package/vue2/lib/{node/block-169c0cf4.js → browser/block-d44d5b8a.js} +7 -7
  4. package/vue2/lib/{node/block-styles-d8839dd9.js → browser/block-styles-b2bcecac.js} +5 -5
  5. package/vue2/lib/{edge/block-styles-57f025e0.cjs → browser/block-styles-fad43b2e.cjs} +1 -1
  6. package/vue2/lib/browser/{block-wrapper-ad23d63e.js → block-wrapper-230a8abf.js} +5 -5
  7. package/vue2/lib/browser/{block-wrapper-54cd4f6c.cjs → block-wrapper-ecdc5285.cjs} +1 -1
  8. package/vue2/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -1
  9. package/vue2/lib/browser/blocks/image/image.vue.d.ts +1 -1
  10. package/vue2/lib/{edge/blocks-wrapper-671e376d.js → browser/blocks-wrapper-37d1fbf5.js} +1 -1
  11. package/vue2/lib/{edge/blocks-wrapper-be28f72a.cjs → browser/blocks-wrapper-5f4ff269.cjs} +1 -1
  12. package/vue2/lib/{edge/component-ref-65be9ea0.js → browser/component-ref-25028977.js} +6 -6
  13. package/vue2/lib/{edge/component-ref-276a92fb.cjs → browser/component-ref-8d39a7f4.cjs} +1 -1
  14. package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +2 -0
  15. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
  16. package/vue2/lib/browser/{content-91d3070e.cjs → content-e0b5be50.cjs} +1 -1
  17. package/vue2/lib/{edge/content-962ba49d.js → browser/content-e775e1b1.js} +62 -64
  18. package/vue2/lib/browser/{css-ccd5d9e3.js → css-41c2e31d.js} +1 -1
  19. package/vue2/lib/browser/{css-2c9ad067.cjs → css-c292bae4.cjs} +1 -1
  20. package/vue2/lib/browser/{enable-editor-d9f53d7d.js → enable-editor-836e8731.js} +107 -92
  21. package/vue2/lib/browser/enable-editor-bf828ceb.cjs +1 -0
  22. package/vue2/lib/browser/evaluate-239c4f2e.js +86 -0
  23. package/vue2/lib/browser/evaluate-37bcc296.cjs +1 -0
  24. package/vue2/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
  25. package/vue2/lib/browser/functions/evaluate/evaluate.d.ts +1 -5
  26. package/vue2/lib/browser/functions/evaluate/helpers.d.ts +7 -1
  27. package/vue2/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
  28. package/vue2/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  29. package/vue2/lib/browser/functions/get-content/types.d.ts +94 -3
  30. package/vue2/lib/browser/functions/is-node-runtime.d.ts +4 -0
  31. package/vue2/lib/browser/{get-block-actions-7a5e8d90.cjs → get-block-actions-0e6055b8.cjs} +1 -1
  32. package/vue2/lib/{node/get-block-actions-e6c36554.js → browser/get-block-actions-eb308dbc.js} +2 -2
  33. package/vue2/lib/{node/get-block-properties-088a8d57.cjs → browser/get-block-properties-a17c5ae7.cjs} +1 -1
  34. package/vue2/lib/browser/{get-block-properties-fded8311.js → get-block-properties-f1d87f5b.js} +2 -2
  35. package/vue2/lib/browser/{get-processed-block-cb418829.cjs → get-processed-block-469b6014.cjs} +1 -1
  36. package/vue2/lib/browser/{get-processed-block-28afdbdd.js → get-processed-block-dac77b11.js} +2 -2
  37. package/vue2/lib/browser/index-0daf250a.cjs +32 -0
  38. package/vue2/lib/{node/index-8b428b10.js → browser/index-2c3e3aa0.js} +382 -367
  39. package/vue2/lib/browser/index.cjs +1 -1
  40. package/vue2/lib/browser/index.js +4 -4
  41. package/vue2/lib/browser/{inlined-script-36c7686b.cjs → inlined-script-17a3e298.cjs} +1 -1
  42. package/vue2/lib/{edge/inlined-script-45e42092.js → browser/inlined-script-a2ce7e25.js} +1 -1
  43. package/vue2/lib/{node/inlined-styles-f49a7f1a.cjs → browser/inlined-styles-02129d25.cjs} +1 -1
  44. package/vue2/lib/{node/inlined-styles-48c2284e.js → browser/inlined-styles-25974197.js} +1 -1
  45. package/vue2/lib/{node/interactive-element-2463f839.cjs → browser/interactive-element-31618273.cjs} +1 -1
  46. package/vue2/lib/{node/interactive-element-b479db6b.js → browser/interactive-element-95e7ed70.js} +5 -5
  47. package/vue2/lib/browser/{repeated-block-d5a07fb8.cjs → repeated-block-dc24507b.cjs} +1 -1
  48. package/vue2/lib/{node/repeated-block-284f31d8.js → browser/repeated-block-df873ea1.js} +2 -2
  49. package/vue2/lib/browser/style.css +1 -1
  50. package/vue2/lib/{node/styles-4803ecb4.js → browser/styles-c0e6af8c.js} +2 -2
  51. package/vue2/lib/{node/styles-f19bff73.cjs → browser/styles-eb6d5133.cjs} +2 -2
  52. package/vue2/lib/{node/block-134a618c.cjs → edge/block-6ae253d3.cjs} +2 -2
  53. package/vue2/lib/{browser/block-169c0cf4.js → edge/block-ee5e6b30.js} +7 -7
  54. package/vue2/lib/{node/block-styles-dd554acd.cjs → edge/block-styles-0db05976.cjs} +1 -1
  55. package/vue2/lib/edge/{block-styles-9d313184.js → block-styles-7ddd1160.js} +5 -5
  56. package/vue2/lib/{node/block-wrapper-ad23d63e.js → edge/block-wrapper-2516c8f0.js} +5 -5
  57. package/vue2/lib/edge/{block-wrapper-252f3467.cjs → block-wrapper-4a546b0f.cjs} +1 -1
  58. package/vue2/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -1
  59. package/vue2/lib/edge/blocks/image/image.vue.d.ts +1 -1
  60. package/vue2/lib/{browser/blocks-wrapper-051a6973.cjs → edge/blocks-wrapper-be115723.cjs} +1 -1
  61. package/vue2/lib/{browser/blocks-wrapper-ba3f831e.js → edge/blocks-wrapper-f30c1e2e.js} +1 -1
  62. package/vue2/lib/{node/component-ref-7c67cc85.js → edge/component-ref-7ca49e69.js} +6 -6
  63. package/vue2/lib/{node/component-ref-73bbe275.cjs → edge/component-ref-f5f09e76.cjs} +1 -1
  64. package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +2 -0
  65. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
  66. package/vue2/lib/{browser/content-c3064d9d.js → edge/content-32e8afd0.js} +62 -64
  67. package/vue2/lib/{node/content-91d3070e.cjs → edge/content-e389cb08.cjs} +1 -1
  68. package/vue2/lib/edge/{css-9d2e1bcb.js → css-905123d6.js} +1 -1
  69. package/vue2/lib/{node/css-2c9ad067.cjs → edge/css-db1fb81d.cjs} +1 -1
  70. package/vue2/lib/{node/enable-editor-d9f53d7d.js → edge/enable-editor-5339c72b.js} +107 -92
  71. package/vue2/lib/edge/enable-editor-8460bc4f.cjs +1 -0
  72. package/vue2/lib/edge/evaluate-7b0fdb29.cjs +21 -0
  73. package/vue2/lib/edge/{evaluate-becf2384.js → evaluate-8d6921da.js} +379 -346
  74. package/vue2/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
  75. package/vue2/lib/edge/functions/evaluate/evaluate.d.ts +1 -5
  76. package/vue2/lib/edge/functions/evaluate/helpers.d.ts +7 -1
  77. package/vue2/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
  78. package/vue2/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  79. package/vue2/lib/edge/functions/get-content/types.d.ts +94 -3
  80. package/vue2/lib/edge/functions/is-node-runtime.d.ts +4 -0
  81. package/vue2/lib/edge/{get-block-actions-0ed7b9a3.cjs → get-block-actions-ac5cd221.cjs} +1 -1
  82. package/vue2/lib/{browser/get-block-actions-e6c36554.js → edge/get-block-actions-eb1322f1.js} +2 -2
  83. package/vue2/lib/{browser/get-block-properties-088a8d57.cjs → edge/get-block-properties-e45bd13c.cjs} +1 -1
  84. package/vue2/lib/edge/{get-block-properties-c460b7ad.js → get-block-properties-fc55bc69.js} +2 -2
  85. package/vue2/lib/edge/{get-processed-block-fe5c136a.cjs → get-processed-block-3a429bb7.cjs} +1 -1
  86. package/vue2/lib/edge/{get-processed-block-23aa8a9f.js → get-processed-block-9e3229f1.js} +2 -2
  87. package/vue2/lib/edge/{index-8d71df29.js → index-0840538e.js} +382 -367
  88. package/vue2/lib/edge/index-66f83dfa.cjs +32 -0
  89. package/vue2/lib/edge/index.cjs +1 -1
  90. package/vue2/lib/edge/index.js +4 -4
  91. package/vue2/lib/{node/inlined-script-de7385eb.js → edge/inlined-script-8ceab368.js} +1 -1
  92. package/vue2/lib/{node/inlined-script-36c7686b.cjs → edge/inlined-script-9311a8f4.cjs} +1 -1
  93. package/vue2/lib/edge/{inlined-styles-411ade32.js → inlined-styles-4826f427.js} +1 -1
  94. package/vue2/lib/{browser/inlined-styles-f49a7f1a.cjs → edge/inlined-styles-f0c5389f.cjs} +1 -1
  95. package/vue2/lib/{browser/interactive-element-2463f839.cjs → edge/interactive-element-20464160.cjs} +1 -1
  96. package/vue2/lib/{browser/interactive-element-b479db6b.js → edge/interactive-element-a4e1753a.js} +5 -5
  97. package/vue2/lib/{browser/repeated-block-284f31d8.js → edge/repeated-block-5ff563c4.js} +2 -2
  98. package/vue2/lib/edge/{repeated-block-8eefee0f.cjs → repeated-block-90ff0a8e.cjs} +1 -1
  99. package/vue2/lib/edge/style.css +1 -1
  100. package/vue2/lib/{browser/styles-4803ecb4.js → edge/styles-0821e7bd.js} +2 -2
  101. package/vue2/lib/{browser/styles-f19bff73.cjs → edge/styles-8e148f6b.cjs} +2 -2
  102. package/vue2/lib/{edge/block-7f6b0f80.cjs → node/block-46a1926a.cjs} +2 -2
  103. package/vue2/lib/{edge/block-04a014ef.js → node/block-a1bcdc0f.js} +7 -7
  104. package/vue2/lib/{browser/block-styles-dd554acd.cjs → node/block-styles-34b37b5f.cjs} +1 -1
  105. package/vue2/lib/{browser/block-styles-d8839dd9.js → node/block-styles-40dfb747.js} +5 -5
  106. package/vue2/lib/{edge/block-wrapper-e16ccd29.js → node/block-wrapper-02a13832.js} +5 -5
  107. package/vue2/lib/node/{block-wrapper-54cd4f6c.cjs → block-wrapper-d012bc77.cjs} +1 -1
  108. package/vue2/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -1
  109. package/vue2/lib/node/blocks/image/image.vue.d.ts +1 -1
  110. package/vue2/lib/node/{blocks-wrapper-051a6973.cjs → blocks-wrapper-111adf2e.cjs} +1 -1
  111. package/vue2/lib/node/{blocks-wrapper-ba3f831e.js → blocks-wrapper-2cf7c243.js} +1 -1
  112. package/vue2/lib/{browser/component-ref-7c67cc85.js → node/component-ref-686b70a8.js} +6 -6
  113. package/vue2/lib/{browser/component-ref-73bbe275.cjs → node/component-ref-8664d291.cjs} +1 -1
  114. package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +2 -0
  115. package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
  116. package/vue2/lib/node/{content-c3064d9d.js → content-750b77c5.js} +62 -64
  117. package/vue2/lib/{edge/content-6d81d16f.cjs → node/content-804eb1c1.cjs} +1 -1
  118. package/vue2/lib/node/{css-ccd5d9e3.js → css-0997fa70.js} +1 -1
  119. package/vue2/lib/{edge/css-88f2410f.cjs → node/css-698817f7.cjs} +1 -1
  120. package/vue2/lib/node/enable-editor-4c3b62ba.cjs +1 -0
  121. package/vue2/lib/{edge/enable-editor-b6040943.js → node/enable-editor-991cf703.js} +107 -92
  122. package/vue2/lib/node/evaluate-06bae117.js +187 -0
  123. package/vue2/lib/node/evaluate-fc74c806.cjs +41 -0
  124. package/vue2/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
  125. package/vue2/lib/node/functions/evaluate/evaluate.d.ts +1 -5
  126. package/vue2/lib/node/functions/evaluate/helpers.d.ts +7 -1
  127. package/vue2/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
  128. package/vue2/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  129. package/vue2/lib/node/functions/get-content/types.d.ts +94 -3
  130. package/vue2/lib/node/functions/is-node-runtime.d.ts +4 -0
  131. package/vue2/lib/node/{get-block-actions-7a5e8d90.cjs → get-block-actions-779fa30b.cjs} +1 -1
  132. package/vue2/lib/{edge/get-block-actions-046a80d0.js → node/get-block-actions-9781c926.js} +2 -2
  133. package/vue2/lib/{edge/get-block-properties-a9ab7e30.cjs → node/get-block-properties-090f2906.cjs} +1 -1
  134. package/vue2/lib/node/{get-block-properties-fded8311.js → get-block-properties-ed8d55a8.js} +2 -2
  135. package/vue2/lib/node/get-processed-block-267a96eb.js +52 -0
  136. package/vue2/lib/node/get-processed-block-270c0450.cjs +1 -0
  137. package/vue2/lib/node/index-55b86b2c.cjs +32 -0
  138. package/vue2/lib/{browser/index-8b428b10.js → node/index-fe4f9482.js} +382 -367
  139. package/vue2/lib/node/index.cjs +1 -1
  140. package/vue2/lib/node/index.js +4 -4
  141. package/vue2/lib/{edge/inlined-script-f370acdf.cjs → node/inlined-script-37af305a.cjs} +1 -1
  142. package/vue2/lib/{browser/inlined-script-de7385eb.js → node/inlined-script-9bf9544a.js} +1 -1
  143. package/vue2/lib/{browser/inlined-styles-48c2284e.js → node/inlined-styles-7a704065.js} +1 -1
  144. package/vue2/lib/{edge/inlined-styles-375c218f.cjs → node/inlined-styles-e812d54a.cjs} +1 -1
  145. package/vue2/lib/{edge/interactive-element-0e97e5ad.js → node/interactive-element-a9adc81f.js} +5 -5
  146. package/vue2/lib/{edge/interactive-element-92851fbe.cjs → node/interactive-element-e940e56b.cjs} +1 -1
  147. package/vue2/lib/{edge/repeated-block-c41268e9.js → node/repeated-block-acab5426.js} +2 -2
  148. package/vue2/lib/node/{repeated-block-d5a07fb8.cjs → repeated-block-ef2bf12f.cjs} +1 -1
  149. package/vue2/lib/node/style.css +1 -1
  150. package/vue2/lib/{edge/styles-633d9689.js → node/styles-34c3741a.js} +2 -2
  151. package/vue2/lib/{edge/styles-f2039a70.cjs → node/styles-93f84a1d.cjs} +2 -2
  152. package/vue2/package.json +1 -0
  153. package/vue3/lib/browser/{block-wrapper.c00ddfcb.cjs → block-wrapper.75f65d10.cjs} +1 -1
  154. package/vue3/lib/{node/block-wrapper.b3297452.js → browser/block-wrapper.eb12cfdc.js} +8 -8
  155. package/vue3/lib/browser/blocks/custom-code/custom-code.vue.d.ts +0 -1
  156. package/vue3/lib/browser/blocks/image/image.vue.d.ts +1 -1
  157. package/vue3/lib/{edge/component-ref.f5eef526.js → browser/component-ref.ce36b7ec.js} +17 -17
  158. package/vue3/lib/browser/component-ref.f391a5ee.cjs +1 -0
  159. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +8 -6
  160. package/vue3/lib/browser/components/content/content.vue.d.ts +6 -6
  161. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
  162. package/vue3/lib/browser/functions/evaluate/choose-eval.d.ts +6 -0
  163. package/vue3/lib/browser/functions/evaluate/evaluate.d.ts +1 -5
  164. package/vue3/lib/browser/functions/evaluate/helpers.d.ts +7 -1
  165. package/vue3/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
  166. package/vue3/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  167. package/vue3/lib/browser/functions/get-content/types.d.ts +94 -3
  168. package/vue3/lib/browser/functions/is-node-runtime.d.ts +4 -0
  169. package/vue3/lib/{edge/get-block-actions.f1dcfc47.js → browser/get-block-actions.7c580dff.js} +1 -1
  170. package/vue3/lib/{edge/get-block-actions.c5c7e487.cjs → browser/get-block-actions.e6dfffe3.cjs} +1 -1
  171. package/vue3/lib/{node/index.c51504ff.js → browser/index.188d2ee5.js} +826 -795
  172. package/vue3/lib/browser/index.cjs +1 -1
  173. package/vue3/lib/browser/index.fb1c2a1f.cjs +69 -0
  174. package/vue3/lib/browser/index.js +1 -1
  175. package/vue3/lib/browser/{repeated-block.2245fce7.cjs → repeated-block.2431c33d.cjs} +1 -1
  176. package/vue3/lib/{edge/repeated-block.e2eb73cd.js → browser/repeated-block.7a8762fc.js} +6 -6
  177. package/vue3/lib/edge/{block-wrapper.6e434dc7.cjs → block-wrapper.0868030f.cjs} +1 -1
  178. package/vue3/lib/{browser/block-wrapper.b3297452.js → edge/block-wrapper.cab4805b.js} +8 -8
  179. package/vue3/lib/edge/blocks/custom-code/custom-code.vue.d.ts +0 -1
  180. package/vue3/lib/edge/blocks/image/image.vue.d.ts +1 -1
  181. package/vue3/lib/{node/component-ref.88102d68.js → edge/component-ref.ace67608.js} +17 -17
  182. package/vue3/lib/edge/component-ref.ae7eec27.cjs +1 -0
  183. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +8 -6
  184. package/vue3/lib/edge/components/content/content.vue.d.ts +6 -6
  185. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
  186. package/vue3/lib/edge/functions/evaluate/choose-eval.d.ts +6 -0
  187. package/vue3/lib/edge/functions/evaluate/evaluate.d.ts +1 -5
  188. package/vue3/lib/edge/functions/evaluate/helpers.d.ts +7 -1
  189. package/vue3/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
  190. package/vue3/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  191. package/vue3/lib/edge/functions/get-content/types.d.ts +94 -3
  192. package/vue3/lib/edge/functions/is-node-runtime.d.ts +4 -0
  193. package/vue3/lib/{node/get-block-actions.703f8554.cjs → edge/get-block-actions.83fca99e.cjs} +1 -1
  194. package/vue3/lib/{browser/get-block-actions.1865148e.js → edge/get-block-actions.cfa7e625.js} +1 -1
  195. package/vue3/lib/edge/{index.f80ab661.js → index.28b94406.js} +1352 -1293
  196. package/vue3/lib/edge/index.8e0db5cb.cjs +89 -0
  197. package/vue3/lib/edge/index.cjs +1 -1
  198. package/vue3/lib/edge/index.js +1 -1
  199. package/vue3/lib/edge/{repeated-block.8292d33a.cjs → repeated-block.4515ae00.cjs} +1 -1
  200. package/vue3/lib/{browser/repeated-block.f6fdedb6.js → edge/repeated-block.4f0522f0.js} +6 -6
  201. package/vue3/lib/node/block-wrapper.4b048f0a.cjs +1 -0
  202. package/vue3/lib/{edge/block-wrapper.dad1bb39.js → node/block-wrapper.529d85d5.js} +7 -6
  203. package/vue3/lib/node/blocks/custom-code/custom-code.vue.d.ts +0 -1
  204. package/vue3/lib/node/blocks/image/image.vue.d.ts +1 -1
  205. package/vue3/lib/{browser/component-ref.88102d68.js → node/component-ref.3c9a0fb1.js} +18 -17
  206. package/vue3/lib/node/component-ref.c78bd861.cjs +1 -0
  207. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +8 -6
  208. package/vue3/lib/node/components/content/content.vue.d.ts +6 -6
  209. package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
  210. package/vue3/lib/node/functions/evaluate/choose-eval.d.ts +6 -0
  211. package/vue3/lib/node/functions/evaluate/evaluate.d.ts +1 -5
  212. package/vue3/lib/node/functions/evaluate/helpers.d.ts +7 -1
  213. package/vue3/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
  214. package/vue3/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  215. package/vue3/lib/node/functions/get-content/types.d.ts +94 -3
  216. package/vue3/lib/node/functions/is-node-runtime.d.ts +4 -0
  217. package/vue3/lib/node/{get-block-actions.1865148e.js → get-block-actions.65678660.js} +1 -1
  218. package/vue3/lib/{browser/get-block-actions.703f8554.cjs → node/get-block-actions.977f70db.cjs} +1 -1
  219. package/vue3/lib/{browser/index.c51504ff.js → node/index.1a21f267.js} +977 -852
  220. package/vue3/lib/node/index.baa2a660.cjs +109 -0
  221. package/vue3/lib/node/index.cjs +1 -1
  222. package/vue3/lib/node/index.js +27 -26
  223. package/vue3/lib/node/{repeated-block.f6fdedb6.js → repeated-block.04f4039b.js} +7 -6
  224. package/vue3/lib/node/repeated-block.33e03818.cjs +1 -0
  225. package/vue3/package.json +1 -0
  226. package/vue2/lib/browser/enable-editor-f87e3e48.cjs +0 -1
  227. package/vue2/lib/browser/evaluate-043734e5.cjs +0 -1
  228. package/vue2/lib/browser/evaluate-b309ef11.js +0 -81
  229. package/vue2/lib/browser/index-7b952a40.cjs +0 -32
  230. package/vue2/lib/edge/enable-editor-617a4b09.cjs +0 -1
  231. package/vue2/lib/edge/evaluate-e31fc7a4.cjs +0 -21
  232. package/vue2/lib/edge/index-cb2684cd.cjs +0 -32
  233. package/vue2/lib/node/enable-editor-f87e3e48.cjs +0 -1
  234. package/vue2/lib/node/evaluate-043734e5.cjs +0 -1
  235. package/vue2/lib/node/evaluate-b309ef11.js +0 -81
  236. package/vue2/lib/node/get-processed-block-28afdbdd.js +0 -58
  237. package/vue2/lib/node/get-processed-block-cb418829.cjs +0 -1
  238. package/vue2/lib/node/index-7b952a40.cjs +0 -32
  239. package/vue3/lib/browser/component-ref.5446db23.cjs +0 -1
  240. package/vue3/lib/browser/index.403011b1.cjs +0 -69
  241. package/vue3/lib/edge/component-ref.94b009f1.cjs +0 -1
  242. package/vue3/lib/edge/index.61c09215.cjs +0 -89
  243. package/vue3/lib/node/block-wrapper.c00ddfcb.cjs +0 -1
  244. package/vue3/lib/node/component-ref.5446db23.cjs +0 -1
  245. package/vue3/lib/node/index.403011b1.cjs +0 -69
  246. package/vue3/lib/node/repeated-block.2245fce7.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7b952a40.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-55b86b2c.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
@@ -1,4 +1,4 @@
1
- import { x as a, B as n, C as r, y as o, F as i, I as g, R as c, z as l, S as d, d as m, e as C, V as p, H as u, p as B, L as E, D as R, u as S, E as f, J as h, G as k, i as x, t as y, r as P, A, K as F } from "./index-8b428b10.js";
1
+ import { x as a, B as n, C as r, y as o, F as i, I as g, R as c, z as l, S as d, d as m, e as C, V as u, H as B, q as p, L as E, D as R, t as S, E as f, J as h, G as k, i as x, u as y, r as P, A, K as F } from "./index-fe4f9482.js";
2
2
  import "vue";
3
3
  export {
4
4
  a as Blocks,
@@ -12,9 +12,9 @@ export {
12
12
  d as Section,
13
13
  m as Symbol,
14
14
  C as Text,
15
- p as Video,
16
- u as _processContentResult,
17
- B as createRegisterComponentMessage,
15
+ u as Video,
16
+ B as _processContentResult,
17
+ p as createRegisterComponentMessage,
18
18
  E as fetchBuilderProps,
19
19
  R as fetchEntries,
20
20
  S as fetchOneEntry,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index-cb2684cd.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index-55b86b2c.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t } from "vue";
2
- import { n as e } from "./index-8b428b10.js";
2
+ import { n as e } from "./index-fe4f9482.js";
3
3
  const s = t({
4
4
  name: "inlined-script",
5
5
  props: ["scriptStr", "id"]
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s } from "vue";
2
- import { n as t } from "./index-8b428b10.js";
2
+ import { n as t } from "./index-fe4f9482.js";
3
3
  const r = s({
4
4
  name: "inlined-styles",
5
5
  props: ["styles", "id"]
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-cb2684cd.cjs"),r=t.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=s.normalizeComponent(r,l,o,!1,null,null,null,null);const _=i.exports;exports.default=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-55b86b2c.cjs"),r=t.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=s.normalizeComponent(r,l,o,!1,null,null,null,null);const _=i.exports;exports.default=_;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as o } from "vue";
2
- import { g as r } from "./get-block-actions-046a80d0.js";
3
- import { g as n } from "./get-block-properties-c460b7ad.js";
4
- import { n as c } from "./index-8d71df29.js";
5
- import "./evaluate-becf2384.js";
6
- import "./css-9d2e1bcb.js";
2
+ import { g as r } from "./get-block-actions-9781c926.js";
3
+ import { g as n } from "./get-block-properties-ed8d55a8.js";
4
+ import { n as c } from "./index-fe4f9482.js";
5
+ import "./evaluate-06bae117.js";
6
+ import "./css-0997fa70.js";
7
7
  const a = o({
8
8
  name: "interactive-element",
9
9
  props: ["wrapperProps", "block", "context", "Wrapper"],
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-0ed7b9a3.cjs"),n=require("./get-block-properties-a9ab7e30.cjs"),c=require("./index-cb2684cd.cjs");require("./evaluate-e31fc7a4.cjs");require("./css-88f2410f.cjs");const l=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:n.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},s=[],i=c.normalizeComponent(l,a,s,!1,null,null,null,null);const p=i.exports;exports.default=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-779fa30b.cjs"),n=require("./get-block-properties-090f2906.cjs"),c=require("./index-55b86b2c.cjs");require("./evaluate-fc74c806.cjs");require("./css-698817f7.cjs");const l=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:n.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},s=[],i=c.normalizeComponent(l,a,s,!1,null,null,null,null);const p=i.exports;exports.default=p;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r } from "vue";
2
- import { l as n, n as s } from "./index-8d71df29.js";
3
- const l = () => import("./block-04a014ef.js").then((e) => e.default).catch((e) => {
2
+ import { l as n, n as s } from "./index-fe4f9482.js";
3
+ const l = () => import("./block-a1bcdc0f.js").then((e) => e.default).catch((e) => {
4
4
  throw console.error(
5
5
  "Error while attempting to dynamically import component Block at ../block.vue",
6
6
  e
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("./index-7b952a40.cjs"),s=()=>Promise.resolve().then(()=>require("./block-134a618c.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=n.defineComponent({name:"repeated-block",components:{block:s},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[o.builderContext.key]:e.store}}});var l=function(){var t=this,r=t._self._c;return t._self._setupProxy,r("block",{attrs:{block:t.block,context:t.store,registeredComponents:t.registeredComponents}})},i=[],a=o.normalizeComponent(c,l,i,!1,null,null,null,null);const p=a.exports;exports.default=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("./index-55b86b2c.cjs"),s=()=>Promise.resolve().then(()=>require("./block-46a1926a.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=n.defineComponent({name:"repeated-block",components:{block:s},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[o.builderContext.key]:e.store}}});var l=function(){var t=this,r=t._self._c;return t._self._setupProxy,r("block",{attrs:{block:t.block,context:t.store,registeredComponents:t.registeredComponents}})},i=[],a=o.normalizeComponent(c,l,i,!1,null,null,null,null);const p=a.exports;exports.default=p;
@@ -1 +1 @@
1
- .button-2fnk003dqad[data-v-d03c6eb1]{all:unset}.div-t9spj7joih[data-v-c700504e]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-c700504e]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-29cdebee]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-29cdebee]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-29cdebee]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-tqyw9m0iue[data-v-a3106f07]{display:flex;flex-direction:column;align-items:stretch}
1
+ .button-2fnk003dqad[data-v-d03c6eb1]{all:unset}.div-t9spj7joih[data-v-c700504e]{display:flex;line-height:normal}.div-t9spj7joih-2[data-v-c700504e]{display:flex;flex-direction:column;align-items:stretch}.img-1pl23ac79ld[data-v-aae97bc7]{opacity:1;transition:opacity .2s ease-in-out}.div-1pl23ac79ld[data-v-aae97bc7]{width:100%;pointer-events:none;font-size:0}.div-1pl23ac79ld-2[data-v-aae97bc7]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.div-tqyw9m0iue[data-v-a3106f07]{display:flex;flex-direction:column;align-items:stretch}
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a } from "vue";
2
- import { n as f } from "./index-8d71df29.js";
2
+ import { n as f } from "./index-fe4f9482.js";
3
3
  const c = (t) => {
4
4
  var o;
5
5
  const e = t.family + (t.kind && !t.kind.includes("#") ? ", " + t.kind : ""), i = e.split(",")[0], r = t.fileUrl ?? ((o = t == null ? void 0 : t.files) == null ? void 0 : o.regular);
@@ -34,7 +34,7 @@ font-weight: ${n};
34
34
  }, u = ({
35
35
  cssCode: t,
36
36
  contentId: e
37
- }) => t ? e ? (t == null ? void 0 : t.replace(/&/g, `div[builder-content-id="${e}"]`)) || "" : t : "", d = () => import("./inlined-styles-411ade32.js").then((t) => t.default).catch((t) => {
37
+ }) => t ? e ? (t == null ? void 0 : t.replace(/&/g, `div[builder-content-id="${e}"]`)) || "" : t : "", d = () => import("./inlined-styles-7a704065.js").then((t) => t.default).catch((t) => {
38
38
  throw console.error(
39
39
  "Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",
40
40
  t
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),c=require("./index-cb2684cd.cjs"),f=e=>{var o;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),i=t.split(",")[0],r=e.fileUrl??((o=e==null?void 0:e.files)==null?void 0:o.regular);let l="";if(r&&t&&i&&(l+=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),c=require("./index-55b86b2c.cjs"),f=e=>{var o;const t=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),i=t.split(",")[0],r=e.fileUrl??((o=e==null?void 0:e.files)==null?void 0:o.regular);let l="";if(r&&t&&i&&(l+=`
2
2
  @font-face {
3
3
  font-family: "${t}";
4
4
  src: local("${i}"), url('${r}') format('woff2');
@@ -12,7 +12,7 @@ src: url('${s}') format('woff2');
12
12
  font-display: fallback;
13
13
  font-weight: ${n};
14
14
  }
15
- `.trim())}return l},u=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(i=>f(i)))==null?void 0:t.join(" "))||""},d=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",m=()=>Promise.resolve().then(()=>require("./inlined-styles-375c218f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",e),e}),p=a.defineComponent({name:"content-styles",components:{"inlined-styles":m},props:["cssCode","contentId","customFonts"],data(){return{injectedStyles:`
15
+ `.trim())}return l},u=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(i=>f(i)))==null?void 0:t.join(" "))||""},d=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",m=()=>Promise.resolve().then(()=>require("./inlined-styles-e812d54a.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../inlined-styles.vue",e),e}),p=a.defineComponent({name:"content-styles",components:{"inlined-styles":m},props:["cssCode","contentId","customFonts"],data(){return{injectedStyles:`
16
16
  ${d({cssCode:this.cssCode,contentId:this.contentId})}
17
17
  ${u({customFonts:this.customFonts})}
18
18
 
package/vue2/package.json CHANGED
@@ -31,6 +31,7 @@
31
31
  "vue-tsc": "^0.38.8"
32
32
  },
33
33
  "peerDependencies": {
34
+ "isolated-vm": "^4.6.0",
34
35
  "vue": "^2.7.7"
35
36
  },
36
37
  "nx": {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./get-block-actions.703f8554.cjs"),r=require("./index.403011b1.cjs"),n=o.defineComponent({name:"block-wrapper",props:["Wrapper","block","context","hasChildren"],data(){return{getBlockActions:t.getBlockActions,getBlockProperties:t.getBlockProperties}}});function c(e,a,s,p,i,k){return e.hasChildren?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:0},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:1},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),null,16))}const l=r._export_sfc(n,[["render",c],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./get-block-actions.e6dfffe3.cjs"),r=require("./index.fb1c2a1f.cjs"),n=o.defineComponent({name:"block-wrapper",props:["Wrapper","block","context","hasChildren"],data(){return{getBlockActions:t.getBlockActions,getBlockProperties:t.getBlockProperties}}});function c(e,a,s,p,i,k){return e.hasChildren?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:0},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:1},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),null,16))}const l=r._export_sfc(n,[["render",c],["__file","/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);exports.default=l;
@@ -1,14 +1,14 @@
1
- import { defineComponent as l, openBlock as o, createBlock as t, resolveDynamicComponent as r, mergeProps as n, toHandlers as a, withCtx as c, renderSlot as p } from "vue";
2
- import { g as s, a as k } from "./get-block-actions.1865148e.js";
3
- import { _ as i } from "./index.c51504ff.js";
4
- const u = l({
1
+ import { defineComponent as l, openBlock as o, createBlock as t, resolveDynamicComponent as r, mergeProps as n, toHandlers as a, withCtx as c, renderSlot as s } from "vue";
2
+ import { g as p, a as k } from "./get-block-actions.7c580dff.js";
3
+ import { _ as i } from "./index.188d2ee5.js";
4
+ const S = l({
5
5
  name: "block-wrapper",
6
6
  props: ["Wrapper", "block", "context", "hasChildren"],
7
7
  data() {
8
- return { getBlockActions: s, getBlockProperties: k };
8
+ return { getBlockActions: p, getBlockProperties: k };
9
9
  }
10
10
  });
11
- function S(e, b, d, m, f, g) {
11
+ function u(e, b, d, m, f, g) {
12
12
  return e.hasChildren ? (o(), t(r(e.Wrapper), n(
13
13
  { key: 0 },
14
14
  e.getBlockProperties({
@@ -27,7 +27,7 @@ function S(e, b, d, m, f, g) {
27
27
  )
28
28
  ), {
29
29
  default: c(() => [
30
- p(e.$slots, "default")
30
+ s(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
33
  }, 16)) : (o(), t(r(e.Wrapper), n(
@@ -48,7 +48,7 @@ function S(e, b, d, m, f, g) {
48
48
  )
49
49
  ), null, 16));
50
50
  }
51
- const C = /* @__PURE__ */ i(u, [["render", S], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);
51
+ const C = /* @__PURE__ */ i(S, [["render", u], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);
52
52
  export {
53
53
  C as default
54
54
  };
@@ -9,7 +9,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
9
9
  scriptsInserted: never[];
10
10
  scriptsRun: never[];
11
11
  }, {}, {
12
- findAndRunScripts(): void;
13
12
  _classStringToObject(str: string): Record<string, boolean>;
14
13
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
15
14
  code?: any;
@@ -11,7 +11,7 @@ export interface ImageProps {
11
11
  backgroundPosition?: string;
12
12
  srcset?: string;
13
13
  aspectRatio?: number;
14
- children?: JSX.Element;
14
+ children?: any;
15
15
  fitContent?: boolean;
16
16
  builderBlock?: BuilderBlock;
17
17
  noWebp?: boolean;
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, openBlock as o, createBlock as r, resolveDynamicComponent as v, mergeProps as g, withCtx as B, renderSlot as S, resolveComponent as m, normalizeProps as h, createElementBlock as u, Fragment as k, renderList as d, createCommentVNode as w } from "vue";
2
- import { _ as P, a as y, b as R, w as W } from "./index.f80ab661.js";
3
- import { g as I, a as C } from "./get-block-actions.f1dcfc47.js";
1
+ import { defineComponent as f, openBlock as o, createBlock as r, resolveDynamicComponent as v, mergeProps as g, withCtx as B, renderSlot as S, resolveComponent as m, normalizeProps as w, createElementBlock as k, Fragment as u, renderList as d, createCommentVNode as y } from "vue";
2
+ import { _ as P, a as R, b as W, w as h } from "./index.188d2ee5.js";
3
+ import { g as I, a as C } from "./get-block-actions.7c580dff.js";
4
4
  const E = f({
5
5
  name: "interactive-element",
6
6
  props: ["wrapperProps", "block", "context", "Wrapper"],
@@ -8,7 +8,7 @@ const E = f({
8
8
  return { getBlockActions: I, getBlockProperties: C };
9
9
  }
10
10
  });
11
- function A(e, n, c, s, p, l) {
11
+ function j(e, n, c, s, p, l) {
12
12
  return o(), r(v(e.Wrapper), g({
13
13
  attributes: {
14
14
  ...e.getBlockProperties({
@@ -30,7 +30,7 @@ function A(e, n, c, s, p, l) {
30
30
  _: 3
31
31
  }, 16, ["attributes"]);
32
32
  }
33
- const b = /* @__PURE__ */ P(E, [["render", A], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/interactive-element.vue"]]), O = ({
33
+ const b = /* @__PURE__ */ P(E, [["render", j], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/interactive-element.vue"]]), A = ({
34
34
  componentOptions: e,
35
35
  builderBlock: n,
36
36
  context: c,
@@ -51,11 +51,11 @@ const b = /* @__PURE__ */ P(E, [["render", A], ["__file", "/home/runner/work/bui
51
51
  context: a
52
52
  })
53
53
  } : {}
54
- }, V = f({
54
+ }, O = f({
55
55
  name: "component-ref",
56
56
  components: {
57
- Block: y,
58
- BlockStyles: R,
57
+ Block: R,
58
+ BlockStyles: W,
59
59
  InteractiveElement: b
60
60
  },
61
61
  props: [
@@ -70,14 +70,14 @@ const b = /* @__PURE__ */ P(E, [["render", A], ["__file", "/home/runner/work/bui
70
70
  ],
71
71
  data() {
72
72
  return {
73
- Wrapper: this.isInteractive ? W(b) : this.componentRef,
74
- getWrapperProps: O
73
+ Wrapper: this.isInteractive ? h(b) : this.componentRef,
74
+ getWrapperProps: A
75
75
  };
76
76
  }
77
77
  });
78
- function x(e, n, c, s, p, l) {
78
+ function U(e, n, c, s, p, l) {
79
79
  const a = m("block"), i = m("block-styles");
80
- return e.componentRef ? (o(), r(v(e.Wrapper), h(g(
80
+ return e.componentRef ? (o(), r(v(e.Wrapper), w(g(
81
81
  { key: 0 },
82
82
  e.getWrapperProps({
83
83
  componentOptions: e.componentOptions,
@@ -90,22 +90,22 @@ function x(e, n, c, s, p, l) {
90
90
  })
91
91
  )), {
92
92
  default: B(() => [
93
- (o(!0), u(k, null, d(e.blockChildren, (t, $) => (o(), r(a, {
93
+ (o(!0), k(u, null, d(e.blockChildren, (t, $) => (o(), r(a, {
94
94
  key: "block-" + t.id,
95
95
  block: t,
96
96
  context: e.context,
97
97
  registeredComponents: e.registeredComponents
98
98
  }, null, 8, ["block", "context", "registeredComponents"]))), 128)),
99
- (o(!0), u(k, null, d(e.blockChildren, (t, $) => (o(), r(i, {
99
+ (o(!0), k(u, null, d(e.blockChildren, (t, $) => (o(), r(i, {
100
100
  key: "block-style-" + t.id,
101
101
  block: t,
102
102
  context: e.context
103
103
  }, null, 8, ["block", "context"]))), 128))
104
104
  ]),
105
105
  _: 1
106
- }, 16)) : w("v-if", !0);
106
+ }, 16)) : y("v-if", !0);
107
107
  }
108
- const L = /* @__PURE__ */ P(V, [["render", x], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/component-ref/component-ref.vue"]]);
108
+ const D = /* @__PURE__ */ P(O, [["render", U], ["__file", "/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/component-ref/component-ref.vue"]]);
109
109
  export {
110
- L as default
110
+ D as default
111
111
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("./index.fb1c2a1f.cjs"),a=require("./get-block-actions.e6dfffe3.cjs"),d=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function b(e,r,c,s,l,p){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=n._export_sfc(d,[["render",b],["__file","/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/interactive-element.vue"]]),f=({componentOptions:e,builderBlock:r,context:c,componentRef:s,includeBlockProps:l,isInteractive:p,contextValue:i})=>p?{Wrapper:s,block:r,context:c,wrapperProps:e}:{...e,...l?{attributes:a.getBlockProperties({block:r,context:i})}:{}},B=o.defineComponent({name:"component-ref",components:{Block:n.Block,BlockStyles:n.BlockStyles,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?n.wrapComponentRef(m):this.componentRef,getWrapperProps:f}}});function g(e,r,c,s,l,p){const i=o.resolveComponent("block"),k=o.resolveComponent("block-styles");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(t,u)=>(o.openBlock(),o.createBlock(i,{key:"block-"+t.id,block:t,context:e.context,registeredComponents:e.registeredComponents},null,8,["block","context","registeredComponents"]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(t,u)=>(o.openBlock(),o.createBlock(k,{key:"block-style-"+t.id,block:t,context:e.context},null,8,["block","context"]))),128))]),_:1},16)):o.createCommentVNode("v-if",!0)}const v=n._export_sfc(B,[["render",g],["__file","/Users/samijaber/code/work/builder/packages/sdks/output/vue/vue3/src/components/block/components/component-ref/component-ref.vue"]]);exports.default=v;
@@ -6,11 +6,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
6
6
  canTrack?: any;
7
7
  builderContextSignal?: any;
8
8
  model?: any;
9
- showContent?: any;
10
- classNameProp?: any;
11
9
  locale?: any;
12
10
  includeRefs?: any;
13
11
  enrich?: any;
12
+ showContent?: any;
13
+ classNameProp?: any;
14
14
  }>, unknown, {
15
15
  forceReRenderCount: number;
16
16
  lastUpdated: number;
@@ -60,6 +60,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
60
60
  }): void;
61
61
  runHttpRequests(): void;
62
62
  emitStateUpdate(): void;
63
+ elementRef_onIniteditingbldr(event: any): void;
64
+ elementRef_onInitpreviewingbldr(event: any): void;
63
65
  _classStringToObject(str: string): Record<string, boolean>;
64
66
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
65
67
  context?: any;
@@ -68,11 +70,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
68
70
  canTrack?: any;
69
71
  builderContextSignal?: any;
70
72
  model?: any;
71
- showContent?: any;
72
- classNameProp?: any;
73
73
  locale?: any;
74
74
  includeRefs?: any;
75
75
  enrich?: any;
76
+ showContent?: any;
77
+ classNameProp?: any;
76
78
  }>>>, {
77
79
  readonly context?: any;
78
80
  readonly content?: any;
@@ -80,10 +82,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
80
82
  readonly canTrack?: any;
81
83
  readonly builderContextSignal?: any;
82
84
  readonly model?: any;
83
- readonly showContent?: any;
84
- readonly classNameProp?: any;
85
85
  readonly locale?: any;
86
86
  readonly includeRefs?: any;
87
87
  readonly enrich?: any;
88
+ readonly showContent?: any;
89
+ readonly classNameProp?: any;
88
90
  }, {}>;
89
91
  export default _default;
@@ -9,11 +9,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
9
9
  apiVersion?: any;
10
10
  canTrack?: any;
11
11
  model?: any;
12
- showContent?: any;
13
- classNameProp?: any;
14
12
  locale?: any;
15
13
  includeRefs?: any;
16
14
  enrich?: any;
15
+ showContent?: any;
16
+ classNameProp?: any;
17
17
  customComponents?: any;
18
18
  isSsrAbTest?: any;
19
19
  }>, unknown, {
@@ -43,11 +43,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
43
43
  apiVersion?: any;
44
44
  canTrack?: any;
45
45
  model?: any;
46
- showContent?: any;
47
- classNameProp?: any;
48
46
  locale?: any;
49
47
  includeRefs?: any;
50
48
  enrich?: any;
49
+ showContent?: any;
50
+ classNameProp?: any;
51
51
  customComponents?: any;
52
52
  isSsrAbTest?: any;
53
53
  }>>>, {
@@ -58,11 +58,11 @@ declare const _default: import("vue").DefineComponent<Readonly<{
58
58
  readonly apiVersion?: any;
59
59
  readonly canTrack?: any;
60
60
  readonly model?: any;
61
- readonly showContent?: any;
62
- readonly classNameProp?: any;
63
61
  readonly locale?: any;
64
62
  readonly includeRefs?: any;
65
63
  readonly enrich?: any;
64
+ readonly showContent?: any;
65
+ readonly classNameProp?: any;
66
66
  readonly customComponents?: any;
67
67
  readonly isSsrAbTest?: any;
68
68
  }, {}>;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.6.4";
1
+ export declare const SDK_VERSION = "0.7.1-0";
@@ -0,0 +1,6 @@
1
+ import type { ExecutorArgs } from './helpers.js';
2
+ /**
3
+ * Even though we have separate runtimes for browser/node/edge, sometimes frameworks will
4
+ * end up sending the server runtime code to the browser (most notably in dev mode).
5
+ */
6
+ export declare const chooseBrowserOrServerEval: (args: ExecutorArgs) => any;
@@ -1,6 +1,2 @@
1
- import type { ExecutorArgs } from './helpers.js';
2
- export type EvaluatorArgs = Omit<ExecutorArgs, 'builder' | 'event'> & {
3
- event?: Event;
4
- isExpression?: boolean;
5
- };
1
+ import type { EvaluatorArgs } from './helpers.js';
6
2
  export declare function evaluate({ code, context, localState, rootState, rootSetState, event, isExpression }: EvaluatorArgs): any;
@@ -1,5 +1,9 @@
1
1
  import type { BuilderContextInterface, BuilderRenderState } from '../../context/types.js';
2
- import type { getUserAttributes } from '../track/helpers.js';
2
+ import { getUserAttributes } from '../track/helpers.js';
3
+ export type EvaluatorArgs = Omit<ExecutorArgs, 'builder' | 'event'> & {
4
+ event?: Event;
5
+ isExpression?: boolean;
6
+ };
3
7
  export type BuilderGlobals = {
4
8
  isEditing: boolean | undefined;
5
9
  isBrowser: boolean | undefined;
@@ -16,3 +20,5 @@ export type FunctionArguments = ReturnType<typeof getFunctionArguments>;
16
20
  export declare const getFunctionArguments: ({ builder, context, event, state }: Pick<ExecutorArgs, "context" | "builder" | "event"> & {
17
21
  state: BuilderRenderState;
18
22
  }) => [string, Event | BuilderRenderState | import("../../context/types.js").BuilderRenderContext | BuilderGlobals | undefined][];
23
+ export declare const getBuilderGlobals: () => BuilderGlobals;
24
+ export declare const parseCode: (code: string, { isExpression }: Pick<EvaluatorArgs, 'isExpression'>) => string;
@@ -1 +1 @@
1
- export { evaluator } from '../browser-runtime/index.js';
1
+ export { runInNode as evaluator } from './node-runtime.js';
@@ -0,0 +1,2 @@
1
+ import type { ExecutorArgs } from '../helpers.js';
2
+ export declare const runInNode: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
@@ -5,11 +5,42 @@ export interface GetContentOptions {
5
5
  apiKey: string;
6
6
  /** Number of items to fetch. Default is 1 */
7
7
  limit?: number;
8
- /** User attributes to target on, such as { urlPath: '/foo', device: 'mobile', ...etc } */
8
+ /**
9
+ * Use to specify an offset for pagination of results. The default is 0.
10
+ */
11
+ offset?: number;
12
+ /**
13
+ * User attribute key value pairs to be used for targeting
14
+ * https://www.builder.io/c/docs/custom-targeting-attributes
15
+ *
16
+ * e.g.
17
+ * ```js
18
+ * userAttributes: {
19
+ * urlPath: '/',
20
+ * returnVisitor: true,
21
+ * device: 'mobile'
22
+ * }
23
+ * ```
24
+ */
9
25
  userAttributes?: (Record<string, string> & {
10
26
  urlPath?: string;
11
27
  }) | null;
12
- /** Custom query */
28
+ /**
29
+ * Mongodb style query of your data. E.g.:
30
+ *
31
+ * ```js
32
+ * query: {
33
+ * id: 'abc123',
34
+ * data: {
35
+ * myCustomField: { $gt: 20 },
36
+ * }
37
+ * }
38
+ * ```
39
+ *
40
+ * See more info on MongoDB's query operators and format.
41
+ *
42
+ * @see {@link https://docs.mongodb.com/manual/reference/operator/query/}
43
+ */
13
44
  query?: Record<string, any>;
14
45
  /**
15
46
  * Any other API options.
@@ -30,7 +61,7 @@ export interface GetContentOptions {
30
61
  */
31
62
  canTrack?: boolean;
32
63
  /**
33
- * Include references in the response. Defaults to `true`.
64
+ * Include content of references in the response. Defaults to `true`.
34
65
  * @deprecated use `enrich` instead
35
66
  */
36
67
  includeRefs?: boolean;
@@ -48,4 +79,64 @@ export interface GetContentOptions {
48
79
  * Defaults to `v3`.
49
80
  */
50
81
  apiVersion?: 'v2' | 'v3';
82
+ /**
83
+ * Only include these fields.
84
+ * Note: 'omit' takes precedence over 'fields'
85
+ *
86
+ * @example
87
+ * ```
88
+ * fields: 'id, name, data.customField'
89
+ * ```
90
+ */
91
+ fields?: string;
92
+ /**
93
+ * Omit only these fields.
94
+ * Note: 'omit' takes precedence over 'fields'
95
+ *
96
+ * @example
97
+ * ```
98
+ * omit: 'data.bigField,data.blocks'
99
+ * ```
100
+ */
101
+ omit?: string;
102
+ /**
103
+ * Seconds to cache content. Sets the max-age of the cache-control header
104
+ * response header.
105
+ *
106
+ * Use a higher value for better performance, lower for content that will change more frequently
107
+ *
108
+ * @see {@link https://www.builder.io/c/docs/query-api#__next:~:text=%26includeRefs%3Dtrue-,cacheSeconds,-No}
109
+ */
110
+ cacheSeconds?: number;
111
+ /**
112
+ * Builder.io uses stale-while-revalidate caching at the CDN level. This means we always serve
113
+ * from edge cache and update caches in the background for maximum possible performance. This also
114
+ * means that the more frequently content is requested, the more fresh it will be. The longest we
115
+ * will ever hold something in stale cache is 1 day by default, and you can set this to be shorter
116
+ * yourself as well. We suggest keeping this high unless you have content that must change rapidly
117
+ * and gets very little traffic.
118
+ *
119
+ * @see {@link https://www.fastly.com/blog/prevent-application-network-instability-serve-stale-content}
120
+ */
121
+ staleCacheSeconds?: number;
122
+ /**
123
+ * Property to order results by.
124
+ * Use 1 for ascending and -1 for descending.
125
+ *
126
+ * The key is what you're sorting on, so the following example sorts by createdDate
127
+ * and because the value is 1, the sort is ascending.
128
+ *
129
+ * @example
130
+ * ```
131
+ * createdDate: 1
132
+ * ```
133
+ */
134
+ sort?: {
135
+ [key: string]: 1 | -1;
136
+ };
137
+ /**
138
+ * Include content entries in a response that are still in
139
+ * draft mode and un-archived. Default is false.
140
+ */
141
+ includeUnpublished?: boolean;
51
142
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Identifies node runtime
3
+ */
4
+ export declare function isNodeRuntime(): boolean;
@@ -1,4 +1,4 @@
1
- import { T as n, c as i, e as l } from "./index.f80ab661.js";
1
+ import { T as n, c as i, e as l } from "./index.188d2ee5.js";
2
2
  function u(e) {
3
3
  const t = {};
4
4
  if (typeof e != "string")
@@ -1 +1 @@
1
- "use strict";const o=require("./index.61c09215.cjs");function i(e){const t={};if(typeof e!="string")return t;const r=e.trim().split(/\\s+/);for(const s of r)t[s]=!0;return t}function l(e){return e.class=i(e.class),e}const u=e=>({href:e.href});function f({block:e,context:t}){var s;const r={...u(e),...e.properties,"builder-id":e.id,style:e.style?v(e.style):void 0,class:[e.id,"builder-block",e.class,(s=e.properties)==null?void 0:s.class].filter(Boolean).join(" ")};return l(r)}function v(e){switch(o.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return o.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const p=e=>`v-on:${e.toLowerCase()}`,d=(e,t)=>r=>o.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function S(e){var s;const t={},r=(s=e.block.actions)!=null?s:{};for(const n in r){if(!r.hasOwnProperty(n))continue;const a=r[n];let c=p(n);if(e.stripPrefix)switch(o.TARGET){case"vue2":case"vue3":c=c.replace("v-on:","");break;case"svelte":c=c.replace("on:","");break}t[c]=d(a,e)}return t}exports.getBlockActions=S;exports.getBlockProperties=f;
1
+ "use strict";const o=require("./index.fb1c2a1f.cjs");function i(e){const t={};if(typeof e!="string")return t;const r=e.trim().split(/\\s+/);for(const s of r)t[s]=!0;return t}function l(e){return e.class=i(e.class),e}const u=e=>({href:e.href});function f({block:e,context:t}){var s;const r={...u(e),...e.properties,"builder-id":e.id,style:e.style?v(e.style):void 0,class:[e.id,"builder-block",e.class,(s=e.properties)==null?void 0:s.class].filter(Boolean).join(" ")};return l(r)}function v(e){switch(o.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return o.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const p=e=>`v-on:${e.toLowerCase()}`,d=(e,t)=>r=>o.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function S(e){var s;const t={},r=(s=e.block.actions)!=null?s:{};for(const n in r){if(!r.hasOwnProperty(n))continue;const a=r[n];let c=p(n);if(e.stripPrefix)switch(o.TARGET){case"vue2":case"vue3":c=c.replace("v-on:","");break;case"svelte":c=c.replace("on:","");break}t[c]=d(a,e)}return t}exports.getBlockActions=S;exports.getBlockProperties=f;