camox 0.7.1 → 0.7.3
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/components/AuthGate.js +3 -1
- package/dist/core/components/AddBlockControlBar.js +4 -2
- package/dist/core/components/lexical/InlineContentEditable.js +4 -2
- package/dist/core/components/lexical/InlineLexicalEditor.js +3 -1
- package/dist/core/components/lexical/InlineParagraphNode.js +3 -1
- package/dist/core/components/lexical/SelectionBroadcaster.js +3 -1
- package/dist/core/components/lexical/SidebarLexicalEditor.js +3 -1
- package/dist/core/components/lexical/editorConfig.js +3 -1
- package/dist/core/createApp.d.ts +760 -691
- package/dist/core/createApp.js +2 -1
- package/dist/core/createBlock.d.ts +1027 -1001
- package/dist/core/createBlock.js +6 -4
- package/dist/core/createLayout.d.ts +111 -105
- package/dist/core/createLayout.js +3 -1
- package/dist/core/hooks/useFieldSelection.js +3 -1
- package/dist/core/hooks/useIsEditable.js +3 -1
- package/dist/core/hooks/useOverlayMessage.js +3 -1
- package/dist/core/lib/contentType.d.ts +141 -138
- package/dist/core/lib/contentType.js +4 -2
- package/dist/core/lib/fieldTypes.js +4 -2
- package/dist/core/lib/lexicalReact.js +3 -1
- package/dist/core/lib/lexicalState.js +3 -1
- package/dist/core/lib/modifierFormats.js +4 -3
- package/dist/core/lib/modifiers.js +5 -3
- package/dist/features/content/CamoxContent.d.ts +6 -2
- package/dist/features/content/CamoxContent.js +4 -2
- package/dist/features/content/components/AssetCard.js +4 -2
- package/dist/features/content/components/AssetCardSkeleton.js +4 -2
- package/dist/features/content/components/ContentSidebar.js +4 -2
- package/dist/features/content/components/UploadDropZone.js +3 -1
- package/dist/features/content/components/UploadProgressDrawer.js +3 -1
- package/dist/features/metadata/sitemap.d.ts +7 -5
- package/dist/features/metadata/sitemap.js +3 -1
- package/dist/features/preview/CamoxPreview.d.ts +35 -29
- package/dist/features/preview/CamoxPreview.js +6 -4
- package/dist/features/preview/components/AddBlockSheet.js +4 -2
- package/dist/features/preview/components/AgentChatSheet.js +4 -2
- package/dist/features/preview/components/AssetFieldEditor.js +5 -3
- package/dist/features/preview/components/AssetLightbox.js +4 -2
- package/dist/features/preview/components/AssetPickerGrid.js +4 -2
- package/dist/features/preview/components/BlockActionsPopover.js +4 -2
- package/dist/features/preview/components/CreatePageSheet.js +4 -2
- package/dist/features/preview/components/DebouncedFieldEditor.js +4 -2
- package/dist/features/preview/components/EditPageSheet.js +8 -6
- package/dist/features/preview/components/FieldOverlayStyles.js +6 -4
- package/dist/features/preview/components/Frame.js +5 -3
- package/dist/features/preview/components/ItemFieldsEditor.js +6 -4
- package/dist/features/preview/components/LinkFieldEditor.js +5 -3
- package/dist/features/preview/components/MultipleAssetFieldEditor.js +5 -3
- package/dist/features/preview/components/OverlayTracker.js +4 -2
- package/dist/features/preview/components/Overlays.js +4 -2
- package/dist/features/preview/components/PageContentSheet.js +7 -5
- package/dist/features/preview/components/PageLocationFieldset.js +5 -3
- package/dist/features/preview/components/PagePicker.js +5 -3
- package/dist/features/preview/components/PageTree.js +13 -11
- package/dist/features/preview/components/PeekedBlock.js +4 -2
- package/dist/features/preview/components/PreviewPanel.js +6 -4
- package/dist/features/preview/components/PreviewSideSheet.js +4 -2
- package/dist/features/preview/components/PreviewToolbar.js +4 -2
- package/dist/features/preview/components/RepeatableItemsList.js +5 -3
- package/dist/features/preview/components/ShikiMarkdown.js +5 -3
- package/dist/features/preview/components/TextFormatToolbar.js +5 -3
- package/dist/features/preview/components/UnlinkAssetButton.js +4 -2
- package/dist/features/preview/components/useUpdateBlockPosition.js +3 -1
- package/dist/features/preview/overlayMessages.js +2 -1
- package/dist/features/preview/previewStore.js +4 -2
- package/dist/features/provider/CamoxProvider.d.ts +20 -10
- package/dist/features/provider/CamoxProvider.js +5 -3
- package/dist/features/provider/actionsStore.js +4 -2
- package/dist/features/provider/components/CamoxAppContext.js +5 -3
- package/dist/features/provider/components/CommandPalette.js +3 -1
- package/dist/features/provider/useAdminShortcuts.js +3 -1
- package/dist/features/routes/ogRoute.d.ts +11 -6
- package/dist/features/routes/ogRoute.js +2 -1
- package/dist/features/routes/pageRoute.d.ts +56 -46
- package/dist/features/routes/pageRoute.js +5 -3
- package/dist/features/studio/CamoxStudio.d.ts +10 -5
- package/dist/features/studio/CamoxStudio.js +4 -2
- package/dist/features/studio/components/EnvironmentMenu.js +4 -2
- package/dist/features/studio/components/Navbar.js +5 -3
- package/dist/features/studio/components/ProjectMenu.js +5 -3
- package/dist/features/studio/components/UserButton.js +4 -2
- package/dist/features/studio/studioStore.js +4 -2
- package/dist/features/studio/useTheme.js +3 -1
- package/dist/features/vite/appGeneration.js +4 -2
- package/dist/features/vite/blockBoilerplate.js +4 -2
- package/dist/features/vite/definitionsSync.js +5 -3
- package/dist/features/vite/routeGeneration.js +4 -2
- package/dist/features/vite/skillGeneration.js +5 -3
- package/dist/features/vite/utils.js +3 -1
- package/dist/features/vite/vite.d.ts +20 -21
- package/dist/features/vite/vite.js +26 -16
- package/dist/hooks/use-file-upload.js +4 -1
- package/dist/hooks/use-marquee-selection.js +4 -2
- package/dist/lib/analytics-client.js +5 -3
- package/dist/lib/analytics.js +4 -3
- package/dist/lib/api-client-server.js +3 -1
- package/dist/lib/api-client.d.ts +7 -1198
- package/dist/lib/api-client.js +7 -5
- package/dist/lib/auth.js +4 -2
- package/dist/lib/normalized-data.js +6 -4
- package/dist/lib/queries.d.ts +9 -791
- package/dist/lib/queries.js +12 -10
- package/dist/lib/use-project-room.js +4 -2
- package/dist/lib/utils.js +3 -1
- package/dist/studio-overlays.css +195 -0
- package/package.json +10 -11
- package/dist/components/AuthGate.d.ts +0 -7
- package/dist/components/AuthGate.d.ts.map +0 -1
- package/dist/core/components/AddBlockControlBar.d.ts +0 -9
- package/dist/core/components/AddBlockControlBar.d.ts.map +0 -1
- package/dist/core/components/lexical/InlineContentEditable.d.ts +0 -7
- package/dist/core/components/lexical/InlineContentEditable.d.ts.map +0 -1
- package/dist/core/components/lexical/InlineLexicalEditor.d.ts +0 -10
- package/dist/core/components/lexical/InlineLexicalEditor.d.ts.map +0 -1
- package/dist/core/components/lexical/InlineParagraphNode.d.ts +0 -10
- package/dist/core/components/lexical/InlineParagraphNode.d.ts.map +0 -1
- package/dist/core/components/lexical/SelectionBroadcaster.d.ts +0 -6
- package/dist/core/components/lexical/SelectionBroadcaster.d.ts.map +0 -1
- package/dist/core/components/lexical/SidebarLexicalEditor.d.ts +0 -9
- package/dist/core/components/lexical/SidebarLexicalEditor.d.ts.map +0 -1
- package/dist/core/components/lexical/editorConfig.d.ts +0 -4
- package/dist/core/components/lexical/editorConfig.d.ts.map +0 -1
- package/dist/core/createApp.d.ts.map +0 -1
- package/dist/core/createBlock.d.ts.map +0 -1
- package/dist/core/createLayout.d.ts.map +0 -1
- package/dist/core/hooks/useFieldSelection.d.ts +0 -8
- package/dist/core/hooks/useFieldSelection.d.ts.map +0 -1
- package/dist/core/hooks/useIsEditable.d.ts +0 -2
- package/dist/core/hooks/useIsEditable.d.ts.map +0 -1
- package/dist/core/hooks/useOverlayMessage.d.ts +0 -10
- package/dist/core/hooks/useOverlayMessage.d.ts.map +0 -1
- package/dist/core/lib/contentType.d.ts.map +0 -1
- package/dist/core/lib/fieldTypes.d.ts +0 -92
- package/dist/core/lib/fieldTypes.d.ts.map +0 -1
- package/dist/core/lib/lexicalReact.d.ts +0 -7
- package/dist/core/lib/lexicalReact.d.ts.map +0 -1
- package/dist/core/lib/lexicalState.d.ts +0 -10
- package/dist/core/lib/lexicalState.d.ts.map +0 -1
- package/dist/core/lib/modifierFormats.d.ts +0 -9
- package/dist/core/lib/modifierFormats.d.ts.map +0 -1
- package/dist/core/lib/modifiers.d.ts +0 -12
- package/dist/core/lib/modifiers.d.ts.map +0 -1
- package/dist/features/content/CamoxContent.d.ts.map +0 -1
- package/dist/features/content/components/AssetCard.d.ts +0 -10
- package/dist/features/content/components/AssetCard.d.ts.map +0 -1
- package/dist/features/content/components/AssetCardSkeleton.d.ts +0 -2
- package/dist/features/content/components/AssetCardSkeleton.d.ts.map +0 -1
- package/dist/features/content/components/ContentSidebar.d.ts +0 -2
- package/dist/features/content/components/ContentSidebar.d.ts.map +0 -1
- package/dist/features/content/components/UploadDropZone.d.ts +0 -9
- package/dist/features/content/components/UploadDropZone.d.ts.map +0 -1
- package/dist/features/content/components/UploadProgressDrawer.d.ts +0 -11
- package/dist/features/content/components/UploadProgressDrawer.d.ts.map +0 -1
- package/dist/features/metadata/sitemap.d.ts.map +0 -1
- package/dist/features/preview/CamoxPreview.d.ts.map +0 -1
- package/dist/features/preview/components/AddBlockSheet.d.ts +0 -3
- package/dist/features/preview/components/AddBlockSheet.d.ts.map +0 -1
- package/dist/features/preview/components/AgentChatSheet.d.ts +0 -3
- package/dist/features/preview/components/AgentChatSheet.d.ts.map +0 -1
- package/dist/features/preview/components/AssetFieldEditor.d.ts +0 -18
- package/dist/features/preview/components/AssetFieldEditor.d.ts.map +0 -1
- package/dist/features/preview/components/AssetLightbox.d.ts +0 -8
- package/dist/features/preview/components/AssetLightbox.d.ts.map +0 -1
- package/dist/features/preview/components/AssetPickerGrid.d.ts +0 -11
- package/dist/features/preview/components/AssetPickerGrid.d.ts.map +0 -1
- package/dist/features/preview/components/BlockActionsPopover.d.ts +0 -15
- package/dist/features/preview/components/BlockActionsPopover.d.ts.map +0 -1
- package/dist/features/preview/components/CreatePageSheet.d.ts +0 -3
- package/dist/features/preview/components/CreatePageSheet.d.ts.map +0 -1
- package/dist/features/preview/components/DebouncedFieldEditor.d.ts +0 -10
- package/dist/features/preview/components/DebouncedFieldEditor.d.ts.map +0 -1
- package/dist/features/preview/components/EditPageSheet.d.ts +0 -3
- package/dist/features/preview/components/EditPageSheet.d.ts.map +0 -1
- package/dist/features/preview/components/FieldOverlayStyles.d.ts +0 -2
- package/dist/features/preview/components/FieldOverlayStyles.d.ts.map +0 -1
- package/dist/features/preview/components/Frame.d.ts +0 -20
- package/dist/features/preview/components/Frame.d.ts.map +0 -1
- package/dist/features/preview/components/ItemFieldsEditor.d.ts +0 -28
- package/dist/features/preview/components/ItemFieldsEditor.d.ts.map +0 -1
- package/dist/features/preview/components/LinkFieldEditor.d.ts +0 -8
- package/dist/features/preview/components/LinkFieldEditor.d.ts.map +0 -1
- package/dist/features/preview/components/MultipleAssetFieldEditor.d.ts +0 -9
- package/dist/features/preview/components/MultipleAssetFieldEditor.d.ts.map +0 -1
- package/dist/features/preview/components/OverlayTracker.d.ts +0 -6
- package/dist/features/preview/components/OverlayTracker.d.ts.map +0 -1
- package/dist/features/preview/components/Overlays.d.ts +0 -6
- package/dist/features/preview/components/Overlays.d.ts.map +0 -1
- package/dist/features/preview/components/PageContentSheet.d.ts +0 -3
- package/dist/features/preview/components/PageContentSheet.d.ts.map +0 -1
- package/dist/features/preview/components/PageLocationFieldset.d.ts +0 -14
- package/dist/features/preview/components/PageLocationFieldset.d.ts.map +0 -1
- package/dist/features/preview/components/PagePicker.d.ts +0 -3
- package/dist/features/preview/components/PagePicker.d.ts.map +0 -1
- package/dist/features/preview/components/PageTree.d.ts +0 -3
- package/dist/features/preview/components/PageTree.d.ts.map +0 -1
- package/dist/features/preview/components/PeekedBlock.d.ts +0 -6
- package/dist/features/preview/components/PeekedBlock.d.ts.map +0 -1
- package/dist/features/preview/components/PreviewPanel.d.ts +0 -12
- package/dist/features/preview/components/PreviewPanel.d.ts.map +0 -1
- package/dist/features/preview/components/PreviewSideSheet.d.ts +0 -13
- package/dist/features/preview/components/PreviewSideSheet.d.ts.map +0 -1
- package/dist/features/preview/components/PreviewToolbar.d.ts +0 -2
- package/dist/features/preview/components/PreviewToolbar.d.ts.map +0 -1
- package/dist/features/preview/components/RepeatableItemsList.d.ts +0 -17
- package/dist/features/preview/components/RepeatableItemsList.d.ts.map +0 -1
- package/dist/features/preview/components/ShikiMarkdown.d.ts +0 -4
- package/dist/features/preview/components/ShikiMarkdown.d.ts.map +0 -1
- package/dist/features/preview/components/TextFormatToolbar.d.ts +0 -2
- package/dist/features/preview/components/TextFormatToolbar.d.ts.map +0 -1
- package/dist/features/preview/components/UnlinkAssetButton.d.ts +0 -8
- package/dist/features/preview/components/UnlinkAssetButton.d.ts.map +0 -1
- package/dist/features/preview/components/useUpdateBlockPosition.d.ts +0 -67
- package/dist/features/preview/components/useUpdateBlockPosition.d.ts.map +0 -1
- package/dist/features/preview/overlayMessages.d.ts +0 -62
- package/dist/features/preview/overlayMessages.d.ts.map +0 -1
- package/dist/features/preview/previewConstants.d.ts +0 -2
- package/dist/features/preview/previewConstants.d.ts.map +0 -1
- package/dist/features/preview/previewStore.d.ts +0 -123
- package/dist/features/preview/previewStore.d.ts.map +0 -1
- package/dist/features/preview/studio-overlays.css?inline.js +0 -4
- package/dist/features/provider/CamoxProvider.d.ts.map +0 -1
- package/dist/features/provider/actionsStore.d.ts +0 -35
- package/dist/features/provider/actionsStore.d.ts.map +0 -1
- package/dist/features/provider/components/CamoxAppContext.d.ts +0 -771
- package/dist/features/provider/components/CamoxAppContext.d.ts.map +0 -1
- package/dist/features/provider/components/CommandPalette.d.ts +0 -3
- package/dist/features/provider/components/CommandPalette.d.ts.map +0 -1
- package/dist/features/provider/useAdminShortcuts.d.ts +0 -5
- package/dist/features/provider/useAdminShortcuts.d.ts.map +0 -1
- package/dist/features/routes/ogRoute.d.ts.map +0 -1
- package/dist/features/routes/pageRoute.d.ts.map +0 -1
- package/dist/features/studio/CamoxStudio.d.ts.map +0 -1
- package/dist/features/studio/components/EnvironmentMenu.d.ts +0 -2
- package/dist/features/studio/components/EnvironmentMenu.d.ts.map +0 -1
- package/dist/features/studio/components/Navbar.d.ts +0 -4
- package/dist/features/studio/components/Navbar.d.ts.map +0 -1
- package/dist/features/studio/components/ProjectMenu.d.ts +0 -2
- package/dist/features/studio/components/ProjectMenu.d.ts.map +0 -1
- package/dist/features/studio/components/UserButton.d.ts +0 -2
- package/dist/features/studio/components/UserButton.d.ts.map +0 -1
- package/dist/features/studio/studioStore.d.ts +0 -17
- package/dist/features/studio/studioStore.d.ts.map +0 -1
- package/dist/features/studio/useTheme.d.ts +0 -9
- package/dist/features/studio/useTheme.d.ts.map +0 -1
- package/dist/features/vite/appGeneration.d.ts +0 -4
- package/dist/features/vite/appGeneration.d.ts.map +0 -1
- package/dist/features/vite/blockBoilerplate.d.ts +0 -3
- package/dist/features/vite/blockBoilerplate.d.ts.map +0 -1
- package/dist/features/vite/definitionsSync.d.ts +0 -19
- package/dist/features/vite/definitionsSync.d.ts.map +0 -1
- package/dist/features/vite/routeGeneration.d.ts +0 -14
- package/dist/features/vite/routeGeneration.d.ts.map +0 -1
- package/dist/features/vite/skillGeneration.d.ts +0 -4
- package/dist/features/vite/skillGeneration.d.ts.map +0 -1
- package/dist/features/vite/utils.d.ts +0 -2
- package/dist/features/vite/utils.d.ts.map +0 -1
- package/dist/features/vite/vite.d.ts.map +0 -1
- package/dist/hooks/use-file-upload.d.ts +0 -23
- package/dist/hooks/use-file-upload.d.ts.map +0 -1
- package/dist/hooks/use-marquee-selection.d.ts +0 -17
- package/dist/hooks/use-marquee-selection.d.ts.map +0 -1
- package/dist/lib/analytics-client.d.ts +0 -3
- package/dist/lib/analytics-client.d.ts.map +0 -1
- package/dist/lib/analytics.d.ts +0 -3
- package/dist/lib/analytics.d.ts.map +0 -1
- package/dist/lib/api-client-server.d.ts +0 -5
- package/dist/lib/api-client-server.d.ts.map +0 -1
- package/dist/lib/api-client.d.ts.map +0 -1
- package/dist/lib/normalized-data.d.ts +0 -96
- package/dist/lib/normalized-data.d.ts.map +0 -1
- package/dist/lib/queries.d.ts.map +0 -1
- package/dist/lib/use-project-room.d.ts +0 -2
- package/dist/lib/use-project-room.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -40
- package/dist/lib/utils.d.ts.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useAuthState } from "../lib/auth.js";
|
|
2
|
+
|
|
2
3
|
//#region src/components/AuthGate.tsx
|
|
3
4
|
function AuthGate(t0) {
|
|
4
5
|
const { authenticated, unauthenticated } = t0;
|
|
@@ -6,5 +7,6 @@ function AuthGate(t0) {
|
|
|
6
7
|
if (isLoading) return unauthenticated;
|
|
7
8
|
return isAuthenticated ? authenticated : unauthenticated;
|
|
8
9
|
}
|
|
10
|
+
|
|
9
11
|
//#endregion
|
|
10
|
-
export { AuthGate };
|
|
12
|
+
export { AuthGate };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { c } from "react/compiler-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
|
|
4
5
|
//#region src/core/components/AddBlockControlBar.tsx
|
|
5
|
-
|
|
6
|
+
const AddBlockControlBar = (t0) => {
|
|
6
7
|
const $ = c(14);
|
|
7
8
|
const { position, hidden, onClick, onMouseLeave } = t0;
|
|
8
9
|
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
@@ -68,5 +69,6 @@ var AddBlockControlBar = (t0) => {
|
|
|
68
69
|
} else t8 = $[13];
|
|
69
70
|
return t8;
|
|
70
71
|
};
|
|
72
|
+
|
|
71
73
|
//#endregion
|
|
72
|
-
export { AddBlockControlBar };
|
|
74
|
+
export { AddBlockControlBar };
|
|
@@ -2,12 +2,13 @@ import { c } from "react/compiler-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
5
|
+
|
|
5
6
|
//#region src/core/components/lexical/InlineContentEditable.tsx
|
|
6
7
|
/**
|
|
7
8
|
* A ContentEditable that renders a <span> instead of <div>,
|
|
8
9
|
* so it can be nested inside phrasing elements like <h1>, <p>, etc.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
+
const InlineContentEditable = React.forwardRef(function InlineContentEditable(props, ref) {
|
|
11
12
|
const $ = c(8);
|
|
12
13
|
const [editor] = useLexicalComposerContext();
|
|
13
14
|
let t0;
|
|
@@ -47,5 +48,6 @@ var InlineContentEditable = React.forwardRef(function InlineContentEditable(prop
|
|
|
47
48
|
} else t2 = $[7];
|
|
48
49
|
return t2;
|
|
49
50
|
});
|
|
51
|
+
|
|
50
52
|
//#endregion
|
|
51
|
-
export { InlineContentEditable };
|
|
53
|
+
export { InlineContentEditable };
|
|
@@ -11,6 +11,7 @@ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext
|
|
|
11
11
|
import { OnChangePlugin } from "@lexical/react/LexicalOnChangePlugin";
|
|
12
12
|
import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
|
|
13
13
|
import { COMMAND_PRIORITY_LOW, KEY_ESCAPE_COMMAND } from "lexical";
|
|
14
|
+
|
|
14
15
|
//#region src/core/components/lexical/InlineLexicalEditor.tsx
|
|
15
16
|
function ExternalStateSync(t0) {
|
|
16
17
|
const $ = c(7);
|
|
@@ -175,5 +176,6 @@ function LexicalErrorBoundary(t0) {
|
|
|
175
176
|
} else t1 = $[1];
|
|
176
177
|
return t1;
|
|
177
178
|
}
|
|
179
|
+
|
|
178
180
|
//#endregion
|
|
179
|
-
export { InlineLexicalEditor };
|
|
181
|
+
export { InlineLexicalEditor };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ParagraphNode } from "lexical";
|
|
2
|
+
|
|
2
3
|
//#region src/core/components/lexical/InlineParagraphNode.ts
|
|
3
4
|
var InlineParagraphNode = class InlineParagraphNode extends ParagraphNode {
|
|
4
5
|
static getType() {
|
|
@@ -30,5 +31,6 @@ var InlineParagraphNode = class InlineParagraphNode extends ParagraphNode {
|
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
};
|
|
34
|
+
|
|
33
35
|
//#endregion
|
|
34
|
-
export { InlineParagraphNode };
|
|
36
|
+
export { InlineParagraphNode };
|
|
@@ -4,6 +4,7 @@ import { c } from "react/compiler-runtime";
|
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
6
6
|
import { $getSelection, $isRangeSelection, FORMAT_TEXT_COMMAND } from "lexical";
|
|
7
|
+
|
|
7
8
|
//#region src/core/components/lexical/SelectionBroadcaster.tsx
|
|
8
9
|
function SelectionBroadcaster(t0) {
|
|
9
10
|
const $ = c(12);
|
|
@@ -95,5 +96,6 @@ function SelectionBroadcaster(t0) {
|
|
|
95
96
|
React.useEffect(t4, t5);
|
|
96
97
|
return null;
|
|
97
98
|
}
|
|
99
|
+
|
|
98
100
|
//#endregion
|
|
99
|
-
export { SelectionBroadcaster };
|
|
101
|
+
export { SelectionBroadcaster };
|
|
@@ -9,6 +9,7 @@ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext
|
|
|
9
9
|
import { OnChangePlugin } from "@lexical/react/LexicalOnChangePlugin";
|
|
10
10
|
import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
|
|
11
11
|
import { ContentEditable } from "@lexical/react/LexicalContentEditable";
|
|
12
|
+
|
|
12
13
|
//#region src/core/components/lexical/SidebarLexicalEditor.tsx
|
|
13
14
|
function ExternalStateSync(t0) {
|
|
14
15
|
const $ = c(8);
|
|
@@ -122,5 +123,6 @@ function LexicalErrorBoundary(t0) {
|
|
|
122
123
|
} else t1 = $[1];
|
|
123
124
|
return t1;
|
|
124
125
|
}
|
|
126
|
+
|
|
125
127
|
//#endregion
|
|
126
|
-
export { SidebarLexicalEditor };
|
|
128
|
+
export { SidebarLexicalEditor };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { isLexicalState, markdownToLexicalState } from "../../lib/lexicalState.js";
|
|
2
2
|
import { InlineParagraphNode } from "./InlineParagraphNode.js";
|
|
3
3
|
import { ParagraphNode } from "lexical";
|
|
4
|
+
|
|
4
5
|
//#region src/core/components/lexical/editorConfig.ts
|
|
5
6
|
function normalizeLexicalState(value) {
|
|
6
7
|
if (typeof value === "object") {
|
|
@@ -24,5 +25,6 @@ function createEditorConfig(initialState) {
|
|
|
24
25
|
}]
|
|
25
26
|
};
|
|
26
27
|
}
|
|
28
|
+
|
|
27
29
|
//#endregion
|
|
28
|
-
export { createEditorConfig, normalizeLexicalState };
|
|
30
|
+
export { createEditorConfig, normalizeLexicalState };
|