eddyter 1.3.51 → 1.3.52
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 +489 -489
- package/dist/App.d.ts +3 -2
- package/dist/Provider/EditorProvider.d.ts +32 -31
- package/dist/Provider/LexicalProvider.d.ts +6 -5
- package/dist/api/ai/index.d.ts +83 -83
- package/dist/api/analytics.d.ts +21 -21
- package/dist/api/auth.d.ts +108 -108
- package/dist/api/bugReport.d.ts +27 -27
- package/dist/api/config/axios.d.ts +2 -1
- package/dist/api/config/endpoints.d.ts +24 -24
- package/dist/api/featureSuggestion.d.ts +23 -23
- package/dist/api/feedback.d.ts +26 -26
- package/dist/api/linkPreview.d.ts +15 -15
- package/dist/api/transcript/index.d.ts +21 -21
- package/dist/assets/style.css +1 -1
- package/dist/{babel-44680aef.js → babel-1c4a328b.js} +3321 -3587
- package/dist/components/AiPlugin/index.d.ts +6 -6
- package/dist/components/AlignMenu/AlignMenu.d.ts +9 -8
- package/dist/components/AlignMenu/AlignMenuDrop.d.ts +3 -2
- package/dist/components/AlignMenu/index.d.ts +1 -1
- package/dist/components/AutoExpandingDemo.d.ts +6 -5
- package/dist/components/BlockFormatMenu/BlockFormatMenu.d.ts +3 -2
- package/dist/components/BlockFormatMenu/constants.d.ts +14 -14
- package/dist/components/BlockFormatMenu/index.d.ts +1 -1
- package/dist/components/BugReportDialog/index.d.ts +6 -6
- package/dist/components/ChartEditDialog.d.ts +9 -8
- package/dist/components/ChartInsertDialog.d.ts +8 -7
- package/dist/components/CodeActionMenuPlugin/components/CopyButton/index.d.ts +7 -6
- package/dist/components/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +9 -8
- package/dist/components/CodeActionMenuPlugin/index.d.ts +5 -4
- package/dist/components/CodeActionMenuPlugin/utils.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -2
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/CommentSidebar/CommentSidebar.d.ts +8 -7
- package/dist/components/CommentSidebar/index.d.ts +1 -1
- package/dist/components/CommentToggle/CommentToggle.d.ts +8 -7
- package/dist/components/CommentToggle/index.d.ts +1 -1
- package/dist/components/CommentView/CommentView.d.ts +9 -8
- package/dist/components/CommentView/index.d.ts +1 -1
- package/dist/components/ConfigurableEditorWithAuth.d.ts +35 -34
- package/dist/components/ContentPreview/index.d.ts +37 -36
- package/dist/components/DatePicker/DatePickerWidget.d.ts +7 -6
- package/dist/components/EmojiPickerWidget/EmojiPickerWidget.d.ts +3 -2
- package/dist/components/EmojiPickerWidget/index.d.ts +1 -1
- package/dist/components/FeatureSuggestionDialog/index.d.ts +6 -6
- package/dist/components/FeedbackDialog/index.d.ts +7 -7
- package/dist/components/FileUpload/InsertFileDialog.d.ts +7 -7
- package/dist/components/FileUpload/InsertFileUploadedDialogBody.d.ts +5 -4
- package/dist/components/FileView/index.d.ts +9 -8
- package/dist/components/FontFamilySelect/FontFamilyMenu.d.ts +7 -6
- package/dist/components/FontSizePicker/FontSizeControl.d.ts +3 -2
- package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +3 -2
- package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +3 -2
- package/dist/components/FormatTextMenu/index.d.ts +1 -1
- package/dist/components/HighlightColorPicker/HighlightColorPicker.d.ts +7 -6
- package/dist/components/HtmlViewDisplay.d.ts +3 -2
- package/dist/components/ImageComparisonDialog/index.d.ts +11 -10
- package/dist/components/ImageGenerationDialog/ImageGenerationManager.d.ts +11 -10
- package/dist/components/ImageGenerationDialog/index.d.ts +11 -10
- package/dist/components/ImageInsertTest.d.ts +3 -2
- package/dist/components/ImageView/ImageDialog/ImageUploadDialogBody.d.ts +9 -8
- package/dist/components/ImageView/ImageDialog/index.d.ts +6 -5
- package/dist/components/ImageView/ImageResizer.d.ts +16 -15
- package/dist/components/ImageView/index.d.ts +17 -16
- package/dist/components/InsertMenu/InsertMenu.d.ts +9 -8
- package/dist/components/InsertMenu/InsertMenuDrop.d.ts +9 -8
- package/dist/components/InsertMenu/index.d.ts +1 -1
- package/dist/components/LanguageSelectorDialog/index.d.ts +8 -7
- package/dist/components/LinkPreviewHover/index.d.ts +40 -40
- package/dist/components/NotePanelMenu/NotePanelMenu.d.ts +6 -5
- package/dist/components/NotePanelMenu/index.d.ts +1 -1
- package/dist/components/NotePanelView/NotePanelView.d.ts +9 -8
- package/dist/components/NotePanelView/index.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +3 -2
- package/dist/components/Placeholder/index.d.ts +1 -1
- package/dist/components/Placeholder/styles.d.ts +1 -1
- package/dist/components/ScopedEditor.d.ts +8 -8
- package/dist/components/SignatureCaption/index.d.ts +6 -5
- package/dist/components/TableColorPicker/index.d.ts +8 -7
- package/dist/components/TableModal/TableModal.d.ts +10 -9
- package/dist/components/TextEnhanceDialog/index.d.ts +10 -9
- package/dist/components/ToneAdjustDialog/index.d.ts +8 -7
- package/dist/components/Toolbar/Toolbar.d.ts +3 -2
- package/dist/components/Toolbar/index.d.ts +1 -1
- package/dist/components/Toolbar/styles.d.ts +6 -6
- package/dist/components/VoiceTranscriptIcon/VoiceTranscriptIcon.d.ts +2 -1
- package/dist/components/VoiceTranscriptIcon/index.d.ts +1 -1
- package/dist/components/ui/avatar.d.ts +6 -6
- package/dist/components/ui/badge.d.ts +9 -8
- package/dist/components/ui/button.d.ts +11 -10
- package/dist/components/ui/calendar.d.ts +8 -7
- package/dist/components/ui/card.d.ts +8 -8
- package/dist/components/ui/checkbox.d.ts +4 -4
- package/dist/components/ui/dialog.d.ts +19 -19
- package/dist/components/ui/dropdown-menu.d.ts +27 -27
- package/dist/components/ui/input.d.ts +3 -3
- package/dist/components/ui/label.d.ts +4 -4
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/select.d.ts +13 -13
- package/dist/components/ui/separator.d.ts +4 -4
- package/dist/components/ui/sheet.d.ts +24 -24
- package/dist/components/ui/skeleton.d.ts +3 -3
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/components/ui/textarea.d.ts +3 -3
- package/dist/components/ui/tooltip.d.ts +7 -7
- package/dist/constants.d.ts +22 -21
- package/dist/context/CommentContext.d.ts +43 -42
- package/dist/context/HtmlViewContext.d.ts +17 -16
- package/dist/context/ToolbarContext.d.ts +56 -55
- package/dist/editorConfig.d.ts +70 -70
- package/dist/{estree-a7dc9ac5.js → estree-2cbea43c.js} +1848 -1828
- package/dist/hooks/useAutoExpandingHeight.d.ts +15 -15
- package/dist/hooks/useBlockFormat.d.ts +17 -16
- package/dist/hooks/useColorPicker.d.ts +6 -6
- package/dist/hooks/useCustomCommands.d.ts +3 -2
- package/dist/hooks/useDebounce.d.ts +1 -1
- package/dist/hooks/useEditorToolbar.d.ts +10 -9
- package/dist/hooks/useFeedbackEligibility.d.ts +18 -18
- package/dist/hooks/useInsertMenu.d.ts +9 -9
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useReactNativeBridge.d.ts +54 -54
- package/dist/hooks/useS3Uploader.d.ts +21 -21
- package/dist/hooks/useVoiceToText.d.ts +20 -20
- package/dist/{html-f2fcab26.js → html-c18fb60e.js} +648 -689
- package/dist/{html2pdf.bundle-09e49a74.js → html2pdf.bundle-ffb2feaa.js} +1 -1
- package/dist/{html2pdf.bundle.min-5c629a1a.js → html2pdf.bundle.min-1455f5bc.js} +1 -1
- package/dist/{index-28f8506d.js → index-02397e44.js} +8 -8
- package/dist/{index-269df0bf.js → index-4b2cda16.js} +8917 -9168
- package/dist/{index-1cd4fd49.js → index-ed633fb3.js} +17 -17
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/lib/utils.d.ts +2 -1
- package/dist/main.d.ts +1 -0
- package/dist/{markdown-48d2f5f1.js → markdown-39c3822b.js} +1689 -1734
- package/dist/nodes/ChartNode.d.ts +41 -40
- package/dist/nodes/CommentNode.d.ts +34 -33
- package/dist/nodes/CommentedTextNode.d.ts +29 -28
- package/dist/nodes/EmbedNode.d.ts +32 -31
- package/dist/nodes/FileNode.d.ts +32 -31
- package/dist/nodes/ImageNode.d.ts +65 -64
- package/dist/nodes/MentionNode.d.ts +75 -74
- package/dist/nodes/NotePanelNode.d.ts +31 -30
- package/dist/pages/ConfigurableEditor/ConfigurableEditor.d.ts +25 -24
- package/dist/pages/ConfigurableEditor/index.d.ts +2 -2
- package/dist/pages/NotFound.d.ts +2 -2
- package/dist/pages/RichTextEditor.d.ts +6 -6
- package/dist/pages/TextareaEditor.d.ts +6 -6
- package/dist/pages/styles.d.ts +5 -5
- package/dist/plugins/AIChatPlugin.d.ts +11 -10
- package/dist/plugins/AndroidKeyboardFixPlugin.d.ts +16 -16
- package/dist/plugins/AutocompletePlugin.d.ts +22 -22
- package/dist/plugins/CodeBlockNormalizerPlugin.d.ts +8 -8
- package/dist/plugins/CodeBlockSelectAllPlugin.d.ts +8 -8
- package/dist/plugins/CodeHighlightPlugin.d.ts +3 -2
- package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +21 -20
- package/dist/plugins/CommentBubblePlugin.d.ts +3 -2
- package/dist/plugins/CommentPlugin.d.ts +7 -6
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRuleNode.d.ts +29 -28
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +3 -3
- package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +7 -6
- package/dist/plugins/CustomHorizontalRulePlugin/index.d.ts +3 -3
- package/dist/plugins/DragDropPastePlugin/index.d.ts +8 -8
- package/dist/plugins/EmbedPreviewPlugin/FloatingEmbedMenuPlugin.d.ts +4 -3
- package/dist/plugins/EmbedPreviewPlugin/index.d.ts +6 -5
- package/dist/plugins/FilePlugin.d.ts +8 -7
- package/dist/plugins/FloatingLinkEditorPlugin/index.d.ts +6 -5
- package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +27 -26
- package/dist/plugins/GrammarCheckPlugin.d.ts +2 -1
- package/dist/plugins/HtmlCodeViewPlugin/index.d.ts +2 -2
- package/dist/plugins/HtmlImportPlugin.d.ts +5 -5
- package/dist/plugins/HtmlSyncPlugin.d.ts +3 -3
- package/dist/plugins/ImagePlugin.d.ts +7 -6
- package/dist/plugins/LinkPlugin/index.d.ts +6 -5
- package/dist/plugins/LinkPreviewPlugin/index.d.ts +4 -4
- package/dist/plugins/LocalStoragePlugin.d.ts +7 -6
- package/dist/plugins/MarkdownShortcutsPlugin/index.d.ts +20 -20
- package/dist/plugins/MentionsPlugin/index.d.ts +7 -6
- package/dist/plugins/NotePanelPlugin.d.ts +7 -6
- package/dist/plugins/PasteOptionsPlugin/index.d.ts +17 -17
- package/dist/plugins/RichTextPastePlugin/index.d.ts +6 -5
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasDialog.d.ts +6 -5
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +9 -9
- package/dist/plugins/SignatureCanvasPlugin/index.d.ts +2 -2
- package/dist/plugins/SlashCommandPlugin/index.d.ts +2 -2
- package/dist/plugins/TableActionMenuPlugin/index.d.ts +6 -5
- package/dist/plugins/TableCellResizer/index.d.ts +2 -1
- package/dist/plugins/TableHoverActionsPlugin/index.d.ts +4 -4
- package/dist/plugins/TablePlugin.d.ts +5 -4
- package/dist/plugins/Tableimageautoresizeplugin.d.ts +1 -1
- package/dist/plugins/TextEnhancePlugin.d.ts +6 -6
- package/dist/plugins/TreeViewPlugin.d.ts +3 -2
- package/dist/plugins/UsageTrackingPlugin.d.ts +15 -15
- package/dist/plugins/VoiceTranscriptPlugin.d.ts +22 -22
- package/dist/plugins/WordCountPlugin.d.ts +3 -2
- package/dist/{postcss-9ac167c3.js → postcss-bbcc713e.js} +1650 -1671
- package/dist/services/chartService.d.ts +19 -18
- package/dist/standalone-36ad3877.js +2600 -0
- package/dist/styles/PlaygroundEditorTheme.d.ts +3 -2
- package/dist/types.d.ts +204 -201
- package/dist/typescript-39d06710.js +13533 -0
- package/dist/ui/ColorPicker.d.ts +14 -13
- package/dist/ui/Icons.d.ts +81 -80
- package/dist/ui/TextInput.d.ts +11 -10
- package/dist/utils/dateFormats.d.ts +33 -33
- package/dist/utils/debounce.d.ts +6 -5
- package/dist/utils/editorStyleConverter.d.ts +17 -16
- package/dist/utils/export.d.ts +2 -1
- package/dist/utils/getDOMRangeRect.d.ts +13 -13
- package/dist/utils/getSelectedNode.d.ts +3 -2
- package/dist/utils/helper.d.ts +3 -3
- package/dist/utils/index.d.ts +4 -3
- package/dist/utils/invarient.d.ts +1 -1
- package/dist/utils/setFloatingElemPosition.d.ts +8 -8
- package/dist/utils/setFloatingElemPositionForLinkEditor.d.ts +1 -1
- package/dist/utils/url.d.ts +9 -9
- package/package.json +150 -150
- package/dist/standalone-2029bc8b.js +0 -2467
- package/dist/typescript-bd1bb88f.js +0 -13632
|
@@ -14,8 +14,8 @@ import { useLexicalEditable as at } from "@lexical/react/useLexicalEditable";
|
|
|
14
14
|
import { useLexicalNodeSelection as st } from "@lexical/react/useLexicalNodeSelection";
|
|
15
15
|
import { calculateZoomLevel as we, mergeRegister as dt } from "@lexical/utils";
|
|
16
16
|
import { RootNode as Se, TextNode as Le, LineBreakNode as We, ParagraphNode as Ae, $getSelection as J, $isNodeSelection as X, $isParagraphNode as xe, $setSelection as ce, $isRangeSelection as lt, SELECTION_CHANGE_COMMAND as ut, COMMAND_PRIORITY_LOW as M, CLICK_COMMAND as mt, DRAGSTART_COMMAND as gt, KEY_DELETE_COMMAND as ht, KEY_BACKSPACE_COMMAND as pt, KEY_ENTER_COMMAND as ft, KEY_ESCAPE_COMMAND as bt, createCommand as yt, $getNodeByKey as U } from "lexical";
|
|
17
|
-
import { useRef as
|
|
18
|
-
import {
|
|
17
|
+
import { useRef as T, useState as R, useEffect as ae, useCallback as W, Suspense as wt } from "react";
|
|
18
|
+
import { a as xt, D as Ct, b as Nt, d as vt, e as kt, f as Et, h as It, B as Ce, L as Me, i as $e, $ as F, W as Pt, j as Rt, A as Dt, k as zt, l as St, T as Lt, m as Wt, S as At, E as Mt, n as $t, t as $, o as _t, p as Ot, C as Ht } from "./index-4b2cda16.js";
|
|
19
19
|
import "axios";
|
|
20
20
|
import "react-dom";
|
|
21
21
|
import "@emotion/styled";
|
|
@@ -40,12 +40,12 @@ import "@lexical/react/LexicalTypeaheadMenuPlugin";
|
|
|
40
40
|
* This source code is licensed under the ISC license.
|
|
41
41
|
* See the LICENSE file in the root directory of this source tree.
|
|
42
42
|
*/
|
|
43
|
-
const
|
|
43
|
+
const Tt = xt("Link2", [
|
|
44
44
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
45
45
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
46
46
|
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
47
47
|
]);
|
|
48
|
-
const
|
|
48
|
+
const jt = ({
|
|
49
49
|
open: u,
|
|
50
50
|
onOpenChange: p,
|
|
51
51
|
oldImageUrl: f,
|
|
@@ -169,10 +169,10 @@ function Yt({
|
|
|
169
169
|
setShowCaption: A,
|
|
170
170
|
captionsEnabled: S
|
|
171
171
|
}) {
|
|
172
|
-
const
|
|
172
|
+
const j = T(null), k = T({
|
|
173
173
|
priority: "",
|
|
174
174
|
value: "default"
|
|
175
|
-
}), y =
|
|
175
|
+
}), y = T({
|
|
176
176
|
currentHeight: 0,
|
|
177
177
|
currentWidth: 0,
|
|
178
178
|
direction: 0,
|
|
@@ -210,7 +210,7 @@ function Yt({
|
|
|
210
210
|
}, I = (i, d) => {
|
|
211
211
|
if (!v.isEditable())
|
|
212
212
|
return;
|
|
213
|
-
const o = N.current, D =
|
|
213
|
+
const o = N.current, D = j.current;
|
|
214
214
|
if (o !== null && D !== null) {
|
|
215
215
|
i.preventDefault();
|
|
216
216
|
const { width: C, height: P } = o.getBoundingClientRect(), l = we(o), a = y.current;
|
|
@@ -250,13 +250,13 @@ function Yt({
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
}, O = () => {
|
|
253
|
-
const i = N.current, d = y.current, o =
|
|
253
|
+
const i = N.current, d = y.current, o = j.current;
|
|
254
254
|
if (i !== null && o !== null && d.isResizing) {
|
|
255
255
|
const D = d.currentWidth, C = d.currentHeight;
|
|
256
256
|
d.startWidth = 0, d.startHeight = 0, d.ratio = 0, d.startX = 0, d.startY = 0, d.currentWidth = 0, d.currentHeight = 0, d.isResizing = !1, o.classList.remove("image-control-wrapper--resizing"), L(), p(D, C), document.removeEventListener("pointermove", n), document.removeEventListener("pointerup", O);
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
|
-
return /* @__PURE__ */ g("div", { ref:
|
|
259
|
+
return /* @__PURE__ */ g("div", { ref: j, children: [
|
|
260
260
|
!G && S && /* @__PURE__ */ t(
|
|
261
261
|
"button",
|
|
262
262
|
{
|
|
@@ -410,18 +410,18 @@ function zr({
|
|
|
410
410
|
resizable: G,
|
|
411
411
|
showCaption: A,
|
|
412
412
|
caption: S,
|
|
413
|
-
captionsEnabled:
|
|
413
|
+
captionsEnabled: j,
|
|
414
414
|
originalPrompt: k,
|
|
415
415
|
position: y = "none",
|
|
416
416
|
linkUrl: h
|
|
417
417
|
}) {
|
|
418
|
-
const w =
|
|
418
|
+
const w = T(null), q = T(null), [m, E, _] = st(f), [L, I] = R(!1);
|
|
419
419
|
nt();
|
|
420
|
-
const [n] = ct(), [O, i] = R(null), d =
|
|
420
|
+
const [n] = ct(), [O, i] = R(null), d = T(null), [o, D] = R(!1), C = at(), [P, l] = R(!1), [a, H] = R(""), [B, le] = R(!1), [_e, Z] = R(!1), [ue, Q] = R(""), [Oe, ee] = R(""), [He, me] = R(!1), Y = T(null), [ge, Te] = R(0), je = ge > 0 && ge < 350;
|
|
421
421
|
ae(() => {
|
|
422
422
|
if (w.current) {
|
|
423
423
|
const e = () => {
|
|
424
|
-
w.current &&
|
|
424
|
+
w.current && Te(w.current.offsetWidth);
|
|
425
425
|
};
|
|
426
426
|
e();
|
|
427
427
|
const r = new ResizeObserver(e);
|
|
@@ -734,7 +734,7 @@ function zr({
|
|
|
734
734
|
className: "cteditor-absolute cteditor-bottom-2 cteditor-left-2 cteditor-right-2 cteditor-bg-background cteditor-rounded-lg cteditor-shadow-lg cteditor-border cteditor-border-border cteditor-p-2 cteditor-flex cteditor-items-center cteditor-gap-2",
|
|
735
735
|
style: { zIndex: 10 },
|
|
736
736
|
children: [
|
|
737
|
-
/* @__PURE__ */ t(
|
|
737
|
+
/* @__PURE__ */ t(Tt, { className: "cteditor-w-4 cteditor-h-4 cteditor-text-muted-foreground cteditor-flex-shrink-0" }),
|
|
738
738
|
/* @__PURE__ */ t("span", { className: "cteditor-text-sm cteditor-text-foreground cteditor-truncate cteditor-flex-1", children: h }),
|
|
739
739
|
/* @__PURE__ */ t(
|
|
740
740
|
"button",
|
|
@@ -750,7 +750,7 @@ function zr({
|
|
|
750
750
|
m && X(O) && !o && /* @__PURE__ */ g(
|
|
751
751
|
"div",
|
|
752
752
|
{
|
|
753
|
-
className: `cteditor-absolute cteditor-flex cteditor-gap-1 z-10 ${
|
|
753
|
+
className: `cteditor-absolute cteditor-flex cteditor-gap-1 z-10 ${je ? "cteditor-left-1/2 cteditor--translate-x-1/2 cteditor-bottom-0 cteditor-translate-y-full cteditor-mt-1" : "cteditor-top-2 cteditor-right-2"}`,
|
|
754
754
|
children: [
|
|
755
755
|
/* @__PURE__ */ g("div", { className: "cteditor-flex cteditor-items-center cteditor-gap-0.5 cteditor-bg-background/80 cteditor-rounded-md cteditor-shadow-md cteditor-border cteditor-border-border cteditor-p-0.5", children: [
|
|
756
756
|
/* @__PURE__ */ t(
|
|
@@ -937,7 +937,7 @@ function zr({
|
|
|
937
937
|
maxWidth: v,
|
|
938
938
|
onResizeStart: Ke,
|
|
939
939
|
onResizeEnd: Ye,
|
|
940
|
-
captionsEnabled: !o &&
|
|
940
|
+
captionsEnabled: !o && j
|
|
941
941
|
}
|
|
942
942
|
)
|
|
943
943
|
]
|
|
@@ -984,7 +984,7 @@ function zr({
|
|
|
984
984
|
}
|
|
985
985
|
) })),
|
|
986
986
|
/* @__PURE__ */ t(
|
|
987
|
-
|
|
987
|
+
jt,
|
|
988
988
|
{
|
|
989
989
|
open: _e,
|
|
990
990
|
onOpenChange: Z,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { HtmlViewProvider, useHtmlView } from './context/HtmlViewContext';
|
|
2
|
-
export { EditorProvider, useEditor } from './Provider/EditorProvider';
|
|
3
|
-
export { default as ConfigurableEditorWithAuth } from './components/ConfigurableEditorWithAuth';
|
|
4
|
-
export { default as ConfigurableEditor } from './pages/ConfigurableEditor/ConfigurableEditor';
|
|
5
|
-
export { verifyApiKey } from './api/auth';
|
|
6
|
-
export { default as LinkPreviewHover } from './components/LinkPreviewHover';
|
|
7
|
-
export type { LinkPreviewHoverProps } from './components/LinkPreviewHover';
|
|
8
|
-
export { default as ContentPreview } from './components/ContentPreview';
|
|
9
|
-
export type { ContentPreviewProps } from './components/ContentPreview';
|
|
10
|
-
export type { ReactNativeBridgeConfig, ReactNativeMessage, ReactNativeMessageType, } from './hooks/useReactNativeBridge';
|
|
11
|
-
export { isReactNativeWebView, useReactNativeBridge, } from './hooks/useReactNativeBridge';
|
|
12
|
-
export type { CurrentUser } from './Provider/EditorProvider';
|
|
13
|
-
export type { EditorConfigTypes } from './types';
|
|
14
|
-
export { editorConfig as defaultEditorConfig } from './editorConfig';
|
|
1
|
+
export { HtmlViewProvider, useHtmlView } from './context/HtmlViewContext';
|
|
2
|
+
export { EditorProvider, useEditor } from './Provider/EditorProvider';
|
|
3
|
+
export { default as ConfigurableEditorWithAuth } from './components/ConfigurableEditorWithAuth';
|
|
4
|
+
export { default as ConfigurableEditor } from './pages/ConfigurableEditor/ConfigurableEditor';
|
|
5
|
+
export { verifyApiKey } from './api/auth';
|
|
6
|
+
export { default as LinkPreviewHover } from './components/LinkPreviewHover';
|
|
7
|
+
export type { LinkPreviewHoverProps } from './components/LinkPreviewHover';
|
|
8
|
+
export { default as ContentPreview } from './components/ContentPreview';
|
|
9
|
+
export type { ContentPreviewProps } from './components/ContentPreview';
|
|
10
|
+
export type { ReactNativeBridgeConfig, ReactNativeMessage, ReactNativeMessageType, } from './hooks/useReactNativeBridge';
|
|
11
|
+
export { isReactNativeWebView, useReactNativeBridge, } from './hooks/useReactNativeBridge';
|
|
12
|
+
export type { CurrentUser } from './Provider/EditorProvider';
|
|
13
|
+
export type { EditorConfigTypes } from './types';
|
|
14
|
+
export { editorConfig as defaultEditorConfig } from './editorConfig';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as z, z as B, K as G, x as I, H as J, J as L, O as M, M as O, y as j, w as q, N as D, I as F } from "./index-
|
|
1
|
+
import { G as z, z as B, K as G, x as I, H as J, J as L, O as M, M as O, y as j, w as q, N as D, I as F } from "./index-4b2cda16.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "axios";
|
package/dist/lib/utils.d.ts
CHANGED
package/dist/main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|