eddyter 1.3.67 → 1.3.68
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/Provider/EditorProvider.d.ts +8 -0
- package/dist/api/auth.d.ts +6 -0
- package/dist/config/env.d.ts +1 -0
- package/dist/{html2pdf.bundle-DgMJ1HfM.js → html2pdf.bundle-ChmLtprm.js} +1 -1
- package/dist/{html2pdf.bundle.min-BOhKoOmb.js → html2pdf.bundle.min-H5RqasCv.js} +1 -1
- package/dist/{index-DU8RbwAT.js → index-Bz3s73pG.js} +1 -1
- package/dist/{index-B6qJV-9P.js → index-CC-d_0EL.js} +1 -1
- package/dist/{index-D-CSILuH.js → index-D1aEyCS_.js} +1 -1
- package/dist/{index-ZDUb0XYv.js → index-Dn65lBF5.js} +4608 -4568
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,12 @@ export interface CurrentUser {
|
|
|
5
5
|
email?: string;
|
|
6
6
|
avatar?: string;
|
|
7
7
|
}
|
|
8
|
+
/** Payment warning for past_due subscriptions */
|
|
9
|
+
export interface PaymentWarning {
|
|
10
|
+
type: string;
|
|
11
|
+
message: string;
|
|
12
|
+
daysRemaining: number;
|
|
13
|
+
}
|
|
8
14
|
interface EditorContextType {
|
|
9
15
|
isAuthenticated: boolean;
|
|
10
16
|
isLoading: boolean;
|
|
@@ -16,6 +22,8 @@ interface EditorContextType {
|
|
|
16
22
|
apiKey: string | null;
|
|
17
23
|
currentUser: CurrentUser | null;
|
|
18
24
|
verifyKey: (apiKey: string) => Promise<void>;
|
|
25
|
+
/** Warning for payment issues (null when no issues) */
|
|
26
|
+
paymentWarning: PaymentWarning | null;
|
|
19
27
|
}
|
|
20
28
|
export declare const useEditor: () => EditorContextType;
|
|
21
29
|
export declare const useEditorOptional: () => EditorContextType | undefined;
|
package/dist/api/auth.d.ts
CHANGED
|
@@ -101,6 +101,12 @@ export interface ProjectData {
|
|
|
101
101
|
status: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
104
|
+
/** Payment warning for past_due subscriptions (null when no issues) */
|
|
105
|
+
warning?: {
|
|
106
|
+
type: string;
|
|
107
|
+
message: string;
|
|
108
|
+
daysRemaining: number;
|
|
109
|
+
} | null;
|
|
104
110
|
}
|
|
105
111
|
export interface ApiResponse {
|
|
106
112
|
success: boolean;
|
package/dist/config/env.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
|
|
3
3
|
import { $getNodeByKey as w } from "lexical";
|
|
4
|
-
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-
|
|
4
|
+
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-Dn65lBF5.js";
|
|
5
5
|
const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : t < 1024 * 1024 * 1024 ? `${(t / (1024 * 1024)).toFixed(1)} MB` : `${(t / (1024 * 1024 * 1024)).toFixed(1)} GB` : "", E = (t) => {
|
|
6
6
|
const o = t.split(".");
|
|
7
7
|
return o.length > 1 ? o[o.length - 1].toLowerCase() : "";
|
|
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as me } from "@lexical/react/useLexicalNodeSele
|
|
|
15
15
|
import { mergeRegister as fe } from "@lexical/utils";
|
|
16
16
|
import { $getSelection as M, $isNodeSelection as m, $setSelection as $, SELECTION_CHANGE_COMMAND as ge, COMMAND_PRIORITY_LOW as u, CLICK_COMMAND as pe, DRAGSTART_COMMAND as Ce, KEY_DELETE_COMMAND as Ee, KEY_BACKSPACE_COMMAND as he, KEY_ENTER_COMMAND as Ne, KEY_ESCAPE_COMMAND as be, RootNode as ve, TextNode as Re, LineBreakNode as xe, ParagraphNode as De, $getNodeByKey as _ } from "lexical";
|
|
17
17
|
import { useRef as A, useState as B, useCallback as E, useEffect as Se } from "react";
|
|
18
|
-
import { x as v, r as Me, L as _e, i as Ae } from "./index-
|
|
18
|
+
import { x as v, r as Me, L as _e, i as Ae } from "./index-Dn65lBF5.js";
|
|
19
19
|
function Ge({
|
|
20
20
|
src: Y,
|
|
21
21
|
nodeKey: f,
|
|
@@ -16,7 +16,7 @@ import { useLexicalNodeSelection as st } from "@lexical/react/useLexicalNodeSele
|
|
|
16
16
|
import { mergeRegister as lt } from "@lexical/utils";
|
|
17
17
|
import { RootNode as Ie, TextNode as Re, LineBreakNode as Pe, ParagraphNode as Se, $getSelection as _, $isNodeSelection as L, $isParagraphNode as pe, $setSelection as Q, $isRangeSelection as mt, SELECTION_CHANGE_COMMAND as ut, COMMAND_PRIORITY_LOW as w, CLICK_COMMAND as gt, DRAGSTART_COMMAND as ft, KEY_DELETE_COMMAND as pt, KEY_BACKSPACE_COMMAND as ht, KEY_ENTER_COMMAND as bt, KEY_ESCAPE_COMMAND as xt, createCommand as Ct, $getNodeByKey as $ } from "lexical";
|
|
18
18
|
import { useRef as G, useState as f, useEffect as U, useCallback as C, Suspense as yt } from "react";
|
|
19
|
-
import { a as Nt, D as wt, b as vt, d as Et, e as kt, f as It, h as Rt, B as he, L as De, i as Ae, u as Pt, $ as M, W as St, j as Dt, A as At, k as Lt, l as Mt, T as Ot, m as _t, S as $t, E as zt, n as Wt, t as v, o as jt, p as Kt, C as Tt } from "./index-
|
|
19
|
+
import { a as Nt, D as wt, b as vt, d as Et, e as kt, f as It, h as Rt, B as he, L as De, i as Ae, u as Pt, $ as M, W as St, j as Dt, A as At, k as Lt, l as Mt, T as Ot, m as _t, S as $t, E as zt, n as Wt, t as v, o as jt, p as Kt, C as Tt } from "./index-Dn65lBF5.js";
|
|
20
20
|
const Bt = Nt("Link2", [
|
|
21
21
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
22
22
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|