@builder.io/sdk-vue 0.0.3-1 → 0.0.3

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 (238) hide show
  1. package/README.md +2 -14
  2. package/package.json +5 -4
  3. package/packages/_vue2/dist/{block-styles.c531694e.cjs → block-styles.7d59e6ba.cjs} +2 -2
  4. package/packages/_vue2/dist/{block-styles.234651b2.js → block-styles.bc1f94cc.js} +3 -3
  5. package/packages/_vue2/dist/get-processed-block.73e1ad82.js +40 -0
  6. package/packages/_vue2/dist/get-processed-block.c83086c1.cjs +1 -0
  7. package/packages/_vue2/dist/{index.19474a4f.js → index.02cbe11b.js} +302 -300
  8. package/packages/_vue2/dist/index.1d7bcb8c.cjs +4 -0
  9. package/packages/_vue2/dist/render-block.4d368620.cjs +3 -0
  10. package/packages/_vue2/dist/{render-block.3cf39e0e.js → render-block.4fdcffb1.js} +31 -38
  11. package/packages/_vue2/dist/render-component-with-context.45bddebc.js +53 -0
  12. package/packages/_vue2/dist/render-component-with-context.83718839.cjs +1 -0
  13. package/packages/_vue2/dist/{render-component.a9d4efb1.cjs → render-component.4b341c2e.cjs} +1 -1
  14. package/packages/_vue2/dist/{render-component.56e5101d.js → render-component.a8a981da.js} +3 -3
  15. package/packages/_vue2/dist/{render-inlined-styles.b6534355.js → render-inlined-styles.198fc516.js} +1 -1
  16. package/packages/_vue2/dist/{render-inlined-styles.9b6439ce.cjs → render-inlined-styles.d903e589.cjs} +1 -1
  17. package/packages/_vue2/dist/{render-repeated-block.3e536590.js → render-repeated-block.7547b966.js} +2 -2
  18. package/packages/_vue2/dist/{render-repeated-block.95861e2e.cjs → render-repeated-block.d2d7376a.cjs} +1 -1
  19. package/packages/_vue2/dist/{render-styles.9d4787d0.cjs → render-styles.2b14f2b8.cjs} +1 -1
  20. package/packages/_vue2/dist/{render-styles.ad89c45c.js → render-styles.d7585530.js} +2 -2
  21. package/packages/_vue2/dist/sdk.cjs +1 -1
  22. package/packages/_vue2/dist/sdk.js +4 -4
  23. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +11 -0
  24. package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +2 -0
  25. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +306 -0
  26. package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +2 -0
  27. package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  28. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  29. package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +2 -0
  30. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  31. package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +1 -0
  32. package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +2 -0
  33. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  34. package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +2 -0
  35. package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +1 -0
  36. package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +2 -0
  37. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +17 -0
  38. package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +2 -0
  39. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +11 -0
  40. package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +2 -0
  41. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +396 -0
  42. package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +2 -0
  43. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +8 -0
  44. package/packages/_vue2/dist/src/blocks/util.d.ts +1 -0
  45. package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +2 -0
  46. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +25 -0
  47. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  48. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  49. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +237 -0
  50. package/packages/_vue2/dist/src/components/render-block/render-component-with-context.vue.d.ts +116 -0
  51. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +141 -0
  52. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +231 -0
  53. package/packages/_vue2/dist/src/components/render-block/types.d.ts +6 -0
  54. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +279 -0
  55. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  56. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +368 -0
  57. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  58. package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +6 -0
  59. package/packages/_vue2/dist/src/constants/device-sizes.d.ts +2 -0
  60. package/packages/_vue2/dist/src/constants/target.d.ts +2 -0
  61. package/packages/_vue2/dist/src/context/builder.context.d.ts +2 -0
  62. package/packages/_vue2/dist/src/context/types.d.ts +17 -0
  63. package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  64. package/packages/_vue2/dist/src/functions/evaluate.d.ts +5 -0
  65. package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +1 -0
  66. package/packages/_vue2/dist/src/functions/extract-text-styles.d.ts +4 -0
  67. package/packages/_vue2/dist/src/functions/fast-clone.d.ts +4 -0
  68. package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  69. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +9 -0
  70. package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +2 -0
  71. package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -0
  72. package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +3 -0
  73. package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  74. package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  75. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +9 -0
  76. package/packages/_vue2/dist/src/functions/get-content/types.d.ts +31 -0
  77. package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -0
  78. package/packages/_vue2/dist/src/functions/get-global-this.d.ts +1 -0
  79. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +10 -0
  80. package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  81. package/packages/_vue2/dist/src/functions/is-browser.d.ts +1 -0
  82. package/packages/_vue2/dist/src/functions/is-editing.d.ts +1 -0
  83. package/packages/_vue2/dist/src/functions/is-iframe.d.ts +1 -0
  84. package/packages/_vue2/dist/src/functions/is-previewing.d.ts +1 -0
  85. package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +2 -0
  86. package/packages/_vue2/dist/src/functions/register-component.d.ts +14 -0
  87. package/packages/_vue2/dist/src/functions/register.d.ts +16 -0
  88. package/packages/_vue2/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  89. package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +4 -0
  90. package/packages/_vue2/dist/src/functions/set.d.ts +7 -0
  91. package/packages/_vue2/dist/src/functions/track.d.ts +21 -0
  92. package/packages/_vue2/dist/src/functions/transform-block.d.ts +2 -0
  93. package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +8 -0
  94. package/packages/_vue2/dist/src/helpers/cookie.d.ts +15 -0
  95. package/packages/_vue2/dist/src/helpers/css.d.ts +5 -0
  96. package/packages/_vue2/dist/src/helpers/flatten.d.ts +6 -0
  97. package/packages/_vue2/dist/src/helpers/localStorage.d.ts +8 -0
  98. package/packages/_vue2/dist/src/helpers/nullable.d.ts +2 -0
  99. package/packages/_vue2/dist/src/helpers/sessionId.d.ts +6 -0
  100. package/packages/_vue2/dist/src/helpers/url.d.ts +6 -0
  101. package/packages/_vue2/dist/src/helpers/uuid.d.ts +8 -0
  102. package/packages/_vue2/dist/src/helpers/visitorId.d.ts +6 -0
  103. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  104. package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +1 -0
  105. package/packages/_vue2/dist/src/index.d.ts +8 -0
  106. package/packages/_vue2/dist/src/scripts/init-editing.d.ts +2 -0
  107. package/packages/_vue2/dist/src/types/builder-block.d.ts +57 -0
  108. package/packages/_vue2/dist/src/types/builder-content.d.ts +38 -0
  109. package/packages/_vue2/dist/src/types/can-track.d.ts +3 -0
  110. package/packages/_vue2/dist/src/types/components.d.ts +177 -0
  111. package/packages/_vue2/dist/src/types/deep-partial.d.ts +3 -0
  112. package/packages/_vue2/dist/src/types/element.d.ts +59 -0
  113. package/packages/_vue2/dist/src/types/typescript.d.ts +5 -0
  114. package/packages/_vue2/dist/style.css +1 -1
  115. package/packages/_vue3/dist/{block-styles.e3632a69.cjs → block-styles.44a21830.cjs} +2 -2
  116. package/packages/_vue3/dist/{block-styles.88005ace.js → block-styles.4fb6c64e.js} +3 -3
  117. package/packages/_vue3/dist/get-processed-block.19c3700a.js +40 -0
  118. package/packages/_vue3/dist/get-processed-block.d0247791.cjs +1 -0
  119. package/packages/_vue3/dist/index.acbcbf48.cjs +4 -0
  120. package/packages/_vue3/dist/{index.2472a241.js → index.c45f283d.js} +305 -302
  121. package/packages/_vue3/dist/render-block.9c91f64e.cjs +3 -0
  122. package/packages/_vue3/dist/{render-block.593fc01c.js → render-block.a0b27065.js} +78 -95
  123. package/packages/_vue3/dist/{render-component-with-context.f5cab824.js → render-component-with-context.205a19d1.js} +15 -10
  124. package/packages/_vue3/dist/render-component-with-context.fd83122c.cjs +1 -0
  125. package/packages/_vue3/dist/{render-component.06b4587b.cjs → render-component.38a974b8.cjs} +1 -1
  126. package/packages/_vue3/dist/{render-component.d5c26257.js → render-component.fbf7bbcb.js} +3 -3
  127. package/packages/_vue3/dist/{render-inlined-styles.be1aba8b.js → render-inlined-styles.3f53b0f1.js} +1 -1
  128. package/packages/_vue3/dist/{render-inlined-styles.3fab5467.cjs → render-inlined-styles.631d4b7f.cjs} +1 -1
  129. package/packages/_vue3/dist/{render-repeated-block.d1580cb5.cjs → render-repeated-block.35b18332.cjs} +1 -1
  130. package/packages/_vue3/dist/{render-repeated-block.1d1c64a8.js → render-repeated-block.4f78496b.js} +2 -2
  131. package/packages/_vue3/dist/{render-styles.4717b645.cjs → render-styles.1482932c.cjs} +1 -1
  132. package/packages/_vue3/dist/{render-styles.efaaccdf.js → render-styles.32666ea6.js} +2 -2
  133. package/packages/_vue3/dist/sdk.cjs +1 -1
  134. package/packages/_vue3/dist/sdk.js +7 -7
  135. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +11 -0
  136. package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +2 -0
  137. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +77 -0
  138. package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +2 -0
  139. package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  140. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  141. package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +2 -0
  142. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  143. package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +1 -0
  144. package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +2 -0
  145. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  146. package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +2 -0
  147. package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +1 -0
  148. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +31 -0
  149. package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +2 -0
  150. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +17 -0
  151. package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +2 -0
  152. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +11 -0
  153. package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +2 -0
  154. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +167 -0
  155. package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +2 -0
  156. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +8 -0
  157. package/packages/_vue3/dist/src/blocks/util.d.ts +1 -0
  158. package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +2 -0
  159. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +25 -0
  160. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  161. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  162. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +8 -0
  163. package/packages/_vue3/dist/src/components/render-block/render-component-with-context.vue.d.ts +51 -0
  164. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +44 -0
  165. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +2 -0
  166. package/packages/_vue3/dist/src/components/render-block/types.d.ts +6 -0
  167. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +50 -0
  168. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  169. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +139 -0
  170. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  171. package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +6 -0
  172. package/packages/_vue3/dist/src/constants/device-sizes.d.ts +2 -0
  173. package/packages/_vue3/dist/src/constants/target.d.ts +2 -0
  174. package/packages/_vue3/dist/src/context/builder.context.d.ts +2 -0
  175. package/packages/_vue3/dist/src/context/types.d.ts +17 -0
  176. package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  177. package/packages/_vue3/dist/src/functions/evaluate.d.ts +5 -0
  178. package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +1 -0
  179. package/packages/_vue3/dist/src/functions/extract-text-styles.d.ts +4 -0
  180. package/packages/_vue3/dist/src/functions/fast-clone.d.ts +4 -0
  181. package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  182. package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +9 -0
  183. package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +2 -0
  184. package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -0
  185. package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +3 -0
  186. package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  187. package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  188. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +9 -0
  189. package/packages/_vue3/dist/src/functions/get-content/types.d.ts +31 -0
  190. package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -0
  191. package/packages/_vue3/dist/src/functions/get-global-this.d.ts +1 -0
  192. package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +10 -0
  193. package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  194. package/packages/_vue3/dist/src/functions/is-browser.d.ts +1 -0
  195. package/packages/_vue3/dist/src/functions/is-editing.d.ts +1 -0
  196. package/packages/_vue3/dist/src/functions/is-iframe.d.ts +1 -0
  197. package/packages/_vue3/dist/src/functions/is-previewing.d.ts +1 -0
  198. package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +2 -0
  199. package/packages/_vue3/dist/src/functions/register-component.d.ts +14 -0
  200. package/packages/_vue3/dist/src/functions/register.d.ts +16 -0
  201. package/packages/_vue3/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  202. package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +4 -0
  203. package/packages/_vue3/dist/src/functions/set.d.ts +7 -0
  204. package/packages/_vue3/dist/src/functions/track.d.ts +21 -0
  205. package/packages/_vue3/dist/src/functions/transform-block.d.ts +2 -0
  206. package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +8 -0
  207. package/packages/_vue3/dist/src/helpers/cookie.d.ts +15 -0
  208. package/packages/_vue3/dist/src/helpers/css.d.ts +5 -0
  209. package/packages/_vue3/dist/src/helpers/flatten.d.ts +6 -0
  210. package/packages/_vue3/dist/src/helpers/localStorage.d.ts +8 -0
  211. package/packages/_vue3/dist/src/helpers/nullable.d.ts +2 -0
  212. package/packages/_vue3/dist/src/helpers/sessionId.d.ts +6 -0
  213. package/packages/_vue3/dist/src/helpers/url.d.ts +6 -0
  214. package/packages/_vue3/dist/src/helpers/uuid.d.ts +8 -0
  215. package/packages/_vue3/dist/src/helpers/visitorId.d.ts +6 -0
  216. package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  217. package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +1 -0
  218. package/packages/_vue3/dist/src/index.d.ts +8 -0
  219. package/packages/_vue3/dist/src/scripts/init-editing.d.ts +2 -0
  220. package/packages/_vue3/dist/src/types/builder-block.d.ts +57 -0
  221. package/packages/_vue3/dist/src/types/builder-content.d.ts +38 -0
  222. package/packages/_vue3/dist/src/types/can-track.d.ts +3 -0
  223. package/packages/_vue3/dist/src/types/components.d.ts +177 -0
  224. package/packages/_vue3/dist/src/types/deep-partial.d.ts +3 -0
  225. package/packages/_vue3/dist/src/types/element.d.ts +59 -0
  226. package/packages/_vue3/dist/src/types/typescript.d.ts +5 -0
  227. package/packages/_vue3/dist/style.css +1 -1
  228. package/packages/_vue2/dist/get-processed-block.1ba91586.js +0 -40
  229. package/packages/_vue2/dist/get-processed-block.6a23a7de.cjs +0 -1
  230. package/packages/_vue2/dist/index.e85eb7cf.cjs +0 -4
  231. package/packages/_vue2/dist/render-block.4f260352.cjs +0 -3
  232. package/packages/_vue2/dist/render-component-with-context.dcb1f5da.js +0 -53
  233. package/packages/_vue2/dist/render-component-with-context.f76bfccc.cjs +0 -1
  234. package/packages/_vue3/dist/get-processed-block.0d475a13.js +0 -40
  235. package/packages/_vue3/dist/get-processed-block.c75eb6d1.cjs +0 -1
  236. package/packages/_vue3/dist/index.e7c6fe34.cjs +0 -4
  237. package/packages/_vue3/dist/render-block.92199649.cjs +0 -3
  238. package/packages/_vue3/dist/render-component-with-context.fb4f86a9.cjs +0 -1
