@builder.io/sdk-vue 1.1.2 → 2.0.0

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 (101) hide show
  1. package/lib/browser/{block-styles-yF029qLO.js → block-styles-cVSrkWog.js} +1 -1
  2. package/lib/browser/{block-styles-KQRcYCT9.cjs → block-styles-fmMk_gc8.cjs} +1 -1
  3. package/lib/browser/{block-wrapper-W0P89bhM.cjs → block-wrapper-WsC3tXV8.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-slzYlPm8.js → block-wrapper-maIbj8Gi.js} +3 -3
  5. package/lib/browser/blocks/accordion/accordion.vue.d.ts +3 -3
  6. package/lib/browser/blocks/button/button.vue.d.ts +3 -3
  7. package/lib/browser/blocks/columns/columns.vue.d.ts +9 -9
  8. package/lib/browser/blocks/form/form/form.vue.d.ts +9 -9
  9. package/lib/browser/blocks/form/input/input.vue.d.ts +6 -6
  10. package/lib/browser/blocks/form/textarea/textarea.vue.d.ts +3 -3
  11. package/lib/browser/blocks/symbol/symbol.vue.d.ts +9 -9
  12. package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
  13. package/lib/browser/blocks/video/video.vue.d.ts +3 -3
  14. package/lib/browser/{component-ref-f280Pij9.js → component-ref-1N_Kijok.js} +2 -2
  15. package/lib/browser/{component-ref-gWh-KGno.cjs → component-ref-da6lIO9c.cjs} +1 -1
  16. package/lib/browser/components/block/block.helpers.d.ts +8 -8
  17. package/lib/browser/components/block/block.vue.d.ts +3 -3
  18. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  19. package/lib/browser/components/block/components/repeated-block.vue.d.ts +3 -3
  20. package/lib/browser/components/blocks/blocks.vue.d.ts +3 -3
  21. package/lib/browser/components/content/components/enable-editor.vue.d.ts +12 -12
  22. package/lib/browser/components/content/content.vue.d.ts +18 -18
  23. package/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -12
  24. package/lib/browser/constants/sdk-version.d.ts +1 -1
  25. package/lib/browser/{get-block-properties-EtNc4iW1.cjs → get-block-properties-0QNsXkZI.cjs} +1 -1
  26. package/lib/browser/{get-block-properties-ReTq0tzj.js → get-block-properties-AuDiFohY.js} +1 -1
  27. package/lib/browser/index-7PcQ3One.cjs +166 -0
  28. package/lib/browser/{index-yersTeTV.js → index-pDvo-fub.js} +585 -650
  29. package/lib/browser/index.cjs +1 -1
  30. package/lib/browser/index.mjs +1 -1
  31. package/lib/browser/{repeated-block-0lhWWEpG.cjs → repeated-block-Z2UnXIU-.cjs} +1 -1
  32. package/lib/browser/{repeated-block-SxyAWZbs.js → repeated-block-nP-Etgd7.js} +2 -2
  33. package/lib/browser/style.css +1 -1
  34. package/lib/edge/{block-styles-eLJAbzLQ.js → block-styles--vY4nPqp.js} +1 -1
  35. package/lib/edge/{block-styles-zhL-ZVzT.cjs → block-styles-UnZvcuhz.cjs} +1 -1
  36. package/lib/edge/{block-wrapper-CQRALj_U.js → block-wrapper-JdVK1HVZ.js} +3 -3
  37. package/lib/{node/block-wrapper-67YpxGJy.cjs → edge/block-wrapper-szOQNDWW.cjs} +1 -1
  38. package/lib/edge/blocks/accordion/accordion.vue.d.ts +3 -3
  39. package/lib/edge/blocks/button/button.vue.d.ts +3 -3
  40. package/lib/edge/blocks/columns/columns.vue.d.ts +9 -9
  41. package/lib/edge/blocks/form/form/form.vue.d.ts +9 -9
  42. package/lib/edge/blocks/form/input/input.vue.d.ts +6 -6
  43. package/lib/edge/blocks/form/textarea/textarea.vue.d.ts +3 -3
  44. package/lib/edge/blocks/symbol/symbol.vue.d.ts +9 -9
  45. package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
  46. package/lib/edge/blocks/video/video.vue.d.ts +3 -3
  47. package/lib/{node/component-ref-SjuqwDaZ.cjs → edge/component-ref-7HkRGS_l.cjs} +1 -1
  48. package/lib/{node/component-ref-91bKp89Q.js → edge/component-ref-Ffo8HUWI.js} +2 -2
  49. package/lib/edge/components/block/block.helpers.d.ts +8 -8
  50. package/lib/edge/components/block/block.vue.d.ts +3 -3
  51. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  52. package/lib/edge/components/block/components/repeated-block.vue.d.ts +3 -3
  53. package/lib/edge/components/blocks/blocks.vue.d.ts +3 -3
  54. package/lib/edge/components/content/components/enable-editor.vue.d.ts +12 -12
  55. package/lib/edge/components/content/content.vue.d.ts +18 -18
  56. package/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -12
  57. package/lib/edge/constants/sdk-version.d.ts +1 -1
  58. package/lib/edge/{get-block-properties-aNnHrNuZ.cjs → get-block-properties-dww-G4lx.cjs} +1 -1
  59. package/lib/edge/{get-block-properties-nrMer_9r.js → get-block-properties-hYo7UjjZ.js} +1 -1
  60. package/lib/edge/{index-1_sMRASk.js → index-OtE_7PIE.js} +1068 -1133
  61. package/lib/edge/{index-mPTdNlEd.cjs → index-lFidbDeW.cjs} +29 -29
  62. package/lib/edge/index.cjs +1 -1
  63. package/lib/edge/index.mjs +1 -1
  64. package/lib/edge/{repeated-block-m2Y8nhgF.cjs → repeated-block-IMXruThl.cjs} +1 -1
  65. package/lib/edge/{repeated-block-BC4qb8GI.js → repeated-block-vPgWRa-A.js} +2 -2
  66. package/lib/edge/style.css +1 -1
  67. package/lib/node/{block-styles-qwbfY_0r.js → block-styles-JjLwXWt4.js} +1 -1
  68. package/lib/node/{block-styles-BVyQCkS3.cjs → block-styles-houtGRpT.cjs} +1 -1
  69. package/lib/node/{block-wrapper-U7AIQ7GW.js → block-wrapper--XSKGCL-.js} +3 -3
  70. package/lib/{edge/block-wrapper-KoPu2uk3.cjs → node/block-wrapper-TveOxTSb.cjs} +1 -1
  71. package/lib/node/blocks/accordion/accordion.vue.d.ts +3 -3
  72. package/lib/node/blocks/button/button.vue.d.ts +3 -3
  73. package/lib/node/blocks/columns/columns.vue.d.ts +9 -9
  74. package/lib/node/blocks/form/form/form.vue.d.ts +9 -9
  75. package/lib/node/blocks/form/input/input.vue.d.ts +6 -6
  76. package/lib/node/blocks/form/textarea/textarea.vue.d.ts +3 -3
  77. package/lib/node/blocks/symbol/symbol.vue.d.ts +9 -9
  78. package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
  79. package/lib/node/blocks/video/video.vue.d.ts +3 -3
  80. package/lib/{edge/component-ref-hQVwaczx.js → node/component-ref-KnwCIp0k.js} +2 -2
  81. package/lib/{edge/component-ref-O-8ZCGwW.cjs → node/component-ref-N8Z1onkW.cjs} +1 -1
  82. package/lib/node/components/block/block.helpers.d.ts +8 -8
  83. package/lib/node/components/block/block.vue.d.ts +3 -3
  84. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  85. package/lib/node/components/block/components/repeated-block.vue.d.ts +3 -3
  86. package/lib/node/components/blocks/blocks.vue.d.ts +3 -3
  87. package/lib/node/components/content/components/enable-editor.vue.d.ts +12 -12
  88. package/lib/node/components/content/content.vue.d.ts +18 -18
  89. package/lib/node/components/content-variants/content-variants.vue.d.ts +12 -12
  90. package/lib/node/constants/sdk-version.d.ts +1 -1
  91. package/lib/node/{get-block-properties-LS4sGehE.js → get-block-properties-Xr5L4Okr.js} +1 -1
  92. package/lib/node/{get-block-properties-_Ao2htNM.cjs → get-block-properties-inIHDjNu.cjs} +1 -1
  93. package/lib/node/{index-QePuMUih.js → index-EVLuO1iu.js} +36 -101
  94. package/lib/node/{index-yffFzLQJ.cjs → index-QFbjU7Zd.cjs} +4 -4
  95. package/lib/node/index.cjs +1 -1
  96. package/lib/node/index.mjs +1 -1
  97. package/lib/node/{repeated-block-fSrNRZJS.cjs → repeated-block-Co8byFSc.cjs} +1 -1
  98. package/lib/node/{repeated-block-0Y81SWSj.js → repeated-block-gAw64HdW.js} +2 -2
  99. package/lib/node/style.css +1 -1
  100. package/package.json +1 -1
  101. package/lib/browser/index-QwWHODkZ.cjs +0 -166
