@builder.io/sdk-vue 0.4.5 → 0.5.1

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 (232) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/block-styles.1cc420e2.js +77 -0
  3. package/packages/_vue2/dist/block-styles.2b3d669b.cjs +1 -0
  4. package/packages/_vue2/dist/block-wrapper.563cc17f.cjs +1 -0
  5. package/packages/_vue2/dist/block-wrapper.ea9a7e90.js +66 -0
  6. package/packages/_vue2/dist/block.0f28da5b.cjs +3 -0
  7. package/packages/_vue2/dist/block.7a80ed18.js +178 -0
  8. package/packages/_vue2/dist/blocks-wrapper.9aacce51.js +72 -0
  9. package/packages/_vue2/dist/blocks-wrapper.c53a5f23.cjs +1 -0
  10. package/packages/_vue2/dist/component-ref.a631e3d7.cjs +1 -0
  11. package/packages/_vue2/dist/component-ref.af9c1a83.js +98 -0
  12. package/packages/_vue2/dist/content.2c7fa09f.cjs +1 -0
  13. package/packages/_vue2/dist/content.cb96a18a.js +913 -0
  14. package/packages/_vue2/dist/css.22755cda.js +21 -0
  15. package/packages/_vue2/dist/css.30299cfb.cjs +6 -0
  16. package/packages/_vue2/dist/enable-editor.852e9797.js +427 -0
  17. package/packages/_vue2/dist/enable-editor.c1b99af3.cjs +1 -0
  18. package/packages/_vue2/dist/evaluate.80a7f105.cjs +31 -0
  19. package/packages/_vue2/dist/evaluate.ce05cec9.js +4970 -0
  20. package/packages/_vue2/dist/get-block-actions.93f4e72e.cjs +1 -0
  21. package/packages/_vue2/dist/get-block-actions.c73f00d1.js +36 -0
  22. package/packages/_vue2/dist/get-block-properties.15a37ec1.js +48 -0
  23. package/packages/_vue2/dist/get-block-properties.d0235e56.cjs +1 -0
  24. package/packages/_vue2/dist/get-processed-block.d59ca820.js +52 -0
  25. package/packages/_vue2/dist/get-processed-block.d8938868.cjs +1 -0
  26. package/packages/_vue2/dist/index.1021dd83.cjs +32 -0
  27. package/packages/_vue2/dist/{index.dcd9672f.js → index.ed62d736.js} +565 -575
  28. package/packages/_vue2/dist/inlined-script.3e3c93e8.cjs +1 -0
  29. package/packages/_vue2/dist/{inlined-script.5b4b5fc3.js → inlined-script.cf733bda.js} +1 -1
  30. package/packages/_vue2/dist/{inlined-styles.759d26e8.js → inlined-styles.2709172e.js} +1 -1
  31. package/packages/_vue2/dist/{inlined-styles.9ddda3d7.cjs → inlined-styles.cf1e15e1.cjs} +1 -1
  32. package/packages/_vue2/dist/interactive-element.d51dde5a.js +42 -0
  33. package/packages/_vue2/dist/interactive-element.ea2a7d23.cjs +1 -0
  34. package/packages/_vue2/dist/repeated-block.9a46bc14.js +38 -0
  35. package/packages/_vue2/dist/repeated-block.a299d789.cjs +1 -0
  36. package/packages/_vue2/dist/sdk.cjs +1 -1
  37. package/packages/_vue2/dist/sdk.js +10 -10
  38. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +9 -18
  39. package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +1 -1
  40. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +7 -6
  41. package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +1 -1
  42. package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +1 -1
  43. package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +1 -1
  44. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +1 -1
  45. package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +1 -1
  46. package/packages/_vue2/dist/src/blocks/helpers.d.ts +13 -0
  47. package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +1 -1
  48. package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +6 -6
  49. package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +1 -1
  50. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +27 -6
  51. package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +1 -1
  52. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +9 -6
  53. package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +1 -1
  54. package/packages/_vue2/dist/src/blocks/symbol/symbol.helpers.d.ts +14 -0
  55. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +11 -7
  56. package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +1 -1
  57. package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +1 -1
  58. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +7 -3
  59. package/packages/_vue2/dist/src/components/block/block.helpers.d.ts +13 -0
  60. package/packages/{_vue3/dist/src/components/render-block/render-block.vue.d.ts → _vue2/dist/src/components/block/block.vue.d.ts} +3 -2
  61. package/packages/_vue2/dist/src/components/{render-block → block/components}/block-styles.vue.d.ts +4 -4
  62. package/packages/_vue2/dist/src/components/block/components/block-wrapper.vue.d.ts +29 -0
  63. package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  64. package/packages/_vue2/dist/src/components/block/components/component-ref/component-ref.vue.d.ts +2 -0
  65. package/packages/_vue2/dist/src/components/block/components/interactive-element.vue.d.ts +30 -0
  66. package/packages/_vue2/dist/src/components/block/components/repeated-block.vue.d.ts +16 -0
  67. package/packages/_vue2/dist/src/components/{render-blocks.vue.d.ts → blocks/blocks-wrapper.vue.d.ts} +6 -6
  68. package/packages/_vue2/dist/src/components/blocks/blocks.vue.d.ts +29 -0
  69. package/packages/_vue2/dist/src/components/{render-content/render-content.vue.d.ts → content/components/enable-editor.vue.d.ts} +12 -34
  70. package/packages/{_vue3/dist/src/components/render-content/components/render-styles.helpers.d.ts → _vue2/dist/src/components/content/components/styles.helpers.d.ts} +1 -1
  71. package/packages/_vue2/dist/src/components/{render-content/components/render-styles.vue.d.ts → content/components/styles.vue.d.ts} +1 -1
  72. package/packages/_vue2/dist/src/components/content/content.helpers.d.ts +7 -0
  73. package/packages/{_vue3/dist/src/components/render-content/render-content.types.d.ts → _vue2/dist/src/components/content/content.types.d.ts} +4 -4
  74. package/packages/_vue2/dist/src/components/content/content.vue.d.ts +26 -0
  75. package/packages/_vue2/dist/src/components/{render-content-variants/render-content-variants.types.d.ts → content-variants/content-variants.types.d.ts} +5 -5
  76. package/packages/_vue2/dist/src/components/{render-content-variants/render-content-variants.vue.d.ts → content-variants/content-variants.vue.d.ts} +9 -8
  77. package/packages/_vue2/dist/src/components/{render-content-variants → content-variants}/helpers.d.ts +4 -4
  78. package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
  79. package/packages/_vue2/dist/src/constants/target.d.ts +1 -1
  80. package/packages/_vue2/dist/src/context/builder.context.d.ts +1 -1
  81. package/packages/_vue2/dist/src/context/components.context.d.ts +7 -0
  82. package/packages/_vue2/dist/src/context/types.d.ts +1 -1
  83. package/packages/_vue2/dist/src/functions/{evaluate.d.ts → evaluate/evaluate.d.ts} +5 -2
  84. package/packages/_vue2/dist/src/functions/evaluate/index.d.ts +1 -0
  85. package/packages/_vue2/dist/src/functions/evaluate/interpreter.d.ts +2 -0
  86. package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime.d.ts +2 -0
  87. package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +10 -0
  88. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +1 -0
  89. package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -1
  90. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +2 -6
  91. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +1 -1
  92. package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +1 -1
  93. package/packages/_vue2/dist/src/functions/is-non-node-server.d.ts +4 -0
  94. package/packages/_vue2/dist/src/functions/register-component.d.ts +2 -1
  95. package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +2 -2
  96. package/packages/_vue2/dist/src/helpers/cookie.d.ts +2 -2
  97. package/packages/_vue2/dist/src/helpers/css.d.ts +1 -1
  98. package/packages/_vue2/dist/src/helpers/localStorage.d.ts +2 -2
  99. package/packages/_vue2/dist/src/helpers/preview-lru-cache/get.d.ts +1 -0
  100. package/packages/_vue2/dist/src/helpers/preview-lru-cache/helpers.d.ts +1 -0
  101. package/packages/_vue2/dist/src/helpers/preview-lru-cache/init.d.ts +6 -0
  102. package/packages/_vue2/dist/src/helpers/preview-lru-cache/set.d.ts +7 -0
  103. package/packages/_vue2/dist/src/helpers/preview-lru-cache/types.d.ts +12 -0
  104. package/packages/_vue2/dist/src/helpers/sessionId.d.ts +2 -2
  105. package/packages/_vue2/dist/src/helpers/visitorId.d.ts +1 -1
  106. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +2 -2
  107. package/packages/_vue2/dist/src/index.d.ts +2 -2
  108. package/packages/_vue2/dist/src/types/builder-props.d.ts +9 -0
  109. package/packages/_vue2/dist/src/types/components.d.ts +8 -2
  110. package/packages/_vue2/dist/src/types/enforced-partials.d.ts +1 -1
  111. package/packages/_vue2/dist/src/types/targets.d.ts +1 -3
  112. package/packages/_vue2/dist/src/types/typescript.d.ts +3 -0
  113. package/packages/_vue2/dist/style.css +1 -1
  114. package/packages/_vue2/dist/{render-styles.b41f1309.js → styles.40b9604d.js} +7 -5
  115. package/packages/_vue2/dist/{render-styles.ba0e223a.cjs → styles.f4f6200a.cjs} +4 -4
  116. package/packages/_vue3/dist/block-wrapper.33cc2e78.js +54 -0
  117. package/packages/_vue3/dist/block-wrapper.d1ace9c6.cjs +1 -0
  118. package/packages/_vue3/dist/component-ref.20d41b64.js +111 -0
  119. package/packages/_vue3/dist/component-ref.7c98446d.cjs +1 -0
  120. package/packages/_vue3/dist/get-block-actions.1279eafb.js +79 -0
  121. package/packages/_vue3/dist/get-block-actions.9d2cfc9a.cjs +1 -0
  122. package/packages/_vue3/dist/index.a657fd9d.js +8094 -0
  123. package/packages/_vue3/dist/index.c5eee389.cjs +99 -0
  124. package/packages/_vue3/dist/repeated-block.48916c9e.js +33 -0
  125. package/packages/_vue3/dist/repeated-block.5aa51bc7.cjs +1 -0
  126. package/packages/_vue3/dist/sdk.cjs +1 -72
  127. package/packages/_vue3/dist/sdk.js +22 -3275
  128. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +10 -6
  129. package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +1 -1
  130. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +18 -8
  131. package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +1 -1
  132. package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +1 -1
  133. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +3 -3
  134. package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +1 -1
  135. package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +1 -1
  136. package/packages/_vue3/dist/src/blocks/helpers.d.ts +13 -0
  137. package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +1 -1
  138. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +6 -6
  139. package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +1 -1
  140. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +9 -7
  141. package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +1 -1
  142. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +9 -6
  143. package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +1 -1
  144. package/packages/_vue3/dist/src/blocks/symbol/symbol.helpers.d.ts +14 -0
  145. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +20 -7
  146. package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +1 -1
  147. package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +1 -1
  148. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +7 -3
  149. package/packages/_vue3/dist/src/components/block/block.helpers.d.ts +13 -0
  150. package/packages/{_vue2/dist/src/components/render-block/render-block.vue.d.ts → _vue3/dist/src/components/block/block.vue.d.ts} +3 -2
  151. package/packages/_vue3/dist/src/components/{render-block → block/components}/block-styles.vue.d.ts +4 -4
  152. package/packages/_vue3/dist/src/components/block/components/block-wrapper.vue.d.ts +29 -0
  153. package/packages/_vue3/dist/src/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  154. package/packages/_vue3/dist/src/components/block/components/component-ref/component-ref.vue.d.ts +2 -0
  155. package/packages/_vue3/dist/src/components/block/components/interactive-element.vue.d.ts +30 -0
  156. package/packages/_vue3/dist/src/components/{render-block/render-repeated-block.vue.d.ts → block/components/repeated-block.vue.d.ts} +3 -0
  157. package/packages/_vue3/dist/src/components/{render-blocks.vue.d.ts → blocks/blocks-wrapper.vue.d.ts} +6 -6
  158. package/packages/_vue3/dist/src/components/blocks/blocks.vue.d.ts +29 -0
  159. package/packages/_vue3/dist/src/components/{render-content/render-content.vue.d.ts → content/components/enable-editor.vue.d.ts} +18 -49
  160. package/packages/{_vue2/dist/src/components/render-content/components/render-styles.helpers.d.ts → _vue3/dist/src/components/content/components/styles.helpers.d.ts} +1 -1
  161. package/packages/_vue3/dist/src/components/content/content.helpers.d.ts +7 -0
  162. package/packages/{_vue2/dist/src/components/render-content/render-content.types.d.ts → _vue3/dist/src/components/content/content.types.d.ts} +4 -4
  163. package/packages/_vue3/dist/src/components/content/content.vue.d.ts +69 -0
  164. package/packages/_vue3/dist/src/components/{render-content-variants/render-content-variants.types.d.ts → content-variants/content-variants.types.d.ts} +5 -5
  165. package/packages/_vue3/dist/src/components/{render-content-variants/render-content-variants.vue.d.ts → content-variants/content-variants.vue.d.ts} +21 -20
  166. package/packages/_vue3/dist/src/components/{render-content-variants → content-variants}/helpers.d.ts +7 -7
  167. package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
  168. package/packages/_vue3/dist/src/constants/target.d.ts +1 -1
  169. package/packages/_vue3/dist/src/context/builder.context.d.ts +1 -1
  170. package/packages/_vue3/dist/src/context/components.context.d.ts +7 -0
  171. package/packages/_vue3/dist/src/context/types.d.ts +1 -1
  172. package/packages/_vue3/dist/src/functions/{evaluate.d.ts → evaluate/evaluate.d.ts} +5 -2
  173. package/packages/_vue3/dist/src/functions/evaluate/index.d.ts +1 -0
  174. package/packages/_vue3/dist/src/functions/evaluate/interpreter.d.ts +2 -0
  175. package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime.d.ts +2 -0
  176. package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +10 -0
  177. package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +1 -0
  178. package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -1
  179. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +2 -6
  180. package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +1 -1
  181. package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +1 -1
  182. package/packages/_vue3/dist/src/functions/is-non-node-server.d.ts +4 -0
  183. package/packages/_vue3/dist/src/functions/register-component.d.ts +2 -1
  184. package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +2 -2
  185. package/packages/_vue3/dist/src/helpers/cookie.d.ts +2 -2
  186. package/packages/_vue3/dist/src/helpers/css.d.ts +1 -1
  187. package/packages/_vue3/dist/src/helpers/localStorage.d.ts +2 -2
  188. package/packages/_vue3/dist/src/helpers/preview-lru-cache/get.d.ts +1 -0
  189. package/packages/_vue3/dist/src/helpers/preview-lru-cache/helpers.d.ts +1 -0
  190. package/packages/_vue3/dist/src/helpers/preview-lru-cache/init.d.ts +6 -0
  191. package/packages/_vue3/dist/src/helpers/preview-lru-cache/set.d.ts +7 -0
  192. package/packages/_vue3/dist/src/helpers/preview-lru-cache/types.d.ts +12 -0
  193. package/packages/_vue3/dist/src/helpers/sessionId.d.ts +2 -2
  194. package/packages/_vue3/dist/src/helpers/visitorId.d.ts +1 -1
  195. package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +2 -2
  196. package/packages/_vue3/dist/src/index.d.ts +2 -2
  197. package/packages/_vue3/dist/src/types/builder-props.d.ts +9 -0
  198. package/packages/_vue3/dist/src/types/components.d.ts +8 -2
  199. package/packages/_vue3/dist/src/types/enforced-partials.d.ts +1 -1
  200. package/packages/_vue3/dist/src/types/targets.d.ts +1 -3
  201. package/packages/_vue3/dist/src/types/typescript.d.ts +3 -0
  202. package/packages/_vue3/dist/style.css +1 -1
  203. package/packages/_vue2/dist/block-styles.503c2141.cjs +0 -1
  204. package/packages/_vue2/dist/block-styles.76e698a7.js +0 -72
  205. package/packages/_vue2/dist/css.1601c108.js +0 -75
  206. package/packages/_vue2/dist/css.6d92c2ca.cjs +0 -6
  207. package/packages/_vue2/dist/evaluate.5365c739.js +0 -63
  208. package/packages/_vue2/dist/evaluate.97a0f474.cjs +0 -4
  209. package/packages/_vue2/dist/index.4de025de.cjs +0 -32
  210. package/packages/_vue2/dist/inlined-script.6a6ca760.cjs +0 -1
  211. package/packages/_vue2/dist/render-block.844495c0.js +0 -263
  212. package/packages/_vue2/dist/render-block.c0841b5d.cjs +0 -3
  213. package/packages/_vue2/dist/render-component.a3770d92.cjs +0 -1
  214. package/packages/_vue2/dist/render-component.a57a8b32.js +0 -38
  215. package/packages/_vue2/dist/render-content.19fe4991.cjs +0 -1
  216. package/packages/_vue2/dist/render-content.8d297efd.js +0 -1359
  217. package/packages/_vue2/dist/render-repeated-block.be86aae1.cjs +0 -1
  218. package/packages/_vue2/dist/render-repeated-block.f51da3f5.js +0 -38
  219. package/packages/_vue2/dist/src/blocks/util.d.ts +0 -4
  220. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +0 -12
  221. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +0 -16
  222. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -13
  223. package/packages/_vue2/dist/src/components/render-content/render-content.helpers.d.ts +0 -7
  224. package/packages/_vue3/dist/src/blocks/util.d.ts +0 -4
  225. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +0 -12
  226. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +0 -16
  227. package/packages/_vue3/dist/src/components/render-content/render-content.helpers.d.ts +0 -7
  228. /package/packages/_vue2/dist/src/components/{render-block → block}/types.d.ts +0 -0
  229. /package/packages/_vue2/dist/src/components/{render-content → content}/wrap-component-ref.d.ts +0 -0
  230. /package/packages/_vue3/dist/src/components/{render-block → block}/types.d.ts +0 -0
  231. /package/packages/_vue3/dist/src/components/{render-content/components/render-styles.vue.d.ts → content/components/styles.vue.d.ts} +0 -0
  232. /package/packages/_vue3/dist/src/components/{render-content → content}/wrap-component-ref.d.ts +0 -0
