@discoveryjs/discovery
Version:
Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
276 lines (275 loc) • 9.21 kB
TypeScript
export default function _default(host: any): {
view: string;
className: string;
data({ name, options }: {
name: any;
options: any;
}, context: any): any;
content: (string | {
view: string;
modifiers: ({
view: string;
when: string;
content: ({
when: ({ beforeDemo }: {
beforeDemo: any;
}) => boolean;
content: string;
} | {
content: {
view: string;
config: string;
context: string;
};
when?: undefined;
})[];
className?: undefined;
postRender?: undefined;
} | {
view: string;
when: string;
className: string;
postRender: (el: any, { onInit }: {
onInit: any;
}, { demoFixed }: {
demoFixed: any;
}) => void;
content: {
view: string;
config: string;
data: string;
context: string;
};
} | {
view: string;
when: string;
content: ({
when: ({ afterDemo }: {
afterDemo: any;
}) => boolean;
content: string;
} | {
content: {
view: string;
config: string;
context: string;
};
when?: undefined;
})[];
className?: undefined;
postRender?: undefined;
})[];
content: {
view: string;
when: string;
className: string;
name: string;
tabs: {
value: string;
text: string;
}[];
content: {
view: string;
content: ({
when: string;
content: ({
view: string;
when: string;
header: string;
content: {
view: string;
expanded: number;
data: string;
};
className?: undefined;
data?: undefined;
} | {
view: string;
className: string;
data: (data: any) => {
syntax: string;
content: string;
refs: {
range: number[];
}[];
};
when?: undefined;
header?: undefined;
content?: undefined;
})[];
} | {
when: string;
content: ({
view: string;
when: string;
header: string;
content: {
view: string;
expanded: number;
data: string;
};
data?: undefined;
} | {
view: string;
data: (data: any) => {
syntax: string;
content: string;
refs: {
range: number[];
}[];
};
when?: undefined;
header?: undefined;
content?: undefined;
})[];
} | {
when: string;
content: {
view: string;
data: (data: any, context: any) => {
syntax: string;
content: string;
};
};
})[];
};
};
} | {
view: string;
data: string;
whenData: boolean;
itemConfig: {
className: string;
};
item: (string | {
view: string;
modifiers: ({
view: string;
when: string;
content: ({
when: ({ beforeDemo }: {
beforeDemo: any;
}) => boolean;
content: string;
} | {
content: {
view: string;
config: string;
context: string;
};
when?: undefined;
})[];
className?: undefined;
postRender?: undefined;
} | {
view: string;
when: string;
className: string;
postRender: (el: any, { onInit }: {
onInit: any;
}, { demoFixed }: {
demoFixed: any;
}) => void;
content: {
view: string;
config: string;
data: string;
context: string;
};
} | {
view: string;
when: string;
content: ({
when: ({ afterDemo }: {
afterDemo: any;
}) => boolean;
content: string;
} | {
content: {
view: string;
config: string;
context: string;
};
when?: undefined;
})[];
className?: undefined;
postRender?: undefined;
})[];
content: {
view: string;
when: string;
className: string;
name: string;
tabs: {
value: string;
text: string;
}[];
content: {
view: string;
content: ({
when: string;
content: ({
view: string;
when: string;
header: string;
content: {
view: string;
expanded: number;
data: string;
};
className?: undefined;
data?: undefined;
} | {
view: string;
className: string;
data: (data: any) => {
syntax: string;
content: string;
refs: {
range: number[];
}[];
};
when?: undefined;
header?: undefined;
content?: undefined;
})[];
} | {
when: string;
content: ({
view: string;
when: string;
header: string;
content: {
view: string;
expanded: number;
data: string;
};
data?: undefined;
} | {
view: string;
data: (data: any) => {
syntax: string;
content: string;
refs: {
range: number[];
}[];
};
when?: undefined;
header?: undefined;
content?: undefined;
})[];
} | {
when: string;
content: {
view: string;
data: (data: any, context: any) => {
syntax: string;
content: string;
};
};
})[];
};
};
})[];
})[];
};