eddyter 1.3.76 → 1.3.77

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.
@@ -0,0 +1,18 @@
1
+ type CropDialogProps = {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ src: string;
5
+ altText: string;
6
+ width: "inherit" | number;
7
+ height: "inherit" | number;
8
+ onCropApply: (crop: {
9
+ x: number;
10
+ y: number;
11
+ width: number;
12
+ height: number;
13
+ naturalWidth: number;
14
+ naturalHeight: number;
15
+ }) => void | Promise<void>;
16
+ };
17
+ export default function ImageCropDialog({ open, onOpenChange, src, altText, width, height, onCropApply, }: CropDialogProps): JSX.Element;
18
+ export {};
@@ -13,6 +13,10 @@ export interface LockedFeatureProps {
13
13
  * planAllows: true if the user's plan includes this feature.
14
14
  */
15
15
  planAllows?: boolean;
16
+ /**
17
+ * Optional custom tooltip when locked (e.g. BYOK "Add API keys in License > Manage API Keys").
18
+ */
19
+ tooltipMessage?: string;
16
20
  }
17
21
  /**
18
22
  * LockedFeature - A wrapper component that shows a lock/disabled overlay on disabled features
@@ -9,3 +9,4 @@ export declare function getCdnAssetUrl(assetPath: string): string;
9
9
  export declare const BACKEND_ENDPOINT: string;
10
10
  export declare const API_VALIDATION_ENDPOINT: string;
11
11
  export declare const API_AGENT_ENDPOINT: string;
12
+ export declare const CDN_URL: string;
@@ -27,6 +27,7 @@ export declare const editorConfig: {
27
27
  enableCharts: boolean;
28
28
  enableAutoCorrection: boolean;
29
29
  enablePdfExport: boolean;
30
+ enableDocExport: boolean;
30
31
  enableSpeechToText: boolean;
31
32
  enableComments: boolean;
32
33
  enableMentions: boolean;
@@ -1,4 +1,4 @@
1
- import { c as Tt, g as Se, y as Ce, z as xe } from "./index-DjD3NbU0.js";
1
+ import { c as Tt, g as Se, H as Ce, k as xe } from "./index-Dh3DFyBT.js";
2
2
  import { h as Ee } from "./html2canvas.esm-C2wu93Kq.js";
3
3
  function Ft(c) {
4
4
  throw new Error('Could not dynamically require "' + c + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -1,5 +1,5 @@
1
1
  import * as g from "pdfjs-dist";
2
- import { y as l, z as m } from "./index-DjD3NbU0.js";
2
+ import { H as l, k as m } from "./index-Dh3DFyBT.js";
3
3
  g.GlobalWorkerOptions.workerSrc = "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js";
4
4
  async function u(a) {
5
5
  if (a.startsWith("data:application/pdf;base64,") || a.startsWith("data:application/pdf,")) {
@@ -15,7 +15,7 @@ async function u(a) {
15
15
  return new Uint8Array(n);
16
16
  }
17
17
  const d = 240, p = 176;
18
- async function b(a) {
18
+ async function y(a) {
19
19
  try {
20
20
  const o = await u(a), n = await (await g.getDocument({ data: o }).promise).getPage(1), f = n.getViewport({ scale: 1 }), r = d / f.width, e = n.getViewport({ scale: r }), t = document.createElement("canvas");
21
21
  t.width = e.width, t.height = e.height;
@@ -49,5 +49,5 @@ async function b(a) {
49
49
  }
50
50
  }
51
51
  export {
52
- b as generatePdfThumbnail
52
+ y as generatePdfThumbnail
53
53
  };
@@ -1,5 +1,5 @@
1
1
  import { h as Ci } from "./html2canvas.esm-C2wu93Kq.js";
2
- import { y as yi, z as Di } from "./index-DjD3NbU0.js";
2
+ import { H as yi, k as Di } from "./index-Dh3DFyBT.js";
3
3
  var In = 1252, Oi = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], Zt = {
4
4
  /*::[*/
5
5
  0: 1252,
@@ -1,4 +1,4 @@
1
- import { c as Ka, g as $u } from "./index-DjD3NbU0.js";
1
+ import { c as Ka, g as $u } from "./index-Dh3DFyBT.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];