@builder.io/sdk-vue 0.13.4 → 1.0.2

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 (73) hide show
  1. package/lib/browser/{block-styles-8Mrc6TaN.cjs → block-styles-GmtukeHH.cjs} +1 -1
  2. package/lib/browser/{block-styles-VSarafRd.js → block-styles-byLJBAln.js} +1 -1
  3. package/lib/browser/{block-wrapper-66sQ44dq.js → block-wrapper-4Es33tGt.js} +3 -3
  4. package/lib/browser/{block-wrapper-QFMQKrxu.cjs → block-wrapper-SJBzGVy8.cjs} +1 -1
  5. package/lib/browser/{component-ref-Jc5MVYML.js → component-ref-DHTOn9mP.js} +2 -2
  6. package/lib/browser/{component-ref-e6oQ52we.cjs → component-ref-Wwi4AhMm.cjs} +1 -1
  7. package/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -3
  8. package/lib/browser/components/content/content.vue.d.ts +0 -3
  9. package/lib/browser/components/content-variants/content-variants.types.d.ts +0 -2
  10. package/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -3
  11. package/lib/browser/constants/sdk-version.d.ts +1 -1
  12. package/lib/browser/functions/get-content/index.d.ts +0 -10
  13. package/lib/browser/functions/get-content/types.d.ts +0 -11
  14. package/lib/browser/functions/register-component.d.ts +0 -9
  15. package/lib/browser/{get-block-properties-7tpIl-af.cjs → get-block-properties-a6w9tGuX.cjs} +1 -1
  16. package/lib/browser/{get-block-properties-E1fQUQGr.js → get-block-properties-ijlhyTBV.js} +1 -1
  17. package/lib/browser/{index-td6tu50h.cjs → index-EQqGfI3J.cjs} +22 -22
  18. package/lib/browser/{index-G5gQ-de1.js → index-EjEFGone.js} +643 -674
  19. package/lib/browser/index-helpers/blocks-exports.d.ts +0 -121
  20. package/lib/browser/index.cjs +1 -1
  21. package/lib/browser/index.js +20 -24
  22. package/lib/browser/{repeated-block-8lWplUGg.js → repeated-block-NX4X8qNw.js} +2 -2
  23. package/lib/browser/{repeated-block-wd62QzHL.cjs → repeated-block-QXf4RPYi.cjs} +1 -1
  24. package/lib/browser/server-index.d.ts +1 -1
  25. package/lib/{node/block-styles-LvQRanzO.js → edge/block-styles-nM3GakSc.js} +1 -1
  26. package/lib/edge/{block-styles-3S-cNGqc.cjs → block-styles-og8a90_D.cjs} +1 -1
  27. package/lib/edge/{block-wrapper-K8bx-662.js → block-wrapper-0ze208e0.js} +3 -3
  28. package/lib/{node/block-wrapper-zBWfSpeB.cjs → edge/block-wrapper-GVdLgl_L.cjs} +1 -1
  29. package/lib/{node/component-ref-EaGD0M8C.js → edge/component-ref-9uzzAvEn.js} +2 -2
  30. package/lib/{node/component-ref-cDVRwBVV.cjs → edge/component-ref-KymHsjAn.cjs} +1 -1
  31. package/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -3
  32. package/lib/edge/components/content/content.vue.d.ts +0 -3
  33. package/lib/edge/components/content-variants/content-variants.types.d.ts +0 -2
  34. package/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -3
  35. package/lib/edge/constants/sdk-version.d.ts +1 -1
  36. package/lib/edge/functions/get-content/index.d.ts +0 -10
  37. package/lib/edge/functions/get-content/types.d.ts +0 -11
  38. package/lib/edge/functions/register-component.d.ts +0 -9
  39. package/lib/{node/get-block-properties-BzFnffon.js → edge/get-block-properties-Sj2bfcdv.js} +1 -1
  40. package/lib/edge/{get-block-properties-iw3OdHrP.cjs → get-block-properties-hfo11TK8.cjs} +1 -1
  41. package/lib/edge/{index--HHuGCHA.cjs → index-MZywxJJr.cjs} +30 -30
  42. package/lib/edge/{index-m4U8kFb2.js → index-cXhNpyrk.js} +1386 -1417
  43. package/lib/edge/index-helpers/blocks-exports.d.ts +0 -121
  44. package/lib/edge/index.cjs +1 -1
  45. package/lib/edge/index.js +20 -24
  46. package/lib/edge/{repeated-block-dpBMDmLF.cjs → repeated-block-gB4qWScI.cjs} +1 -1
  47. package/lib/edge/{repeated-block-y9wjDQwk.js → repeated-block-vR_rOzto.js} +2 -2
  48. package/lib/edge/server-index.d.ts +1 -1
  49. package/lib/{edge/block-styles-GWwtTBOa.js → node/block-styles-2eD0_ilN.js} +1 -1
  50. package/lib/node/{block-styles-AGTK3ZdM.cjs → block-styles-8QKhMpOu.cjs} +1 -1
  51. package/lib/node/{block-wrapper-II4ojYnp.js → block-wrapper-0C2rsISY.js} +3 -3
  52. package/lib/{edge/block-wrapper-poSyjD06.cjs → node/block-wrapper-nD8Aqg5u.cjs} +1 -1
  53. package/lib/{edge/component-ref-hvsNvKeU.js → node/component-ref-n65Xlkfj.js} +2 -2
  54. package/lib/{edge/component-ref-XGWac3jR.cjs → node/component-ref-xqgMkHpl.cjs} +1 -1
  55. package/lib/node/components/content/components/enable-editor.vue.d.ts +0 -3
  56. package/lib/node/components/content/content.vue.d.ts +0 -3
  57. package/lib/node/components/content-variants/content-variants.types.d.ts +0 -2
  58. package/lib/node/components/content-variants/content-variants.vue.d.ts +0 -3
  59. package/lib/node/constants/sdk-version.d.ts +1 -1
  60. package/lib/node/functions/get-content/index.d.ts +0 -10
  61. package/lib/node/functions/get-content/types.d.ts +0 -11
  62. package/lib/node/functions/register-component.d.ts +0 -9
  63. package/lib/node/{get-block-properties-kno3efeu.cjs → get-block-properties-hNJGG8C9.cjs} +1 -1
  64. package/lib/{edge/get-block-properties-52TjzPmw.js → node/get-block-properties-vV36E1dY.js} +1 -1
  65. package/lib/node/{index-Rdghmqju.cjs → index-ISa2itzg.cjs} +8 -8
  66. package/lib/node/{index-F38jg9qf.js → index-VLYHUWR3.js} +218 -246
  67. package/lib/node/index-helpers/blocks-exports.d.ts +0 -121
  68. package/lib/node/index.cjs +1 -1
  69. package/lib/node/index.js +20 -24
  70. package/lib/node/{repeated-block-d6NkhW6B.js → repeated-block-H1kFAxq6.js} +2 -2
  71. package/lib/node/{repeated-block-awHmNE3o.cjs → repeated-block-xeAYfiK5.cjs} +1 -1
  72. package/lib/node/server-index.d.ts +1 -1
  73. package/package.json +1 -1