@@ -1,26 +1,30 @@
1
- export interface ButtonProps {
1
+ import { filterAttrs } from "../helpers.js";
2
+ /**
3
+ * This import is used by the Svelte SDK. Do not remove.
4
+ */ export interface ButtonProps {
2
5
  attributes?: any;
3
6
  text?: string;
4
7
  link?: string;
5
8
  openLinkInNewTab?: boolean;
6
9
  }
7
10
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
8
- link?: any;
9
11
  attributes?: any;
10
12
  text?: any;
13
+ link?: any;
11
14
  openLinkInNewTab?: any;
12
- }>, unknown, unknown, {}, {
13
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
15
+ }>, unknown, {
16
+ filterAttrs: typeof filterAttrs;
17
+ }, {}, {
14
18
  _classStringToObject(str: string): Record<string, boolean>;
15
19
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
16
- link?: any;
17
20
  attributes?: any;
18
21
  text?: any;
22
+ link?: any;
19
23
  openLinkInNewTab?: any;
20
24
  }>>>, {
21
- readonly link?: any;
22
25
  readonly attributes?: any;
23
26
  readonly text?: any;
27
+ readonly link?: any;
24
28
  readonly openLinkInNewTab?: any;
25
29
  }>;
26
30
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,13 +1,14 @@
1
- import type { BuilderBlock } from "../../types/builder-block";
2
- import type { SizeName } from "../../constants/device-sizes";
3
- import type { Dictionary } from "../../types/typescript";
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ import type { SizeName } from "../../constants/device-sizes.js";
3
+ import type { Dictionary } from "../../types/typescript.js";
4
+ import type { BuilderComponentsProp } from "../../types/builder-props.js";
4
5
  type Column = {
5
6
  blocks: BuilderBlock[];
6
7
  width?: number;
7
8
  };
