|
|
@ -2,6 +2,7 @@ import oc from "open-color";
|
|
|
|
import React, { useLayoutEffect, useRef, useState } from "react";
|
|
|
|
import React, { useLayoutEffect, useRef, useState } from "react";
|
|
|
|
import { ChartElements, renderSpreadsheet, Spreadsheet } from "../charts";
|
|
|
|
import { ChartElements, renderSpreadsheet, Spreadsheet } from "../charts";
|
|
|
|
import { ChartType } from "../element/types";
|
|
|
|
import { ChartType } from "../element/types";
|
|
|
|
|
|
|
|
import { t } from "../i18n";
|
|
|
|
import { exportToSvg } from "../scene/export";
|
|
|
|
import { exportToSvg } from "../scene/export";
|
|
|
|
import { AppState, LibraryItem } from "../types";
|
|
|
|
import { AppState, LibraryItem } from "../types";
|
|
|
|
import { Dialog } from "./Dialog";
|
|
|
|
import { Dialog } from "./Dialog";
|
|
|
@ -98,7 +99,7 @@ export const PasteChartDialog = ({
|
|
|
|
<Dialog
|
|
|
|
<Dialog
|
|
|
|
maxWidth={500}
|
|
|
|
maxWidth={500}
|
|
|
|
onCloseRequest={handleClose}
|
|
|
|
onCloseRequest={handleClose}
|
|
|
|
title={"Paste chart"}
|
|
|
|
title={t("labels.pasteCharts")}
|
|
|
|
className={"PasteChartDialog"}
|
|
|
|
className={"PasteChartDialog"}
|
|
|
|
autofocus={false}
|
|
|
|
autofocus={false}
|
|
|
|
>
|
|
|
|
>
|
|
|
|