@@ -0,0 +1,237 @@
1
+ import type { BuilderContextInterface } from "../../context/types.js";
2
+ import type { BuilderBlock } from "../../types/builder-block.js";
3
+ export declare type RenderBlockProps = {
4
+ block: BuilderBlock;
5
+ context: BuilderContextInterface;
6
+ };
7
+ declare const _sfc_main: {
8
+ name: string;
9
+ components: {
10
+ RenderRepeatedBlock: () => Promise<{
11
+ name: string;
12
+ components: {
13
+ RenderBlock: () => Promise<any>;
14
+ };
15
+ props: string[];
16
+ provide(): {
17
+ BuilderContext: {
18
+ readonly content: any;
19
+ readonly state: any;
20
+ readonly context: any;
21
+ readonly apiKey: any;
22
+ readonly registeredComponents: any;
23
+ readonly inheritedStyles: any;
24
+ };
25
+ };
26
+ }>;
27
+ BlockStyles: () => Promise<{
28
+ name: string;
29
+ components: {
30
+ RenderInlinedStyles: () => Promise<{
31
+ name: string;
32
+ props: string[];
33
+ data: () => {
34
+ TARGET: string;
35
+ };
36
+ computed: {
37
+ injectedStyleScript(): any;
38
+ tagName(): string;
39
+ };
40
+ }>;
41
+ };
42
+ props: string[];
43
+ data: () => {
44
+ TARGET: string;
45
+ };
46
+ computed: {
47
+ useBlock(): any;
48
+ css(): any;
49
+ };
50
+ }>;
51
+ RenderComponentWithContext: () => Promise<{
52
+ name: string;
53
+ components: {
54
+ RenderComponent: () => Promise<{
55
+ name: string;
56
+ components: {
57
+ RenderBlock: () => Promise<any>;
58
+ BlockStyles: () => Promise<{
59
+ name: string;
60
+ components: {
61
+ RenderInlinedStyles: () => Promise<{
62
+ name: string;
63
+ props: string[];
64
+ data: () => {
65
+ TARGET: string;
66
+ };
67
+ computed: {
68
+ injectedStyleScript(): any;
69
+ tagName(): string;
70
+ };
71
+ }>;
72
+ };
73
+ props: string[];
74
+ data: () => {
75
+ TARGET: string;
76
+ };
77
+ computed: {
78
+ useBlock(): any;
79
+ css(): any;
80
+ };
81
+ }>;
82
+ };
83
+ props: string[];
84
+ data: () => {
85
+ markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
86
+ };
87
+ }>;
88
+ };
89
+ props: string[];
90
+ provide(): {
91
+ BuilderContext: {
92
+ readonly content: any;
93
+ readonly state: any;
94
+ readonly context: any;
95
+ readonly apiKey: any;
96
+ readonly registeredComponents: any;
97
+ readonly inheritedStyles: any;
98
+ };
99
+ };
100
+ }>;
101
+ RenderComponent: () => Promise<{
102
+ name: string;
103
+ components: {
104
+ RenderBlock: () => Promise<any>;
105
+ BlockStyles: () => Promise<{
106
+ name: string;
107
+ components: {
108
+ RenderInlinedStyles: () => Promise<{
109
+ name: string;
110
+ props: string[];
111
+ data: () => {
112
+ TARGET: string;
113
+ };
114
+ computed: {
115
+ injectedStyleScript(): any;
116
+ tagName(): string;
117
+ };
118
+ }>;
119
+ };
120
+ props: string[];
121
+ data: () => {
122
+ TARGET: string;
123
+ };
124
+ computed: {
125
+ useBlock(): any;
126
+ css(): any;
127
+ };
128
+ }>;
129
+ };
130
+ props: string[];
131
+ data: () => {
132
+ markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
133
+ };
134
+ }>;
135
+ };
136
+ props: string[];
137
+ data: () => {
138
+ isEmptyHtmlElement: (tagName: unknown) => boolean;
139
+ };
140
+ computed: {
141
+ component(): any;
142
+ tagName(): any;
143
+ useBlock(): any;
144
+ attributes(): any;
145
+ shouldWrap(): any;
146
+ renderComponentProps(): any;
147
+ children(): any;
148
+ childrenWithoutParentComponent(): any;
149
+ repeatItemData(): any;
150
+ inheritedTextStyles(): Partial<CSSStyleDeclaration>;
151
+ childrenContext(): any;
152
+ renderComponentTag(): (() => Promise<{
153
+ name: string;
154
+ components: {
155
+ RenderComponent: () => Promise<{
156
+ name: string;
157
+ components: {
158
+ RenderBlock: () => Promise<any>;
159
+ BlockStyles: () => Promise<{
160
+ name: string;
161
+ components: {
162
+ RenderInlinedStyles: () => Promise<{
163
+ name: string;
164
+ props: string[];
165
+ data: () => {
166
+ TARGET: string;
167
+ };
168
+ computed: {
169
+ injectedStyleScript(): any;
170
+ tagName(): string;
171
+ };
172
+ }>;
173
+ };
174
+ props: string[];
175
+ data: () => {
176
+ TARGET: string;
177
+ };
178
+ computed: {
179
+ useBlock(): any;
180
+ css(): any;
181
+ };
182
+ }>;
183
+ };
184
+ props: string[];
185
+ data: () => {
186
+ markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
187
+ };
188
+ }>;
189
+ };
190
+ props: string[];
191
+ provide(): {
192
+ BuilderContext: {
193
+ readonly content: any;
194
+ readonly state: any;
195
+ readonly context: any;
196
+ readonly apiKey: any;
197
+ readonly registeredComponents: any;
198
+ readonly inheritedStyles: any;
199
+ };
200
+ };
201
+ }>) | (() => Promise<{
202
+ name: string;
203
+ components: {
204
+ RenderBlock: () => Promise<any>;
205
+ BlockStyles: () => Promise<{
206
+ name: string;
207
+ components: {
208
+ RenderInlinedStyles: () => Promise<{
209
+ name: string;
210
+ props: string[];
211
+ data: () => {
212
+ TARGET: string;
213
+ };
214
+ computed: {
215
+ injectedStyleScript(): any;
216
+ tagName(): string;
217
+ };
218
+ }>;
219
+ };
220
+ props: string[];
221
+ data: () => {
222
+ TARGET: string;
223
+ };
224
+ computed: {
225
+ useBlock(): any;
226
+ css(): any;
227
+ };
228
+ }>;
229
+ };
230
+ props: string[];
231
+ data: () => {
232
+ markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
233
+ };
234
+ }>) | "RenderComponent";
235
+ };
236
+ };
237
+ export default _sfc_main;
@@ -0,0 +1,116 @@
1
+ declare const _sfc_main: {
2
+ name: string;
3
+ components: {
4
+ RenderComponent: () => Promise<{
5
+ name: string;
6
+ components: {
7
+ RenderBlock: () => Promise<{
8
+ name: string;
9
+ components: {
10
+ RenderRepeatedBlock: () => Promise<{
11
+ name: string;
12
+ components: {
13
+ RenderBlock: () => Promise<any>;
14
+ };
15
+ props: string[];
16
+ provide(): {
17
+ BuilderContext: {
18
+ readonly content: any;
19
+ readonly state: any;
20
+ readonly context: any;
21
+ readonly apiKey: any;
22
+ readonly registeredComponents: any;
23
+ readonly inheritedStyles: any;
24
+ };
25
+ };
26
+ }>;
27
+ BlockStyles: () => Promise<{
28
+ name: string;
29
+ components: {
30
+ RenderInlinedStyles: () => Promise<{
31
+ name: string;
32
+ props: string[];
33
+ data: () => {
34
+ TARGET: string;
35
+ };
36
+ computed: {
37
+ injectedStyleScript(): any;
38
+ tagName(): string;
39
+ };
40
+ }>;
41
+ };
42
+ props: string[];
43
+ data: () => {
44
+ TARGET: string;
45
+ };
46
+ computed: {
47
+ useBlock(): any;
48
+ css(): any;
49
+ };
50
+ }>;
51
+ RenderComponentWithContext: () => Promise<any>;
52
+ RenderComponent: () => Promise<any>;
53
+ };
54
+ props: string[];
55
+ data: () => {
56
+ isEmptyHtmlElement: (tagName: unknown) => boolean;
57
+ };
58
+ computed: {
59
+ component(): any;
60
+ tagName(): any;
61
+ useBlock(): any;
62
+ attributes(): any;
63
+ shouldWrap(): any;
64
+ renderComponentProps(): any;
65
+ children(): any;
66
+ childrenWithoutParentComponent(): any;
67
+ repeatItemData(): any;
68
+ inheritedTextStyles(): Partial<CSSStyleDeclaration>;
69
+ childrenContext(): any;
70
+ renderComponentTag(): (() => Promise<any>) | (() => Promise<any>) | "RenderComponent";
71
+ };
72
+ }>;
73
+ BlockStyles: () => Promise<{
74
+ name: string;
75
+ components: {
76
+ RenderInlinedStyles: () => Promise<{
77
+ name: string;
78
+ props: string[];
79
+ data: () => {
80
+ TARGET: string;
81
+ };
82
+ computed: {
83
+ injectedStyleScript(): any;
84
+ tagName(): string;
85
+ };
86
+ }>;
87
+ };
88
+ props: string[];
89
+ data: () => {
90
+ TARGET: string;
91
+ };
92
+ computed: {
93
+ useBlock(): any;
94
+ css(): any;
95
+ };
96
+ }>;
97
+ };
98
+ props: string[];
99
+ data: () => {
100
+ markPropsMutable: typeof import("../../functions/mark-mutable").markPropsMutable;
101
+ };
102
+ }>;
103
+ };
104
+ props: string[];
105
+ provide(): {
106
+ BuilderContext: {
107
+ readonly content: any;
108
+ readonly state: any;
109
+ readonly context: any;
110
+ readonly apiKey: any;
111
+ readonly registeredComponents: any;
112
+ readonly inheritedStyles: any;
113
+ };
114
+ };
115
+ };
116
+ export default _sfc_main;
@@ -0,0 +1,141 @@
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ import type { BuilderContextInterface } from "../../context/types.js";
3
+ export interface RenderComponentProps {
4
+ componentRef: any;
5
+ componentOptions: any;
6
+ blockChildren: BuilderBlock[];
7
+ context: BuilderContextInterface;
8
+ }
9
+ import { markPropsMutable } from "../../functions/mark-mutable.js";
10
+ declare const _sfc_main: {
11
+ name: string;
12
+ components: {
13
+ RenderBlock: () => Promise<{
14
+ name: string;
15
+ components: {
16
+ RenderRepeatedBlock: () => Promise<{
17
+ name: string;
18
+ components: {
19
+ RenderBlock: () => Promise<any>;
20
+ };
21
+ props: string[];
22
+ provide(): {
23
+ BuilderContext: {
24
+ readonly content: any;
25
+ readonly state: any;
26
+ readonly context: any;
27
+ readonly apiKey: any;
28
+ readonly registeredComponents: any;
29
+ readonly inheritedStyles: any;
30
+ };
31
+ };
32
+ }>;
33
+ BlockStyles: () => Promise<{
34
+ name: string;
35
+ components: {
36
+ RenderInlinedStyles: () => Promise<{
37
+ name: string;
38
+ props: string[];
39
+ data: () => {
40
+ TARGET: string;
41
+ };
42
+ computed: {
43
+ injectedStyleScript(): any;
44
+ tagName(): string;
45
+ };
46
+ }>;
47
+ };
48
+ props: string[];
49
+ data: () => {
50
+ TARGET: string;
51
+ };
52
+ computed: {
53
+ useBlock(): any;
54
+ css(): any;
55
+ };
56
+ }>;
57
+ RenderComponentWithContext: () => Promise<{
58
+ name: string;
59
+ components: {
60
+ RenderComponent: () => Promise<any>;
61
+ };
62
+ props: string[];
63
+ provide(): {
64
+ BuilderContext: {
65
+ readonly content: any;
66
+ readonly state: any;
67
+ readonly context: any;
68
+ readonly apiKey: any;
69
+ readonly registeredComponents: any;
70
+ readonly inheritedStyles: any;
71
+ };
72
+ };
73
+ }>;
74
+ RenderComponent: () => Promise<any>;
75
+ };
76
+ props: string[];
77
+ data: () => {
78
+ isEmptyHtmlElement: (tagName: unknown) => boolean;
79
+ };
80
+ computed: {
81
+ component(): any;
82
+ tagName(): any;
83
+ useBlock(): any;
84
+ attributes(): any;
85
+ shouldWrap(): any;
86
+ renderComponentProps(): any;
87
+ children(): any;
88
+ childrenWithoutParentComponent(): any;
89
+ repeatItemData(): any;
90
+ inheritedTextStyles(): Partial<CSSStyleDeclaration>;
91
+ childrenContext(): any;
92
+ renderComponentTag(): (() => Promise<{
93
+ name: string;
94
+ components: {
95
+ RenderComponent: () => Promise<any>;
96
+ };
97
+ props: string[];
98
+ provide(): {
99
+ BuilderContext: {
100
+ readonly content: any;
101
+ readonly state: any;
102
+ readonly context: any;
103
+ readonly apiKey: any;
104
+ readonly registeredComponents: any;
105
+ readonly inheritedStyles: any;
106
+ };
107
+ };
108
+ }>) | (() => Promise<any>) | "RenderComponent";
109
+ };
110
+ }>;
111
+ BlockStyles: () => Promise<{
112
+ name: string;
113
+ components: {
114
+ RenderInlinedStyles: () => Promise<{
115
+ name: string;
116
+ props: string[];
117
+ data: () => {
118
+ TARGET: string;
119
+ };
120
+ computed: {
121
+ injectedStyleScript(): any;
122
+ tagName(): string;
123
+ };
124
+ }>;
125
+ };
126
+ props: string[];
127
+ data: () => {
128
+ TARGET: string;
129
+ };
130
+ computed: {
131
+ useBlock(): any;
132
+ css(): any;
133
+ };
134
+ }>;
135
+ };
136
+ props: string[];
137
+ data: () => {
138
+ markPropsMutable: typeof markPropsMutable;
139
+ };
140
+ };
141
+ export default _sfc_main;