eddyter 1.3.34 → 1.3.35
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/dist/{html2pdf.bundle-3478ea73.js → html2pdf.bundle-51e7ef34.js} +2 -2
- package/dist/{html2pdf.bundle-3478ea73.js.map → html2pdf.bundle-51e7ef34.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-ae547e03.js → html2pdf.bundle.min-2c828917.js} +2 -2
- package/dist/{html2pdf.bundle.min-ae547e03.js.map → html2pdf.bundle.min-2c828917.js.map} +1 -1
- package/dist/{index-f66d9237.js → index-71b49a8d.js} +2 -2
- package/dist/{index-f66d9237.js.map → index-71b49a8d.js.map} +1 -1
- package/dist/{index-b749f5db.js → index-7a36812e.js} +2 -2
- package/dist/{index-b749f5db.js.map → index-7a36812e.js.map} +1 -1
- package/dist/{index-c32880a3.js → index-da9b3d68.js} +9 -9
- package/dist/{index-c32880a3.js.map → index-da9b3d68.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -199,7 +199,7 @@ const EditorTheme = "";
|
|
|
199
199
|
const PlaygroundEditorTheme = "";
|
|
200
200
|
const AIChatPlugin$1 = "";
|
|
201
201
|
const backendInstance = axios.create({
|
|
202
|
-
baseURL: "
|
|
202
|
+
baseURL: "https://api.cteditor.com/",
|
|
203
203
|
headers: {
|
|
204
204
|
"Content-Type": "application/json"
|
|
205
205
|
}
|
|
@@ -1604,7 +1604,7 @@ const AiTextTransform = async ({ content, apiKey }) => {
|
|
|
1604
1604
|
const AI_ACTION_COMMAND = createCommand(
|
|
1605
1605
|
"AI_ACTION_COMMAND"
|
|
1606
1606
|
);
|
|
1607
|
-
const ImageView = React__default.lazy(() => import("./index-
|
|
1607
|
+
const ImageView = React__default.lazy(() => import("./index-7a36812e.js"));
|
|
1608
1608
|
function isGoogleDocCheckboxImg(img) {
|
|
1609
1609
|
return img.parentElement != null && img.parentElement.tagName === "LI" && img.previousSibling === null && img.getAttribute("aria-roledescription") === "checkbox";
|
|
1610
1610
|
}
|
|
@@ -15333,7 +15333,7 @@ const EmbedComponent = ({ url, displayType, alignment, width: initialWidth, heig
|
|
|
15333
15333
|
}
|
|
15334
15334
|
);
|
|
15335
15335
|
};
|
|
15336
|
-
const FileComponent = React$1.lazy(() => import("./index-
|
|
15336
|
+
const FileComponent = React$1.lazy(() => import("./index-71b49a8d.js"));
|
|
15337
15337
|
function convertFileElement(domNode) {
|
|
15338
15338
|
if (domNode instanceof HTMLDivElement) {
|
|
15339
15339
|
const dataUrl = domNode.getAttribute("data-lexical-file-src");
|
|
@@ -18102,7 +18102,7 @@ function ChartComponent({
|
|
|
18102
18102
|
setIsLoading(true);
|
|
18103
18103
|
const toastId = toast.loading("Updating chart...");
|
|
18104
18104
|
try {
|
|
18105
|
-
const backendUrl = "
|
|
18105
|
+
const backendUrl = "https://api.cteditor.com/".replace(/\/$/, "");
|
|
18106
18106
|
const apiKey = localStorage.getItem("apiKey") || "";
|
|
18107
18107
|
const response = await fetch(`${backendUrl}/api/chat/regenerate`, {
|
|
18108
18108
|
method: "POST",
|
|
@@ -20866,10 +20866,10 @@ const PDF_CONFIG = {
|
|
|
20866
20866
|
};
|
|
20867
20867
|
const loadHtml2Pdf = async () => {
|
|
20868
20868
|
try {
|
|
20869
|
-
const mod = await import("./html2pdf.bundle.min-
|
|
20869
|
+
const mod = await import("./html2pdf.bundle.min-2c828917.js").then((n) => n.h);
|
|
20870
20870
|
return (mod == null ? void 0 : mod.default) || mod;
|
|
20871
20871
|
} catch {
|
|
20872
|
-
const mod2 = await import("./html2pdf.bundle-
|
|
20872
|
+
const mod2 = await import("./html2pdf.bundle-51e7ef34.js").then((n) => n.h);
|
|
20873
20873
|
return (mod2 == null ? void 0 : mod2.default) || mod2;
|
|
20874
20874
|
}
|
|
20875
20875
|
};
|
|
@@ -26876,7 +26876,7 @@ const Toolbar = ({
|
|
|
26876
26876
|
async (metadata) => {
|
|
26877
26877
|
const toastId = toast.loading("Generating chart...");
|
|
26878
26878
|
try {
|
|
26879
|
-
const backendUrl = "
|
|
26879
|
+
const backendUrl = "https://api.cteditor.com/".replace(/\/$/, "");
|
|
26880
26880
|
const response = await fetch(`${backendUrl}/api/chat/regenerate`, {
|
|
26881
26881
|
method: "POST",
|
|
26882
26882
|
headers: {
|
|
@@ -28485,7 +28485,7 @@ class GrammarAIService {
|
|
|
28485
28485
|
__publicField(this, "apiEndpoint");
|
|
28486
28486
|
__publicField(this, "requestTimeout", REQUEST_TIMEOUT);
|
|
28487
28487
|
__publicField(this, "sentenceCache", /* @__PURE__ */ new Map());
|
|
28488
|
-
this.apiEndpoint = "
|
|
28488
|
+
this.apiEndpoint = "https://api.cteditor.com/" + apiEndpoint;
|
|
28489
28489
|
}
|
|
28490
28490
|
isSentenceCached(text) {
|
|
28491
28491
|
const hash = generateSentenceHash(text);
|
|
@@ -41063,4 +41063,4 @@ export {
|
|
|
41063
41063
|
useReactNativeBridge as w,
|
|
41064
41064
|
editorConfig as x
|
|
41065
41065
|
};
|
|
41066
|
-
//# sourceMappingURL=index-
|
|
41066
|
+
//# sourceMappingURL=index-da9b3d68.js.map
|