@builder.io/sdk-vue 1.0.22 → 1.0.24

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 (110) hide show
  1. package/README.md +1 -1
  2. package/lib/browser/{block-styles-WIrvoyUF.cjs → block-styles-AqsWBh8n.cjs} +1 -1
  3. package/lib/browser/{block-styles-VImRioSm.js → block-styles-JAGMZ6Tc.js} +1 -1
  4. package/lib/browser/{block-wrapper-PG29yePT.cjs → block-wrapper-U9mHXcBx.cjs} +1 -1
  5. package/lib/browser/{block-wrapper--ZG8uXgi.js → block-wrapper-vQ6TVx4I.js} +3 -3
  6. package/lib/browser/blocks/button/button.vue.d.ts +9 -2
  7. package/lib/browser/blocks/columns/columns.types.d.ts +1 -1
  8. package/lib/browser/blocks/columns/columns.vue.d.ts +10 -7
  9. package/lib/browser/blocks/columns/helpers.d.ts +1 -0
  10. package/lib/browser/blocks/symbol/symbol.vue.d.ts +2 -0
  11. package/lib/browser/blocks/tabs/component-info.d.ts +2 -0
  12. package/lib/browser/blocks/tabs/index.d.ts +1 -0
  13. package/lib/browser/blocks/tabs/tabs.types.d.ts +13 -0
  14. package/lib/browser/blocks/tabs/tabs.vue.d.ts +37 -0
  15. package/lib/browser/blocks/text/text.types.d.ts +2 -1
  16. package/lib/browser/component-ref-PB9FQs0H.cjs +1 -0
  17. package/lib/browser/component-ref-UxXK_oQ9.js +114 -0
  18. package/lib/browser/components/block/block.helpers.d.ts +2 -0
  19. package/lib/browser/components/block/components/interactive-element.vue.d.ts +6 -9
  20. package/lib/browser/components/content/components/enable-editor.vue.d.ts +11 -3
  21. package/lib/browser/components/content/components/styles.helpers.d.ts +1 -0
  22. package/lib/browser/components/content/content.vue.d.ts +3 -3
  23. package/lib/browser/components/dynamic-div.vue.d.ts +14 -0
  24. package/lib/browser/constants/sdk-version.d.ts +1 -1
  25. package/lib/browser/{get-block-properties-jSTzat9q.js → get-block-properties-WomY9Uz3.js} +1 -1
  26. package/lib/browser/{get-block-properties-iG0EdCc7.cjs → get-block-properties-l_2EFz8K.cjs} +1 -1
  27. package/lib/browser/{index-_VfPZEOT.js → index-RKqYbwKX.js} +1120 -877
  28. package/lib/browser/index-XkfCPmFN.cjs +166 -0
  29. package/lib/browser/index.cjs +1 -1
  30. package/lib/browser/index.js +1 -1
  31. package/lib/browser/{repeated-block-GitdVuPz.cjs → repeated-block-t7OPnrIf.cjs} +1 -1
  32. package/lib/browser/{repeated-block-LywEnyR6.js → repeated-block-zjI4fh5M.js} +2 -2
  33. package/lib/browser/style.css +1 -1
  34. package/lib/browser/types/targets.d.ts +1 -1
  35. package/lib/edge/{block-styles-eJqBAPHH.cjs → block-styles-OkLWCtV5.cjs} +1 -1
  36. package/lib/{node/block-styles-_OMTv9sJ.js → edge/block-styles-bkESH_mn.js} +1 -1
  37. package/lib/{node/block-wrapper-olhoZ1Gm.cjs → edge/block-wrapper-KK35HMeY.cjs} +1 -1
  38. package/lib/edge/{block-wrapper-E58yJMa2.js → block-wrapper-VOm7___d.js} +3 -3
  39. package/lib/edge/blocks/button/button.vue.d.ts +9 -2
  40. package/lib/edge/blocks/columns/columns.types.d.ts +1 -1
  41. package/lib/edge/blocks/columns/columns.vue.d.ts +10 -7
  42. package/lib/edge/blocks/columns/helpers.d.ts +1 -0
  43. package/lib/edge/blocks/symbol/symbol.vue.d.ts +2 -0
  44. package/lib/edge/blocks/tabs/component-info.d.ts +2 -0
  45. package/lib/edge/blocks/tabs/index.d.ts +1 -0
  46. package/lib/edge/blocks/tabs/tabs.types.d.ts +13 -0
  47. package/lib/edge/blocks/tabs/tabs.vue.d.ts +37 -0
  48. package/lib/edge/blocks/text/text.types.d.ts +2 -1
  49. package/lib/edge/component-ref-3uf44rnP.cjs +1 -0
  50. package/lib/edge/component-ref-94hspLkE.js +113 -0
  51. package/lib/edge/components/block/block.helpers.d.ts +2 -0
  52. package/lib/edge/components/block/components/interactive-element.vue.d.ts +6 -9
  53. package/lib/edge/components/content/components/enable-editor.vue.d.ts +11 -3
  54. package/lib/edge/components/content/components/styles.helpers.d.ts +1 -0
  55. package/lib/edge/components/content/content.vue.d.ts +3 -3
  56. package/lib/edge/components/dynamic-div.vue.d.ts +14 -0
  57. package/lib/edge/constants/sdk-version.d.ts +1 -1
  58. package/lib/edge/{get-block-properties-ozEWpZlZ.cjs → get-block-properties-GT0BtW_S.cjs} +1 -1
  59. package/lib/edge/{get-block-properties-RLx998wH.js → get-block-properties-btaXJ-_5.js} +1 -1
  60. package/lib/edge/{index-53gkK1JA.js → index-AKG501T6.js} +1676 -1433
  61. package/lib/edge/index-s5fwQ-TJ.cjs +186 -0
  62. package/lib/edge/index.cjs +1 -1
  63. package/lib/edge/index.js +1 -1
  64. package/lib/edge/{repeated-block-kei-SmhT.js → repeated-block-3s5qqStt.js} +2 -2
  65. package/lib/edge/{repeated-block-_7bmUv-Z.cjs → repeated-block-Xk06Gj_k.cjs} +1 -1
  66. package/lib/edge/style.css +1 -1
  67. package/lib/edge/types/targets.d.ts +1 -1
  68. package/lib/node/{block-styles-cJg0zG2x.cjs → block-styles-cN_OBvMe.cjs} +1 -1
  69. package/lib/{edge/block-styles-ZxWEJSxb.js → node/block-styles-uqse0ofP.js} +1 -1
  70. package/lib/{edge/block-wrapper-2Crn7tbG.cjs → node/block-wrapper-YdLCSjlJ.cjs} +1 -1
  71. package/lib/node/{block-wrapper-WFhgV7rM.js → block-wrapper-ZmFcs2zF.js} +3 -3
  72. package/lib/node/blocks/button/button.vue.d.ts +9 -2
  73. package/lib/node/blocks/columns/columns.types.d.ts +1 -1
  74. package/lib/node/blocks/columns/columns.vue.d.ts +10 -7
  75. package/lib/node/blocks/columns/helpers.d.ts +1 -0
  76. package/lib/node/blocks/symbol/symbol.vue.d.ts +2 -0
  77. package/lib/node/blocks/tabs/component-info.d.ts +2 -0
  78. package/lib/node/blocks/tabs/index.d.ts +1 -0
  79. package/lib/node/blocks/tabs/tabs.types.d.ts +13 -0
  80. package/lib/node/blocks/tabs/tabs.vue.d.ts +37 -0
  81. package/lib/node/blocks/text/text.types.d.ts +2 -1
  82. package/lib/node/component-ref-abcMmzlU.js +113 -0
  83. package/lib/node/component-ref-yx_8RjfE.cjs +1 -0
  84. package/lib/node/components/block/block.helpers.d.ts +2 -0
  85. package/lib/node/components/block/components/interactive-element.vue.d.ts +6 -9
  86. package/lib/node/components/content/components/enable-editor.vue.d.ts +11 -3
  87. package/lib/node/components/content/components/styles.helpers.d.ts +1 -0
  88. package/lib/node/components/content/content.vue.d.ts +3 -3
  89. package/lib/node/components/dynamic-div.vue.d.ts +14 -0
  90. package/lib/node/constants/sdk-version.d.ts +1 -1
  91. package/lib/node/{get-block-properties-3AHBPypn.js → get-block-properties-I8BzRJR4.js} +1 -1
  92. package/lib/node/{get-block-properties-azp9C2XD.cjs → get-block-properties-RkncyAEy.cjs} +1 -1
  93. package/lib/node/{index-eF57HLR1.js → index-212Z9gZB.js} +588 -345
  94. package/lib/node/index-7bFP53qm.cjs +213 -0
  95. package/lib/node/index.cjs +1 -1
  96. package/lib/node/index.js +1 -1
  97. package/lib/node/{repeated-block-uRrCR8KR.js → repeated-block-AjtTJdbQ.js} +2 -2
  98. package/lib/node/{repeated-block-AtgGXQbg.cjs → repeated-block-EdVrtW_u.cjs} +1 -1
  99. package/lib/node/style.css +1 -1
  100. package/lib/node/types/targets.d.ts +1 -1
  101. package/package.json +1 -1
  102. package/lib/browser/component-ref-AbXXG_wD.js +0 -114
  103. package/lib/browser/component-ref-Oh6emZ2D.cjs +0 -1
  104. package/lib/browser/index-3lFzntkG.cjs +0 -166
  105. package/lib/edge/component-ref-4M72dsyI.cjs +0 -1
  106. package/lib/edge/component-ref-lMVExvau.js +0 -113
  107. package/lib/edge/index-nVP8G4zp.cjs +0 -186
  108. package/lib/node/component-ref-CnP6F8zd.js +0 -113
  109. package/lib/node/component-ref-Wy04EyRy.cjs +0 -1
  110. package/lib/node/index-my4sBiPM.cjs +0 -213