@@ -1 +1 @@
1
- var y=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-td6tu50h.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 p(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 k=t._export_sfc(h,[["render",p]]);exports.default=k;
1
+ var y=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index-EQqGfI3J.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 p(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 k=t._export_sfc(h,[["render",p]]);exports.default=k;
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
2
  import { defineComponent as k, resolveComponent as y, openBlock as x, createBlock as f, createCommentVNode as B } from "vue";
3
- import { _, T as b, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-G5gQ-de1.js";
3
+ import { _, T as b, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-EjEFGone.js";
4
4
  const v = k({
5
5
  name: "block-styles",
6
6
  components: { InlinedStyles: _ },
@@ -1,8 +1,8 @@
1
1
  import "./style.css";
2
2
  import { defineComponent as o, defineAsyncComponent as r, resolveComponent as n, openBlock as a, createBlock as c, withCtx as i, renderSlot as p } from "vue";
3
- import { g as s, a as l } from "./get-block-properties-E1fQUQGr.js";
4
- import { e as m } from "./index-G5gQ-de1.js";
5
- const d = () => import("./index-G5gQ-de1.js").then((e) => e.J).then((e) => e.default).catch((e) => {
3
+ import { g as s, a as l } from "./get-block-properties-ijlhyTBV.js";
4
+ import { e as m } from "./index-EjEFGone.js";
5
+ const d = () => import("./index-EjEFGone.js").then((e) => e.E).then((e) => e.default).catch((e) => {
6
6
  throw console.error(
7
7
  "Error while attempting to dynamically import component DynamicRenderer at ../../dynamic-renderer/dynamic-renderer.vue",
8
8
  e
@@ -1 +1 @@
1
- var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-7tpIl-af.cjs"),n=require("./index-td6tu50h.cjs"),c=()=>Promise.resolve().then(()=>require("./index-td6tu50h.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
+ var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=require("./get-block-properties-a6w9tGuX.cjs"),n=require("./index-EQqGfI3J.cjs"),c=()=>Promise.resolve().then(()=>require("./index-EQqGfI3J.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,7 +1,7 @@
1
1
  import "./style.css";
2
2
  import { defineComponent as m, openBlock as r, createBlock as l, resolveDynamicComponent as k, mergeProps as d, withCtx as u, renderSlot as P, resolveComponent as B, normalizeProps as g, createElementBlock as $, Fragment as v, renderList as S, createCommentVNode as W } from "vue";
3
- import { e as f, B as h, w } from "./index-G5gQ-de1.js";
4
- import { g as R, a as b } from "./get-block-properties-E1fQUQGr.js";
3
+ import { e as f, B as h, w } from "./index-EjEFGone.js";
4
+ import { g as R, a as b } from "./get-block-properties-ijlhyTBV.js";
5
5
  const I = m({
6
6
  name: "interactive-element",
7
7
  props: ["wrapperProps", "includeBlockProps", "block", "context", "Wrapper"],
@@ -1 +1 @@
1
- var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-td6tu50h.cjs"),a=require("./get-block-properties-7tpIl-af.cjs"),u=o.defineComponent({name:"interactive-element",props:["wrapperProps","includeBlockProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function d(e,t,c,l,n,s){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:e.includeBlockProps?{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=p._export_sfc(u,[["render",d]]),B=({componentOptions:e,builderBlock:t,context:c,componentRef:l,includeBlockProps:n,isInteractive:s,contextValue:i})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:t,context:i})}:{}};return s?{Wrapper:l,block:t,context:c,wrapperProps:e,includeBlockProps:n}:r},f=o.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?p.wrapComponentRef(m):this.componentRef,getWrapperProps:B}}});function b(e,t,c,l,n,s){const i=o.resolveComponent("block");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.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:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(r,k)=>(o.openBlock(),o.createBlock(i,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):o.createCommentVNode("",!0)}const C=p._export_sfc(f,[["render",b]]);exports.default=C;
1
+ var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),p=require("./index-EQqGfI3J.cjs"),a=require("./get-block-properties-a6w9tGuX.cjs"),u=o.defineComponent({name:"interactive-element",props:["wrapperProps","includeBlockProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function d(e,t,c,l,n,s){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:e.includeBlockProps?{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const m=p._export_sfc(u,[["render",d]]),B=({componentOptions:e,builderBlock:t,context:c,componentRef:l,includeBlockProps:n,isInteractive:s,contextValue:i})=>{const r={...e,...n?{attributes:a.getBlockProperties({block:t,context:i})}:{}};return s?{Wrapper:l,block:t,context:c,wrapperProps:e,includeBlockProps:n}:r},f=o.defineComponent({name:"component-ref",components:{Block:p.Block,InteractiveElement:m},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?p.wrapComponentRef(m):this.componentRef,getWrapperProps:B}}});function b(e,t,c,l,n,s){const i=o.resolveComponent("block");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.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:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(r,k)=>(o.openBlock(),o.createBlock(i,{key:r.id,block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):o.createCommentVNode("",!0)}const C=p._export_sfc(f,[["render",b]]);exports.default=C;
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
11
11
  model?: any;
12
12
  trustedHosts?: any;
13
13
  locale?: any;
14
- includeRefs?: any;
15
14
  enrich?: any;
16
15
  showContent?: any;
17
16
  contentWrapperProps?: any;
@@ -87,7 +86,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
87
86
  model?: any;
88
87
  trustedHosts?: any;
89
88
  locale?: any;
90
- includeRefs?: any;
91
89
  enrich?: any;
92
90
  showContent?: any;
93
91
  contentWrapperProps?: any;
@@ -102,7 +100,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
102
100
  readonly model?: any;
103
101
  readonly trustedHosts?: any;
104
102
  readonly locale?: any;
105
- readonly includeRefs?: any;
106
103
  readonly enrich?: any;
107
104
  readonly showContent?: any;
108
105
  readonly contentWrapperProps?: any;
@@ -14,7 +14,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
14
14
  model?: any;
15
15
  trustedHosts?: any;
16
16
  locale?: any;
17
- includeRefs?: any;
18
17
  enrich?: any;
19
18
  showContent?: any;
20
19
  contentWrapperProps?: any;
@@ -55,7 +54,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
55
54
  model?: any;
56
55
  trustedHosts?: any;
57
56
  locale?: any;
58
- includeRefs?: any;
59
57
  enrich?: any;
60
58
  showContent?: any;
61
59
  contentWrapperProps?: any;
@@ -75,7 +73,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
75
73
  readonly model?: any;
76
74
  readonly trustedHosts?: any;
77
75
  readonly locale?: any;
78
- readonly includeRefs?: any;
79
76
  readonly enrich?: any;
80
77
  readonly showContent?: any;
81
78
  readonly contentWrapperProps?: any;
@@ -42,8 +42,6 @@ export interface ContentVariantsPrps {
42
42
  * If provided, the API will auto-resolve localized objects to the value of this `locale` key (optional).
43
43
  */
44
44
  locale?: string;
45
- /** @deprecated use `enrich` instead */
46
- includeRefs?: boolean;
47
45
  /**
48
46
  * A boolean to enable or disable enriching API content (optional).
49
47
  *
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
11
11
  model?: any;
12
12
  trustedHosts?: any;
13
13
  locale?: any;
14
- includeRefs?: any;
15
14
  enrich?: any;
16
15
  contentWrapperProps?: any;
17
16
  customComponents?: any;
@@ -62,7 +61,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
62
61
  model?: any;
63
62
  trustedHosts?: any;
64
63
  locale?: any;
65
- includeRefs?: any;
66
64
  enrich?: any;
67
65
  contentWrapperProps?: any;
68
66
  customComponents?: any;
@@ -81,7 +79,6 @@ declare const _default: import("vue").DefineComponent<Readonly<{
81
79
  readonly model?: any;
82
80
  readonly trustedHosts?: any;
83
81
  readonly locale?: any;
84
- readonly includeRefs?: any;
85
82
  readonly enrich?: any;
86
83
  readonly contentWrapperProps?: any;
87
84
  readonly customComponents?: any;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.4";
1
+ export declare const SDK_VERSION = "1.0.2";
@@ -4,12 +4,6 @@ import type { GetContentOptions } from './types.js';
4
4
  * Returns the first content entry that matches the given options.
5
5
  */
6
6
  export declare function fetchOneEntry(options: GetContentOptions): Promise<BuilderContent | null>;
7
- /**
8
- * @deprecated `getContent` was renamed to `fetchOneEntry`. This is a temporary alias to avoid breaking changes.
9
- *
10
- * NOTE: consider using `fetchBuilderProps` instead for easier setup.
11
- */
12
- export declare const getContent: typeof fetchOneEntry;
13
7
  type ContentResults = {
14
8
  results: BuilderContent[];
15
9
  };
@@ -21,8 +15,4 @@ export declare const _processContentResult: (options: GetContentOptions, content
21
15
  * Returns a paginated array of entries that match the given options.
22
16
  */
23
17
  export declare function fetchEntries(options: GetContentOptions): Promise<BuilderContent[] | null>;
24
- /**
25
- * @deprecated `getAllContent` was renamed to `fetchEntries`. This is a temporary alias to avoid breaking changes.
26
- */
27
- export declare const getAllContent: typeof fetchEntries;
28
18
  export {};
@@ -47,12 +47,6 @@ export interface GetContentOptions {
47
47
  * Accepts both a key/value object or a `URLSearchParams` instance
48
48
  * */
49
49
  options?: Record<string, any> | URLSearchParams;
50
- /**
51
- * If set to `true`, it will lazy load symbols/references.
52
- * If set to `false`, it will render the entire content tree eagerly.
53
- * @deprecated use `enrich` instead
54
- */
55
- noTraverse?: boolean;
56
50
  /**
57
51
  * If set to `false`, it will not use cookies to target content. Therefore, A/B Testing will be disabled and
58
52
  * only the default variation will be returned to every user.
@@ -60,11 +54,6 @@ export interface GetContentOptions {
60
54
  * Defaults to `true`.
61
55
  */
62
56
  canTrack?: boolean;
63
- /**
64
- * Include content of references in the response. Defaults to `true`.
65
- * @deprecated use `enrich` instead
66
- */
67
- includeRefs?: boolean;
68
57
  /**
69
58
  * Include multilevel references in the response.
70
59
  */
@@ -1,13 +1,4 @@
1
- import type { RegisteredComponent } from '../context/types.js';
2
1
  import type { ComponentInfo } from '../types/components.js';
3
- /**
4
- * @deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK.
5
- */
6
- export declare const components: RegisteredComponent[];
7
- /**
8
- * @deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK.
9
- */
10
- export declare function registerComponent(component: any, info: ComponentInfo): void;
11
2
  export declare const createRegisterComponentMessage: (info: ComponentInfo) => {
12
3
  type: string;
13
4
  data: ComponentInfo;
@@ -1 +1 @@
1
- var d=require("./style.css");const s=require("./index-td6tu50h.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=c(o);if(e.stripPrefix)switch(s.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(a,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:s.getStyle({block:e,context:t}),[s.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=f;
1
+ var d=require("./style.css");const s=require("./index-EQqGfI3J.cjs"),c=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>r=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function l(e){const t={},r=e.block.actions??{};for(const o in r){if(!r.hasOwnProperty(o))continue;const a=r[o];let n=c(o);if(e.stripPrefix)switch(s.TARGET){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}t[n]=i(a,e)}return t}function u({properties:e}){return e}const p=e=>({href:e.href});function f({block:e,context:t}){var o;const r={...p(e),...e.properties,"builder-id":e.id,style:s.getStyle({block:e,context:t}),[s.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=f;
@@ -1,5 +1,5 @@
1
1
  import "./style.css";
2
- import { f as n, T as c, h as i, i as l } from "./index-G5gQ-de1.js";
2
+ import { f as n, T as c, h as i, i as l } from "./index-EjEFGone.js";
3
3
  const f = (e) => `v-on:${e.toLowerCase()}`, p = (e, t) => (r) => n({
4
4
  code: e,
5
5
  context: t.context,