@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,10 @@
1
+ export interface FragmentProps {
2
+ maxWidth?: number;
3
+ attributes?: any;
4
+ children?: any;
5
+ }
6
+ declare const _sfc_main: {
7
+ name: string;
8
+ props: never[];
9
+ };
10
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1 @@
1
+ export declare function getSrcSet(url: string): string;
@@ -0,0 +1,31 @@
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ export interface ImageProps {
3
+ className?: string;
4
+ image: string;
5
+ sizes?: string;
6
+ lazy?: boolean;
7
+ height?: number;
8
+ width?: number;
9
+ altText?: string;
10
+ backgroundSize?: string;
11
+ backgroundPosition?: string;
12
+ srcset?: string;
13
+ aspectRatio?: number;
14
+ children?: JSX.Element;
15
+ fitContent?: boolean;
16
+ builderBlock?: BuilderBlock;
17
+ noWebp?: boolean;
18
+ src?: string;
19
+ }
20
+ declare const _sfc_main: {
21
+ name: string;
22
+ props: string[];
23
+ computed: {
24
+ srcSetToUse(): any;
25
+ webpSrcSet(): any;
26
+ };
27
+ methods: {
28
+ _classStringToObject(str: any): {};
29
+ };
30
+ };
31
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,17 @@
1
+ export interface ImgProps {
2
+ attributes?: any;
3
+ imgSrc?: string;
4
+ image?: string;
5
+ altText?: string;
6
+ backgroundSize?: "cover" | "contain";
7
+ backgroundPosition?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
8
+ }
9
+ import { isEditing } from "../../functions/is-editing.js";
10
+ declare const _sfc_main: {
11
+ name: string;
12
+ props: string[];
13
+ data: () => {
14
+ isEditing: typeof isEditing;
15
+ };
16
+ };
17
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,11 @@
1
+ export interface SectionProps {
2
+ maxWidth?: number;
3
+ attributes?: any;
4
+ children?: any;
5
+ builderBlock?: any;
6
+ }
7
+ declare const _sfc_main: {
8
+ name: string;
9
+ props: string[];
10
+ };
11
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,167 @@
1
+ import type { BuilderContent } from "../../types/builder-content.js";
2
+ import type { BuilderBlock } from "../../types/builder-block.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 interface SymbolProps {
12
+ symbol?: SymbolInfo;
13
+ dataOnly?: boolean;
14
+ dynamic?: boolean;
15
+ builderBlock?: BuilderBlock;
16
+ attributes?: any;
17
+ inheritState?: boolean;
18
+ }
19
+ import { markMutable } from "../../functions/mark-mutable";
20
+ declare const _sfc_main: {
21
+ name: string;
22
+ components: {
23
+ RenderContent: {
24
+ name: string;
25
+ components: {
26
+ RenderContentStyles: {
27
+ name: string;
28
+ components: {
29
+ RenderInlinedStyles: {
30
+ name: string;
31
+ props: string[];
32
+ data: () => {
33
+ TARGET: string;
34
+ };
35
+ computed: {
36
+ injectedStyleScript(): any;
37
+ tagName(): string;
38
+ };
39
+ };
40
+ };
41
+ props: string[];
42
+ computed: {
43
+ injectedStyles(): any;
44
+ };
45
+ methods: {
46
+ getCssFromFont(font: any): string;
47
+ getFontCss({ customFonts }: {
48
+ customFonts: any;
49
+ }): any;
50
+ };
51
+ };
52
+ RenderBlocks: {
53
+ name: string;
54
+ components: {
55
+ RenderBlock: any;
56
+ BlockStyles: {
57
+ name: string;
58
+ components: {
59
+ RenderInlinedStyles: {
60
+ name: string;
61
+ props: string[];
62
+ data: () => {
63
+ TARGET: string;
64
+ };
65
+ computed: {
66
+ injectedStyleScript(): any;
67
+ tagName(): string;
68
+ };
69
+ };
70
+ };
71
+ props: string[];
72
+ data: () => {
73
+ TARGET: string;
74
+ };
75
+ computed: {
76
+ useBlock(): any;
77
+ css(): any;
78
+ };
79
+ };
80
+ };
81
+ props: string[];
82
+ inject: {
83
+ builderContext: string;
84
+ };
85
+ computed: {
86
+ className(): any;
87
+ };
88
+ methods: {
89
+ onClick(): void;
90
+ onMouseEnter(): void;
91
+ _classStringToObject(str: any): {};
92
+ };
93
+ };
94
+ };
95
+ props: string[];
96
+ data: () => {
97
+ forceReRenderCount: number;
98
+ overrideContent: null;
99
+ update: number;
100
+ overrideState: {};
101
+ markMutable: typeof markMutable;
102
+ };
103
+ provide(): {
104
+ BuilderContext: {
105
+ readonly content: any;
106
+ readonly state: any;
107
+ readonly context: any;
108
+ readonly apiKey: any;
109
+ readonly registeredComponents: any;
110
+ };
111
+ };
112
+ mounted(): void;
113
+ watch: {
114
+ onUpdateHook0(): void;
115
+ onUpdateHook1(): void;
116
+ onUpdateHook2(): void;
117
+ };
118
+ unmounted(): void;
119
+ computed: {
120
+ useContent(): any;
121
+ canTrackToUse(): any;
122
+ contentState(): any;
123
+ contextContext(): any;
124
+ allRegisteredComponents(): any;
125
+ httpReqsData(): {};
126
+ shouldRenderContentStyles(): any;
127
+ onUpdateHook0(): any;
128
+ onUpdateHook1(): any;
129
+ onUpdateHook2(): {
130
+ 0: () => any;
131
+ };
132
+ };
133
+ methods: {
134
+ processMessage(event: any): void;
135
+ evaluateJsCode(): void;
136
+ onClick(_event: any): void;
137
+ evalExpression(expression: any): any;
138
+ handleRequest({ url, key }: {
139
+ url: any;
140
+ key: any;
141
+ }): void;
142
+ runHttpRequests(): void;
143
+ emitStateUpdate(): void;
144
+ };
145
+ };
146
+ };
147
+ props: string[];
148
+ data: () => {
149
+ className: string;
150
+ fetchedContent: null;
151
+ markMutable: typeof markMutable;
152
+ };
153
+ inject: {
154
+ builderContext: string;
155
+ };
156
+ watch: {
157
+ onUpdateHook0(): void;
158
+ };
159
+ computed: {
160
+ contentToUse(): any;
161
+ onUpdateHook0(): any;
162
+ };
163
+ methods: {
164
+ _classStringToObject(str: any): {};
165
+ };
166
+ };
167
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,8 @@
1
+ export interface TextProps {
2
+ text: string;
3
+ }
4
+ declare const _sfc_main: {
5
+ name: string;
6
+ props: string[];
7
+ };
8
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ export declare function markSerializable<FN extends (...args: any[]) => any>(fn: FN): FN;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../types/components';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,25 @@
1
+ export interface VideoProps {
2
+ attributes?: any;
3
+ video?: string;
4
+ autoPlay?: boolean;
5
+ controls?: boolean;
6
+ muted?: boolean;
7
+ loop?: boolean;
8
+ playsInline?: boolean;
9
+ aspectRatio?: number;
10
+ width?: number;
11
+ height?: number;
12
+ fit?: "contain" | "cover" | "fill";
13
+ position?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
14
+ posterImage?: string;
15
+ lazyLoad?: boolean;
16
+ }
17
+ declare const _sfc_main: {
18
+ name: string;
19
+ props: string[];
20
+ computed: {
21
+ videoProps(): any;
22
+ spreadProps(): any;
23
+ };
24
+ };
25
+ export default _sfc_main;
@@ -0,0 +1,31 @@
1
+ import type { BuilderContextInterface } from "../../context/types.js";
2
+ import type { BuilderBlock } from "../../types/builder-block.js";
3
+ export declare type BlockStylesProps = {
4
+ block: BuilderBlock;
5
+ context: BuilderContextInterface;
6
+ };
7
+ declare const _sfc_main: {
8
+ name: string;
9
+ components: {
10
+ RenderInlinedStyles: {
11
+ name: string;
12
+ props: string[];
13
+ data: () => {
14
+ TARGET: string;
15
+ };
16
+ computed: {
17
+ injectedStyleScript(): any;
18
+ tagName(): string;
19
+ };
20
+ };
21
+ };
22
+ props: string[];
23
+ data: () => {
24
+ TARGET: string;
25
+ };
26
+ computed: {
27
+ useBlock(): any;
28
+ css(): any;
29
+ };
30
+ };
31
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ export declare const isEmptyHtmlElement: (tagName: unknown) => boolean;
@@ -0,0 +1,8 @@
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: any;
8
+ export default _sfc_main;
@@ -0,0 +1,51 @@
1
+ declare const _sfc_main: {
2
+ name: string;
3
+ components: {
4
+ RenderComponent: {
5
+ name: string;
6
+ components: {
7
+ RenderBlock: any;
8
+ BlockStyles: {
9
+ name: string;
10
+ components: {
11
+ RenderInlinedStyles: {
12
+ name: string;
13
+ props: string[];
14
+ data: () => {
15
+ TARGET: string;
16
+ };
17
+ computed: {
18
+ injectedStyleScript(): any;
19
+ tagName(): string;
20
+ };
21
+ };
22
+ };
23
+ props: string[];
24
+ data: () => {
25
+ TARGET: string;
26
+ };
27
+ computed: {
28
+ useBlock(): any;
29
+ css(): any;
30
+ };
31
+ };
32
+ };
33
+ props: string[];
34
+ data: () => {
35
+ markPropsMutable: typeof import("../../functions/mark-mutable").markPropsMutable;
36
+ };
37
+ };
38
+ };
39
+ props: string[];
40
+ provide(): {
41
+ BuilderContext: {
42
+ readonly content: any;
43
+ readonly state: any;
44
+ readonly context: any;
45
+ readonly apiKey: any;
46
+ readonly registeredComponents: any;
47
+ readonly inheritedStyles: any;
48
+ };
49
+ };
50
+ };
51
+ export default _sfc_main;
@@ -0,0 +1,44 @@
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: any;
14
+ BlockStyles: {
15
+ name: string;
16
+ components: {
17
+ RenderInlinedStyles: {
18
+ name: string;
19
+ props: string[];
20
+ data: () => {
21
+ TARGET: string;
22
+ };
23
+ computed: {
24
+ injectedStyleScript(): any;
25
+ tagName(): string;
26
+ };
27
+ };
28
+ };
29
+ props: string[];
30
+ data: () => {
31
+ TARGET: string;
32
+ };
33
+ computed: {
34
+ useBlock(): any;
35
+ css(): any;
36
+ };
37
+ };
38
+ };
39
+ props: string[];
40
+ data: () => {
41
+ markPropsMutable: typeof markPropsMutable;
42
+ };
43
+ };
44
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: any;
2
+ export default _sfc_main;
@@ -0,0 +1,6 @@
1
+ import type { BuilderContextInterface } from '../../context/types.js';
2
+ import type { BuilderBlock } from '../../types/builder-block.js';
3
+ export interface RepeatData {
4
+ block: BuilderBlock;
5
+ context: BuilderContextInterface;
6
+ }
@@ -0,0 +1,50 @@
1
+ import type { BuilderBlock } from "../types/builder-block.js";
2
+ export declare type RenderBlockProps = {
3
+ blocks?: BuilderBlock[];
4
+ parent?: string;
5
+ path?: string;
6
+ styleProp?: Record<string, any>;
7
+ };
8
+ declare const _sfc_main: {
9
+ name: string;
10
+ components: {
11
+ RenderBlock: any;
12
+ BlockStyles: {
13
+ name: string;
14
+ components: {
15
+ RenderInlinedStyles: {
16
+ name: string;
17
+ props: string[];
18
+ data: () => {
19
+ TARGET: string;
20
+ };
21
+ computed: {
22
+ injectedStyleScript(): any;
23
+ tagName(): string;
24
+ };
25
+ };
26
+ };
27
+ props: string[];
28
+ data: () => {
29
+ TARGET: string;
30
+ };
31
+ computed: {
32
+ useBlock(): any;
33
+ css(): any;
34
+ };
35
+ };
36
+ };
37
+ props: string[];
38
+ inject: {
39
+ builderContext: string;
40
+ };
41
+ computed: {
42
+ className(): any;
43
+ };
44
+ methods: {
45
+ onClick(): void;
46
+ onMouseEnter(): void;
47
+ _classStringToObject(str: any): {};
48
+ };
49
+ };
50
+ export default _sfc_main;
@@ -0,0 +1,27 @@
1
+ declare const _sfc_main: {
2
+ name: string;
3
+ components: {
4
+ RenderInlinedStyles: {
5
+ name: string;
6
+ props: string[];
7
+ data: () => {
8
+ TARGET: string;
9
+ };
10
+ computed: {
11
+ injectedStyleScript(): any;
12
+ tagName(): string;
13
+ };
14
+ };
15
+ };
16
+ props: string[];
17
+ computed: {
18
+ injectedStyles(): any;
19
+ };
20
+ methods: {
21
+ getCssFromFont(font: any): string;
22
+ getFontCss({ customFonts }: {
23
+ customFonts: any;
24
+ }): any;
25
+ };
26
+ };
27
+ export default _sfc_main;
@@ -0,0 +1,139 @@
1
+ import type { BuilderRenderContext, RegisteredComponent } from "../../context/types.js";
2
+ import type { BuilderContent } from "../../types/builder-content.js";
3
+ import type { Nullable } from "../../types/typescript.js";
4
+ export declare type RenderContentProps = {
5
+ content?: Nullable<BuilderContent>;
6
+ model?: string;
7
+ data?: {
8
+ [key: string]: any;
9
+ };
10
+ context?: BuilderRenderContext;
11
+ apiKey: string;
12
+ customComponents?: RegisteredComponent[];
13
+ canTrack?: boolean;
14
+ };
15
+ import { markMutable } from "../../functions/mark-mutable.js";
16
+ declare const _sfc_main: {
17
+ name: string;
18
+ components: {
19
+ RenderContentStyles: {
20
+ name: string;
21
+ components: {
22
+ RenderInlinedStyles: {
23
+ name: string;
24
+ props: string[];
25
+ data: () => {
26
+ TARGET: string;
27
+ };
28
+ computed: {
29
+ injectedStyleScript(): any;
30
+ tagName(): string;
31
+ };
32
+ };
33
+ };
34
+ props: string[];
35
+ computed: {
36
+ injectedStyles(): any;
37
+ };
38
+ methods: {
39
+ getCssFromFont(font: any): string;
40
+ getFontCss({ customFonts }: {
41
+ customFonts: any;
42
+ }): any;
43
+ };
44
+ };
45
+ RenderBlocks: {
46
+ name: string;
47
+ components: {
48
+ RenderBlock: any;
49
+ BlockStyles: {
50
+ name: string;
51
+ components: {
52
+ RenderInlinedStyles: {
53
+ name: string;
54
+ props: string[];
55
+ data: () => {
56
+ TARGET: string;
57
+ };
58
+ computed: {
59
+ injectedStyleScript(): any;
60
+ tagName(): string;
61
+ };
62
+ };
63
+ };
64
+ props: string[];
65
+ data: () => {
66
+ TARGET: string;
67
+ };
68
+ computed: {
69
+ useBlock(): any;
70
+ css(): any;
71
+ };
72
+ };
73
+ };
74
+ props: string[];
75
+ inject: {
76
+ builderContext: string;
77
+ };
78
+ computed: {
79
+ className(): any;
80
+ };
81
+ methods: {
82
+ onClick(): void;
83
+ onMouseEnter(): void;
84
+ _classStringToObject(str: any): {};
85
+ };
86
+ };
87
+ };
88
+ props: string[];
89
+ data: () => {
90
+ forceReRenderCount: number;
91
+ overrideContent: null;
92
+ update: number;
93
+ overrideState: {};
94
+ markMutable: typeof markMutable;
95
+ };
96
+ provide(): {
97
+ BuilderContext: {
98
+ readonly content: any;
99
+ readonly state: any;
100
+ readonly context: any;
101
+ readonly apiKey: any;
102
+ readonly registeredComponents: any;
103
+ };
104
+ };
105
+ mounted(): void;
106
+ watch: {
107
+ onUpdateHook0(): void;
108
+ onUpdateHook1(): void;
109
+ onUpdateHook2(): void;
110
+ };
111
+ unmounted(): void;
112
+ computed: {
113
+ useContent(): any;
114
+ canTrackToUse(): any;
115
+ contentState(): any;
116
+ contextContext(): any;
117
+ allRegisteredComponents(): any;
118
+ httpReqsData(): {};
119
+ shouldRenderContentStyles(): any;
120
+ onUpdateHook0(): any;
121
+ onUpdateHook1(): any;
122
+ onUpdateHook2(): {
123
+ 0: () => any;
124
+ };
125
+ };
126
+ methods: {
127
+ processMessage(event: any): void;
128
+ evaluateJsCode(): void;
129
+ onClick(_event: any): void;
130
+ evalExpression(expression: any): any;
131
+ handleRequest({ url, key }: {
132
+ url: any;
133
+ key: any;
134
+ }): void;
135
+ runHttpRequests(): void;
136
+ emitStateUpdate(): void;
137
+ };
138
+ };
139
+ export default _sfc_main;