@builder.io/sdk-vue 0.0.3-1 → 0.0.4
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/README.md +2 -14
- package/package.json +5 -4
- package/packages/_vue2/dist/{block-styles.c531694e.cjs → block-styles.eb369124.cjs} +3 -3
- package/packages/_vue2/dist/{block-styles.234651b2.js → block-styles.fc09dcaf.js} +3 -3
- package/packages/_vue2/dist/get-processed-block.ae7861fa.js +40 -0
- package/packages/_vue2/dist/get-processed-block.fce88f96.cjs +1 -0
- package/packages/_vue2/dist/{index.19474a4f.js → index.a348d39c.js} +325 -313
- package/packages/_vue2/dist/index.efd88402.cjs +4 -0
- package/packages/_vue2/dist/{render-block.3cf39e0e.js → render-block.089abc43.js} +31 -38
- package/packages/_vue2/dist/render-block.d62a967f.cjs +3 -0
- package/packages/_vue2/dist/render-component-with-context.02a2c528.js +53 -0
- package/packages/_vue2/dist/render-component-with-context.1a7fd4e9.cjs +1 -0
- package/packages/_vue2/dist/{render-component.a9d4efb1.cjs → render-component.4342df65.cjs} +1 -1
- package/packages/_vue2/dist/{render-component.56e5101d.js → render-component.75cfc72e.js} +3 -3
- package/packages/_vue2/dist/{render-inlined-styles.9b6439ce.cjs → render-inlined-styles.36f2f1b9.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.b6534355.js → render-inlined-styles.6eb4d3ee.js} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.3e536590.js → render-repeated-block.c84c107f.js} +2 -2
- package/packages/_vue2/dist/{render-repeated-block.95861e2e.cjs → render-repeated-block.e85c5841.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.9d4787d0.cjs → render-styles.13fa67a1.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.ad89c45c.js → render-styles.6722cee5.js} +2 -2
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +7 -6
- 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 +306 -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 +396 -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 +25 -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 +237 -0
- package/packages/_vue2/dist/src/components/render-block/render-component-with-context.vue.d.ts +116 -0
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +141 -0
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +231 -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 +279 -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 +368 -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 +17 -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/extract-text-styles.d.ts +4 -0
- package/packages/_vue2/dist/src/functions/fast-clone.d.ts +4 -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-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/get-react-native-block-styles.d.ts +6 -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/sanitize-react-native-block-styles.d.ts +3 -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 +51 -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 +5 -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 +9 -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.e3632a69.cjs → block-styles.4388e73f.cjs} +2 -2
- package/packages/_vue3/dist/{block-styles.88005ace.js → block-styles.e92f0e4a.js} +3 -3
- package/packages/_vue3/dist/get-processed-block.91be815e.js +40 -0
- package/packages/_vue3/dist/get-processed-block.da7b258e.cjs +1 -0
- package/packages/_vue3/dist/index.528ea0ff.cjs +4 -0
- package/packages/_vue3/dist/{index.2472a241.js → index.7a037186.js} +438 -425
- package/packages/_vue3/dist/render-block.3d77314f.cjs +3 -0
- package/packages/_vue3/dist/{render-block.593fc01c.js → render-block.7817291b.js} +78 -95
- package/packages/_vue3/dist/render-component-with-context.b67db565.cjs +1 -0
- package/packages/_vue3/dist/{render-component-with-context.f5cab824.js → render-component-with-context.fa0fe72b.js} +15 -10
- package/packages/_vue3/dist/{render-component.06b4587b.cjs → render-component.2630f2f7.cjs} +1 -1
- package/packages/_vue3/dist/{render-component.d5c26257.js → render-component.cca10188.js} +3 -3
- package/packages/_vue3/dist/{render-inlined-styles.3fab5467.cjs → render-inlined-styles.7be0edda.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.be1aba8b.js → render-inlined-styles.bf23044d.js} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.d1580cb5.cjs → render-repeated-block.a972d060.cjs} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.1d1c64a8.js → render-repeated-block.fa7d9eeb.js} +2 -2
- package/packages/_vue3/dist/{render-styles.efaaccdf.js → render-styles.970e0a2e.js} +2 -2
- package/packages/_vue3/dist/{render-styles.4717b645.cjs → render-styles.b4777a9f.cjs} +1 -1
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +10 -9
- 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 +25 -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-with-context.vue.d.ts +51 -0
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +44 -0
- package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +2 -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 +50 -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 +17 -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/extract-text-styles.d.ts +4 -0
- package/packages/_vue3/dist/src/functions/fast-clone.d.ts +4 -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-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/get-react-native-block-styles.d.ts +6 -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/sanitize-react-native-block-styles.d.ts +3 -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 +51 -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 +5 -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 +9 -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/get-processed-block.1ba91586.js +0 -40
- package/packages/_vue2/dist/get-processed-block.6a23a7de.cjs +0 -1
- package/packages/_vue2/dist/index.e85eb7cf.cjs +0 -4
- package/packages/_vue2/dist/render-block.4f260352.cjs +0 -3
- package/packages/_vue2/dist/render-component-with-context.dcb1f5da.js +0 -53
- package/packages/_vue2/dist/render-component-with-context.f76bfccc.cjs +0 -1
- package/packages/_vue3/dist/get-processed-block.0d475a13.js +0 -40
- package/packages/_vue3/dist/get-processed-block.c75eb6d1.cjs +0 -1
- package/packages/_vue3/dist/index.e7c6fe34.cjs +0 -4
- package/packages/_vue3/dist/render-block.92199649.cjs +0 -3
- package/packages/_vue3/dist/render-component-with-context.fb4f86a9.cjs +0 -1
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
declare const _sfc_main: {
|
|
2
|
+
name: string;
|
|
3
|
+
components: {
|
|
4
|
+
RenderBlock: () => Promise<{
|
|
5
|
+
name: string;
|
|
6
|
+
components: {
|
|
7
|
+
RenderRepeatedBlock: () => Promise<any>;
|
|
8
|
+
BlockStyles: () => Promise<{
|
|
9
|
+
name: string;
|
|
10
|
+
components: {
|
|
11
|
+
RenderInlinedStyles: () => Promise<{
|
|
12
|
+
name: string;
|
|
13
|
+
props: string[];
|
|
14
|
+
data: () => {
|
|
15
|
+
TARGET: string;
|
|
16
|
+
};
|
|
17
|
+
computed: {
|
|
18
|
+
injectedStyleScript(): any;
|
|
19
|
+
tagName(): string;
|
|
20
|
+
};
|
|
21
|
+
}>;
|
|
22
|
+
};
|
|
23
|
+
props: string[];
|
|
24
|
+
data: () => {
|
|
25
|
+
TARGET: string;
|
|
26
|
+
};
|
|
27
|
+
computed: {
|
|
28
|
+
useBlock(): any;
|
|
29
|
+
css(): any;
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
RenderComponentWithContext: () => Promise<{
|
|
33
|
+
name: string;
|
|
34
|
+
components: {
|
|
35
|
+
RenderComponent: () => Promise<{
|
|
36
|
+
name: string;
|
|
37
|
+
components: {
|
|
38
|
+
RenderBlock: () => Promise<any>;
|
|
39
|
+
BlockStyles: () => Promise<{
|
|
40
|
+
name: string;
|
|
41
|
+
components: {
|
|
42
|
+
RenderInlinedStyles: () => Promise<{
|
|
43
|
+
name: string;
|
|
44
|
+
props: string[];
|
|
45
|
+
data: () => {
|
|
46
|
+
TARGET: string;
|
|
47
|
+
};
|
|
48
|
+
computed: {
|
|
49
|
+
injectedStyleScript(): any;
|
|
50
|
+
tagName(): string;
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
};
|
|
54
|
+
props: string[];
|
|
55
|
+
data: () => {
|
|
56
|
+
TARGET: string;
|
|
57
|
+
};
|
|
58
|
+
computed: {
|
|
59
|
+
useBlock(): any;
|
|
60
|
+
css(): any;
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
props: string[];
|
|
65
|
+
data: () => {
|
|
66
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
67
|
+
};
|
|
68
|
+
}>;
|
|
69
|
+
};
|
|
70
|
+
props: string[];
|
|
71
|
+
provide(): {
|
|
72
|
+
BuilderContext: {
|
|
73
|
+
readonly content: any;
|
|
74
|
+
readonly state: any;
|
|
75
|
+
readonly context: any;
|
|
76
|
+
readonly apiKey: any;
|
|
77
|
+
readonly registeredComponents: any;
|
|
78
|
+
readonly inheritedStyles: any;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}>;
|
|
82
|
+
RenderComponent: () => Promise<{
|
|
83
|
+
name: string;
|
|
84
|
+
components: {
|
|
85
|
+
RenderBlock: () => Promise<any>;
|
|
86
|
+
BlockStyles: () => Promise<{
|
|
87
|
+
name: string;
|
|
88
|
+
components: {
|
|
89
|
+
RenderInlinedStyles: () => Promise<{
|
|
90
|
+
name: string;
|
|
91
|
+
props: string[];
|
|
92
|
+
data: () => {
|
|
93
|
+
TARGET: string;
|
|
94
|
+
};
|
|
95
|
+
computed: {
|
|
96
|
+
injectedStyleScript(): any;
|
|
97
|
+
tagName(): string;
|
|
98
|
+
};
|
|
99
|
+
}>;
|
|
100
|
+
};
|
|
101
|
+
props: string[];
|
|
102
|
+
data: () => {
|
|
103
|
+
TARGET: string;
|
|
104
|
+
};
|
|
105
|
+
computed: {
|
|
106
|
+
useBlock(): any;
|
|
107
|
+
css(): any;
|
|
108
|
+
};
|
|
109
|
+
}>;
|
|
110
|
+
};
|
|
111
|
+
props: string[];
|
|
112
|
+
data: () => {
|
|
113
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
114
|
+
};
|
|
115
|
+
}>;
|
|
116
|
+
};
|
|
117
|
+
props: string[];
|
|
118
|
+
data: () => {
|
|
119
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
120
|
+
};
|
|
121
|
+
computed: {
|
|
122
|
+
component(): any;
|
|
123
|
+
tagName(): any;
|
|
124
|
+
useBlock(): any;
|
|
125
|
+
attributes(): any;
|
|
126
|
+
shouldWrap(): any;
|
|
127
|
+
renderComponentProps(): any;
|
|
128
|
+
children(): any;
|
|
129
|
+
childrenWithoutParentComponent(): any;
|
|
130
|
+
repeatItemData(): any;
|
|
131
|
+
inheritedTextStyles(): Partial<CSSStyleDeclaration>;
|
|
132
|
+
childrenContext(): any;
|
|
133
|
+
renderComponentTag(): (() => Promise<{
|
|
134
|
+
name: string;
|
|
135
|
+
components: {
|
|
136
|
+
RenderComponent: () => Promise<{
|
|
137
|
+
name: string;
|
|
138
|
+
components: {
|
|
139
|
+
RenderBlock: () => Promise<any>;
|
|
140
|
+
BlockStyles: () => Promise<{
|
|
141
|
+
name: string;
|
|
142
|
+
components: {
|
|
143
|
+
RenderInlinedStyles: () => Promise<{
|
|
144
|
+
name: string;
|
|
145
|
+
props: string[];
|
|
146
|
+
data: () => {
|
|
147
|
+
TARGET: string;
|
|
148
|
+
};
|
|
149
|
+
computed: {
|
|
150
|
+
injectedStyleScript(): any;
|
|
151
|
+
tagName(): string;
|
|
152
|
+
};
|
|
153
|
+
}>;
|
|
154
|
+
};
|
|
155
|
+
props: string[];
|
|
156
|
+
data: () => {
|
|
157
|
+
TARGET: string;
|
|
158
|
+
};
|
|
159
|
+
computed: {
|
|
160
|
+
useBlock(): any;
|
|
161
|
+
css(): any;
|
|
162
|
+
};
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
165
|
+
props: string[];
|
|
166
|
+
data: () => {
|
|
167
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
168
|
+
};
|
|
169
|
+
}>;
|
|
170
|
+
};
|
|
171
|
+
props: string[];
|
|
172
|
+
provide(): {
|
|
173
|
+
BuilderContext: {
|
|
174
|
+
readonly content: any;
|
|
175
|
+
readonly state: any;
|
|
176
|
+
readonly context: any;
|
|
177
|
+
readonly apiKey: any;
|
|
178
|
+
readonly registeredComponents: any;
|
|
179
|
+
readonly inheritedStyles: any;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
}>) | (() => Promise<{
|
|
183
|
+
name: string;
|
|
184
|
+
components: {
|
|
185
|
+
RenderBlock: () => Promise<any>;
|
|
186
|
+
BlockStyles: () => Promise<{
|
|
187
|
+
name: string;
|
|
188
|
+
components: {
|
|
189
|
+
RenderInlinedStyles: () => Promise<{
|
|
190
|
+
name: string;
|
|
191
|
+
props: string[];
|
|
192
|
+
data: () => {
|
|
193
|
+
TARGET: string;
|
|
194
|
+
};
|
|
195
|
+
computed: {
|
|
196
|
+
injectedStyleScript(): any;
|
|
197
|
+
tagName(): string;
|
|
198
|
+
};
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
props: string[];
|
|
202
|
+
data: () => {
|
|
203
|
+
TARGET: string;
|
|
204
|
+
};
|
|
205
|
+
computed: {
|
|
206
|
+
useBlock(): any;
|
|
207
|
+
css(): any;
|
|
208
|
+
};
|
|
209
|
+
}>;
|
|
210
|
+
};
|
|
211
|
+
props: string[];
|
|
212
|
+
data: () => {
|
|
213
|
+
markPropsMutable: typeof import("../../functions/mark-mutable.js").markPropsMutable;
|
|
214
|
+
};
|
|
215
|
+
}>) | "RenderComponent";
|
|
216
|
+
};
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
props: string[];
|
|
220
|
+
provide(): {
|
|
221
|
+
BuilderContext: {
|
|
222
|
+
readonly content: any;
|
|
223
|
+
readonly state: any;
|
|
224
|
+
readonly context: any;
|
|
225
|
+
readonly apiKey: any;
|
|
226
|
+
readonly registeredComponents: any;
|
|
227
|
+
readonly inheritedStyles: any;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import type { BuilderBlock } from "../types/builder-block.js";
|
|
2
|
+
export declare type RenderBlockProps = {
|
|
3
|
+
blocks?: BuilderBlock[];
|
|
4
|
+
parent?: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
styleProp?: Record<string, any>;
|
|
7
|
+
};
|
|
8
|
+
declare const _sfc_main: {
|
|
9
|
+
name: string;
|
|
10
|
+
components: {
|
|
11
|
+
RenderBlock: () => Promise<{
|
|
12
|
+
name: string;
|
|
13
|
+
components: {
|
|
14
|
+
RenderRepeatedBlock: () => Promise<{
|
|
15
|
+
name: string;
|
|
16
|
+
components: {
|
|
17
|
+
RenderBlock: () => Promise<any>;
|
|
18
|
+
};
|
|
19
|
+
props: string[];
|
|
20
|
+
provide(): {
|
|
21
|
+
BuilderContext: {
|
|
22
|
+
readonly content: any;
|
|
23
|
+
readonly state: any;
|
|
24
|
+
readonly context: any;
|
|
25
|
+
readonly apiKey: any;
|
|
26
|
+
readonly registeredComponents: any;
|
|
27
|
+
readonly inheritedStyles: any;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
BlockStyles: () => Promise<{
|
|
32
|
+
name: string;
|
|
33
|
+
components: {
|
|
34
|
+
RenderInlinedStyles: () => Promise<{
|
|
35
|
+
name: string;
|
|
36
|
+
props: string[];
|
|
37
|
+
data: () => {
|
|
38
|
+
TARGET: string;
|
|
39
|
+
};
|
|
40
|
+
computed: {
|
|
41
|
+
injectedStyleScript(): any;
|
|
42
|
+
tagName(): string;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
};
|
|
46
|
+
props: string[];
|
|
47
|
+
data: () => {
|
|
48
|
+
TARGET: string;
|
|
49
|
+
};
|
|
50
|
+
computed: {
|
|
51
|
+
useBlock(): any;
|
|
52
|
+
css(): any;
|
|
53
|
+
};
|
|
54
|
+
}>;
|
|
55
|
+
RenderComponentWithContext: () => Promise<{
|
|
56
|
+
name: string;
|
|
57
|
+
components: {
|
|
58
|
+
RenderComponent: () => Promise<{
|
|
59
|
+
name: string;
|
|
60
|
+
components: {
|
|
61
|
+
RenderBlock: () => Promise<any>;
|
|
62
|
+
BlockStyles: () => Promise<{
|
|
63
|
+
name: string;
|
|
64
|
+
components: {
|
|
65
|
+
RenderInlinedStyles: () => 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.js").markPropsMutable;
|
|
90
|
+
};
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
props: string[];
|
|
94
|
+
provide(): {
|
|
95
|
+
BuilderContext: {
|
|
96
|
+
readonly content: any;
|
|
97
|
+
readonly state: any;
|
|
98
|
+
readonly context: any;
|
|
99
|
+
readonly apiKey: any;
|
|
100
|
+
readonly registeredComponents: any;
|
|
101
|
+
readonly inheritedStyles: any;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}>;
|
|
105
|
+
RenderComponent: () => Promise<{
|
|
106
|
+
name: string;
|
|
107
|
+
components: {
|
|
108
|
+
RenderBlock: () => Promise<any>;
|
|
109
|
+
BlockStyles: () => Promise<{
|
|
110
|
+
name: string;
|
|
111
|
+
components: {
|
|
112
|
+
RenderInlinedStyles: () => Promise<{
|
|
113
|
+
name: string;
|
|
114
|
+
props: string[];
|
|
115
|
+
data: () => {
|
|
116
|
+
TARGET: string;
|
|
117
|
+
};
|
|
118
|
+
computed: {
|
|
119
|
+
injectedStyleScript(): any;
|
|
120
|
+
tagName(): string;
|
|
121
|
+
};
|
|
122
|
+
}>;
|
|
123
|
+
};
|
|
124
|
+
props: string[];
|
|
125
|
+
data: () => {
|
|
126
|
+
TARGET: string;
|
|
127
|
+
};
|
|
128
|
+
computed: {
|
|
129
|
+
useBlock(): any;
|
|
130
|
+
css(): any;
|
|
131
|
+
};
|
|
132
|
+
}>;
|
|
133
|
+
};
|
|
134
|
+
props: string[];
|
|
135
|
+
data: () => {
|
|
136
|
+
markPropsMutable: typeof import("../functions/mark-mutable.js").markPropsMutable;
|
|
137
|
+
};
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
140
|
+
props: string[];
|
|
141
|
+
data: () => {
|
|
142
|
+
isEmptyHtmlElement: (tagName: unknown) => boolean;
|
|
143
|
+
};
|
|
144
|
+
computed: {
|
|
145
|
+
component(): any;
|
|
146
|
+
tagName(): any;
|
|
147
|
+
useBlock(): any;
|
|
148
|
+
attributes(): any;
|
|
149
|
+
shouldWrap(): any;
|
|
150
|
+
renderComponentProps(): any;
|
|
151
|
+
children(): any;
|
|
152
|
+
childrenWithoutParentComponent(): any;
|
|
153
|
+
repeatItemData(): any;
|
|
154
|
+
inheritedTextStyles(): Partial<CSSStyleDeclaration>;
|
|
155
|
+
childrenContext(): any;
|
|
156
|
+
renderComponentTag(): (() => Promise<{
|
|
157
|
+
name: string;
|
|
158
|
+
components: {
|
|
159
|
+
RenderComponent: () => Promise<{
|
|
160
|
+
name: string;
|
|
161
|
+
components: {
|
|
162
|
+
RenderBlock: () => Promise<any>;
|
|
163
|
+
BlockStyles: () => Promise<{
|
|
164
|
+
name: string;
|
|
165
|
+
components: {
|
|
166
|
+
RenderInlinedStyles: () => Promise<{
|
|
167
|
+
name: string;
|
|
168
|
+
props: string[];
|
|
169
|
+
data: () => {
|
|
170
|
+
TARGET: string;
|
|
171
|
+
};
|
|
172
|
+
computed: {
|
|
173
|
+
injectedStyleScript(): any;
|
|
174
|
+
tagName(): string;
|
|
175
|
+
};
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
178
|
+
props: string[];
|
|
179
|
+
data: () => {
|
|
180
|
+
TARGET: string;
|
|
181
|
+
};
|
|
182
|
+
computed: {
|
|
183
|
+
useBlock(): any;
|
|
184
|
+
css(): any;
|
|
185
|
+
};
|
|
186
|
+
}>;
|
|
187
|
+
};
|
|
188
|
+
props: string[];
|
|
189
|
+
data: () => {
|
|
190
|
+
markPropsMutable: typeof import("../functions/mark-mutable.js").markPropsMutable;
|
|
191
|
+
};
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
props: string[];
|
|
195
|
+
provide(): {
|
|
196
|
+
BuilderContext: {
|
|
197
|
+
readonly content: any;
|
|
198
|
+
readonly state: any;
|
|
199
|
+
readonly context: any;
|
|
200
|
+
readonly apiKey: any;
|
|
201
|
+
readonly registeredComponents: any;
|
|
202
|
+
readonly inheritedStyles: any;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
}>) | (() => Promise<{
|
|
206
|
+
name: string;
|
|
207
|
+
components: {
|
|
208
|
+
RenderBlock: () => Promise<any>;
|
|
209
|
+
BlockStyles: () => Promise<{
|
|
210
|
+
name: string;
|
|
211
|
+
components: {
|
|
212
|
+
RenderInlinedStyles: () => Promise<{
|
|
213
|
+
name: string;
|
|
214
|
+
props: string[];
|
|
215
|
+
data: () => {
|
|
216
|
+
TARGET: string;
|
|
217
|
+
};
|
|
218
|
+
computed: {
|
|
219
|
+
injectedStyleScript(): any;
|
|
220
|
+
tagName(): string;
|
|
221
|
+
};
|
|
222
|
+
}>;
|
|
223
|
+
};
|
|
224
|
+
props: string[];
|
|
225
|
+
data: () => {
|
|
226
|
+
TARGET: string;
|
|
227
|
+
};
|
|
228
|
+
computed: {
|
|
229
|
+
useBlock(): any;
|
|
230
|
+
css(): any;
|
|
231
|
+
};
|
|
232
|
+
}>;
|
|
233
|
+
};
|
|
234
|
+
props: string[];
|
|
235
|
+
data: () => {
|
|
236
|
+
markPropsMutable: typeof import("../functions/mark-mutable.js").markPropsMutable;
|
|
237
|
+
};
|
|
238
|
+
}>) | "RenderComponent";
|
|
239
|
+
};
|
|
240
|
+
}>;
|
|
241
|
+
BlockStyles: () => Promise<{
|
|
242
|
+
name: string;
|
|
243
|
+
components: {
|
|
244
|
+
RenderInlinedStyles: () => Promise<{
|
|
245
|
+
name: string;
|
|
246
|
+
props: string[];
|
|
247
|
+
data: () => {
|
|
248
|
+
TARGET: string;
|
|
249
|
+
};
|
|
250
|
+
computed: {
|
|
251
|
+
injectedStyleScript(): any;
|
|
252
|
+
tagName(): string;
|
|
253
|
+
};
|
|
254
|
+
}>;
|
|
255
|
+
};
|
|
256
|
+
props: string[];
|
|
257
|
+
data: () => {
|
|
258
|
+
TARGET: string;
|
|
259
|
+
};
|
|
260
|
+
computed: {
|
|
261
|
+
useBlock(): any;
|
|
262
|
+
css(): any;
|
|
263
|
+
};
|
|
264
|
+
}>;
|
|
265
|
+
};
|
|
266
|
+
props: string[];
|
|
267
|
+
inject: {
|
|
268
|
+
builderContext: string;
|
|
269
|
+
};
|
|
270
|
+
computed: {
|
|
271
|
+
className(): any;
|
|
272
|
+
};
|
|
273
|
+
methods: {
|
|
274
|
+
onClick(): void;
|
|
275
|
+
onMouseEnter(): void;
|
|
276
|
+
_classStringToObject(str: any): {};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _sfc_main: {
|
|
2
|
+
name: string;
|
|
3
|
+
components: {
|
|
4
|
+
RenderInlinedStyles: () => Promise<{
|
|
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;
|