@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.
- package/package.json +1 -1
- package/packages/_vue2/dist/{block-styles.4667431d.js → block-styles.5729b057.js} +18 -17
- package/packages/_vue2/dist/block-styles.cb3c2dd0.cjs +1 -0
- package/packages/{_vue3/dist/css.3241302b.cjs → _vue2/dist/css.2efa95fa.cjs} +1 -1
- package/packages/{_vue3/dist/css.81a21c5a.js → _vue2/dist/css.a54ddc90.js} +1 -1
- package/packages/_vue2/dist/{index.eb91dc82.js → index.6a9eec41.js} +356 -354
- package/packages/_vue2/dist/index.8547cce2.cjs +29 -0
- package/packages/_vue2/dist/{render-block.6f9a607a.js → render-block.4c7d7ca1.js} +43 -42
- package/packages/_vue2/dist/render-block.753d2325.cjs +3 -0
- package/packages/_vue2/dist/render-component.84d45798.js +38 -0
- package/packages/_vue2/dist/render-component.90275cfa.cjs +1 -0
- package/packages/_vue2/dist/render-inlined-styles.1999f52e.cjs +1 -0
- package/packages/_vue2/dist/render-inlined-styles.1fa49816.js +34 -0
- package/packages/_vue2/dist/{render-repeated-block.1bb5c2fb.js → render-repeated-block.900e2543.js} +15 -13
- package/packages/_vue2/dist/render-repeated-block.f522a309.cjs +1 -0
- package/packages/_vue2/dist/render-styles.15b8cdf0.cjs +31 -0
- package/packages/_vue2/dist/{render-styles.0d1f8872.js → render-styles.591ca7be.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.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/index.d.ts +1 -0
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.56f7b28a.cjs +1 -0
- package/packages/_vue3/dist/block-styles.f06f105b.js +69 -0
- package/packages/{_vue2/dist/css.468435de.js → _vue3/dist/css.2ff361fc.js} +1 -1
- package/packages/{_vue2/dist/css.dce6e4eb.cjs → _vue3/dist/css.f83437ab.cjs} +1 -1
- package/packages/_vue3/dist/{index.45ab85e5.js → index.0aed90df.js} +785 -784
- package/packages/_vue3/dist/index.d72bde22.cjs +29 -0
- package/packages/_vue3/dist/render-block.4e95bb8d.cjs +3 -0
- package/packages/_vue3/dist/{render-block.ec4c1913.js → render-block.905bcce5.js} +88 -109
- package/packages/_vue3/dist/render-component.0a7c094b.cjs +1 -0
- package/packages/_vue3/dist/render-component.b4a311b8.js +42 -0
- package/packages/_vue3/dist/render-inlined-styles.454bc38b.js +32 -0
- package/packages/_vue3/dist/render-inlined-styles.a596482a.cjs +1 -0
- package/packages/_vue3/dist/render-repeated-block.12894c71.js +38 -0
- package/packages/_vue3/dist/render-repeated-block.a95715ec.cjs +1 -0
- package/packages/_vue3/dist/{render-styles.cf6faa29.js → render-styles.90b25836.js} +33 -33
- package/packages/_vue3/dist/render-styles.b6bf070d.cjs +31 -0
- 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.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/index.d.ts +1 -0
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.7c2a87df.cjs +0 -1
- 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-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/index.cca81180.cjs +0 -29
- package/packages/_vue3/dist/render-block.33cc5768.cjs +0 -3
- 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,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;
|
|
@@ -1,32 +1,23 @@
|
|
|
1
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
1
3
|
export type BlockStylesProps = {
|
|
2
4
|
block: BuilderBlock;
|
|
3
5
|
context: BuilderContextInterface;
|
|
4
6
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
props: string[];
|
|
23
|
-
data(): {
|
|
24
|
-
TARGET: string;
|
|
25
|
-
};
|
|
26
|
-
computed: {
|
|
27
|
-
useBlock(): any;
|
|
28
|
-
canShowBlock(): any;
|
|
29
|
-
css(): any;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
7
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
8
|
+
block?: any;
|
|
9
|
+
context?: any;
|
|
10
|
+
}>, unknown, {
|
|
11
|
+
TARGET: string;
|
|
12
|
+
}, {
|
|
13
|
+
useBlock(): BuilderBlock;
|
|
14
|
+
canShowBlock(): boolean;
|
|
15
|
+
css(): string;
|
|
16
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
17
|
+
block?: any;
|
|
18
|
+
context?: any;
|
|
19
|
+
}>>>, {
|
|
20
|
+
readonly block?: any;
|
|
21
|
+
readonly context?: any;
|
|
22
|
+
}>;
|
|
32
23
|
export default _sfc_main;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
1
3
|
export type RenderBlockProps = {
|
|
2
4
|
block: BuilderBlock;
|
|
3
5
|
context: BuilderContextInterface;
|
|
4
6
|
};
|
|
5
|
-
import { BuilderContextInterface } from "../../context/types.js";
|
|
6
|
-
import { BuilderBlock } from "../../types/builder-block.js";
|
|
7
7
|
declare const _sfc_main: any;
|
|
8
8
|
export default _sfc_main;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
2
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
1
3
|
type ComponentOptions = {
|
|
2
4
|
[index: string]: any;
|
|
3
5
|
attributes?: {
|
|
@@ -10,7 +12,5 @@ export interface RenderComponentProps {
|
|
|
10
12
|
blockChildren: BuilderBlock[];
|
|
11
13
|
context: BuilderContextInterface;
|
|
12
14
|
}
|
|
13
|
-
import { BuilderBlock } from "../../types/builder-block.js";
|
|
14
|
-
import { BuilderContextInterface } from "../../context/types.js";
|
|
15
15
|
declare const _sfc_main: any;
|
|
16
16
|
export default _sfc_main;
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
/**
|
|
2
|
+
* We can't make this a generic `ProvideContext` function because Vue 2 won't support root slots, e.g.
|
|
3
|
+
*
|
|
4
|
+
* ```vue
|
|
5
|
+
* <template>
|
|
6
|
+
* <slot></slot>
|
|
7
|
+
* </template>
|
|
8
|
+
* ```
|
|
9
|
+
*/
|
|
10
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
11
|
+
block?: any;
|
|
12
|
+
repeatContext?: any;
|
|
13
|
+
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
14
|
+
block?: any;
|
|
15
|
+
repeatContext?: any;
|
|
16
|
+
}>>>, {
|
|
17
|
+
readonly block?: any;
|
|
18
|
+
readonly repeatContext?: any;
|
|
19
|
+
}>;
|
|
9
20
|
export default _sfc_main;
|
|
@@ -1,51 +1,30 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../types/builder-block.js";
|
|
1
2
|
export type RenderBlockProps = {
|
|
2
3
|
blocks?: BuilderBlock[];
|
|
3
4
|
parent?: string;
|
|
4
5
|
path?: string;
|
|
5
6
|
styleProp?: Record<string, any>;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
TARGET: string;
|
|
30
|
-
};
|
|
31
|
-
computed: {
|
|
32
|
-
useBlock(): any;
|
|
33
|
-
canShowBlock(): any;
|
|
34
|
-
css(): any;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
props: string[];
|
|
39
|
-
inject: {
|
|
40
|
-
builderContext: symbol;
|
|
41
|
-
};
|
|
42
|
-
computed: {
|
|
43
|
-
className(): any;
|
|
44
|
-
};
|
|
45
|
-
methods: {
|
|
46
|
-
onClick(): void;
|
|
47
|
-
onMouseEnter(): void;
|
|
48
|
-
_classStringToObject(str: any): {};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
8
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
9
|
+
blocks?: any;
|
|
10
|
+
parent?: any;
|
|
11
|
+
path?: any;
|
|
12
|
+
styleProp?: any;
|
|
13
|
+
}>, unknown, unknown, {
|
|
14
|
+
className(): string;
|
|
15
|
+
}, {
|
|
16
|
+
onClick(): void;
|
|
17
|
+
onMouseEnter(): void;
|
|
18
|
+
_classStringToObject(str: any): {};
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
20
|
+
blocks?: any;
|
|
21
|
+
parent?: any;
|
|
22
|
+
path?: any;
|
|
23
|
+
styleProp?: any;
|
|
24
|
+
}>>>, {
|
|
25
|
+
readonly blocks?: any;
|
|
26
|
+
readonly parent?: any;
|
|
27
|
+
readonly path?: any;
|
|
28
|
+
readonly styleProp?: any;
|
|
29
|
+
}>;
|
|
51
30
|
export default _sfc_main;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
declare const _sfc_main: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
props: string[];
|
|
17
|
-
data(): any;
|
|
18
|
-
};
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
2
|
+
cssCode?: any;
|
|
3
|
+
contentId?: any;
|
|
4
|
+
customFonts?: any;
|
|
5
|
+
}>, unknown, {
|
|
6
|
+
injectedStyles: string;
|
|
7
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
8
|
+
cssCode?: any;
|
|
9
|
+
contentId?: any;
|
|
10
|
+
customFonts?: any;
|
|
11
|
+
}>>>, {
|
|
12
|
+
readonly cssCode?: any;
|
|
13
|
+
readonly contentId?: any;
|
|
14
|
+
readonly customFonts?: any;
|
|
15
|
+
}>;
|
|
19
16
|
export default _sfc_main;
|