@builder.io/sdk-vue 0.13.1 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/lib/browser/block-styles-5NGYAhBS.cjs +1 -0
  2. package/lib/browser/{block-styles.f235a6b3.js → block-styles-jDSz7IPu.js} +15 -15
  3. package/lib/browser/{block-wrapper.5c142781.cjs → block-wrapper-aYMueUMD.cjs} +1 -1
  4. package/lib/browser/{block-wrapper.0326cf92.js → block-wrapper-i3S3k3_c.js} +10 -10
  5. package/lib/browser/blocks/button/button.vue.d.ts +1 -1
  6. package/lib/browser/blocks/columns/columns.types.d.ts +2 -2
  7. package/lib/browser/blocks/columns/columns.vue.d.ts +1 -4
  8. package/lib/browser/blocks/custom-code/custom-code.vue.d.ts +1 -1
  9. package/lib/browser/blocks/embed/embed.vue.d.ts +1 -1
  10. package/lib/browser/blocks/form/form/component-info.d.ts +2 -0
  11. package/lib/browser/blocks/form/form/form.vue.d.ts +112 -0
  12. package/lib/browser/blocks/form/input/component-info.d.ts +2 -0
  13. package/lib/browser/blocks/form/input/input.vue.d.ts +43 -0
  14. package/lib/browser/blocks/form/select/component-info.d.ts +2 -0
  15. package/lib/browser/blocks/form/select/select.vue.d.ts +38 -0
  16. package/lib/browser/blocks/form/submit-button/component-info.d.ts +2 -0
  17. package/lib/browser/blocks/form/submit-button/submit-button.vue.d.ts +21 -0
  18. package/lib/browser/blocks/fragment/fragment.vue.d.ts +1 -1
  19. package/lib/browser/blocks/image/image.vue.d.ts +1 -1
  20. package/lib/browser/blocks/img/img.vue.d.ts +1 -1
  21. package/lib/browser/blocks/section/section.vue.d.ts +1 -1
  22. package/lib/browser/blocks/slot/slot.vue.d.ts +7 -7
  23. package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -2
  24. package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -4
  25. package/lib/browser/blocks/text/text.vue.d.ts +1 -1
  26. package/lib/browser/blocks/video/video.vue.d.ts +1 -1
  27. package/lib/browser/{component-ref.1182befe.cjs → component-ref-23FBngqj.cjs} +1 -1
  28. package/lib/browser/{component-ref.4425a615.js → component-ref-YzJX0Oul.js} +21 -17
  29. package/lib/browser/components/block/block.vue.d.ts +1 -1
  30. package/lib/browser/components/block/components/block-styles.vue.d.ts +1 -1
  31. package/lib/browser/components/block/components/block-wrapper.vue.d.ts +1 -1
  32. package/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  33. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -1
  34. package/lib/browser/components/block/components/interactive-element.vue.d.ts +2 -1
  35. package/lib/browser/components/block/components/repeated-block.vue.d.ts +1 -1
  36. package/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +2 -1
  37. package/lib/browser/components/blocks/blocks.vue.d.ts +1 -1
  38. package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -1
  39. package/lib/browser/components/content/components/styles.vue.d.ts +1 -1
  40. package/lib/browser/components/content/content.types.d.ts +1 -8
  41. package/lib/browser/components/content/content.vue.d.ts +1 -1
  42. package/lib/browser/components/content/contentProps.types.d.ts +7 -0
  43. package/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -1
  44. package/lib/browser/components/dynamic-renderer/dynamic-renderer.vue.d.ts +7 -1
  45. package/lib/browser/components/inlined-script.vue.d.ts +1 -1
  46. package/lib/browser/components/inlined-styles.vue.d.ts +1 -1
  47. package/lib/browser/constants/extra-components.d.ts +7 -0
  48. package/lib/browser/constants/sdk-version.d.ts +1 -1
  49. package/lib/browser/functions/get-env.d.ts +2 -0
  50. package/lib/browser/functions/get.d.ts +1 -0
  51. package/lib/browser/get-block-properties-KacPzO_o.cjs +1 -0
  52. package/lib/browser/{get-block-properties.73425f09.js → get-block-properties-ZirT3ZGB.js} +19 -20
  53. package/lib/browser/{index.5f9ed15d.js → index-6a_qPbnw.js} +1710 -1055
  54. package/lib/browser/index-7Z8XjtKs.cjs +166 -0
  55. package/lib/browser/index-helpers/blocks-exports.d.ts +2 -2
  56. package/lib/browser/index.cjs +1 -1
  57. package/lib/browser/index.js +26 -27
  58. package/lib/browser/{repeated-block.4b8c3ea0.cjs → repeated-block-70kCyQ_l.cjs} +1 -1
  59. package/lib/browser/repeated-block-hRYVKXrX.js +35 -0
  60. package/lib/browser/style.css +1 -1
  61. package/lib/browser/types/builder-props.d.ts +1 -1
  62. package/lib/browser/types/enforced-partials.d.ts +1 -26
  63. package/lib/browser/types/input.d.ts +1 -0
  64. package/lib/browser/types/typescript.d.ts +0 -3
  65. package/lib/edge/block-styles--T_GAm5-.cjs +1 -0
  66. package/lib/edge/{block-styles.c430e392.js → block-styles-Tjp0oeui.js} +18 -18
  67. package/lib/edge/{block-wrapper.53b24038.cjs → block-wrapper-K-I0ddom.cjs} +1 -1
  68. package/lib/{node/block-wrapper.779562b4.js → edge/block-wrapper-MgeL6r_A.js} +9 -10
  69. package/lib/edge/blocks/button/button.vue.d.ts +1 -1
  70. package/lib/edge/blocks/columns/columns.types.d.ts +2 -2
  71. package/lib/edge/blocks/columns/columns.vue.d.ts +1 -4
  72. package/lib/edge/blocks/custom-code/custom-code.vue.d.ts +1 -1
  73. package/lib/edge/blocks/embed/embed.vue.d.ts +1 -1
  74. package/lib/edge/blocks/form/form/component-info.d.ts +2 -0
  75. package/lib/edge/blocks/form/form/form.vue.d.ts +112 -0
  76. package/lib/edge/blocks/form/input/component-info.d.ts +2 -0
  77. package/lib/edge/blocks/form/input/input.vue.d.ts +43 -0
  78. package/lib/edge/blocks/form/select/component-info.d.ts +2 -0
  79. package/lib/edge/blocks/form/select/select.vue.d.ts +38 -0
  80. package/lib/edge/blocks/form/submit-button/component-info.d.ts +2 -0
  81. package/lib/edge/blocks/form/submit-button/submit-button.vue.d.ts +21 -0
  82. package/lib/edge/blocks/fragment/fragment.vue.d.ts +1 -1
  83. package/lib/edge/blocks/image/image.vue.d.ts +1 -1
  84. package/lib/edge/blocks/img/img.vue.d.ts +1 -1
  85. package/lib/edge/blocks/section/section.vue.d.ts +1 -1
  86. package/lib/edge/blocks/slot/slot.vue.d.ts +7 -7
  87. package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -2
  88. package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -4
  89. package/lib/edge/blocks/text/text.vue.d.ts +1 -1
  90. package/lib/edge/blocks/video/video.vue.d.ts +1 -1
  91. package/lib/edge/{component-ref.ebab0bd9.js → component-ref-Oo-dR5xV.js} +21 -17
  92. package/lib/edge/{component-ref.62a7f1bd.cjs → component-ref-iibFypv7.cjs} +1 -1
  93. package/lib/edge/components/block/block.vue.d.ts +1 -1
  94. package/lib/edge/components/block/components/block-styles.vue.d.ts +1 -1
  95. package/lib/edge/components/block/components/block-wrapper.vue.d.ts +1 -1
  96. package/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  97. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -1
  98. package/lib/edge/components/block/components/interactive-element.vue.d.ts +2 -1
  99. package/lib/edge/components/block/components/repeated-block.vue.d.ts +1 -1
  100. package/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +2 -1
  101. package/lib/edge/components/blocks/blocks.vue.d.ts +1 -1
  102. package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -1
  103. package/lib/edge/components/content/components/styles.vue.d.ts +1 -1
  104. package/lib/edge/components/content/content.types.d.ts +1 -8
  105. package/lib/edge/components/content/content.vue.d.ts +1 -1
  106. package/lib/edge/components/content/contentProps.types.d.ts +7 -0
  107. package/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -1
  108. package/lib/edge/components/dynamic-renderer/dynamic-renderer.vue.d.ts +7 -1
  109. package/lib/edge/components/inlined-script.vue.d.ts +1 -1
  110. package/lib/edge/components/inlined-styles.vue.d.ts +1 -1
  111. package/lib/edge/constants/extra-components.d.ts +7 -0
  112. package/lib/edge/constants/sdk-version.d.ts +1 -1
  113. package/lib/edge/functions/get-env.d.ts +2 -0
  114. package/lib/edge/functions/get.d.ts +1 -0
  115. package/lib/{node/get-block-properties.5a8121c0.js → edge/get-block-properties-BKnsvu-2.js} +19 -20
  116. package/lib/edge/get-block-properties-q52zAZuL.cjs +1 -0
  117. package/lib/edge/{index.ae2d13a8.js → index-FjGYEtq6.js} +2574 -1919
  118. package/lib/edge/index-helpers/blocks-exports.d.ts +2 -2
  119. package/lib/edge/index-oq0qBISZ.cjs +186 -0
  120. package/lib/edge/index.cjs +1 -1
  121. package/lib/edge/index.js +25 -26
  122. package/lib/{browser/repeated-block.ea7178d4.js → edge/repeated-block-IVuHJhMQ.js} +4 -5
  123. package/lib/edge/repeated-block-IrS130V6.cjs +1 -0
  124. package/lib/edge/style.css +1 -1
  125. package/lib/edge/types/builder-props.d.ts +1 -1
  126. package/lib/edge/types/enforced-partials.d.ts +1 -26
  127. package/lib/edge/types/input.d.ts +1 -0
  128. package/lib/edge/types/typescript.d.ts +0 -3
  129. package/lib/node/block-styles-1bGjM-mF.cjs +1 -0
  130. package/lib/node/{block-styles.5c506171.js → block-styles-WHZ3oh47.js} +18 -19
  131. package/lib/node/block-wrapper-7G595XQl.cjs +1 -0
  132. package/lib/{edge/block-wrapper.f04e7d06.js → node/block-wrapper-Oi21HLL-.js} +10 -10
  133. package/lib/node/blocks/button/button.vue.d.ts +1 -1
  134. package/lib/node/blocks/columns/columns.types.d.ts +2 -2
  135. package/lib/node/blocks/columns/columns.vue.d.ts +1 -4
  136. package/lib/node/blocks/custom-code/custom-code.vue.d.ts +1 -1
  137. package/lib/node/blocks/embed/embed.vue.d.ts +1 -1
  138. package/lib/node/blocks/form/form/component-info.d.ts +2 -0
  139. package/lib/node/blocks/form/form/form.vue.d.ts +112 -0
  140. package/lib/node/blocks/form/input/component-info.d.ts +2 -0
  141. package/lib/node/blocks/form/input/input.vue.d.ts +43 -0
  142. package/lib/node/blocks/form/select/component-info.d.ts +2 -0
  143. package/lib/node/blocks/form/select/select.vue.d.ts +38 -0
  144. package/lib/node/blocks/form/submit-button/component-info.d.ts +2 -0
  145. package/lib/node/blocks/form/submit-button/submit-button.vue.d.ts +21 -0
  146. package/lib/node/blocks/fragment/fragment.vue.d.ts +1 -1
  147. package/lib/node/blocks/image/image.vue.d.ts +1 -1
  148. package/lib/node/blocks/img/img.vue.d.ts +1 -1
  149. package/lib/node/blocks/section/section.vue.d.ts +1 -1
  150. package/lib/node/blocks/slot/slot.vue.d.ts +7 -7
  151. package/lib/node/blocks/symbol/symbol.types.d.ts +2 -2
  152. package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -4
  153. package/lib/node/blocks/text/text.vue.d.ts +1 -1
  154. package/lib/node/blocks/video/video.vue.d.ts +1 -1
  155. package/lib/node/{component-ref.616a1d7e.js → component-ref-6gNNgUIq.js} +22 -19
  156. package/lib/node/component-ref-bBOIZLBr.cjs +1 -0
  157. package/lib/node/components/block/block.vue.d.ts +1 -1
  158. package/lib/node/components/block/components/block-styles.vue.d.ts +1 -1
  159. package/lib/node/components/block/components/block-wrapper.vue.d.ts +1 -1
  160. package/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  161. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -1
  162. package/lib/node/components/block/components/interactive-element.vue.d.ts +2 -1
  163. package/lib/node/components/block/components/repeated-block.vue.d.ts +1 -1
  164. package/lib/node/components/blocks/blocks-wrapper.vue.d.ts +2 -1
  165. package/lib/node/components/blocks/blocks.vue.d.ts +1 -1
  166. package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -1
  167. package/lib/node/components/content/components/styles.vue.d.ts +1 -1
  168. package/lib/node/components/content/content.types.d.ts +1 -8
  169. package/lib/node/components/content/content.vue.d.ts +1 -1
  170. package/lib/node/components/content/contentProps.types.d.ts +7 -0
  171. package/lib/node/components/content-variants/content-variants.vue.d.ts +1 -1
  172. package/lib/node/components/dynamic-renderer/dynamic-renderer.vue.d.ts +7 -1
  173. package/lib/node/components/inlined-script.vue.d.ts +1 -1
  174. package/lib/node/components/inlined-styles.vue.d.ts +1 -1
  175. package/lib/node/constants/extra-components.d.ts +7 -0
  176. package/lib/node/constants/sdk-version.d.ts +1 -1
  177. package/lib/node/functions/get-env.d.ts +2 -0
  178. package/lib/node/functions/get.d.ts +1 -0
  179. package/lib/{edge/get-block-properties.3eea9a11.js → node/get-block-properties-LsQPb5mK.js} +19 -20
  180. package/lib/node/get-block-properties-saGQjgeQ.cjs +1 -0
  181. package/lib/node/{index.f804c64d.js → index-TgZujUqz.js} +1131 -474
  182. package/lib/node/index-helpers/blocks-exports.d.ts +2 -2
  183. package/lib/node/index-mB-x2rNA.cjs +206 -0
  184. package/lib/node/index.cjs +1 -1
  185. package/lib/node/index.js +27 -29
  186. package/lib/node/{repeated-block.4fe417ba.js → repeated-block-4ZvFRl8H.js} +4 -5
  187. package/lib/node/repeated-block-ghBGljjL.cjs +1 -0
  188. package/lib/node/style.css +1 -1
  189. package/lib/node/types/builder-props.d.ts +1 -1
  190. package/lib/node/types/enforced-partials.d.ts +1 -26
  191. package/lib/node/types/input.d.ts +1 -0
  192. package/lib/node/types/typescript.d.ts +0 -3
  193. package/package.json +5 -5
  194. package/lib/browser/block-styles.443192e0.cjs +0 -1
  195. package/lib/browser/blocks/form/component-info.d.ts +0 -2
  196. package/lib/browser/blocks/input/component-info.d.ts +0 -2
  197. package/lib/browser/blocks/select/component-info.d.ts +0 -2
  198. package/lib/browser/blocks/submit-button/component-info.d.ts +0 -2
  199. package/lib/browser/get-block-properties.75a4033c.cjs +0 -1
  200. package/lib/browser/index.ea2f8191.cjs +0 -165
  201. package/lib/edge/block-styles.ae042612.cjs +0 -1
  202. package/lib/edge/blocks/form/component-info.d.ts +0 -2
  203. package/lib/edge/blocks/input/component-info.d.ts +0 -2
  204. package/lib/edge/blocks/select/component-info.d.ts +0 -2
  205. package/lib/edge/blocks/submit-button/component-info.d.ts +0 -2
  206. package/lib/edge/get-block-properties.ef38da5e.cjs +0 -1
  207. package/lib/edge/index.6a49244b.cjs +0 -185
  208. package/lib/edge/repeated-block.391f9aec.cjs +0 -1
  209. package/lib/edge/repeated-block.8c46a7c6.js +0 -34
  210. package/lib/node/block-styles.b0758e84.cjs +0 -1
  211. package/lib/node/block-wrapper.4b4b32dd.cjs +0 -1
  212. package/lib/node/blocks/form/component-info.d.ts +0 -2
  213. package/lib/node/blocks/input/component-info.d.ts +0 -2
  214. package/lib/node/blocks/select/component-info.d.ts +0 -2
  215. package/lib/node/blocks/submit-button/component-info.d.ts +0 -2
  216. package/lib/node/component-ref.471ae470.cjs +0 -1
  217. package/lib/node/get-block-properties.310a39f2.cjs +0 -1
  218. package/lib/node/index.9cc8fd23.cjs +0 -205
  219. package/lib/node/repeated-block.fc61b1ce.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.6a49244b.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-oq0qBISZ.cjs");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
