@builder.io/sdk-vue 0.2.2 → 0.3.1
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.
- package/package.json +2 -5
- package/packages/_vue2/dist/block-styles.ae2c8895.cjs +1 -0
- package/packages/_vue2/dist/block-styles.b09f50da.js +75 -0
- package/packages/_vue2/dist/css.e6670a83.cjs +6 -0
- package/packages/_vue2/dist/css.fb10bcf8.js +74 -0
- package/packages/_vue2/dist/{index.eb91dc82.js → index.36f3710d.js} +432 -402
- package/packages/_vue2/dist/index.ae3f58f8.cjs +29 -0
- package/packages/_vue2/dist/render-block.74bc834e.cjs +3 -0
- package/packages/_vue2/dist/{render-block.6f9a607a.js → render-block.c14ab4be.js} +96 -90
- package/packages/_vue2/dist/render-component.2b74ef23.cjs +1 -0
- package/packages/_vue2/dist/render-component.d7f78e3d.js +38 -0
- package/packages/_vue2/dist/render-inlined-styles.04d09a3c.js +34 -0
- package/packages/_vue2/dist/render-inlined-styles.c8d80bc4.cjs +1 -0
- package/packages/_vue2/dist/render-repeated-block.58333f68.cjs +1 -0
- package/packages/_vue2/dist/render-repeated-block.a8717618.js +45 -0
- package/packages/_vue2/dist/render-styles.4a1edc25.cjs +31 -0
- package/packages/_vue2/dist/{render-styles.0d1f8872.js → render-styles.a49c2339.js} +26 -25
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +23 -22
- package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +19 -8
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +29 -174
- package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +9 -13
- package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +13 -20
- package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
- package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +72 -0
- package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +8 -11
- package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +12 -7
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +15 -245
- package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +7 -4
- package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +42 -7
- package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
- package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +0 -1
- package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +3 -86
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +3 -86
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -84
- package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +23 -127
- package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
- package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +46 -212
- package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
- package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -0
- package/packages/_vue2/dist/src/context/builder.context.d.ts +3 -2
- package/packages/_vue2/dist/src/context/types.d.ts +17 -2
- package/packages/_vue2/dist/src/functions/evaluate.d.ts +4 -3
- package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +2 -2
- package/packages/_vue2/dist/src/index.d.ts +1 -0
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.a1577ff9.cjs +1 -0
- package/packages/_vue3/dist/block-styles.ae0db517.js +71 -0
- package/packages/_vue3/dist/css.c52c28f5.js +74 -0
- package/packages/_vue3/dist/css.eaf664fa.cjs +6 -0
- package/packages/_vue3/dist/index.8ed3c046.cjs +29 -0
- package/packages/_vue3/dist/{index.45ab85e5.js → index.d8d44f06.js} +835 -806
- package/packages/_vue3/dist/render-block.8f200c30.cjs +3 -0
- package/packages/_vue3/dist/render-block.c70eab34.js +285 -0
- package/packages/_vue3/dist/render-component.023d5d67.cjs +1 -0
- package/packages/_vue3/dist/render-component.9b027ad2.js +42 -0
- package/packages/_vue3/dist/render-inlined-styles.0b6cafc4.js +32 -0
- package/packages/_vue3/dist/render-inlined-styles.e3ea32fb.cjs +1 -0
- package/packages/_vue3/dist/render-repeated-block.1743f160.cjs +1 -0
- package/packages/_vue3/dist/render-repeated-block.1b229997.js +39 -0
- package/packages/_vue3/dist/render-styles.70e1b259.cjs +31 -0
- package/packages/_vue3/dist/{render-styles.cf6faa29.js → render-styles.f8cb298d.js} +33 -33
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +1 -1
- package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +19 -8
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +45 -91
- package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +16 -13
- package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +17 -20
- package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
- package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +54 -14
- package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +27 -11
- package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +12 -7
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +25 -162
- package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +7 -4
- package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +42 -7
- package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
- package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +0 -1
- package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +2 -2
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +2 -2
- package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -8
- package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +23 -44
- package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
- package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +77 -129
- package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
- package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -0
- package/packages/_vue3/dist/src/context/builder.context.d.ts +3 -2
- package/packages/_vue3/dist/src/context/types.d.ts +17 -2
- package/packages/_vue3/dist/src/functions/evaluate.d.ts +4 -3
- package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +2 -2
- package/packages/_vue3/dist/src/index.d.ts +1 -0
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.4667431d.js +0 -72
- package/packages/_vue2/dist/block-styles.7c2a87df.cjs +0 -1
- package/packages/_vue2/dist/css.468435de.js +0 -58
- package/packages/_vue2/dist/css.dce6e4eb.cjs +0 -6
- package/packages/_vue2/dist/index.78ba6586.cjs +0 -29
- package/packages/_vue2/dist/render-block.67e4dd65.cjs +0 -3
- package/packages/_vue2/dist/render-component.10d6c8d2.js +0 -37
- package/packages/_vue2/dist/render-component.3578089b.cjs +0 -1
- package/packages/_vue2/dist/render-inlined-styles.56373d13.cjs +0 -1
- package/packages/_vue2/dist/render-inlined-styles.942eb38d.js +0 -33
- package/packages/_vue2/dist/render-repeated-block.18d7fc6e.cjs +0 -1
- package/packages/_vue2/dist/render-repeated-block.1bb5c2fb.js +0 -42
- package/packages/_vue2/dist/render-styles.de7287b6.cjs +0 -31
- package/packages/_vue3/dist/block-styles.09955b0c.cjs +0 -1
- package/packages/_vue3/dist/block-styles.6bd36a5a.js +0 -69
- package/packages/_vue3/dist/css.3241302b.cjs +0 -6
- package/packages/_vue3/dist/css.81a21c5a.js +0 -58
- package/packages/_vue3/dist/index.cca81180.cjs +0 -29
- package/packages/_vue3/dist/render-block.33cc5768.cjs +0 -3
- package/packages/_vue3/dist/render-block.ec4c1913.js +0 -301
- package/packages/_vue3/dist/render-component.3bd8dc76.js +0 -26
- package/packages/_vue3/dist/render-component.c0d5e797.cjs +0 -1
- package/packages/_vue3/dist/render-inlined-styles.952d2fff.js +0 -32
- package/packages/_vue3/dist/render-inlined-styles.b55b6667.cjs +0 -1
- package/packages/_vue3/dist/render-repeated-block.263f0cec.js +0 -37
- package/packages/_vue3/dist/render-repeated-block.c3c9e926.cjs +0 -1
- package/packages/_vue3/dist/render-styles.d1ac3a18.cjs +0 -31
|
@@ -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,95 +14,46 @@ export interface ColumnProps {
|
|
|
11
14
|
stackColumnsAt?: StackColumnsAt;
|
|
12
15
|
reverseColumnsWhenStacked?: boolean;
|
|
13
16
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
css(): any;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
props: string[];
|
|
61
|
-
inject: {
|
|
62
|
-
builderContext: symbol;
|
|
63
|
-
};
|
|
64
|
-
computed: {
|
|
65
|
-
className(): any;
|
|
66
|
-
};
|
|
67
|
-
methods: {
|
|
68
|
-
onClick(): void;
|
|
69
|
-
onMouseEnter(): void;
|
|
70
|
-
_classStringToObject(str: any): {};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
props: string[];
|
|
75
|
-
data(): {
|
|
76
|
-
gutterSize: any;
|
|
77
|
-
cols: any;
|
|
78
|
-
stackAt: any;
|
|
79
|
-
flexDir: string;
|
|
80
|
-
TARGET: string;
|
|
81
|
-
};
|
|
82
|
-
inject: {
|
|
83
|
-
builderContext: symbol;
|
|
84
|
-
};
|
|
85
|
-
computed: {
|
|
86
|
-
columnsCssVars(): any;
|
|
87
|
-
columnsStyles(): any;
|
|
88
|
-
};
|
|
89
|
-
methods: {
|
|
90
|
-
getWidth(index: number): any;
|
|
91
|
-
getColumnCssWidth(index: number): any;
|
|
92
|
-
getTabletStyle({ stackedStyle, desktopStyle, }: {
|
|
93
|
-
stackedStyle: CSSVal;
|
|
94
|
-
desktopStyle: CSSVal;
|
|
95
|
-
}): any;
|
|
96
|
-
getMobileStyle({ stackedStyle, desktopStyle, }: {
|
|
97
|
-
stackedStyle: CSSVal;
|
|
98
|
-
desktopStyle: CSSVal;
|
|
99
|
-
}): any;
|
|
100
|
-
columnCssVars(index: number): any;
|
|
101
|
-
getWidthForBreakpointSize(size: SizeName): number;
|
|
102
|
-
_classStringToObject(str: any): {};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
17
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
18
|
+
columns?: any;
|
|
19
|
+
space?: any;
|
|
20
|
+
stackColumnsAt?: any;
|
|
21
|
+
reverseColumnsWhenStacked?: any;
|
|
22
|
+
builderBlock?: any;
|
|
23
|
+
}>, unknown, {
|
|
24
|
+
gutterSize: number;
|
|
25
|
+
cols: any;
|
|
26
|
+
stackAt: any;
|
|
27
|
+
flexDir: string;
|
|
28
|
+
TARGET: string;
|
|
29
|
+
}, {
|
|
30
|
+
columnsCssVars(): Dictionary<string>;
|
|
31
|
+
columnsStyles(): string;
|
|
32
|
+
}, {
|
|
33
|
+
getWidth(index: number): any;
|
|
34
|
+
getColumnCssWidth(index: number): string;
|
|
35
|
+
getTabletStyle({ stackedStyle, desktopStyle, }: {
|
|
36
|
+
stackedStyle: CSSVal;
|
|
37
|
+
desktopStyle: CSSVal;
|
|
38
|
+
}): CSSVal;
|
|
39
|
+
getMobileStyle({ stackedStyle, desktopStyle, }: {
|
|
40
|
+
stackedStyle: CSSVal;
|
|
41
|
+
desktopStyle: CSSVal;
|
|
42
|
+
}): CSSVal;
|
|
43
|
+
columnCssVars(index: number): Dictionary<string>;
|
|
44
|
+
getWidthForBreakpointSize(size: SizeName): number;
|
|
45
|
+
_classStringToObject(str: any): {};
|
|
46
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
47
|
+
columns?: any;
|
|
48
|
+
space?: any;
|
|
49
|
+
stackColumnsAt?: any;
|
|
50
|
+
reverseColumnsWhenStacked?: any;
|
|
51
|
+
builderBlock?: any;
|
|
52
|
+
}>>>, {
|
|
53
|
+
readonly columns?: any;
|
|
54
|
+
readonly space?: any;
|
|
55
|
+
readonly stackColumnsAt?: any;
|
|
56
|
+
readonly reverseColumnsWhenStacked?: any;
|
|
57
|
+
readonly builderBlock?: any;
|
|
58
|
+
}>;
|
|
105
59
|
export default _sfc_main;
|
|
@@ -2,17 +2,20 @@ export interface CustomCodeProps {
|
|
|
2
2
|
code: string;
|
|
3
3
|
replaceNodes?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const _sfc_main: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
6
|
+
replaceNodes?: any;
|
|
7
|
+
code?: any;
|
|
8
|
+
}>, unknown, {
|
|
9
|
+
scriptsInserted: never[];
|
|
10
|
+
scriptsRun: never[];
|
|
11
|
+
}, {}, {
|
|
12
|
+
findAndRunScripts(): void;
|
|
13
|
+
_classStringToObject(str: any): {};
|
|
14
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
15
|
+
replaceNodes?: any;
|
|
16
|
+
code?: any;
|
|
17
|
+
}>>>, {
|
|
18
|
+
readonly replaceNodes?: any;
|
|
19
|
+
readonly code?: any;
|
|
20
|
+
}>;
|
|
18
21
|
export default _sfc_main;
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
export interface EmbedProps {
|
|
2
2
|
content: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _sfc_main: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
5
|
+
content?: any;
|
|
6
|
+
}>, unknown, {
|
|
7
|
+
scriptsInserted: never[];
|
|
8
|
+
scriptsRun: never[];
|
|
9
|
+
ranInitFn: boolean;
|
|
10
|
+
}, {
|
|
11
|
+
onUpdateHook0(): {
|
|
12
|
+
0: unknown;
|
|
13
|
+
1: boolean;
|
|
11
14
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onUpdateHook0(): any;
|
|
20
|
-
};
|
|
21
|
-
methods: {
|
|
22
|
-
findAndRunScripts(): void;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
15
|
+
}, {
|
|
16
|
+
findAndRunScripts(): void;
|
|
17
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
18
|
+
content?: any;
|
|
19
|
+
}>>>, {
|
|
20
|
+
readonly content?: any;
|
|
21
|
+
}>;
|
|
25
22
|
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<{}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{}>>>, {}>;
|
|
10
7
|
export default _sfc_main;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
1
2
|
export interface ImageProps {
|
|
2
3
|
className?: string;
|
|
3
4
|
image: string;
|
|
@@ -6,7 +7,7 @@ export interface ImageProps {
|
|
|
6
7
|
height?: number;
|
|
7
8
|
width?: number;
|
|
8
9
|
altText?: string;
|
|
9
|
-
backgroundSize?:
|
|
10
|
+
backgroundSize?: "cover" | "contain";
|
|
10
11
|
backgroundPosition?: string;
|
|
11
12
|
srcset?: string;
|
|
12
13
|
aspectRatio?: number;
|
|
@@ -16,17 +17,56 @@ export interface ImageProps {
|
|
|
16
17
|
noWebp?: boolean;
|
|
17
18
|
src?: string;
|
|
18
19
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
+
}>, unknown, unknown, {
|
|
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").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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
|
+
}>;
|
|
32
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,30 @@ 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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
10
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
11
|
+
backgroundPosition?: any;
|
|
12
|
+
backgroundSize?: any;
|
|
13
|
+
attributes?: any;
|
|
14
|
+
image?: any;
|
|
15
|
+
altText?: any;
|
|
16
|
+
imgSrc?: any;
|
|
17
|
+
}>, unknown, {
|
|
18
|
+
isEditing: typeof isEditing;
|
|
19
|
+
}, {}, {
|
|
20
|
+
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
22
|
+
backgroundPosition?: any;
|
|
23
|
+
backgroundSize?: any;
|
|
24
|
+
attributes?: any;
|
|
25
|
+
image?: any;
|
|
26
|
+
altText?: any;
|
|
27
|
+
imgSrc?: any;
|
|
28
|
+
}>>>, {
|
|
29
|
+
readonly backgroundPosition?: any;
|
|
30
|
+
readonly backgroundSize?: any;
|
|
31
|
+
readonly attributes?: any;
|
|
32
|
+
readonly image?: any;
|
|
33
|
+
readonly altText?: any;
|
|
34
|
+
readonly imgSrc?: any;
|
|
35
|
+
}>;
|
|
20
36
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
8
|
+
maxWidth?: any;
|
|
9
|
+
attributes?: any;
|
|
10
|
+
}>, unknown, unknown, {}, {
|
|
11
|
+
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
12
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, 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;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { BuilderContent } from "../../types/builder-content.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
1
3
|
export interface SymbolInfo {
|
|
2
4
|
model?: string;
|
|
3
5
|
entry?: string;
|
|
@@ -14,167 +16,28 @@ export interface SymbolProps {
|
|
|
14
16
|
attributes?: any;
|
|
15
17
|
inheritState?: boolean;
|
|
16
18
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
components: {
|
|
28
|
-
RenderInlinedStyles: {
|
|
29
|
-
name: string;
|
|
30
|
-
props: string[];
|
|
31
|
-
data(): {
|
|
32
|
-
TARGET: string;
|
|
33
|
-
};
|
|
34
|
-
computed: {
|
|
35
|
-
tag(): string;
|
|
36
|
-
injectedStyleScript(): any;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
props: string[];
|
|
41
|
-
data(): any;
|
|
42
|
-
};
|
|
43
|
-
RenderBlocks: {
|
|
44
|
-
name: string;
|
|
45
|
-
components: {
|
|
46
|
-
RenderBlock: any;
|
|
47
|
-
BlockStyles: {
|
|
48
|
-
name: string;
|
|
49
|
-
components: {
|
|
50
|
-
RenderInlinedStyles: {
|
|
51
|
-
name: string;
|
|
52
|
-
props: string[];
|
|
53
|
-
data(): {
|
|
54
|
-
TARGET: string;
|
|
55
|
-
};
|
|
56
|
-
computed: {
|
|
57
|
-
tag(): string;
|
|
58
|
-
injectedStyleScript(): any;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
props: string[];
|
|
63
|
-
data(): {
|
|
64
|
-
TARGET: string;
|
|
65
|
-
};
|
|
66
|
-
computed: {
|
|
67
|
-
useBlock(): any;
|
|
68
|
-
canShowBlock(): any;
|
|
69
|
-
css(): any;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
props: string[];
|
|
74
|
-
inject: {
|
|
75
|
-
builderContext: symbol;
|
|
76
|
-
};
|
|
77
|
-
computed: {
|
|
78
|
-
className(): any;
|
|
79
|
-
};
|
|
80
|
-
methods: {
|
|
81
|
-
onClick(): void;
|
|
82
|
-
onMouseEnter(): void;
|
|
83
|
-
_classStringToObject(str: any): {};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
props: string[];
|
|
88
|
-
data(): {
|
|
89
|
-
forceReRenderCount: number;
|
|
90
|
-
overrideContent: null;
|
|
91
|
-
useContent: import("../../types/typescript.js").Nullable<BuilderContent>;
|
|
92
|
-
update: number;
|
|
93
|
-
canTrackToUse: any;
|
|
94
|
-
contentState: {
|
|
95
|
-
[x: string]: unknown;
|
|
96
|
-
};
|
|
97
|
-
allRegisteredComponents: any;
|
|
98
|
-
httpReqsData: {};
|
|
99
|
-
clicked: boolean;
|
|
100
|
-
TARGET: string;
|
|
101
|
-
};
|
|
102
|
-
provide(): {
|
|
103
|
-
[x: symbol]: {
|
|
104
|
-
content: any;
|
|
105
|
-
state: any;
|
|
106
|
-
setState: any;
|
|
107
|
-
context: any;
|
|
108
|
-
apiKey: any;
|
|
109
|
-
apiVersion: any;
|
|
110
|
-
registeredComponents: any;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
mounted(): void;
|
|
114
|
-
watch: {
|
|
115
|
-
onUpdateHook0: {
|
|
116
|
-
handler(): void;
|
|
117
|
-
immediate: boolean;
|
|
118
|
-
};
|
|
119
|
-
onUpdateHook1: {
|
|
120
|
-
handler(): void;
|
|
121
|
-
immediate: boolean;
|
|
122
|
-
};
|
|
123
|
-
onUpdateHook2: {
|
|
124
|
-
handler(): void;
|
|
125
|
-
immediate: boolean;
|
|
126
|
-
};
|
|
127
|
-
onUpdateHook3: {
|
|
128
|
-
handler(): void;
|
|
129
|
-
immediate: boolean;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
unmounted(): void;
|
|
133
|
-
computed: {
|
|
134
|
-
onUpdateHook0(): any;
|
|
135
|
-
onUpdateHook1(): any;
|
|
136
|
-
onUpdateHook2(): any;
|
|
137
|
-
onUpdateHook3(): any;
|
|
138
|
-
};
|
|
139
|
-
methods: {
|
|
140
|
-
mergeNewContent(newContent: BuilderContent): void;
|
|
141
|
-
setBreakpoints(breakpoints: import("../../types/builder-content.js").Breakpoints): void;
|
|
142
|
-
setContextState(newState: import("../../context/types.js").BuilderRenderState): void;
|
|
143
|
-
processMessage(event: MessageEvent<any>): void;
|
|
144
|
-
evaluateJsCode(): void;
|
|
145
|
-
onClick(event: any): void;
|
|
146
|
-
evalExpression(expression: string): string;
|
|
147
|
-
handleRequest({ url, key }: {
|
|
148
|
-
key: string;
|
|
149
|
-
url: string;
|
|
150
|
-
}): void;
|
|
151
|
-
runHttpRequests(): void;
|
|
152
|
-
emitStateUpdate(): void;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
props: string[];
|
|
157
|
-
data(): {
|
|
158
|
-
className: string;
|
|
159
|
-
contentToUse: any;
|
|
160
|
-
};
|
|
161
|
-
inject: {
|
|
162
|
-
builderContext: symbol;
|
|
163
|
-
};
|
|
164
|
-
mounted(): void;
|
|
165
|
-
watch: {
|
|
166
|
-
onUpdateHook0: {
|
|
167
|
-
handler(): void;
|
|
168
|
-
immediate: boolean;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
computed: {
|
|
172
|
-
onUpdateHook0(): any;
|
|
173
|
-
};
|
|
174
|
-
methods: {
|
|
175
|
-
fetchContent(): void;
|
|
176
|
-
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
177
|
-
_classStringToObject(str: any): {};
|
|
19
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
20
|
+
symbol?: any;
|
|
21
|
+
attributes?: any;
|
|
22
|
+
dynamic?: any;
|
|
23
|
+
}>, unknown, {
|
|
24
|
+
className: string;
|
|
25
|
+
contentToUse: any;
|
|
26
|
+
}, {
|
|
27
|
+
onUpdateHook0(): {
|
|
28
|
+
0: any;
|
|
178
29
|
};
|
|
179
|
-
}
|
|
30
|
+
}, {
|
|
31
|
+
fetchContent(): void;
|
|
32
|
+
filterAttrs: (attrs: {} | undefined, isEvent: any) => {};
|
|
33
|
+
_classStringToObject(str: any): {};
|
|
34
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
35
|
+
symbol?: any;
|
|
36
|
+
attributes?: any;
|
|
37
|
+
dynamic?: any;
|
|
38
|
+
}>>>, {
|
|
39
|
+
readonly symbol?: any;
|
|
40
|
+
readonly attributes?: any;
|
|
41
|
+
readonly dynamic?: any;
|
|
42
|
+
}>;
|
|
180
43
|
export default _sfc_main;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export interface TextProps {
|
|
2
2
|
text: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _sfc_main: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
5
|
+
text?: any;
|
|
6
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
7
|
+
text?: any;
|
|
8
|
+
}>>>, {
|
|
9
|
+
readonly text?: any;
|
|
10
|
+
}>;
|
|
8
11
|
export default _sfc_main;
|
|
@@ -14,12 +14,47 @@ export interface VideoProps {
|
|
|
14
14
|
posterImage?: string;
|
|
15
15
|
lazyLoad?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _sfc_main: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
18
|
+
position?: any;
|
|
19
|
+
attributes?: any;
|
|
20
|
+
autoPlay?: any;
|
|
21
|
+
muted?: any;
|
|
22
|
+
controls?: any;
|
|
23
|
+
loop?: any;
|
|
24
|
+
playsInline?: any;
|
|
25
|
+
fit?: any;
|
|
26
|
+
video?: any;
|
|
27
|
+
posterImage?: any;
|
|
28
|
+
}>, unknown, unknown, {
|
|
29
|
+
videoProps(): {
|
|
30
|
+
playsInline?: boolean | undefined;
|
|
31
|
+
loop?: boolean | undefined;
|
|
32
|
+
controls?: boolean | undefined;
|
|
33
|
+
muted?: boolean | undefined;
|
|
34
|
+
autoPlay?: boolean | undefined;
|
|
23
35
|
};
|
|
24
|
-
|
|
36
|
+
spreadProps(): any;
|
|
37
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
38
|
+
position?: any;
|
|
39
|
+
attributes?: any;
|
|
40
|
+
autoPlay?: any;
|
|
41
|
+
muted?: any;
|
|
42
|
+
controls?: any;
|
|
43
|
+
loop?: any;
|
|
44
|
+
playsInline?: any;
|
|
45
|
+
fit?: any;
|
|
46
|
+
video?: any;
|
|
47
|
+
posterImage?: any;
|
|
48
|
+
}>>>, {
|
|
49
|
+
readonly position?: any;
|
|
50
|
+
readonly attributes?: any;
|
|
51
|
+
readonly autoPlay?: any;
|
|
52
|
+
readonly muted?: any;
|
|
53
|
+
readonly controls?: any;
|
|
54
|
+
readonly loop?: any;
|
|
55
|
+
readonly playsInline?: any;
|
|
56
|
+
readonly fit?: any;
|
|
57
|
+
readonly video?: any;
|
|
58
|
+
readonly posterImage?: any;
|
|
59
|
+
}>;
|
|
25
60
|
export default _sfc_main;
|