eddyter 1.3.66 → 1.3.67
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/api/config/endpoints.d.ts +1 -0
- package/dist/components/LockedFeature/LockedFeature.d.ts +6 -6
- package/dist/config/env.d.ts +2 -0
- package/dist/{html2pdf.bundle-h3GX-ko7.js → html2pdf.bundle-DgMJ1HfM.js} +1 -1
- package/dist/{html2pdf.bundle.min-CQAF18iv.js → html2pdf.bundle.min-BOhKoOmb.js} +1 -1
- package/dist/{index-DDKOr678.js → index-B6qJV-9P.js} +1 -1
- package/dist/{index-CTGCWwgf.js → index-D-CSILuH.js} +1 -1
- package/dist/{index-6vTLte_0.js → index-DU8RbwAT.js} +1 -1
- package/dist/{index-B2_XA3eA.js → index-ZDUb0XYv.js} +6761 -6650
- package/dist/index.js +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,6 @@ export interface LockedFeatureProps {
|
|
|
11
11
|
variant?: "overlay" | "inline";
|
|
12
12
|
/**
|
|
13
13
|
* planAllows: true if the user's plan includes this feature.
|
|
14
|
-
* When isEnabled=false and planAllows=true, shows "You disabled this" instead of "Not in your plan".
|
|
15
14
|
*/
|
|
16
15
|
planAllows?: boolean;
|
|
17
16
|
}
|
|
@@ -19,11 +18,12 @@ export interface LockedFeatureProps {
|
|
|
19
18
|
* LockedFeature - A wrapper component that shows a lock/disabled overlay on disabled features
|
|
20
19
|
*
|
|
21
20
|
* When isEnabled is true, renders children normally.
|
|
22
|
-
* When isEnabled is false
|
|
23
|
-
* -
|
|
24
|
-
* -
|
|
25
|
-
*
|
|
26
|
-
*
|
|
21
|
+
* When isEnabled is false:
|
|
22
|
+
* - If hideLockedFeatures is true, renders nothing (fully hidden)
|
|
23
|
+
* - Otherwise, renders children with:
|
|
24
|
+
* - Grayed out/disabled appearance (opacity-50)
|
|
25
|
+
* - Non-interactive (pointer-events-none on children)
|
|
26
|
+
* - Lock icon + "not available in your plan" tooltip
|
|
27
27
|
*/
|
|
28
28
|
declare const LockedFeature: FC<LockedFeatureProps>;
|
|
29
29
|
export default LockedFeature;
|
|
@@ -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-ZDUb0XYv.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-ZDUb0XYv.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" }],
|
|
@@ -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-ZDUb0XYv.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() : "";
|