package/lib/edge/index.js CHANGED
@@ -1,30 +1,29 @@
1
- import { j as a, l as n, m as r, C as o, F as i, n as c, R as g, k as l, S as m, o as d, p as C, V as u, A as p, s as E, z as B, D as R, E as S, G as f, v as h, H as k, q as b, r as x, t as y, u as P, y as v, x as A } from "./index.ae2d13a8.js";
2
- import "vue";
1
+ import { k as t, m as a, n, C as r, F as o, I as i, R as c, l as g, S as l, o as d, p as m, V as C, A as u, s as E, z as p, D as B, E as R, G as S, v as f, H as h, q as k, r as b, t as x, u as y, y as P, x as v } from "./index-FjGYEtq6.js";
3
2
  export {
4
- a as Blocks,
5
- n as Button,
6
- r as Columns,
7
- o as Content,
8
- i as Fragment,
9
- c as Image,
10
- g as RenderBlocks,
11
- l as RenderContent,
12
- m as Section,
3
+ t as Blocks,
4
+ a as Button,
5
+ n as Columns,
6
+ r as Content,
7
+ o as Fragment,
8
+ i as Image,
9
+ c as RenderBlocks,
10
+ g as RenderContent,
11
+ l as Section,
13
12
  d as Symbol,
14
- C as Text,
15
- u as Video,
16
- p as _processContentResult,
13
+ m as Text,
14
+ C as Video,
15
+ u as _processContentResult,
17
16
  E as createRegisterComponentMessage,
18
- B as fetchBuilderProps,
19
- R as fetchEntries,
20
- S as fetchOneEntry,
21
- f as getAllContent,
22
- h as getBuilderSearchParams,
23
- k as getContent,
24
- b as isEditing,
25
- x as isPreviewing,
26
- y as register,
27
- P as setEditorSettings,
28
- v as subscribeToEditor,
29
- A as track
17
+ p as fetchBuilderProps,
18
+ B as fetchEntries,
19
+ R as fetchOneEntry,
20
+ S as getAllContent,
21
+ f as getBuilderSearchParams,
22
+ h as getContent,
23
+ k as isEditing,
24
+ b as isPreviewing,
25
+ x as register,
26
+ y as setEditorSettings,
27
+ P as subscribeToEditor,
28
+ v as track
30
29
  };
