@builder.io/sdk-vue 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.4667431d.js → block-styles.5729b057.js} +18 -17
  3. package/packages/_vue2/dist/block-styles.cb3c2dd0.cjs +1 -0
  4. package/packages/{_vue3/dist/css.3241302b.cjs → _vue2/dist/css.2efa95fa.cjs} +1 -1
  5. package/packages/{_vue3/dist/css.81a21c5a.js → _vue2/dist/css.a54ddc90.js} +1 -1
  6. package/packages/_vue2/dist/{index.eb91dc82.js → index.6a9eec41.js} +356 -354
  7. package/packages/_vue2/dist/index.8547cce2.cjs +29 -0
  8. package/packages/_vue2/dist/{render-block.6f9a607a.js → render-block.4c7d7ca1.js} +43 -42
  9. package/packages/_vue2/dist/render-block.753d2325.cjs +3 -0
  10. package/packages/_vue2/dist/render-component.84d45798.js +38 -0
  11. package/packages/_vue2/dist/render-component.90275cfa.cjs +1 -0
  12. package/packages/_vue2/dist/render-inlined-styles.1999f52e.cjs +1 -0
  13. package/packages/_vue2/dist/render-inlined-styles.1fa49816.js +34 -0
  14. package/packages/_vue2/dist/{render-repeated-block.1bb5c2fb.js → render-repeated-block.900e2543.js} +15 -13
  15. package/packages/_vue2/dist/render-repeated-block.f522a309.cjs +1 -0
  16. package/packages/_vue2/dist/render-styles.15b8cdf0.cjs +31 -0
  17. package/packages/_vue2/dist/{render-styles.0d1f8872.js → render-styles.591ca7be.js} +26 -25
  18. package/packages/_vue2/dist/sdk.cjs +1 -1
  19. package/packages/_vue2/dist/sdk.js +23 -22
  20. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +19 -8
  21. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +29 -174
  22. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +9 -13
  23. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +13 -20
  24. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  25. package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +72 -0
  26. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +8 -11
  27. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +12 -7
  28. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +15 -245
  29. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +7 -4
  30. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +42 -7
  31. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  32. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +3 -86
  33. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +3 -86
  34. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -84
  35. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +23 -127
  36. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  37. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +46 -212
  38. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  39. package/packages/_vue2/dist/src/index.d.ts +1 -0
  40. package/packages/_vue2/dist/style.css +1 -1
  41. package/packages/_vue3/dist/block-styles.56f7b28a.cjs +1 -0
  42. package/packages/_vue3/dist/block-styles.f06f105b.js +69 -0
  43. package/packages/{_vue2/dist/css.468435de.js → _vue3/dist/css.2ff361fc.js} +1 -1
  44. package/packages/{_vue2/dist/css.dce6e4eb.cjs → _vue3/dist/css.f83437ab.cjs} +1 -1
  45. package/packages/_vue3/dist/{index.45ab85e5.js → index.0aed90df.js} +785 -784
  46. package/packages/_vue3/dist/index.d72bde22.cjs +29 -0
  47. package/packages/_vue3/dist/render-block.4e95bb8d.cjs +3 -0
  48. package/packages/_vue3/dist/{render-block.ec4c1913.js → render-block.905bcce5.js} +88 -109
  49. package/packages/_vue3/dist/render-component.0a7c094b.cjs +1 -0
  50. package/packages/_vue3/dist/render-component.b4a311b8.js +42 -0
  51. package/packages/_vue3/dist/render-inlined-styles.454bc38b.js +32 -0
  52. package/packages/_vue3/dist/render-inlined-styles.a596482a.cjs +1 -0
  53. package/packages/_vue3/dist/render-repeated-block.12894c71.js +38 -0
  54. package/packages/_vue3/dist/render-repeated-block.a95715ec.cjs +1 -0
  55. package/packages/_vue3/dist/{render-styles.cf6faa29.js → render-styles.90b25836.js} +33 -33
  56. package/packages/_vue3/dist/render-styles.b6bf070d.cjs +31 -0
  57. package/packages/_vue3/dist/sdk.cjs +1 -1
  58. package/packages/_vue3/dist/sdk.js +1 -1
  59. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +19 -8
  60. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +45 -91
  61. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +16 -13
  62. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +17 -20
  63. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  64. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +54 -14
  65. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +27 -11
  66. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +12 -7
  67. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +25 -162
  68. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +7 -4
  69. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +42 -7
  70. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  71. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +2 -2
  72. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +2 -2
  73. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -8
  74. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +23 -44
  75. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  76. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +77 -129
  77. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  78. package/packages/_vue3/dist/src/index.d.ts +1 -0
  79. package/packages/_vue3/dist/style.css +1 -1
  80. package/packages/_vue2/dist/block-styles.7c2a87df.cjs +0 -1
  81. package/packages/_vue2/dist/index.78ba6586.cjs +0 -29
  82. package/packages/_vue2/dist/render-block.67e4dd65.cjs +0 -3
  83. package/packages/_vue2/dist/render-component.10d6c8d2.js +0 -37
  84. package/packages/_vue2/dist/render-component.3578089b.cjs +0 -1
  85. package/packages/_vue2/dist/render-inlined-styles.56373d13.cjs +0 -1
  86. package/packages/_vue2/dist/render-inlined-styles.942eb38d.js +0 -33
  87. package/packages/_vue2/dist/render-repeated-block.18d7fc6e.cjs +0 -1
  88. package/packages/_vue2/dist/render-styles.de7287b6.cjs +0 -31
  89. package/packages/_vue3/dist/block-styles.09955b0c.cjs +0 -1
  90. package/packages/_vue3/dist/block-styles.6bd36a5a.js +0 -69
  91. package/packages/_vue3/dist/index.cca81180.cjs +0 -29
  92. package/packages/_vue3/dist/render-block.33cc5768.cjs +0 -3
  93. package/packages/_vue3/dist/render-component.3bd8dc76.js +0 -26
  94. package/packages/_vue3/dist/render-component.c0d5e797.cjs +0 -1
  95. package/packages/_vue3/dist/render-inlined-styles.952d2fff.js +0 -32
  96. package/packages/_vue3/dist/render-inlined-styles.b55b6667.cjs +0 -1
  97. package/packages/_vue3/dist/render-repeated-block.263f0cec.js +0 -37
  98. package/packages/_vue3/dist/render-repeated-block.c3c9e926.cjs +0 -1
  99. package/packages/_vue3/dist/render-styles.d1ac3a18.cjs +0 -31