8
9
  type CSSVal = string | number;
9
10
  type StackColumnsAt = "tablet" | "mobile" | "never";
10
- export interface ColumnProps {
11
+ export interface ColumnProps extends BuilderComponentsProp {
11
12
  columns?: Column[];
12
13
  builderBlock: BuilderBlock;
13
14
  space?: number;
@@ -15,17 +16,20 @@ export interface ColumnProps {
15
16
  reverseColumnsWhenStacked?: boolean;
16
17
  }
17
18
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
19
+ builderBlock?: any;
18
20
  columns?: any;
21
+ builderContext?: any;
22
+ js?: any;
19
23
  space?: any;
20
24
  stackColumnsAt?: any;
21
25
  reverseColumnsWhenStacked?: any;
22
- builderBlock?: any;
26
+ builderComponents?: any;
23
27
  }>, unknown, {
24
28
  gutterSize: number;
25
29
  cols: any;
26
30
  stackAt: any;
27
31
  flexDir: string;
28
- TARGET: string;
32
+ TARGET: import("../../types/targets").Target;
29
33
  }, {
30
34
  columnsCssVars(): Dictionary<string>;
31
35
  columnsStyles(): string;
@@ -44,16 +48,22 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
44
48
  getWidthForBreakpointSize(size: SizeName): number;
45
49
  _classStringToObject(str: string): Record<string, boolean>;
46
50
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
51
+ builderBlock?: any;
47
52
  columns?: any;
53
+ builderContext?: any;
54
+ js?: any;
48
55
  space?: any;
49
56
  stackColumnsAt?: any;
50
57
  reverseColumnsWhenStacked?: any;
51
- builderBlock?: any;
58
+ builderComponents?: any;
52
59
  }>>>, {
60
+ readonly builderBlock?: any;
53
61
  readonly columns?: any;
62
+ readonly builderContext?: any;
63
+ readonly js?: any;
54
64
  readonly space?: any;
55
65
  readonly stackColumnsAt?: any;
56
66
  readonly reverseColumnsWhenStacked?: any;
57
- readonly builderBlock?: any;
67
+ readonly builderComponents?: any;
58
68
  }>;
59
69
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -3,8 +3,8 @@ export interface CustomCodeProps {
3
3
  replaceNodes?: boolean;
4
4
  }
5
5
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
6
- replaceNodes?: any;
7
6
  code?: any;
7
+ replaceNodes?: any;
8
8
  }>, unknown, {
9
9
  scriptsInserted: never[];
10
10
  scriptsRun: never[];
@@ -12,10 +12,10 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
12
12
  findAndRunScripts(): void;
13
13
  _classStringToObject(str: string): Record<string, boolean>;
14
14
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
15
- replaceNodes?: any;
16
15
  code?: any;
16
+ replaceNodes?: any;
17
17
  }>>>, {
18
- readonly replaceNodes?: any;
19
18
  readonly code?: any;
19
+ readonly replaceNodes?: any;
20
20
  }>;
