@builder.io/sdk-vue 0.0.2-2 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/_vue2/dist/{block-styles.dd3d70e3.js → block-styles.a3384cd8.js} +31 -15
- package/packages/_vue2/dist/block-styles.b8f018af.cjs +10 -0
- package/packages/_vue2/dist/env.d.ts +1 -0
- package/packages/_vue2/dist/get-processed-block.53761199.js +40 -0
- package/packages/_vue2/dist/get-processed-block.5b7d0290.cjs +1 -0
- package/packages/_vue2/dist/index.3fb2f85b.cjs +4 -0
- package/packages/_vue2/dist/{index.e1356b24.js → index.93374a52.js} +74 -70
- package/packages/_vue2/dist/render-block.31ab55d9.cjs +3 -0
- package/packages/_vue2/dist/{render-block.a2f51c18.js → render-block.f95552ec.js} +64 -77
- package/packages/_vue2/dist/{render-component.76541f08.js → render-component.10d6d66e.js} +3 -3
- package/packages/_vue2/dist/{render-component.fc56f8dc.cjs → render-component.4714b27b.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.fb54d112.js → render-inlined-styles.0fed22b4.js} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.0a71b4a1.cjs → render-inlined-styles.3826da36.cjs} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.0990371f.cjs → render-repeated-block.d8e1f3e2.cjs} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.caf201fb.js → render-repeated-block.f29194a7.js} +2 -2
- package/packages/_vue2/dist/{render-styles.76adf086.cjs → render-styles.9ff97301.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.79b15aed.js → render-styles.cd30abd1.js} +2 -2
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.d.ts +1 -0
- package/packages/_vue2/dist/sdk.js +1 -1
- package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +11 -0
- package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +174 -0
- package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
- package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +22 -0
- package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +1 -0
- package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
- package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +1 -0
- package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +17 -0
- package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +11 -0
- package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +264 -0
- package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +8 -0
- package/packages/_vue2/dist/src/blocks/util.d.ts +1 -0
- package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +2 -0
- package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +24 -0
- package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
- package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
- package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +105 -0
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +108 -0
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +99 -0
- package/packages/_vue2/dist/src/components/render-block/types.d.ts +6 -0
- package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +146 -0
- package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
- package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +236 -0
- package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
- package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +6 -0
- package/packages/_vue2/dist/src/constants/device-sizes.d.ts +2 -0
- package/packages/_vue2/dist/src/constants/target.d.ts +2 -0
- package/packages/_vue2/dist/src/context/builder.context.d.ts +2 -0
- package/packages/_vue2/dist/src/context/types.d.ts +16 -0
- package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/evaluate.d.ts +5 -0
- package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -0
- package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +9 -0
- package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -0
- package/packages/_vue2/dist/src/functions/get-block-styles.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +3 -0
- package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
- package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +5 -0
- package/packages/_vue2/dist/src/functions/get-content/index.d.ts +9 -0
- package/packages/_vue2/dist/src/functions/get-content/types.d.ts +31 -0
- package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-global-this.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +10 -0
- package/packages/_vue2/dist/src/functions/is-browser.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/is-editing.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/is-iframe.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/is-previewing.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/register-component.d.ts +14 -0
- package/packages/_vue2/dist/src/functions/register.d.ts +16 -0
- package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +4 -0
- package/packages/_vue2/dist/src/functions/set.d.ts +7 -0
- package/packages/_vue2/dist/src/functions/track.d.ts +21 -0
- package/packages/_vue2/dist/src/functions/transform-block.d.ts +2 -0
- package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +8 -0
- package/packages/_vue2/dist/src/helpers/cookie.d.ts +15 -0
- package/packages/_vue2/dist/src/helpers/css.d.ts +1 -0
- package/packages/_vue2/dist/src/helpers/flatten.d.ts +6 -0
- package/packages/_vue2/dist/src/helpers/localStorage.d.ts +8 -0
- package/packages/_vue2/dist/src/helpers/nullable.d.ts +2 -0
- package/packages/_vue2/dist/src/helpers/sessionId.d.ts +6 -0
- package/packages/_vue2/dist/src/helpers/url.d.ts +6 -0
- package/packages/_vue2/dist/src/helpers/uuid.d.ts +8 -0
- package/packages/_vue2/dist/src/helpers/visitorId.d.ts +6 -0
- package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +10 -0
- package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +1 -0
- package/packages/_vue2/dist/src/index.d.ts +8 -0
- package/packages/_vue2/dist/src/scripts/init-editing.d.ts +2 -0
- package/packages/_vue2/dist/src/types/builder-block.d.ts +57 -0
- package/packages/_vue2/dist/src/types/builder-content.d.ts +38 -0
- package/packages/_vue2/dist/src/types/can-track.d.ts +3 -0
- package/packages/_vue2/dist/src/types/components.d.ts +177 -0
- package/packages/_vue2/dist/src/types/deep-partial.d.ts +3 -0
- package/packages/_vue2/dist/src/types/element.d.ts +59 -0
- package/packages/_vue2/dist/src/types/typescript.d.ts +5 -0
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.867fd8f0.js +69 -0
- package/packages/_vue3/dist/block-styles.b9355d79.cjs +10 -0
- package/packages/_vue3/dist/env.d.ts +1 -0
- package/packages/_vue3/dist/get-processed-block.4d9c7a48.cjs +1 -0
- package/packages/_vue3/dist/get-processed-block.77923ee6.js +40 -0
- package/packages/_vue3/dist/{index.eb0e01ba.js → index.7b49e825.js} +132 -141
- package/packages/_vue3/dist/index.bbfd8c89.cjs +4 -0
- package/packages/_vue3/dist/render-block.1e996e4e.cjs +3 -0
- package/packages/_vue3/dist/render-block.3110fec0.js +243 -0
- package/packages/_vue3/dist/render-component.470525d5.cjs +1 -0
- package/packages/_vue3/dist/{render-component.963a01c2.js → render-component.7ca6729a.js} +11 -12
- package/packages/_vue3/dist/{render-inlined-styles.1c41d49e.js → render-inlined-styles.0b1e087d.js} +7 -8
- package/packages/_vue3/dist/render-inlined-styles.56082955.cjs +1 -0
- package/packages/_vue3/dist/{render-repeated-block.760bb69a.js → render-repeated-block.0b974ccc.js} +5 -6
- package/packages/_vue3/dist/render-repeated-block.10c41242.cjs +1 -0
- package/packages/_vue3/dist/{render-styles.750ea842.js → render-styles.65bace65.js} +13 -14
- package/packages/_vue3/dist/{render-styles.c0cc9565.cjs → render-styles.d4412af2.cjs} +2 -2
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.d.ts +1 -0
- package/packages/_vue3/dist/sdk.js +1 -1
- package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +11 -0
- package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +77 -0
- package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
- package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +22 -0
- package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +1 -0
- package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
- package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +1 -0
- package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +31 -0
- package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +17 -0
- package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +11 -0
- package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +167 -0
- package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +8 -0
- package/packages/_vue3/dist/src/blocks/util.d.ts +1 -0
- package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +2 -0
- package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +24 -0
- package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
- package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
- package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +8 -0
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +10 -0
- package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +17 -0
- package/packages/_vue3/dist/src/components/render-block/types.d.ts +6 -0
- package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +49 -0
- package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
- package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +139 -0
- package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
- package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +6 -0
- package/packages/_vue3/dist/src/constants/device-sizes.d.ts +2 -0
- package/packages/_vue3/dist/src/constants/target.d.ts +2 -0
- package/packages/_vue3/dist/src/context/builder.context.d.ts +2 -0
- package/packages/_vue3/dist/src/context/types.d.ts +16 -0
- package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/evaluate.d.ts +5 -0
- package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +5 -0
- package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +9 -0
- package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -0
- package/packages/_vue3/dist/src/functions/get-block-styles.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +3 -0
- package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
- package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +5 -0
- package/packages/_vue3/dist/src/functions/get-content/index.d.ts +9 -0
- package/packages/_vue3/dist/src/functions/get-content/types.d.ts +31 -0
- package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-global-this.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +10 -0
- package/packages/_vue3/dist/src/functions/is-browser.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/is-editing.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/is-iframe.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/is-previewing.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/register-component.d.ts +14 -0
- package/packages/_vue3/dist/src/functions/register.d.ts +16 -0
- package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +4 -0
- package/packages/_vue3/dist/src/functions/set.d.ts +7 -0
- package/packages/_vue3/dist/src/functions/track.d.ts +21 -0
- package/packages/_vue3/dist/src/functions/transform-block.d.ts +2 -0
- package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +8 -0
- package/packages/_vue3/dist/src/helpers/cookie.d.ts +15 -0
- package/packages/_vue3/dist/src/helpers/css.d.ts +1 -0
- package/packages/_vue3/dist/src/helpers/flatten.d.ts +6 -0
- package/packages/_vue3/dist/src/helpers/localStorage.d.ts +8 -0
- package/packages/_vue3/dist/src/helpers/nullable.d.ts +2 -0
- package/packages/_vue3/dist/src/helpers/sessionId.d.ts +6 -0
- package/packages/_vue3/dist/src/helpers/url.d.ts +6 -0
- package/packages/_vue3/dist/src/helpers/uuid.d.ts +8 -0
- package/packages/_vue3/dist/src/helpers/visitorId.d.ts +6 -0
- package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +10 -0
- package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +1 -0
- package/packages/_vue3/dist/src/index.d.ts +8 -0
- package/packages/_vue3/dist/src/scripts/init-editing.d.ts +2 -0
- package/packages/_vue3/dist/src/types/builder-block.d.ts +57 -0
- package/packages/_vue3/dist/src/types/builder-content.d.ts +38 -0
- package/packages/_vue3/dist/src/types/can-track.d.ts +3 -0
- package/packages/_vue3/dist/src/types/components.d.ts +177 -0
- package/packages/_vue3/dist/src/types/deep-partial.d.ts +3 -0
- package/packages/_vue3/dist/src/types/element.d.ts +59 -0
- package/packages/_vue3/dist/src/types/typescript.d.ts +5 -0
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.7900ea80.cjs +0 -10
- package/packages/_vue2/dist/get-processed-block.14848083.cjs +0 -1
- package/packages/_vue2/dist/get-processed-block.eda4b627.js +0 -57
- package/packages/_vue2/dist/index.9247eff2.cjs +0 -4
- package/packages/_vue2/dist/render-block.e4f18476.cjs +0 -3
- package/packages/_vue3/dist/block-styles.1f1fb83d.js +0 -54
- package/packages/_vue3/dist/block-styles.eb8f30fe.cjs +0 -10
- package/packages/_vue3/dist/get-processed-block.b7ff491d.cjs +0 -1
- package/packages/_vue3/dist/get-processed-block.c491559e.js +0 -57
- package/packages/_vue3/dist/index.36507004.cjs +0 -4
- package/packages/_vue3/dist/render-block.3cdd0c66.js +0 -254
- package/packages/_vue3/dist/render-block.98541a38.cjs +0 -3
- package/packages/_vue3/dist/render-component.442d659d.cjs +0 -1
- package/packages/_vue3/dist/render-inlined-styles.662df301.cjs +0 -1
- package/packages/_vue3/dist/render-repeated-block.2212c878.cjs +0 -1
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import type { BuilderContent } from "../../types/builder-content.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
3
|
+
export interface SymbolInfo {
|
|
4
|
+
model?: string;
|
|
5
|
+
entry?: string;
|
|
6
|
+
data?: any;
|
|
7
|
+
content?: BuilderContent;
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
dynamic?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface SymbolProps {
|
|
12
|
+
symbol?: SymbolInfo;
|
|
13
|
+
dataOnly?: boolean;
|
|
14
|
+
dynamic?: boolean;
|
|
15
|
+
builderBlock?: BuilderBlock;
|
|
16
|
+
attributes?: any;
|
|
17
|
+
inheritState?: boolean;
|
|
18
|
+
}
|
|
19
|
+
import { markMutable } from "../../functions/mark-mutable";
|
|
20
|
+
declare const _sfc_main: {
|
|
21
|
+
name: string;
|
|
22
|
+
components: {
|
|
23
|
+
"render-content": () => Promise<{
|
|
24
|
+
name: string;
|
|
25
|
+
components: {
|
|
26
|
+
"render-content-styles": () => Promise<{
|
|
27
|
+
name: string;
|
|
28
|
+
components: {
|
|
29
|
+
"render-inlined-styles": () => Promise<{
|
|
30
|
+
name: string;
|
|
31
|
+
props: string[];
|
|
32
|
+
data: () => {
|
|
33
|
+
TARGET: string;
|
|
34
|
+
};
|
|
35
|
+
computed: {
|
|
36
|
+
injectedStyleScript(): any;
|
|
37
|
+
tagName(): string;
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
};
|
|
41
|
+
props: string[];
|
|
42
|
+
computed: {
|
|
43
|
+
injectedStyles(): any;
|
|
44
|
+
};
|
|
45
|
+
methods: {
|
|
46
|
+
getCssFromFont(font: any): string;
|
|
47
|
+
getFontCss({ customFonts }: {
|
|
48
|
+
customFonts: any;
|
|
49
|
+
}): any;
|
|
50
|
+
};
|
|
51
|
+
}>;
|
|
52
|
+
"render-blocks": () => Promise<{
|
|
53
|
+
name: string;
|
|
54
|
+
components: {
|
|
55
|
+
"render-block": () => Promise<{
|
|
56
|
+
name: string;
|
|
57
|
+
components: {
|
|
58
|
+
"render-component": () => Promise<{
|
|
59
|
+
name: string;
|
|
60
|
+
components: {
|
|
61
|
+
"render-block": () => Promise<any>;
|
|
62
|
+
"block-styles": () => Promise<{
|
|
63
|
+
name: string;
|
|
64
|
+
components: {
|
|
65
|
+
"render-inlined-styles": () => Promise<{
|
|
66
|
+
name: string;
|
|
67
|
+
props: string[];
|
|
68
|
+
data: () => {
|
|
69
|
+
TARGET: string;
|
|
70
|
+
};
|
|
71
|
+
computed: {
|
|
72
|
+
injectedStyleScript(): any;
|
|
73
|
+
tagName(): string;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
};
|
|
77
|
+
props: string[];
|
|
78
|
+
data: () => {
|
|
79
|
+
TARGET: string;
|
|
80
|
+
};
|
|
81
|
+
computed: {
|
|
82
|
+
useBlock(): any;
|
|
83
|
+
css(): any;
|
|
84
|
+
};
|
|
85
|
+
}>;
|
|
86
|
+
};
|
|
87
|
+
props: string[];
|
|
88
|
+
data: () => {
|
|
89
|
+
markPropsMutable: typeof import("../../functions/mark-mutable").markPropsMutable;
|
|
90
|
+
};
|
|
91
|
+
}>;
|
|
92
|
+
"render-repeated-block": () => Promise<{
|
|
93
|
+
name: string;
|
|
94
|
+
components: {
|
|
95
|
+
"render-block": () => Promise<any>;
|
|
96
|
+
};
|
|
97
|
+
props: string[];
|
|
98
|
+
provide(): {
|
|
99
|
+
BuilderContext: {
|
|
100
|
+
readonly content: any;
|
|
101
|
+
readonly state: any;
|
|
102
|
+
readonly context: any;
|
|
103
|
+
readonly apiKey: any;
|
|
104
|
+
readonly registeredComponents: any;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}>;
|
|
108
|
+
"block-styles": () => Promise<{
|
|
109
|
+
name: string;
|
|
110
|
+
components: {
|
|
111
|
+
"render-inlined-styles": () => Promise<{
|
|
112
|
+
name: string;
|
|
113
|
+
props: string[];
|
|
114
|
+
data: () => {
|
|
115
|
+
TARGET: string;
|
|
116
|
+
};
|
|
117
|
+
computed: {
|
|
118
|
+
injectedStyleScript(): any;
|
|
119
|
+
tagName(): string;
|
|
120
|
+
};
|
|
121
|
+
}>;
|
|
122
|
+
};
|
|
123
|
+
props: string[];
|
|
124
|
+
data: () => {
|
|
125
|
+
TARGET: string;
|
|
126
|
+
};
|
|
127
|
+
computed: {
|
|
128
|
+
useBlock(): any;
|
|
129
|
+
css(): any;
|
|
130
|
+
};
|
|
131
|
+
}>;
|
|
132
|
+
};
|
|
133
|
+
props: string[];
|
|
134
|
+
data: () => {
|
|
135
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
136
|
+
TARGET: string;
|
|
137
|
+
};
|
|
138
|
+
computed: {
|
|
139
|
+
component(): any;
|
|
140
|
+
componentInfo(): {} | undefined;
|
|
141
|
+
componentRef(): any;
|
|
142
|
+
tagName(): any;
|
|
143
|
+
useBlock(): any;
|
|
144
|
+
attributes(): any;
|
|
145
|
+
shouldWrap(): boolean;
|
|
146
|
+
componentOptions(): any;
|
|
147
|
+
renderComponentProps(): any;
|
|
148
|
+
children(): any;
|
|
149
|
+
childrenWithoutParentComponent(): (() => any) | never[];
|
|
150
|
+
repeatItemData(): any;
|
|
151
|
+
};
|
|
152
|
+
}>;
|
|
153
|
+
"block-styles": () => Promise<{
|
|
154
|
+
name: string;
|
|
155
|
+
components: {
|
|
156
|
+
"render-inlined-styles": () => Promise<{
|
|
157
|
+
name: string;
|
|
158
|
+
props: string[];
|
|
159
|
+
data: () => {
|
|
160
|
+
TARGET: string;
|
|
161
|
+
};
|
|
162
|
+
computed: {
|
|
163
|
+
injectedStyleScript(): any;
|
|
164
|
+
tagName(): string;
|
|
165
|
+
};
|
|
166
|
+
}>;
|
|
167
|
+
};
|
|
168
|
+
props: string[];
|
|
169
|
+
data: () => {
|
|
170
|
+
TARGET: string;
|
|
171
|
+
};
|
|
172
|
+
computed: {
|
|
173
|
+
useBlock(): any;
|
|
174
|
+
css(): any;
|
|
175
|
+
};
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
178
|
+
props: string[];
|
|
179
|
+
inject: {
|
|
180
|
+
builderContext: string;
|
|
181
|
+
};
|
|
182
|
+
computed: {
|
|
183
|
+
className(): any;
|
|
184
|
+
};
|
|
185
|
+
methods: {
|
|
186
|
+
onClick(): void;
|
|
187
|
+
onMouseEnter(): void;
|
|
188
|
+
_classStringToObject(str: any): {};
|
|
189
|
+
};
|
|
190
|
+
}>;
|
|
191
|
+
};
|
|
192
|
+
props: string[];
|
|
193
|
+
data: () => {
|
|
194
|
+
forceReRenderCount: number;
|
|
195
|
+
overrideContent: null;
|
|
196
|
+
update: number;
|
|
197
|
+
overrideState: {};
|
|
198
|
+
markMutable: typeof markMutable;
|
|
199
|
+
};
|
|
200
|
+
provide(): {
|
|
201
|
+
BuilderContext: {
|
|
202
|
+
readonly content: any;
|
|
203
|
+
readonly state: any;
|
|
204
|
+
readonly context: any;
|
|
205
|
+
readonly apiKey: any;
|
|
206
|
+
readonly registeredComponents: any;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
mounted(): void;
|
|
210
|
+
watch: {
|
|
211
|
+
onUpdateHook0(): void;
|
|
212
|
+
onUpdateHook1(): void;
|
|
213
|
+
onUpdateHook2(): void;
|
|
214
|
+
};
|
|
215
|
+
unmounted(): void;
|
|
216
|
+
computed: {
|
|
217
|
+
useContent(): any;
|
|
218
|
+
canTrackToUse(): any;
|
|
219
|
+
contentState(): any;
|
|
220
|
+
contextContext(): any;
|
|
221
|
+
allRegisteredComponents(): any;
|
|
222
|
+
httpReqsData(): {};
|
|
223
|
+
shouldRenderContentStyles(): any;
|
|
224
|
+
onUpdateHook0(): any;
|
|
225
|
+
onUpdateHook1(): any;
|
|
226
|
+
onUpdateHook2(): {
|
|
227
|
+
0: () => any;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
methods: {
|
|
231
|
+
processMessage(event: any): void;
|
|
232
|
+
evaluateJsCode(): void;
|
|
233
|
+
onClick(_event: any): void;
|
|
234
|
+
evalExpression(expression: any): any;
|
|
235
|
+
handleRequest({ url, key }: {
|
|
236
|
+
url: any;
|
|
237
|
+
key: any;
|
|
238
|
+
}): void;
|
|
239
|
+
runHttpRequests(): void;
|
|
240
|
+
emitStateUpdate(): void;
|
|
241
|
+
};
|
|
242
|
+
}>;
|
|
243
|
+
};
|
|
244
|
+
props: string[];
|
|
245
|
+
data: () => {
|
|
246
|
+
className: string;
|
|
247
|
+
content: null;
|
|
248
|
+
markMutable: typeof markMutable;
|
|
249
|
+
};
|
|
250
|
+
inject: {
|
|
251
|
+
builderContext: string;
|
|
252
|
+
};
|
|
253
|
+
mounted(): void;
|
|
254
|
+
watch: {
|
|
255
|
+
onUpdateHook0(): void;
|
|
256
|
+
};
|
|
257
|
+
computed: {
|
|
258
|
+
onUpdateHook0(): any;
|
|
259
|
+
};
|
|
260
|
+
methods: {
|
|
261
|
+
_classStringToObject(str: any): {};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function markSerializable<FN extends (...args: any[]) => any>(fn: FN): FN;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface VideoProps {
|
|
2
|
+
attributes?: any;
|
|
3
|
+
video?: string;
|
|
4
|
+
autoPlay?: boolean;
|
|
5
|
+
controls?: boolean;
|
|
6
|
+
muted?: boolean;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
playsInline?: boolean;
|
|
9
|
+
aspectRatio?: number;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
fit?: "contain" | "cover" | "fill";
|
|
13
|
+
position?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
|
|
14
|
+
posterImage?: string;
|
|
15
|
+
lazyLoad?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _sfc_main: {
|
|
18
|
+
name: string;
|
|
19
|
+
props: string[];
|
|
20
|
+
computed: {
|
|
21
|
+
videoProps(): any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
3
|
+
export declare type BlockStylesProps = {
|
|
4
|
+
block: BuilderBlock;
|
|
5
|
+
context: BuilderContextInterface;
|
|
6
|
+
};
|
|
7
|
+
declare const _sfc_main: {
|
|
8
|
+
name: string;
|
|
9
|
+
components: {
|
|
10
|
+
"render-inlined-styles": () => Promise<{
|
|
11
|
+
name: string;
|
|
12
|
+
props: string[];
|
|
13
|
+
data: () => {
|
|
14
|
+
TARGET: string;
|
|
15
|
+
};
|
|
16
|
+
computed: {
|
|
17
|
+
injectedStyleScript(): any;
|
|
18
|
+
tagName(): string;
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
props: string[];
|
|
23
|
+
data: () => {
|
|
24
|
+
TARGET: string;
|
|
25
|
+
};
|
|
26
|
+
computed: {
|
|
27
|
+
useBlock(): any;
|
|
28
|
+
css(): any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
2
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
3
|
+
export declare type RenderBlockProps = {
|
|
4
|
+
block: BuilderBlock;
|
|
5
|
+
context: BuilderContextInterface;
|
|
6
|
+
};
|
|
7
|
+
declare const _sfc_main: {
|
|
8
|
+
name: string;
|
|
9
|
+
components: {
|
|
10
|
+
"render-component": () => Promise<{
|
|
11
|
+
name: string;
|
|
12
|
+
components: {
|
|
13
|
+
"render-block": () => Promise<any>;
|
|
14
|
+
"block-styles": () => Promise<{
|
|
15
|
+
name: string;
|
|
16
|
+
components: {
|
|
17
|
+
"render-inlined-styles": () => Promise<{
|
|
18
|
+
name: string;
|
|
19
|
+
props: string[];
|
|
20
|
+
data: () => {
|
|
21
|
+
TARGET: string;
|
|
22
|
+
};
|
|
23
|
+
computed: {
|
|
24
|
+
injectedStyleScript(): any;
|
|
25
|
+
tagName(): string;
|
|
26
|
+
};
|
|
27
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
props: string[];
|
|
30
|
+
data: () => {
|
|
31
|
+
TARGET: string;
|
|
32
|
+
};
|
|
33
|
+
computed: {
|
|
34
|
+
useBlock(): any;
|
|
35
|
+
css(): any;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
props: string[];
|
|
40
|
+
data: () => {
|
|
41
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
"render-repeated-block": () => Promise<{
|
|
45
|
+
name: string;
|
|
46
|
+
components: {
|
|
47
|
+
"render-block": () => Promise<any>;
|
|
48
|
+
};
|
|
49
|
+
props: string[];
|
|
50
|
+
provide(): {
|
|
51
|
+
BuilderContext: {
|
|
52
|
+
readonly content: any;
|
|
53
|
+
readonly state: any;
|
|
54
|
+
readonly context: any;
|
|
55
|
+
readonly apiKey: any;
|
|
56
|
+
readonly registeredComponents: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
60
|
+
"block-styles": () => Promise<{
|
|
61
|
+
name: string;
|
|
62
|
+
components: {
|
|
63
|
+
"render-inlined-styles": () => Promise<{
|
|
64
|
+
name: string;
|
|
65
|
+
props: string[];
|
|
66
|
+
data: () => {
|
|
67
|
+
TARGET: string;
|
|
68
|
+
};
|
|
69
|
+
computed: {
|
|
70
|
+
injectedStyleScript(): any;
|
|
71
|
+
tagName(): string;
|
|
72
|
+
};
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
props: string[];
|
|
76
|
+
data: () => {
|
|
77
|
+
TARGET: string;
|
|
78
|
+
};
|
|
79
|
+
computed: {
|
|
80
|
+
useBlock(): any;
|
|
81
|
+
css(): any;
|
|
82
|
+
};
|
|
83
|
+
}>;
|
|
84
|
+
};
|
|
85
|
+
props: string[];
|
|
86
|
+
data: () => {
|
|
87
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
88
|
+
TARGET: string;
|
|
89
|
+
};
|
|
90
|
+
computed: {
|
|
91
|
+
component(): any;
|
|
92
|
+
componentInfo(): {} | undefined;
|
|
93
|
+
componentRef(): any;
|
|
94
|
+
tagName(): any;
|
|
95
|
+
useBlock(): any;
|
|
96
|
+
attributes(): any;
|
|
97
|
+
shouldWrap(): boolean;
|
|
98
|
+
componentOptions(): any;
|
|
99
|
+
renderComponentProps(): any;
|
|
100
|
+
children(): any;
|
|
101
|
+
childrenWithoutParentComponent(): (() => any) | never[];
|
|
102
|
+
repeatItemData(): any;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../../types/builder-block.js";
|
|
2
|
+
import type { BuilderContextInterface } from "../../context/types.js";
|
|
3
|
+
export interface RenderComponentProps {
|
|
4
|
+
componentRef: any;
|
|
5
|
+
componentOptions: any;
|
|
6
|
+
blockChildren: BuilderBlock[];
|
|
7
|
+
context: BuilderContextInterface;
|
|
8
|
+
}
|
|
9
|
+
import { markPropsMutable } from "../../functions/mark-mutable.js";
|
|
10
|
+
declare const _sfc_main: {
|
|
11
|
+
name: string;
|
|
12
|
+
components: {
|
|
13
|
+
"render-block": () => Promise<{
|
|
14
|
+
name: string;
|
|
15
|
+
components: {
|
|
16
|
+
"render-component": () => Promise<any>;
|
|
17
|
+
"render-repeated-block": () => Promise<{
|
|
18
|
+
name: string;
|
|
19
|
+
components: {
|
|
20
|
+
"render-block": () => Promise<any>;
|
|
21
|
+
};
|
|
22
|
+
props: string[];
|
|
23
|
+
provide(): {
|
|
24
|
+
BuilderContext: {
|
|
25
|
+
readonly content: any;
|
|
26
|
+
readonly state: any;
|
|
27
|
+
readonly context: any;
|
|
28
|
+
readonly apiKey: any;
|
|
29
|
+
readonly registeredComponents: any;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
"block-styles": () => Promise<{
|
|
34
|
+
name: string;
|
|
35
|
+
components: {
|
|
36
|
+
"render-inlined-styles": () => Promise<{
|
|
37
|
+
name: string;
|
|
38
|
+
props: string[];
|
|
39
|
+
data: () => {
|
|
40
|
+
TARGET: string;
|
|
41
|
+
};
|
|
42
|
+
computed: {
|
|
43
|
+
injectedStyleScript(): any;
|
|
44
|
+
tagName(): string;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
48
|
+
props: string[];
|
|
49
|
+
data: () => {
|
|
50
|
+
TARGET: string;
|
|
51
|
+
};
|
|
52
|
+
computed: {
|
|
53
|
+
useBlock(): any;
|
|
54
|
+
css(): any;
|
|
55
|
+
};
|
|
56
|
+
}>;
|
|
57
|
+
};
|
|
58
|
+
props: string[];
|
|
59
|
+
data: () => {
|
|
60
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
61
|
+
TARGET: string;
|
|
62
|
+
};
|
|
63
|
+
computed: {
|
|
64
|
+
component(): any;
|
|
65
|
+
componentInfo(): {} | undefined;
|
|
66
|
+
componentRef(): any;
|
|
67
|
+
tagName(): any;
|
|
68
|
+
useBlock(): any;
|
|
69
|
+
attributes(): any;
|
|
70
|
+
shouldWrap(): boolean;
|
|
71
|
+
componentOptions(): any;
|
|
72
|
+
renderComponentProps(): any;
|
|
73
|
+
children(): any;
|
|
74
|
+
childrenWithoutParentComponent(): (() => any) | never[];
|
|
75
|
+
repeatItemData(): any;
|
|
76
|
+
};
|
|
77
|
+
}>;
|
|
78
|
+
"block-styles": () => Promise<{
|
|
79
|
+
name: string;
|
|
80
|
+
components: {
|
|
81
|
+
"render-inlined-styles": () => Promise<{
|
|
82
|
+
name: string;
|
|
83
|
+
props: string[];
|
|
84
|
+
data: () => {
|
|
85
|
+
TARGET: string;
|
|
86
|
+
};
|
|
87
|
+
computed: {
|
|
88
|
+
injectedStyleScript(): any;
|
|
89
|
+
tagName(): string;
|
|
90
|
+
};
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
props: string[];
|
|
94
|
+
data: () => {
|
|
95
|
+
TARGET: string;
|
|
96
|
+
};
|
|
97
|
+
computed: {
|
|
98
|
+
useBlock(): any;
|
|
99
|
+
css(): any;
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
102
|
+
};
|
|
103
|
+
props: string[];
|
|
104
|
+
data: () => {
|
|
105
|
+
markPropsMutable: typeof markPropsMutable;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare const _sfc_main: {
|
|
2
|
+
name: string;
|
|
3
|
+
components: {
|
|
4
|
+
"render-block": () => Promise<{
|
|
5
|
+
name: string;
|
|
6
|
+
components: {
|
|
7
|
+
"render-component": () => Promise<{
|
|
8
|
+
name: string;
|
|
9
|
+
components: {
|
|
10
|
+
"render-block": () => Promise<any>;
|
|
11
|
+
"block-styles": () => Promise<{
|
|
12
|
+
name: string;
|
|
13
|
+
components: {
|
|
14
|
+
"render-inlined-styles": () => Promise<{
|
|
15
|
+
name: string;
|
|
16
|
+
props: string[];
|
|
17
|
+
data: () => {
|
|
18
|
+
TARGET: string;
|
|
19
|
+
};
|
|
20
|
+
computed: {
|
|
21
|
+
injectedStyleScript(): any;
|
|
22
|
+
tagName(): string;
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
};
|
|
26
|
+
props: string[];
|
|
27
|
+
data: () => {
|
|
28
|
+
TARGET: string;
|
|
29
|
+
};
|
|
30
|
+
computed: {
|
|
31
|
+
useBlock(): any;
|
|
32
|
+
css(): any;
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
props: string[];
|
|
37
|
+
data: () => {
|
|
38
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
"render-repeated-block": () => Promise<any>;
|
|
42
|
+
"block-styles": () => Promise<{
|
|
43
|
+
name: string;
|
|
44
|
+
components: {
|
|
45
|
+
"render-inlined-styles": () => Promise<{
|
|
46
|
+
name: string;
|
|
47
|
+
props: string[];
|
|
48
|
+
data: () => {
|
|
49
|
+
TARGET: string;
|
|
50
|
+
};
|
|
51
|
+
computed: {
|
|
52
|
+
injectedStyleScript(): any;
|
|
53
|
+
tagName(): string;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
};
|
|
57
|
+
props: string[];
|
|
58
|
+
data: () => {
|
|
59
|
+
TARGET: string;
|
|
60
|
+
};
|
|
61
|
+
computed: {
|
|
62
|
+
useBlock(): any;
|
|
63
|
+
css(): any;
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
};
|
|
67
|
+
props: string[];
|
|
68
|
+
data: () => {
|
|
69
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
70
|
+
TARGET: string;
|
|
71
|
+
};
|
|
72
|
+
computed: {
|
|
73
|
+
component(): any;
|
|
74
|
+
componentInfo(): {} | undefined;
|
|
75
|
+
componentRef(): any;
|
|
76
|
+
tagName(): any;
|
|
77
|
+
useBlock(): any;
|
|
78
|
+
attributes(): any;
|
|
79
|
+
shouldWrap(): boolean;
|
|
80
|
+
componentOptions(): any;
|
|
81
|
+
renderComponentProps(): any;
|
|
82
|
+
children(): any;
|
|
83
|
+
childrenWithoutParentComponent(): (() => any) | never[];
|
|
84
|
+
repeatItemData(): any;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
};
|
|
88
|
+
props: string[];
|
|
89
|
+
provide(): {
|
|
90
|
+
BuilderContext: {
|
|
91
|
+
readonly content: any;
|
|
92
|
+
readonly state: any;
|
|
93
|
+
readonly context: any;
|
|
94
|
+
readonly apiKey: any;
|
|
95
|
+
readonly registeredComponents: any;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _sfc_main;
|