@@ -1,7 +1,6 @@
1
- import "./style.css";
2
1
  import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as p } from "vue";
3
- import { i as s, _ as l } from "./index.5f9ed15d.js";
4
- const i = () => import("./index.5f9ed15d.js").then((e) => e.K).then((e) => e.default).catch((e) => {
2
+ import { j as s, e as l } from "./index-FjGYEtq6.js";
3
+ const i = () => import("./index-FjGYEtq6.js").then((e) => e.K).then((e) => e.default).catch((e) => {
5
4
  throw console.error(
6
5
  "Error while attempting to dynamically import component Block at ../block.vue",
7
6
  e
@@ -20,7 +19,7 @@ const i = () => import("./index.5f9ed15d.js").then((e) => e.K).then((e) => e.def
20
19
  };
21
20
  }
22
21
  });
23
- function a(e, k, d, u, C, b) {
22
+ function a(e, k, d, C, f, u) {
24
23
  const o = r("block");
25
24
  return c(), p(o, {
26
25
  block: e.block,
@@ -29,7 +28,7 @@ function a(e, k, d, u, C, b) {
29
28
  linkComponent: e.linkComponent
30
29
  }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]);
31
30
  }
32
- const B = /* @__PURE__ */ l(m, [["render", a], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);
31
+ const B = /* @__PURE__ */ l(m, [["render", a]]);
33
32
  export {
34
33
  B as default
35
34
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-oq0qBISZ.cjs"),r=()=>Promise.resolve().then(()=>require("./index-oq0qBISZ.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents","linkComponent"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,a,m,d){const n=o.resolveComponent("block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"])}const l=t._export_sfc(c,[["render",s]]);exports.default=l;
@@ -1 +1 @@
1
- .component-1k2igrjdg3x[data-v-1f8aab9f]{display:flex;flex-direction:column;align-items:stretch}.div-16nol0lwi20[data-v-7be099dc]{display:flex;line-height:normal}.img-1be3j8m9ewb[data-v-58ca75d1]{opacity:1;transition:opacity .2s ease-in-out}.div-1be3j8m9ewb[data-v-58ca75d1]{width:100%;pointer-events:none;font-size:0}.div-1be3j8m9ewb-2[data-v-58ca75d1]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}
1
+ .component-b1turyjjkok[data-v-3403e3cb]{display:flex;flex-direction:column;align-items:stretch}.div-16nol0lwi20[data-v-3a12caec]{display:flex;line-height:normal}.img-4wbls88y960[data-v-4ab1cc9f]{opacity:1;transition:opacity .2s ease-in-out}.div-4wbls88y960[data-v-4ab1cc9f]{width:100%;pointer-events:none;font-size:0}.div-4wbls88y960-2[data-v-4ab1cc9f]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}.pre-tqyw9m0iue[data-v-e7803f50]{padding:10px;color:red;text-align:center}
@@ -1,6 +1,6 @@
1
1
  import type { BuilderContextInterface, RegisteredComponents } from '../context/types.js';
2
2
  import type { BuilderBlock } from './builder-block.js';
3
- export type PropsWithBuilderData<T> = T & {
3
+ export type BuilderDataProps = {
4
4
  builderBlock: BuilderBlock;
5
5
  builderContext: BuilderContextInterface;
6
6
  };
@@ -1,26 +1 @@
1
- import type { Prettify } from './typescript.js';
2
- /**
3
- * Lol Typescript
4
- * https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
5
- */
6
- type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
7
- type OptionalFieldsOnly<T> = {
8
- [K in keyof T as T[K] extends Required<T>[K] ? IfAny<T[K], K, never> : K]: T[K];
9
- };
10
- type RequiredFieldsOnly<T> = {
11
- [K in keyof T as T[K] extends Required<T>[K] ? IfAny<T[K], never, K> : never]: T[K];
12
- };
13
- type Enforced<T> = {
14
- [K in keyof T]-?: T[K];
15
- };
16
- type AndUndefined<T> = {
17
- [K in keyof T]: T[K] | undefined;
18
- };
19
- /**
20
- * Enforce that all optional fields are undefined
21
- * @example
22
- * type Foo = { a: string, b?: number }
23
- * type Bar = EnforcePartials<Foo> // { a: string, b: number | undefined }
24
- */
25
- export type EnforcePartials<From> = Prettify<AndUndefined<Enforced<OptionalFieldsOnly<From>>> & RequiredFieldsOnly<From>>;
26
- export {};
1
+ export type EnforcePartials<From> = From;
@@ -118,4 +118,5 @@ export interface Input {
118
118
  type?: string;
119
119
  };
120
120
  onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
121
+ meta?: Record<string, any>;
121
122
  }
@@ -6,6 +6,3 @@ export type Overwrite<T, U> = keyof U extends keyof T ? Pick<T, Exclude<keyof T,
6
6
  export type Prettify<T> = {
7
7
  [K in keyof T]: T[K];
8
8
  } & {};
9
- export type PropsWithChildren<P> = P & {
10
- children?: any;
11
- };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-mB-x2rNA.cjs"),h=o.defineComponent({name:"block-styles",components:{InlinedStyles:t._sfc_main},props:["block","context"],data(){return{TARGET:t.TARGET}},computed:{canShowBlock(){const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0});return t.checkIsDefined(e.hide)?!e.hide:t.checkIsDefined(e.show)?e.show:!0},css(){var d;const e=t.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0}),s=e.responsiveStyles,n=this.context.content,r=t.getSizesForBreakpoints(((d=n==null?void 0:n.meta)==null?void 0:d.breakpoints)||{}),a=s==null?void 0:s.large,i=s==null?void 0:s.medium,c=s==null?void 0:s.small,l=e.id;if(!l)return"";const u=a?t.createCssClass({className:l,styles:a}):"",S=i?t.createCssClass({className:l,styles:i,mediaQuery:t.getMaxWidthQueryForSize("medium",r)}):"",m=c?t.createCssClass({className:l,styles:c,mediaQuery:t.getMaxWidthQueryForSize("small",r)}):"";return[u,S,m].join(" ")}}});function k(e,s,n,r,a,i){const c=o.resolveComponent("inlined-styles");return e.TARGET!=="reactNative"&&e.css&&e.canShowBlock?(o.openBlock(),o.createBlock(c,{key:0,styles:e.css},null,8,["styles"])):o.createCommentVNode("",!0)}const p=t._export_sfc(h,[["render",k]]);exports.default=p;
@@ -1,12 +1,11 @@
1
- import { defineComponent as k, resolveComponent as y, openBlock as f, createBlock as x, createCommentVNode as b } from "vue";
2
- import { I as B, T as g, g as d, c as u, a as _, b as r, d as m, _ as v } from "./index.f804c64d.js";
3
- import "node:module";
4
- const C = k({
1
+ import { defineComponent as k, resolveComponent as y, openBlock as x, createBlock as f, createCommentVNode as B } from "vue";
2
+ import { _, T as b, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-TgZujUqz.js";
3
+ const v = k({
5
4
  name: "block-styles",
6
- components: { InlinedStyles: B },
5
+ components: { InlinedStyles: _ },
7
6
  props: ["block", "context"],
8
7
  data() {
9
- return { TARGET: g };
8
+ return { TARGET: b };
10
9
  },
11
10
  computed: {
12
11
  canShowBlock() {
@@ -18,7 +17,7 @@ const C = k({
18
17
  context: this.context.context,
19
18
  shouldEvaluateBindings: !0
20
19
  });
21
- return u(t.hide) ? !t.hide : u(t.show) ? t.show : !0;
20
+ return m(t.hide) ? !t.hide : m(t.show) ? t.show : !0;
22
21
  },
23
22
  css() {
24
23
  var i;
@@ -29,41 +28,41 @@ const C = k({
29
28
  rootSetState: this.context.rootSetState,
30
29
  context: this.context.context,
31
30
  shouldEvaluateBindings: !0
32
- }), e = t.responsiveStyles, o = this.context.content, c = _(
31
+ }), e = t.responsiveStyles, o = this.context.content, c = g(
33
32
  ((i = o == null ? void 0 : o.meta) == null ? void 0 : i.breakpoints) || {}
34
33
  ), a = e == null ? void 0 : e.large, l = e == null ? void 0 : e.medium, s = e == null ? void 0 : e.small, n = t.id;
35
34
  if (!n)
36
35
  return "";
37
- const S = a ? r({
36
+ const u = a ? r({
38
37
  className: n,
39
38
  styles: a
40
- }) : "", p = l ? r({
39
+ }) : "", h = l ? r({
41
40
  className: n,
42
41
  styles: l,
43
- mediaQuery: m(
42
+ mediaQuery: S(
44
43
  "medium",
45
44
  c
46
45
  )
47
- }) : "", h = s ? r({
46
+ }) : "", p = s ? r({
48
47
  className: n,
49
48
  styles: s,
50
- mediaQuery: m(
49
+ mediaQuery: S(
51
50
  "small",
52
51
  c
53
52
  )
54
53
  }) : "";
55
- return [S, p, h].join(" ");
54
+ return [u, h, p].join(" ");
56
55
  }
57
56
  }
58
57
  });
59
- function w(t, e, o, c, a, l) {
58
+ function T(t, e, o, c, a, l) {
60
59
  const s = y("inlined-styles");
61
- return t.TARGET !== "reactNative" && t.css && t.canShowBlock ? (f(), x(s, {
60
+ return t.TARGET !== "reactNative" && t.css && t.canShowBlock ? (x(), f(s, {
62
61
  key: 0,
63
62
  styles: t.css
64
- }, null, 8, ["styles"])) : b("v-if", !0);
63
+ }, null, 8, ["styles"])) : B("", !0);
65
64
  }
66
- const z = /* @__PURE__ */ v(C, [["render", w], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-styles.vue"]]);
65
+ const E = /* @__PURE__ */ C(v, [["render", T]]);
67
66
  export {
68
- z as default
67
+ E as default
69
68
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-saGQjgeQ.cjs"),n=require("./index-mB-x2rNA.cjs"),c=()=>Promise.resolve().then(()=>require("./index-mB-x2rNA.cjs")).then(e=>e.dynamicRenderer).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",e),e}),a=t.defineComponent({name:"block-wrapper",components:{DynamicRenderer:t.defineAsyncComponent(c)},props:["Wrapper","block","context"],data(){return{getBlockActions:o.getBlockActions,getBlockProperties:o.getBlockProperties}}});function i(e,l,p,d,m,u){const r=t.resolveComponent("dynamic-renderer");return t.openBlock(),t.createBlock(r,{TagName:e.Wrapper,attributes:e.getBlockProperties({block:e.block,context:e.context}),actionAttributes:e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["TagName","attributes","actionAttributes"])}const s=n._export_sfc(a,[["render",i]]);exports.default=s;
@@ -1,12 +1,12 @@
1
- import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as p, renderSlot as i } from "vue";
2
- import { g as s, a as l } from "./get-block-properties.3eea9a11.js";
3
- import { _ as m } from "./index.ae2d13a8.js";
4
- const d = () => import("./index.ae2d13a8.js").then((e) => e.J).then((e) => e.default).catch((e) => {
1
+ import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
2
+ import { g as s, a as l } from "./get-block-properties-LsQPb5mK.js";
3
+ import { e as m } from "./index-TgZujUqz.js";
4
+ const d = () => import("./index-TgZujUqz.js").then((e) => e.J).then((e) => e.default).catch((e) => {
5
5
  throw console.error(
6
6
  "Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
7
7
  e
8
8
  ), e;
9
- }), u = o({
9
+ }), f = o({
10
10
  name: "block-wrapper",
11
11
  components: { DynamicRenderer: r(d) },
12
12
  props: ["Wrapper", "block", "context"],
@@ -14,7 +14,7 @@ const d = () => import("./index.ae2d13a8.js").then((e) => e.J).then((e) => e.def
14
14
  return { getBlockActions: s, getBlockProperties: l };
15
15
  }
16
16
  });
17
- function k(e, b, f, y, g, S) {
17
+ function u(e, k, b, y, S, g) {
18
18
  const t = n("dynamic-renderer");
19
19
  return a(), c(t, {
20
20
  TagName: e.Wrapper,
@@ -31,13 +31,13 @@ function k(e, b, f, y, g, S) {
31
31
  stripPrefix: !0
32
32
  })
33
33
  }, {
34
- default: p(() => [
35
- i(e.$slots, "default")
34
+ default: i(() => [
35
+ p(e.$slots, "default")
36
36
  ]),
37
37
  _: 3
38
38
  }, 8, ["TagName", "attributes", "actionAttributes"]);
39
39
  }
40
- const A = /* @__PURE__ */ m(u, [["render", k], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/block-wrapper.vue"]]);
40
+ const $ = /* @__PURE__ */ m(f, [["render", u]]);
41
41
  export {
42
- A as default
42
+ $ as default
43
43
  };
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
8
8
  }>, unknown, {
9
9
  getClassPropName: () => "className" | "class";
10
10
  filterAttrs: typeof filterAttrs;
11
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
11
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
12
12
  text?: any;
13
13
  link?: any;
14
14
  attributes?: any;
@@ -1,12 +1,12 @@
1
1
  import type { BuilderBlock } from '../../types/builder-block.js';
2
- import type { BuilderComponentsProp, BuilderLinkComponentProp } from '../../types/builder-props.js';
2
+ import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from '../../types/builder-props.js';
3
3
  type Column = {
4
4
  blocks: BuilderBlock[];
5
5
  width?: number;
6
6
  link?: string;
7
7
  };
8
8
  type StackColumnsAt = 'tablet' | 'mobile' | 'never';
9
- export interface ColumnProps extends BuilderComponentsProp, BuilderLinkComponentProp {
9
+ export interface ColumnProps extends BuilderComponentsProp, BuilderLinkComponentProp, BuilderDataProps {
10
10
  columns?: Column[];
11
11
  space?: number;
12
12
  stackColumnsAt?: StackColumnsAt;
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
11
11
  space?: any;
12
12
  stackColumnsAt?: any;
13
13
  reverseColumnsWhenStacked?: any;
14
- js?: any;
15
14
  }>, unknown, {
16
15
  gutterSize: number;
17
16
  cols: any;
@@ -36,7 +35,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
36
35
  }): CSSVal;
37
36
  columnCssVars(index: number): Dictionary<string>;
38
37
  getWidthForBreakpointSize(size: SizeName): number;
39
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
38
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
40
39
  builderContext?: any;
41
40
  builderLinkComponent?: any;
42
41
  columns?: any;
@@ -45,7 +44,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
45
44
  space?: any;
46
45
  stackColumnsAt?: any;
47
46
  reverseColumnsWhenStacked?: any;
48
- js?: any;
49
47
  }>>>, {
50
48
  readonly builderContext?: any;
51
49
  readonly builderLinkComponent?: any;
@@ -55,6 +53,5 @@ declare const _default: import("vue").DefineComponent<Readonly<{
55
53
  readonly space?: any;
56
54
  readonly stackColumnsAt?: any;
57
55
  readonly reverseColumnsWhenStacked?: any;
58
- readonly js?: any;
59
56
  }, {}>;
60
57
  export default _default;
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
8
8
  }>, unknown, {
9
9
  scriptsInserted: never[];
10
10
  scriptsRun: never[];
11
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
11
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
12
12
  code?: any;
13
13
  replaceNodes?: any;
14
14
  }>>>, {
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
14
14
  };
15
15
  }, {
16
16
  findAndRunScripts(): void;
17
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
17
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
18
18
  content?: any;
19
19
  }>>>, {
20
20
  readonly content?: any;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../../types/components.js';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,112 @@
1
+ import type { BuilderBlock } from "../../../types/builder-block.js";
2
+ import type { BuilderComponentsProp, BuilderDataProps, BuilderLinkComponentProp } from "../../../types/builder-props.js";
3
+ import type { Dictionary } from "../../../types/typescript.js";
4
+ import { filterAttrs } from "../../helpers.js";
5
+ /**
6
+ * This import is used by the Svelte SDK. Do not remove.
7
+ */
8
+ export type FormProps = BuilderDataProps & BuilderComponentsProp & BuilderLinkComponentProp & {
9
+ attributes?: any;
10
+ name?: string;
11
+ action?: string;
12
+ validate?: boolean;
13
+ method?: string;
14
+ sendSubmissionsTo?: string;
15
+ sendSubmissionsToEmail?: string;
16
+ sendWithJs?: boolean;
17
+ contentType?: string;
18
+ customHeaders?: {
19
+ [key: string]: string;
20
+ };
21
+ successUrl?: string;
22
+ previewState?: FormState;
23
+ successMessage?: BuilderBlock[];
24
+ errorMessage?: BuilderBlock[];
25
+ sendingMessage?: BuilderBlock[];
26
+ resetFormOnSubmit?: boolean;
27
+ errorMessagePath?: string;
28
+ };
29
+ /**
30
+ * This import is used by the Svelte SDK. Do not remove.
31
+ */
32
+ export type FormState = "unsubmitted" | "sending" | "success" | "error";
33
+ declare const _default: import("vue").DefineComponent<Readonly<{
34
+ name?: any;
35
+ builderContext?: any;
36
+ attributes?: any;
37
+ builderLinkComponent?: any;
38
+ builderBlock?: any;
39
+ builderComponents?: any;
40
+ js?: any;
41
+ previewState?: any;
42
+ sendWithJs?: any;
43
+ sendSubmissionsTo?: any;
44
+ action?: any;
45
+ customHeaders?: any;
46
+ contentType?: any;
47
+ sendSubmissionsToEmail?: any;
48
+ method?: any;
49
+ errorMessagePath?: any;
50
+ resetFormOnSubmit?: any;
51
+ successUrl?: any;
52
+ validate?: any;
53
+ errorMessage?: any;
54
+ sendingMessage?: any;
55
+ successMessage?: any;
56
+ }>, unknown, {
57
+ formState: string;
58
+ responseData: null;
59
+ formErrorMessage: string;
60
+ filterAttrs: typeof filterAttrs;
61
+ }, {}, {
62
+ mergeNewRootState(newData: Dictionary<any>): void;
63
+ submissionState(): any;
64
+ onSubmit(event: any): void;
65
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
66
+ name?: any;
67
+ builderContext?: any;
68
+ attributes?: any;
69
+ builderLinkComponent?: any;
70
+ builderBlock?: any;
71
+ builderComponents?: any;
72
+ js?: any;
73
+ previewState?: any;
74
+ sendWithJs?: any;
75
+ sendSubmissionsTo?: any;
76
+ action?: any;
77
+ customHeaders?: any;
78
+ contentType?: any;
79
+ sendSubmissionsToEmail?: any;
80
+ method?: any;
81
+ errorMessagePath?: any;
82
+ resetFormOnSubmit?: any;
83
+ successUrl?: any;
84
+ validate?: any;
85
+ errorMessage?: any;
86
+ sendingMessage?: any;
87
+ successMessage?: any;
88
+ }>>>, {
89
+ readonly name?: any;
90
+ readonly builderContext?: any;
91
+ readonly attributes?: any;
92
+ readonly builderLinkComponent?: any;
93
+ readonly builderBlock?: any;
94
+ readonly builderComponents?: any;
95
+ readonly js?: any;
96
+ readonly previewState?: any;
97
+ readonly sendWithJs?: any;
98
+ readonly sendSubmissionsTo?: any;
99
+ readonly action?: any;
100
+ readonly customHeaders?: any;
101
+ readonly contentType?: any;
102
+ readonly sendSubmissionsToEmail?: any;
103
+ readonly method?: any;
104
+ readonly errorMessagePath?: any;
105
+ readonly resetFormOnSubmit?: any;
106
+ readonly successUrl?: any;
107
+ readonly validate?: any;
108
+ readonly errorMessage?: any;
109
+ readonly sendingMessage?: any;
110
+ readonly successMessage?: any;
111
+ }, {}>;
112
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../../types/components.js';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,43 @@
1
+ import { isEditing } from "../../../functions/is-editing.js";
2
+ import { filterAttrs } from "../../helpers.js";
3
+ /**
4
+ * This import is used by the Svelte SDK. Do not remove.
5
+ */
6
+ export interface FormInputProps {
7
+ type?: string;
8
+ attributes?: any;
9
+ name?: string;
10
+ value?: string;
11
+ placeholder?: string;
12
+ defaultValue?: string;
13
+ required?: boolean;
14
+ }
15
+ declare const _default: import("vue").DefineComponent<Readonly<{
16
+ name?: any;
17
+ attributes?: any;
18
+ value?: any;
19
+ defaultValue?: any;
20
+ placeholder?: any;
21
+ type?: any;
22
+ required?: any;
23
+ }>, unknown, {
24
+ isEditing: typeof isEditing;
25
+ filterAttrs: typeof filterAttrs;
26
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
27
+ name?: any;
28
+ attributes?: any;
29
+ value?: any;
30
+ defaultValue?: any;
31
+ placeholder?: any;
32
+ type?: any;
33
+ required?: any;
34
+ }>>>, {
35
+ readonly name?: any;
36
+ readonly attributes?: any;
37
+ readonly value?: any;
38
+ readonly defaultValue?: any;
39
+ readonly placeholder?: any;
40
+ readonly type?: any;
41
+ readonly required?: any;
42
+ }, {}>;
43
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../../types/components.js';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,38 @@
1
+ import { isEditing } from "../../../functions/is-editing.js";
2
+ import { filterAttrs } from "../../helpers.js";
3
+ /**
4
+ * This import is used by the Svelte SDK. Do not remove.
5
+ */
6
+ export interface FormSelectProps {
7
+ options?: {
8
+ name?: string;
9
+ value: string;
10
+ }[];
11
+ attributes?: any;
12
+ name?: string;
13
+ value?: string;
14
+ defaultValue?: string;
15
+ }
16
+ declare const _default: import("vue").DefineComponent<Readonly<{
17
+ name?: any;
18
+ attributes?: any;
19
+ value?: any;
20
+ defaultValue?: any;
21
+ options?: any;
22
+ }>, unknown, {
23
+ isEditing: typeof isEditing;
24
+ filterAttrs: typeof filterAttrs;
25
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
26
+ name?: any;
27
+ attributes?: any;
28
+ value?: any;
29
+ defaultValue?: any;
30
+ options?: any;
31
+ }>>>, {
32
+ readonly name?: any;
33
+ readonly attributes?: any;
34
+ readonly value?: any;
35
+ readonly defaultValue?: any;
36
+ readonly options?: any;
37
+ }, {}>;
38
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { ComponentInfo } from '../../../types/components.js';
2
+ export declare const componentInfo: ComponentInfo;
@@ -0,0 +1,21 @@
1
+ import { filterAttrs } from "../../helpers.js";
2
+ /**
3
+ * This import is used by the Svelte SDK. Do not remove.
4
+ */
5
+ export interface ButtonProps {
6
+ attributes?: any;
7
+ text?: string;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<Readonly<{
10
+ text?: any;
11
+ attributes?: any;
12
+ }>, unknown, {
13
+ filterAttrs: typeof filterAttrs;
14
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
15
+ text?: any;
16
+ attributes?: any;
17
+ }>>>, {
18
+ readonly text?: any;
19
+ readonly attributes?: any;
20
+ }, {}>;
21
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<{}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{}>>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<Readonly<{}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{}>>>, {}, {}>;
2
2
  export default _default;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
21
21
  readonly left: "0px";
22
22
  readonly top: "0px";
23
23
  } | undefined;
24
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
24
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
25
25
  image?: any;
26
26
  className?: any;
27
27
  aspectRatio?: any;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
21
21
  }>, unknown, {
22
22
  isEditing: typeof isEditing;
23
23
  filterAttrs: typeof filterAttrs;
24
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
24
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
25
25
  image?: any;
26
26
  attributes?: any;
27
27
  backgroundPosition?: any;