+ {shouldDisplayLegacyTab && (
+
+
+ {tabs.map((t) => (
+ setTab(t.id)}
+ key={t.id}
+ >
+ {t.label}
+
+ ))}
+
+
+ )}
+
-
- {promotedVisGroups.map((visType) => (
-
- ))}
-
-
-
-
-
-
- {props.visTypesRegistry.getByGroup(VisGroups.AGGBASED).filter((visDefinition) => {
- return !visDefinition.disableCreate;
- }).length > 0 && (
-
- props.toggleGroups(false)}
- title={
-
- {i18n.translate('visualizations.newVisWizard.aggBasedGroupTitle', {
- defaultMessage: 'Aggregation based',
- })}
-
- }
- data-test-subj="visGroup-aggbased"
- description={i18n.translate(
- 'visualizations.newVisWizard.aggBasedGroupDescription',
- {
- defaultMessage:
- 'Use our classic visualize library to create charts based on aggregations.',
- }
- )}
- icon={}
- >
- props.toggleGroups(false)}
- >
-
- {i18n.translate('visualizations.newVisWizard.exploreOptionLinkText', {
- defaultMessage: 'Explore options',
- })}{' '}
-
-
-
-
-
- )}
- {props.visTypesRegistry.getByGroup(VisGroups.TOOLS).length > 0 && (
-
-
-
-
- {i18n.translate('visualizations.newVisWizard.toolsGroupTitle', {
- defaultMessage: 'Tools',
- })}
-
-
-
-
- {props.visTypesRegistry.getByGroup(VisGroups.TOOLS).map((visType) => (
-
- ))}
-
-
- )}
-
-
-
-
-
-
-
-
-
+ {promotedVisGroups.map((visType) => (
+
-
-
-
+ ))}
+
+ ) : (
+
+ {tsvbProps ? : null}
+ {
+ {
+ props.showMainDialog(false);
+ }}
+ />
+ }
+
+ )}
+
+
+
+
>
);
}
-const VisGroup = ({ visType, onVisTypeSelected }: VisCardProps) => {
+const ModalFooter = ({ visualizeGuideLink }: { visualizeGuideLink: string }) => {
+ return (
+