@builder.io/sdk-vue 2.0.8 → 2.0.13

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 (136) hide show
  1. package/lib/browser/block-styles-03Qg_nl9.js +76 -0
  2. package/lib/browser/block-styles-NluRxFx2.cjs +1 -0
  3. package/lib/browser/{block-wrapper-H_K5XgNp.js → block-wrapper-7wDwU1ik.js} +3 -3
  4. package/lib/browser/{block-wrapper-vI9rE_qz.cjs → block-wrapper-ianIz_MG.cjs} +1 -1
  5. package/lib/browser/blocks/accordion/accordion.vue.d.ts +6 -6
  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 +3 -3
  10. package/lib/browser/blocks/form/select/select.vue.d.ts +3 -3
  11. package/lib/browser/blocks/image/image.vue.d.ts +3 -3
  12. package/lib/browser/blocks/img/img.vue.d.ts +3 -3
  13. package/lib/browser/blocks/section/section.vue.d.ts +3 -3
  14. package/lib/browser/blocks/slot/slot.vue.d.ts +5 -2
  15. package/lib/browser/blocks/symbol/symbol.vue.d.ts +9 -9
  16. package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
  17. package/lib/browser/blocks/video/video.vue.d.ts +6 -6
  18. package/lib/browser/{component-ref-k4s0KRD5.cjs → component-ref-MlfJPaLv.cjs} +1 -1
  19. package/lib/browser/{component-ref-ULmI7Z-4.js → component-ref-yQ6WDHbR.js} +2 -2
  20. package/lib/browser/components/block/block.helpers.d.ts +1 -2
  21. package/lib/browser/components/block/block.vue.d.ts +10 -5
  22. package/lib/browser/components/block/components/block-styles.vue.d.ts +1 -1
  23. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  24. package/lib/browser/components/block/components/repeated-block.vue.d.ts +3 -3
  25. package/lib/browser/components/blocks/blocks.vue.d.ts +3 -3
  26. package/lib/browser/components/content/components/enable-editor.vue.d.ts +12 -12
  27. package/lib/browser/components/content/content.vue.d.ts +18 -18
  28. package/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -12
  29. package/lib/browser/components/inlined-styles.vue.d.ts +3 -3
  30. package/lib/browser/constants/sdk-version.d.ts +1 -1
  31. package/lib/browser/functions/evaluate/node-runtime/init.d.ts +1 -0
  32. package/lib/browser/functions/get-processed-block.d.ts +1 -0
  33. package/lib/browser/functions/register-component.d.ts +1 -1
  34. package/lib/browser/{get-block-properties-JqBN5X7_.cjs → get-block-properties-Cj0ih41l.cjs} +1 -1
  35. package/lib/browser/{get-block-properties-IjhCV9z_.js → get-block-properties-ROTqTJZ3.js} +6 -6
  36. package/lib/browser/{index-wQ1FWMHJ.js → index-3j8dJ25f.js} +1419 -1368
  37. package/lib/browser/index-sPD8fzSJ.cjs +166 -0
  38. package/lib/browser/index.cjs +1 -1
  39. package/lib/browser/index.mjs +3 -3
  40. package/lib/browser/{repeated-block-UKWYkgKG.cjs → repeated-block-BBHHbrlK.cjs} +1 -1
  41. package/lib/browser/{repeated-block-Aa1yIQkp.js → repeated-block-_EQDFqYb.js} +2 -2
  42. package/lib/browser/style.css +1 -1
  43. package/lib/edge/block-styles-TkeDyfA0.cjs +1 -0
  44. package/lib/edge/block-styles-mSowNIFi.js +75 -0
  45. package/lib/{node/block-wrapper-QqrLFWp0.cjs → edge/block-wrapper-BxeE3u_2.cjs} +1 -1
  46. package/lib/edge/{block-wrapper-M3goYBkP.js → block-wrapper-EnFwFXwA.js} +3 -3
  47. package/lib/edge/blocks/accordion/accordion.vue.d.ts +6 -6
  48. package/lib/edge/blocks/button/button.vue.d.ts +3 -3
  49. package/lib/edge/blocks/columns/columns.vue.d.ts +9 -9
  50. package/lib/edge/blocks/form/form/form.vue.d.ts +9 -9
  51. package/lib/edge/blocks/form/input/input.vue.d.ts +3 -3
  52. package/lib/edge/blocks/form/select/select.vue.d.ts +3 -3
  53. package/lib/edge/blocks/image/image.vue.d.ts +3 -3
  54. package/lib/edge/blocks/img/img.vue.d.ts +3 -3
  55. package/lib/edge/blocks/section/section.vue.d.ts +3 -3
  56. package/lib/edge/blocks/slot/slot.vue.d.ts +5 -2
  57. package/lib/edge/blocks/symbol/symbol.vue.d.ts +9 -9
  58. package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
  59. package/lib/edge/blocks/video/video.vue.d.ts +6 -6
  60. package/lib/{node/component-ref-NW-UB2pJ.cjs → edge/component-ref-XzuZ1Hfj.cjs} +1 -1
  61. package/lib/{node/component-ref-hI62zIZA.js → edge/component-ref-t51XeINm.js} +2 -2
  62. package/lib/edge/components/block/block.helpers.d.ts +1 -2
  63. package/lib/edge/components/block/block.vue.d.ts +10 -5
  64. package/lib/edge/components/block/components/block-styles.vue.d.ts +1 -1
  65. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  66. package/lib/edge/components/block/components/repeated-block.vue.d.ts +3 -3
  67. package/lib/edge/components/blocks/blocks.vue.d.ts +3 -3
  68. package/lib/edge/components/content/components/enable-editor.vue.d.ts +12 -12
  69. package/lib/edge/components/content/content.vue.d.ts +18 -18
  70. package/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -12
  71. package/lib/edge/components/inlined-styles.vue.d.ts +3 -3
  72. package/lib/edge/constants/sdk-version.d.ts +1 -1
  73. package/lib/edge/functions/evaluate/node-runtime/init.d.ts +1 -0
  74. package/lib/edge/functions/get-processed-block.d.ts +1 -0
  75. package/lib/edge/functions/register-component.d.ts +1 -1
  76. package/lib/edge/{get-block-properties-zzQ9xBK7.js → get-block-properties-Hs6W4UwL.js} +4 -4
  77. package/lib/edge/{get-block-properties-N40WxPwN.cjs → get-block-properties-MnsKwX8B.cjs} +1 -1
  78. package/lib/edge/{index-yARC0VI1.js → index-C-mI6Ai4.js} +1809 -1758
  79. package/lib/edge/index-u68L80fc.cjs +186 -0
  80. package/lib/edge/index.cjs +1 -1
  81. package/lib/edge/index.mjs +4 -4
  82. package/lib/edge/{repeated-block-IdOOvFG5.js → repeated-block-P7xKkVOb.js} +13 -13
  83. package/lib/edge/{repeated-block-q6gyu9cH.cjs → repeated-block-cXD1rb5T.cjs} +1 -1
  84. package/lib/edge/style.css +1 -1
  85. package/lib/node/block-styles-TC7FEjXP.js +75 -0
  86. package/lib/node/block-styles-aVTlrIHc.cjs +1 -0
  87. package/lib/{edge/block-wrapper-P5w2jQ_u.cjs → node/block-wrapper-8DA9SdPk.cjs} +1 -1
  88. package/lib/node/{block-wrapper-4h3CaVrk.js → block-wrapper-wULOB3JK.js} +3 -3
  89. package/lib/node/blocks/accordion/accordion.vue.d.ts +6 -6
  90. package/lib/node/blocks/button/button.vue.d.ts +3 -3
  91. package/lib/node/blocks/columns/columns.vue.d.ts +9 -9
  92. package/lib/node/blocks/form/form/form.vue.d.ts +9 -9
  93. package/lib/node/blocks/form/input/input.vue.d.ts +3 -3
  94. package/lib/node/blocks/form/select/select.vue.d.ts +3 -3
  95. package/lib/node/blocks/image/image.vue.d.ts +3 -3
  96. package/lib/node/blocks/img/img.vue.d.ts +3 -3
  97. package/lib/node/blocks/section/section.vue.d.ts +3 -3
  98. package/lib/node/blocks/slot/slot.vue.d.ts +5 -2
  99. package/lib/node/blocks/symbol/symbol.vue.d.ts +9 -9
  100. package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
  101. package/lib/node/blocks/video/video.vue.d.ts +6 -6
  102. package/lib/{edge/component-ref-ZtKc8UMX.js → node/component-ref-Tn-Aa9EG.js} +2 -2
  103. package/lib/{edge/component-ref-EPsyn_2c.cjs → node/component-ref-cw1D-ZyS.cjs} +1 -1
  104. package/lib/node/components/block/block.helpers.d.ts +1 -2
  105. package/lib/node/components/block/block.vue.d.ts +10 -5
  106. package/lib/node/components/block/components/block-styles.vue.d.ts +1 -1
  107. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +6 -6
  108. package/lib/node/components/block/components/repeated-block.vue.d.ts +3 -3
  109. package/lib/node/components/blocks/blocks.vue.d.ts +3 -3
  110. package/lib/node/components/content/components/enable-editor.vue.d.ts +12 -12
  111. package/lib/node/components/content/content.vue.d.ts +18 -18
  112. package/lib/node/components/content-variants/content-variants.vue.d.ts +12 -12
  113. package/lib/node/components/inlined-styles.vue.d.ts +3 -3
  114. package/lib/node/constants/sdk-version.d.ts +1 -1
  115. package/lib/node/functions/evaluate/node-runtime/init.d.ts +1 -0
  116. package/lib/node/functions/get-processed-block.d.ts +1 -0
  117. package/lib/node/functions/register-component.d.ts +1 -1
  118. package/lib/node/{get-block-properties-W3cxXL5S.cjs → get-block-properties-coIi16X2.cjs} +1 -1
  119. package/lib/node/{get-block-properties-ctA1IgxF.js → get-block-properties-lLVZb91I.js} +4 -4
  120. package/lib/node/index-ZUbIvJ0s.cjs +213 -0
  121. package/lib/node/{index-xdY2kzl8.js → index-eZTeDA6U.js} +3608 -3557
  122. package/lib/node/index.cjs +1 -1
  123. package/lib/node/index.mjs +4 -4
  124. package/lib/node/{repeated-block-T2ld1sa9.cjs → repeated-block-49B-IJEV.cjs} +1 -1
  125. package/lib/node/{repeated-block-ndxvinZD.js → repeated-block-_TZDsWlq.js} +13 -13
  126. package/lib/node/style.css +1 -1
  127. package/package.json +3 -3
  128. package/lib/browser/block-styles-UWiLqSPk.js +0 -90
  129. package/lib/browser/block-styles-mtiWQW_J.cjs +0 -1
  130. package/lib/browser/index-TIoYRvmr.cjs +0 -166
  131. package/lib/edge/block-styles-4MJqQlwZ.cjs +0 -1
  132. package/lib/edge/block-styles-P44kj2Ws.js +0 -89
  133. package/lib/edge/index-hw9mu6mD.cjs +0 -186
  134. package/lib/node/block-styles-HZaZpVMf.cjs +0 -1
  135. package/lib/node/block-styles-brJAybxf.js +0 -89
  136. package/lib/node/index-HPinODNY.cjs +0 -213
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-hw9mu6mD.cjs"),a=require("./get-block-properties-N40WxPwN.cjs"),u=t.defineComponent({name:"interactive-element",props:["includeBlockProps","block","context","wrapperProps","Wrapper"],computed:{attributes(){return this.includeBlockProps?{...a.getBlockProperties({block:this.block,context:this.context}),...a.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}}}});function d(e,o,p,s,n,i){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({attributes:e.attributes},e.wrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=c._export_sfc(u,[["render",d]]),f=({componentOptions:e,builderBlock:o,context:p,componentRef:s,includeBlockProps:n,isInteractive:i,contextValue:l})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:o,context:l})}:{}};return i?{Wrapper:s,block:o,context:p,wrapperProps:e,includeBlockProps:n}:r},B=t.defineComponent({name:"component-ref",components:{Block:c.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?c.wrapComponentRef(m):this.componentRef,getWrapperProps:f}}});function b(e,o,p,s,n,i){const l=t.resolveComponent("Block");return e.componentRef?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.blockChildren,(r,k)=>(t.openBlock(),t.createBlock(l,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const C=c._export_sfc(B,[["render",b]]);exports.default=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-ZUbIvJ0s.cjs"),a=require("./get-block-properties-coIi16X2.cjs"),u=t.defineComponent({name:"interactive-element",props:["includeBlockProps","block","context","wrapperProps","Wrapper"],computed:{attributes(){return this.includeBlockProps?{...a.getBlockProperties({block:this.block,context:this.context}),...a.getBlockActions({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}}}});function d(e,o,p,s,n,i){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.mergeProps({attributes:e.attributes},e.wrapperProps),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=c._export_sfc(u,[["render",d]]),f=({componentOptions:e,builderBlock:o,context:p,componentRef:s,includeBlockProps:n,isInteractive:i,contextValue:l})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:o,context:l})}:{}};return i?{Wrapper:s,block:o,context:p,wrapperProps:e,includeBlockProps:n}:r},B=t.defineComponent({name:"component-ref",components:{Block:c.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?c.wrapComponentRef(m):this.componentRef,getWrapperProps:f}}});function b(e,o,p,s,n,i){const l=t.resolveComponent("Block");return e.componentRef?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Wrapper),t.normalizeProps(t.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.blockChildren,(r,k)=>(t.openBlock(),t.createBlock(l,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):t.createCommentVNode("",!0)}const C=c._export_sfc(B,[["render",b]]);exports.default=C;
@@ -1,9 +1,8 @@
1
1
  import type { BuilderContextInterface, RegisteredComponent, RegisteredComponents } from '../../context/types';
2
2
  import type { BuilderBlock } from '../../types/builder-block';
3
3
  import type { RepeatData } from './types';
4
- export declare const getComponent: ({ block, context, registeredComponents }: {
4
+ export declare const getComponent: ({ block, registeredComponents }: {
5
5
  block: BuilderBlock;
6
- context: BuilderContextInterface;
7
6
  registeredComponents: RegisteredComponents;
8
7
  }) => RegisteredComponent | null | undefined;
9
8
  export declare const getRepeatItemData: ({ block, context }: {
@@ -9,12 +9,17 @@ export type BlockProps = {
9
9
  declare const _default: import("vue").DefineComponent<Readonly<{
10
10
  context?: any;
11
11
  block?: any;
12
- registeredComponents?: any;
13
12
  linkComponent?: any;
14
- }>, unknown, unknown, {
15
- blockComponent(): import("../../context/types").RegisteredComponent | null | undefined;
13
+ registeredComponents?: any;
14
+ }>, unknown, {
15
+ _processedBlock: {
16
+ value: BuilderBlock | null;
17
+ update: boolean;
18
+ };
19
+ }, {
16
20
  repeatItem(): import("./types").RepeatData[] | undefined;
17
21
  processedBlock(): any;
22
+ blockComponent(): import("../../server-index").RegisteredComponent | null | undefined;
18
23
  Tag(): any;
19
24
  canShowBlock(): any;
20
25
  childrenWithoutParentComponent(): any;
@@ -32,12 +37,12 @@ declare const _default: import("vue").DefineComponent<Readonly<{
32
37
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
33
38
  context?: any;
34
39
  block?: any;
35
- registeredComponents?: any;
36
40
  linkComponent?: any;
41
+ registeredComponents?: any;
37
42
  }>>>, {
38
43
  readonly context?: any;
39
44
  readonly block?: any;
40
- readonly registeredComponents?: any;
41
45
  readonly linkComponent?: any;
46
+ readonly registeredComponents?: any;
42
47
  }, {}>;
43
48
  export default _default;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
10
10
  }>, unknown, {
11
11
  TARGET: import("../../../types/targets").Target;
12
12
  }, {
13
- canShowBlock(): boolean;
13
+ canShowBlock(): any;
14
14
  css(): string;
15
15
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
16
16
  context?: any;
@@ -1,13 +1,13 @@
1
1
  import type { ComponentProps } from "./component-ref.helpers";
2
2
  declare const _default: import("vue").DefineComponent<Readonly<{
3
3
  context?: any;
4
- registeredComponents?: any;
5
4
  builderBlock?: any;
5
+ linkComponent?: any;
6
+ registeredComponents?: any;
6
7
  includeBlockProps?: any;
7
8
  blockChildren?: any;
8
9
  componentRef?: any;
9
10
  componentOptions?: any;
10
- linkComponent?: any;
11
11
  isInteractive?: any;
12
12
  }>, unknown, {
13
13
  Wrapper: any;
@@ -26,23 +26,23 @@ declare const _default: import("vue").DefineComponent<Readonly<{
26
26
  };
27
27
  }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
28
28
  context?: any;
29
- registeredComponents?: any;
30
29
  builderBlock?: any;
30
+ linkComponent?: any;
31
+ registeredComponents?: any;
31
32
  includeBlockProps?: any;
32
33
  blockChildren?: any;
33
34
  componentRef?: any;
34
35
  componentOptions?: any;
35
- linkComponent?: any;
36
36
  isInteractive?: any;
37
37
  }>>>, {
38
38
  readonly context?: any;
39
- readonly registeredComponents?: any;
40
39
  readonly builderBlock?: any;
40
+ readonly linkComponent?: any;
41
+ readonly registeredComponents?: any;
41
42
  readonly includeBlockProps?: any;
42
43
  readonly blockChildren?: any;
43
44
  readonly componentRef?: any;
44
45
  readonly componentOptions?: any;
45
- readonly linkComponent?: any;
46
46
  readonly isInteractive?: any;
47
47
  }, {}>;
48
48
  export default _default;
@@ -1,19 +1,19 @@
1
1
  declare const _default: import("vue").DefineComponent<Readonly<{
2
2
  block?: any;
3
- registeredComponents?: any;
4
3
  linkComponent?: any;
4
+ registeredComponents?: any;
5
5
  repeatContext?: any;
6
6
  }>, unknown, {
7
7
  store: any;
8
8
  }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
9
9
  block?: any;
10
- registeredComponents?: any;
11
10
  linkComponent?: any;
11
+ registeredComponents?: any;
12
12
  repeatContext?: any;
13
13
  }>>>, {
14
14
  readonly block?: any;
15
- readonly registeredComponents?: any;
16
15
  readonly linkComponent?: any;
16
+ readonly registeredComponents?: any;
17
17
  readonly repeatContext?: any;
18
18
  }, {}>;
19
19
  export default _default;
@@ -4,23 +4,23 @@ declare const _default: import("vue").DefineComponent<Readonly<{
4
4
  parent?: any;
5
5
  styleProp?: any;
6
6
  context?: any;
7
- registeredComponents?: any;
8
7
  linkComponent?: any;
8
+ registeredComponents?: any;
9
9
  }>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
10
10
  path?: any;
11
11
  blocks?: any;
12
12
  parent?: any;
13
13
  styleProp?: any;
14
14
  context?: any;
15
- registeredComponents?: any;
16
15
  linkComponent?: any;
16
+ registeredComponents?: any;
17
17
  }>>>, {
18
18
  readonly path?: any;
19
19
  readonly blocks?: any;
20
20
  readonly parent?: any;
21
21
  readonly styleProp?: any;
22
22
  readonly context?: any;
23
- readonly registeredComponents?: any;
24
23
  readonly linkComponent?: any;
24
+ readonly registeredComponents?: any;
25
25
  }, {}>;
26
26
  export default _default;
@@ -6,14 +6,14 @@ declare const _default: import("vue").DefineComponent<Readonly<{
6
6
  content?: any;
7
7
  apiKey?: any;
8
8
  canTrack?: any;
9
- builderContextSignal?: any;
10
- locale?: any;
11
- enrich?: any;
12
- trustedHosts?: any;
13
9
  model?: any;
10
+ trustedHosts?: any;
14
11
  showContent?: any;
12
+ locale?: any;
13
+ enrich?: any;
15
14
  contentWrapper?: any;
16
15
  contentWrapperProps?: any;
16
+ builderContextSignal?: any;
17
17
  }>, unknown, {
18
18
  ContentWrapper: any;
19
19
  httpReqsData: {};
@@ -79,27 +79,27 @@ declare const _default: import("vue").DefineComponent<Readonly<{
79
79
  content?: any;
80
80
  apiKey?: any;
81
81
  canTrack?: any;
82
- builderContextSignal?: any;
83
- locale?: any;
84
- enrich?: any;
85
- trustedHosts?: any;
86
82
  model?: any;
83
+ trustedHosts?: any;
87
84
  showContent?: any;
85
+ locale?: any;
86
+ enrich?: any;
88
87
  contentWrapper?: any;
89
88
  contentWrapperProps?: any;
89
+ builderContextSignal?: any;
90
90
  }>>>, {
91
91
  readonly data?: any;
92
92
  readonly context?: any;
93
93
  readonly content?: any;
94
94
  readonly apiKey?: any;
95
95
  readonly canTrack?: any;
96
- readonly builderContextSignal?: any;
97
- readonly locale?: any;
98
- readonly enrich?: any;
99
- readonly trustedHosts?: any;
100
96
  readonly model?: any;
97
+ readonly trustedHosts?: any;
101
98
  readonly showContent?: any;
99
+ readonly locale?: any;
100
+ readonly enrich?: any;
102
101
  readonly contentWrapper?: any;
103
102
  readonly contentWrapperProps?: any;
103
+ readonly builderContextSignal?: any;
104
104
  }, {}>;
105
105
  export default _default;
@@ -9,19 +9,19 @@ declare const _default: import("vue").DefineComponent<Readonly<{
9
9
  apiVersion?: any;
10
10
  nonce?: any;
11
11
  canTrack?: any;
12
+ model?: any;
13
+ trustedHosts?: any;
14
+ showContent?: any;
15
+ isSsrAbTest?: any;
16
+ customComponents?: any;
12
17
  linkComponent?: any;
13
18
  locale?: any;
14
19
  enrich?: any;
15
- trustedHosts?: any;
16
- model?: any;
17
- showContent?: any;
18
20
  contentWrapper?: any;
19
21
  contentWrapperProps?: any;
20
- isNestedRender?: any;
21
- customComponents?: any;
22
22
  blocksWrapper?: any;
23
23
  blocksWrapperProps?: any;
24
- isSsrAbTest?: any;
24
+ isNestedRender?: any;
25
25
  }>, unknown, {
26
26
  scriptStr: string;
27
27
  registeredComponents: RegisteredComponents;
@@ -53,19 +53,19 @@ declare const _default: import("vue").DefineComponent<Readonly<{
53
53
  apiVersion?: any;
54
54
  nonce?: any;
55
55
  canTrack?: any;
56
+ model?: any;
57
+ trustedHosts?: any;
58
+ showContent?: any;
59
+ isSsrAbTest?: any;
60
+ customComponents?: any;
56
61
  linkComponent?: any;
57
62
  locale?: any;
58
63
  enrich?: any;
59
- trustedHosts?: any;
60
- model?: any;
61
- showContent?: any;
62
64
  contentWrapper?: any;
63
65
  contentWrapperProps?: any;
64
- isNestedRender?: any;
65
- customComponents?: any;
66
66
  blocksWrapper?: any;
67
67
  blocksWrapperProps?: any;
68
- isSsrAbTest?: any;
68
+ isNestedRender?: any;
69
69
  }>>>, {
70
70
  readonly data?: any;
71
71
  readonly context?: any;
@@ -74,18 +74,18 @@ declare const _default: import("vue").DefineComponent<Readonly<{
74
74
  readonly apiVersion?: any;
75
75
  readonly nonce?: any;
76
76
  readonly canTrack?: any;
77
+ readonly model?: any;
78
+ readonly trustedHosts?: any;
79
+ readonly showContent?: any;
80
+ readonly isSsrAbTest?: any;
81
+ readonly customComponents?: any;
77
82
  readonly linkComponent?: any;
78
83
  readonly locale?: any;
79
84
  readonly enrich?: any;
80
- readonly trustedHosts?: any;
81
- readonly model?: any;
82
- readonly showContent?: any;
83
85
  readonly contentWrapper?: any;
84
86
  readonly contentWrapperProps?: any;
85
- readonly isNestedRender?: any;
86
- readonly customComponents?: any;
87
87
  readonly blocksWrapper?: any;
88
88
  readonly blocksWrapperProps?: any;
89
- readonly isSsrAbTest?: any;
89
+ readonly isNestedRender?: any;
90
90
  }, {}>;
91
91
  export default _default;
@@ -6,17 +6,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
6
6
  apiVersion?: any;
7
7
  nonce?: any;
8
8
  canTrack?: any;
9
+ model?: any;
10
+ trustedHosts?: any;
11
+ customComponents?: any;
9
12
  linkComponent?: any;
10
13
  locale?: any;
11
14
  enrich?: any;
12
- trustedHosts?: any;
13
- model?: any;
14
15
  contentWrapper?: any;
15
16
  contentWrapperProps?: any;
16
- isNestedRender?: any;
17
- customComponents?: any;
18
17
  blocksWrapper?: any;
19
18
  blocksWrapperProps?: any;
19
+ isNestedRender?: any;
20
20
  }>, unknown, {
21
21
  shouldRenderVariants: boolean;
22
22
  TARGET: import("../../types/targets").Target;
@@ -57,17 +57,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
57
57
  apiVersion?: any;
58
58
  nonce?: any;
59
59
  canTrack?: any;
60
+ model?: any;
61
+ trustedHosts?: any;
62
+ customComponents?: any;
60
63
  linkComponent?: any;
61
64
  locale?: any;
62
65
  enrich?: any;
63
- trustedHosts?: any;
64
- model?: any;
65
66
  contentWrapper?: any;
66
67
  contentWrapperProps?: any;
67
- isNestedRender?: any;
68
- customComponents?: any;
69
68
  blocksWrapper?: any;
70
69
  blocksWrapperProps?: any;
70
+ isNestedRender?: any;
71
71
  }>>>, {
72
72
  readonly data?: any;
73
73
  readonly context?: any;
@@ -76,16 +76,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
76
76
  readonly apiVersion?: any;
77
77
  readonly nonce?: any;
78
78
  readonly canTrack?: any;
79
+ readonly model?: any;
80
+ readonly trustedHosts?: any;
81
+ readonly customComponents?: any;
79
82
  readonly linkComponent?: any;
80
83
  readonly locale?: any;
81
84
  readonly enrich?: any;
82
- readonly trustedHosts?: any;
83
- readonly model?: any;
84
85
  readonly contentWrapper?: any;
85
86
  readonly contentWrapperProps?: any;
86
- readonly isNestedRender?: any;
87
- readonly customComponents?: any;
88
87
  readonly blocksWrapper?: any;
89
88
  readonly blocksWrapperProps?: any;
89
+ readonly isNestedRender?: any;
90
90
  }, {}>;
91
91
  export default _default;
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<Readonly<{
2
2
  nonce?: any;
3
- styles?: any;
4
3
  id?: any;
4
+ styles?: any;
5
5
  }>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
6
6
  nonce?: any;
7
- styles?: any;
8
7
  id?: any;
8
+ styles?: any;
9
9
  }>>>, {
10
10
  readonly nonce?: any;
11
- readonly styles?: any;
12
11
  readonly id?: any;
12
+ readonly styles?: any;
13
13
  }, {}>;
14
14
  export default _default;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.8";
1
+ export declare const SDK_VERSION = "2.0.13";
@@ -7,6 +7,7 @@ import type { IsolateOptions } from 'isolated-vm';
7
7
  * from a server-only location, such as:
8
8
  * - The NextJS Pages router's `_document.tsx`
9
9
  * - Your Remix route's `loader`
10
+ * - Qwik's `entry.ssr.tsx` file
10
11
  */
11
12
  export declare const initializeNodeRuntime: (args?: {
12
13
  ivmIsolateOptions?: IsolateOptions;
@@ -1,5 +1,6 @@
1
1
  import type { BuilderContextInterface } from '../context/types';
2
2
  import type { BuilderBlock } from '../types/builder-block';
3
+ export declare function deepCloneWithConditions<T = any>(obj: T): T;
3
4
  export declare function getProcessedBlock({ block, context, shouldEvaluateBindings, localState, rootState, rootSetState }: {
4
5
  block: BuilderBlock;
5
6
  /**
@@ -3,4 +3,4 @@ export declare const createRegisterComponentMessage: (info: ComponentInfo) => {
3
3
  type: string;
4
4
  data: any;
5
5
  };
6
- export declare function serializeComponentInfo(info: ComponentInfo): any;
6
+ export declare function serializeIncludingFunctions(info: ComponentInfo): any;
@@ -1 +1 @@
1
- "use strict";const a=require("./index-HPinODNY.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-ZUbIvJ0s.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,5 +1,5 @@
1
- import { h as s, T as c, i, j as l } from "./index-xdY2kzl8.js";
2
- const u = (e) => `v-on:${e.toLowerCase()}`, f = (e, t) => (r) => s({
1
+ import { f as s, T as c, h as i, i as l } from "./index-eZTeDA6U.js";
2
+ const f = (e) => `v-on:${e.toLowerCase()}`, u = (e, t) => (r) => s({
3
3
  code: e,
4
4
  context: t.context,
5
5
  localState: t.localState,
@@ -15,7 +15,7 @@ function S(e) {
15
15
  if (!r.hasOwnProperty(a))
16
16
  continue;
17
17
  const n = r[a];
18
- let o = u(a);
18
+ let o = f(a);
19
19
  if (e.stripPrefix)
20
20
  switch (c) {
21
21
  case "vue":
@@ -25,7 +25,7 @@ function S(e) {
25
25
  o = o.replace("on:", "");
26
26
  break;
27
27
  }
28
- t[o] = f(n, e);
28
+ t[o] = u(n, e);
29
29
  }
30
30
  return t;
31
31
  }