@@ -1,7 +1,8 @@
1
- import { n as c } from "./index.eb91dc82.js";
2
- const f = (e) => {
3
- var a, o;
4
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), r = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
1
+ import { defineComponent as f } from "vue";
2
+ import { n as c } from "./index.6a9eec41.js";
3
+ const d = (e) => {
4
+ var o, a;
5
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), r = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
5
6
  let l = "";
6
7
  if (i && t && r && (l += `
7
8
  @font-face {
@@ -25,20 +26,20 @@ font-weight: ${n};
25
26
  `.trim());
26
27
  }
27
28
  return l;
28
- }, d = ({ customFonts: e }) => {
29
+ }, m = ({ customFonts: e }) => {
29
30
  var t;
30
- return ((t = e == null ? void 0 : e.map((r) => f(r))) == null ? void 0 : t.join(" ")) || "";
31
+ return ((t = e == null ? void 0 : e.map((r) => d(r))) == null ? void 0 : t.join(" ")) || "";
31
32
  }, u = ({
32
33
  cssCode: e,
33
34
  contentId: t
34
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", m = () => import("./render-inlined-styles.942eb38d.js").then((e) => e.default).catch((e) => {
35
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", p = () => import("./render-inlined-styles.1fa49816.js").then((e) => e.default).catch((e) => {
35
36
  throw console.error(
36
37
  "Error while attempting to dynamically import component RenderInlinedStyles at ../../render-inlined-styles.vue",
37
38
  e
38
39
  ), e;
39
- }), p = {
40
+ }), h = f({
40
41
  name: "render-content-styles",
41
- components: { RenderInlinedStyles: m },
42
+ components: { RenderInlinedStyles: p },
42
43
  props: ["cssCode", "contentId", "customFonts"],
43
44
  data() {
44
45
  return {
@@ -47,40 +48,40 @@ ${u({
47
48
  cssCode: this.cssCode,
48
49
  contentId: this.contentId
49
50
  })}
50
- ${d({
51
+ ${m({
51
52
  customFonts: this.customFonts
52
53
  })}
53
54
 
54
55
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
55
- margin: 0;
56
+ margin: 0;
56
57
  }
57
58
  .builder-text > p, .builder-text > .builder-paragraph {
58
- color: inherit;
59
- line-height: inherit;
60
- letter-spacing: inherit;
61
- font-weight: inherit;
62
- font-size: inherit;
63
- text-align: inherit;
64
- font-family: inherit;
59
+ color: inherit;
60
+ line-height: inherit;
61
+ letter-spacing: inherit;
62
+ font-weight: inherit;
63
+ font-size: inherit;
64
+ text-align: inherit;
65
+ font-family: inherit;
65
66
  }
66
67
  `
67
68
  };
68
69
  }
69
- };
70
- var h = function() {
70
+ });
71
+ var y = function() {
71
72
  var t = this, r = t._self._c;
72
- return r("render-inlined-styles", { attrs: { styles: t.injectedStyles } });
73
- }, y = [], g = /* @__PURE__ */ c(
74
- p,
73
+ return t._self._setupProxy, r("render-inlined-styles", { attrs: { styles: t.injectedStyles } });
74
+ }, g = [], _ = /* @__PURE__ */ c(
75
75
  h,
76
76
  y,
77
+ g,
77
78
  !1,
78
79
  null,
79
80
  null,
80
81
  null,
81
82
  null
82
83
  );
83
- const w = g.exports;
84
+ const x = _.exports;
84
85
  export {
85
- w as default
86
+ x as default
86
87
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.78ba6586.cjs");exports.Button=e.Button;exports.Columns=e.Columns;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.renderBlocks;exports.RenderContent=e.renderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports.components=e.components;exports.convertSearchParamsToQueryObject=e.convertSearchParamsToQueryObject;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getBuilderSearchParamsFromWindow=e.getBuilderSearchParamsFromWindow;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.normalizeSearchParams=e.normalizeSearchParams;exports.register=e.register;exports.registerComponent=e.registerComponent;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.8547cce2.cjs");require("vue");exports.Button=e.Button;exports.Columns=e.Columns;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.renderBlocks;exports.RenderContent=e.renderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports.components=e.components;exports.convertSearchParamsToQueryObject=e.convertSearchParamsToQueryObject;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getBuilderSearchParamsFromWindow=e.getBuilderSearchParamsFromWindow;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.normalizeSearchParams=e.normalizeSearchParams;exports.register=e.register;exports.registerComponent=e.registerComponent;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
@@ -1,27 +1,28 @@
1
- import { b as s, C as t, F as r, I as n, r as o, d as i, S as m, h as g, i as c, V as d, l, v as S, o as C, u, w as h, x as p, q as P, j as B, k as b, y as k, p as v, m as w, s as x, t as y } from "./index.eb91dc82.js";
1
+ import { b as t, C as r, F as o, I as n, r as i, d as m, S as g, h as c, i as d, V as l, l as S, v as C, o as p, u, w as h, x as P, q as B, j as b, k, y as v, p as w, m as x, s as y, t as F } from "./index.6a9eec41.js";
2
+ import "vue";
2
3
  export {
3
- s as Button,
4
- t as Columns,
5
- r as Fragment,
4
+ t as Button,
5
+ r as Columns,
6
+ o as Fragment,
6
7
  n as Image,
7
- o as RenderBlocks,
8
- i as RenderContent,
9
- m as Section,
10
- g as Symbol,
11
- c as Text,
12
- d as Video,
13
- l as components,
14
- S as convertSearchParamsToQueryObject,
15
- C as createRegisterComponentMessage,
8
+ i as RenderBlocks,
9
+ m as RenderContent,
10
+ g as Section,
11
+ c as Symbol,
12
+ d as Text,
13
+ l as Video,
14
+ S as components,
15
+ C as convertSearchParamsToQueryObject,
16
+ p as createRegisterComponentMessage,
16
17
  u as getAllContent,
17
18
  h as getBuilderSearchParams,
18
- p as getBuilderSearchParamsFromWindow,
19
- P as getContent,
20
- B as isEditing,
21
- b as isPreviewing,
22
- k as normalizeSearchParams,
23
- v as register,
24
- w as registerComponent,
25
- x as setEditorSettings,
26
- y as track
19
+ P as getBuilderSearchParamsFromWindow,
20
+ B as getContent,
21
+ b as isEditing,
22
+ k as isPreviewing,
23
+ v as normalizeSearchParams,
24
+ w as register,
25
+ x as registerComponent,
26
+ y as setEditorSettings,
27
+ F as track
27
28
  };
@@ -4,12 +4,23 @@ export interface ButtonProps {
4
4
  link?: string;
5
5
  openLinkInNewTab?: boolean;
6
6
  }
7
- declare const _sfc_main: {
8
- name: string;
9
- props: string[];
10
- methods: {
11
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
12
- _classStringToObject(str: any): {};
13
- };
14
- };
7
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
8
+ link?: any;
9
+ attributes?: any;
10
+ text?: any;
11
+ openLinkInNewTab?: any;
12
+ }>, {}, {}, {}, {
13
+ filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
14
+ _classStringToObject(str: any): {};
15
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
16
+ link?: any;
17
+ attributes?: any;
18
+ text?: any;
19
+ openLinkInNewTab?: any;
20
+ }>>>, {
21
+ readonly link?: any;
22
+ readonly attributes?: any;
23
+ readonly text?: any;
24
+ readonly openLinkInNewTab?: any;
25
+ }>;
15
26
  export default _sfc_main;
@@ -1,3 +1,6 @@
1
+ import type { BuilderBlock } from "../../types/builder-block";
2
+ import type { SizeName } from "../../constants/device-sizes";
3
+ import type { Dictionary } from "../../types/typescript";
1
4
  type Column = {
2
5
  blocks: BuilderBlock[];
3
6
  width?: number;
@@ -11,178 +14,30 @@ export interface ColumnProps {
11
14
  stackColumnsAt?: StackColumnsAt;
12
15
  reverseColumnsWhenStacked?: boolean;
13
16
  }
14
- import { BuilderBlock } from "../../types/builder-block";
15
- import { SizeName } from "../../constants/device-sizes";
16
- declare const _sfc_main: {
17
- name: string;
18
- components: {
19
- RenderInlinedStyles: () => Promise<{
20
- name: string;
21
- props: string[];
22
- data(): {
23
- TARGET: string;
24
- };
25
- computed: {
26
- tag(): string;
27
- injectedStyleScript(): any;
28
- };
29
- }>;
30
- RenderBlocks: () => Promise<{
31
- name: string;
32
- components: {
33
- RenderBlock: () => Promise<{
34
- name: string;
35
- components: {
36
- RenderComponent: () => Promise<{
37
- name: string;
38
- components: {
39
- RenderBlock: () => Promise<any>;
40
- BlockStyles: () => Promise<{
41
- name: string;
42
- components: {
43
- RenderInlinedStyles: () => Promise<{
44
- name: string;
45
- props: string[];
46
- data(): {
47
- TARGET: string;
48
- };
49
- computed: {
50
- tag(): string;
51
- injectedStyleScript(): any;
52
- };
53
- }>;
54
- };
55
- props: string[];
56
- data(): {
57
- TARGET: string;
58
- };
59
- computed: {
60
- useBlock(): any;
61
- canShowBlock(): any;
62
- css(): any;
63
- };
64
- }>;
65
- };
66
- props: string[];
67
- }>;
68
- RenderRepeatedBlock: () => Promise<{
69
- name: string;
70
- components: {
71
- RenderBlock: () => Promise<any>;
72
- };
73
- props: string[];
74
- provide(): any;
75
- }>;
76
- BlockStyles: () => Promise<{
77
- name: string;
78
- components: {
79
- RenderInlinedStyles: () => Promise<{
80
- name: string;
81
- props: string[];
82
- data(): {
83
- TARGET: string;
84
- };
85
- computed: {
86
- tag(): string;
87
- injectedStyleScript(): any;
88
- };
89
- }>;
90
- };
91
- props: string[];
92
- data(): {
93
- TARGET: string;
94
- };
95
- computed: {
96
- useBlock(): any;
97
- canShowBlock(): any;
98
- css(): any;
99
- };
100
- }>;
101
- };
102
- props: string[];
103
- data(): any;
104
- computed: {
105
- useBlock(): any;
106
- canShowBlock(): unknown;
107
- actions(): any;
108
- attributes(): any;
109
- childrenWithoutParentComponent(): any;
110
- childrenContext(): any;
111
- renderComponentProps(): any;
112
- };
113
- methods: {
114
- stripVOn: (actions?: {}) => {};
115
- };
116
- }>;
117
- BlockStyles: () => Promise<{
118
- name: string;
119
- components: {
120
- RenderInlinedStyles: () => Promise<{
121
- name: string;
122
- props: string[];
123
- data(): {
124
- TARGET: string;
125
- };
126
- computed: {
127
- tag(): string;
128
- injectedStyleScript(): any;
129
- };
130
- }>;
131
- };
132
- props: string[];
133
- data(): {
134
- TARGET: string;
135
- };
136
- computed: {
137
- useBlock(): any;
138
- canShowBlock(): any;
139
- css(): any;
140
- };
141
- }>;
142
- };
143
- props: string[];
144
- inject: {
145
- builderContext: symbol;
146
- };
147
- computed: {
148
- className(): any;
149
- };
150
- methods: {
151
- onClick(): void;
152
- onMouseEnter(): void;
153
- _classStringToObject(str: any): {};
154
- };
155
- }>;
156
- };
157
- props: string[];
158
- data(): {
159
- gutterSize: any;
160
- cols: any;
161
- stackAt: any;
162
- flexDir: string;
163
- TARGET: string;
164
- };
165
- inject: {
166
- builderContext: symbol;
167
- };
168
- computed: {
169
- columnsCssVars(): any;
170
- columnsStyles(): any;
171
- };
172
- methods: {
173
- getWidth(index: number): any;
174
- getColumnCssWidth(index: number): any;
175
- getTabletStyle({ stackedStyle, desktopStyle, }: {
176
- stackedStyle: CSSVal;
177
- desktopStyle: CSSVal;
178
- }): any;
179
- getMobileStyle({ stackedStyle, desktopStyle, }: {
180
- stackedStyle: CSSVal;
181
- desktopStyle: CSSVal;
182
- }): any;
183
- columnCssVars(index: number): any;
184
- getWidthForBreakpointSize(size: SizeName): number;
185
- _classStringToObject(str: any): {};
186
- };
187
- };
17
+ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
18
+ gutterSize: number;
19
+ cols: any;
20
+ stackAt: any;
21
+ flexDir: string;
22
+ TARGET: string;
23
+ }, {
24
+ columnsCssVars(): Dictionary<string>;
25
+ columnsStyles(): string;
26
+ }, {
27
+ getWidth(index: number): any;
28
+ getColumnCssWidth(index: number): string;
29
+ getTabletStyle({ stackedStyle, desktopStyle, }: {
30
+ stackedStyle: CSSVal;
31
+ desktopStyle: CSSVal;
32
+ }): CSSVal;
33
+ getMobileStyle({ stackedStyle, desktopStyle, }: {
34
+ stackedStyle: CSSVal;
35
+ desktopStyle: CSSVal;
36
+ }): CSSVal;
37
+ columnCssVars(index: number): Dictionary<string>;
38
+ getWidthForBreakpointSize(size: SizeName): number;
39
+ _classStringToObject(str: any): {};
40
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
41
+ [x: number]: string;
42
+ }>;
188
43
  export default _sfc_main;
@@ -2,17 +2,13 @@ export interface CustomCodeProps {
2
2
  code: string;
3
3
  replaceNodes?: boolean;
4
4
  }
5
- declare const _sfc_main: {
6
- name: string;
7
- props: string[];
8
- data(): {
9
- scriptsInserted: never[];
10
- scriptsRun: never[];
11
- };
12
- mounted(): void;
13
- methods: {
14
- findAndRunScripts(): void;
15
- _classStringToObject(str: any): {};
16
- };
17
- };
5
+ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
6
+ scriptsInserted: never[];
7
+ scriptsRun: never[];
8
+ }, {}, {
9
+ findAndRunScripts(): void;
10
+ _classStringToObject(str: any): {};
11
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
12
+ [x: number]: string;
13
+ }>;
18
14
  export default _sfc_main;
@@ -1,25 +1,18 @@
1
1
  export interface EmbedProps {
2
2
  content: string;
3
3
  }
4
- declare const _sfc_main: {
5
- name: string;
6
- props: string[];
7
- data(): {
8
- scriptsInserted: never[];
9
- scriptsRun: never[];
10
- ranInitFn: boolean;
4
+ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
5
+ scriptsInserted: never[];
6
+ scriptsRun: never[];
7
+ ranInitFn: boolean;
8
+ }, {
9
+ onUpdateHook0(): {
10
+ 0: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue/types/v3-component-options.js").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> | Element | import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> | (import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue/types/v3-component-options.js").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> | Element | import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>)[] | undefined;
11
+ 1: boolean;
11
12
  };
12
- watch: {
13
- onUpdateHook0: {
14
- handler(): void;
15
- immediate: boolean;
16
- };
17
- };
18
- computed: {
19
- onUpdateHook0(): any;
20
- };
21
- methods: {
22
- findAndRunScripts(): void;
23
- };
24
- };
13
+ }, {
14
+ findAndRunScripts(): void;
15
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
16
+ [x: number]: string;
17
+ }>;
25
18
  export default _sfc_main;
@@ -3,8 +3,5 @@ export interface FragmentProps {
3
3
  attributes?: any;
4
4
  children?: any;
5
5
  }
6
- declare const _sfc_main: {
7
- name: string;
8
- props: never[];
9
- };
6
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{}>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{}>>>, {}>;
10
7
  export default _sfc_main;
@@ -0,0 +1,72 @@
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ export interface ImageProps {
3
+ className?: string;
4
+ image: string;
5
+ sizes?: string;
6
+ lazy?: boolean;
7
+ height?: number;
8
+ width?: number;
9
+ altText?: string;
10
+ backgroundSize?: "cover" | "contain";
11
+ backgroundPosition?: string;
12
+ srcset?: string;
13
+ aspectRatio?: number;
14
+ children?: JSX.Element;
15
+ fitContent?: boolean;
16
+ builderBlock?: BuilderBlock;
17
+ noWebp?: boolean;
18
+ src?: string;
19
+ }
20
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
21
+ aspectRatio?: any;
22
+ backgroundPosition?: any;
23
+ backgroundSize?: any;
24
+ className?: any;
25
+ builderBlock?: any;
26
+ image?: any;
27
+ src?: any;
28
+ srcset?: any;
29
+ noWebp?: any;
30
+ altText?: any;
31
+ sizes?: any;
32
+ fitContent?: any;
33
+ }>, {}, {}, {
34
+ srcSetToUse(): any;
35
+ webpSrcSet(): any;
36
+ aspectRatioCss(): {
37
+ readonly position: "absolute";
38
+ readonly height: "100%";
39
+ readonly width: "100%";
40
+ readonly left: "0px";
41
+ readonly top: "0px";
42
+ } | undefined;
43
+ }, {
44
+ _classStringToObject(str: any): {};
45
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
46
+ aspectRatio?: any;
47
+ backgroundPosition?: any;
48
+ backgroundSize?: any;
49
+ className?: any;
50
+ builderBlock?: any;
51
+ image?: any;
52
+ src?: any;
53
+ srcset?: any;
54
+ noWebp?: any;
55
+ altText?: any;
56
+ sizes?: any;
57
+ fitContent?: any;
58
+ }>>>, {
59
+ readonly aspectRatio?: any;
60
+ readonly backgroundPosition?: any;
61
+ readonly backgroundSize?: any;
62
+ readonly className?: any;
63
+ readonly builderBlock?: any;
64
+ readonly image?: any;
65
+ readonly src?: any;
66
+ readonly srcset?: any;
67
+ readonly noWebp?: any;
68
+ readonly altText?: any;
69
+ readonly sizes?: any;
70
+ readonly fitContent?: any;
71
+ }>;
72
+ export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import { isEditing } from "../../functions/is-editing.js";
1
2
  export interface ImgProps {
2
3
  attributes?: any;
3
4
  imgSrc?: string;
@@ -6,15 +7,11 @@ export interface ImgProps {
6
7
  backgroundSize?: "cover" | "contain";
7
8
  backgroundPosition?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
8
9
  }
9
- import { isEditing } from "../../functions/is-editing.js";
10
- declare const _sfc_main: {
11
- name: string;
12
- props: string[];
13
- data(): {
14
- isEditing: typeof isEditing;
15
- };
16
- methods: {
17
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
18
- };
19
- };
10
+ declare const _sfc_main: import("vue").DefineComponent<string[], {}, {
11
+ isEditing: typeof isEditing;
12
+ }, {}, {
13
+ filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
14
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<string[]>>, {
15
+ [x: number]: string;
16
+ }>;
20
17
  export default _sfc_main;
@@ -4,11 +4,16 @@ export interface SectionProps {
4
4
  children?: any;
5
5
  builderBlock?: any;
6
6
  }
7
- declare const _sfc_main: {
8
- name: string;
9
- props: string[];
10
- methods: {
11
- filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
12
- };
13
- };
7
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
8
+ maxWidth?: any;
9
+ attributes?: any;
10
+ }>, {}, {}, {}, {
11
+ filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
12
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<Readonly<{
13
+ maxWidth?: any;
14
+ attributes?: any;
15
+ }>>>, {
16
+ readonly maxWidth?: any;
17
+ readonly attributes?: any;
18
+ }>;
14
19
  export default _sfc_main;