@@ -0,0 +1,37 @@
1
+ declare const _default: import("vue").DefineComponent<Readonly<{
2
+ builderContext?: any;
3
+ builderLinkComponent?: any;
4
+ builderBlock?: any;
5
+ builderComponents?: any;
6
+ tabs?: any;
7
+ activeTabStyle?: any;
8
+ defaultActiveTab?: any;
9
+ collapsible?: any;
10
+ tabHeaderLayout?: any;
11
+ }>, unknown, {
12
+ activeTab: number;
13
+ }, {}, {
14
+ activeTabContent(active: number): any;
15
+ getActiveTabStyle(index: number): any;
16
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
17
+ builderContext?: any;
18
+ builderLinkComponent?: any;
19
+ builderBlock?: any;
20
+ builderComponents?: any;
21
+ tabs?: any;
22
+ activeTabStyle?: any;
23
+ defaultActiveTab?: any;
24
+ collapsible?: any;
25
+ tabHeaderLayout?: any;
26
+ }>>>, {
27
+ readonly builderContext?: any;
28
+ readonly builderLinkComponent?: any;
29
+ readonly builderBlock?: any;
30
+ readonly builderComponents?: any;
31
+ readonly tabs?: any;
32
+ readonly activeTabStyle?: any;
33
+ readonly defaultActiveTab?: any;
34
+ readonly collapsible?: any;
35
+ readonly tabHeaderLayout?: any;
36
+ }, {}>;
37
+ export default _default;
@@ -1,3 +1,4 @@
1
+ import type { BuilderDataProps } from '../../types/builder-props';
1
2
  export type TextProps = {
2
3
  text?: string;
3
- };
4
+ } & BuilderDataProps;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-s5fwQ-TJ.cjs"),a=require("./get-block-properties-GT0BtW_S.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]]),b=({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},f=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:b}}});function C(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 B=c._export_sfc(f,[["render",C]]);exports.default=B;
@@ -0,0 +1,113 @@
1
+ import { defineComponent as m, openBlock as r, createBlock as a, resolveDynamicComponent as k, mergeProps as u, withCtx as d, renderSlot as h, resolveComponent as P, normalizeProps as B, createElementBlock as g, Fragment as $, renderList as v, createCommentVNode as S } from "vue";
2
+ import { f, B as W, w } from "./index-AKG501T6.js";
3
+ import { a as b, g as R } from "./get-block-properties-btaXJ-_5.js";
4
+ const x = m({
5
+ name: "interactive-element",
6
+ props: ["includeBlockProps", "block", "context", "wrapperProps", "Wrapper"],
7
+ computed: {
8
+ attributes() {
9
+ return this.includeBlockProps ? {
10
+ ...b({
11
+ block: this.block,
12
+ context: this.context
13
+ }),
14
+ ...R({
15
+ block: this.block,
16
+ rootState: this.context.rootState,
17
+ rootSetState: this.context.rootSetState,
18
+ localState: this.context.localState,
19
+ context: this.context.context
20
+ })
21
+ } : {};
22
+ }
23
+ }
24
+ });
25
+ function I(e, t, p, s, o, c) {
26
+ return r(), a(k(e.Wrapper), u({ attributes: e.attributes }, e.wrapperProps), {
27
+ default: d(() => [
28
+ h(e.$slots, "default")
29
+ ]),
30
+ _: 3
31
+ }, 16, ["attributes"]);
32
+ }
33
+ const l = /* @__PURE__ */ f(x, [["render", I]]), E = ({
34
+ componentOptions: e,
35
+ builderBlock: t,
36
+ context: p,
37
+ componentRef: s,
38
+ includeBlockProps: o,
39
+ isInteractive: c,
40
+ contextValue: i
41
+ }) => {
42
+ const n = {
43
+ ...e,
44
+ /**
45
+ * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
46
+ * component itself directly. Otherwise, they are provided to the wrapper element.
47
+ */
48
+ ...o ? {
49
+ attributes: b({
50
+ block: t,
51
+ context: i
52
+ })
53
+ } : {}
54
+ };
55
+ return c ? {
56
+ Wrapper: s,
57
+ block: t,
58
+ context: p,
59
+ wrapperProps: e,
60
+ includeBlockProps: o
61
+ } : n;
62
+ }, y = m({
63
+ name: "component-ref",
64
+ components: { Block: W, InteractiveElement: l },
65
+ props: [
66
+ "isInteractive",
67
+ "componentRef",
68
+ "componentOptions",
69
+ "builderBlock",
70
+ "context",
71
+ "linkComponent",
72
+ "includeBlockProps",
73
+ "blockChildren",
74
+ "registeredComponents"
75
+ ],
76
+ data() {
77
+ return {
78
+ Wrapper: this.isInteractive ? w(l) : this.componentRef,
79
+ getWrapperProps: E
80
+ };
81
+ }
82
+ });
83
+ function A(e, t, p, s, o, c) {
84
+ const i = P("block");
85
+ return e.componentRef ? (r(), a(k(e.Wrapper), B(u(
86
+ { key: 0 },
87
+ e.getWrapperProps({
88
+ componentOptions: e.componentOptions,
89
+ builderBlock: e.builderBlock,
90
+ context: e.context,
91
+ componentRef: e.componentRef,
92
+ linkComponent: e.linkComponent,
93
+ includeBlockProps: e.includeBlockProps,
94
+ isInteractive: e.isInteractive,
95
+ contextValue: e.context
96
+ })
97
+ )), {
98
+ default: d(() => [
99
+ (r(!0), g($, null, v(e.blockChildren, (n, C) => (r(), a(i, {
100
+ key: n.id,
101
+ block: n,
102
+ context: e.context,
103
+ registeredComponents: e.registeredComponents,
104
+ linkComponent: e.linkComponent
105
+ }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128))
106
+ ]),
107
+ _: 1
108
+ }, 16)) : S("", !0);
109
+ }
110
+ const D = /* @__PURE__ */ f(y, [["render", A]]);
111
+ export {
112
+ D as default
113
+ };
@@ -14,3 +14,5 @@ export declare const getInheritedStyles: ({ block, context }: {
14
14
  block: BuilderBlock;
15
15
  context: BuilderContextInterface;
16
16
  }) => Partial<CSSStyleDeclaration>;
17
+ export declare const shouldPassLinkComponent: (blockName: string | undefined) => boolean | "" | undefined;
18
+ export declare const shouldPassRegisteredComponents: (blockName: string | undefined) => boolean | "" | undefined;
@@ -1,6 +1,4 @@
1
1
  import type { BuilderContextInterface } from "../../../context/types";
2
- import { getBlockActions } from "../../../functions/get-block-actions";
3
- import { getBlockProperties } from "../../../functions/get-block-properties";
4
2
  import type { BuilderBlock } from "../../../types/builder-block";
5
3
  import type { Dictionary } from "../../../types/typescript";
6
4
  export type InteractiveElementProps = {
@@ -14,23 +12,22 @@ export type InteractiveElementProps = {
14
12
  declare const _default: import("vue").DefineComponent<Readonly<{
15
13
  context?: any;
16
14
  block?: any;
17
- wrapperProps?: any;
18
15
  includeBlockProps?: any;
16
+ wrapperProps?: any;
19
17
  Wrapper?: any;
20
- }>, unknown, {
21
- getBlockActions: typeof getBlockActions;
22
- getBlockProperties: typeof getBlockProperties;
23
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
18
+ }>, unknown, unknown, {
19
+ attributes(): {};
20
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
24
21
  context?: any;
25
22
  block?: any;
26
- wrapperProps?: any;
27
23
  includeBlockProps?: any;
24
+ wrapperProps?: any;
28
25
  Wrapper?: any;
29
26
  }>>>, {
30
27
  readonly context?: any;
31
28
  readonly block?: any;
32
- readonly wrapperProps?: any;
33
29
  readonly includeBlockProps?: any;
30
+ readonly wrapperProps?: any;
34
31
  readonly Wrapper?: any;
35
32
  }, {}>;
36
33
  export default _default;
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
11
11
  enrich?: any;
12
12
  trustedHosts?: any;
13
13
  model?: any;
14
- contentWrapper?: any;
15
14
  showContent?: any;
15
+ contentWrapper?: any;
16
16
  contentWrapperProps?: any;
17
17
  }>, unknown, {
18
18
  ContentWrapper: any;
@@ -35,7 +35,15 @@ declare const _default: import("vue").DefineComponent<Readonly<{
35
35
  };
36
36
  key: symbol;
37
37
  };
38
+ getWrapperClassName: (variationId?: string | undefined) => string;
38
39
  }, {
40
+ showContentProps(): {
41
+ hidden?: undefined;
42
+ "aria-hidden"?: undefined;
43
+ } | {
44
+ hidden: boolean;
45
+ "aria-hidden": boolean;
46
+ };
39
47
  onUpdateHook0(): {
40
48
  0: any;
41
49
  };
@@ -75,8 +83,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
75
83
  enrich?: any;
76
84
  trustedHosts?: any;
77
85
  model?: any;
78
- contentWrapper?: any;
79
86
  showContent?: any;
87
+ contentWrapper?: any;
80
88
  contentWrapperProps?: any;
81
89
  }>>>, {
82
90
  readonly data?: any;
@@ -89,8 +97,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
89
97
  readonly enrich?: any;
90
98
  readonly trustedHosts?: any;
91
99
  readonly model?: any;
92
- readonly contentWrapper?: any;
93
100
  readonly showContent?: any;
101
+ readonly contentWrapper?: any;
94
102
  readonly contentWrapperProps?: any;
95
103
  }, {}>;
96
104
  export default _default;
@@ -14,3 +14,4 @@ export declare const getCss: ({ cssCode, contentId }: {
14
14
  contentId?: string | undefined;
15
15
  }) => string;
16
16
  export declare const getDefaultStyles: (isNested: boolean | undefined) => "" | "\n.builder-button {\n all: unset;\n}\n\n.builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {\n margin: 0;\n}\n.builder-text > p, .builder-text > .builder-paragraph {\n color: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n font-weight: inherit;\n font-size: inherit;\n text-align: inherit;\n font-family: inherit;\n}\n";
17
+ export declare const getWrapperClassName: (variationId?: string) => string;
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
14
14
  enrich?: any;
15
15
  trustedHosts?: any;
16
16
  model?: any;
17
- contentWrapper?: any;
18
17
  showContent?: any;
18
+ contentWrapper?: any;
19
19
  contentWrapperProps?: any;
20
20
  isNestedRender?: any;
21
21
  customComponents?: any;
@@ -55,8 +55,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
55
55
  enrich?: any;
56
56
  trustedHosts?: any;
57
57
  model?: any;
58
- contentWrapper?: any;
59
58
  showContent?: any;
59
+ contentWrapper?: any;
60
60
  contentWrapperProps?: any;
61
61
  isNestedRender?: any;
62
62
  customComponents?: any;
@@ -75,8 +75,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
75
75
  readonly enrich?: any;
76
76
  readonly trustedHosts?: any;
77
77
  readonly model?: any;
78
- readonly contentWrapper?: any;
79
78
  readonly showContent?: any;
79
+ readonly contentWrapper?: any;
80
80
  readonly contentWrapperProps?: any;
81
81
  readonly isNestedRender?: any;
82
82
  readonly customComponents?: any;
@@ -0,0 +1,14 @@
1
+ export interface DynamicDivProps {
2
+ children?: any;
3
+ attributes: any;
4
+ actionAttributes: any;
5
+ BlockWrapperProps: any;
6
+ builderPath: any;
7
+ builderParentId: any;
8
+ BlocksWrapperProps: any;
9
+ contentWrapperProps: any;
10
+ builderModel: any;
11
+ ref: any;
12
+ }
13
+ declare const _default: import("vue").DefineComponent<Readonly<{}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{}>>>, {}, {}>;
14
+ export default _default;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.22";
1
+ export declare const SDK_VERSION = "1.0.24";
@@ -1 +1 @@
1
- "use strict";const a=require("./index-nVP8G4zp.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-s5fwQ-TJ.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-53gkK1JA.js";
1
+ import { h as s, T as c, i, j as l } from "./index-AKG501T6.js";
2
2
  const u = (e) => `v-on:${e.toLowerCase()}`, f = (e, t) => (r) => s({
3
3
  code: e,
4
4
  context: t.context,