@builder.io/sdk-vue 0.0.2 → 0.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 +4 -3
- package/packages/_vue2/dist/block-styles.234651b2.js +86 -0
- package/packages/_vue2/dist/block-styles.c531694e.cjs +6 -0
- package/packages/{_vue3/dist/get-processed-block.77923ee6.js → _vue2/dist/get-processed-block.1ba91586.js} +1 -1
- package/packages/{_vue3/dist/get-processed-block.4d9c7a48.cjs → _vue2/dist/get-processed-block.6a23a7de.cjs} +1 -1
- package/packages/_vue2/dist/{index.93374a52.js → index.19474a4f.js} +300 -282
- package/packages/_vue2/dist/index.e85eb7cf.cjs +4 -0
- package/packages/_vue2/dist/{render-block.f95552ec.js → render-block.3cf39e0e.js} +67 -54
- package/packages/_vue2/dist/render-block.4f260352.cjs +3 -0
- package/packages/_vue2/dist/render-component-with-context.dcb1f5da.js +53 -0
- package/packages/_vue2/dist/render-component-with-context.f76bfccc.cjs +1 -0
- package/packages/_vue2/dist/{render-component.10d6d66e.js → render-component.56e5101d.js} +14 -14
- package/packages/_vue2/dist/render-component.a9d4efb1.cjs +1 -0
- package/packages/_vue2/dist/{render-inlined-styles.3826da36.cjs → render-inlined-styles.9b6439ce.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.0fed22b4.js → render-inlined-styles.b6534355.js} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.f29194a7.js → render-repeated-block.3e536590.js} +11 -8
- package/packages/_vue2/dist/render-repeated-block.95861e2e.cjs +1 -0
- package/packages/_vue2/dist/{render-styles.9ff97301.cjs → render-styles.9d4787d0.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.cd30abd1.js → render-styles.ad89c45c.js} +8 -8
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +1 -1
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.88005ace.js +83 -0
- package/packages/_vue3/dist/block-styles.e3632a69.cjs +6 -0
- package/packages/{_vue2/dist/get-processed-block.53761199.js → _vue3/dist/get-processed-block.0d475a13.js} +1 -1
- package/packages/{_vue2/dist/get-processed-block.5b7d0290.cjs → _vue3/dist/get-processed-block.c75eb6d1.cjs} +1 -1
- package/packages/_vue3/dist/{index.7b49e825.js → index.2472a241.js} +261 -241
- package/packages/_vue3/dist/index.e7c6fe34.cjs +4 -0
- package/packages/_vue3/dist/render-block.593fc01c.js +258 -0
- package/packages/_vue3/dist/render-block.92199649.cjs +3 -0
- package/packages/_vue3/dist/render-component-with-context.f5cab824.js +45 -0
- package/packages/_vue3/dist/render-component-with-context.fb4f86a9.cjs +1 -0
- package/packages/_vue3/dist/render-component.06b4587b.cjs +1 -0
- package/packages/_vue3/dist/{render-component.7ca6729a.js → render-component.d5c26257.js} +9 -9
- package/packages/_vue3/dist/{render-inlined-styles.56082955.cjs → render-inlined-styles.3fab5467.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.0b1e087d.js → render-inlined-styles.be1aba8b.js} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.0b974ccc.js → render-repeated-block.1d1c64a8.js} +12 -9
- package/packages/_vue3/dist/render-repeated-block.d1580cb5.cjs +1 -0
- package/packages/_vue3/dist/{render-styles.d4412af2.cjs → render-styles.4717b645.cjs} +1 -1
- package/packages/_vue3/dist/{render-styles.65bace65.js → render-styles.efaaccdf.js} +3 -3
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +1 -1
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.a3384cd8.js +0 -72
- package/packages/_vue2/dist/block-styles.b8f018af.cjs +0 -10
- package/packages/_vue2/dist/index.3fb2f85b.cjs +0 -4
- package/packages/_vue2/dist/render-block.31ab55d9.cjs +0 -3
- package/packages/_vue2/dist/render-component.4714b27b.cjs +0 -1
- package/packages/_vue2/dist/render-repeated-block.d8e1f3e2.cjs +0 -1
- package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +0 -11
- package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +0 -174
- package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +0 -18
- package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +0 -22
- package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +0 -1
- package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +0 -10
- package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +0 -1
- package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +0 -17
- package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +0 -11
- package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +0 -264
- package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +0 -8
- package/packages/_vue2/dist/src/blocks/util.d.ts +0 -1
- package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +0 -2
- package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +0 -24
- package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +0 -31
- 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 +0 -105
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +0 -108
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -99
- package/packages/_vue2/dist/src/components/render-block/types.d.ts +0 -6
- package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +0 -146
- package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +0 -27
- package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +0 -236
- package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +0 -12
- package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +0 -6
- package/packages/_vue2/dist/src/constants/device-sizes.d.ts +0 -2
- package/packages/_vue2/dist/src/constants/target.d.ts +0 -2
- package/packages/_vue2/dist/src/context/builder.context.d.ts +0 -2
- package/packages/_vue2/dist/src/context/types.d.ts +0 -16
- package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/evaluate.d.ts +0 -5
- package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +0 -5
- package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +0 -9
- package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +0 -2
- package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +0 -5
- package/packages/_vue2/dist/src/functions/get-block-styles.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +0 -3
- package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +0 -6
- package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +0 -5
- package/packages/_vue2/dist/src/functions/get-content/index.d.ts +0 -9
- package/packages/_vue2/dist/src/functions/get-content/types.d.ts +0 -31
- package/packages/_vue2/dist/src/functions/get-fetch.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/get-global-this.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +0 -10
- package/packages/_vue2/dist/src/functions/is-browser.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/is-editing.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/is-iframe.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/is-previewing.d.ts +0 -1
- package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +0 -2
- package/packages/_vue2/dist/src/functions/register-component.d.ts +0 -14
- package/packages/_vue2/dist/src/functions/register.d.ts +0 -16
- package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +0 -4
- package/packages/_vue2/dist/src/functions/set.d.ts +0 -7
- package/packages/_vue2/dist/src/functions/track.d.ts +0 -21
- package/packages/_vue2/dist/src/functions/transform-block.d.ts +0 -2
- package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +0 -8
- package/packages/_vue2/dist/src/helpers/cookie.d.ts +0 -15
- package/packages/_vue2/dist/src/helpers/css.d.ts +0 -1
- package/packages/_vue2/dist/src/helpers/flatten.d.ts +0 -6
- package/packages/_vue2/dist/src/helpers/localStorage.d.ts +0 -8
- package/packages/_vue2/dist/src/helpers/nullable.d.ts +0 -2
- package/packages/_vue2/dist/src/helpers/sessionId.d.ts +0 -6
- package/packages/_vue2/dist/src/helpers/url.d.ts +0 -6
- package/packages/_vue2/dist/src/helpers/uuid.d.ts +0 -8
- package/packages/_vue2/dist/src/helpers/visitorId.d.ts +0 -6
- package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +0 -10
- package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +0 -1
- package/packages/_vue2/dist/src/index.d.ts +0 -8
- package/packages/_vue2/dist/src/scripts/init-editing.d.ts +0 -2
- package/packages/_vue2/dist/src/types/builder-block.d.ts +0 -57
- package/packages/_vue2/dist/src/types/builder-content.d.ts +0 -38
- package/packages/_vue2/dist/src/types/can-track.d.ts +0 -3
- package/packages/_vue2/dist/src/types/components.d.ts +0 -177
- package/packages/_vue2/dist/src/types/deep-partial.d.ts +0 -3
- package/packages/_vue2/dist/src/types/element.d.ts +0 -59
- package/packages/_vue2/dist/src/types/typescript.d.ts +0 -5
- package/packages/_vue3/dist/block-styles.867fd8f0.js +0 -69
- package/packages/_vue3/dist/block-styles.b9355d79.cjs +0 -10
- package/packages/_vue3/dist/index.bbfd8c89.cjs +0 -4
- package/packages/_vue3/dist/render-block.1e996e4e.cjs +0 -3
- package/packages/_vue3/dist/render-block.3110fec0.js +0 -243
- package/packages/_vue3/dist/render-component.470525d5.cjs +0 -1
- package/packages/_vue3/dist/render-repeated-block.10c41242.cjs +0 -1
- package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +0 -11
- package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +0 -77
- package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +0 -18
- package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +0 -22
- package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +0 -1
- package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +0 -10
- package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +0 -1
- package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +0 -31
- package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +0 -17
- package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +0 -11
- package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +0 -167
- package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +0 -8
- package/packages/_vue3/dist/src/blocks/util.d.ts +0 -1
- package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +0 -2
- package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +0 -24
- package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +0 -31
- 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 +0 -8
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +0 -10
- package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -17
- package/packages/_vue3/dist/src/components/render-block/types.d.ts +0 -6
- package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +0 -49
- package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +0 -27
- package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +0 -139
- package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +0 -12
- package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +0 -6
- package/packages/_vue3/dist/src/constants/device-sizes.d.ts +0 -2
- package/packages/_vue3/dist/src/constants/target.d.ts +0 -2
- package/packages/_vue3/dist/src/context/builder.context.d.ts +0 -2
- package/packages/_vue3/dist/src/context/types.d.ts +0 -16
- package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/evaluate.d.ts +0 -5
- package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +0 -5
- package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +0 -9
- package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +0 -2
- package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +0 -5
- package/packages/_vue3/dist/src/functions/get-block-styles.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +0 -3
- package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +0 -6
- package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +0 -5
- package/packages/_vue3/dist/src/functions/get-content/index.d.ts +0 -9
- package/packages/_vue3/dist/src/functions/get-content/types.d.ts +0 -31
- package/packages/_vue3/dist/src/functions/get-fetch.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/get-global-this.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +0 -10
- package/packages/_vue3/dist/src/functions/is-browser.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/is-editing.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/is-iframe.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/is-previewing.d.ts +0 -1
- package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +0 -2
- package/packages/_vue3/dist/src/functions/register-component.d.ts +0 -14
- package/packages/_vue3/dist/src/functions/register.d.ts +0 -16
- package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +0 -4
- package/packages/_vue3/dist/src/functions/set.d.ts +0 -7
- package/packages/_vue3/dist/src/functions/track.d.ts +0 -21
- package/packages/_vue3/dist/src/functions/transform-block.d.ts +0 -2
- package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +0 -8
- package/packages/_vue3/dist/src/helpers/cookie.d.ts +0 -15
- package/packages/_vue3/dist/src/helpers/css.d.ts +0 -1
- package/packages/_vue3/dist/src/helpers/flatten.d.ts +0 -6
- package/packages/_vue3/dist/src/helpers/localStorage.d.ts +0 -8
- package/packages/_vue3/dist/src/helpers/nullable.d.ts +0 -2
- package/packages/_vue3/dist/src/helpers/sessionId.d.ts +0 -6
- package/packages/_vue3/dist/src/helpers/url.d.ts +0 -6
- package/packages/_vue3/dist/src/helpers/uuid.d.ts +0 -8
- package/packages/_vue3/dist/src/helpers/visitorId.d.ts +0 -6
- package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +0 -10
- package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +0 -1
- package/packages/_vue3/dist/src/index.d.ts +0 -8
- package/packages/_vue3/dist/src/scripts/init-editing.d.ts +0 -2
- package/packages/_vue3/dist/src/types/builder-block.d.ts +0 -57
- package/packages/_vue3/dist/src/types/builder-content.d.ts +0 -38
- package/packages/_vue3/dist/src/types/can-track.d.ts +0 -3
- package/packages/_vue3/dist/src/types/components.d.ts +0 -177
- package/packages/_vue3/dist/src/types/deep-partial.d.ts +0 -3
- package/packages/_vue3/dist/src/types/element.d.ts +0 -59
- package/packages/_vue3/dist/src/types/typescript.d.ts +0 -5
|
@@ -1,167 +0,0 @@
|
|
|
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": {
|
|
24
|
-
name: string;
|
|
25
|
-
components: {
|
|
26
|
-
"render-content-styles": {
|
|
27
|
-
name: string;
|
|
28
|
-
components: {
|
|
29
|
-
"render-inlined-styles": {
|
|
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": {
|
|
53
|
-
name: string;
|
|
54
|
-
components: {
|
|
55
|
-
"render-block": any;
|
|
56
|
-
"block-styles": {
|
|
57
|
-
name: string;
|
|
58
|
-
components: {
|
|
59
|
-
"render-inlined-styles": {
|
|
60
|
-
name: string;
|
|
61
|
-
props: string[];
|
|
62
|
-
data: () => {
|
|
63
|
-
TARGET: string;
|
|
64
|
-
};
|
|
65
|
-
computed: {
|
|
66
|
-
injectedStyleScript(): any;
|
|
67
|
-
tagName(): string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
props: string[];
|
|
72
|
-
data: () => {
|
|
73
|
-
TARGET: string;
|
|
74
|
-
};
|
|
75
|
-
computed: {
|
|
76
|
-
useBlock(): any;
|
|
77
|
-
css(): any;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
props: string[];
|
|
82
|
-
inject: {
|
|
83
|
-
builderContext: string;
|
|
84
|
-
};
|
|
85
|
-
computed: {
|
|
86
|
-
className(): any;
|
|
87
|
-
};
|
|
88
|
-
methods: {
|
|
89
|
-
onClick(): void;
|
|
90
|
-
onMouseEnter(): void;
|
|
91
|
-
_classStringToObject(str: any): {};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
props: string[];
|
|
96
|
-
data: () => {
|
|
97
|
-
forceReRenderCount: number;
|
|
98
|
-
overrideContent: null;
|
|
99
|
-
update: number;
|
|
100
|
-
overrideState: {};
|
|
101
|
-
markMutable: typeof markMutable;
|
|
102
|
-
};
|
|
103
|
-
provide(): {
|
|
104
|
-
BuilderContext: {
|
|
105
|
-
readonly content: any;
|
|
106
|
-
readonly state: any;
|
|
107
|
-
readonly context: any;
|
|
108
|
-
readonly apiKey: any;
|
|
109
|
-
readonly registeredComponents: any;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
mounted(): void;
|
|
113
|
-
watch: {
|
|
114
|
-
onUpdateHook0(): void;
|
|
115
|
-
onUpdateHook1(): void;
|
|
116
|
-
onUpdateHook2(): void;
|
|
117
|
-
};
|
|
118
|
-
unmounted(): void;
|
|
119
|
-
computed: {
|
|
120
|
-
useContent(): any;
|
|
121
|
-
canTrackToUse(): any;
|
|
122
|
-
contentState(): any;
|
|
123
|
-
contextContext(): any;
|
|
124
|
-
allRegisteredComponents(): any;
|
|
125
|
-
httpReqsData(): {};
|
|
126
|
-
shouldRenderContentStyles(): any;
|
|
127
|
-
onUpdateHook0(): any;
|
|
128
|
-
onUpdateHook1(): any;
|
|
129
|
-
onUpdateHook2(): {
|
|
130
|
-
0: () => any;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
methods: {
|
|
134
|
-
processMessage(event: any): void;
|
|
135
|
-
evaluateJsCode(): void;
|
|
136
|
-
onClick(_event: any): void;
|
|
137
|
-
evalExpression(expression: any): any;
|
|
138
|
-
handleRequest({ url, key }: {
|
|
139
|
-
url: any;
|
|
140
|
-
key: any;
|
|
141
|
-
}): void;
|
|
142
|
-
runHttpRequests(): void;
|
|
143
|
-
emitStateUpdate(): void;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
props: string[];
|
|
148
|
-
data: () => {
|
|
149
|
-
className: string;
|
|
150
|
-
content: null;
|
|
151
|
-
markMutable: typeof markMutable;
|
|
152
|
-
};
|
|
153
|
-
inject: {
|
|
154
|
-
builderContext: string;
|
|
155
|
-
};
|
|
156
|
-
mounted(): void;
|
|
157
|
-
watch: {
|
|
158
|
-
onUpdateHook0(): void;
|
|
159
|
-
};
|
|
160
|
-
computed: {
|
|
161
|
-
onUpdateHook0(): any;
|
|
162
|
-
};
|
|
163
|
-
methods: {
|
|
164
|
-
_classStringToObject(str: any): {};
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
export default _sfc_main;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function markSerializable<FN extends (...args: any[]) => any>(fn: FN): FN;
|
|
@@ -1,24 +0,0 @@
|
|
|
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;
|
|
@@ -1,31 +0,0 @@
|
|
|
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": {
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
@@ -1,8 +0,0 @@
|
|
|
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: any;
|
|
8
|
-
export default _sfc_main;
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
declare const _sfc_main: any;
|
|
10
|
-
export default _sfc_main;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: {
|
|
2
|
-
name: string;
|
|
3
|
-
components: {
|
|
4
|
-
"render-block": any;
|
|
5
|
-
};
|
|
6
|
-
props: string[];
|
|
7
|
-
provide(): {
|
|
8
|
-
BuilderContext: {
|
|
9
|
-
readonly content: any;
|
|
10
|
-
readonly state: any;
|
|
11
|
-
readonly context: any;
|
|
12
|
-
readonly apiKey: any;
|
|
13
|
-
readonly registeredComponents: any;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _sfc_main;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { BuilderBlock } from "../types/builder-block.js";
|
|
2
|
-
export declare type RenderBlockProps = {
|
|
3
|
-
blocks?: BuilderBlock[];
|
|
4
|
-
parent?: string;
|
|
5
|
-
path?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const _sfc_main: {
|
|
8
|
-
name: string;
|
|
9
|
-
components: {
|
|
10
|
-
"render-block": any;
|
|
11
|
-
"block-styles": {
|
|
12
|
-
name: string;
|
|
13
|
-
components: {
|
|
14
|
-
"render-inlined-styles": {
|
|
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
|
-
inject: {
|
|
38
|
-
builderContext: string;
|
|
39
|
-
};
|
|
40
|
-
computed: {
|
|
41
|
-
className(): any;
|
|
42
|
-
};
|
|
43
|
-
methods: {
|
|
44
|
-
onClick(): void;
|
|
45
|
-
onMouseEnter(): void;
|
|
46
|
-
_classStringToObject(str: any): {};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _sfc_main;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: {
|
|
2
|
-
name: string;
|
|
3
|
-
components: {
|
|
4
|
-
"render-inlined-styles": {
|
|
5
|
-
name: string;
|
|
6
|
-
props: string[];
|
|
7
|
-
data: () => {
|
|
8
|
-
TARGET: string;
|
|
9
|
-
};
|
|
10
|
-
computed: {
|
|
11
|
-
injectedStyleScript(): any;
|
|
12
|
-
tagName(): string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
props: string[];
|
|
17
|
-
computed: {
|
|
18
|
-
injectedStyles(): any;
|
|
19
|
-
};
|
|
20
|
-
methods: {
|
|
21
|
-
getCssFromFont(font: any): string;
|
|
22
|
-
getFontCss({ customFonts }: {
|
|
23
|
-
customFonts: any;
|
|
24
|
-
}): any;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _sfc_main;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import type { BuilderRenderContext, RegisteredComponent } from "../../context/types.js";
|
|
2
|
-
import type { BuilderContent } from "../../types/builder-content.js";
|
|
3
|
-
import type { Nullable } from "../../types/typescript.js";
|
|
4
|
-
export declare type RenderContentProps = {
|
|
5
|
-
content?: Nullable<BuilderContent>;
|
|
6
|
-
model?: string;
|
|
7
|
-
data?: {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
context?: BuilderRenderContext;
|
|
11
|
-
apiKey: string;
|
|
12
|
-
customComponents?: RegisteredComponent[];
|
|
13
|
-
canTrack?: boolean;
|
|
14
|
-
};
|
|
15
|
-
import { markMutable } from "../../functions/mark-mutable.js";
|
|
16
|
-
declare const _sfc_main: {
|
|
17
|
-
name: string;
|
|
18
|
-
components: {
|
|
19
|
-
"render-content-styles": {
|
|
20
|
-
name: string;
|
|
21
|
-
components: {
|
|
22
|
-
"render-inlined-styles": {
|
|
23
|
-
name: string;
|
|
24
|
-
props: string[];
|
|
25
|
-
data: () => {
|
|
26
|
-
TARGET: string;
|
|
27
|
-
};
|
|
28
|
-
computed: {
|
|
29
|
-
injectedStyleScript(): any;
|
|
30
|
-
tagName(): string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
props: string[];
|
|
35
|
-
computed: {
|
|
36
|
-
injectedStyles(): any;
|
|
37
|
-
};
|
|
38
|
-
methods: {
|
|
39
|
-
getCssFromFont(font: any): string;
|
|
40
|
-
getFontCss({ customFonts }: {
|
|
41
|
-
customFonts: any;
|
|
42
|
-
}): any;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
"render-blocks": {
|
|
46
|
-
name: string;
|
|
47
|
-
components: {
|
|
48
|
-
"render-block": any;
|
|
49
|
-
"block-styles": {
|
|
50
|
-
name: string;
|
|
51
|
-
components: {
|
|
52
|
-
"render-inlined-styles": {
|
|
53
|
-
name: string;
|
|
54
|
-
props: string[];
|
|
55
|
-
data: () => {
|
|
56
|
-
TARGET: string;
|
|
57
|
-
};
|
|
58
|
-
computed: {
|
|
59
|
-
injectedStyleScript(): any;
|
|
60
|
-
tagName(): string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
props: string[];
|
|
65
|
-
data: () => {
|
|
66
|
-
TARGET: string;
|
|
67
|
-
};
|
|
68
|
-
computed: {
|
|
69
|
-
useBlock(): any;
|
|
70
|
-
css(): any;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
props: string[];
|
|
75
|
-
inject: {
|
|
76
|
-
builderContext: string;
|
|
77
|
-
};
|
|
78
|
-
computed: {
|
|
79
|
-
className(): any;
|
|
80
|
-
};
|
|
81
|
-
methods: {
|
|
82
|
-
onClick(): void;
|
|
83
|
-
onMouseEnter(): void;
|
|
84
|
-
_classStringToObject(str: any): {};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
props: string[];
|
|
89
|
-
data: () => {
|
|
90
|
-
forceReRenderCount: number;
|
|
91
|
-
overrideContent: null;
|
|
92
|
-
update: number;
|
|
93
|
-
overrideState: {};
|
|
94
|
-
markMutable: typeof markMutable;
|
|
95
|
-
};
|
|
96
|
-
provide(): {
|
|
97
|
-
BuilderContext: {
|
|
98
|
-
readonly content: any;
|
|
99
|
-
readonly state: any;
|
|
100
|
-
readonly context: any;
|
|
101
|
-
readonly apiKey: any;
|
|
102
|
-
readonly registeredComponents: any;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
mounted(): void;
|
|
106
|
-
watch: {
|
|
107
|
-
onUpdateHook0(): void;
|
|
108
|
-
onUpdateHook1(): void;
|
|
109
|
-
onUpdateHook2(): void;
|
|
110
|
-
};
|
|
111
|
-
unmounted(): void;
|
|
112
|
-
computed: {
|
|
113
|
-
useContent(): any;
|
|
114
|
-
canTrackToUse(): any;
|
|
115
|
-
contentState(): any;
|
|
116
|
-
contextContext(): any;
|
|
117
|
-
allRegisteredComponents(): any;
|
|
118
|
-
httpReqsData(): {};
|
|
119
|
-
shouldRenderContentStyles(): any;
|
|
120
|
-
onUpdateHook0(): any;
|
|
121
|
-
onUpdateHook1(): any;
|
|
122
|
-
onUpdateHook2(): {
|
|
123
|
-
0: () => any;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
methods: {
|
|
127
|
-
processMessage(event: any): void;
|
|
128
|
-
evaluateJsCode(): void;
|
|
129
|
-
onClick(_event: any): void;
|
|
130
|
-
evalExpression(expression: any): any;
|
|
131
|
-
handleRequest({ url, key }: {
|
|
132
|
-
url: any;
|
|
133
|
-
key: any;
|
|
134
|
-
}): void;
|
|
135
|
-
runHttpRequests(): void;
|
|
136
|
-
emitStateUpdate(): void;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
export default _sfc_main;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { RegisteredComponent } from '../context/types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Returns a list of all registered components.
|
|
4
|
-
* NOTE: This needs to be a function to work around ESM circular dependencies.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getDefaultRegisteredComponents: () => RegisteredComponent[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { BuilderContent } from '../types/builder-content.js';
|
|
2
|
-
import type { ComponentInfo } from '../types/components.js';
|
|
3
|
-
import type { Dictionary, Nullable } from '../types/typescript.js';
|
|
4
|
-
export declare type RegisteredComponent = ComponentInfo & {
|
|
5
|
-
component: any;
|
|
6
|
-
};
|
|
7
|
-
export declare type RegisteredComponents = Dictionary<RegisteredComponent>;
|
|
8
|
-
export declare type BuilderRenderState = Record<string, unknown>;
|
|
9
|
-
export declare type BuilderRenderContext = Record<string, unknown>;
|
|
10
|
-
export interface BuilderContextInterface {
|
|
11
|
-
content: Nullable<BuilderContent>;
|
|
12
|
-
context: BuilderRenderContext;
|
|
13
|
-
state: BuilderRenderState;
|
|
14
|
-
apiKey: string | null;
|
|
15
|
-
registeredComponents: RegisteredComponents;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const camelToKebabCase: (string: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEventHandlerName: (key: string) => string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from '../context/types.js';
|
|
2
|
-
import type { BuilderBlock } from '../types/builder-block.js';
|
|
3
|
-
export declare function crateEventHandler(value: string, options: {
|
|
4
|
-
block: BuilderBlock;
|
|
5
|
-
} & Pick<BuilderContextInterface, 'state' | 'context'>): (event: Event) => any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { BuilderContextInterface } from '../context/types.js';
|
|
2
|
-
import type { BuilderBlock } from '../types/builder-block.js';
|
|
3
|
-
declare type Actions = {
|
|
4
|
-
[index: string]: (event: Event) => any;
|
|
5
|
-
};
|
|
6
|
-
export declare function getBlockActions(options: {
|
|
7
|
-
block: BuilderBlock;
|
|
8
|
-
} & Pick<BuilderContextInterface, 'state' | 'context'>): Actions;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getBlockStyles(): {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare type QueryObject = Record<string, string>;
|
|
2
|
-
export declare const convertSearchParamsToQueryObject: (searchParams: URLSearchParams) => QueryObject;
|
|
3
|
-
export declare const getBuilderSearchParams: (_options: QueryObject | URLSearchParams | undefined) => QueryObject;
|
|
4
|
-
export declare const getBuilderSearchParamsFromWindow: () => QueryObject;
|
|
5
|
-
export declare const normalizeSearchParams: (searchParams: QueryObject | URLSearchParams) => QueryObject;
|
|
6
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { BuilderContent } from '../../types/builder-content.js';
|
|
2
|
-
export declare type GetContentOptions = import('./types.js').GetContentOptions;
|
|
3
|
-
export declare function getContent(options: GetContentOptions): Promise<BuilderContent | null>;
|
|
4
|
-
export declare const generateContentUrl: (options: GetContentOptions) => URL;
|
|
5
|
-
interface ContentResponse {
|
|
6
|
-
results: BuilderContent[];
|
|
7
|
-
}
|
|
8
|
-
export declare function getAllContent(options: GetContentOptions): Promise<ContentResponse>;
|
|
9
|
-
export {};
|