21
21
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,13 @@
1
+ export declare function filterAttrs(attrs: {
2
+ [index: string]: any;
3
+ } | undefined, prefix: string, isEvent: boolean): {
4
+ [index: string]: any;
5
+ };
6
+ /**
7
+ * Svelte SDK: workaround to dynamically provide event handlers to components/elements.
8
+ * https://svelte.dev/repl/1246699e266f41218a8eeb45b9b58b54?version=3.24.1
9
+ */
10
+ export declare function setAttrs(node: HTMLElement, attrs?: Record<string, (event: Event) => void>): {
11
+ update(attrs?: {}): void;
12
+ destroy(): void;
13
+ };
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -18,11 +18,11 @@ export interface ImageProps {
18
18
  src?: string;
19
19
  }
20
20
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
21
+ className?: any;
22
+ builderBlock?: any;
21
23
  aspectRatio?: any;
22
24
  backgroundPosition?: any;
23
25
  backgroundSize?: any;
24
- className?: any;
25
- builderBlock?: any;
26
26
  image?: any;
27
27
  src?: any;
28
28
  srcset?: any;
@@ -43,11 +43,11 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
43
43
  }, {
44
44
  _classStringToObject(str: string): Record<string, boolean>;
45
45
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
46
+ className?: any;
47
+ builderBlock?: any;
46
48
  aspectRatio?: any;
47
49
  backgroundPosition?: any;
48
50
  backgroundSize?: any;
49
- className?: any;
50
- builderBlock?: any;
51
51
  image?: any;
52
52
  src?: any;
53
53
  srcset?: any;
@@ -56,11 +56,11 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
56
56
  sizes?: any;
57
57
  fitContent?: any;
58
58
  }>>>, {
59
+ readonly className?: any;
60
+ readonly builderBlock?: any;
59
61
  readonly aspectRatio?: any;
60
62
  readonly backgroundPosition?: any;
61
63
  readonly backgroundSize?: any;
62
- readonly className?: any;
63
- readonly builderBlock?: any;
64
64
  readonly image?: any;
65
65
  readonly src?: any;
66
66
  readonly srcset?: any;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,5 +1,8 @@
1
1
  import { isEditing } from "../../functions/is-editing.js";
2
- export interface ImgProps {
2
+ import { filterAttrs } from "../helpers.js";
3
+ /**
4
+ * This import is used by the Svelte SDK. Do not remove.
5
+ */ export interface ImgProps {
3
6
  attributes?: any;
4
7
  imgSrc?: string;
5
8
  image?: string;
@@ -8,27 +11,26 @@ export interface ImgProps {
8
11
  backgroundPosition?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
9
12
  }
10
13
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
14
+ attributes?: any;
11
15
  backgroundPosition?: any;
12
16
  backgroundSize?: any;
13
- attributes?: any;
14
17
  image?: any;
15
18
  altText?: any;
16
19
  imgSrc?: any;
17
20
  }>, unknown, {
18
21
  isEditing: typeof isEditing;
19
- }, {}, {
20
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
21
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
22
+ filterAttrs: typeof filterAttrs;
23
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
24
+ attributes?: any;
22
25
  backgroundPosition?: any;
23
26
  backgroundSize?: any;
24
- attributes?: any;
25
27
  image?: any;
26
28
  altText?: any;
27
29
  imgSrc?: any;
28
30
  }>>>, {
31
+ readonly attributes?: any;
29
32
  readonly backgroundPosition?: any;
30
33
  readonly backgroundSize?: any;
31
- readonly attributes?: any;
32
34
  readonly image?: any;
33
35
  readonly altText?: any;
34
36
  readonly imgSrc?: any;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,19 +1,22 @@
1
- export interface SectionProps {
1
+ import { filterAttrs } from "../helpers.js";
2
+ /**
3
+ * This import is used by the Svelte SDK. Do not remove.
4
+ */ export interface SectionProps {
2
5
  maxWidth?: number;
3
6
  attributes?: any;
4
7
  children?: any;
5
8
  builderBlock?: any;
6
9
  }
7
10
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
8
- maxWidth?: any;
9
11
  attributes?: any;
10
- }>, unknown, unknown, {}, {
11
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
12
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
13
12
  maxWidth?: any;
13
+ }>, unknown, {
14
+ filterAttrs: typeof filterAttrs;
15
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
14
16
  attributes?: any;
17
+ maxWidth?: any;
15
18
  }>>>, {
16
- readonly maxWidth?: any;
17
19
  readonly attributes?: any;
20
+ readonly maxWidth?: any;
18
21
  }>;
19
22
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,14 @@
1
+ import type { BuilderContextInterface } from '../../context/types.js';
2
+ import type { BuilderContent } from '../../types/builder-content.js';
3
+ export interface SymbolInfo {
4
+ model?: string;
5
+ entry?: string;
6
+ data?: any;
7
+ content?: BuilderContent;
8
+ inline?: boolean;
9
+ dynamic?: boolean;
10
+ }
11
+ export declare const fetchContent: ({ builderContextValue, symbol }: {
12
+ symbol: SymbolInfo | undefined;
13
+ builderContextValue: BuilderContextInterface;
14
+ }) => Promise<BuilderContent | null | undefined>;
@@ -1,6 +1,9 @@
1
1
  import type { BuilderContent } from "../../types/builder-content.js";
2
- import type { BuilderBlock } from "../../types/builder-block.js";
3
- export interface SymbolInfo {
2
+ import type { BuilderComponentsProp } from "../../types/builder-props.js";
3
+ import { filterAttrs } from "../helpers.js";
4
+ /**
5
+ * This import is used by the Svelte SDK. Do not remove.
6
+ */ export interface SymbolInfo {
4
7
  model?: string;
5
8
  entry?: string;
6
9
  data?: any;
@@ -8,36 +11,46 @@ export interface SymbolInfo {
8
11
  inline?: boolean;
9
12
  dynamic?: boolean;
10
13
  }
11
- export interface SymbolProps {
14
+ /**
15
+ * This import is used by the Svelte SDK. Do not remove.
16
+ */ export interface SymbolProps extends BuilderComponentsProp {
12
17
  symbol?: SymbolInfo;
13
18
  dataOnly?: boolean;
14
19
  dynamic?: boolean;
15
- builderBlock?: BuilderBlock;
16
20
  attributes?: any;
17
21
  inheritState?: boolean;
18
22
  }
19
23
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
20
24
  symbol?: any;
21
25
  attributes?: any;
26
+ builderContext?: any;
27
+ js?: any;
28
+ builderComponents?: any;
22
29
  dynamic?: any;
23
30
  }>, unknown, {
24
- className: string;
25
31
  contentToUse: any;
32
+ filterAttrs: typeof filterAttrs;
26
33
  }, {
34
+ className(): string;
27
35
  onUpdateHook0(): {
28
36
  0: any;
29
37
  };
30
38
  }, {
31
- fetchContent(): void;
32
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
39
+ setContent(): void;
33
40
  _classStringToObject(str: string): Record<string, boolean>;
34
41
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
35
42
  symbol?: any;
36
43
  attributes?: any;
44
+ builderContext?: any;
45
+ js?: any;
46
+ builderComponents?: any;
37
47
  dynamic?: any;
38
48
  }>>>, {
39
49
  readonly symbol?: any;
40
50
  readonly attributes?: any;
51
+ readonly builderContext?: any;
52
+ readonly js?: any;
53
+ readonly builderComponents?: any;
41
54
  readonly dynamic?: any;
42
55
  }>;
43
56
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -1,2 +1,2 @@
1
- import type { ComponentInfo } from '../../types/components';
1
+ import type { ComponentInfo } from '../../types/components.js';
2
2
  export declare const componentInfo: ComponentInfo;
@@ -10,18 +10,20 @@ export interface VideoProps {
10
10
  width?: number;
11
11
  height?: number;
12
12
  fit?: "contain" | "cover" | "fill";
13
+ preload?: "auto" | "metadata" | "none";
13
14
  position?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
14
15
  posterImage?: string;
15
16
  lazyLoad?: boolean;
16
17
  }
17
18
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
18
- position?: any;
19
19
  attributes?: any;
20
+ position?: any;
20
21
  autoPlay?: any;
21
22
  muted?: any;
22
23
  controls?: any;
23
24
  loop?: any;
24
25
  playsInline?: any;
26
+ preload?: any;
25
27
  fit?: any;
26
28
  video?: any;
27
29
  posterImage?: any;
@@ -35,24 +37,26 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
35
37
  };
36
38
  spreadProps(): any;
37
39
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
38
- position?: any;
39
40
  attributes?: any;
41
+ position?: any;
40
42
  autoPlay?: any;
41
43
  muted?: any;
42
44
  controls?: any;
43
45
  loop?: any;
44
46
  playsInline?: any;
47
+ preload?: any;
45
48
  fit?: any;
46
49
  video?: any;
47
50
  posterImage?: any;
48
51
  }>>>, {
49
- readonly position?: any;
50
52
  readonly attributes?: any;
53
+ readonly position?: any;
51
54
  readonly autoPlay?: any;
52
55
  readonly muted?: any;
53
56
  readonly controls?: any;
54
57
  readonly loop?: any;
55
58
  readonly playsInline?: any;
59
+ readonly preload?: any;
56
60
  readonly fit?: any;
57
61
  readonly video?: any;
58
62
  readonly posterImage?: any;
@@ -0,0 +1,13 @@
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../../context/types.js';
2
+ import type { BuilderBlock } from '../../types/builder-block.js';
3
+ import type { RepeatData } from './types.js';
4
+ export declare const isEmptyHtmlElement: (tagName: unknown) => boolean;
5
+ export declare const getComponent: ({ block, context, registeredComponents }: {
6
+ block: BuilderBlock;
7
+ context: BuilderContextInterface;
8
+ registeredComponents: RegisteredComponents;
9
+ }) => import("../../context/types.js").RegisteredComponent | null | undefined;
10
+ export declare const getRepeatItemData: ({ block, context }: {
11
+ block: BuilderBlock;
12
+ context: BuilderContextInterface;
13
+ }) => RepeatData[] | undefined;
@@ -1,8 +1,9 @@
1
- import type { BuilderContextInterface } from "../../context/types.js";
1
+ import type { BuilderContextInterface, RegisteredComponents } from "../../context/types.js";
2
2
  import type { BuilderBlock } from "../../types/builder-block.js";
3
- export type RenderBlockProps = {
3
+ export type BlockProps = {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
6
+ registeredComponents: RegisteredComponents;
6
7
  };
7
8
  declare const _sfc_main: any;
8
9
  export default _sfc_main;
@@ -1,5 +1,5 @@
1
- import type { BuilderContextInterface } from "../../context/types.js";
2
- import type { BuilderBlock } from "../../types/builder-block.js";
1
+ import type { BuilderContextInterface } from "../../../context/types.js";
2
+ import type { BuilderBlock } from "../../../types/builder-block.js";
3
3
  export type BlockStylesProps = {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -8,9 +8,9 @@ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
8
8
  block?: any;
9
9
  context?: any;
10
10
  }>, unknown, {
11
- TARGET: string;
11
+ processedBlock: BuilderBlock;
12
+ TARGET: import("../../../types/targets.js").Target;
12
13
  }, {
13
- useBlock(): BuilderBlock;
14
14
  canShowBlock(): boolean;
15
15
  css(): string;
16
16
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
@@ -0,0 +1,29 @@
1
+ import { getBlockActions } from "../../../functions/get-block-actions.js";
2
+ import { getBlockProperties } from "../../../functions/get-block-properties.js";
3
+ /**
4
+ * This component renders a block's wrapper HTML element (from the block's `tagName` property).
5
+ * It reuses the exact same logic as the `InteractiveElement` component, but we need to have 2 separate components for
6
+ * Svelte's sake, as it needs to know at compile-time whether to use:
7
+ * - `<svelte:element>` (for HTML element) or
8
+ * - `<svelte:component>` (for custom components)
9
+ */
10
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
11
+ block?: any;
12
+ context?: any;
13
+ Wrapper?: any;
14
+ hasChildren?: any;
15
+ }>, unknown, {
16
+ getBlockActions: typeof getBlockActions;
17
+ getBlockProperties: typeof getBlockProperties;
18
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
19
+ block?: any;
20
+ context?: any;
21
+ Wrapper?: any;
22
+ hasChildren?: any;
23
+ }>>>, {
24
+ readonly block?: any;
25
+ readonly context?: any;
26
+ readonly Wrapper?: any;
27
+ readonly hasChildren?: any;
28
+ }>;
29
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ import type { BuilderContextInterface, RegisteredComponents } from '../../../../context/types.js';
2
+ import type { BuilderBlock } from '../../../../types/builder-block.js';
3
+ import type { PropsWithBuilderData } from '../../../../types/builder-props.js';
4
+ import type { InteractiveElementProps } from '../interactive-element.vue';
5
+ type ComponentOptions = PropsWithBuilderData<{
6
+ [index: string]: any;
7
+ attributes?: {
8
+ [index: string]: any;
9
+ };
10
+ }>;
11
+ export interface ComponentProps {
12
+ componentRef: any;
13
+ componentOptions: ComponentOptions;
14
+ blockChildren: BuilderBlock[];
15
+ context: BuilderContextInterface;
16
+ registeredComponents: RegisteredComponents;
17
+ builderBlock: BuilderBlock;
18
+ includeBlockProps: boolean;
19
+ isInteractive: boolean | undefined;
20
+ }
21
+ export declare const getWrapperProps: ({ componentOptions, builderBlock, context, componentRef, includeBlockProps, isInteractive, contextValue }: Omit<ComponentProps, "blockChildren" | "registeredComponents"> & {
22
+ contextValue: BuilderContextInterface;
23
+ }) => InteractiveElementProps | {
24
+ attributes?: {
25
+ [index: string]: any;
26
+ } | undefined;
27
+ builderBlock: BuilderBlock;
28
+ builderContext: BuilderContextInterface;
29
+ };
30
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: any;
2
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ import type { BuilderContextInterface } from "../../../context/types.js";
2
+ import { getBlockActions } from "../../../functions/get-block-actions.js";
3
+ import { getBlockProperties } from "../../../functions/get-block-properties.js";
4
+ import type { BuilderBlock } from "../../../types/builder-block.js";
5
+ export type InteractiveElementProps = {
6
+ Wrapper: any;
7
+ block: BuilderBlock;
8
+ context: BuilderContextInterface;
9
+ wrapperProps: object;
10
+ };
11
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
12
+ block?: any;
13
+ context?: any;
14
+ wrapperProps?: any;
15
+ Wrapper?: any;
16
+ }>, unknown, {
17
+ getBlockActions: typeof getBlockActions;
18
+ getBlockProperties: typeof getBlockProperties;
19
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
20
+ block?: any;
21
+ context?: any;
22
+ wrapperProps?: any;
23
+ Wrapper?: any;
24
+ }>>>, {
25
+ readonly block?: any;
26
+ readonly context?: any;
27
+ readonly wrapperProps?: any;
28
+ readonly Wrapper?: any;
29
+ }>;
30
+ export default _sfc_main;
@@ -1,13 +1,16 @@
1
1
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
2
  block?: any;
3
+ registeredComponents?: any;
3
4
  repeatContext?: any;
4
5
  }>, unknown, {
5
6
  store: any;
6
7
  }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
7
8
  block?: any;
9
+ registeredComponents?: any;
8
10
  repeatContext?: any;
9
11
  }>>>, {
10
12
  readonly block?: any;
13
+ readonly registeredComponents?: any;
11
14
  readonly repeatContext?: any;
12
15
  }>;
13
16
  export default _sfc_main;
@@ -1,9 +1,9 @@
1
- import type { BuilderBlock } from "../types/builder-block.js";
2
- export type RenderBlockProps = {
3
- blocks?: BuilderBlock[];
4
- parent?: string;
5
- path?: string;
6
- styleProp?: Record<string, any>;
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ export type BlocksWrapperProps = {
3
+ blocks: BuilderBlock[] | undefined;
4
+ parent: string | undefined;
5
+ path: string | undefined;
6
+ styleProp: Record<string, any> | undefined;
7
7
  };
8
8
  declare const _sfc_main: import("vue").DefineComponent<Readonly<{
9
9
  blocks?: any;