@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
95 lines (94 loc) • 2.94 kB
TypeScript
declare const _default: import("vue").DefineComponent<Readonly<{
data?: any;
context?: any;
content?: any;
apiKey?: any;
apiVersion?: any;
nonce?: any;
model?: any;
canTrack?: any;
locale?: any;
apiHost?: any;
trustedHosts?: any;
customComponents?: any;
linkComponent?: any;
enrich?: any;
contentWrapper?: any;
contentWrapperProps?: any;
blocksWrapper?: any;
blocksWrapperProps?: any;
isNestedRender?: any;
}>, unknown, {
shouldRenderVariants: boolean;
TARGET: import("../../types/targets").Target;
getInitVariantsFnsScriptString: () => string;
getVariants: (content: import("../../helpers/nullable").Nullable<import("../..").BuilderContent>) => {
testVariationId: string | undefined;
id: string | undefined;
data?: {
[key: string]: any;
title?: string | undefined;
blocks?: import("../..").BuilderBlock[] | undefined;
inputs?: import("../../types/input").Input[] | undefined;
state?: {
[key: string]: any;
} | undefined;
jsCode?: string | undefined;
tsCode?: string | undefined;
httpRequests?: {
[key: string]: string;
} | undefined;
} | undefined;
name?: string | undefined;
testRatio?: number | undefined;
meta?: {
[key: string]: any;
breakpoints?: import("../../types/typescript").Nullable<import("../../types/builder-content").Breakpoints>;
} | undefined;
}[];
}, {
updateCookieAndStylesScriptStr(): string;
hideVariantsStyleString(): string;
defaultContent(): any;
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
data?: any;
context?: any;
content?: any;
apiKey?: any;
apiVersion?: any;
nonce?: any;
model?: any;
canTrack?: any;
locale?: any;
apiHost?: any;
trustedHosts?: any;
customComponents?: any;
linkComponent?: any;
enrich?: any;
contentWrapper?: any;
contentWrapperProps?: any;
blocksWrapper?: any;
blocksWrapperProps?: any;
isNestedRender?: any;
}>>>, {
readonly data?: any;
readonly context?: any;
readonly content?: any;
readonly apiKey?: any;
readonly apiVersion?: any;
readonly nonce?: any;
readonly model?: any;
readonly canTrack?: any;
readonly locale?: any;
readonly apiHost?: any;
readonly trustedHosts?: any;
readonly customComponents?: any;
readonly linkComponent?: any;
readonly enrich?: any;
readonly contentWrapper?: any;
readonly contentWrapperProps?: any;
readonly blocksWrapper?: any;
readonly blocksWrapperProps?: any;
readonly isNestedRender?: any;
}, {}>;
export default _default;