@builder.io/sdk-vue 0.6.1-1 → 0.6.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 (1784) hide show
  1. package/package.json +7 -3
  2. package/vue2/lib/browser/block-7572b272.cjs +3 -0
  3. package/vue2/lib/browser/block-c120af6b.js +181 -0
  4. package/vue2/lib/browser/block-styles-7b6133cb.js +77 -0
  5. package/vue2/lib/browser/block-styles-d210742a.cjs +1 -0
  6. package/vue2/lib/browser/block-wrapper-7137e4eb.js +66 -0
  7. package/vue2/lib/browser/block-wrapper-73003591.cjs +1 -0
  8. package/vue2/lib/browser/blocks/button/button.vue.d.ts +17 -0
  9. package/vue2/lib/browser/blocks/button/component-info.d.ts +2 -0
  10. package/vue2/lib/browser/blocks/columns/columns.vue.d.ts +44 -0
  11. package/vue2/lib/browser/blocks/columns/component-info.d.ts +2 -0
  12. package/vue2/lib/browser/blocks/custom-code/component-info.d.ts +2 -0
  13. package/vue2/lib/browser/blocks/custom-code/custom-code.vue.d.ts +14 -0
  14. package/vue2/lib/browser/blocks/embed/component-info.d.ts +2 -0
  15. package/vue2/lib/browser/blocks/embed/embed.vue.d.ts +18 -0
  16. package/vue2/lib/browser/blocks/embed/helpers.d.ts +1 -0
  17. package/vue2/lib/browser/blocks/form/component-info.d.ts +2 -0
  18. package/vue2/lib/browser/blocks/fragment/component-info.d.ts +2 -0
  19. package/vue2/lib/browser/blocks/fragment/fragment.vue.d.ts +7 -0
  20. package/vue2/lib/browser/blocks/helpers.d.ts +13 -0
  21. package/vue2/lib/browser/blocks/image/component-info.d.ts +2 -0
  22. package/vue2/lib/browser/blocks/image/image.helpers.d.ts +1 -0
  23. package/vue2/lib/browser/blocks/image/image.vue.d.ts +72 -0
  24. package/vue2/lib/browser/blocks/img/component-info.d.ts +2 -0
  25. package/vue2/lib/browser/blocks/img/img.vue.d.ts +38 -0
  26. package/vue2/lib/browser/blocks/input/component-info.d.ts +2 -0
  27. package/vue2/lib/browser/blocks/raw-text/component-info.d.ts +2 -0
  28. package/vue2/lib/browser/blocks/section/component-info.d.ts +2 -0
  29. package/vue2/lib/browser/blocks/section/section.vue.d.ts +22 -0
  30. package/vue2/lib/browser/blocks/select/component-info.d.ts +2 -0
  31. package/vue2/lib/browser/blocks/submit-button/component-info.d.ts +2 -0
  32. package/vue2/lib/browser/blocks/symbol/component-info.d.ts +2 -0
  33. package/vue2/lib/browser/blocks/symbol/symbol.helpers.d.ts +14 -0
  34. package/vue2/lib/browser/blocks/symbol/symbol.vue.d.ts +37 -0
  35. package/vue2/lib/browser/blocks/text/component-info.d.ts +2 -0
  36. package/vue2/lib/browser/blocks/text/text.vue.d.ts +11 -0
  37. package/vue2/lib/browser/blocks/textarea/component-info.d.ts +2 -0
  38. package/vue2/lib/browser/blocks/video/component-info.d.ts +2 -0
  39. package/vue2/lib/browser/blocks/video/video.vue.d.ts +64 -0
  40. package/vue2/lib/browser/blocks-wrapper-9f1e75a3.js +72 -0
  41. package/vue2/lib/browser/blocks-wrapper-b4d967ac.cjs +1 -0
  42. package/vue2/lib/browser/component-ref-b509786c.js +102 -0
  43. package/vue2/lib/browser/component-ref-da79bed8.cjs +1 -0
  44. package/vue2/lib/browser/components/block/block.helpers.d.ts +13 -0
  45. package/vue2/lib/browser/components/block/block.vue.d.ts +41 -0
  46. package/vue2/lib/browser/components/block/components/block-styles.vue.d.ts +23 -0
  47. package/vue2/lib/browser/components/block/components/block-wrapper.vue.d.ts +29 -0
  48. package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  49. package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  50. package/vue2/lib/browser/components/block/components/interactive-element.vue.d.ts +30 -0
  51. package/vue2/lib/browser/components/block/components/repeated-block.vue.d.ts +16 -0
  52. package/vue2/lib/browser/components/block/types.d.ts +6 -0
  53. package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  54. package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +29 -0
  55. package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +56 -0
  56. package/vue2/lib/browser/components/content/components/styles.helpers.d.ts +15 -0
  57. package/vue2/lib/browser/components/content/components/styles.vue.d.ts +16 -0
  58. package/vue2/lib/browser/components/content/content.helpers.d.ts +7 -0
  59. package/vue2/lib/browser/components/content/content.types.d.ts +24 -0
  60. package/vue2/lib/browser/components/content/content.vue.d.ts +26 -0
  61. package/vue2/lib/browser/components/content/index.d.ts +1 -0
  62. package/vue2/lib/browser/components/content/wrap-component-ref.d.ts +6 -0
  63. package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +20 -0
  64. package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +50 -0
  65. package/vue2/lib/browser/components/content-variants/helpers.d.ts +18 -0
  66. package/vue2/lib/browser/components/inlined-script.vue.d.ts +11 -0
  67. package/vue2/lib/browser/components/inlined-styles.vue.d.ts +11 -0
  68. package/vue2/lib/browser/constants/builder-registered-components.d.ts +6 -0
  69. package/vue2/lib/browser/constants/device-sizes.d.ts +13 -0
  70. package/vue2/lib/browser/constants/sdk-version.d.ts +1 -0
  71. package/vue2/lib/browser/constants/target.d.ts +2 -0
  72. package/vue2/lib/browser/content-284be2c3.cjs +1 -0
  73. package/vue2/lib/browser/content-adf884f8.js +928 -0
  74. package/vue2/lib/browser/context/builder.context.d.ts +15 -0
  75. package/vue2/lib/browser/context/components.context.d.ts +7 -0
  76. package/vue2/lib/browser/context/types.d.ts +35 -0
  77. package/vue2/lib/browser/css-01587ac9.js +21 -0
  78. package/vue2/lib/browser/css-924d8859.cjs +6 -0
  79. package/vue2/lib/browser/enable-editor-4c0af531.cjs +1 -0
  80. package/vue2/lib/browser/enable-editor-872f651f.js +429 -0
  81. package/vue2/lib/browser/evaluate-34eb09eb.js +81 -0
  82. package/vue2/lib/browser/evaluate-3b22ca76.cjs +1 -0
  83. package/vue2/lib/browser/functions/apply-patch-with-mutation.d.ts +10 -0
  84. package/vue2/lib/browser/functions/camel-to-kebab-case.d.ts +1 -0
  85. package/vue2/lib/browser/functions/deopt.d.ts +4 -0
  86. package/vue2/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  87. package/vue2/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -0
  88. package/vue2/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  89. package/vue2/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  90. package/vue2/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -0
  91. package/vue2/lib/browser/functions/evaluate/evaluate.d.ts +6 -0
  92. package/vue2/lib/browser/functions/evaluate/helpers.d.ts +18 -0
  93. package/vue2/lib/browser/functions/evaluate/index.d.ts +1 -0
  94. package/vue2/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -0
  95. package/vue2/lib/browser/functions/evaluate/placeholder-runtime.d.ts +2 -0
  96. package/vue2/lib/browser/functions/event-handler-name.d.ts +1 -0
  97. package/vue2/lib/browser/functions/extract-text-styles.d.ts +4 -0
  98. package/vue2/lib/browser/functions/fast-clone.d.ts +4 -0
  99. package/vue2/lib/browser/functions/fetch-builder-props.d.ts +40 -0
  100. package/vue2/lib/browser/functions/get-block-actions-handler.d.ts +8 -0
  101. package/vue2/lib/browser/functions/get-block-actions.d.ts +10 -0
  102. package/vue2/lib/browser/functions/get-block-component-options.d.ts +2 -0
  103. package/vue2/lib/browser/functions/get-block-properties.d.ts +6 -0
  104. package/vue2/lib/browser/functions/get-builder-search-params/index.d.ts +12 -0
  105. package/vue2/lib/browser/functions/get-content/generate-content-url.d.ts +2 -0
  106. package/vue2/lib/browser/functions/get-content/index.d.ts +28 -0
  107. package/vue2/lib/browser/functions/get-content/types.d.ts +51 -0
  108. package/vue2/lib/browser/functions/get-fetch.d.ts +1 -0
  109. package/vue2/lib/browser/functions/get-processed-block.d.ts +10 -0
  110. package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +7 -0
  111. package/vue2/lib/browser/functions/is-browser.d.ts +1 -0
  112. package/vue2/lib/browser/functions/is-edge-runtime.d.ts +4 -0
  113. package/vue2/lib/browser/functions/is-editing.d.ts +1 -0
  114. package/vue2/lib/browser/functions/is-iframe.d.ts +1 -0
  115. package/vue2/lib/browser/functions/is-previewing.d.ts +1 -0
  116. package/vue2/lib/browser/functions/on-change.d.ts +7 -0
  117. package/vue2/lib/browser/functions/register-component.d.ts +15 -0
  118. package/vue2/lib/browser/functions/register.d.ts +16 -0
  119. package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +3 -0
  120. package/vue2/lib/browser/functions/set-editor-settings.d.ts +4 -0
  121. package/vue2/lib/browser/functions/set.d.ts +7 -0
  122. package/vue2/lib/browser/functions/track/helpers.d.ts +5 -0
  123. package/vue2/lib/browser/functions/track/index.d.ts +51 -0
  124. package/vue2/lib/browser/functions/track/interaction.d.ts +13 -0
  125. package/vue2/lib/browser/functions/transform-block-properties.d.ts +2 -0
  126. package/vue2/lib/browser/functions/transform-block.d.ts +2 -0
  127. package/vue2/lib/browser/get-block-actions-2147e6cd.js +35 -0
  128. package/vue2/lib/browser/get-block-actions-55e90df6.cjs +1 -0
  129. package/vue2/lib/browser/get-block-properties-2f43ed48.cjs +1 -0
  130. package/vue2/lib/browser/get-block-properties-58c54a69.js +48 -0
  131. package/vue2/lib/browser/get-processed-block-15b0d499.cjs +1 -0
  132. package/vue2/lib/browser/get-processed-block-a2ff4c51.js +58 -0
  133. package/vue2/lib/browser/helpers/ab-tests.d.ts +9 -0
  134. package/vue2/lib/browser/helpers/canTrack.d.ts +1 -0
  135. package/vue2/lib/browser/helpers/cookie.d.ts +19 -0
  136. package/vue2/lib/browser/helpers/css.d.ts +7 -0
  137. package/vue2/lib/browser/helpers/flatten.d.ts +6 -0
  138. package/vue2/lib/browser/helpers/localStorage.d.ts +9 -0
  139. package/vue2/lib/browser/helpers/logger.d.ts +6 -0
  140. package/vue2/lib/browser/helpers/nullable.d.ts +2 -0
  141. package/vue2/lib/browser/helpers/preview-lru-cache/get.d.ts +2 -0
  142. package/vue2/lib/browser/helpers/preview-lru-cache/init.d.ts +6 -0
  143. package/vue2/lib/browser/helpers/preview-lru-cache/set.d.ts +7 -0
  144. package/vue2/lib/browser/helpers/sessionId.d.ts +6 -0
  145. package/vue2/lib/browser/helpers/time.d.ts +1 -0
  146. package/vue2/lib/browser/helpers/url.d.ts +6 -0
  147. package/vue2/lib/browser/helpers/uuid.d.ts +8 -0
  148. package/vue2/lib/browser/helpers/visitorId.d.ts +6 -0
  149. package/vue2/lib/browser/index-20a64e56.js +1422 -0
  150. package/vue2/lib/browser/index-31b135ac.cjs +32 -0
  151. package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +88 -0
  152. package/vue2/lib/browser/index-helpers/top-of-file.d.ts +1 -0
  153. package/vue2/lib/browser/index.cjs +1 -0
  154. package/vue2/lib/browser/index.d.ts +7 -0
  155. package/vue2/lib/browser/index.js +29 -0
  156. package/vue2/lib/browser/inlined-script-395a54bf.cjs +1 -0
  157. package/vue2/lib/browser/inlined-script-dd1c2277.js +23 -0
  158. package/vue2/lib/browser/inlined-styles-5f724636.js +23 -0
  159. package/vue2/lib/browser/inlined-styles-6ad3b97d.cjs +1 -0
  160. package/vue2/lib/browser/interactive-element-91844a73.cjs +1 -0
  161. package/vue2/lib/browser/interactive-element-9a3140c7.js +42 -0
  162. package/vue2/lib/browser/repeated-block-2801e2ad.cjs +1 -0
  163. package/vue2/lib/browser/repeated-block-db085f7a.js +38 -0
  164. package/vue2/lib/browser/scripts/init-editing.d.ts +6 -0
  165. package/vue2/lib/browser/server-index.d.ts +15 -0
  166. package/vue2/lib/browser/style.css +1 -0
  167. package/vue2/lib/browser/styles-1aad0890.cjs +31 -0
  168. package/vue2/lib/browser/styles-c675d986.js +89 -0
  169. package/vue2/lib/browser/types/api-version.d.ts +2 -0
  170. package/vue2/lib/browser/types/builder-block.d.ts +66 -0
  171. package/vue2/lib/browser/types/builder-content.d.ts +44 -0
  172. package/vue2/lib/browser/types/builder-props.d.ts +9 -0
  173. package/vue2/lib/browser/types/can-track.d.ts +3 -0
  174. package/vue2/lib/browser/types/components.d.ts +111 -0
  175. package/vue2/lib/browser/types/deep-partial.d.ts +3 -0
  176. package/vue2/lib/browser/types/element.d.ts +59 -0
  177. package/vue2/lib/browser/types/enforced-partials.d.ts +21 -0
  178. package/vue2/lib/browser/types/input.d.ts +121 -0
  179. package/vue2/lib/browser/types/targets.d.ts +1 -0
  180. package/vue2/lib/browser/types/typescript.d.ts +11 -0
  181. package/vue2/lib/edge/block-89ebff36.cjs +3 -0
  182. package/vue2/lib/edge/block-a17dd5f3.js +181 -0
  183. package/vue2/lib/edge/block-styles-68308a10.js +77 -0
  184. package/vue2/lib/edge/block-styles-c081fccd.cjs +1 -0
  185. package/vue2/lib/edge/block-wrapper-1d8816f6.js +66 -0
  186. package/vue2/lib/edge/block-wrapper-224770b5.cjs +1 -0
  187. package/vue2/lib/edge/blocks/button/button.vue.d.ts +17 -0
  188. package/vue2/lib/edge/blocks/button/component-info.d.ts +2 -0
  189. package/vue2/lib/edge/blocks/columns/columns.vue.d.ts +44 -0
  190. package/vue2/lib/edge/blocks/columns/component-info.d.ts +2 -0
  191. package/vue2/lib/edge/blocks/custom-code/component-info.d.ts +2 -0
  192. package/vue2/lib/edge/blocks/custom-code/custom-code.vue.d.ts +14 -0
  193. package/vue2/lib/edge/blocks/embed/component-info.d.ts +2 -0
  194. package/vue2/lib/edge/blocks/embed/embed.vue.d.ts +18 -0
  195. package/vue2/lib/edge/blocks/embed/helpers.d.ts +1 -0
  196. package/vue2/lib/edge/blocks/form/component-info.d.ts +2 -0
  197. package/vue2/lib/edge/blocks/fragment/component-info.d.ts +2 -0
  198. package/vue2/lib/edge/blocks/fragment/fragment.vue.d.ts +7 -0
  199. package/vue2/lib/edge/blocks/helpers.d.ts +13 -0
  200. package/vue2/lib/edge/blocks/image/component-info.d.ts +2 -0
  201. package/vue2/lib/edge/blocks/image/image.helpers.d.ts +1 -0
  202. package/vue2/lib/edge/blocks/image/image.vue.d.ts +72 -0
  203. package/vue2/lib/edge/blocks/img/component-info.d.ts +2 -0
  204. package/vue2/lib/edge/blocks/img/img.vue.d.ts +38 -0
  205. package/vue2/lib/edge/blocks/input/component-info.d.ts +2 -0
  206. package/vue2/lib/edge/blocks/raw-text/component-info.d.ts +2 -0
  207. package/vue2/lib/edge/blocks/section/component-info.d.ts +2 -0
  208. package/vue2/lib/edge/blocks/section/section.vue.d.ts +22 -0
  209. package/vue2/lib/edge/blocks/select/component-info.d.ts +2 -0
  210. package/vue2/lib/edge/blocks/submit-button/component-info.d.ts +2 -0
  211. package/vue2/lib/edge/blocks/symbol/component-info.d.ts +2 -0
  212. package/vue2/lib/edge/blocks/symbol/symbol.helpers.d.ts +14 -0
  213. package/vue2/lib/edge/blocks/symbol/symbol.vue.d.ts +37 -0
  214. package/vue2/lib/edge/blocks/text/component-info.d.ts +2 -0
  215. package/vue2/lib/edge/blocks/text/text.vue.d.ts +11 -0
  216. package/vue2/lib/edge/blocks/textarea/component-info.d.ts +2 -0
  217. package/vue2/lib/edge/blocks/video/component-info.d.ts +2 -0
  218. package/vue2/lib/edge/blocks/video/video.vue.d.ts +64 -0
  219. package/vue2/lib/edge/blocks-wrapper-4e301a45.cjs +1 -0
  220. package/vue2/lib/edge/blocks-wrapper-e865d99a.js +72 -0
  221. package/vue2/lib/edge/component-ref-46ff36c7.cjs +1 -0
  222. package/vue2/lib/edge/component-ref-47c7b4b9.js +102 -0
  223. package/vue2/lib/edge/components/block/block.helpers.d.ts +13 -0
  224. package/vue2/lib/edge/components/block/block.vue.d.ts +41 -0
  225. package/vue2/lib/edge/components/block/components/block-styles.vue.d.ts +23 -0
  226. package/vue2/lib/edge/components/block/components/block-wrapper.vue.d.ts +29 -0
  227. package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  228. package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  229. package/vue2/lib/edge/components/block/components/interactive-element.vue.d.ts +30 -0
  230. package/vue2/lib/edge/components/block/components/repeated-block.vue.d.ts +16 -0
  231. package/vue2/lib/edge/components/block/types.d.ts +6 -0
  232. package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  233. package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +29 -0
  234. package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +56 -0
  235. package/vue2/lib/edge/components/content/components/styles.helpers.d.ts +15 -0
  236. package/vue2/lib/edge/components/content/components/styles.vue.d.ts +16 -0
  237. package/vue2/lib/edge/components/content/content.helpers.d.ts +7 -0
  238. package/vue2/lib/edge/components/content/content.types.d.ts +24 -0
  239. package/vue2/lib/edge/components/content/content.vue.d.ts +26 -0
  240. package/vue2/lib/edge/components/content/index.d.ts +1 -0
  241. package/vue2/lib/edge/components/content/wrap-component-ref.d.ts +6 -0
  242. package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +20 -0
  243. package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +50 -0
  244. package/vue2/lib/edge/components/content-variants/helpers.d.ts +18 -0
  245. package/vue2/lib/edge/components/inlined-script.vue.d.ts +11 -0
  246. package/vue2/lib/edge/components/inlined-styles.vue.d.ts +11 -0
  247. package/vue2/lib/edge/constants/builder-registered-components.d.ts +6 -0
  248. package/vue2/lib/edge/constants/device-sizes.d.ts +13 -0
  249. package/vue2/lib/edge/constants/sdk-version.d.ts +1 -0
  250. package/vue2/lib/edge/constants/target.d.ts +2 -0
  251. package/vue2/lib/edge/content-c1d216c0.cjs +1 -0
  252. package/vue2/lib/edge/content-dba5c9d2.js +928 -0
  253. package/vue2/lib/edge/context/builder.context.d.ts +15 -0
  254. package/vue2/lib/edge/context/components.context.d.ts +7 -0
  255. package/vue2/lib/edge/context/types.d.ts +35 -0
  256. package/vue2/lib/edge/css-384211ae.js +21 -0
  257. package/vue2/lib/edge/css-f5a4c224.cjs +6 -0
  258. package/vue2/lib/edge/enable-editor-8c6fd5f2.cjs +1 -0
  259. package/vue2/lib/edge/enable-editor-985c44d4.js +429 -0
  260. package/vue2/lib/edge/evaluate-60a4358c.js +2532 -0
  261. package/vue2/lib/edge/evaluate-d1682114.cjs +21 -0
  262. package/vue2/lib/edge/functions/apply-patch-with-mutation.d.ts +10 -0
  263. package/vue2/lib/edge/functions/camel-to-kebab-case.d.ts +1 -0
  264. package/vue2/lib/edge/functions/deopt.d.ts +4 -0
  265. package/vue2/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  266. package/vue2/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -0
  267. package/vue2/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  268. package/vue2/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  269. package/vue2/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -0
  270. package/vue2/lib/edge/functions/evaluate/evaluate.d.ts +6 -0
  271. package/vue2/lib/edge/functions/evaluate/helpers.d.ts +18 -0
  272. package/vue2/lib/edge/functions/evaluate/index.d.ts +1 -0
  273. package/vue2/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -0
  274. package/vue2/lib/edge/functions/evaluate/placeholder-runtime.d.ts +2 -0
  275. package/vue2/lib/edge/functions/event-handler-name.d.ts +1 -0
  276. package/vue2/lib/edge/functions/extract-text-styles.d.ts +4 -0
  277. package/vue2/lib/edge/functions/fast-clone.d.ts +4 -0
  278. package/vue2/lib/edge/functions/fetch-builder-props.d.ts +40 -0
  279. package/vue2/lib/edge/functions/get-block-actions-handler.d.ts +8 -0
  280. package/vue2/lib/edge/functions/get-block-actions.d.ts +10 -0
  281. package/vue2/lib/edge/functions/get-block-component-options.d.ts +2 -0
  282. package/vue2/lib/edge/functions/get-block-properties.d.ts +6 -0
  283. package/vue2/lib/edge/functions/get-builder-search-params/index.d.ts +12 -0
  284. package/vue2/lib/edge/functions/get-content/generate-content-url.d.ts +2 -0
  285. package/vue2/lib/edge/functions/get-content/index.d.ts +28 -0
  286. package/vue2/lib/edge/functions/get-content/types.d.ts +51 -0
  287. package/vue2/lib/edge/functions/get-fetch.d.ts +1 -0
  288. package/vue2/lib/edge/functions/get-processed-block.d.ts +10 -0
  289. package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +7 -0
  290. package/vue2/lib/edge/functions/is-browser.d.ts +1 -0
  291. package/vue2/lib/edge/functions/is-edge-runtime.d.ts +4 -0
  292. package/vue2/lib/edge/functions/is-editing.d.ts +1 -0
  293. package/vue2/lib/edge/functions/is-iframe.d.ts +1 -0
  294. package/vue2/lib/edge/functions/is-previewing.d.ts +1 -0
  295. package/vue2/lib/edge/functions/on-change.d.ts +7 -0
  296. package/vue2/lib/edge/functions/register-component.d.ts +15 -0
  297. package/vue2/lib/edge/functions/register.d.ts +16 -0
  298. package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +3 -0
  299. package/vue2/lib/edge/functions/set-editor-settings.d.ts +4 -0
  300. package/vue2/lib/edge/functions/set.d.ts +7 -0
  301. package/vue2/lib/edge/functions/track/helpers.d.ts +5 -0
  302. package/vue2/lib/edge/functions/track/index.d.ts +51 -0
  303. package/vue2/lib/edge/functions/track/interaction.d.ts +13 -0
  304. package/vue2/lib/edge/functions/transform-block-properties.d.ts +2 -0
  305. package/vue2/lib/edge/functions/transform-block.d.ts +2 -0
  306. package/vue2/lib/edge/get-block-actions-30acfe84.js +35 -0
  307. package/vue2/lib/edge/get-block-actions-70f0ddb1.cjs +1 -0
  308. package/vue2/lib/edge/get-block-properties-26d44344.js +48 -0
  309. package/vue2/lib/edge/get-block-properties-e47eac50.cjs +1 -0
  310. package/vue2/lib/edge/get-processed-block-6bfaca9c.cjs +1 -0
  311. package/vue2/lib/edge/get-processed-block-d3436370.js +52 -0
  312. package/vue2/lib/edge/helpers/ab-tests.d.ts +9 -0
  313. package/vue2/lib/edge/helpers/canTrack.d.ts +1 -0
  314. package/vue2/lib/edge/helpers/cookie.d.ts +19 -0
  315. package/vue2/lib/edge/helpers/css.d.ts +7 -0
  316. package/vue2/lib/edge/helpers/flatten.d.ts +6 -0
  317. package/vue2/lib/edge/helpers/localStorage.d.ts +9 -0
  318. package/vue2/lib/edge/helpers/logger.d.ts +6 -0
  319. package/vue2/lib/edge/helpers/nullable.d.ts +2 -0
  320. package/vue2/lib/edge/helpers/preview-lru-cache/get.d.ts +2 -0
  321. package/vue2/lib/edge/helpers/preview-lru-cache/init.d.ts +6 -0
  322. package/vue2/lib/edge/helpers/preview-lru-cache/set.d.ts +7 -0
  323. package/vue2/lib/edge/helpers/sessionId.d.ts +6 -0
  324. package/vue2/lib/edge/helpers/time.d.ts +1 -0
  325. package/vue2/lib/edge/helpers/url.d.ts +6 -0
  326. package/vue2/lib/edge/helpers/uuid.d.ts +8 -0
  327. package/vue2/lib/edge/helpers/visitorId.d.ts +6 -0
  328. package/vue2/lib/edge/index-84b65a4f.js +1422 -0
  329. package/vue2/lib/edge/index-a83a44e7.cjs +32 -0
  330. package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +88 -0
  331. package/vue2/lib/edge/index-helpers/top-of-file.d.ts +1 -0
  332. package/vue2/lib/edge/index.cjs +1 -0
  333. package/vue2/lib/edge/index.d.ts +7 -0
  334. package/vue2/lib/edge/index.js +29 -0
  335. package/vue2/lib/edge/inlined-script-58f8fb7e.js +23 -0
  336. package/vue2/lib/edge/inlined-script-c7731507.cjs +1 -0
  337. package/vue2/lib/edge/inlined-styles-f19ba9ed.js +23 -0
  338. package/vue2/lib/edge/inlined-styles-fac668de.cjs +1 -0
  339. package/vue2/lib/edge/interactive-element-086120dd.js +42 -0
  340. package/vue2/lib/edge/interactive-element-f7ebf39a.cjs +1 -0
  341. package/vue2/lib/edge/repeated-block-5d01ffbd.cjs +1 -0
  342. package/vue2/lib/edge/repeated-block-8d023e60.js +38 -0
  343. package/vue2/lib/edge/scripts/init-editing.d.ts +6 -0
  344. package/vue2/lib/edge/server-index.d.ts +15 -0
  345. package/vue2/lib/edge/style.css +1 -0
  346. package/vue2/lib/edge/styles-022c2ac6.cjs +31 -0
  347. package/vue2/lib/edge/styles-dafbc021.js +89 -0
  348. package/vue2/lib/edge/types/api-version.d.ts +2 -0
  349. package/vue2/lib/edge/types/builder-block.d.ts +66 -0
  350. package/vue2/lib/edge/types/builder-content.d.ts +44 -0
  351. package/vue2/lib/edge/types/builder-props.d.ts +9 -0
  352. package/vue2/lib/edge/types/can-track.d.ts +3 -0
  353. package/vue2/lib/edge/types/components.d.ts +111 -0
  354. package/vue2/lib/edge/types/deep-partial.d.ts +3 -0
  355. package/vue2/lib/edge/types/element.d.ts +59 -0
  356. package/vue2/lib/edge/types/enforced-partials.d.ts +21 -0
  357. package/vue2/lib/edge/types/input.d.ts +121 -0
  358. package/vue2/lib/edge/types/targets.d.ts +1 -0
  359. package/vue2/lib/edge/types/typescript.d.ts +11 -0
  360. package/vue2/lib/node/block-7572b272.cjs +3 -0
  361. package/vue2/lib/node/block-c120af6b.js +181 -0
  362. package/vue2/lib/node/block-styles-7b6133cb.js +77 -0
  363. package/vue2/lib/node/block-styles-d210742a.cjs +1 -0
  364. package/vue2/lib/node/block-wrapper-7137e4eb.js +66 -0
  365. package/vue2/lib/node/block-wrapper-73003591.cjs +1 -0
  366. package/vue2/lib/node/blocks/button/button.vue.d.ts +17 -0
  367. package/vue2/lib/node/blocks/button/component-info.d.ts +2 -0
  368. package/vue2/lib/node/blocks/columns/columns.vue.d.ts +44 -0
  369. package/vue2/lib/node/blocks/columns/component-info.d.ts +2 -0
  370. package/vue2/lib/node/blocks/custom-code/component-info.d.ts +2 -0
  371. package/vue2/lib/node/blocks/custom-code/custom-code.vue.d.ts +14 -0
  372. package/vue2/lib/node/blocks/embed/component-info.d.ts +2 -0
  373. package/vue2/lib/node/blocks/embed/embed.vue.d.ts +18 -0
  374. package/vue2/lib/node/blocks/embed/helpers.d.ts +1 -0
  375. package/vue2/lib/node/blocks/form/component-info.d.ts +2 -0
  376. package/vue2/lib/node/blocks/fragment/component-info.d.ts +2 -0
  377. package/vue2/lib/node/blocks/fragment/fragment.vue.d.ts +7 -0
  378. package/vue2/lib/node/blocks/helpers.d.ts +13 -0
  379. package/vue2/lib/node/blocks/image/component-info.d.ts +2 -0
  380. package/vue2/lib/node/blocks/image/image.helpers.d.ts +1 -0
  381. package/vue2/lib/node/blocks/image/image.vue.d.ts +72 -0
  382. package/vue2/lib/node/blocks/img/component-info.d.ts +2 -0
  383. package/vue2/lib/node/blocks/img/img.vue.d.ts +38 -0
  384. package/vue2/lib/node/blocks/input/component-info.d.ts +2 -0
  385. package/vue2/lib/node/blocks/raw-text/component-info.d.ts +2 -0
  386. package/vue2/lib/node/blocks/section/component-info.d.ts +2 -0
  387. package/vue2/lib/node/blocks/section/section.vue.d.ts +22 -0
  388. package/vue2/lib/node/blocks/select/component-info.d.ts +2 -0
  389. package/vue2/lib/node/blocks/submit-button/component-info.d.ts +2 -0
  390. package/vue2/lib/node/blocks/symbol/component-info.d.ts +2 -0
  391. package/vue2/lib/node/blocks/symbol/symbol.helpers.d.ts +14 -0
  392. package/vue2/lib/node/blocks/symbol/symbol.vue.d.ts +37 -0
  393. package/vue2/lib/node/blocks/text/component-info.d.ts +2 -0
  394. package/vue2/lib/node/blocks/text/text.vue.d.ts +11 -0
  395. package/vue2/lib/node/blocks/textarea/component-info.d.ts +2 -0
  396. package/vue2/lib/node/blocks/video/component-info.d.ts +2 -0
  397. package/vue2/lib/node/blocks/video/video.vue.d.ts +64 -0
  398. package/vue2/lib/node/blocks-wrapper-9f1e75a3.js +72 -0
  399. package/vue2/lib/node/blocks-wrapper-b4d967ac.cjs +1 -0
  400. package/vue2/lib/node/component-ref-b509786c.js +102 -0
  401. package/vue2/lib/node/component-ref-da79bed8.cjs +1 -0
  402. package/vue2/lib/node/components/block/block.helpers.d.ts +13 -0
  403. package/vue2/lib/node/components/block/block.vue.d.ts +41 -0
  404. package/vue2/lib/node/components/block/components/block-styles.vue.d.ts +23 -0
  405. package/vue2/lib/node/components/block/components/block-wrapper.vue.d.ts +29 -0
  406. package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  407. package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  408. package/vue2/lib/node/components/block/components/interactive-element.vue.d.ts +30 -0
  409. package/vue2/lib/node/components/block/components/repeated-block.vue.d.ts +16 -0
  410. package/vue2/lib/node/components/block/types.d.ts +6 -0
  411. package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  412. package/vue2/lib/node/components/blocks/blocks.vue.d.ts +29 -0
  413. package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +56 -0
  414. package/vue2/lib/node/components/content/components/styles.helpers.d.ts +15 -0
  415. package/vue2/lib/node/components/content/components/styles.vue.d.ts +16 -0
  416. package/vue2/lib/node/components/content/content.helpers.d.ts +7 -0
  417. package/vue2/lib/node/components/content/content.types.d.ts +24 -0
  418. package/vue2/lib/node/components/content/content.vue.d.ts +26 -0
  419. package/vue2/lib/node/components/content/index.d.ts +1 -0
  420. package/vue2/lib/node/components/content/wrap-component-ref.d.ts +6 -0
  421. package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +20 -0
  422. package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +50 -0
  423. package/vue2/lib/node/components/content-variants/helpers.d.ts +18 -0
  424. package/vue2/lib/node/components/inlined-script.vue.d.ts +11 -0
  425. package/vue2/lib/node/components/inlined-styles.vue.d.ts +11 -0
  426. package/vue2/lib/node/constants/builder-registered-components.d.ts +6 -0
  427. package/vue2/lib/node/constants/device-sizes.d.ts +13 -0
  428. package/vue2/lib/node/constants/sdk-version.d.ts +1 -0
  429. package/vue2/lib/node/constants/target.d.ts +2 -0
  430. package/vue2/lib/node/content-284be2c3.cjs +1 -0
  431. package/vue2/lib/node/content-adf884f8.js +928 -0
  432. package/vue2/lib/node/context/builder.context.d.ts +15 -0
  433. package/vue2/lib/node/context/components.context.d.ts +7 -0
  434. package/vue2/lib/node/context/types.d.ts +35 -0
  435. package/vue2/lib/node/css-01587ac9.js +21 -0
  436. package/vue2/lib/node/css-924d8859.cjs +6 -0
  437. package/vue2/lib/node/enable-editor-4c0af531.cjs +1 -0
  438. package/vue2/lib/node/enable-editor-872f651f.js +429 -0
  439. package/vue2/lib/node/evaluate-34eb09eb.js +81 -0
  440. package/vue2/lib/node/evaluate-3b22ca76.cjs +1 -0
  441. package/vue2/lib/node/functions/apply-patch-with-mutation.d.ts +10 -0
  442. package/vue2/lib/node/functions/camel-to-kebab-case.d.ts +1 -0
  443. package/vue2/lib/node/functions/deopt.d.ts +4 -0
  444. package/vue2/lib/node/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  445. package/vue2/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -0
  446. package/vue2/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  447. package/vue2/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  448. package/vue2/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -0
  449. package/vue2/lib/node/functions/evaluate/evaluate.d.ts +6 -0
  450. package/vue2/lib/node/functions/evaluate/helpers.d.ts +18 -0
  451. package/vue2/lib/node/functions/evaluate/index.d.ts +1 -0
  452. package/vue2/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -0
  453. package/vue2/lib/node/functions/evaluate/placeholder-runtime.d.ts +2 -0
  454. package/vue2/lib/node/functions/event-handler-name.d.ts +1 -0
  455. package/vue2/lib/node/functions/extract-text-styles.d.ts +4 -0
  456. package/vue2/lib/node/functions/fast-clone.d.ts +4 -0
  457. package/vue2/lib/node/functions/fetch-builder-props.d.ts +40 -0
  458. package/vue2/lib/node/functions/get-block-actions-handler.d.ts +8 -0
  459. package/vue2/lib/node/functions/get-block-actions.d.ts +10 -0
  460. package/vue2/lib/node/functions/get-block-component-options.d.ts +2 -0
  461. package/vue2/lib/node/functions/get-block-properties.d.ts +6 -0
  462. package/vue2/lib/node/functions/get-builder-search-params/index.d.ts +12 -0
  463. package/vue2/lib/node/functions/get-content/generate-content-url.d.ts +2 -0
  464. package/vue2/lib/node/functions/get-content/index.d.ts +28 -0
  465. package/vue2/lib/node/functions/get-content/types.d.ts +51 -0
  466. package/vue2/lib/node/functions/get-fetch.d.ts +1 -0
  467. package/vue2/lib/node/functions/get-processed-block.d.ts +10 -0
  468. package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +7 -0
  469. package/vue2/lib/node/functions/is-browser.d.ts +1 -0
  470. package/vue2/lib/node/functions/is-edge-runtime.d.ts +4 -0
  471. package/vue2/lib/node/functions/is-editing.d.ts +1 -0
  472. package/vue2/lib/node/functions/is-iframe.d.ts +1 -0
  473. package/vue2/lib/node/functions/is-previewing.d.ts +1 -0
  474. package/vue2/lib/node/functions/on-change.d.ts +7 -0
  475. package/vue2/lib/node/functions/register-component.d.ts +15 -0
  476. package/vue2/lib/node/functions/register.d.ts +16 -0
  477. package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +3 -0
  478. package/vue2/lib/node/functions/set-editor-settings.d.ts +4 -0
  479. package/vue2/lib/node/functions/set.d.ts +7 -0
  480. package/vue2/lib/node/functions/track/helpers.d.ts +5 -0
  481. package/vue2/lib/node/functions/track/index.d.ts +51 -0
  482. package/vue2/lib/node/functions/track/interaction.d.ts +13 -0
  483. package/vue2/lib/node/functions/transform-block-properties.d.ts +2 -0
  484. package/vue2/lib/node/functions/transform-block.d.ts +2 -0
  485. package/vue2/lib/node/get-block-actions-2147e6cd.js +35 -0
  486. package/vue2/lib/node/get-block-actions-55e90df6.cjs +1 -0
  487. package/vue2/lib/node/get-block-properties-2f43ed48.cjs +1 -0
  488. package/vue2/lib/node/get-block-properties-58c54a69.js +48 -0
  489. package/vue2/lib/node/get-processed-block-15b0d499.cjs +1 -0
  490. package/vue2/lib/node/get-processed-block-a2ff4c51.js +58 -0
  491. package/vue2/lib/node/helpers/ab-tests.d.ts +9 -0
  492. package/vue2/lib/node/helpers/canTrack.d.ts +1 -0
  493. package/vue2/lib/node/helpers/cookie.d.ts +19 -0
  494. package/vue2/lib/node/helpers/css.d.ts +7 -0
  495. package/vue2/lib/node/helpers/flatten.d.ts +6 -0
  496. package/vue2/lib/node/helpers/localStorage.d.ts +9 -0
  497. package/vue2/lib/node/helpers/logger.d.ts +6 -0
  498. package/vue2/lib/node/helpers/nullable.d.ts +2 -0
  499. package/vue2/lib/node/helpers/preview-lru-cache/get.d.ts +2 -0
  500. package/vue2/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
  501. package/vue2/lib/node/helpers/preview-lru-cache/init.d.ts +6 -0
  502. package/vue2/lib/node/helpers/preview-lru-cache/set.d.ts +7 -0
  503. package/vue2/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
  504. package/vue2/lib/node/helpers/sessionId.d.ts +6 -0
  505. package/vue2/lib/node/helpers/time.d.ts +1 -0
  506. package/vue2/lib/node/helpers/url.d.ts +6 -0
  507. package/vue2/lib/node/helpers/uuid.d.ts +8 -0
  508. package/vue2/lib/node/helpers/visitorId.d.ts +6 -0
  509. package/vue2/lib/node/index-20a64e56.js +1422 -0
  510. package/vue2/lib/node/index-31b135ac.cjs +32 -0
  511. package/vue2/lib/node/index-helpers/blocks-exports.d.ts +88 -0
  512. package/vue2/lib/node/index-helpers/top-of-file.d.ts +1 -0
  513. package/vue2/lib/node/index.cjs +1 -0
  514. package/vue2/lib/node/index.d.ts +7 -0
  515. package/vue2/lib/node/index.js +29 -0
  516. package/vue2/lib/node/inlined-script-395a54bf.cjs +1 -0
  517. package/vue2/lib/node/inlined-script-dd1c2277.js +23 -0
  518. package/vue2/lib/node/inlined-styles-5f724636.js +23 -0
  519. package/vue2/lib/node/inlined-styles-6ad3b97d.cjs +1 -0
  520. package/vue2/lib/node/interactive-element-91844a73.cjs +1 -0
  521. package/vue2/lib/node/interactive-element-9a3140c7.js +42 -0
  522. package/vue2/lib/node/repeated-block-2801e2ad.cjs +1 -0
  523. package/vue2/lib/node/repeated-block-db085f7a.js +38 -0
  524. package/vue2/lib/node/scripts/init-editing.d.ts +6 -0
  525. package/vue2/lib/node/server-index.d.ts +15 -0
  526. package/vue2/lib/node/style.css +1 -0
  527. package/vue2/lib/node/styles-1aad0890.cjs +31 -0
  528. package/vue2/lib/node/styles-c675d986.js +89 -0
  529. package/vue2/lib/node/types/api-version.d.ts +2 -0
  530. package/vue2/lib/node/types/builder-block.d.ts +66 -0
  531. package/vue2/lib/node/types/builder-content.d.ts +44 -0
  532. package/vue2/lib/node/types/builder-props.d.ts +9 -0
  533. package/vue2/lib/node/types/can-track.d.ts +3 -0
  534. package/vue2/lib/node/types/components.d.ts +111 -0
  535. package/vue2/lib/node/types/deep-partial.d.ts +3 -0
  536. package/vue2/lib/node/types/element.d.ts +59 -0
  537. package/vue2/lib/node/types/enforced-partials.d.ts +21 -0
  538. package/vue2/lib/node/types/input.d.ts +121 -0
  539. package/vue2/lib/node/types/targets.d.ts +1 -0
  540. package/vue2/lib/node/types/typescript.d.ts +11 -0
  541. package/vue3/lib/browser/block-wrapper.ae2637e5.cjs +1 -0
  542. package/vue3/lib/browser/block-wrapper.f1e0d99f.js +54 -0
  543. package/vue3/lib/browser/blocks/button/button.vue.d.ts +30 -0
  544. package/vue3/lib/browser/blocks/button/component-info.d.ts +2 -0
  545. package/vue3/lib/browser/blocks/columns/columns.vue.d.ts +69 -0
  546. package/vue3/lib/browser/blocks/columns/component-info.d.ts +2 -0
  547. package/vue3/lib/browser/blocks/custom-code/component-info.d.ts +2 -0
  548. package/vue3/lib/browser/blocks/custom-code/custom-code.vue.d.ts +21 -0
  549. package/vue3/lib/browser/blocks/embed/component-info.d.ts +2 -0
  550. package/vue3/lib/browser/blocks/embed/embed.vue.d.ts +22 -0
  551. package/vue3/lib/browser/blocks/embed/helpers.d.ts +1 -0
  552. package/vue3/lib/browser/blocks/form/component-info.d.ts +2 -0
  553. package/vue3/lib/browser/blocks/fragment/component-info.d.ts +2 -0
  554. package/vue3/lib/browser/blocks/fragment/fragment.vue.d.ts +7 -0
  555. package/vue3/lib/browser/blocks/helpers.d.ts +13 -0
  556. package/vue3/lib/browser/blocks/image/component-info.d.ts +2 -0
  557. package/vue3/lib/browser/blocks/image/image.helpers.d.ts +1 -0
  558. package/vue3/lib/browser/blocks/image/image.vue.d.ts +72 -0
  559. package/vue3/lib/browser/blocks/img/component-info.d.ts +2 -0
  560. package/vue3/lib/browser/blocks/img/img.vue.d.ts +38 -0
  561. package/vue3/lib/browser/blocks/input/component-info.d.ts +2 -0
  562. package/vue3/lib/browser/blocks/raw-text/component-info.d.ts +2 -0
  563. package/vue3/lib/browser/blocks/section/component-info.d.ts +2 -0
  564. package/vue3/lib/browser/blocks/section/section.vue.d.ts +22 -0
  565. package/vue3/lib/browser/blocks/select/component-info.d.ts +2 -0
  566. package/vue3/lib/browser/blocks/submit-button/component-info.d.ts +2 -0
  567. package/vue3/lib/browser/blocks/symbol/component-info.d.ts +2 -0
  568. package/vue3/lib/browser/blocks/symbol/symbol.helpers.d.ts +14 -0
  569. package/vue3/lib/browser/blocks/symbol/symbol.vue.d.ts +56 -0
  570. package/vue3/lib/browser/blocks/text/component-info.d.ts +2 -0
  571. package/vue3/lib/browser/blocks/text/text.vue.d.ts +11 -0
  572. package/vue3/lib/browser/blocks/textarea/component-info.d.ts +2 -0
  573. package/vue3/lib/browser/blocks/video/component-info.d.ts +2 -0
  574. package/vue3/lib/browser/blocks/video/video.vue.d.ts +64 -0
  575. package/vue3/lib/browser/component-ref.90060339.cjs +1 -0
  576. package/vue3/lib/browser/component-ref.e2ad1f80.js +111 -0
  577. package/vue3/lib/browser/components/block/block.helpers.d.ts +13 -0
  578. package/vue3/lib/browser/components/block/block.vue.d.ts +41 -0
  579. package/vue3/lib/browser/components/block/components/block-styles.vue.d.ts +23 -0
  580. package/vue3/lib/browser/components/block/components/block-wrapper.vue.d.ts +29 -0
  581. package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  582. package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  583. package/vue3/lib/browser/components/block/components/interactive-element.vue.d.ts +30 -0
  584. package/vue3/lib/browser/components/block/components/repeated-block.vue.d.ts +16 -0
  585. package/vue3/lib/browser/components/block/types.d.ts +6 -0
  586. package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  587. package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +29 -0
  588. package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +90 -0
  589. package/vue3/lib/browser/components/content/components/styles.helpers.d.ts +15 -0
  590. package/vue3/lib/browser/components/content/components/styles.vue.d.ts +16 -0
  591. package/vue3/lib/browser/components/content/content.helpers.d.ts +7 -0
  592. package/vue3/lib/browser/components/content/content.types.d.ts +24 -0
  593. package/vue3/lib/browser/components/content/content.vue.d.ts +69 -0
  594. package/vue3/lib/browser/components/content/index.d.ts +1 -0
  595. package/vue3/lib/browser/components/content/wrap-component-ref.d.ts +6 -0
  596. package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +20 -0
  597. package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +73 -0
  598. package/vue3/lib/browser/components/content-variants/helpers.d.ts +41 -0
  599. package/vue3/lib/browser/components/inlined-script.vue.d.ts +11 -0
  600. package/vue3/lib/browser/components/inlined-styles.vue.d.ts +11 -0
  601. package/vue3/lib/browser/constants/builder-registered-components.d.ts +6 -0
  602. package/vue3/lib/browser/constants/device-sizes.d.ts +13 -0
  603. package/vue3/lib/browser/constants/sdk-version.d.ts +1 -0
  604. package/vue3/lib/browser/constants/target.d.ts +2 -0
  605. package/vue3/lib/browser/context/builder.context.d.ts +15 -0
  606. package/vue3/lib/browser/context/components.context.d.ts +7 -0
  607. package/vue3/lib/browser/context/types.d.ts +35 -0
  608. package/vue3/lib/browser/functions/apply-patch-with-mutation.d.ts +10 -0
  609. package/vue3/lib/browser/functions/camel-to-kebab-case.d.ts +1 -0
  610. package/vue3/lib/browser/functions/deopt.d.ts +4 -0
  611. package/vue3/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  612. package/vue3/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -0
  613. package/vue3/lib/browser/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  614. package/vue3/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  615. package/vue3/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -0
  616. package/vue3/lib/browser/functions/evaluate/evaluate.d.ts +6 -0
  617. package/vue3/lib/browser/functions/evaluate/helpers.d.ts +18 -0
  618. package/vue3/lib/browser/functions/evaluate/index.d.ts +1 -0
  619. package/vue3/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -0
  620. package/vue3/lib/browser/functions/evaluate/placeholder-runtime.d.ts +2 -0
  621. package/vue3/lib/browser/functions/event-handler-name.d.ts +1 -0
  622. package/vue3/lib/browser/functions/extract-text-styles.d.ts +4 -0
  623. package/vue3/lib/browser/functions/fast-clone.d.ts +4 -0
  624. package/vue3/lib/browser/functions/fetch-builder-props.d.ts +40 -0
  625. package/vue3/lib/browser/functions/get-block-actions-handler.d.ts +8 -0
  626. package/vue3/lib/browser/functions/get-block-actions.d.ts +10 -0
  627. package/vue3/lib/browser/functions/get-block-component-options.d.ts +2 -0
  628. package/vue3/lib/browser/functions/get-block-properties.d.ts +6 -0
  629. package/vue3/lib/browser/functions/get-builder-search-params/index.d.ts +12 -0
  630. package/vue3/lib/browser/functions/get-content/generate-content-url.d.ts +2 -0
  631. package/vue3/lib/browser/functions/get-content/index.d.ts +28 -0
  632. package/vue3/lib/browser/functions/get-content/types.d.ts +51 -0
  633. package/vue3/lib/browser/functions/get-fetch.d.ts +1 -0
  634. package/vue3/lib/browser/functions/get-processed-block.d.ts +10 -0
  635. package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +7 -0
  636. package/vue3/lib/browser/functions/is-browser.d.ts +1 -0
  637. package/vue3/lib/browser/functions/is-edge-runtime.d.ts +4 -0
  638. package/vue3/lib/browser/functions/is-editing.d.ts +1 -0
  639. package/vue3/lib/browser/functions/is-iframe.d.ts +1 -0
  640. package/vue3/lib/browser/functions/is-previewing.d.ts +1 -0
  641. package/vue3/lib/browser/functions/on-change.d.ts +7 -0
  642. package/vue3/lib/browser/functions/register-component.d.ts +15 -0
  643. package/vue3/lib/browser/functions/register.d.ts +16 -0
  644. package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +3 -0
  645. package/vue3/lib/browser/functions/set-editor-settings.d.ts +4 -0
  646. package/vue3/lib/browser/functions/set.d.ts +7 -0
  647. package/vue3/lib/browser/functions/track/helpers.d.ts +5 -0
  648. package/vue3/lib/browser/functions/track/index.d.ts +51 -0
  649. package/vue3/lib/browser/functions/track/interaction.d.ts +13 -0
  650. package/vue3/lib/browser/functions/transform-block-properties.d.ts +2 -0
  651. package/vue3/lib/browser/functions/transform-block.d.ts +2 -0
  652. package/vue3/lib/browser/get-block-actions.05d2bf89.js +79 -0
  653. package/vue3/lib/browser/get-block-actions.9a71b975.cjs +1 -0
  654. package/vue3/lib/browser/helpers/ab-tests.d.ts +9 -0
  655. package/vue3/lib/browser/helpers/canTrack.d.ts +1 -0
  656. package/vue3/lib/browser/helpers/cookie.d.ts +19 -0
  657. package/vue3/lib/browser/helpers/css.d.ts +7 -0
  658. package/vue3/lib/browser/helpers/flatten.d.ts +6 -0
  659. package/vue3/lib/browser/helpers/localStorage.d.ts +9 -0
  660. package/vue3/lib/browser/helpers/logger.d.ts +6 -0
  661. package/vue3/lib/browser/helpers/nullable.d.ts +2 -0
  662. package/vue3/lib/browser/helpers/preview-lru-cache/get.d.ts +2 -0
  663. package/vue3/lib/browser/helpers/preview-lru-cache/helpers.d.ts +0 -0
  664. package/vue3/lib/browser/helpers/preview-lru-cache/init.d.ts +6 -0
  665. package/vue3/lib/browser/helpers/preview-lru-cache/set.d.ts +7 -0
  666. package/vue3/lib/browser/helpers/preview-lru-cache/types.d.ts +0 -0
  667. package/vue3/lib/browser/helpers/sessionId.d.ts +6 -0
  668. package/vue3/lib/browser/helpers/time.d.ts +1 -0
  669. package/vue3/lib/browser/helpers/url.d.ts +6 -0
  670. package/vue3/lib/browser/helpers/uuid.d.ts +8 -0
  671. package/vue3/lib/browser/helpers/visitorId.d.ts +6 -0
  672. package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +111 -0
  673. package/vue3/lib/browser/index-helpers/top-of-file.d.ts +1 -0
  674. package/vue3/lib/browser/index.bb9d2170.js +3243 -0
  675. package/vue3/lib/browser/index.cjs +1 -0
  676. package/vue3/lib/browser/index.d.ts +7 -0
  677. package/vue3/lib/browser/index.eed52cb2.cjs +69 -0
  678. package/vue3/lib/browser/index.js +29 -0
  679. package/vue3/lib/browser/repeated-block.6860cc5f.js +33 -0
  680. package/vue3/lib/browser/repeated-block.f7f28e2b.cjs +1 -0
  681. package/vue3/lib/browser/scripts/init-editing.d.ts +6 -0
  682. package/vue3/lib/browser/server-index.d.ts +15 -0
  683. package/vue3/lib/browser/style.css +1 -0
  684. package/vue3/lib/browser/types/api-version.d.ts +2 -0
  685. package/vue3/lib/browser/types/builder-block.d.ts +66 -0
  686. package/vue3/lib/browser/types/builder-content.d.ts +44 -0
  687. package/vue3/lib/browser/types/builder-props.d.ts +9 -0
  688. package/vue3/lib/browser/types/can-track.d.ts +3 -0
  689. package/vue3/lib/browser/types/components.d.ts +111 -0
  690. package/vue3/lib/browser/types/deep-partial.d.ts +3 -0
  691. package/vue3/lib/browser/types/element.d.ts +59 -0
  692. package/vue3/lib/browser/types/enforced-partials.d.ts +21 -0
  693. package/vue3/lib/browser/types/input.d.ts +121 -0
  694. package/vue3/lib/browser/types/targets.d.ts +1 -0
  695. package/vue3/lib/browser/types/typescript.d.ts +11 -0
  696. package/vue3/lib/edge/block-wrapper.5020430a.js +54 -0
  697. package/vue3/lib/edge/block-wrapper.6bb62da5.cjs +1 -0
  698. package/vue3/lib/edge/blocks/button/button.vue.d.ts +30 -0
  699. package/vue3/lib/edge/blocks/button/component-info.d.ts +2 -0
  700. package/vue3/lib/edge/blocks/columns/columns.vue.d.ts +69 -0
  701. package/vue3/lib/edge/blocks/columns/component-info.d.ts +2 -0
  702. package/vue3/lib/edge/blocks/custom-code/component-info.d.ts +2 -0
  703. package/vue3/lib/edge/blocks/custom-code/custom-code.vue.d.ts +21 -0
  704. package/vue3/lib/edge/blocks/embed/component-info.d.ts +2 -0
  705. package/vue3/lib/edge/blocks/embed/embed.vue.d.ts +22 -0
  706. package/vue3/lib/edge/blocks/embed/helpers.d.ts +1 -0
  707. package/vue3/lib/edge/blocks/form/component-info.d.ts +2 -0
  708. package/vue3/lib/edge/blocks/fragment/component-info.d.ts +2 -0
  709. package/vue3/lib/edge/blocks/fragment/fragment.vue.d.ts +7 -0
  710. package/vue3/lib/edge/blocks/helpers.d.ts +13 -0
  711. package/vue3/lib/edge/blocks/image/component-info.d.ts +2 -0
  712. package/vue3/lib/edge/blocks/image/image.helpers.d.ts +1 -0
  713. package/vue3/lib/edge/blocks/image/image.vue.d.ts +72 -0
  714. package/vue3/lib/edge/blocks/img/component-info.d.ts +2 -0
  715. package/vue3/lib/edge/blocks/img/img.vue.d.ts +38 -0
  716. package/vue3/lib/edge/blocks/input/component-info.d.ts +2 -0
  717. package/vue3/lib/edge/blocks/raw-text/component-info.d.ts +2 -0
  718. package/vue3/lib/edge/blocks/section/component-info.d.ts +2 -0
  719. package/vue3/lib/edge/blocks/section/section.vue.d.ts +22 -0
  720. package/vue3/lib/edge/blocks/select/component-info.d.ts +2 -0
  721. package/vue3/lib/edge/blocks/submit-button/component-info.d.ts +2 -0
  722. package/vue3/lib/edge/blocks/symbol/component-info.d.ts +2 -0
  723. package/vue3/lib/edge/blocks/symbol/symbol.helpers.d.ts +14 -0
  724. package/vue3/lib/edge/blocks/symbol/symbol.vue.d.ts +56 -0
  725. package/vue3/lib/edge/blocks/text/component-info.d.ts +2 -0
  726. package/vue3/lib/edge/blocks/text/text.vue.d.ts +11 -0
  727. package/vue3/lib/edge/blocks/textarea/component-info.d.ts +2 -0
  728. package/vue3/lib/edge/blocks/video/component-info.d.ts +2 -0
  729. package/vue3/lib/edge/blocks/video/video.vue.d.ts +64 -0
  730. package/vue3/lib/edge/component-ref.0528b1a0.cjs +1 -0
  731. package/vue3/lib/edge/component-ref.1af99a31.js +111 -0
  732. package/vue3/lib/edge/components/block/block.helpers.d.ts +13 -0
  733. package/vue3/lib/edge/components/block/block.vue.d.ts +41 -0
  734. package/vue3/lib/edge/components/block/components/block-styles.vue.d.ts +23 -0
  735. package/vue3/lib/edge/components/block/components/block-wrapper.vue.d.ts +29 -0
  736. package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  737. package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  738. package/vue3/lib/edge/components/block/components/interactive-element.vue.d.ts +30 -0
  739. package/vue3/lib/edge/components/block/components/repeated-block.vue.d.ts +16 -0
  740. package/vue3/lib/edge/components/block/types.d.ts +6 -0
  741. package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  742. package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +29 -0
  743. package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +90 -0
  744. package/vue3/lib/edge/components/content/components/styles.helpers.d.ts +15 -0
  745. package/vue3/lib/edge/components/content/components/styles.vue.d.ts +16 -0
  746. package/vue3/lib/edge/components/content/content.helpers.d.ts +7 -0
  747. package/vue3/lib/edge/components/content/content.types.d.ts +24 -0
  748. package/vue3/lib/edge/components/content/content.vue.d.ts +69 -0
  749. package/vue3/lib/edge/components/content/index.d.ts +1 -0
  750. package/vue3/lib/edge/components/content/wrap-component-ref.d.ts +6 -0
  751. package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +20 -0
  752. package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +73 -0
  753. package/vue3/lib/edge/components/content-variants/helpers.d.ts +41 -0
  754. package/vue3/lib/edge/components/inlined-script.vue.d.ts +11 -0
  755. package/vue3/lib/edge/components/inlined-styles.vue.d.ts +11 -0
  756. package/vue3/lib/edge/constants/builder-registered-components.d.ts +6 -0
  757. package/vue3/lib/edge/constants/device-sizes.d.ts +13 -0
  758. package/vue3/lib/edge/constants/sdk-version.d.ts +1 -0
  759. package/vue3/lib/edge/constants/target.d.ts +2 -0
  760. package/vue3/lib/edge/context/builder.context.d.ts +15 -0
  761. package/vue3/lib/edge/context/components.context.d.ts +7 -0
  762. package/vue3/lib/edge/context/types.d.ts +35 -0
  763. package/vue3/lib/edge/functions/apply-patch-with-mutation.d.ts +10 -0
  764. package/vue3/lib/edge/functions/camel-to-kebab-case.d.ts +1 -0
  765. package/vue3/lib/edge/functions/deopt.d.ts +4 -0
  766. package/vue3/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  767. package/vue3/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -0
  768. package/vue3/lib/edge/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  769. package/vue3/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  770. package/vue3/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -0
  771. package/vue3/lib/edge/functions/evaluate/evaluate.d.ts +6 -0
  772. package/vue3/lib/edge/functions/evaluate/helpers.d.ts +18 -0
  773. package/vue3/lib/edge/functions/evaluate/index.d.ts +1 -0
  774. package/vue3/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -0
  775. package/vue3/lib/edge/functions/evaluate/placeholder-runtime.d.ts +2 -0
  776. package/vue3/lib/edge/functions/event-handler-name.d.ts +1 -0
  777. package/vue3/lib/edge/functions/extract-text-styles.d.ts +4 -0
  778. package/vue3/lib/edge/functions/fast-clone.d.ts +4 -0
  779. package/vue3/lib/edge/functions/fetch-builder-props.d.ts +40 -0
  780. package/vue3/lib/edge/functions/get-block-actions-handler.d.ts +8 -0
  781. package/vue3/lib/edge/functions/get-block-actions.d.ts +10 -0
  782. package/vue3/lib/edge/functions/get-block-component-options.d.ts +2 -0
  783. package/vue3/lib/edge/functions/get-block-properties.d.ts +6 -0
  784. package/vue3/lib/edge/functions/get-builder-search-params/index.d.ts +12 -0
  785. package/vue3/lib/edge/functions/get-content/generate-content-url.d.ts +2 -0
  786. package/vue3/lib/edge/functions/get-content/index.d.ts +28 -0
  787. package/vue3/lib/edge/functions/get-content/types.d.ts +51 -0
  788. package/vue3/lib/edge/functions/get-fetch.d.ts +1 -0
  789. package/vue3/lib/edge/functions/get-processed-block.d.ts +10 -0
  790. package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +7 -0
  791. package/vue3/lib/edge/functions/is-browser.d.ts +1 -0
  792. package/vue3/lib/edge/functions/is-edge-runtime.d.ts +4 -0
  793. package/vue3/lib/edge/functions/is-editing.d.ts +1 -0
  794. package/vue3/lib/edge/functions/is-iframe.d.ts +1 -0
  795. package/vue3/lib/edge/functions/is-previewing.d.ts +1 -0
  796. package/vue3/lib/edge/functions/on-change.d.ts +7 -0
  797. package/vue3/lib/edge/functions/register-component.d.ts +15 -0
  798. package/vue3/lib/edge/functions/register.d.ts +16 -0
  799. package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +3 -0
  800. package/vue3/lib/edge/functions/set-editor-settings.d.ts +4 -0
  801. package/vue3/lib/edge/functions/set.d.ts +7 -0
  802. package/vue3/lib/edge/functions/track/helpers.d.ts +5 -0
  803. package/vue3/lib/edge/functions/track/index.d.ts +51 -0
  804. package/vue3/lib/edge/functions/track/interaction.d.ts +13 -0
  805. package/vue3/lib/edge/functions/transform-block-properties.d.ts +2 -0
  806. package/vue3/lib/edge/functions/transform-block.d.ts +2 -0
  807. package/vue3/lib/edge/get-block-actions.8e0880b9.js +79 -0
  808. package/vue3/lib/edge/get-block-actions.cdcc68a3.cjs +1 -0
  809. package/vue3/lib/edge/helpers/ab-tests.d.ts +9 -0
  810. package/vue3/lib/edge/helpers/canTrack.d.ts +1 -0
  811. package/vue3/lib/edge/helpers/cookie.d.ts +19 -0
  812. package/vue3/lib/edge/helpers/css.d.ts +7 -0
  813. package/vue3/lib/edge/helpers/flatten.d.ts +6 -0
  814. package/vue3/lib/edge/helpers/localStorage.d.ts +9 -0
  815. package/vue3/lib/edge/helpers/logger.d.ts +6 -0
  816. package/vue3/lib/edge/helpers/nullable.d.ts +2 -0
  817. package/vue3/lib/edge/helpers/preview-lru-cache/get.d.ts +2 -0
  818. package/vue3/lib/edge/helpers/preview-lru-cache/helpers.d.ts +0 -0
  819. package/vue3/lib/edge/helpers/preview-lru-cache/init.d.ts +6 -0
  820. package/vue3/lib/edge/helpers/preview-lru-cache/set.d.ts +7 -0
  821. package/vue3/lib/edge/helpers/preview-lru-cache/types.d.ts +0 -0
  822. package/vue3/lib/edge/helpers/sessionId.d.ts +6 -0
  823. package/vue3/lib/edge/helpers/time.d.ts +1 -0
  824. package/vue3/lib/edge/helpers/url.d.ts +6 -0
  825. package/vue3/lib/edge/helpers/uuid.d.ts +8 -0
  826. package/vue3/lib/edge/helpers/visitorId.d.ts +6 -0
  827. package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +111 -0
  828. package/vue3/lib/edge/index-helpers/top-of-file.d.ts +1 -0
  829. package/vue3/lib/edge/index.51a4e9bc.js +5687 -0
  830. package/vue3/lib/edge/index.cjs +1 -0
  831. package/vue3/lib/edge/index.d.ts +7 -0
  832. package/vue3/lib/edge/index.f8106764.cjs +89 -0
  833. package/vue3/lib/edge/index.js +29 -0
  834. package/vue3/lib/edge/repeated-block.1735d6ce.js +33 -0
  835. package/vue3/lib/edge/repeated-block.6e7688cb.cjs +1 -0
  836. package/vue3/lib/edge/scripts/init-editing.d.ts +6 -0
  837. package/vue3/lib/edge/server-index.d.ts +15 -0
  838. package/vue3/lib/edge/style.css +1 -0
  839. package/vue3/lib/edge/types/api-version.d.ts +2 -0
  840. package/vue3/lib/edge/types/builder-block.d.ts +66 -0
  841. package/vue3/lib/edge/types/builder-content.d.ts +44 -0
  842. package/vue3/lib/edge/types/builder-props.d.ts +9 -0
  843. package/vue3/lib/edge/types/can-track.d.ts +3 -0
  844. package/vue3/lib/edge/types/components.d.ts +111 -0
  845. package/vue3/lib/edge/types/deep-partial.d.ts +3 -0
  846. package/vue3/lib/edge/types/element.d.ts +59 -0
  847. package/vue3/lib/edge/types/enforced-partials.d.ts +21 -0
  848. package/vue3/lib/edge/types/input.d.ts +121 -0
  849. package/vue3/lib/edge/types/targets.d.ts +1 -0
  850. package/vue3/lib/edge/types/typescript.d.ts +11 -0
  851. package/vue3/lib/node/block-wrapper.ae2637e5.cjs +1 -0
  852. package/vue3/lib/node/block-wrapper.f1e0d99f.js +54 -0
  853. package/vue3/lib/node/blocks/button/button.vue.d.ts +30 -0
  854. package/vue3/lib/node/blocks/button/component-info.d.ts +2 -0
  855. package/vue3/lib/node/blocks/columns/columns.vue.d.ts +69 -0
  856. package/vue3/lib/node/blocks/columns/component-info.d.ts +2 -0
  857. package/vue3/lib/node/blocks/custom-code/component-info.d.ts +2 -0
  858. package/vue3/lib/node/blocks/custom-code/custom-code.vue.d.ts +21 -0
  859. package/vue3/lib/node/blocks/embed/component-info.d.ts +2 -0
  860. package/vue3/lib/node/blocks/embed/embed.vue.d.ts +22 -0
  861. package/vue3/lib/node/blocks/embed/helpers.d.ts +1 -0
  862. package/vue3/lib/node/blocks/form/component-info.d.ts +2 -0
  863. package/vue3/lib/node/blocks/fragment/component-info.d.ts +2 -0
  864. package/vue3/lib/node/blocks/fragment/fragment.vue.d.ts +7 -0
  865. package/vue3/lib/node/blocks/helpers.d.ts +13 -0
  866. package/vue3/lib/node/blocks/image/component-info.d.ts +2 -0
  867. package/vue3/lib/node/blocks/image/image.helpers.d.ts +1 -0
  868. package/vue3/lib/node/blocks/image/image.vue.d.ts +72 -0
  869. package/vue3/lib/node/blocks/img/component-info.d.ts +2 -0
  870. package/vue3/lib/node/blocks/img/img.vue.d.ts +38 -0
  871. package/vue3/lib/node/blocks/input/component-info.d.ts +2 -0
  872. package/vue3/lib/node/blocks/raw-text/component-info.d.ts +2 -0
  873. package/vue3/lib/node/blocks/section/component-info.d.ts +2 -0
  874. package/vue3/lib/node/blocks/section/section.vue.d.ts +22 -0
  875. package/vue3/lib/node/blocks/select/component-info.d.ts +2 -0
  876. package/vue3/lib/node/blocks/submit-button/component-info.d.ts +2 -0
  877. package/vue3/lib/node/blocks/symbol/component-info.d.ts +2 -0
  878. package/vue3/lib/node/blocks/symbol/symbol.helpers.d.ts +14 -0
  879. package/vue3/lib/node/blocks/symbol/symbol.vue.d.ts +56 -0
  880. package/vue3/lib/node/blocks/text/component-info.d.ts +2 -0
  881. package/vue3/lib/node/blocks/text/text.vue.d.ts +11 -0
  882. package/vue3/lib/node/blocks/textarea/component-info.d.ts +2 -0
  883. package/vue3/lib/node/blocks/video/component-info.d.ts +2 -0
  884. package/vue3/lib/node/blocks/video/video.vue.d.ts +64 -0
  885. package/vue3/lib/node/component-ref.90060339.cjs +1 -0
  886. package/vue3/lib/node/component-ref.e2ad1f80.js +111 -0
  887. package/vue3/lib/node/components/block/block.helpers.d.ts +13 -0
  888. package/vue3/lib/node/components/block/block.vue.d.ts +41 -0
  889. package/vue3/lib/node/components/block/components/block-styles.vue.d.ts +23 -0
  890. package/vue3/lib/node/components/block/components/block-wrapper.vue.d.ts +29 -0
  891. package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +30 -0
  892. package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +41 -0
  893. package/vue3/lib/node/components/block/components/interactive-element.vue.d.ts +30 -0
  894. package/vue3/lib/node/components/block/components/repeated-block.vue.d.ts +16 -0
  895. package/vue3/lib/node/components/block/types.d.ts +6 -0
  896. package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +30 -0
  897. package/vue3/lib/node/components/blocks/blocks.vue.d.ts +29 -0
  898. package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +90 -0
  899. package/vue3/lib/node/components/content/components/styles.helpers.d.ts +15 -0
  900. package/vue3/lib/node/components/content/components/styles.vue.d.ts +16 -0
  901. package/vue3/lib/node/components/content/content.helpers.d.ts +7 -0
  902. package/vue3/lib/node/components/content/content.types.d.ts +24 -0
  903. package/vue3/lib/node/components/content/content.vue.d.ts +69 -0
  904. package/vue3/lib/node/components/content/index.d.ts +1 -0
  905. package/vue3/lib/node/components/content/wrap-component-ref.d.ts +6 -0
  906. package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +20 -0
  907. package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +73 -0
  908. package/vue3/lib/node/components/content-variants/helpers.d.ts +41 -0
  909. package/vue3/lib/node/components/inlined-script.vue.d.ts +11 -0
  910. package/vue3/lib/node/components/inlined-styles.vue.d.ts +11 -0
  911. package/vue3/lib/node/constants/builder-registered-components.d.ts +6 -0
  912. package/vue3/lib/node/constants/device-sizes.d.ts +13 -0
  913. package/vue3/lib/node/constants/sdk-version.d.ts +1 -0
  914. package/vue3/lib/node/constants/target.d.ts +2 -0
  915. package/vue3/lib/node/context/builder.context.d.ts +15 -0
  916. package/vue3/lib/node/context/components.context.d.ts +7 -0
  917. package/vue3/lib/node/context/types.d.ts +35 -0
  918. package/vue3/lib/node/functions/apply-patch-with-mutation.d.ts +10 -0
  919. package/vue3/lib/node/functions/camel-to-kebab-case.d.ts +1 -0
  920. package/vue3/lib/node/functions/deopt.d.ts +4 -0
  921. package/vue3/lib/node/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  922. package/vue3/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -0
  923. package/vue3/lib/node/functions/evaluate/edge-runtime/acorn-interpreter.d.ts +2 -0
  924. package/vue3/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +2 -0
  925. package/vue3/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -0
  926. package/vue3/lib/node/functions/evaluate/evaluate.d.ts +6 -0
  927. package/vue3/lib/node/functions/evaluate/helpers.d.ts +18 -0
  928. package/vue3/lib/node/functions/evaluate/index.d.ts +1 -0
  929. package/vue3/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -0
  930. package/vue3/lib/node/functions/evaluate/placeholder-runtime.d.ts +2 -0
  931. package/vue3/lib/node/functions/event-handler-name.d.ts +1 -0
  932. package/vue3/lib/node/functions/extract-text-styles.d.ts +4 -0
  933. package/vue3/lib/node/functions/fast-clone.d.ts +4 -0
  934. package/vue3/lib/node/functions/fetch-builder-props.d.ts +40 -0
  935. package/vue3/lib/node/functions/get-block-actions-handler.d.ts +8 -0
  936. package/vue3/lib/node/functions/get-block-actions.d.ts +10 -0
  937. package/vue3/lib/node/functions/get-block-component-options.d.ts +2 -0
  938. package/vue3/lib/node/functions/get-block-properties.d.ts +6 -0
  939. package/vue3/lib/node/functions/get-builder-search-params/index.d.ts +12 -0
  940. package/vue3/lib/node/functions/get-content/generate-content-url.d.ts +2 -0
  941. package/vue3/lib/node/functions/get-content/index.d.ts +28 -0
  942. package/vue3/lib/node/functions/get-content/types.d.ts +51 -0
  943. package/vue3/lib/node/functions/get-fetch.d.ts +1 -0
  944. package/vue3/lib/node/functions/get-processed-block.d.ts +10 -0
  945. package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +7 -0
  946. package/vue3/lib/node/functions/is-browser.d.ts +1 -0
  947. package/vue3/lib/node/functions/is-edge-runtime.d.ts +4 -0
  948. package/vue3/lib/node/functions/is-editing.d.ts +1 -0
  949. package/vue3/lib/node/functions/is-iframe.d.ts +1 -0
  950. package/vue3/lib/node/functions/is-previewing.d.ts +1 -0
  951. package/vue3/lib/node/functions/on-change.d.ts +7 -0
  952. package/vue3/lib/node/functions/register-component.d.ts +15 -0
  953. package/vue3/lib/node/functions/register.d.ts +16 -0
  954. package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +3 -0
  955. package/vue3/lib/node/functions/set-editor-settings.d.ts +4 -0
  956. package/vue3/lib/node/functions/set.d.ts +7 -0
  957. package/vue3/lib/node/functions/track/helpers.d.ts +5 -0
  958. package/vue3/lib/node/functions/track/index.d.ts +51 -0
  959. package/vue3/lib/node/functions/track/interaction.d.ts +13 -0
  960. package/vue3/lib/node/functions/transform-block-properties.d.ts +2 -0
  961. package/vue3/lib/node/functions/transform-block.d.ts +2 -0
  962. package/vue3/lib/node/get-block-actions.05d2bf89.js +79 -0
  963. package/vue3/lib/node/get-block-actions.9a71b975.cjs +1 -0
  964. package/vue3/lib/node/helpers/ab-tests.d.ts +9 -0
  965. package/vue3/lib/node/helpers/canTrack.d.ts +1 -0
  966. package/vue3/lib/node/helpers/cookie.d.ts +19 -0
  967. package/vue3/lib/node/helpers/css.d.ts +7 -0
  968. package/vue3/lib/node/helpers/flatten.d.ts +6 -0
  969. package/vue3/lib/node/helpers/localStorage.d.ts +9 -0
  970. package/vue3/lib/node/helpers/logger.d.ts +6 -0
  971. package/vue3/lib/node/helpers/nullable.d.ts +2 -0
  972. package/vue3/lib/node/helpers/preview-lru-cache/get.d.ts +2 -0
  973. package/vue3/lib/node/helpers/preview-lru-cache/helpers.d.ts +0 -0
  974. package/vue3/lib/node/helpers/preview-lru-cache/init.d.ts +6 -0
  975. package/vue3/lib/node/helpers/preview-lru-cache/set.d.ts +7 -0
  976. package/vue3/lib/node/helpers/preview-lru-cache/types.d.ts +0 -0
  977. package/vue3/lib/node/helpers/sessionId.d.ts +6 -0
  978. package/vue3/lib/node/helpers/time.d.ts +1 -0
  979. package/vue3/lib/node/helpers/url.d.ts +6 -0
  980. package/vue3/lib/node/helpers/uuid.d.ts +8 -0
  981. package/vue3/lib/node/helpers/visitorId.d.ts +6 -0
  982. package/vue3/lib/node/index-helpers/blocks-exports.d.ts +111 -0
  983. package/vue3/lib/node/index-helpers/top-of-file.d.ts +1 -0
  984. package/vue3/lib/node/index.bb9d2170.js +3243 -0
  985. package/vue3/lib/node/index.cjs +1 -0
  986. package/vue3/lib/node/index.d.ts +7 -0
  987. package/vue3/lib/node/index.eed52cb2.cjs +69 -0
  988. package/vue3/lib/node/index.js +29 -0
  989. package/vue3/lib/node/repeated-block.6860cc5f.js +33 -0
  990. package/vue3/lib/node/repeated-block.f7f28e2b.cjs +1 -0
  991. package/vue3/lib/node/scripts/init-editing.d.ts +6 -0
  992. package/vue3/lib/node/server-index.d.ts +15 -0
  993. package/vue3/lib/node/style.css +1 -0
  994. package/vue3/lib/node/types/api-version.d.ts +2 -0
  995. package/vue3/lib/node/types/builder-block.d.ts +66 -0
  996. package/vue3/lib/node/types/builder-content.d.ts +44 -0
  997. package/vue3/lib/node/types/builder-props.d.ts +9 -0
  998. package/vue3/lib/node/types/can-track.d.ts +3 -0
  999. package/vue3/lib/node/types/components.d.ts +111 -0
  1000. package/vue3/lib/node/types/deep-partial.d.ts +3 -0
  1001. package/vue3/lib/node/types/element.d.ts +59 -0
  1002. package/vue3/lib/node/types/enforced-partials.d.ts +21 -0
  1003. package/vue3/lib/node/types/input.d.ts +121 -0
  1004. package/vue3/lib/node/types/targets.d.ts +1 -0
  1005. package/vue3/lib/node/types/typescript.d.ts +11 -0
  1006. package/vue2/env.d.ts +0 -1
  1007. package/vue2/node_modules/@types/node/LICENSE +0 -21
  1008. package/vue2/node_modules/@types/node/README.md +0 -16
  1009. package/vue2/node_modules/@types/node/assert/strict.d.ts +0 -8
  1010. package/vue2/node_modules/@types/node/assert.d.ts +0 -962
  1011. package/vue2/node_modules/@types/node/async_hooks.d.ts +0 -497
  1012. package/vue2/node_modules/@types/node/buffer.d.ts +0 -2236
  1013. package/vue2/node_modules/@types/node/child_process.d.ts +0 -1396
  1014. package/vue2/node_modules/@types/node/cluster.d.ts +0 -414
  1015. package/vue2/node_modules/@types/node/console.d.ts +0 -412
  1016. package/vue2/node_modules/@types/node/constants.d.ts +0 -18
  1017. package/vue2/node_modules/@types/node/crypto.d.ts +0 -3869
  1018. package/vue2/node_modules/@types/node/dgram.d.ts +0 -545
  1019. package/vue2/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
  1020. package/vue2/node_modules/@types/node/dns/promises.d.ts +0 -369
  1021. package/vue2/node_modules/@types/node/dns.d.ts +0 -655
  1022. package/vue2/node_modules/@types/node/domain.d.ts +0 -170
  1023. package/vue2/node_modules/@types/node/events.d.ts +0 -641
  1024. package/vue2/node_modules/@types/node/fs/promises.d.ts +0 -1094
  1025. package/vue2/node_modules/@types/node/fs.d.ts +0 -3803
  1026. package/vue2/node_modules/@types/node/globals.d.ts +0 -287
  1027. package/vue2/node_modules/@types/node/globals.global.d.ts +0 -1
  1028. package/vue2/node_modules/@types/node/http.d.ts +0 -1504
  1029. package/vue2/node_modules/@types/node/http2.d.ts +0 -2100
  1030. package/vue2/node_modules/@types/node/https.d.ts +0 -532
  1031. package/vue2/node_modules/@types/node/index.d.ts +0 -131
  1032. package/vue2/node_modules/@types/node/inspector.d.ts +0 -2745
  1033. package/vue2/node_modules/@types/node/module.d.ts +0 -115
  1034. package/vue2/node_modules/@types/node/net.d.ts +0 -828
  1035. package/vue2/node_modules/@types/node/os.d.ts +0 -455
  1036. package/vue2/node_modules/@types/node/package.json +0 -232
  1037. package/vue2/node_modules/@types/node/path.d.ts +0 -191
  1038. package/vue2/node_modules/@types/node/perf_hooks.d.ts +0 -586
  1039. package/vue2/node_modules/@types/node/process.d.ts +0 -1481
  1040. package/vue2/node_modules/@types/node/punycode.d.ts +0 -117
  1041. package/vue2/node_modules/@types/node/querystring.d.ts +0 -131
  1042. package/vue2/node_modules/@types/node/readline.d.ts +0 -543
  1043. package/vue2/node_modules/@types/node/repl.d.ts +0 -424
  1044. package/vue2/node_modules/@types/node/stream/consumers.d.ts +0 -12
  1045. package/vue2/node_modules/@types/node/stream/promises.d.ts +0 -42
  1046. package/vue2/node_modules/@types/node/stream/web.d.ts +0 -392
  1047. package/vue2/node_modules/@types/node/stream.d.ts +0 -1363
  1048. package/vue2/node_modules/@types/node/string_decoder.d.ts +0 -67
  1049. package/vue2/node_modules/@types/node/test.d.ts +0 -190
  1050. package/vue2/node_modules/@types/node/timers/promises.d.ts +0 -93
  1051. package/vue2/node_modules/@types/node/timers.d.ts +0 -94
  1052. package/vue2/node_modules/@types/node/tls.d.ts +0 -1019
  1053. package/vue2/node_modules/@types/node/trace_events.d.ts +0 -161
  1054. package/vue2/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  1055. package/vue2/node_modules/@types/node/ts4.8/assert.d.ts +0 -962
  1056. package/vue2/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -497
  1057. package/vue2/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2236
  1058. package/vue2/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1396
  1059. package/vue2/node_modules/@types/node/ts4.8/cluster.d.ts +0 -414
  1060. package/vue2/node_modules/@types/node/ts4.8/console.d.ts +0 -412
  1061. package/vue2/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  1062. package/vue2/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3866
  1063. package/vue2/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
  1064. package/vue2/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  1065. package/vue2/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -368
  1066. package/vue2/node_modules/@types/node/ts4.8/dns.d.ts +0 -654
  1067. package/vue2/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  1068. package/vue2/node_modules/@types/node/ts4.8/events.d.ts +0 -641
  1069. package/vue2/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1094
  1070. package/vue2/node_modules/@types/node/ts4.8/fs.d.ts +0 -3802
  1071. package/vue2/node_modules/@types/node/ts4.8/globals.d.ts +0 -284
  1072. package/vue2/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  1073. package/vue2/node_modules/@types/node/ts4.8/http.d.ts +0 -1503
  1074. package/vue2/node_modules/@types/node/ts4.8/http2.d.ts +0 -2100
  1075. package/vue2/node_modules/@types/node/ts4.8/https.d.ts +0 -532
  1076. package/vue2/node_modules/@types/node/ts4.8/index.d.ts +0 -86
  1077. package/vue2/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2745
  1078. package/vue2/node_modules/@types/node/ts4.8/module.d.ts +0 -115
  1079. package/vue2/node_modules/@types/node/ts4.8/net.d.ts +0 -828
  1080. package/vue2/node_modules/@types/node/ts4.8/os.d.ts +0 -456
  1081. package/vue2/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  1082. package/vue2/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -586
  1083. package/vue2/node_modules/@types/node/ts4.8/process.d.ts +0 -1481
  1084. package/vue2/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  1085. package/vue2/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
  1086. package/vue2/node_modules/@types/node/ts4.8/readline.d.ts +0 -543
  1087. package/vue2/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
  1088. package/vue2/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  1089. package/vue2/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
  1090. package/vue2/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -392
  1091. package/vue2/node_modules/@types/node/ts4.8/stream.d.ts +0 -1363
  1092. package/vue2/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  1093. package/vue2/node_modules/@types/node/ts4.8/test.d.ts +0 -190
  1094. package/vue2/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  1095. package/vue2/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
  1096. package/vue2/node_modules/@types/node/ts4.8/tls.d.ts +0 -1019
  1097. package/vue2/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -161
  1098. package/vue2/node_modules/@types/node/ts4.8/tty.d.ts +0 -204
  1099. package/vue2/node_modules/@types/node/ts4.8/url.d.ts +0 -855
  1100. package/vue2/node_modules/@types/node/ts4.8/util.d.ts +0 -1594
  1101. package/vue2/node_modules/@types/node/ts4.8/v8.d.ts +0 -472
  1102. package/vue2/node_modules/@types/node/ts4.8/vm.d.ts +0 -507
  1103. package/vue2/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  1104. package/vue2/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -649
  1105. package/vue2/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  1106. package/vue2/node_modules/@types/node/tty.d.ts +0 -204
  1107. package/vue2/node_modules/@types/node/url.d.ts +0 -855
  1108. package/vue2/node_modules/@types/node/util.d.ts +0 -1594
  1109. package/vue2/node_modules/@types/node/v8.d.ts +0 -472
  1110. package/vue2/node_modules/@types/node/vm.d.ts +0 -507
  1111. package/vue2/node_modules/@types/node/wasi.d.ts +0 -158
  1112. package/vue2/node_modules/@types/node/worker_threads.d.ts +0 -649
  1113. package/vue2/node_modules/@types/node/zlib.d.ts +0 -517
  1114. package/vue2/node_modules/@vitejs/plugin-vue2/LICENSE +0 -21
  1115. package/vue2/node_modules/@vitejs/plugin-vue2/README.md +0 -115
  1116. package/vue2/node_modules/@vitejs/plugin-vue2/package.json +0 -65
  1117. package/vue2/node_modules/@vue/compiler-sfc/LICENSE +0 -21
  1118. package/vue2/node_modules/@vue/compiler-sfc/package.json +0 -34
  1119. package/vue2/node_modules/@vue/tsconfig/README.md +0 -31
  1120. package/vue2/node_modules/@vue/tsconfig/package.json +0 -35
  1121. package/vue2/node_modules/@vue/tsconfig/tsconfig.json +0 -40
  1122. package/vue2/node_modules/@vue/tsconfig/tsconfig.node.json +0 -17
  1123. package/vue2/node_modules/@vue/tsconfig/tsconfig.web.json +0 -19
  1124. package/vue2/node_modules/rollup/LICENSE.md +0 -695
  1125. package/vue2/node_modules/rollup/README.md +0 -125
  1126. package/vue2/node_modules/rollup/package.json +0 -178
  1127. package/vue2/node_modules/vite/LICENSE.md +0 -3396
  1128. package/vue2/node_modules/vite/README.md +0 -20
  1129. package/vue2/node_modules/vite/bin/openChrome.applescript +0 -95
  1130. package/vue2/node_modules/vite/bin/vite.js +0 -61
  1131. package/vue2/node_modules/vite/client.d.ts +0 -281
  1132. package/vue2/node_modules/vite/index.cjs +0 -34
  1133. package/vue2/node_modules/vite/package.json +0 -170
  1134. package/vue2/node_modules/vite-plugin-dts/LICENSE +0 -21
  1135. package/vue2/node_modules/vite-plugin-dts/README.md +0 -368
  1136. package/vue2/node_modules/vite-plugin-dts/README.zh-CN.md +0 -368
  1137. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/LICENSE +0 -21
  1138. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/README.md +0 -36
  1139. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/bin/vue-tsc.js +0 -67
  1140. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.d.ts +0 -16
  1141. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.js +0 -120
  1142. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.d.ts +0 -8
  1143. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.js +0 -5
  1144. package/vue2/node_modules/vite-plugin-dts/node_modules/vue-tsc/package.json +0 -28
  1145. package/vue2/node_modules/vite-plugin-dts/package.json +0 -103
  1146. package/vue2/node_modules/vue/LICENSE +0 -21
  1147. package/vue2/node_modules/vue/README.md +0 -118
  1148. package/vue2/node_modules/vue/compiler-sfc/index.d.ts +0 -1
  1149. package/vue2/node_modules/vue/compiler-sfc/index.js +0 -1
  1150. package/vue2/node_modules/vue/compiler-sfc/index.mjs +0 -1
  1151. package/vue2/node_modules/vue/compiler-sfc/package.json +0 -5
  1152. package/vue2/node_modules/vue/package.json +0 -132
  1153. package/vue2/node_modules/vue/packages/compiler-sfc/api-extractor.json +0 -64
  1154. package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/lessc +0 -17
  1155. package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/parser +0 -17
  1156. package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/sass +0 -17
  1157. package/vue2/node_modules/vue/packages/compiler-sfc/node_modules/.bin/stylus +0 -17
  1158. package/vue2/node_modules/vue/packages/compiler-sfc/package.json +0 -34
  1159. package/vue2/node_modules/vue/packages/compiler-sfc/src/babelUtils.ts +0 -423
  1160. package/vue2/node_modules/vue/packages/compiler-sfc/src/compileScript.ts +0 -1911
  1161. package/vue2/node_modules/vue/packages/compiler-sfc/src/compileStyle.ts +0 -147
  1162. package/vue2/node_modules/vue/packages/compiler-sfc/src/compileTemplate.ts +0 -205
  1163. package/vue2/node_modules/vue/packages/compiler-sfc/src/cssVars.ts +0 -179
  1164. package/vue2/node_modules/vue/packages/compiler-sfc/src/index.ts +0 -31
  1165. package/vue2/node_modules/vue/packages/compiler-sfc/src/parse.ts +0 -129
  1166. package/vue2/node_modules/vue/packages/compiler-sfc/src/parseComponent.ts +0 -220
  1167. package/vue2/node_modules/vue/packages/compiler-sfc/src/prefixIdentifiers.ts +0 -82
  1168. package/vue2/node_modules/vue/packages/compiler-sfc/src/rewriteDefault.ts +0 -115
  1169. package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePlugins/scoped.ts +0 -203
  1170. package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePlugins/trim.ts +0 -18
  1171. package/vue2/node_modules/vue/packages/compiler-sfc/src/stylePreprocessors.ts +0 -135
  1172. package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts +0 -84
  1173. package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/srcset.ts +0 -76
  1174. package/vue2/node_modules/vue/packages/compiler-sfc/src/templateCompilerModules/utils.ts +0 -86
  1175. package/vue2/node_modules/vue/packages/compiler-sfc/src/types.ts +0 -69
  1176. package/vue2/node_modules/vue/packages/compiler-sfc/src/warn.ts +0 -16
  1177. package/vue2/node_modules/vue/packages/compiler-sfc/test/__snapshots__/compileScript.spec.ts.snap +0 -925
  1178. package/vue2/node_modules/vue/packages/compiler-sfc/test/__snapshots__/cssVars.spec.ts.snap +0 -189
  1179. package/vue2/node_modules/vue/packages/compiler-sfc/test/compileScript.spec.ts +0 -1594
  1180. package/vue2/node_modules/vue/packages/compiler-sfc/test/compileStyle.spec.ts +0 -203
  1181. package/vue2/node_modules/vue/packages/compiler-sfc/test/compileTemplate.spec.ts +0 -258
  1182. package/vue2/node_modules/vue/packages/compiler-sfc/test/cssVars.spec.ts +0 -247
  1183. package/vue2/node_modules/vue/packages/compiler-sfc/test/parseComponent.spec.ts +0 -269
  1184. package/vue2/node_modules/vue/packages/compiler-sfc/test/prefixIdentifiers.spec.ts +0 -97
  1185. package/vue2/node_modules/vue/packages/compiler-sfc/test/rewriteDefault.spec.ts +0 -245
  1186. package/vue2/node_modules/vue/packages/compiler-sfc/test/stylePluginScoped.spec.ts +0 -137
  1187. package/vue2/node_modules/vue/packages/compiler-sfc/test/tsconfig.json +0 -7
  1188. package/vue2/node_modules/vue/packages/compiler-sfc/test/util.ts +0 -35
  1189. package/vue2/node_modules/vue/src/compiler/codeframe.ts +0 -52
  1190. package/vue2/node_modules/vue/src/compiler/codegen/events.ts +0 -170
  1191. package/vue2/node_modules/vue/src/compiler/codegen/index.ts +0 -668
  1192. package/vue2/node_modules/vue/src/compiler/create-compiler.ts +0 -83
  1193. package/vue2/node_modules/vue/src/compiler/directives/bind.ts +0 -9
  1194. package/vue2/node_modules/vue/src/compiler/directives/index.ts +0 -9
  1195. package/vue2/node_modules/vue/src/compiler/directives/model.ts +0 -145
  1196. package/vue2/node_modules/vue/src/compiler/directives/on.ts +0 -9
  1197. package/vue2/node_modules/vue/src/compiler/error-detector.ts +0 -158
  1198. package/vue2/node_modules/vue/src/compiler/helpers.ts +0 -243
  1199. package/vue2/node_modules/vue/src/compiler/index.ts +0 -24
  1200. package/vue2/node_modules/vue/src/compiler/optimizer.ts +0 -135
  1201. package/vue2/node_modules/vue/src/compiler/parser/entity-decoder.ts +0 -9
  1202. package/vue2/node_modules/vue/src/compiler/parser/filter-parser.ts +0 -116
  1203. package/vue2/node_modules/vue/src/compiler/parser/html-parser.ts +0 -341
  1204. package/vue2/node_modules/vue/src/compiler/parser/index.ts +0 -999
  1205. package/vue2/node_modules/vue/src/compiler/parser/text-parser.ts +0 -52
  1206. package/vue2/node_modules/vue/src/compiler/to-function.ts +0 -119
  1207. package/vue2/node_modules/vue/src/core/components/index.ts +0 -5
  1208. package/vue2/node_modules/vue/src/core/components/keep-alive.ts +0 -165
  1209. package/vue2/node_modules/vue/src/core/config.ts +0 -128
  1210. package/vue2/node_modules/vue/src/core/global-api/assets.ts +0 -35
  1211. package/vue2/node_modules/vue/src/core/global-api/extend.ts +0 -94
  1212. package/vue2/node_modules/vue/src/core/global-api/index.ts +0 -68
  1213. package/vue2/node_modules/vue/src/core/global-api/mixin.ts +0 -9
  1214. package/vue2/node_modules/vue/src/core/global-api/use.ts +0 -23
  1215. package/vue2/node_modules/vue/src/core/index.ts +0 -27
  1216. package/vue2/node_modules/vue/src/core/instance/events.ts +0 -160
  1217. package/vue2/node_modules/vue/src/core/instance/index.ts +0 -27
  1218. package/vue2/node_modules/vue/src/core/instance/init.ts +0 -140
  1219. package/vue2/node_modules/vue/src/core/instance/inject.ts +0 -80
  1220. package/vue2/node_modules/vue/src/core/instance/lifecycle.ts +0 -415
  1221. package/vue2/node_modules/vue/src/core/instance/proxy.ts +0 -97
  1222. package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-dynamic-keys.ts +0 -36
  1223. package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-object-listeners.ts +0 -18
  1224. package/vue2/node_modules/vue/src/core/instance/render-helpers/bind-object-props.ts +0 -59
  1225. package/vue2/node_modules/vue/src/core/instance/render-helpers/check-keycodes.ts +0 -33
  1226. package/vue2/node_modules/vue/src/core/instance/render-helpers/index.ts +0 -31
  1227. package/vue2/node_modules/vue/src/core/instance/render-helpers/render-list.ts +0 -49
  1228. package/vue2/node_modules/vue/src/core/instance/render-helpers/render-slot.ts +0 -39
  1229. package/vue2/node_modules/vue/src/core/instance/render-helpers/render-static.ts +0 -57
  1230. package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-filter.ts +0 -8
  1231. package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-scoped-slots.ts +0 -30
  1232. package/vue2/node_modules/vue/src/core/instance/render-helpers/resolve-slots.ts +0 -51
  1233. package/vue2/node_modules/vue/src/core/instance/render.ts +0 -173
  1234. package/vue2/node_modules/vue/src/core/instance/state.ts +0 -387
  1235. package/vue2/node_modules/vue/src/core/observer/array.ts +0 -54
  1236. package/vue2/node_modules/vue/src/core/observer/dep.ts +0 -108
  1237. package/vue2/node_modules/vue/src/core/observer/index.ts +0 -338
  1238. package/vue2/node_modules/vue/src/core/observer/scheduler.ts +0 -199
  1239. package/vue2/node_modules/vue/src/core/observer/traverse.ts +0 -47
  1240. package/vue2/node_modules/vue/src/core/observer/watcher.ts +0 -278
  1241. package/vue2/node_modules/vue/src/core/util/debug.ts +0 -105
  1242. package/vue2/node_modules/vue/src/core/util/env.ts +0 -93
  1243. package/vue2/node_modules/vue/src/core/util/error.ts +0 -81
  1244. package/vue2/node_modules/vue/src/core/util/index.ts +0 -9
  1245. package/vue2/node_modules/vue/src/core/util/lang.ts +0 -45
  1246. package/vue2/node_modules/vue/src/core/util/next-tick.ts +0 -117
  1247. package/vue2/node_modules/vue/src/core/util/options.ts +0 -489
  1248. package/vue2/node_modules/vue/src/core/util/perf.ts +0 -28
  1249. package/vue2/node_modules/vue/src/core/util/props.ts +0 -254
  1250. package/vue2/node_modules/vue/src/core/vdom/create-component.ts +0 -275
  1251. package/vue2/node_modules/vue/src/core/vdom/create-element.ts +0 -172
  1252. package/vue2/node_modules/vue/src/core/vdom/create-functional-component.ts +0 -180
  1253. package/vue2/node_modules/vue/src/core/vdom/helpers/extract-props.ts +0 -75
  1254. package/vue2/node_modules/vue/src/core/vdom/helpers/get-first-component-child.ts +0 -16
  1255. package/vue2/node_modules/vue/src/core/vdom/helpers/index.ts +0 -7
  1256. package/vue2/node_modules/vue/src/core/vdom/helpers/is-async-placeholder.ts +0 -6
  1257. package/vue2/node_modules/vue/src/core/vdom/helpers/merge-hook.ts +0 -40
  1258. package/vue2/node_modules/vue/src/core/vdom/helpers/normalize-children.ts +0 -99
  1259. package/vue2/node_modules/vue/src/core/vdom/helpers/normalize-scoped-slots.ts +0 -97
  1260. package/vue2/node_modules/vue/src/core/vdom/helpers/resolve-async-component.ts +0 -157
  1261. package/vue2/node_modules/vue/src/core/vdom/helpers/update-listeners.ts +0 -101
  1262. package/vue2/node_modules/vue/src/core/vdom/modules/directives.ts +0 -137
  1263. package/vue2/node_modules/vue/src/core/vdom/modules/index.ts +0 -4
  1264. package/vue2/node_modules/vue/src/core/vdom/modules/template-ref.ts +0 -94
  1265. package/vue2/node_modules/vue/src/core/vdom/patch.ts +0 -904
  1266. package/vue2/node_modules/vue/src/core/vdom/vnode.ts +0 -119
  1267. package/vue2/node_modules/vue/src/global.d.ts +0 -17
  1268. package/vue2/node_modules/vue/src/platforms/web/compiler/directives/html.ts +0 -8
  1269. package/vue2/node_modules/vue/src/platforms/web/compiler/directives/index.ts +0 -9
  1270. package/vue2/node_modules/vue/src/platforms/web/compiler/directives/model.ts +0 -181
  1271. package/vue2/node_modules/vue/src/platforms/web/compiler/directives/text.ts +0 -8
  1272. package/vue2/node_modules/vue/src/platforms/web/compiler/index.ts +0 -6
  1273. package/vue2/node_modules/vue/src/platforms/web/compiler/modules/class.ts +0 -44
  1274. package/vue2/node_modules/vue/src/platforms/web/compiler/modules/index.ts +0 -5
  1275. package/vue2/node_modules/vue/src/platforms/web/compiler/modules/model.ts +0 -89
  1276. package/vue2/node_modules/vue/src/platforms/web/compiler/modules/style.ts +0 -47
  1277. package/vue2/node_modules/vue/src/platforms/web/compiler/options.ts +0 -25
  1278. package/vue2/node_modules/vue/src/platforms/web/compiler/util.ts +0 -22
  1279. package/vue2/node_modules/vue/src/platforms/web/entry-compiler.ts +0 -4
  1280. package/vue2/node_modules/vue/src/platforms/web/entry-runtime-esm.ts +0 -5
  1281. package/vue2/node_modules/vue/src/platforms/web/entry-runtime-with-compiler-esm.ts +0 -5
  1282. package/vue2/node_modules/vue/src/platforms/web/entry-runtime-with-compiler.ts +0 -10
  1283. package/vue2/node_modules/vue/src/platforms/web/entry-runtime.ts +0 -7
  1284. package/vue2/node_modules/vue/src/platforms/web/runtime/class-util.ts +0 -61
  1285. package/vue2/node_modules/vue/src/platforms/web/runtime/components/index.ts +0 -7
  1286. package/vue2/node_modules/vue/src/platforms/web/runtime/components/transition-group.ts +0 -204
  1287. package/vue2/node_modules/vue/src/platforms/web/runtime/components/transition.ts +0 -205
  1288. package/vue2/node_modules/vue/src/platforms/web/runtime/directives/index.ts +0 -7
  1289. package/vue2/node_modules/vue/src/platforms/web/runtime/directives/model.ts +0 -148
  1290. package/vue2/node_modules/vue/src/platforms/web/runtime/directives/show.ts +0 -61
  1291. package/vue2/node_modules/vue/src/platforms/web/runtime/index.ts +0 -75
  1292. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/attrs.ts +0 -115
  1293. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/class.ts +0 -37
  1294. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/dom-props.ts +0 -123
  1295. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/events.ts +0 -127
  1296. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/index.ts +0 -8
  1297. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/style.ts +0 -104
  1298. package/vue2/node_modules/vue/src/platforms/web/runtime/modules/transition.ts +0 -341
  1299. package/vue2/node_modules/vue/src/platforms/web/runtime/node-ops.ts +0 -66
  1300. package/vue2/node_modules/vue/src/platforms/web/runtime/patch.ts +0 -10
  1301. package/vue2/node_modules/vue/src/platforms/web/runtime/transition-util.ts +0 -215
  1302. package/vue2/node_modules/vue/src/platforms/web/runtime-with-compiler.ts +0 -110
  1303. package/vue2/node_modules/vue/src/platforms/web/util/attrs.ts +0 -58
  1304. package/vue2/node_modules/vue/src/platforms/web/util/class.ts +0 -87
  1305. package/vue2/node_modules/vue/src/platforms/web/util/compat.ts +0 -16
  1306. package/vue2/node_modules/vue/src/platforms/web/util/element.ts +0 -76
  1307. package/vue2/node_modules/vue/src/platforms/web/util/index.ts +0 -21
  1308. package/vue2/node_modules/vue/src/platforms/web/util/style.ts +0 -71
  1309. package/vue2/node_modules/vue/src/shared/constants.ts +0 -20
  1310. package/vue2/node_modules/vue/src/shared/util.ts +0 -372
  1311. package/vue2/node_modules/vue/src/v3/apiAsyncComponent.ts +0 -117
  1312. package/vue2/node_modules/vue/src/v3/apiInject.ts +0 -71
  1313. package/vue2/node_modules/vue/src/v3/apiLifecycle.ts +0 -68
  1314. package/vue2/node_modules/vue/src/v3/apiSetup.ts +0 -246
  1315. package/vue2/node_modules/vue/src/v3/apiWatch.ts +0 -349
  1316. package/vue2/node_modules/vue/src/v3/currentInstance.ts +0 -23
  1317. package/vue2/node_modules/vue/src/v3/debug.ts +0 -21
  1318. package/vue2/node_modules/vue/src/v3/h.ts +0 -18
  1319. package/vue2/node_modules/vue/src/v3/index.ts +0 -96
  1320. package/vue2/node_modules/vue/src/v3/reactivity/computed.ts +0 -100
  1321. package/vue2/node_modules/vue/src/v3/reactivity/effect.ts +0 -20
  1322. package/vue2/node_modules/vue/src/v3/reactivity/effectScope.ts +0 -137
  1323. package/vue2/node_modules/vue/src/v3/reactivity/operations.ts +0 -14
  1324. package/vue2/node_modules/vue/src/v3/reactivity/reactive.ts +0 -137
  1325. package/vue2/node_modules/vue/src/v3/reactivity/readonly.ts +0 -127
  1326. package/vue2/node_modules/vue/src/v3/reactivity/ref.ts +0 -296
  1327. package/vue2/node_modules/vue/src/v3/sfc-helpers/useCssModule.ts +0 -24
  1328. package/vue2/node_modules/vue/src/v3/sfc-helpers/useCssVars.ts +0 -34
  1329. package/vue2/src/blocks/BaseText.vue +0 -25
  1330. package/vue2/src/blocks/button/button.vue +0 -68
  1331. package/vue2/src/blocks/button/component-info.ts +0 -35
  1332. package/vue2/src/blocks/columns/columns.vue +0 -238
  1333. package/vue2/src/blocks/columns/component-info.ts +0 -219
  1334. package/vue2/src/blocks/custom-code/component-info.ts +0 -24
  1335. package/vue2/src/blocks/custom-code/custom-code.vue +0 -88
  1336. package/vue2/src/blocks/embed/component-info.ts +0 -38
  1337. package/vue2/src/blocks/embed/embed.vue +0 -71
  1338. package/vue2/src/blocks/embed/helpers.ts +0 -2
  1339. package/vue2/src/blocks/form/component-info.ts +0 -233
  1340. package/vue2/src/blocks/form/form.vue +0 -7
  1341. package/vue2/src/blocks/fragment/component-info.ts +0 -8
  1342. package/vue2/src/blocks/fragment/fragment.vue +0 -19
  1343. package/vue2/src/blocks/helpers.ts +0 -43
  1344. package/vue2/src/blocks/image/component-info.ts +0 -124
  1345. package/vue2/src/blocks/image/image.helpers.ts +0 -47
  1346. package/vue2/src/blocks/image/image.vue +0 -174
  1347. package/vue2/src/blocks/img/component-info.ts +0 -16
  1348. package/vue2/src/blocks/img/img.vue +0 -59
  1349. package/vue2/src/blocks/input/component-info.ts +0 -47
  1350. package/vue2/src/blocks/input/input.vue +0 -52
  1351. package/vue2/src/blocks/raw-text/component-info.ts +0 -11
  1352. package/vue2/src/blocks/raw-text/raw-text.vue +0 -35
  1353. package/vue2/src/blocks/section/component-info.ts +0 -41
  1354. package/vue2/src/blocks/section/section.vue +0 -47
  1355. package/vue2/src/blocks/select/component-info.ts +0 -44
  1356. package/vue2/src/blocks/select/select.vue +0 -50
  1357. package/vue2/src/blocks/submit-button/component-info.ts +0 -27
  1358. package/vue2/src/blocks/submit-button/submit-button.vue +0 -34
  1359. package/vue2/src/blocks/symbol/component-info.ts +0 -35
  1360. package/vue2/src/blocks/symbol/symbol.helpers.ts +0 -47
  1361. package/vue2/src/blocks/symbol/symbol.vue +0 -143
  1362. package/vue2/src/blocks/text/component-info.ts +0 -20
  1363. package/vue2/src/blocks/text/text.vue +0 -23
  1364. package/vue2/src/blocks/textarea/component-info.ts +0 -38
  1365. package/vue2/src/blocks/textarea/textarea.vue +0 -38
  1366. package/vue2/src/blocks/video/component-info.ts +0 -83
  1367. package/vue2/src/blocks/video/video.vue +0 -105
  1368. package/vue2/src/components/block/block.helpers.ts +0 -89
  1369. package/vue2/src/components/block/block.vue +0 -203
  1370. package/vue2/src/components/block/components/block-styles.vue +0 -110
  1371. package/vue2/src/components/block/components/block-wrapper.vue +0 -83
  1372. package/vue2/src/components/block/components/component-ref/component-ref.helpers.ts +0 -52
  1373. package/vue2/src/components/block/components/component-ref/component-ref.vue +0 -97
  1374. package/vue2/src/components/block/components/interactive-element.vue +0 -48
  1375. package/vue2/src/components/block/components/repeated-block.vue +0 -51
  1376. package/vue2/src/components/block/types.ts +0 -6
  1377. package/vue2/src/components/blocks/blocks-wrapper.vue +0 -91
  1378. package/vue2/src/components/blocks/blocks.vue +0 -99
  1379. package/vue2/src/components/content/components/enable-editor.vue +0 -418
  1380. package/vue2/src/components/content/components/styles.helpers.ts +0 -77
  1381. package/vue2/src/components/content/components/styles.vue +0 -60
  1382. package/vue2/src/components/content/content.helpers.ts +0 -42
  1383. package/vue2/src/components/content/content.types.ts +0 -23
  1384. package/vue2/src/components/content/content.vue +0 -205
  1385. package/vue2/src/components/content/index.ts +0 -1
  1386. package/vue2/src/components/content/wrap-component-ref.ts +0 -6
  1387. package/vue2/src/components/content-variants/content-variants.types.ts +0 -20
  1388. package/vue2/src/components/content-variants/content-variants.vue +0 -177
  1389. package/vue2/src/components/content-variants/helpers.ts +0 -207
  1390. package/vue2/src/components/inlined-script.vue +0 -18
  1391. package/vue2/src/components/inlined-styles.vue +0 -18
  1392. package/vue2/src/constants/builder-registered-components.ts +0 -62
  1393. package/vue2/src/constants/device-sizes.ts +0 -59
  1394. package/vue2/src/constants/sdk-version.ts +0 -1
  1395. package/vue2/src/constants/target.ts +0 -4
  1396. package/vue2/src/context/builder.context.ts +0 -16
  1397. package/vue2/src/context/components.context.ts +0 -6
  1398. package/vue2/src/context/types.ts +0 -36
  1399. package/vue2/src/functions/apply-patch-with-mutation.ts +0 -61
  1400. package/vue2/src/functions/camel-to-kebab-case.ts +0 -1
  1401. package/vue2/src/functions/deopt.ts +0 -6
  1402. package/vue2/src/functions/evaluate/browser-runtime/browser.ts +0 -41
  1403. package/vue2/src/functions/evaluate/browser-runtime/index.ts +0 -1
  1404. package/vue2/src/functions/evaluate/edge-runtime/acorn-interpreter.ts +0 -2891
  1405. package/vue2/src/functions/evaluate/edge-runtime/edge-runtime.ts +0 -96
  1406. package/vue2/src/functions/evaluate/edge-runtime/index.ts +0 -1
  1407. package/vue2/src/functions/evaluate/evaluate.ts +0 -66
  1408. package/vue2/src/functions/evaluate/helpers.ts +0 -32
  1409. package/vue2/src/functions/evaluate/index.ts +0 -1
  1410. package/vue2/src/functions/evaluate/node-runtime/index.ts +0 -1
  1411. package/vue2/src/functions/evaluate/placeholder-runtime.ts +0 -4
  1412. package/vue2/src/functions/event-handler-name.ts +0 -1
  1413. package/vue2/src/functions/extract-text-styles.ts +0 -24
  1414. package/vue2/src/functions/fast-clone.ts +0 -4
  1415. package/vue2/src/functions/fetch-builder-props.ts +0 -62
  1416. package/vue2/src/functions/get-block-actions-handler.ts +0 -16
  1417. package/vue2/src/functions/get-block-actions.ts +0 -36
  1418. package/vue2/src/functions/get-block-component-options.ts +0 -11
  1419. package/vue2/src/functions/get-block-properties.ts +0 -82
  1420. package/vue2/src/functions/get-builder-search-params/index.ts +0 -40
  1421. package/vue2/src/functions/get-content/generate-content-url.ts +0 -45
  1422. package/vue2/src/functions/get-content/index.ts +0 -110
  1423. package/vue2/src/functions/get-content/types.ts +0 -62
  1424. package/vue2/src/functions/get-fetch.ts +0 -11
  1425. package/vue2/src/functions/get-global-this.ts +0 -16
  1426. package/vue2/src/functions/get-processed-block.ts +0 -69
  1427. package/vue2/src/functions/get-react-native-block-styles.ts +0 -27
  1428. package/vue2/src/functions/is-browser.ts +0 -3
  1429. package/vue2/src/functions/is-edge-runtime.ts +0 -9
  1430. package/vue2/src/functions/is-editing.ts +0 -5
  1431. package/vue2/src/functions/is-iframe.ts +0 -4
  1432. package/vue2/src/functions/is-previewing.ts +0 -11
  1433. package/vue2/src/functions/on-change.ts +0 -29
  1434. package/vue2/src/functions/register-component.ts +0 -48
  1435. package/vue2/src/functions/register.ts +0 -44
  1436. package/vue2/src/functions/sanitize-react-native-block-styles.ts +0 -58
  1437. package/vue2/src/functions/set-editor-settings.ts +0 -15
  1438. package/vue2/src/functions/set.ts +0 -14
  1439. package/vue2/src/functions/track/helpers.ts +0 -51
  1440. package/vue2/src/functions/track/index.ts +0 -131
  1441. package/vue2/src/functions/track/interaction.ts +0 -63
  1442. package/vue2/src/functions/transform-block-properties.ts +0 -18
  1443. package/vue2/src/functions/transform-block.ts +0 -6
  1444. package/vue2/src/helpers/ab-tests.ts +0 -166
  1445. package/vue2/src/helpers/canTrack.ts +0 -2
  1446. package/vue2/src/helpers/cookie.ts +0 -81
  1447. package/vue2/src/helpers/css.ts +0 -33
  1448. package/vue2/src/helpers/flatten.ts +0 -19
  1449. package/vue2/src/helpers/localStorage.ts +0 -36
  1450. package/vue2/src/helpers/logger.ts +0 -7
  1451. package/vue2/src/helpers/nullable.ts +0 -2
  1452. package/vue2/src/helpers/preview-lru-cache/get.ts +0 -4
  1453. package/vue2/src/helpers/preview-lru-cache/init.ts +0 -7
  1454. package/vue2/src/helpers/preview-lru-cache/set.ts +0 -12
  1455. package/vue2/src/helpers/sessionId.ts +0 -37
  1456. package/vue2/src/helpers/time.ts +0 -2
  1457. package/vue2/src/helpers/url.ts +0 -15
  1458. package/vue2/src/helpers/uuid.ts +0 -17
  1459. package/vue2/src/helpers/visitorId.ts +0 -37
  1460. package/vue2/src/index-helpers/blocks-exports.ts +0 -20
  1461. package/vue2/src/index-helpers/top-of-file.ts +0 -4
  1462. package/vue2/src/index.ts +0 -8
  1463. package/vue2/src/scripts/init-editing.ts +0 -113
  1464. package/vue2/src/server-index.ts +0 -15
  1465. package/vue2/tsconfig.config.json +0 -8
  1466. package/vue2/tsconfig.json +0 -16
  1467. package/vue2/vite.config.js +0 -31
  1468. package/vue3/env.d.ts +0 -1
  1469. package/vue3/node_modules/@types/node/LICENSE +0 -21
  1470. package/vue3/node_modules/@types/node/README.md +0 -16
  1471. package/vue3/node_modules/@types/node/assert/strict.d.ts +0 -8
  1472. package/vue3/node_modules/@types/node/assert.d.ts +0 -962
  1473. package/vue3/node_modules/@types/node/async_hooks.d.ts +0 -497
  1474. package/vue3/node_modules/@types/node/buffer.d.ts +0 -2236
  1475. package/vue3/node_modules/@types/node/child_process.d.ts +0 -1396
  1476. package/vue3/node_modules/@types/node/cluster.d.ts +0 -414
  1477. package/vue3/node_modules/@types/node/console.d.ts +0 -412
  1478. package/vue3/node_modules/@types/node/constants.d.ts +0 -18
  1479. package/vue3/node_modules/@types/node/crypto.d.ts +0 -3869
  1480. package/vue3/node_modules/@types/node/dgram.d.ts +0 -545
  1481. package/vue3/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
  1482. package/vue3/node_modules/@types/node/dns/promises.d.ts +0 -369
  1483. package/vue3/node_modules/@types/node/dns.d.ts +0 -655
  1484. package/vue3/node_modules/@types/node/domain.d.ts +0 -170
  1485. package/vue3/node_modules/@types/node/events.d.ts +0 -641
  1486. package/vue3/node_modules/@types/node/fs/promises.d.ts +0 -1094
  1487. package/vue3/node_modules/@types/node/fs.d.ts +0 -3803
  1488. package/vue3/node_modules/@types/node/globals.d.ts +0 -287
  1489. package/vue3/node_modules/@types/node/globals.global.d.ts +0 -1
  1490. package/vue3/node_modules/@types/node/http.d.ts +0 -1504
  1491. package/vue3/node_modules/@types/node/http2.d.ts +0 -2100
  1492. package/vue3/node_modules/@types/node/https.d.ts +0 -532
  1493. package/vue3/node_modules/@types/node/index.d.ts +0 -131
  1494. package/vue3/node_modules/@types/node/inspector.d.ts +0 -2745
  1495. package/vue3/node_modules/@types/node/module.d.ts +0 -115
  1496. package/vue3/node_modules/@types/node/net.d.ts +0 -828
  1497. package/vue3/node_modules/@types/node/os.d.ts +0 -455
  1498. package/vue3/node_modules/@types/node/package.json +0 -232
  1499. package/vue3/node_modules/@types/node/path.d.ts +0 -191
  1500. package/vue3/node_modules/@types/node/perf_hooks.d.ts +0 -586
  1501. package/vue3/node_modules/@types/node/process.d.ts +0 -1481
  1502. package/vue3/node_modules/@types/node/punycode.d.ts +0 -117
  1503. package/vue3/node_modules/@types/node/querystring.d.ts +0 -131
  1504. package/vue3/node_modules/@types/node/readline.d.ts +0 -543
  1505. package/vue3/node_modules/@types/node/repl.d.ts +0 -424
  1506. package/vue3/node_modules/@types/node/stream/consumers.d.ts +0 -12
  1507. package/vue3/node_modules/@types/node/stream/promises.d.ts +0 -42
  1508. package/vue3/node_modules/@types/node/stream/web.d.ts +0 -392
  1509. package/vue3/node_modules/@types/node/stream.d.ts +0 -1363
  1510. package/vue3/node_modules/@types/node/string_decoder.d.ts +0 -67
  1511. package/vue3/node_modules/@types/node/test.d.ts +0 -190
  1512. package/vue3/node_modules/@types/node/timers/promises.d.ts +0 -93
  1513. package/vue3/node_modules/@types/node/timers.d.ts +0 -94
  1514. package/vue3/node_modules/@types/node/tls.d.ts +0 -1019
  1515. package/vue3/node_modules/@types/node/trace_events.d.ts +0 -161
  1516. package/vue3/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  1517. package/vue3/node_modules/@types/node/ts4.8/assert.d.ts +0 -962
  1518. package/vue3/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -497
  1519. package/vue3/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2236
  1520. package/vue3/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1396
  1521. package/vue3/node_modules/@types/node/ts4.8/cluster.d.ts +0 -414
  1522. package/vue3/node_modules/@types/node/ts4.8/console.d.ts +0 -412
  1523. package/vue3/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  1524. package/vue3/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3866
  1525. package/vue3/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
  1526. package/vue3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  1527. package/vue3/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -368
  1528. package/vue3/node_modules/@types/node/ts4.8/dns.d.ts +0 -654
  1529. package/vue3/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  1530. package/vue3/node_modules/@types/node/ts4.8/events.d.ts +0 -641
  1531. package/vue3/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1094
  1532. package/vue3/node_modules/@types/node/ts4.8/fs.d.ts +0 -3802
  1533. package/vue3/node_modules/@types/node/ts4.8/globals.d.ts +0 -284
  1534. package/vue3/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  1535. package/vue3/node_modules/@types/node/ts4.8/http.d.ts +0 -1503
  1536. package/vue3/node_modules/@types/node/ts4.8/http2.d.ts +0 -2100
  1537. package/vue3/node_modules/@types/node/ts4.8/https.d.ts +0 -532
  1538. package/vue3/node_modules/@types/node/ts4.8/index.d.ts +0 -86
  1539. package/vue3/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2745
  1540. package/vue3/node_modules/@types/node/ts4.8/module.d.ts +0 -115
  1541. package/vue3/node_modules/@types/node/ts4.8/net.d.ts +0 -828
  1542. package/vue3/node_modules/@types/node/ts4.8/os.d.ts +0 -456
  1543. package/vue3/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  1544. package/vue3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -586
  1545. package/vue3/node_modules/@types/node/ts4.8/process.d.ts +0 -1481
  1546. package/vue3/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  1547. package/vue3/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
  1548. package/vue3/node_modules/@types/node/ts4.8/readline.d.ts +0 -543
  1549. package/vue3/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
  1550. package/vue3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  1551. package/vue3/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
  1552. package/vue3/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -392
  1553. package/vue3/node_modules/@types/node/ts4.8/stream.d.ts +0 -1363
  1554. package/vue3/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  1555. package/vue3/node_modules/@types/node/ts4.8/test.d.ts +0 -190
  1556. package/vue3/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  1557. package/vue3/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
  1558. package/vue3/node_modules/@types/node/ts4.8/tls.d.ts +0 -1019
  1559. package/vue3/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -161
  1560. package/vue3/node_modules/@types/node/ts4.8/tty.d.ts +0 -204
  1561. package/vue3/node_modules/@types/node/ts4.8/url.d.ts +0 -855
  1562. package/vue3/node_modules/@types/node/ts4.8/util.d.ts +0 -1594
  1563. package/vue3/node_modules/@types/node/ts4.8/v8.d.ts +0 -472
  1564. package/vue3/node_modules/@types/node/ts4.8/vm.d.ts +0 -507
  1565. package/vue3/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  1566. package/vue3/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -649
  1567. package/vue3/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  1568. package/vue3/node_modules/@types/node/tty.d.ts +0 -204
  1569. package/vue3/node_modules/@types/node/url.d.ts +0 -855
  1570. package/vue3/node_modules/@types/node/util.d.ts +0 -1594
  1571. package/vue3/node_modules/@types/node/v8.d.ts +0 -472
  1572. package/vue3/node_modules/@types/node/vm.d.ts +0 -507
  1573. package/vue3/node_modules/@types/node/wasi.d.ts +0 -158
  1574. package/vue3/node_modules/@types/node/worker_threads.d.ts +0 -649
  1575. package/vue3/node_modules/@types/node/zlib.d.ts +0 -517
  1576. package/vue3/node_modules/@vitejs/plugin-vue/LICENSE +0 -21
  1577. package/vue3/node_modules/@vitejs/plugin-vue/README.md +0 -171
  1578. package/vue3/node_modules/@vitejs/plugin-vue/package.json +0 -51
  1579. package/vue3/node_modules/@vue/server-renderer/LICENSE +0 -21
  1580. package/vue3/node_modules/@vue/server-renderer/README.md +0 -178
  1581. package/vue3/node_modules/@vue/server-renderer/index.js +0 -7
  1582. package/vue3/node_modules/@vue/server-renderer/package.json +0 -41
  1583. package/vue3/node_modules/@vue/tsconfig/README.md +0 -31
  1584. package/vue3/node_modules/@vue/tsconfig/package.json +0 -35
  1585. package/vue3/node_modules/@vue/tsconfig/tsconfig.json +0 -40
  1586. package/vue3/node_modules/@vue/tsconfig/tsconfig.node.json +0 -17
  1587. package/vue3/node_modules/@vue/tsconfig/tsconfig.web.json +0 -19
  1588. package/vue3/node_modules/esbuild/LICENSE.md +0 -21
  1589. package/vue3/node_modules/esbuild/README.md +0 -3
  1590. package/vue3/node_modules/esbuild/bin/esbuild +0 -212
  1591. package/vue3/node_modules/esbuild/install.js +0 -245
  1592. package/vue3/node_modules/esbuild/package.json +0 -42
  1593. package/vue3/node_modules/vite/LICENSE.md +0 -3450
  1594. package/vue3/node_modules/vite/README.md +0 -20
  1595. package/vue3/node_modules/vite/bin/openChrome.applescript +0 -95
  1596. package/vue3/node_modules/vite/bin/vite.js +0 -61
  1597. package/vue3/node_modules/vite/client.d.ts +0 -248
  1598. package/vue3/node_modules/vite/index.cjs +0 -34
  1599. package/vue3/node_modules/vite/package.json +0 -154
  1600. package/vue3/node_modules/vite-plugin-dts/LICENSE +0 -21
  1601. package/vue3/node_modules/vite-plugin-dts/README.md +0 -368
  1602. package/vue3/node_modules/vite-plugin-dts/README.zh-CN.md +0 -368
  1603. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/LICENSE +0 -21
  1604. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/README.md +0 -36
  1605. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/bin/vue-tsc.js +0 -67
  1606. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.d.ts +0 -16
  1607. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/index.js +0 -120
  1608. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.d.ts +0 -8
  1609. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/out/shared.js +0 -5
  1610. package/vue3/node_modules/vite-plugin-dts/node_modules/vue-tsc/package.json +0 -28
  1611. package/vue3/node_modules/vite-plugin-dts/package.json +0 -103
  1612. package/vue3/node_modules/vue/LICENSE +0 -21
  1613. package/vue3/node_modules/vue/README.md +0 -54
  1614. package/vue3/node_modules/vue/compiler-sfc/index.d.mts +0 -1
  1615. package/vue3/node_modules/vue/compiler-sfc/index.d.ts +0 -1
  1616. package/vue3/node_modules/vue/compiler-sfc/index.js +0 -3
  1617. package/vue3/node_modules/vue/compiler-sfc/index.mjs +0 -3
  1618. package/vue3/node_modules/vue/compiler-sfc/package.json +0 -4
  1619. package/vue3/node_modules/vue/compiler-sfc/register-ts.js +0 -5
  1620. package/vue3/node_modules/vue/index.js +0 -7
  1621. package/vue3/node_modules/vue/index.mjs +0 -1
  1622. package/vue3/node_modules/vue/jsx-runtime/index.d.ts +0 -29
  1623. package/vue3/node_modules/vue/jsx-runtime/index.js +0 -15
  1624. package/vue3/node_modules/vue/jsx-runtime/index.mjs +0 -17
  1625. package/vue3/node_modules/vue/jsx-runtime/package.json +0 -5
  1626. package/vue3/node_modules/vue/jsx.d.ts +0 -26
  1627. package/vue3/node_modules/vue/macros-global.d.ts +0 -19
  1628. package/vue3/node_modules/vue/macros.d.ts +0 -112
  1629. package/vue3/node_modules/vue/package.json +0 -103
  1630. package/vue3/node_modules/vue/ref-macros.d.ts +0 -2
  1631. package/vue3/node_modules/vue/server-renderer/index.d.mts +0 -1
  1632. package/vue3/node_modules/vue/server-renderer/index.d.ts +0 -1
  1633. package/vue3/node_modules/vue/server-renderer/index.js +0 -1
  1634. package/vue3/node_modules/vue/server-renderer/index.mjs +0 -1
  1635. package/vue3/node_modules/vue/server-renderer/package.json +0 -4
  1636. package/vue3/node_modules/vue-tsc/LICENSE +0 -21
  1637. package/vue3/node_modules/vue-tsc/README.md +0 -44
  1638. package/vue3/node_modules/vue-tsc/bin/vue-tsc.js +0 -48
  1639. package/vue3/node_modules/vue-tsc/out/proxy.d.ts +0 -4
  1640. package/vue3/node_modules/vue-tsc/out/proxy.js +0 -110
  1641. package/vue3/node_modules/vue-tsc/package.json +0 -26
  1642. package/vue3/src/blocks/BaseText.vue +0 -25
  1643. package/vue3/src/blocks/button/button.vue +0 -71
  1644. package/vue3/src/blocks/button/component-info.ts +0 -35
  1645. package/vue3/src/blocks/columns/columns.vue +0 -220
  1646. package/vue3/src/blocks/columns/component-info.ts +0 -219
  1647. package/vue3/src/blocks/custom-code/component-info.ts +0 -24
  1648. package/vue3/src/blocks/custom-code/custom-code.vue +0 -88
  1649. package/vue3/src/blocks/embed/component-info.ts +0 -38
  1650. package/vue3/src/blocks/embed/embed.vue +0 -71
  1651. package/vue3/src/blocks/embed/helpers.ts +0 -2
  1652. package/vue3/src/blocks/form/component-info.ts +0 -233
  1653. package/vue3/src/blocks/form/form.vue +0 -7
  1654. package/vue3/src/blocks/fragment/component-info.ts +0 -8
  1655. package/vue3/src/blocks/fragment/fragment.vue +0 -19
  1656. package/vue3/src/blocks/helpers.ts +0 -43
  1657. package/vue3/src/blocks/image/component-info.ts +0 -124
  1658. package/vue3/src/blocks/image/image.helpers.ts +0 -47
  1659. package/vue3/src/blocks/image/image.vue +0 -172
  1660. package/vue3/src/blocks/img/component-info.ts +0 -16
  1661. package/vue3/src/blocks/img/img.vue +0 -59
  1662. package/vue3/src/blocks/input/component-info.ts +0 -47
  1663. package/vue3/src/blocks/input/input.vue +0 -52
  1664. package/vue3/src/blocks/raw-text/component-info.ts +0 -11
  1665. package/vue3/src/blocks/raw-text/raw-text.vue +0 -35
  1666. package/vue3/src/blocks/section/component-info.ts +0 -41
  1667. package/vue3/src/blocks/section/section.vue +0 -47
  1668. package/vue3/src/blocks/select/component-info.ts +0 -44
  1669. package/vue3/src/blocks/select/select.vue +0 -46
  1670. package/vue3/src/blocks/submit-button/component-info.ts +0 -27
  1671. package/vue3/src/blocks/submit-button/submit-button.vue +0 -34
  1672. package/vue3/src/blocks/symbol/component-info.ts +0 -35
  1673. package/vue3/src/blocks/symbol/symbol.helpers.ts +0 -47
  1674. package/vue3/src/blocks/symbol/symbol.vue +0 -134
  1675. package/vue3/src/blocks/text/component-info.ts +0 -20
  1676. package/vue3/src/blocks/text/text.vue +0 -23
  1677. package/vue3/src/blocks/textarea/component-info.ts +0 -38
  1678. package/vue3/src/blocks/textarea/textarea.vue +0 -38
  1679. package/vue3/src/blocks/video/component-info.ts +0 -83
  1680. package/vue3/src/blocks/video/video.vue +0 -105
  1681. package/vue3/src/components/block/block.helpers.ts +0 -89
  1682. package/vue3/src/components/block/block.vue +0 -214
  1683. package/vue3/src/components/block/components/block-styles.vue +0 -100
  1684. package/vue3/src/components/block/components/block-wrapper.vue +0 -86
  1685. package/vue3/src/components/block/components/component-ref/component-ref.helpers.ts +0 -52
  1686. package/vue3/src/components/block/components/component-ref/component-ref.vue +0 -74
  1687. package/vue3/src/components/block/components/interactive-element.vue +0 -48
  1688. package/vue3/src/components/block/components/repeated-block.vue +0 -51
  1689. package/vue3/src/components/block/types.ts +0 -6
  1690. package/vue3/src/components/blocks/blocks-wrapper.vue +0 -91
  1691. package/vue3/src/components/blocks/blocks.vue +0 -78
  1692. package/vue3/src/components/content/components/enable-editor.vue +0 -419
  1693. package/vue3/src/components/content/components/styles.helpers.ts +0 -77
  1694. package/vue3/src/components/content/components/styles.vue +0 -51
  1695. package/vue3/src/components/content/content.helpers.ts +0 -42
  1696. package/vue3/src/components/content/content.types.ts +0 -23
  1697. package/vue3/src/components/content/content.vue +0 -169
  1698. package/vue3/src/components/content/index.ts +0 -1
  1699. package/vue3/src/components/content/wrap-component-ref.ts +0 -7
  1700. package/vue3/src/components/content-variants/content-variants.types.ts +0 -20
  1701. package/vue3/src/components/content-variants/content-variants.vue +0 -151
  1702. package/vue3/src/components/content-variants/helpers.ts +0 -207
  1703. package/vue3/src/components/inlined-script.vue +0 -12
  1704. package/vue3/src/components/inlined-styles.vue +0 -12
  1705. package/vue3/src/constants/builder-registered-components.ts +0 -62
  1706. package/vue3/src/constants/device-sizes.ts +0 -59
  1707. package/vue3/src/constants/sdk-version.ts +0 -1
  1708. package/vue3/src/constants/target.ts +0 -4
  1709. package/vue3/src/context/builder.context.ts +0 -16
  1710. package/vue3/src/context/components.context.ts +0 -6
  1711. package/vue3/src/context/types.ts +0 -36
  1712. package/vue3/src/functions/apply-patch-with-mutation.ts +0 -61
  1713. package/vue3/src/functions/camel-to-kebab-case.ts +0 -1
  1714. package/vue3/src/functions/deopt.ts +0 -6
  1715. package/vue3/src/functions/evaluate/browser-runtime/browser.ts +0 -41
  1716. package/vue3/src/functions/evaluate/browser-runtime/index.ts +0 -1
  1717. package/vue3/src/functions/evaluate/edge-runtime/acorn-interpreter.ts +0 -2891
  1718. package/vue3/src/functions/evaluate/edge-runtime/edge-runtime.ts +0 -96
  1719. package/vue3/src/functions/evaluate/edge-runtime/index.ts +0 -1
  1720. package/vue3/src/functions/evaluate/evaluate.ts +0 -66
  1721. package/vue3/src/functions/evaluate/helpers.ts +0 -32
  1722. package/vue3/src/functions/evaluate/index.ts +0 -1
  1723. package/vue3/src/functions/evaluate/node-runtime/index.ts +0 -1
  1724. package/vue3/src/functions/evaluate/placeholder-runtime.ts +0 -4
  1725. package/vue3/src/functions/event-handler-name.ts +0 -1
  1726. package/vue3/src/functions/extract-text-styles.ts +0 -24
  1727. package/vue3/src/functions/fast-clone.ts +0 -4
  1728. package/vue3/src/functions/fetch-builder-props.ts +0 -62
  1729. package/vue3/src/functions/get-block-actions-handler.ts +0 -16
  1730. package/vue3/src/functions/get-block-actions.ts +0 -36
  1731. package/vue3/src/functions/get-block-component-options.ts +0 -11
  1732. package/vue3/src/functions/get-block-properties.ts +0 -82
  1733. package/vue3/src/functions/get-builder-search-params/index.ts +0 -40
  1734. package/vue3/src/functions/get-content/generate-content-url.ts +0 -45
  1735. package/vue3/src/functions/get-content/index.ts +0 -110
  1736. package/vue3/src/functions/get-content/types.ts +0 -62
  1737. package/vue3/src/functions/get-fetch.ts +0 -11
  1738. package/vue3/src/functions/get-global-this.ts +0 -16
  1739. package/vue3/src/functions/get-processed-block.ts +0 -69
  1740. package/vue3/src/functions/get-react-native-block-styles.ts +0 -27
  1741. package/vue3/src/functions/is-browser.ts +0 -3
  1742. package/vue3/src/functions/is-edge-runtime.ts +0 -9
  1743. package/vue3/src/functions/is-editing.ts +0 -5
  1744. package/vue3/src/functions/is-iframe.ts +0 -4
  1745. package/vue3/src/functions/is-previewing.ts +0 -11
  1746. package/vue3/src/functions/on-change.ts +0 -29
  1747. package/vue3/src/functions/register-component.ts +0 -48
  1748. package/vue3/src/functions/register.ts +0 -44
  1749. package/vue3/src/functions/sanitize-react-native-block-styles.ts +0 -58
  1750. package/vue3/src/functions/set-editor-settings.ts +0 -15
  1751. package/vue3/src/functions/set.ts +0 -14
  1752. package/vue3/src/functions/track/helpers.ts +0 -51
  1753. package/vue3/src/functions/track/index.ts +0 -131
  1754. package/vue3/src/functions/track/interaction.ts +0 -63
  1755. package/vue3/src/functions/transform-block-properties.ts +0 -18
  1756. package/vue3/src/functions/transform-block.ts +0 -6
  1757. package/vue3/src/helpers/ab-tests.ts +0 -166
  1758. package/vue3/src/helpers/canTrack.ts +0 -2
  1759. package/vue3/src/helpers/cookie.ts +0 -81
  1760. package/vue3/src/helpers/css.ts +0 -33
  1761. package/vue3/src/helpers/flatten.ts +0 -19
  1762. package/vue3/src/helpers/localStorage.ts +0 -36
  1763. package/vue3/src/helpers/logger.ts +0 -7
  1764. package/vue3/src/helpers/nullable.ts +0 -2
  1765. package/vue3/src/helpers/preview-lru-cache/get.ts +0 -4
  1766. package/vue3/src/helpers/preview-lru-cache/init.ts +0 -7
  1767. package/vue3/src/helpers/preview-lru-cache/set.ts +0 -12
  1768. package/vue3/src/helpers/sessionId.ts +0 -37
  1769. package/vue3/src/helpers/time.ts +0 -2
  1770. package/vue3/src/helpers/url.ts +0 -15
  1771. package/vue3/src/helpers/uuid.ts +0 -17
  1772. package/vue3/src/helpers/visitorId.ts +0 -37
  1773. package/vue3/src/index-helpers/blocks-exports.ts +0 -20
  1774. package/vue3/src/index-helpers/top-of-file.ts +0 -4
  1775. package/vue3/src/index.ts +0 -8
  1776. package/vue3/src/scripts/init-editing.ts +0 -113
  1777. package/vue3/src/server-index.ts +0 -15
  1778. package/vue3/tsconfig.config.json +0 -8
  1779. package/vue3/tsconfig.json +0 -17
  1780. package/vue3/vite.config.js +0 -31
  1781. /package/vue2/{src/helpers/preview-lru-cache/helpers.ts → lib/browser/helpers/preview-lru-cache/helpers.d.ts} +0 -0
  1782. /package/vue2/{src/helpers/preview-lru-cache/types.ts → lib/browser/helpers/preview-lru-cache/types.d.ts} +0 -0
  1783. /package/{vue3/src/helpers/preview-lru-cache/helpers.ts → vue2/lib/edge/helpers/preview-lru-cache/helpers.d.ts} +0 -0
  1784. /package/{vue3/src/helpers/preview-lru-cache/types.ts → vue2/lib/edge/helpers/preview-lru-cache/types.d.ts} +0 -0
