@layers-app/editor 0.7.94 → 1.0.2
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/index.cjs +2 -2
- package/dist/index.d.ts +15 -95
- package/dist/index.js +12 -13
- package/dist/{layers.C0wsv0al.js → layers.-qy3evUJ.js} +1 -1
- package/dist/{layers.DtW6XnAE.js → layers.33jFN9lW.js} +1 -1
- package/dist/{layers.IrklSkrg.js → layers.4DAm7Vnb.js} +1 -1
- package/dist/{layers.BJOiGxCQ.js → layers.4biEornD.js} +1 -1
- package/dist/{layers.DKPRD01N.js → layers.4szC_a4k.js} +178 -167
- package/dist/{layers.bOjyWNMD.js → layers.5OnFs5EZ.js} +8 -8
- package/dist/layers.7HzTWQex.js +539 -0
- package/dist/{layers.BJL0EBPa.js → layers.7e4nZQsj.js} +1 -1
- package/dist/{layers.CCVNugk5.js → layers.B0V5-lxF.js} +1 -1
- package/dist/{layers.CPtqyUQW.js → layers.B0kdbIvq.js} +1 -1
- package/dist/{layers._QYCBpoM.js → layers.B2ZYPrhP.js} +1 -1
- package/dist/{layers.Bq0FGir_.js → layers.B2wWa6gD.js} +7 -7
- package/dist/{layers.uxy_pIya.js → layers.B54e7jvN.js} +3 -3
- package/dist/{layers.CL41IL9l.js → layers.B5VPhyeu.js} +1 -1
- package/dist/{layers.C8JZixrP.js → layers.B6r7G_kK.js} +1 -1
- package/dist/{layers.nNQp4NGW.js → layers.BDe8Ym0U.js} +1 -1
- package/dist/{layers.C-_OViOU.js → layers.BDqtnwaI.js} +1 -1
- package/dist/{layers.C-sZ8JPk.js → layers.BE09UrA6.js} +3 -3
- package/dist/{layers.VAJVLjZN.js → layers.BFiaFIG-.js} +1 -1
- package/dist/{layers.CMHJlCdH.js → layers.BGLVCsXm.js} +1 -1
- package/dist/{layers.kHmxS0Hb.js → layers.BGYebPt7.js} +3 -3
- package/dist/{layers.BQr6h_rZ.js → layers.BJRQxkud.js} +1 -1
- package/dist/{layers.DlHAVU5n.js → layers.BLi92H7_.js} +1 -1
- package/dist/{layers.BCBsVC-u.js → layers.BMhsa7fF.js} +1 -1
- package/dist/{layers.Bl4DHC7D.js → layers.BNORkLEU.js} +2 -2
- package/dist/{layers.CfAz8jRQ.js → layers.BOEPSpO2.js} +1 -1
- package/dist/{layers.DgnF9ACQ.js → layers.BPX43wPQ.js} +1 -1
- package/dist/{layers.BDZny-FL.js → layers.BQJqR69Y.js} +1 -1
- package/dist/{layers.BpLMN9gb.js → layers.BUI2XL5I.js} +1 -1
- package/dist/{layers.D8LHv5Wk.js → layers.BXHL4vQN.js} +1 -1
- package/dist/{layers.B48K3AE2.js → layers.BYC_Go9V.js} +3 -3
- package/dist/{layers.BfOoqcmT.js → layers.BYS-ANsY.js} +1 -1
- package/dist/{layers.BeS3PtsD.js → layers.BZ3DLkya.js} +1 -1
- package/dist/{layers.C_ncOnbF.js → layers.Ba4Ffh31.js} +1 -1
- package/dist/{layers.ChmMJLJH.js → layers.BaCm44bg.js} +4 -4
- package/dist/{layers.PPWNGasf.js → layers.Bb0LFn9C.js} +1 -1
- package/dist/{layers.BbOH_FNC.js → layers.BcPejsWI.js} +2 -2
- package/dist/{layers.Cf1cfS_i.js → layers.BdKNfvDU.js} +1 -1
- package/dist/{layers.hyrgMf8D.js → layers.BixrVSqX.js} +4 -4
- package/dist/layers.BixxMmyo.js +585 -0
- package/dist/{layers.qlG64X88.js → layers.BiyXq7rU.js} +1 -1
- package/dist/{layers.DT-IC93y.js → layers.BkS2DuSU.js} +1 -1
- package/dist/{layers.BZfzujdb.js → layers.BkhYhqir.js} +1 -1
- package/dist/{layers.CRWLh_yw.js → layers.BlHbloLD.js} +1 -1
- package/dist/{layers.BrQYLhBE.js → layers.BlSBGvon.js} +1 -1
- package/dist/{layers.CHAiYk68.js → layers.BlY6dO97.js} +1 -1
- package/dist/{layers.W4AlOGgf.js → layers.BmJIGMqL.js} +1 -1
- package/dist/{layers.DzkkzOI1.js → layers.BnIxWwDZ.js} +1 -1
- package/dist/{layers.CriBy1WL.js → layers.BouJWB3R.js} +1 -1
- package/dist/{layers.Bob_UXUE.js → layers.BqemzDp7.js} +1 -1
- package/dist/{layers.DAsilv3R.js → layers.Btve_r-X.js} +1 -1
- package/dist/{layers.BPLRV40d.js → layers.Bvi2LSJe.js} +1 -1
- package/dist/{layers._tF8WTcw.js → layers.By5WTm_j.js} +1 -1
- package/dist/{layers.Dc7Pvwn0.js → layers.BzNqRWa4.js} +1 -1
- package/dist/{layers.DttmtG7W.js → layers.C-1qvoqs.js} +1 -1
- package/dist/{layers.BXjG9UK4.js → layers.C0p6VUdx.js} +1 -1
- package/dist/{layers.Bal9D_3l.js → layers.C2Iv5Pj-.js} +1 -1
- package/dist/{layers.CMB7qHSe.js → layers.C2hJ7JL9.js} +1 -1
- package/dist/{layers.CtzsJ_Qz.js → layers.C4QC-DFf.js} +1 -1
- package/dist/{layers.MxwwvtSA.js → layers.C5RBG0zi.js} +1 -1
- package/dist/{layers.4TP6L1o1.js → layers.C64dcOJV.js} +1 -1
- package/dist/{layers.B_GfugcR.js → layers.C677lLWw.js} +1 -1
- package/dist/{layers.B3Bs8kNy.js → layers.C9u5uTsj.js} +1 -1
- package/dist/{layers.4Ksq__pH.js → layers.CA-w0vPQ.js} +3 -3
- package/dist/{layers.Bpf4TPHn.js → layers.CC0G0f25.js} +1 -1
- package/dist/{layers.CovfX0qy.js → layers.CCEFw55A.js} +5 -5
- package/dist/{layers.B8KixoLp.js → layers.CFPN80sC.js} +1 -1
- package/dist/{layers.CNuUCqVd.js → layers.CFUzmzLu.js} +2 -2
- package/dist/{layers.4t4ris2c.js → layers.CGFHRKaa.js} +1 -1
- package/dist/{layers.B3G1fUZs.js → layers.CGQnFV7L.js} +3 -3
- package/dist/{layers.C7yRYYMj.js → layers.CLVf9Z6E.js} +1 -1
- package/dist/{layers.uCjmcjnb.js → layers.CMBaNV6x.js} +1 -1
- package/dist/{layers.BEGVP5H5.js → layers.CMywzl8G.js} +2 -2
- package/dist/{layers.wNNm0OR_.js → layers.CNIupsI0.js} +1 -1
- package/dist/{layers.CBMyh3tg.js → layers.CO41ll6l.js} +1 -1
- package/dist/{layers.4O7NP2hG.js → layers.CQ-l5l7j.js} +1 -1
- package/dist/{layers.DJDxjtB3.js → layers.CQ0GkM-U.js} +1 -1
- package/dist/{layers.BP-1XTdK.js → layers.CQClCiaw.js} +1 -1
- package/dist/{layers.DEX89APB.js → layers.CQSpxJmk.js} +1 -1
- package/dist/{layers.jjUX4oi2.js → layers.CQcEcjcI.js} +1 -1
- package/dist/{layers.tcIOYaEM.js → layers.CR7sjaaQ.js} +1 -1
- package/dist/{layers.CN-UX7Fm.js → layers.CT5n7L4N.js} +1 -1
- package/dist/{layers.BnJjQcWj.js → layers.CTjM56oB.js} +2 -2
- package/dist/{layers.C_ySCaah.js → layers.CU3TdBy4.js} +1 -1
- package/dist/{layers.zkSG6BJe.js → layers.CV3ZsNaL.js} +1 -1
- package/dist/{layers.zHn0MlgM.js → layers.CW697xsv.js} +1 -1
- package/dist/{layers.DrYDPEw4.js → layers.CW_iBq-z.js} +1 -1
- package/dist/{layers.CrDI7BOy.js → layers.CWl0H86d.js} +1 -1
- package/dist/{layers.Bdmc_OD6.js → layers.CXJIamVt.js} +4 -4
- package/dist/{layers.ClL8l0tb.js → layers.CXNI0PQb.js} +5 -5
- package/dist/{layers.GIL4vDl3.js → layers.CaWw9rMx.js} +1 -1
- package/dist/{layers.Bg238NQZ.js → layers.CblPuaJ3.js} +1 -1
- package/dist/{layers.Cvq6n0af.js → layers.Cernfcls.js} +1 -1
- package/dist/layers.CexPaZ6U.js +1 -0
- package/dist/{layers.CdzEQ0r1.js → layers.CfY0WkpV.js} +1 -1
- package/dist/{layers.qz3R7qFS.js → layers.Chijzw2K.js} +1 -1
- package/dist/{layers.BVm12Snl.js → layers.Cj-5C54o.js} +1 -1
- package/dist/{layers.DXJuHUsP.js → layers.Cj-SDJ0Z.js} +1 -1
- package/dist/{layers.BB7KMib0.js → layers.CoglQ3Gw.js} +1 -1
- package/dist/{layers.B6i7W6CZ.js → layers.Covz2LMe.js} +1 -1
- package/dist/{layers._4FKy5MF.js → layers.CqMZBxB5.js} +1 -1
- package/dist/{layers.D_Mv6gfq.js → layers.Cqm9Qo5O.js} +1 -1
- package/dist/{layers.BUGbfqCF.js → layers.CsEbzs7k.js} +1 -1
- package/dist/{layers.uYVJCiej.js → layers.Csxf6Z74.js} +1 -1
- package/dist/{layers.CN6jCCLu.js → layers.CtotbZ8c.js} +1 -1
- package/dist/{layers.Ch4ChAuy.js → layers.CwRUCMgW.js} +3 -3
- package/dist/{layers.BV2_XShA.js → layers.Cx5dhoEQ.js} +1 -1
- package/dist/{layers.D-fSEr1I.js → layers.Cxx_Hvi5.js} +1 -1
- package/dist/{layers.iikl0VeP.js → layers.Cy1tslvb.js} +1 -1
- package/dist/{layers.LkFaqKJi.js → layers.CzQaE0bk.js} +1 -1
- package/dist/{layers.C1hY4S0L.js → layers.D0wnbAXO.js} +1 -1
- package/dist/{layers.C0MFIWD0.js → layers.D1yTSEZx.js} +3 -3
- package/dist/{layers.BiqyvvR9.js → layers.D36AVAlJ.js} +1 -1
- package/dist/{layers.B5aMO3c8.js → layers.D3pfmgtW.js} +24 -24
- package/dist/{layers.NQ1Aikwn.js → layers.D4R0mhr2.js} +1 -1
- package/dist/{layers.C_cLfJzM.js → layers.D5hCPmYE.js} +1 -1
- package/dist/{layers.DBdwd7TZ.js → layers.D6WMMkNO.js} +1 -1
- package/dist/{layers.D3MNgET7.js → layers.D6h4azTR.js} +1 -1
- package/dist/{layers.Dvgz32kE.js → layers.D8R57IXt.js} +1 -1
- package/dist/{layers.CoN_biX_.js → layers.D9VCAtdX.js} +1 -1
- package/dist/{layers.Cvt4L11X.js → layers.D9qaztLT.js} +1 -1
- package/dist/{layers.SJr4oMpe.js → layers.DBKC1ViV.js} +1 -1
- package/dist/{layers.Bs7NHk-D.js → layers.DCVWOCk_.js} +1 -1
- package/dist/{layers.ce8ytukt.js → layers.DChULv_V.js} +1 -1
- package/dist/{layers.eOVFoPB6.js → layers.DEomycGh.js} +3 -3
- package/dist/{layers.BT7KTLga.js → layers.DEv11PaB.js} +1 -1
- package/dist/{layers.Dv2NVib3.js → layers.DFk_hUZw.js} +1 -1
- package/dist/{layers.C_lggeez.js → layers.DG2NgMF9.js} +4 -4
- package/dist/{layers.GjBrbIMu.js → layers.DGXvrtCT.js} +1 -1
- package/dist/{layers.D3mGufeb.js → layers.DHlpjXzh.js} +1 -1
- package/dist/{layers.D0XXdyU0.js → layers.DI9beruQ.js} +1 -1
- package/dist/{layers.VXDR9PIz.js → layers.DJUmY6Eo.js} +1 -1
- package/dist/{layers.BdpB4FQH.js → layers.DMFPW5I1.js} +1 -1
- package/dist/{layers.CydmsCJ6.js → layers.DN1LOjoJ.js} +1 -1
- package/dist/{layers.BxeCbx-6.js → layers.DNFGsEu4.js} +1 -1
- package/dist/{layers.Dx3PqPY0.js → layers.DNurvReX.js} +1 -1
- package/dist/{layers.DdXYC_K_.js → layers.DOyetQMA.js} +1 -1
- package/dist/{layers.CIfvFXmc.js → layers.DPUtOpmq.js} +1 -1
- package/dist/{layers.Di-b5rnA.js → layers.DUNe6USn.js} +1 -1
- package/dist/{layers.Cxqe2t_R.js → layers.DVAYh7f7.js} +1 -1
- package/dist/{layers.B0FUlxmg.js → layers.DVXMfJtG.js} +1 -1
- package/dist/{layers.CsY2PEaf.js → layers.DY3aJwgk.js} +1 -1
- package/dist/{layers.IUcKI4IG.js → layers.DZhjznV5.js} +1 -1
- package/dist/{layers.NJcYAT1C.js → layers.DZoauQRc.js} +1 -1
- package/dist/{layers.DKJ2WU82.js → layers.D_8nCIYW.js} +1 -1
- package/dist/{layers.CPDT_Dw7.js → layers.DbB7Mtfu.js} +4 -4
- package/dist/{layers.Dl1Wx9FX.js → layers.DdOvVS_f.js} +2 -2
- package/dist/{layers.BrS1J4vJ.js → layers.DhWo-fTt.js} +1 -1
- package/dist/{layers.Ch3sBjxG.js → layers.DhXZk0JS.js} +1 -1
- package/dist/layers.Di6J1WFY.js +6 -0
- package/dist/{layers.CEG5rDDR.js → layers.DiOeZ_ia.js} +1 -1
- package/dist/{layers.UwSWIWP4.js → layers.DmHVrERP.js} +1 -1
- package/dist/{layers.CoBkDvD9.js → layers.DmIvOD_B.js} +1 -1
- package/dist/{layers.yLjsrlcl.js → layers.Dme2BL02.js} +1 -1
- package/dist/{layers.Dzf8tAtZ.js → layers.Dn3p2hdq.js} +1 -1
- package/dist/{layers.CLwE2B2y.js → layers.DnlkE-xk.js} +1 -1
- package/dist/{layers.ukcAaUuY.js → layers.DpxsCxDm.js} +1 -1
- package/dist/{layers.BsilZJVZ.js → layers.DsryY6fI.js} +1 -1
- package/dist/{layers.CdjisxUB.js → layers.DuDDBqpx.js} +4 -4
- package/dist/{layers.a6X49GwZ.js → layers.Dw4iAc9s.js} +1 -1
- package/dist/{layers.DDEnQpEn.js → layers.DwA7gX-X.js} +1 -1
- package/dist/layers.DwWb-6ht.js +8 -0
- package/dist/{layers.Cq7cNKQI.js → layers.DyA728Eg.js} +1 -1
- package/dist/{layers.Bgg8ra_F.js → layers.EhzBl1aK.js} +1 -1
- package/dist/{layers.BP2Y3nmD.js → layers.M5Tlclzb.js} +1 -1
- package/dist/{layers.BKiHObFL.js → layers.MLQgZHh5.js} +4 -4
- package/dist/layers.N08kyNiz.js +1 -0
- package/dist/layers.OerQuC1v.js +1 -0
- package/dist/{layers.D_4fiBYz.js → layers.Pk9kW4kl.js} +1 -1
- package/dist/{layers.DLGlC4vJ.js → layers.QAUHI1mn.js} +1 -1
- package/dist/{layers.DMj5AHSo.js → layers.QeqTafvL.js} +1 -1
- package/dist/{layers.DL1-UT1O.js → layers.RSi2uE3m.js} +1 -1
- package/dist/{layers.CYvsrAsT.js → layers.S1HC352b.js} +1 -1
- package/dist/{layers.CCVF69iT.js → layers.Stf66a3p.js} +1 -1
- package/dist/{layers.BSBUCRxL.js → layers.T9WtZ0_3.js} +1 -1
- package/dist/{layers.DSwDTe9Z.js → layers.UfRT4rSe.js} +1 -1
- package/dist/{layers.5uzSx96y.js → layers.VBGvhg3-.js} +1 -1
- package/dist/{layers.BStfa7Ec.js → layers.VMkT0xKi.js} +1 -1
- package/dist/{layers.KBaHkWu2.js → layers.XHPyj7DY.js} +1 -1
- package/dist/{layers.DEnZyvIx.js → layers.XSNsQ4Z0.js} +1 -1
- package/dist/{layers.BBDOQ7yE.js → layers.ZipBogib.js} +1 -1
- package/dist/{layers.BtbDCem_.js → layers._2At40eW.js} +1 -1
- package/dist/{layers.BzxndRXa.js → layers._IJ32gdd.js} +1 -1
- package/dist/{layers.CzvOzOWn.js → layers.bWiJhPSW.js} +3 -3
- package/dist/{layers.ANi-fKvt.js → layers.bdKF4uZQ.js} +4 -4
- package/dist/{layers.CnwPr2_m.js → layers.c6Dk6Sh5.js} +1 -1
- package/dist/{layers.BBeeJXeW.js → layers.cYZITt2j.js} +1 -1
- package/dist/{layers.PsoKQAJt.js → layers.cz77_1rM.js} +1 -1
- package/dist/{layers.DtkxfHEW.js → layers.f56EYvkV.js} +1 -1
- package/dist/{layers.CuWBVZVE.js → layers.fvV2eM-t.js} +1 -1
- package/dist/{layers.BHzIAItY.js → layers.hSmRmowd.js} +1 -1
- package/dist/{layers.BgjUs1jF.js → layers.iOYd1dTX.js} +3 -3
- package/dist/layers.ia9PZgbN.js +1 -0
- package/dist/{layers.DSQS44dK.js → layers.iuC7hVOA.js} +4 -4
- package/dist/{layers.Bz348g-F.js → layers.mHgyCFmg.js} +6 -6
- package/dist/{layers.BcWyCmWd.js → layers.p58dgh6l.js} +1 -1
- package/dist/{layers.CUWMwxBO.js → layers.u3wwLdEU.js} +1 -1
- package/dist/{layers.CBd4b_-g.js → layers.ua3bbH6R.js} +39625 -45258
- package/dist/{layers.CJwda6Ie.js → layers.usy-K3Qv.js} +1 -1
- package/dist/{layers.R-v4gNx5.js → layers.wTi_dIda.js} +1 -1
- package/dist/{layers.CRjfwp1e.js → layers.wj-02zgw.js} +1 -1
- package/dist/{layers.0zto2iHQ.js → layers.zBmfcF2J.js} +1 -1
- package/package.json +16 -128
- package/README.md +0 -831
- package/dist/layers.B184Fepz.js +0 -1
- package/dist/layers.BRYleyNj.js +0 -1
- package/dist/layers.Be2REn5S.js +0 -1
- package/dist/layers.Bu5dgBb_.js +0 -310
- package/dist/layers.C4LsiUri.js +0 -8
- package/dist/layers.CyynMWyN.js +0 -6
- package/dist/layers.QjBxi8wH.js +0 -533
- package/dist/layers.hMoxHZrO.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { NodeAlignmentMenu as AlignmentImage } from '@layers-app/editor-core';
|
|
2
|
+
import { AlignmentMenu } from '@layers-app/editor-core';
|
|
1
3
|
import { CLEAR_EDITOR_COMMAND } from 'lexical';
|
|
4
|
+
import { deleteNode } from '@layers-app/editor-core';
|
|
2
5
|
import { DOMExportOutput } from 'lexical';
|
|
3
6
|
import { Dropzone } from '@mantine/dropzone';
|
|
4
7
|
import { EditorConfig } from 'lexical';
|
|
@@ -6,24 +9,24 @@ import { LexicalEditor as EditorType } from 'lexical';
|
|
|
6
9
|
import { ElementNode } from 'lexical';
|
|
7
10
|
import { FC } from 'react';
|
|
8
11
|
import { FOCUS_COMMAND } from 'lexical';
|
|
9
|
-
import { IconProps } from '
|
|
12
|
+
import { IconProps } from '../../../@tabler/icons-react/dist/esm/icons/index.mjs';
|
|
10
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
11
|
-
import { Klass } from 'lexical';
|
|
12
14
|
import { LexicalCommand } from 'lexical';
|
|
13
15
|
import { LexicalNode } from 'lexical';
|
|
14
16
|
import { MarkNode } from '@lexical/mark';
|
|
15
17
|
import { MouseEventHandler } from 'react';
|
|
16
18
|
import { NodeKey } from 'lexical';
|
|
17
19
|
import { ParagraphNode } from 'lexical';
|
|
18
|
-
import {
|
|
20
|
+
import { PluginConfig } from '@layers-app/editor-core';
|
|
19
21
|
import { RangeSelection } from 'lexical';
|
|
20
|
-
import {
|
|
22
|
+
import { ResizableContainer } from '@layers-app/editor-core';
|
|
21
23
|
import { RootNode } from 'lexical';
|
|
22
24
|
import { SerializedEditorState } from 'lexical';
|
|
23
25
|
import { SerializedElementNode } from 'lexical';
|
|
24
26
|
import { SerializedLexicalNode } from 'lexical';
|
|
27
|
+
import { SlashMenuConfig } from '@layers-app/editor-core';
|
|
25
28
|
import { Spread } from 'lexical';
|
|
26
|
-
import {
|
|
29
|
+
import { UploadData } from '@layers-app/editor-core';
|
|
27
30
|
|
|
28
31
|
export declare const $createNewParagraph: (editor: EditorType) => void;
|
|
29
32
|
|
|
@@ -31,26 +34,9 @@ export declare type ActiveUserProfile<DATA extends object> = EditorUser<DATA> &
|
|
|
31
34
|
id: string;
|
|
32
35
|
};
|
|
33
36
|
|
|
34
|
-
export
|
|
35
|
-
editor: EditorType;
|
|
36
|
-
nodeKey?: string;
|
|
37
|
-
t: TFunction;
|
|
38
|
-
opened: boolean;
|
|
39
|
-
setOpened: (value: boolean) => void;
|
|
40
|
-
setShown?: (value: boolean) => void;
|
|
41
|
-
flexBorder?: boolean;
|
|
42
|
-
}) => JSX_2.Element;
|
|
43
|
-
|
|
44
|
-
export declare const AlignmentMenu: FC<AlignmentMenuProps>;
|
|
37
|
+
export { AlignmentImage }
|
|
45
38
|
|
|
46
|
-
|
|
47
|
-
currentAlignment: AlignValue;
|
|
48
|
-
onAlign: (value: AlignValue) => void;
|
|
49
|
-
className?: string;
|
|
50
|
-
targetLabel?: ReactNode;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare type AlignValue = 'left' | 'center' | 'right';
|
|
39
|
+
export { AlignmentMenu }
|
|
54
40
|
|
|
55
41
|
export { CLEAR_EDITOR_COMMAND }
|
|
56
42
|
|
|
@@ -95,7 +81,7 @@ export declare const CREATE_TEMPLATE: LexicalCommand<unknown>;
|
|
|
95
81
|
|
|
96
82
|
export declare const createMediaComponent: (imageNode: LexicalNode) => true | undefined;
|
|
97
83
|
|
|
98
|
-
export
|
|
84
|
+
export { deleteNode }
|
|
99
85
|
|
|
100
86
|
export { Dropzone }
|
|
101
87
|
|
|
@@ -264,43 +250,11 @@ declare interface Pages {
|
|
|
264
250
|
|
|
265
251
|
export { ParagraphNode }
|
|
266
252
|
|
|
267
|
-
export
|
|
268
|
-
key: string;
|
|
269
|
-
node: Klass<LexicalNode>;
|
|
270
|
-
Plugin: React.ComponentType;
|
|
271
|
-
Provider: React.ComponentType<{
|
|
272
|
-
children: ReactNode;
|
|
273
|
-
imperativeHandleRef?: React.RefObject<Record<string, unknown>>;
|
|
274
|
-
}>;
|
|
275
|
-
slashMenu: SlashMenuConfig;
|
|
276
|
-
modes?: PluginModeConfig;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
declare interface PluginModeConfig {
|
|
280
|
-
comment: boolean;
|
|
281
|
-
default: boolean;
|
|
282
|
-
editor: boolean;
|
|
283
|
-
}
|
|
253
|
+
export { PluginConfig }
|
|
284
254
|
|
|
285
255
|
export { RangeSelection }
|
|
286
256
|
|
|
287
|
-
export
|
|
288
|
-
|
|
289
|
-
declare type ResizableContainerProps = {
|
|
290
|
-
editor: EditorType;
|
|
291
|
-
width: number | string | 'inherit';
|
|
292
|
-
height: number | string | 'inherit';
|
|
293
|
-
isIcon: boolean;
|
|
294
|
-
initialHeight?: number | string;
|
|
295
|
-
initialWidth?: number | string;
|
|
296
|
-
type?: 'video';
|
|
297
|
-
onResizeEnd: (width: 'inherit' | number | string, height: 'inherit' | number | string) => void;
|
|
298
|
-
onResizeStart?: () => void;
|
|
299
|
-
isEmbed?: boolean;
|
|
300
|
-
alignment?: string;
|
|
301
|
-
disableInteractions?: boolean;
|
|
302
|
-
children: ReactNode;
|
|
303
|
-
};
|
|
257
|
+
export { ResizableContainer }
|
|
304
258
|
|
|
305
259
|
export declare type Root = SerializedEditorState<SerializedLexicalNode>;
|
|
306
260
|
|
|
@@ -310,16 +264,7 @@ declare type SerializedMarkNode = Spread<{
|
|
|
310
264
|
ids: Array<string>;
|
|
311
265
|
}, SerializedElementNode>;
|
|
312
266
|
|
|
313
|
-
export
|
|
314
|
-
parentKey: string;
|
|
315
|
-
name: string;
|
|
316
|
-
description: string;
|
|
317
|
-
hint?: string;
|
|
318
|
-
keywords: string[];
|
|
319
|
-
icon: ReactNode;
|
|
320
|
-
command: LexicalCommand<string>;
|
|
321
|
-
commandPayload: string;
|
|
322
|
-
}
|
|
267
|
+
export { SlashMenuConfig }
|
|
323
268
|
|
|
324
269
|
export declare const StylesProvider: ({ children }: {
|
|
325
270
|
children: React.ReactNode;
|
|
@@ -329,31 +274,6 @@ export declare type SuccessDeleteImage = () => void;
|
|
|
329
274
|
|
|
330
275
|
export declare type SuccessUploadImage = (url: string, id: string, data?: UploadData) => void;
|
|
331
276
|
|
|
332
|
-
export
|
|
333
|
-
contentType: string;
|
|
334
|
-
fileSize: string;
|
|
335
|
-
originalFileName: string;
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
declare interface VideoApiError {
|
|
339
|
-
status: number;
|
|
340
|
-
statusText: string;
|
|
341
|
-
message: string;
|
|
342
|
-
data?: unknown;
|
|
343
|
-
source: VideoApiErrorSource;
|
|
344
|
-
videoId?: string;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
declare type VideoApiErrorSource = 'init' | 'upload' | 'status' | 'cover' | 'subtitles' | 'chapters' | 'retry' | 'unknown';
|
|
348
|
-
|
|
349
|
-
export declare function videoPlugin(config: VideoPluginConfig): PluginConfig;
|
|
350
|
-
|
|
351
|
-
declare interface VideoPluginConfig {
|
|
352
|
-
pageId?: string;
|
|
353
|
-
maxFileSize?: number;
|
|
354
|
-
onUploadStateChange?: (isUploading: boolean, uploadingCount: number) => void;
|
|
355
|
-
onError?: (error: VideoApiError) => void;
|
|
356
|
-
onTrack?: (event: string, params?: Record<string, unknown>) => void;
|
|
357
|
-
}
|
|
277
|
+
export { UploadData }
|
|
358
278
|
|
|
359
279
|
export { }
|