eddyter 1.3.75 → 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.
- package/LICENSE +24 -24
- package/README.md +478 -478
- package/dist/EddyterIcon.svg +24 -24
- package/dist/Provider/EditorProvider.d.ts +12 -0
- package/dist/api/auth.d.ts +10 -0
- package/dist/api/bugReport.d.ts +2 -0
- package/dist/api/config/endpoints.d.ts +1 -0
- package/dist/assets/style.css +1 -1
- package/dist/{babel-B9hn44Wo.js → babel-CCPWkrf4.js} +1302 -726
- package/dist/components/EddyterLogo/EddyterLogo.d.ts +2 -1
- package/dist/components/HtmlCodeEditor.d.ts +9 -0
- package/dist/components/ImageView/ImageCropDialog.d.ts +18 -0
- package/dist/components/LockedFeature/LockedFeature.d.ts +4 -0
- package/dist/components/Placeholder/styles.d.ts +2 -0
- package/dist/components/Toast/EditorToast.d.ts +2 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/config/env.d.ts +9 -0
- package/dist/editorConfig.d.ts +1 -0
- package/dist/{estree-CocPn_Md.js → estree-CxUPh9wa.js} +917 -529
- package/dist/generateDocxThumbnail-Du6zd_sv.js +5876 -0
- package/dist/generatePdfThumbnail-DdNHlnr8.js +53 -0
- package/dist/generateXlsxThumbnail-VFzuEJln.js +21707 -0
- package/dist/hooks/useFeedbackEligibility.d.ts +2 -2
- package/dist/hooks/usePdfPreview.d.ts +6 -0
- package/dist/{html-CxCicOef.js → html-CmniStvG.js} +589 -350
- package/dist/html2canvas.esm-C2wu93Kq.js +4867 -0
- package/dist/{html2pdf.bundle.min-BxzIoi3T.js → html2pdf.bundle.min-4S-fQVxW.js} +5223 -3407
- package/dist/index-BUrH5xJk.js +1498 -0
- package/dist/index-DCBdbL8A.js +131 -0
- package/dist/{index-Cuv9ugJL.js → index-DSNo50FN.js} +17 -17
- package/dist/{index-DxEP36zG.js → index-Dh3DFyBT.js} +16269 -15166
- package/dist/index.js +1 -1
- package/dist/lib/toast.d.ts +39 -0
- package/dist/{markdown-BUjgWFLu.js → markdown-B0mEGGfQ.js} +1015 -578
- package/dist/nodes/EmbedNode.d.ts +9 -3
- package/dist/nodes/FileNode.d.ts +3 -0
- package/dist/{postcss-CGIcwj_g.js → postcss-B0bxXf7u.js} +1065 -615
- package/dist/{standalone-C0qguT38.js → standalone-DmuJV5rn.js} +596 -350
- package/dist/store/tableFullWidthStore.d.ts +6 -0
- package/dist/types.d.ts +4 -0
- package/dist/{typescript-BM7wk6k-.js → typescript-DZlC_9M8.js} +1805 -1113
- package/dist/utils/cropUrl.d.ts +28 -0
- package/dist/utils/editorStyleConverter.d.ts +3 -1
- package/dist/utils/export.d.ts +5 -0
- package/dist/utils/generateDocxThumbnail.d.ts +5 -0
- package/dist/utils/generatePdfThumbnail.d.ts +1 -0
- package/dist/utils/generateXlsxThumbnail.d.ts +5 -0
- package/dist/utils/helper.d.ts +2 -0
- package/dist/utils/htmlFormat.d.ts +5 -0
- package/dist/utils/index.d.ts +4 -4
- package/package.json +148 -150
- package/dist/html2pdf.bundle-CVq-OpZt.js +0 -32961
- package/dist/index-CtPRZTab.js +0 -845
- package/dist/index-eRyVFO7x.js +0 -83
|
@@ -6,7 +6,8 @@ interface EddyterLogoProps {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* Eddyter brand logo
|
|
9
|
+
* Eddyter brand logo for the free-user watermark.
|
|
10
|
+
* Loaded from CDN (S3/CloudFront) via getCdnAssetUrl so it works in the built editor bundle.
|
|
10
11
|
* Uses invert dark:invert-0 (same as frontend) — dark in light mode, white in dark mode.
|
|
11
12
|
*/
|
|
12
13
|
declare const EddyterLogo: React.FC<EddyterLogoProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface HtmlCodeEditorProps {
|
|
2
|
+
htmlContent: string;
|
|
3
|
+
setHtmlContent: (v: string) => void;
|
|
4
|
+
canUpdateFromEditor: boolean;
|
|
5
|
+
onFocus: () => void;
|
|
6
|
+
onBlur: () => void;
|
|
7
|
+
}
|
|
8
|
+
export default function HtmlCodeEditor(props: HtmlCodeEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -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
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "toolbar" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "icon" | "sm" | "md" | "lg" | "icon-sm" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
package/dist/config/env.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/** CDN base URL for static assets (logos, watermark). Set VITE_APP_CDN_URL at build time (same as frontend NEXT_PUBLIC_CDN_URL). */
|
|
2
|
+
export declare const CDN_BASE_URL: string | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* Build CDN URL for static assets under assets/.
|
|
5
|
+
* Upload assets to S3 at assets/{name}; use same CDN as frontend (e.g. CloudFront).
|
|
6
|
+
* Used for the free-user watermark logo so it works in the built editor bundle.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getCdnAssetUrl(assetPath: string): string;
|
|
1
9
|
export declare const BACKEND_ENDPOINT: string;
|
|
2
10
|
export declare const API_VALIDATION_ENDPOINT: string;
|
|
3
11
|
export declare const API_AGENT_ENDPOINT: string;
|
|
12
|
+
export declare const CDN_URL: string;
|
package/dist/editorConfig.d.ts
CHANGED