@@ -1,1396 +0,0 @@
1
- /**
2
- * The `child_process` module provides the ability to spawn subprocesses in
3
- * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability
4
- * is primarily provided by the {@link spawn} function:
5
- *
6
- * ```js
7
- * const { spawn } = require('child_process');
8
- * const ls = spawn('ls', ['-lh', '/usr']);
9
- *
10
- * ls.stdout.on('data', (data) => {
11
- * console.log(`stdout: ${data}`);
12
- * });
13
- *
14
- * ls.stderr.on('data', (data) => {
15
- * console.error(`stderr: ${data}`);
16
- * });
17
- *
18
- * ls.on('close', (code) => {
19
- * console.log(`child process exited with code ${code}`);
20
- * });
21
- * ```
22
- *
23
- * By default, pipes for `stdin`, `stdout`, and `stderr` are established between
24
- * the parent Node.js process and the spawned subprocess. These pipes have
25
- * limited (and platform-specific) capacity. If the subprocess writes to
26
- * stdout in excess of that limit without the output being captured, the
27
- * subprocess blocks waiting for the pipe buffer to accept more data. This is
28
- * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed.
29
- *
30
- * The command lookup is performed using the `options.env.PATH` environment
31
- * variable if it is in the `options` object. Otherwise, `process.env.PATH` is
32
- * used.
33
- *
34
- * On Windows, environment variables are case-insensitive. Node.js
35
- * lexicographically sorts the `env` keys and uses the first one that
36
- * case-insensitively matches. Only first (in lexicographic order) entry will be
37
- * passed to the subprocess. This might lead to issues on Windows when passing
38
- * objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`.
39
- *
40
- * The {@link spawn} method spawns the child process asynchronously,
41
- * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
42
- * the event loop until the spawned process either exits or is terminated.
43
- *
44
- * For convenience, the `child_process` module provides a handful of synchronous
45
- * and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on
46
- * top of {@link spawn} or {@link spawnSync}.
47
- *
48
- * * {@link exec}: spawns a shell and runs a command within that
49
- * shell, passing the `stdout` and `stderr` to a callback function when
50
- * complete.
51
- * * {@link execFile}: similar to {@link exec} except
52
- * that it spawns the command directly without first spawning a shell by
53
- * default.
54
- * * {@link fork}: spawns a new Node.js process and invokes a
55
- * specified module with an IPC communication channel established that allows
56
- * sending messages between parent and child.
57
- * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop.
58
- * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop.
59
- *
60
- * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
61
- * the synchronous methods can have significant impact on performance due to
62
- * stalling the event loop while spawned processes complete.
63
- * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/child_process.js)
64
- */
65
- declare module 'child_process' {
66
- import { ObjectEncodingOptions } from 'node:fs';
67
- import { EventEmitter, Abortable } from 'node:events';
68
- import * as net from 'node:net';
69
- import { Writable, Readable, Stream, Pipe } from 'node:stream';
70
- import { URL } from 'node:url';
71
- type Serializable = string | object | number | boolean | bigint;
72
- type SendHandle = net.Socket | net.Server;
73
- /**
74
- * Instances of the `ChildProcess` represent spawned child processes.
75
- *
76
- * Instances of `ChildProcess` are not intended to be created directly. Rather,
77
- * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create
78
- * instances of `ChildProcess`.
79
- * @since v2.2.0
80
- */
81
- class ChildProcess extends EventEmitter {
82
- /**
83
- * A `Writable Stream` that represents the child process's `stdin`.
84
- *
85
- * If a child process waits to read all of its input, the child will not continue
86
- * until this stream has been closed via `end()`.
87
- *
88
- * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
89
- * then this will be `null`.
90
- *
91
- * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
92
- * refer to the same value.
93
- *
94
- * The `subprocess.stdin` property can be `undefined` if the child process could
95
- * not be successfully spawned.
96
- * @since v0.1.90
97
- */
98
- stdin: Writable | null;
99
- /**
100
- * A `Readable Stream` that represents the child process's `stdout`.
101
- *
102
- * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`,
103
- * then this will be `null`.
104
- *
105
- * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will
106
- * refer to the same value.
107
- *
108
- * ```js
109
- * const { spawn } = require('child_process');
110
- *
111
- * const subprocess = spawn('ls');
112
- *
113
- * subprocess.stdout.on('data', (data) => {
114
- * console.log(`Received chunk ${data}`);
115
- * });
116
- * ```
117
- *
118
- * The `subprocess.stdout` property can be `null` if the child process could
119
- * not be successfully spawned.
120
- * @since v0.1.90
121
- */
122
- stdout: Readable | null;
123
- /**
124
- * A `Readable Stream` that represents the child process's `stderr`.
125
- *
126
- * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`,
127
- * then this will be `null`.
128
- *
129
- * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
130
- * refer to the same value.
131
- *
132
- * The `subprocess.stderr` property can be `null` if the child process could
133
- * not be successfully spawned.
134
- * @since v0.1.90
135
- */
136
- stderr: Readable | null;
137
- /**
138
- * The `subprocess.channel` property is a reference to the child's IPC channel. If
139
- * no IPC channel currently exists, this property is `undefined`.
140
- * @since v7.1.0
141
- */
142
- readonly channel?: Pipe | null | undefined;
143
- /**
144
- * A sparse array of pipes to the child process, corresponding with positions in
145
- * the `stdio` option passed to {@link spawn} that have been set
146
- * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin`,`subprocess.stdout`, and `subprocess.stderr`,
147
- * respectively.
148
- *
149
- * In the following example, only the child's fd `1` (stdout) is configured as a
150
- * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values
151
- * in the array are `null`.
152
- *
153
- * ```js
154
- * const assert = require('assert');
155
- * const fs = require('fs');
156
- * const child_process = require('child_process');
157
- *
158
- * const subprocess = child_process.spawn('ls', {
159
- * stdio: [
160
- * 0, // Use parent's stdin for child.
161
- * 'pipe', // Pipe child's stdout to parent.
162
- * fs.openSync('err.out', 'w'), // Direct child's stderr to a file.
163
- * ]
164
- * });
165
- *
166
- * assert.strictEqual(subprocess.stdio[0], null);
167
- * assert.strictEqual(subprocess.stdio[0], subprocess.stdin);
168
- *
169
- * assert(subprocess.stdout);
170
- * assert.strictEqual(subprocess.stdio[1], subprocess.stdout);
171
- *
172
- * assert.strictEqual(subprocess.stdio[2], null);
173
- * assert.strictEqual(subprocess.stdio[2], subprocess.stderr);
174
- * ```
175
- *
176
- * The `subprocess.stdio` property can be `undefined` if the child process could
177
- * not be successfully spawned.
178
- * @since v0.7.10
179
- */
180
- readonly stdio: [
181
- Writable | null,
182
- // stdin
183
- Readable | null,
184
- // stdout
185
- Readable | null,
186
- // stderr
187
- Readable | Writable | null | undefined,
188
- // extra
189
- Readable | Writable | null | undefined // extra
190
- ];
191
- /**
192
- * The `subprocess.killed` property indicates whether the child process
193
- * successfully received a signal from `subprocess.kill()`. The `killed` property
194
- * does not indicate that the child process has been terminated.
195
- * @since v0.5.10
196
- */
197
- readonly killed: boolean;
198
- /**
199
- * Returns the process identifier (PID) of the child process. If the child process
200
- * fails to spawn due to errors, then the value is `undefined` and `error` is
201
- * emitted.
202
- *
203
- * ```js
204
- * const { spawn } = require('child_process');
205
- * const grep = spawn('grep', ['ssh']);
206
- *
207
- * console.log(`Spawned child pid: ${grep.pid}`);
208
- * grep.stdin.end();
209
- * ```
210
- * @since v0.1.90
211
- */
212
- readonly pid?: number | undefined;
213
- /**
214
- * The `subprocess.connected` property indicates whether it is still possible to
215
- * send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages.
216
- * @since v0.7.2
217
- */
218
- readonly connected: boolean;
219
- /**
220
- * The `subprocess.exitCode` property indicates the exit code of the child process.
221
- * If the child process is still running, the field will be `null`.
222
- */
223
- readonly exitCode: number | null;
224
- /**
225
- * The `subprocess.signalCode` property indicates the signal received by
226
- * the child process if any, else `null`.
227
- */
228
- readonly signalCode: NodeJS.Signals | null;
229
- /**
230
- * The `subprocess.spawnargs` property represents the full list of command-line
231
- * arguments the child process was launched with.
232
- */
233
- readonly spawnargs: string[];
234
- /**
235
- * The `subprocess.spawnfile` property indicates the executable file name of
236
- * the child process that is launched.
237
- *
238
- * For {@link fork}, its value will be equal to `process.execPath`.
239
- * For {@link spawn}, its value will be the name of
240
- * the executable file.
241
- * For {@link exec}, its value will be the name of the shell
242
- * in which the child process is launched.
243
- */
244
- readonly spawnfile: string;
245
- /**
246
- * The `subprocess.kill()` method sends a signal to the child process. If no
247
- * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function
248
- * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise.
249
- *
250
- * ```js
251
- * const { spawn } = require('child_process');
252
- * const grep = spawn('grep', ['ssh']);
253
- *
254
- * grep.on('close', (code, signal) => {
255
- * console.log(
256
- * `child process terminated due to receipt of signal ${signal}`);
257
- * });
258
- *
259
- * // Send SIGHUP to process.
260
- * grep.kill('SIGHUP');
261
- * ```
262
- *
263
- * The `ChildProcess` object may emit an `'error'` event if the signal
264
- * cannot be delivered. Sending a signal to a child process that has already exited
265
- * is not an error but may have unforeseen consequences. Specifically, if the
266
- * process identifier (PID) has been reassigned to another process, the signal will
267
- * be delivered to that process instead which can have unexpected results.
268
- *
269
- * While the function is called `kill`, the signal delivered to the child process
270
- * may not actually terminate the process.
271
- *
272
- * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference.
273
- *
274
- * On Windows, where POSIX signals do not exist, the `signal` argument will be
275
- * ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`).
276
- * See `Signal Events` for more details.
277
- *
278
- * On Linux, child processes of child processes will not be terminated
279
- * when attempting to kill their parent. This is likely to happen when running a
280
- * new process in a shell or with the use of the `shell` option of `ChildProcess`:
281
- *
282
- * ```js
283
- * 'use strict';
284
- * const { spawn } = require('child_process');
285
- *
286
- * const subprocess = spawn(
287
- * 'sh',
288
- * [
289
- * '-c',
290
- * `node -e "setInterval(() => {
291
- * console.log(process.pid, 'is alive')
292
- * }, 500);"`,
293
- * ], {
294
- * stdio: ['inherit', 'inherit', 'inherit']
295
- * }
296
- * );
297
- *
298
- * setTimeout(() => {
299
- * subprocess.kill(); // Does not terminate the Node.js process in the shell.
300
- * }, 2000);
301
- * ```
302
- * @since v0.1.90
303
- */
304
- kill(signal?: NodeJS.Signals | number): boolean;
305
- /**
306
- * When an IPC channel has been established between the parent and child (
307
- * i.e. when using {@link fork}), the `subprocess.send()` method can
308
- * be used to send messages to the child process. When the child process is a
309
- * Node.js instance, these messages can be received via the `'message'` event.
310
- *
311
- * The message goes through serialization and parsing. The resulting
312
- * message might not be the same as what is originally sent.
313
- *
314
- * For example, in the parent script:
315
- *
316
- * ```js
317
- * const cp = require('child_process');
318
- * const n = cp.fork(`${__dirname}/sub.js`);
319
- *
320
- * n.on('message', (m) => {
321
- * console.log('PARENT got message:', m);
322
- * });
323
- *
324
- * // Causes the child to print: CHILD got message: { hello: 'world' }
325
- * n.send({ hello: 'world' });
326
- * ```
327
- *
328
- * And then the child script, `'sub.js'` might look like this:
329
- *
330
- * ```js
331
- * process.on('message', (m) => {
332
- * console.log('CHILD got message:', m);
333
- * });
334
- *
335
- * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null }
336
- * process.send({ foo: 'bar', baz: NaN });
337
- * ```
338
- *
339
- * Child Node.js processes will have a `process.send()` method of their own
340
- * that allows the child to send messages back to the parent.
341
- *
342
- * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
343
- * containing a `NODE_` prefix in the `cmd` property are reserved for use within
344
- * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js.
345
- * Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice.
346
- *
347
- * The optional `sendHandle` argument that may be passed to `subprocess.send()` is
348
- * for passing a TCP server or socket object to the child process. The child will
349
- * receive the object as the second argument passed to the callback function
350
- * registered on the `'message'` event. Any data that is received
351
- * and buffered in the socket will not be sent to the child.
352
- *
353
- * The optional `callback` is a function that is invoked after the message is
354
- * sent but before the child may have received it. The function is called with a
355
- * single argument: `null` on success, or an `Error` object on failure.
356
- *
357
- * If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can
358
- * happen, for instance, when the child process has already exited.
359
- *
360
- * `subprocess.send()` will return `false` if the channel has closed or when the
361
- * backlog of unsent messages exceeds a threshold that makes it unwise to send
362
- * more. Otherwise, the method returns `true`. The `callback` function can be
363
- * used to implement flow control.
364
- *
365
- * #### Example: sending a server object
366
- *
367
- * The `sendHandle` argument can be used, for instance, to pass the handle of
368
- * a TCP server object to the child process as illustrated in the example below:
369
- *
370
- * ```js
371
- * const subprocess = require('child_process').fork('subprocess.js');
372
- *
373
- * // Open up the server object and send the handle.
374
- * const server = require('net').createServer();
375
- * server.on('connection', (socket) => {
376
- * socket.end('handled by parent');
377
- * });
378
- * server.listen(1337, () => {
379
- * subprocess.send('server', server);
380
- * });
381
- * ```
382
- *
383
- * The child would then receive the server object as:
384
- *
385
- * ```js
386
- * process.on('message', (m, server) => {
387
- * if (m === 'server') {
388
- * server.on('connection', (socket) => {
389
- * socket.end('handled by child');
390
- * });
391
- * }
392
- * });
393
- * ```
394
- *
395
- * Once the server is now shared between the parent and child, some connections
396
- * can be handled by the parent and some by the child.
397
- *
398
- * While the example above uses a server created using the `net` module, `dgram`module servers use exactly the same workflow with the exceptions of listening on
399
- * a `'message'` event instead of `'connection'` and using `server.bind()` instead
400
- * of `server.listen()`. This is, however, currently only supported on Unix
401
- * platforms.
402
- *
403
- * #### Example: sending a socket object
404
- *
405
- * Similarly, the `sendHandler` argument can be used to pass the handle of a
406
- * socket to the child process. The example below spawns two children that each
407
- * handle connections with "normal" or "special" priority:
408
- *
409
- * ```js
410
- * const { fork } = require('child_process');
411
- * const normal = fork('subprocess.js', ['normal']);
412
- * const special = fork('subprocess.js', ['special']);
413
- *
414
- * // Open up the server and send sockets to child. Use pauseOnConnect to prevent
415
- * // the sockets from being read before they are sent to the child process.
416
- * const server = require('net').createServer({ pauseOnConnect: true });
417
- * server.on('connection', (socket) => {
418
- *
419
- * // If this is special priority...
420
- * if (socket.remoteAddress === '74.125.127.100') {
421
- * special.send('socket', socket);
422
- * return;
423
- * }
424
- * // This is normal priority.
425
- * normal.send('socket', socket);
426
- * });
427
- * server.listen(1337);
428
- * ```
429
- *
430
- * The `subprocess.js` would receive the socket handle as the second argument
431
- * passed to the event callback function:
432
- *
433
- * ```js
434
- * process.on('message', (m, socket) => {
435
- * if (m === 'socket') {
436
- * if (socket) {
437
- * // Check that the client socket exists.
438
- * // It is possible for the socket to be closed between the time it is
439
- * // sent and the time it is received in the child process.
440
- * socket.end(`Request handled with ${process.argv[2]} priority`);
441
- * }
442
- * }
443
- * });
444
- * ```
445
- *
446
- * Do not use `.maxConnections` on a socket that has been passed to a subprocess.
447
- * The parent cannot track when the socket is destroyed.
448
- *
449
- * Any `'message'` handlers in the subprocess should verify that `socket` exists,
450
- * as the connection may have been closed during the time it takes to send the
451
- * connection to the child.
452
- * @since v0.5.9
453
- * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
454
- */
455
- send(message: Serializable, callback?: (error: Error | null) => void): boolean;
456
- send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
457
- send(message: Serializable, sendHandle?: SendHandle, options?: MessageOptions, callback?: (error: Error | null) => void): boolean;
458
- /**
459
- * Closes the IPC channel between parent and child, allowing the child to exit
460
- * gracefully once there are no other connections keeping it alive. After calling
461
- * this method the `subprocess.connected` and `process.connected` properties in
462
- * both the parent and child (respectively) will be set to `false`, and it will be
463
- * no longer possible to pass messages between the processes.
464
- *
465
- * The `'disconnect'` event will be emitted when there are no messages in the
466
- * process of being received. This will most often be triggered immediately after
467
- * calling `subprocess.disconnect()`.
468
- *
469
- * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked
470
- * within the child process to close the IPC channel as well.
471
- * @since v0.7.2
472
- */
473
- disconnect(): void;
474
- /**
475
- * By default, the parent will wait for the detached child to exit. To prevent the
476
- * parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not
477
- * include the child in its reference count, allowing the parent to exit
478
- * independently of the child, unless there is an established IPC channel between
479
- * the child and the parent.
480
- *
481
- * ```js
482
- * const { spawn } = require('child_process');
483
- *
484
- * const subprocess = spawn(process.argv[0], ['child_program.js'], {
485
- * detached: true,
486
- * stdio: 'ignore'
487
- * });
488
- *
489
- * subprocess.unref();
490
- * ```
491
- * @since v0.7.10
492
- */
493
- unref(): void;
494
- /**
495
- * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will
496
- * restore the removed reference count for the child process, forcing the parent
497
- * to wait for the child to exit before exiting itself.
498
- *
499
- * ```js
500
- * const { spawn } = require('child_process');
501
- *
502
- * const subprocess = spawn(process.argv[0], ['child_program.js'], {
503
- * detached: true,
504
- * stdio: 'ignore'
505
- * });
506
- *
507
- * subprocess.unref();
508
- * subprocess.ref();
509
- * ```
510
- * @since v0.7.10
511
- */
512
- ref(): void;
513
- /**
514
- * events.EventEmitter
515
- * 1. close
516
- * 2. disconnect
517
- * 3. error
518
- * 4. exit
519
- * 5. message
520
- * 6. spawn
521
- */
522
- addListener(event: string, listener: (...args: any[]) => void): this;
523
- addListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
524
- addListener(event: 'disconnect', listener: () => void): this;
525
- addListener(event: 'error', listener: (err: Error) => void): this;
526
- addListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
527
- addListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
528
- addListener(event: 'spawn', listener: () => void): this;
529
- emit(event: string | symbol, ...args: any[]): boolean;
530
- emit(event: 'close', code: number | null, signal: NodeJS.Signals | null): boolean;
531
- emit(event: 'disconnect'): boolean;
532
- emit(event: 'error', err: Error): boolean;
533
- emit(event: 'exit', code: number | null, signal: NodeJS.Signals | null): boolean;
534
- emit(event: 'message', message: Serializable, sendHandle: SendHandle): boolean;
535
- emit(event: 'spawn', listener: () => void): boolean;
536
- on(event: string, listener: (...args: any[]) => void): this;
537
- on(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
538
- on(event: 'disconnect', listener: () => void): this;
539
- on(event: 'error', listener: (err: Error) => void): this;
540
- on(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
541
- on(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
542
- on(event: 'spawn', listener: () => void): this;
543
- once(event: string, listener: (...args: any[]) => void): this;
544
- once(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
545
- once(event: 'disconnect', listener: () => void): this;
546
- once(event: 'error', listener: (err: Error) => void): this;
547
- once(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
548
- once(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
549
- once(event: 'spawn', listener: () => void): this;
550
- prependListener(event: string, listener: (...args: any[]) => void): this;
551
- prependListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
552
- prependListener(event: 'disconnect', listener: () => void): this;
553
- prependListener(event: 'error', listener: (err: Error) => void): this;
554
- prependListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
555
- prependListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
556
- prependListener(event: 'spawn', listener: () => void): this;
557
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
558
- prependOnceListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
559
- prependOnceListener(event: 'disconnect', listener: () => void): this;
560
- prependOnceListener(event: 'error', listener: (err: Error) => void): this;
561
- prependOnceListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
562
- prependOnceListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
563
- prependOnceListener(event: 'spawn', listener: () => void): this;
564
- }
565
- // return this object when stdio option is undefined or not specified
566
- interface ChildProcessWithoutNullStreams extends ChildProcess {
567
- stdin: Writable;
568
- stdout: Readable;
569
- stderr: Readable;
570
- readonly stdio: [
571
- Writable,
572
- Readable,
573
- Readable,
574
- // stderr
575
- Readable | Writable | null | undefined,
576
- // extra, no modification
577
- Readable | Writable | null | undefined // extra, no modification
578
- ];
579
- }
580
- // return this object when stdio option is a tuple of 3
581
- interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable> extends ChildProcess {
582
- stdin: I;
583
- stdout: O;
584
- stderr: E;
585
- readonly stdio: [
586
- I,
587
- O,
588
- E,
589
- Readable | Writable | null | undefined,
590
- // extra, no modification
591
- Readable | Writable | null | undefined // extra, no modification
592
- ];
593
- }
594
- interface MessageOptions {
595
- keepOpen?: boolean | undefined;
596
- }
597
- type IOType = 'overlapped' | 'pipe' | 'ignore' | 'inherit';
598
- type StdioOptions = IOType | Array<IOType | 'ipc' | Stream | number | null | undefined>;
599
- type SerializationType = 'json' | 'advanced';
600
- interface MessagingOptions extends Abortable {
601
- /**
602
- * Specify the kind of serialization used for sending messages between processes.
603
- * @default 'json'
604
- */
605
- serialization?: SerializationType | undefined;
606
- /**
607
- * The signal value to be used when the spawned process will be killed by the abort signal.
608
- * @default 'SIGTERM'
609
- */
610
- killSignal?: NodeJS.Signals | number | undefined;
611
- /**
612
- * In milliseconds the maximum amount of time the process is allowed to run.
613
- */
614
- timeout?: number | undefined;
615
- }
616
- interface ProcessEnvOptions {
617
- uid?: number | undefined;
618
- gid?: number | undefined;
619
- cwd?: string | URL | undefined;
620
- env?: NodeJS.ProcessEnv | undefined;
621
- }
622
- interface CommonOptions extends ProcessEnvOptions {
623
- /**
624
- * @default false
625
- */
626
- windowsHide?: boolean | undefined;
627
- /**
628
- * @default 0
629
- */
630
- timeout?: number | undefined;
631
- }
632
- interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable {
633
- argv0?: string | undefined;
634
- /**
635
- * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
636
- * If passed as an array, the first element is used for `stdin`, the second for
637
- * `stdout`, and the third for `stderr`. A fourth element can be used to
638
- * specify the `stdio` behavior beyond the standard streams. See
639
- * {@link ChildProcess.stdio} for more information.
640
- *
641
- * @default 'pipe'
642
- */
643
- stdio?: StdioOptions | undefined;
644
- shell?: boolean | string | undefined;
645
- windowsVerbatimArguments?: boolean | undefined;
646
- }
647
- interface SpawnOptions extends CommonSpawnOptions {
648
- detached?: boolean | undefined;
649
- }
650
- interface SpawnOptionsWithoutStdio extends SpawnOptions {
651
- stdio?: StdioPipeNamed | StdioPipe[] | undefined;
652
- }
653
- type StdioNull = 'inherit' | 'ignore' | Stream;
654
- type StdioPipeNamed = 'pipe' | 'overlapped';
655
- type StdioPipe = undefined | null | StdioPipeNamed;
656
- interface SpawnOptionsWithStdioTuple<Stdin extends StdioNull | StdioPipe, Stdout extends StdioNull | StdioPipe, Stderr extends StdioNull | StdioPipe> extends SpawnOptions {
657
- stdio: [Stdin, Stdout, Stderr];
658
- }
659
- /**
660
- * The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults
661
- * to an empty array.
662
- *
663
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
664
- * **function. Any input containing shell metacharacters may be used to trigger**
665
- * **arbitrary command execution.**
666
- *
667
- * A third argument may be used to specify additional options, with these defaults:
668
- *
669
- * ```js
670
- * const defaults = {
671
- * cwd: undefined,
672
- * env: process.env
673
- * };
674
- * ```
675
- *
676
- * Use `cwd` to specify the working directory from which the process is spawned.
677
- * If not given, the default is to inherit the current working directory. If given,
678
- * but the path does not exist, the child process emits an `ENOENT` error
679
- * and exits immediately. `ENOENT` is also emitted when the command
680
- * does not exist.
681
- *
682
- * Use `env` to specify environment variables that will be visible to the new
683
- * process, the default is `process.env`.
684
- *
685
- * `undefined` values in `env` will be ignored.
686
- *
687
- * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the
688
- * exit code:
689
- *
690
- * ```js
691
- * const { spawn } = require('child_process');
692
- * const ls = spawn('ls', ['-lh', '/usr']);
693
- *
694
- * ls.stdout.on('data', (data) => {
695
- * console.log(`stdout: ${data}`);
696
- * });
697
- *
698
- * ls.stderr.on('data', (data) => {
699
- * console.error(`stderr: ${data}`);
700
- * });
701
- *
702
- * ls.on('close', (code) => {
703
- * console.log(`child process exited with code ${code}`);
704
- * });
705
- * ```
706
- *
707
- * Example: A very elaborate way to run `ps ax | grep ssh`
708
- *
709
- * ```js
710
- * const { spawn } = require('child_process');
711
- * const ps = spawn('ps', ['ax']);
712
- * const grep = spawn('grep', ['ssh']);
713
- *
714
- * ps.stdout.on('data', (data) => {
715
- * grep.stdin.write(data);
716
- * });
717
- *
718
- * ps.stderr.on('data', (data) => {
719
- * console.error(`ps stderr: ${data}`);
720
- * });
721
- *
722
- * ps.on('close', (code) => {
723
- * if (code !== 0) {
724
- * console.log(`ps process exited with code ${code}`);
725
- * }
726
- * grep.stdin.end();
727
- * });
728
- *
729
- * grep.stdout.on('data', (data) => {
730
- * console.log(data.toString());
731
- * });
732
- *
733
- * grep.stderr.on('data', (data) => {
734
- * console.error(`grep stderr: ${data}`);
735
- * });
736
- *
737
- * grep.on('close', (code) => {
738
- * if (code !== 0) {
739
- * console.log(`grep process exited with code ${code}`);
740
- * }
741
- * });
742
- * ```
743
- *
744
- * Example of checking for failed `spawn`:
745
- *
746
- * ```js
747
- * const { spawn } = require('child_process');
748
- * const subprocess = spawn('bad_command');
749
- *
750
- * subprocess.on('error', (err) => {
751
- * console.error('Failed to start subprocess.');
752
- * });
753
- * ```
754
- *
755
- * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
756
- * title while others (Windows, SunOS) will use `command`.
757
- *
758
- * Node.js currently overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent,
759
- * retrieve it with the`process.argv0` property instead.
760
- *
761
- * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
762
- * the error passed to the callback will be an `AbortError`:
763
- *
764
- * ```js
765
- * const { spawn } = require('child_process');
766
- * const controller = new AbortController();
767
- * const { signal } = controller;
768
- * const grep = spawn('grep', ['ssh'], { signal });
769
- * grep.on('error', (err) => {
770
- * // This will be called with err being an AbortError if the controller aborts
771
- * });
772
- * controller.abort(); // Stops the child process
773
- * ```
774
- * @since v0.1.90
775
- * @param command The command to run.
776
- * @param args List of string arguments.
777
- */
778
- function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
779
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>): ChildProcessByStdio<Writable, Readable, Readable>;
780
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>): ChildProcessByStdio<Writable, Readable, null>;
781
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>): ChildProcessByStdio<Writable, null, Readable>;
782
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>): ChildProcessByStdio<null, Readable, Readable>;
783
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>): ChildProcessByStdio<Writable, null, null>;
784
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>): ChildProcessByStdio<null, Readable, null>;
785
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>): ChildProcessByStdio<null, null, Readable>;
786
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>): ChildProcessByStdio<null, null, null>;
787
- function spawn(command: string, options: SpawnOptions): ChildProcess;
788
- // overloads of spawn with 'args'
789
- function spawn(command: string, args?: ReadonlyArray<string>, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
790
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>): ChildProcessByStdio<Writable, Readable, Readable>;
791
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>): ChildProcessByStdio<Writable, Readable, null>;
792
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>): ChildProcessByStdio<Writable, null, Readable>;
793
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>): ChildProcessByStdio<null, Readable, Readable>;
794
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>): ChildProcessByStdio<Writable, null, null>;
795
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>): ChildProcessByStdio<null, Readable, null>;
796
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>): ChildProcessByStdio<null, null, Readable>;
797
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>): ChildProcessByStdio<null, null, null>;
798
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
799
- interface ExecOptions extends CommonOptions {
800
- shell?: string | undefined;
801
- signal?: AbortSignal | undefined;
802
- maxBuffer?: number | undefined;
803
- killSignal?: NodeJS.Signals | number | undefined;
804
- }
805
- interface ExecOptionsWithStringEncoding extends ExecOptions {
806
- encoding: BufferEncoding;
807
- }
808
- interface ExecOptionsWithBufferEncoding extends ExecOptions {
809
- encoding: BufferEncoding | null; // specify `null`.
810
- }
811
- interface ExecException extends Error {
812
- cmd?: string | undefined;
813
- killed?: boolean | undefined;
814
- code?: number | undefined;
815
- signal?: NodeJS.Signals | undefined;
816
- }
817
- /**
818
- * Spawns a shell then executes the `command` within that shell, buffering any
819
- * generated output. The `command` string passed to the exec function is processed
820
- * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
821
- * need to be dealt with accordingly:
822
- *
823
- * ```js
824
- * const { exec } = require('child_process');
825
- *
826
- * exec('"/path/to/test file/test.sh" arg1 arg2');
827
- * // Double quotes are used so that the space in the path is not interpreted as
828
- * // a delimiter of multiple arguments.
829
- *
830
- * exec('echo "The \\$HOME variable is $HOME"');
831
- * // The $HOME variable is escaped in the first instance, but not in the second.
832
- * ```
833
- *
834
- * **Never pass unsanitized user input to this function. Any input containing shell**
835
- * **metacharacters may be used to trigger arbitrary command execution.**
836
- *
837
- * If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error,`error` will be an instance of `Error`. The
838
- * `error.code` property will be
839
- * the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the
840
- * process.
841
- *
842
- * The `stdout` and `stderr` arguments passed to the callback will contain the
843
- * stdout and stderr output of the child process. By default, Node.js will decode
844
- * the output as UTF-8 and pass strings to the callback. The `encoding` option
845
- * can be used to specify the character encoding used to decode the stdout and
846
- * stderr output. If `encoding` is `'buffer'`, or an unrecognized character
847
- * encoding, `Buffer` objects will be passed to the callback instead.
848
- *
849
- * ```js
850
- * const { exec } = require('child_process');
851
- * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => {
852
- * if (error) {
853
- * console.error(`exec error: ${error}`);
854
- * return;
855
- * }
856
- * console.log(`stdout: ${stdout}`);
857
- * console.error(`stderr: ${stderr}`);
858
- * });
859
- * ```
860
- *
861
- * If `timeout` is greater than `0`, the parent will send the signal
862
- * identified by the `killSignal` property (the default is `'SIGTERM'`) if the
863
- * child runs longer than `timeout` milliseconds.
864
- *
865
- * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace
866
- * the existing process and uses a shell to execute the command.
867
- *
868
- * If this method is invoked as its `util.promisify()` ed version, it returns
869
- * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In
870
- * case of an error (including any error resulting in an exit code other than 0), a
871
- * rejected promise is returned, with the same `error` object given in the
872
- * callback, but with two additional properties `stdout` and `stderr`.
873
- *
874
- * ```js
875
- * const util = require('util');
876
- * const exec = util.promisify(require('child_process').exec);
877
- *
878
- * async function lsExample() {
879
- * const { stdout, stderr } = await exec('ls');
880
- * console.log('stdout:', stdout);
881
- * console.error('stderr:', stderr);
882
- * }
883
- * lsExample();
884
- * ```
885
- *
886
- * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
887
- * the error passed to the callback will be an `AbortError`:
888
- *
889
- * ```js
890
- * const { exec } = require('child_process');
891
- * const controller = new AbortController();
892
- * const { signal } = controller;
893
- * const child = exec('grep ssh', { signal }, (error) => {
894
- * console.log(error); // an AbortError
895
- * });
896
- * controller.abort();
897
- * ```
898
- * @since v0.1.90
899
- * @param command The command to run, with space-separated arguments.
900
- * @param callback called with the output when process terminates.
901
- */
902
- function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
903
- // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
904
- function exec(
905
- command: string,
906
- options: {
907
- encoding: 'buffer' | null;
908
- } & ExecOptions,
909
- callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void
910
- ): ChildProcess;
911
- // `options` with well known `encoding` means stdout/stderr are definitely `string`.
912
- function exec(
913
- command: string,
914
- options: {
915
- encoding: BufferEncoding;
916
- } & ExecOptions,
917
- callback?: (error: ExecException | null, stdout: string, stderr: string) => void
918
- ): ChildProcess;
919
- // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
920
- // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
921
- function exec(
922
- command: string,
923
- options: {
924
- encoding: BufferEncoding;
925
- } & ExecOptions,
926
- callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void
927
- ): ChildProcess;
928
- // `options` without an `encoding` means stdout/stderr are definitely `string`.
929
- function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
930
- // fallback if nothing else matches. Worst case is always `string | Buffer`.
931
- function exec(
932
- command: string,
933
- options: (ObjectEncodingOptions & ExecOptions) | undefined | null,
934
- callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void
935
- ): ChildProcess;
936
- interface PromiseWithChild<T> extends Promise<T> {
937
- child: ChildProcess;
938
- }
939
- namespace exec {
940
- function __promisify__(command: string): PromiseWithChild<{
941
- stdout: string;
942
- stderr: string;
943
- }>;
944
- function __promisify__(
945
- command: string,
946
- options: {
947
- encoding: 'buffer' | null;
948
- } & ExecOptions
949
- ): PromiseWithChild<{
950
- stdout: Buffer;
951
- stderr: Buffer;
952
- }>;
953
- function __promisify__(
954
- command: string,
955
- options: {
956
- encoding: BufferEncoding;
957
- } & ExecOptions
958
- ): PromiseWithChild<{
959
- stdout: string;
960
- stderr: string;
961
- }>;
962
- function __promisify__(
963
- command: string,
964
- options: ExecOptions
965
- ): PromiseWithChild<{
966
- stdout: string;
967
- stderr: string;
968
- }>;
969
- function __promisify__(
970
- command: string,
971
- options?: (ObjectEncodingOptions & ExecOptions) | null
972
- ): PromiseWithChild<{
973
- stdout: string | Buffer;
974
- stderr: string | Buffer;
975
- }>;
976
- }
977
- interface ExecFileOptions extends CommonOptions, Abortable {
978
- maxBuffer?: number | undefined;
979
- killSignal?: NodeJS.Signals | number | undefined;
980
- windowsVerbatimArguments?: boolean | undefined;
981
- shell?: boolean | string | undefined;
982
- signal?: AbortSignal | undefined;
983
- }
984
- interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
985
- encoding: BufferEncoding;
986
- }
987
- interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
988
- encoding: 'buffer' | null;
989
- }
990
- interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
991
- encoding: BufferEncoding;
992
- }
993
- type ExecFileException =
994
- & Omit<ExecException, 'code'>
995
- & Omit<NodeJS.ErrnoException, 'code'>
996
- & { code?: string | number | undefined | null };
997
- /**
998
- * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
999
- * executable `file` is spawned directly as a new process making it slightly more
1000
- * efficient than {@link exec}.
1001
- *
1002
- * The same options as {@link exec} are supported. Since a shell is
1003
- * not spawned, behaviors such as I/O redirection and file globbing are not
1004
- * supported.
1005
- *
1006
- * ```js
1007
- * const { execFile } = require('child_process');
1008
- * const child = execFile('node', ['--version'], (error, stdout, stderr) => {
1009
- * if (error) {
1010
- * throw error;
1011
- * }
1012
- * console.log(stdout);
1013
- * });
1014
- * ```
1015
- *
1016
- * The `stdout` and `stderr` arguments passed to the callback will contain the
1017
- * stdout and stderr output of the child process. By default, Node.js will decode
1018
- * the output as UTF-8 and pass strings to the callback. The `encoding` option
1019
- * can be used to specify the character encoding used to decode the stdout and
1020
- * stderr output. If `encoding` is `'buffer'`, or an unrecognized character
1021
- * encoding, `Buffer` objects will be passed to the callback instead.
1022
- *
1023
- * If this method is invoked as its `util.promisify()` ed version, it returns
1024
- * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In
1025
- * case of an error (including any error resulting in an exit code other than 0), a
1026
- * rejected promise is returned, with the same `error` object given in the
1027
- * callback, but with two additional properties `stdout` and `stderr`.
1028
- *
1029
- * ```js
1030
- * const util = require('util');
1031
- * const execFile = util.promisify(require('child_process').execFile);
1032
- * async function getVersion() {
1033
- * const { stdout } = await execFile('node', ['--version']);
1034
- * console.log(stdout);
1035
- * }
1036
- * getVersion();
1037
- * ```
1038
- *
1039
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1040
- * **function. Any input containing shell metacharacters may be used to trigger**
1041
- * **arbitrary command execution.**
1042
- *
1043
- * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
1044
- * the error passed to the callback will be an `AbortError`:
1045
- *
1046
- * ```js
1047
- * const { execFile } = require('child_process');
1048
- * const controller = new AbortController();
1049
- * const { signal } = controller;
1050
- * const child = execFile('node', ['--version'], { signal }, (error) => {
1051
- * console.log(error); // an AbortError
1052
- * });
1053
- * controller.abort();
1054
- * ```
1055
- * @since v0.1.91
1056
- * @param file The name or path of the executable file to run.
1057
- * @param args List of string arguments.
1058
- * @param callback Called with the output when process terminates.
1059
- */
1060
- function execFile(file: string): ChildProcess;
1061
- function execFile(file: string, options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
1062
- function execFile(file: string, args?: ReadonlyArray<string> | null): ChildProcess;
1063
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
1064
- // no `options` definitely means stdout/stderr are `string`.
1065
- function execFile(file: string, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1066
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1067
- // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
1068
- function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
1069
- function execFile(
1070
- file: string,
1071
- args: ReadonlyArray<string> | undefined | null,
1072
- options: ExecFileOptionsWithBufferEncoding,
1073
- callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void
1074
- ): ChildProcess;
1075
- // `options` with well known `encoding` means stdout/stderr are definitely `string`.
1076
- function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1077
- function execFile(
1078
- file: string,
1079
- args: ReadonlyArray<string> | undefined | null,
1080
- options: ExecFileOptionsWithStringEncoding,
1081
- callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
1082
- ): ChildProcess;
1083
- // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
1084
- // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
1085
- function execFile(file: string, options: ExecFileOptionsWithOtherEncoding, callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void): ChildProcess;
1086
- function execFile(
1087
- file: string,
1088
- args: ReadonlyArray<string> | undefined | null,
1089
- options: ExecFileOptionsWithOtherEncoding,
1090
- callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void
1091
- ): ChildProcess;
1092
- // `options` without an `encoding` means stdout/stderr are definitely `string`.
1093
- function execFile(file: string, options: ExecFileOptions, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1094
- function execFile(
1095
- file: string,
1096
- args: ReadonlyArray<string> | undefined | null,
1097
- options: ExecFileOptions,
1098
- callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
1099
- ): ChildProcess;
1100
- // fallback if nothing else matches. Worst case is always `string | Buffer`.
1101
- function execFile(
1102
- file: string,
1103
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1104
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null
1105
- ): ChildProcess;
1106
- function execFile(
1107
- file: string,
1108
- args: ReadonlyArray<string> | undefined | null,
1109
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1110
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null
1111
- ): ChildProcess;
1112
- namespace execFile {
1113
- function __promisify__(file: string): PromiseWithChild<{
1114
- stdout: string;
1115
- stderr: string;
1116
- }>;
1117
- function __promisify__(
1118
- file: string,
1119
- args: ReadonlyArray<string> | undefined | null
1120
- ): PromiseWithChild<{
1121
- stdout: string;
1122
- stderr: string;
1123
- }>;
1124
- function __promisify__(
1125
- file: string,
1126
- options: ExecFileOptionsWithBufferEncoding
1127
- ): PromiseWithChild<{
1128
- stdout: Buffer;
1129
- stderr: Buffer;
1130
- }>;
1131
- function __promisify__(
1132
- file: string,
1133
- args: ReadonlyArray<string> | undefined | null,
1134
- options: ExecFileOptionsWithBufferEncoding
1135
- ): PromiseWithChild<{
1136
- stdout: Buffer;
1137
- stderr: Buffer;
1138
- }>;
1139
- function __promisify__(
1140
- file: string,
1141
- options: ExecFileOptionsWithStringEncoding
1142
- ): PromiseWithChild<{
1143
- stdout: string;
1144
- stderr: string;
1145
- }>;
1146
- function __promisify__(
1147
- file: string,
1148
- args: ReadonlyArray<string> | undefined | null,
1149
- options: ExecFileOptionsWithStringEncoding
1150
- ): PromiseWithChild<{
1151
- stdout: string;
1152
- stderr: string;
1153
- }>;
1154
- function __promisify__(
1155
- file: string,
1156
- options: ExecFileOptionsWithOtherEncoding
1157
- ): PromiseWithChild<{
1158
- stdout: string | Buffer;
1159
- stderr: string | Buffer;
1160
- }>;
1161
- function __promisify__(
1162
- file: string,
1163
- args: ReadonlyArray<string> | undefined | null,
1164
- options: ExecFileOptionsWithOtherEncoding
1165
- ): PromiseWithChild<{
1166
- stdout: string | Buffer;
1167
- stderr: string | Buffer;
1168
- }>;
1169
- function __promisify__(
1170
- file: string,
1171
- options: ExecFileOptions
1172
- ): PromiseWithChild<{
1173
- stdout: string;
1174
- stderr: string;
1175
- }>;
1176
- function __promisify__(
1177
- file: string,
1178
- args: ReadonlyArray<string> | undefined | null,
1179
- options: ExecFileOptions
1180
- ): PromiseWithChild<{
1181
- stdout: string;
1182
- stderr: string;
1183
- }>;
1184
- function __promisify__(
1185
- file: string,
1186
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null
1187
- ): PromiseWithChild<{
1188
- stdout: string | Buffer;
1189
- stderr: string | Buffer;
1190
- }>;
1191
- function __promisify__(
1192
- file: string,
1193
- args: ReadonlyArray<string> | undefined | null,
1194
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null
1195
- ): PromiseWithChild<{
1196
- stdout: string | Buffer;
1197
- stderr: string | Buffer;
1198
- }>;
1199
- }
1200
- interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable {
1201
- execPath?: string | undefined;
1202
- execArgv?: string[] | undefined;
1203
- silent?: boolean | undefined;
1204
- /**
1205
- * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
1206
- * If passed as an array, the first element is used for `stdin`, the second for
1207
- * `stdout`, and the third for `stderr`. A fourth element can be used to
1208
- * specify the `stdio` behavior beyond the standard streams. See
1209
- * {@link ChildProcess.stdio} for more information.
1210
- *
1211
- * @default 'pipe'
1212
- */
1213
- stdio?: StdioOptions | undefined;
1214
- detached?: boolean | undefined;
1215
- windowsVerbatimArguments?: boolean | undefined;
1216
- }
1217
- /**
1218
- * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes.
1219
- * Like {@link spawn}, a `ChildProcess` object is returned. The
1220
- * returned `ChildProcess` will have an additional communication channel
1221
- * built-in that allows messages to be passed back and forth between the parent and
1222
- * child. See `subprocess.send()` for details.
1223
- *
1224
- * Keep in mind that spawned Node.js child processes are
1225
- * independent of the parent with exception of the IPC communication channel
1226
- * that is established between the two. Each process has its own memory, with
1227
- * their own V8 instances. Because of the additional resource allocations
1228
- * required, spawning a large number of child Node.js processes is not
1229
- * recommended.
1230
- *
1231
- * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative
1232
- * execution path to be used.
1233
- *
1234
- * Node.js processes launched with a custom `execPath` will communicate with the
1235
- * parent process using the file descriptor (fd) identified using the
1236
- * environment variable `NODE_CHANNEL_FD` on the child process.
1237
- *
1238
- * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the
1239
- * current process.
1240
- *
1241
- * The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set.
1242
- *
1243
- * If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
1244
- * the error passed to the callback will be an `AbortError`:
1245
- *
1246
- * ```js
1247
- * if (process.argv[2] === 'child') {
1248
- * setTimeout(() => {
1249
- * console.log(`Hello from ${process.argv[2]}!`);
1250
- * }, 1_000);
1251
- * } else {
1252
- * const { fork } = require('child_process');
1253
- * const controller = new AbortController();
1254
- * const { signal } = controller;
1255
- * const child = fork(__filename, ['child'], { signal });
1256
- * child.on('error', (err) => {
1257
- * // This will be called with err being an AbortError if the controller aborts
1258
- * });
1259
- * controller.abort(); // Stops the child process
1260
- * }
1261
- * ```
1262
- * @since v0.5.0
1263
- * @param modulePath The module to run in the child.
1264
- * @param args List of string arguments.
1265
- */
1266
- function fork(modulePath: string, options?: ForkOptions): ChildProcess;
1267
- function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess;
1268
- interface SpawnSyncOptions extends CommonSpawnOptions {
1269
- input?: string | NodeJS.ArrayBufferView | undefined;
1270
- maxBuffer?: number | undefined;
1271
- encoding?: BufferEncoding | 'buffer' | null | undefined;
1272
- }
1273
- interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
1274
- encoding: BufferEncoding;
1275
- }
1276
- interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
1277
- encoding?: 'buffer' | null | undefined;
1278
- }
1279
- interface SpawnSyncReturns<T> {
1280
- pid: number;
1281
- output: Array<T | null>;
1282
- stdout: T;
1283
- stderr: T;
1284
- status: number | null;
1285
- signal: NodeJS.Signals | null;
1286
- error?: Error | undefined;
1287
- }
1288
- /**
1289
- * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return
1290
- * until the child process has fully closed. When a timeout has been encountered
1291
- * and `killSignal` is sent, the method won't return until the process has
1292
- * completely exited. If the process intercepts and handles the `SIGTERM` signal
1293
- * and doesn't exit, the parent process will wait until the child process has
1294
- * exited.
1295
- *
1296
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1297
- * **function. Any input containing shell metacharacters may be used to trigger**
1298
- * **arbitrary command execution.**
1299
- * @since v0.11.12
1300
- * @param command The command to run.
1301
- * @param args List of string arguments.
1302
- */
1303
- function spawnSync(command: string): SpawnSyncReturns<Buffer>;
1304
- function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
1305
- function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
1306
- function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
1307
- function spawnSync(command: string, args: ReadonlyArray<string>): SpawnSyncReturns<Buffer>;
1308
- function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
1309
- function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
1310
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
1311
- interface CommonExecOptions extends CommonOptions {
1312
- input?: string | NodeJS.ArrayBufferView | undefined;
1313
- /**
1314
- * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
1315
- * If passed as an array, the first element is used for `stdin`, the second for
1316
- * `stdout`, and the third for `stderr`. A fourth element can be used to
1317
- * specify the `stdio` behavior beyond the standard streams. See
1318
- * {@link ChildProcess.stdio} for more information.
1319
- *
1320
- * @default 'pipe'
1321
- */
1322
- stdio?: StdioOptions | undefined;
1323
- killSignal?: NodeJS.Signals | number | undefined;
1324
- maxBuffer?: number | undefined;
1325
- encoding?: BufferEncoding | 'buffer' | null | undefined;
1326
- }
1327
- interface ExecSyncOptions extends CommonExecOptions {
1328
- shell?: string | undefined;
1329
- }
1330
- interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
1331
- encoding: BufferEncoding;
1332
- }
1333
- interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
1334
- encoding?: 'buffer' | null | undefined;
1335
- }
1336
- /**
1337
- * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
1338
- * until the child process has fully closed. When a timeout has been encountered
1339
- * and `killSignal` is sent, the method won't return until the process has
1340
- * completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process
1341
- * has exited.
1342
- *
1343
- * If the process times out or has a non-zero exit code, this method will throw.
1344
- * The `Error` object will contain the entire result from {@link spawnSync}.
1345
- *
1346
- * **Never pass unsanitized user input to this function. Any input containing shell**
1347
- * **metacharacters may be used to trigger arbitrary command execution.**
1348
- * @since v0.11.12
1349
- * @param command The command to run.
1350
- * @return The stdout from the command.
1351
- */
1352
- function execSync(command: string): Buffer;
1353
- function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
1354
- function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer;
1355
- function execSync(command: string, options?: ExecSyncOptions): string | Buffer;
1356
- interface ExecFileSyncOptions extends CommonExecOptions {
1357
- shell?: boolean | string | undefined;
1358
- }
1359
- interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
1360
- encoding: BufferEncoding;
1361
- }
1362
- interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
1363
- encoding?: 'buffer' | null; // specify `null`.
1364
- }
1365
- /**
1366
- * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not
1367
- * return until the child process has fully closed. When a timeout has been
1368
- * encountered and `killSignal` is sent, the method won't return until the process
1369
- * has completely exited.
1370
- *
1371
- * If the child process intercepts and handles the `SIGTERM` signal and
1372
- * does not exit, the parent process will still wait until the child process has
1373
- * exited.
1374
- *
1375
- * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}.
1376
- *
1377
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1378
- * **function. Any input containing shell metacharacters may be used to trigger**
1379
- * **arbitrary command execution.**
1380
- * @since v0.11.12
1381
- * @param file The name or path of the executable file to run.
1382
- * @param args List of string arguments.
1383
- * @return The stdout from the command.
1384
- */
1385
- function execFileSync(file: string): Buffer;
1386
- function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
1387
- function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
1388
- function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer;
1389
- function execFileSync(file: string, args: ReadonlyArray<string>): Buffer;
1390
- function execFileSync(file: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
1391
- function execFileSync(file: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
1392
- function execFileSync(file: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
1393
- }
1394
- declare module 'node:child_process' {
1395
- export * from 'child_process';
1396
- }