@@ -8,19 +8,19 @@ declare const _default: import("vue").DefineComponent<Readonly<{
8
8
  apiKey?: any;
9
9
  apiVersion?: any;
10
10
  canTrack?: any;
11
- model?: any;
12
- trustedHosts?: any;
13
- showContent?: any;
14
- isSsrAbTest?: any;
15
- customComponents?: any;
16
11
  linkComponent?: any;
17
12
  locale?: any;
18
13
  enrich?: any;
14
+ trustedHosts?: any;
15
+ model?: any;
16
+ showContent?: any;
19
17
  contentWrapper?: any;
20
18
  contentWrapperProps?: any;
19
+ isNestedRender?: any;
20
+ customComponents?: any;
21
21
  blocksWrapper?: any;
22
22
  blocksWrapperProps?: any;
23
- isNestedRender?: any;
23
+ isSsrAbTest?: any;
24
24
  }>, unknown, {
25
25
  scriptStr: string;
26
26
  registeredComponents: RegisteredComponents;
@@ -50,19 +50,19 @@ declare const _default: import("vue").DefineComponent<Readonly<{
50
50
  apiKey?: any;
51
51
  apiVersion?: any;
52
52
  canTrack?: any;
53
- model?: any;
54
- trustedHosts?: any;
55
- showContent?: any;
56
- isSsrAbTest?: any;
57
- customComponents?: any;
58
53
  linkComponent?: any;
59
54
  locale?: any;
60
55
  enrich?: any;
56
+ trustedHosts?: any;
57
+ model?: any;
58
+ showContent?: any;
61
59
  contentWrapper?: any;
62
60
  contentWrapperProps?: any;
61
+ isNestedRender?: any;
62
+ customComponents?: any;
63
63
  blocksWrapper?: any;
64
64
  blocksWrapperProps?: any;
65
- isNestedRender?: any;
65
+ isSsrAbTest?: any;
66
66
  }>>>, {
67
67
  readonly data?: any;
68
68
  readonly context?: any;
@@ -70,18 +70,18 @@ declare const _default: import("vue").DefineComponent<Readonly<{
70
70
  readonly apiKey?: any;
71
71
  readonly apiVersion?: any;
72
72
  readonly canTrack?: any;
73
- readonly model?: any;
74
- readonly trustedHosts?: any;
75
- readonly showContent?: any;
76
- readonly isSsrAbTest?: any;
77
- readonly customComponents?: any;
78
73
  readonly linkComponent?: any;
79
74
  readonly locale?: any;
80
75
  readonly enrich?: any;
76
+ readonly trustedHosts?: any;
77
+ readonly model?: any;
78
+ readonly showContent?: any;
81
79
  readonly contentWrapper?: any;
82
80
  readonly contentWrapperProps?: any;
81
+ readonly isNestedRender?: any;
82
+ readonly customComponents?: any;
83
83
  readonly blocksWrapper?: any;
84
84
  readonly blocksWrapperProps?: any;
85
- readonly isNestedRender?: any;
85
+ readonly isSsrAbTest?: any;
86
86
  }, {}>;
87
87
  export default _default;
@@ -5,17 +5,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
5
5
  apiKey?: any;
6
6
  apiVersion?: any;
7
7
  canTrack?: any;
8
- model?: any;
9
- trustedHosts?: any;
10
- customComponents?: any;
11
8
  linkComponent?: any;
12
9
  locale?: any;
13
10
  enrich?: any;
11
+ trustedHosts?: any;
12
+ model?: any;
14
13
  contentWrapper?: any;
15
14
  contentWrapperProps?: any;
15
+ isNestedRender?: any;
16
+ customComponents?: any;
16
17
  blocksWrapper?: any;
17
18
  blocksWrapperProps?: any;
18
- isNestedRender?: any;
19
19
  }>, unknown, {
20
20
  shouldRenderVariants: boolean;
21
21
  TARGET: import("../../types/targets").Target;
@@ -55,17 +55,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
55
55
  apiKey?: any;
56
56
  apiVersion?: any;
57
57
  canTrack?: any;
58
- model?: any;
59
- trustedHosts?: any;
60
- customComponents?: any;
61
58
  linkComponent?: any;
62
59
  locale?: any;
63
60
  enrich?: any;
61
+ trustedHosts?: any;
62
+ model?: any;
64
63
  contentWrapper?: any;
65
64
  contentWrapperProps?: any;
65
+ isNestedRender?: any;
66
+ customComponents?: any;
66
67
  blocksWrapper?: any;
67
68
  blocksWrapperProps?: any;
68
- isNestedRender?: any;
69
69
  }>>>, {
70
70
  readonly data?: any;
71
71
  readonly context?: any;
@@ -73,16 +73,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
73
73
  readonly apiKey?: any;
74
74
  readonly apiVersion?: any;
75
75
  readonly canTrack?: any;
76
- readonly model?: any;
77
- readonly trustedHosts?: any;
78
- readonly customComponents?: any;
79
76
  readonly linkComponent?: any;
80
77
  readonly locale?: any;
81
78
  readonly enrich?: any;
79
+ readonly trustedHosts?: any;
80
+ readonly model?: any;
82
81
  readonly contentWrapper?: any;
83
82
  readonly contentWrapperProps?: any;
83
+ readonly isNestedRender?: any;
84
+ readonly customComponents?: any;
84
85
  readonly blocksWrapper?: any;
85
86
  readonly blocksWrapperProps?: any;
86
- readonly isNestedRender?: any;
87
87
  }, {}>;
88
88
  export default _default;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.2";
1
+ export declare const SDK_VERSION = "2.0.0";
@@ -1 +1 @@
1
- "use strict";const a=require("./index-mPTdNlEd.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>a.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1,enableCache:!0});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const s=r[o];let n=c(o);if(e.stripPrefix)switch(a.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(s,e)}return t}function u({properties:e}){return e}const f=e=>({href:e.href});function p({block:e,context:t}){var o;const r={...f(e),...e.properties,"builder-id":e.id,style:a.getStyle({block:e,context:t}),[a.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=p;
1
+ "use strict";const a=require("./index-lFidbDeW.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>a.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1,enableCache:!0});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const s=r[o];let n=c(o);if(e.stripPrefix)switch(a.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(s,e)}return t}function u({properties:e}){return e}const f=e=>({href:e.href});function p({block:e,context:t}){var o;const r={...f(e),...e.properties,"builder-id":e.id,style:a.getStyle({block:e,context:t}),[a.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return u({properties:r,context:t,block:e})}exports.getBlockActions=l;exports.getBlockProperties=p;
@@ -1,4 +1,4 @@
1
- import { h as s, T as c, i, j as l } from "./index-1_sMRASk.js";
1
+ import { h as s, T as c, i, j as l } from "./index-OtE_7PIE.js";
2
2
  const u = (e) => `v-on:${e.toLowerCase()}`, f = (e, t) => (r) => s({
3
3
  code: e,
4
4
  context: t.context,