@alpaca-editor/core 1.0.0 → 1.0.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/build.css +3 -0
- package/components.json +21 -0
- package/dev.css +3 -0
- package/dist/client-components/api.d.ts +1 -0
- package/dist/client-components/api.js +4 -0
- package/dist/client-components/api.js.map +1 -0
- package/dist/client-components/index.d.ts +16 -0
- package/dist/client-components/index.js +17 -0
- package/dist/client-components/index.js.map +1 -0
- package/dist/components/ActionButton.d.ts +12 -0
- package/dist/components/ActionButton.js +6 -0
- package/dist/components/ActionButton.js.map +1 -0
- package/dist/components/Error.d.ts +9 -0
- package/dist/components/Error.js +24 -0
- package/dist/components/Error.js.map +1 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/button.js +32 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/config/config.d.ts +6 -0
- package/dist/config/config.js +647 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/types.d.ts +223 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/editor/ComponentInfo.d.ts +4 -0
- package/dist/editor/ComponentInfo.js +29 -0
- package/dist/editor/ComponentInfo.js.map +1 -0
- package/dist/editor/ConfirmationDialog.d.ts +19 -0
- package/dist/editor/ConfirmationDialog.js +31 -0
- package/dist/editor/ConfirmationDialog.js.map +1 -0
- package/dist/editor/ContentTree.d.ts +35 -0
- package/dist/editor/ContentTree.js +404 -0
- package/dist/editor/ContentTree.js.map +1 -0
- package/dist/editor/ContextMenu.d.ts +13 -0
- package/dist/editor/ContextMenu.js +114 -0
- package/dist/editor/ContextMenu.js.map +1 -0
- package/dist/editor/Editor.d.ts +11 -0
- package/dist/editor/Editor.js +50 -0
- package/dist/editor/Editor.js.map +1 -0
- package/dist/editor/EditorWarning.d.ts +5 -0
- package/dist/editor/EditorWarning.js +11 -0
- package/dist/editor/EditorWarning.js.map +1 -0
- package/dist/editor/EditorWarnings.d.ts +9 -0
- package/dist/editor/EditorWarnings.js +19 -0
- package/dist/editor/EditorWarnings.js.map +1 -0
- package/dist/editor/FieldEditorPopup.d.ts +10 -0
- package/dist/editor/FieldEditorPopup.js +22 -0
- package/dist/editor/FieldEditorPopup.js.map +1 -0
- package/dist/editor/FieldHistory.d.ts +6 -0
- package/dist/editor/FieldHistory.js +38 -0
- package/dist/editor/FieldHistory.js.map +1 -0
- package/dist/editor/FieldList.d.ts +16 -0
- package/dist/editor/FieldList.js +58 -0
- package/dist/editor/FieldList.js.map +1 -0
- package/dist/editor/FieldListField.d.ts +14 -0
- package/dist/editor/FieldListField.js +161 -0
- package/dist/editor/FieldListField.js.map +1 -0
- package/dist/editor/FieldListFieldWithFallbacks.d.ts +10 -0
- package/dist/editor/FieldListFieldWithFallbacks.js +109 -0
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -0
- package/dist/editor/FloatingToolbar.d.ts +7 -0
- package/dist/editor/FloatingToolbar.js +90 -0
- package/dist/editor/FloatingToolbar.js.map +1 -0
- package/dist/editor/ImageEditor.d.ts +5 -0
- package/dist/editor/ImageEditor.js +53 -0
- package/dist/editor/ImageEditor.js.map +1 -0
- package/dist/editor/InsertMenu.d.ts +8 -0
- package/dist/editor/InsertMenu.js +158 -0
- package/dist/editor/InsertMenu.js.map +1 -0
- package/dist/editor/ItemInfo.d.ts +4 -0
- package/dist/editor/ItemInfo.js +28 -0
- package/dist/editor/ItemInfo.js.map +1 -0
- package/dist/editor/LinkEditorDialog.d.ts +15 -0
- package/dist/editor/LinkEditorDialog.js +84 -0
- package/dist/editor/LinkEditorDialog.js.map +1 -0
- package/dist/editor/MainLayout.d.ts +9 -0
- package/dist/editor/MainLayout.js +41 -0
- package/dist/editor/MainLayout.js.map +1 -0
- package/dist/editor/NewEditorClient.d.ts +5 -0
- package/dist/editor/NewEditorClient.js +7 -0
- package/dist/editor/NewEditorClient.js.map +1 -0
- package/dist/editor/PictureCropper.d.ts +6 -0
- package/dist/editor/PictureCropper.js +327 -0
- package/dist/editor/PictureCropper.js.map +1 -0
- package/dist/editor/PictureEditor.d.ts +8 -0
- package/dist/editor/PictureEditor.js +102 -0
- package/dist/editor/PictureEditor.js.map +1 -0
- package/dist/editor/PictureEditorDialog.d.ts +8 -0
- package/dist/editor/PictureEditorDialog.js +189 -0
- package/dist/editor/PictureEditorDialog.js.map +1 -0
- package/dist/editor/ScrollingContentTree.d.ts +6 -0
- package/dist/editor/ScrollingContentTree.js +25 -0
- package/dist/editor/ScrollingContentTree.js.map +1 -0
- package/dist/editor/Terminal.d.ts +14 -0
- package/dist/editor/Terminal.js +107 -0
- package/dist/editor/Terminal.js.map +1 -0
- package/dist/editor/Titlebar.d.ts +1 -0
- package/dist/editor/Titlebar.js +9 -0
- package/dist/editor/Titlebar.js.map +1 -0
- package/dist/editor/ai/AiPopup.d.ts +10 -0
- package/dist/editor/ai/AiPopup.js +23 -0
- package/dist/editor/ai/AiPopup.js.map +1 -0
- package/dist/editor/ai/AiResponseMessage.d.ts +8 -0
- package/dist/editor/ai/AiResponseMessage.js +22 -0
- package/dist/editor/ai/AiResponseMessage.js.map +1 -0
- package/dist/editor/ai/AiTerminal.d.ts +34 -0
- package/dist/editor/ai/AiTerminal.js +236 -0
- package/dist/editor/ai/AiTerminal.js.map +1 -0
- package/dist/editor/ai/AiToolCall.d.ts +9 -0
- package/dist/editor/ai/AiToolCall.js +16 -0
- package/dist/editor/ai/AiToolCall.js.map +1 -0
- package/dist/editor/ai/EditorAiTerminal.d.ts +5 -0
- package/dist/editor/ai/EditorAiTerminal.js +7 -0
- package/dist/editor/ai/EditorAiTerminal.js.map +1 -0
- package/dist/editor/ai/editorAiContext.d.ts +11 -0
- package/dist/editor/ai/editorAiContext.js +12 -0
- package/dist/editor/ai/editorAiContext.js.map +1 -0
- package/dist/editor/client/DialogContext.d.ts +12 -0
- package/dist/editor/client/DialogContext.js +25 -0
- package/dist/editor/client/DialogContext.js.map +1 -0
- package/dist/editor/client/EditorClient.d.ts +26 -0
- package/dist/editor/client/EditorClient.js +1298 -0
- package/dist/editor/client/EditorClient.js.map +1 -0
- package/dist/editor/client/GenericDialog.d.ts +10 -0
- package/dist/editor/client/GenericDialog.js +25 -0
- package/dist/editor/client/GenericDialog.js.map +1 -0
- package/dist/editor/client/editContext.d.ts +199 -0
- package/dist/editor/client/editContext.js +20 -0
- package/dist/editor/client/editContext.js.map +1 -0
- package/dist/editor/client/helpers.d.ts +12 -0
- package/dist/editor/client/helpers.js +29 -0
- package/dist/editor/client/helpers.js.map +1 -0
- package/dist/editor/client/itemsRepository.d.ts +24 -0
- package/dist/editor/client/itemsRepository.js +253 -0
- package/dist/editor/client/itemsRepository.js.map +1 -0
- package/dist/editor/client/operations.d.ts +57 -0
- package/dist/editor/client/operations.js +393 -0
- package/dist/editor/client/operations.js.map +1 -0
- package/dist/editor/client/pageModelBuilder.d.ts +6 -0
- package/dist/editor/client/pageModelBuilder.js +127 -0
- package/dist/editor/client/pageModelBuilder.js.map +1 -0
- package/dist/editor/commands/commands.d.ts +19 -0
- package/dist/editor/commands/commands.js +2 -0
- package/dist/editor/commands/commands.js.map +1 -0
- package/dist/editor/commands/componentCommands.d.ts +13 -0
- package/dist/editor/commands/componentCommands.js +271 -0
- package/dist/editor/commands/componentCommands.js.map +1 -0
- package/dist/editor/commands/createVersionCommand.d.ts +4 -0
- package/dist/editor/commands/createVersionCommand.js +24 -0
- package/dist/editor/commands/createVersionCommand.js.map +1 -0
- package/dist/editor/commands/deleteVersionCommand.d.ts +4 -0
- package/dist/editor/commands/deleteVersionCommand.js +53 -0
- package/dist/editor/commands/deleteVersionCommand.js.map +1 -0
- package/dist/editor/commands/itemCommands.d.ts +17 -0
- package/dist/editor/commands/itemCommands.js +132 -0
- package/dist/editor/commands/itemCommands.js.map +1 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +8 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +89 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +1 -0
- package/dist/editor/commands/undo.d.ts +15 -0
- package/dist/editor/commands/undo.js +29 -0
- package/dist/editor/commands/undo.js.map +1 -0
- package/dist/editor/component-designer/ComponentDesigner.d.ts +1 -0
- package/dist/editor/component-designer/ComponentDesigner.js +56 -0
- package/dist/editor/component-designer/ComponentDesigner.js.map +1 -0
- package/dist/editor/component-designer/ComponentDesignerAiTerminal.d.ts +1 -0
- package/dist/editor/component-designer/ComponentDesignerAiTerminal.js +7 -0
- package/dist/editor/component-designer/ComponentDesignerAiTerminal.js.map +1 -0
- package/dist/editor/component-designer/ComponentDesignerMenu.d.ts +1 -0
- package/dist/editor/component-designer/ComponentDesignerMenu.js +65 -0
- package/dist/editor/component-designer/ComponentDesignerMenu.js.map +1 -0
- package/dist/editor/component-designer/ComponentEditor.d.ts +4 -0
- package/dist/editor/component-designer/ComponentEditor.js +57 -0
- package/dist/editor/component-designer/ComponentEditor.js.map +1 -0
- package/dist/editor/component-designer/ComponentRenderingCodeEditor.d.ts +5 -0
- package/dist/editor/component-designer/ComponentRenderingCodeEditor.js +11 -0
- package/dist/editor/component-designer/ComponentRenderingCodeEditor.js.map +1 -0
- package/dist/editor/component-designer/ComponentRenderingEditor.d.ts +1 -0
- package/dist/editor/component-designer/ComponentRenderingEditor.js +69 -0
- package/dist/editor/component-designer/ComponentRenderingEditor.js.map +1 -0
- package/dist/editor/component-designer/ComponentsDropdown.d.ts +4 -0
- package/dist/editor/component-designer/ComponentsDropdown.js +20 -0
- package/dist/editor/component-designer/ComponentsDropdown.js.map +1 -0
- package/dist/editor/component-designer/PlaceholdersEditor.d.ts +4 -0
- package/dist/editor/component-designer/PlaceholdersEditor.js +68 -0
- package/dist/editor/component-designer/PlaceholdersEditor.js.map +1 -0
- package/dist/editor/component-designer/RenderingsDropdown.d.ts +1 -0
- package/dist/editor/component-designer/RenderingsDropdown.js +23 -0
- package/dist/editor/component-designer/RenderingsDropdown.js.map +1 -0
- package/dist/editor/component-designer/TemplateEditor.d.ts +1 -0
- package/dist/editor/component-designer/TemplateEditor.js +142 -0
- package/dist/editor/component-designer/TemplateEditor.js.map +1 -0
- package/dist/editor/component-designer/aiContext.d.ts +5 -0
- package/dist/editor/component-designer/aiContext.js +16 -0
- package/dist/editor/component-designer/aiContext.js.map +1 -0
- package/dist/editor/componentTreeHelper.d.ts +16 -0
- package/dist/editor/componentTreeHelper.js +87 -0
- package/dist/editor/componentTreeHelper.js.map +1 -0
- package/dist/editor/control-center/ControlCenterMenu.d.ts +1 -0
- package/dist/editor/control-center/ControlCenterMenu.js +57 -0
- package/dist/editor/control-center/ControlCenterMenu.js.map +1 -0
- package/dist/editor/control-center/IndexOverview.d.ts +1 -0
- package/dist/editor/control-center/IndexOverview.js +25 -0
- package/dist/editor/control-center/IndexOverview.js.map +1 -0
- package/dist/editor/control-center/IndexSettings.d.ts +5 -0
- package/dist/editor/control-center/IndexSettings.js +104 -0
- package/dist/editor/control-center/IndexSettings.js.map +1 -0
- package/dist/editor/control-center/Status.d.ts +1 -0
- package/dist/editor/control-center/Status.js +5 -0
- package/dist/editor/control-center/Status.js.map +1 -0
- package/dist/editor/editor-warnings/ItemLocked.d.ts +2 -0
- package/dist/editor/editor-warnings/ItemLocked.js +38 -0
- package/dist/editor/editor-warnings/ItemLocked.js.map +1 -0
- package/dist/editor/editor-warnings/NoLanguageWriteAccess.d.ts +2 -0
- package/dist/editor/editor-warnings/NoLanguageWriteAccess.js +14 -0
- package/dist/editor/editor-warnings/NoLanguageWriteAccess.js.map +1 -0
- package/dist/editor/editor-warnings/NoWorkflowWriteAccess.d.ts +2 -0
- package/dist/editor/editor-warnings/NoWorkflowWriteAccess.js +14 -0
- package/dist/editor/editor-warnings/NoWorkflowWriteAccess.js.map +1 -0
- package/dist/editor/editor-warnings/NoWriteAccess.d.ts +2 -0
- package/dist/editor/editor-warnings/NoWriteAccess.js +12 -0
- package/dist/editor/editor-warnings/NoWriteAccess.js.map +1 -0
- package/dist/editor/editor-warnings/ValidationErrors.d.ts +2 -0
- package/dist/editor/editor-warnings/ValidationErrors.js +25 -0
- package/dist/editor/editor-warnings/ValidationErrors.js.map +1 -0
- package/dist/editor/field-types/AttachmentEditor.d.ts +4 -0
- package/dist/editor/field-types/AttachmentEditor.js +5 -0
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -0
- package/dist/editor/field-types/CheckboxEditor.d.ts +5 -0
- package/dist/editor/field-types/CheckboxEditor.js +30 -0
- package/dist/editor/field-types/CheckboxEditor.js.map +1 -0
- package/dist/editor/field-types/DropLinkEditor.d.ts +5 -0
- package/dist/editor/field-types/DropLinkEditor.js +49 -0
- package/dist/editor/field-types/DropLinkEditor.js.map +1 -0
- package/dist/editor/field-types/DropListEditor.d.ts +5 -0
- package/dist/editor/field-types/DropListEditor.js +56 -0
- package/dist/editor/field-types/DropListEditor.js.map +1 -0
- package/dist/editor/field-types/ImageFieldEditor.d.ts +5 -0
- package/dist/editor/field-types/ImageFieldEditor.js +34 -0
- package/dist/editor/field-types/ImageFieldEditor.js.map +1 -0
- package/dist/editor/field-types/InternalLinkFieldEditor.d.ts +5 -0
- package/dist/editor/field-types/InternalLinkFieldEditor.js +59 -0
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -0
- package/dist/editor/field-types/LinkFieldEditor.d.ts +5 -0
- package/dist/editor/field-types/LinkFieldEditor.js +56 -0
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -0
- package/dist/editor/field-types/MultiLineText.d.ts +6 -0
- package/dist/editor/field-types/MultiLineText.js +33 -0
- package/dist/editor/field-types/MultiLineText.js.map +1 -0
- package/dist/editor/field-types/PictureFieldEditor.d.ts +5 -0
- package/dist/editor/field-types/PictureFieldEditor.js +57 -0
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -0
- package/dist/editor/field-types/RawEditor.d.ts +5 -0
- package/dist/editor/field-types/RawEditor.js +31 -0
- package/dist/editor/field-types/RawEditor.js.map +1 -0
- package/dist/editor/field-types/ReactQuill.d.ts +125 -0
- package/dist/editor/field-types/ReactQuill.js +385 -0
- package/dist/editor/field-types/ReactQuill.js.map +1 -0
- package/dist/editor/field-types/RichTextEditor.d.ts +5 -0
- package/dist/editor/field-types/RichTextEditor.js +8 -0
- package/dist/editor/field-types/RichTextEditor.js.map +1 -0
- package/dist/editor/field-types/RichTextEditorComponent.d.ts +6 -0
- package/dist/editor/field-types/RichTextEditorComponent.js +70 -0
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -0
- package/dist/editor/field-types/SingleLineText.d.ts +6 -0
- package/dist/editor/field-types/SingleLineText.js +90 -0
- package/dist/editor/field-types/SingleLineText.js.map +1 -0
- package/dist/editor/field-types/TreeListEditor.d.ts +5 -0
- package/dist/editor/field-types/TreeListEditor.js +132 -0
- package/dist/editor/field-types/TreeListEditor.js.map +1 -0
- package/dist/editor/fieldTypes.d.ts +117 -0
- package/dist/editor/fieldTypes.js +2 -0
- package/dist/editor/fieldTypes.js.map +1 -0
- package/dist/editor/media-selector/AiImageSearch.d.ts +4 -0
- package/dist/editor/media-selector/AiImageSearch.js +105 -0
- package/dist/editor/media-selector/AiImageSearch.js.map +1 -0
- package/dist/editor/media-selector/AiImageSearchPrompt.d.ts +3 -0
- package/dist/editor/media-selector/AiImageSearchPrompt.js +56 -0
- package/dist/editor/media-selector/AiImageSearchPrompt.js.map +1 -0
- package/dist/editor/media-selector/MediaSelector.d.ts +9 -0
- package/dist/editor/media-selector/MediaSelector.js +8 -0
- package/dist/editor/media-selector/MediaSelector.js.map +1 -0
- package/dist/editor/media-selector/Preview.d.ts +4 -0
- package/dist/editor/media-selector/Preview.js +7 -0
- package/dist/editor/media-selector/Preview.js.map +1 -0
- package/dist/editor/media-selector/Thumbnails.d.ts +13 -0
- package/dist/editor/media-selector/Thumbnails.js +9 -0
- package/dist/editor/media-selector/Thumbnails.js.map +1 -0
- package/dist/editor/media-selector/TreeSelector.d.ts +7 -0
- package/dist/editor/media-selector/TreeSelector.js +165 -0
- package/dist/editor/media-selector/TreeSelector.js.map +1 -0
- package/dist/editor/media-selector/UploadZone.d.ts +4 -0
- package/dist/editor/media-selector/UploadZone.js +78 -0
- package/dist/editor/media-selector/UploadZone.js.map +1 -0
- package/dist/editor/menubar/ActionsMenu.d.ts +1 -0
- package/dist/editor/menubar/ActionsMenu.js +31 -0
- package/dist/editor/menubar/ActionsMenu.js.map +1 -0
- package/dist/editor/menubar/ActiveUsers.d.ts +1 -0
- package/dist/editor/menubar/ActiveUsers.js +11 -0
- package/dist/editor/menubar/ActiveUsers.js.map +1 -0
- package/dist/editor/menubar/ApproveAndPublish.d.ts +1 -0
- package/dist/editor/menubar/ApproveAndPublish.js +11 -0
- package/dist/editor/menubar/ApproveAndPublish.js.map +1 -0
- package/dist/editor/menubar/BrowseHistory.d.ts +6 -0
- package/dist/editor/menubar/BrowseHistory.js +12 -0
- package/dist/editor/menubar/BrowseHistory.js.map +1 -0
- package/dist/editor/menubar/ItemLanguageVersion.d.ts +1 -0
- package/dist/editor/menubar/ItemLanguageVersion.js +34 -0
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -0
- package/dist/editor/menubar/LanguageSelector.d.ts +9 -0
- package/dist/editor/menubar/LanguageSelector.js +31 -0
- package/dist/editor/menubar/LanguageSelector.js.map +1 -0
- package/dist/editor/menubar/Menu.d.ts +1 -0
- package/dist/editor/menubar/Menu.js +63 -0
- package/dist/editor/menubar/Menu.js.map +1 -0
- package/dist/editor/menubar/NavButtons.d.ts +1 -0
- package/dist/editor/menubar/NavButtons.js +41 -0
- package/dist/editor/menubar/NavButtons.js.map +1 -0
- package/dist/editor/menubar/PageSelector.d.ts +4 -0
- package/dist/editor/menubar/PageSelector.js +48 -0
- package/dist/editor/menubar/PageSelector.js.map +1 -0
- package/dist/editor/menubar/PageViewerControls.d.ts +1 -0
- package/dist/editor/menubar/PageViewerControls.js +35 -0
- package/dist/editor/menubar/PageViewerControls.js.map +1 -0
- package/dist/editor/menubar/Separator.d.ts +3 -0
- package/dist/editor/menubar/Separator.js +6 -0
- package/dist/editor/menubar/Separator.js.map +1 -0
- package/dist/editor/menubar/SiteInfo.d.ts +1 -0
- package/dist/editor/menubar/SiteInfo.js +24 -0
- package/dist/editor/menubar/SiteInfo.js.map +1 -0
- package/dist/editor/menubar/User.d.ts +4 -0
- package/dist/editor/menubar/User.js +16 -0
- package/dist/editor/menubar/User.js.map +1 -0
- package/dist/editor/menubar/VersionSelector.d.ts +9 -0
- package/dist/editor/menubar/VersionSelector.js +47 -0
- package/dist/editor/menubar/VersionSelector.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +6 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +212 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +15 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicator.d.ts +4 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +25 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicators.d.ts +1 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicators.js +13 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicators.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +8 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +25 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +6 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js +13 -0
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -0
- package/dist/editor/page-editor-chrome/FrameMenu.d.ts +7 -0
- package/dist/editor/page-editor-chrome/FrameMenu.js +176 -0
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -0
- package/dist/editor/page-editor-chrome/FrameMenus.d.ts +5 -0
- package/dist/editor/page-editor-chrome/FrameMenus.js +22 -0
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -0
- package/dist/editor/page-editor-chrome/InlineEditor.d.ts +5 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js +99 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +33 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -0
- package/dist/editor/page-editor-chrome/NoLayout.d.ts +1 -0
- package/dist/editor/page-editor-chrome/NoLayout.js +19 -0
- package/dist/editor/page-editor-chrome/NoLayout.js.map +1 -0
- package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +6 -0
- package/dist/editor/page-editor-chrome/PageEditorChrome.js +63 -0
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -0
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +1 -0
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +107 -0
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +14 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +80 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +5 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +145 -0
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -0
- package/dist/editor/page-viewer/DeviceToolbar.d.ts +6 -0
- package/dist/editor/page-viewer/DeviceToolbar.js +19 -0
- package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -0
- package/dist/editor/page-viewer/EditorForm.d.ts +5 -0
- package/dist/editor/page-viewer/EditorForm.js +128 -0
- package/dist/editor/page-viewer/EditorForm.js.map +1 -0
- package/dist/editor/page-viewer/MiniMap.d.ts +9 -0
- package/dist/editor/page-viewer/MiniMap.js +222 -0
- package/dist/editor/page-viewer/MiniMap.js.map +1 -0
- package/dist/editor/page-viewer/PageViewer.d.ts +8 -0
- package/dist/editor/page-viewer/PageViewer.js +62 -0
- package/dist/editor/page-viewer/PageViewer.js.map +1 -0
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +11 -0
- package/dist/editor/page-viewer/PageViewerFrame.js +690 -0
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -0
- package/dist/editor/page-viewer/pageViewContext.d.ts +38 -0
- package/dist/editor/page-viewer/pageViewContext.js +115 -0
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -0
- package/dist/editor/pageModel.d.ts +171 -0
- package/dist/editor/pageModel.js +2 -0
- package/dist/editor/pageModel.js.map +1 -0
- package/dist/editor/picture-shared.d.ts +16 -0
- package/dist/editor/picture-shared.js +25 -0
- package/dist/editor/picture-shared.js.map +1 -0
- package/dist/editor/reviews/Comment.d.ts +4 -0
- package/dist/editor/reviews/Comment.js +114 -0
- package/dist/editor/reviews/Comment.js.map +1 -0
- package/dist/editor/reviews/Comments.d.ts +1 -0
- package/dist/editor/reviews/Comments.js +22 -0
- package/dist/editor/reviews/Comments.js.map +1 -0
- package/dist/editor/reviews/PreviewInfo.d.ts +1 -0
- package/dist/editor/reviews/PreviewInfo.js +11 -0
- package/dist/editor/reviews/PreviewInfo.js.map +1 -0
- package/dist/editor/reviews/Reviews.d.ts +1 -0
- package/dist/editor/reviews/Reviews.js +160 -0
- package/dist/editor/reviews/Reviews.js.map +1 -0
- package/dist/editor/reviews/reviewCommands.d.ts +3 -0
- package/dist/editor/reviews/reviewCommands.js +42 -0
- package/dist/editor/reviews/reviewCommands.js.map +1 -0
- package/dist/editor/reviews/useReviews.d.ts +12 -0
- package/dist/editor/reviews/useReviews.js +43 -0
- package/dist/editor/reviews/useReviews.js.map +1 -0
- package/dist/editor/services/aiService.d.ts +34 -0
- package/dist/editor/services/aiService.js +95 -0
- package/dist/editor/services/aiService.js.map +1 -0
- package/dist/editor/services/componentDesignerService.d.ts +46 -0
- package/dist/editor/services/componentDesignerService.js +72 -0
- package/dist/editor/services/componentDesignerService.js.map +1 -0
- package/dist/editor/services/contentService.d.ts +34 -0
- package/dist/editor/services/contentService.js +92 -0
- package/dist/editor/services/contentService.js.map +1 -0
- package/dist/editor/services/editService.d.ts +34 -0
- package/dist/editor/services/editService.js +294 -0
- package/dist/editor/services/editService.js.map +1 -0
- package/dist/editor/services/indexService.d.ts +6 -0
- package/dist/editor/services/indexService.js +19 -0
- package/dist/editor/services/indexService.js.map +1 -0
- package/dist/editor/services/reviewsService.d.ts +12 -0
- package/dist/editor/services/reviewsService.js +32 -0
- package/dist/editor/services/reviewsService.js.map +1 -0
- package/dist/editor/services/serviceHelper.d.ts +9 -0
- package/dist/editor/services/serviceHelper.js +64 -0
- package/dist/editor/services/serviceHelper.js.map +1 -0
- package/dist/editor/services/systemService.d.ts +2 -0
- package/dist/editor/services/systemService.js +5 -0
- package/dist/editor/services/systemService.js.map +1 -0
- package/dist/editor/services/translationService.d.ts +11 -0
- package/dist/editor/services/translationService.js +11 -0
- package/dist/editor/services/translationService.js.map +1 -0
- package/dist/editor/services-server/api.d.ts +19 -0
- package/dist/editor/services-server/api.js +111 -0
- package/dist/editor/services-server/api.js.map +1 -0
- package/dist/editor/services-server/graphQL.d.ts +29 -0
- package/dist/editor/services-server/graphQL.js +53 -0
- package/dist/editor/services-server/graphQL.js.map +1 -0
- package/dist/editor/sidebar/ComponentPalette.d.ts +1 -0
- package/dist/editor/sidebar/ComponentPalette.js +53 -0
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -0
- package/dist/editor/sidebar/ComponentTree.d.ts +1 -0
- package/dist/editor/sidebar/ComponentTree.js +360 -0
- package/dist/editor/sidebar/ComponentTree.js.map +1 -0
- package/dist/editor/sidebar/Debug.d.ts +1 -0
- package/dist/editor/sidebar/Debug.js +58 -0
- package/dist/editor/sidebar/Debug.js.map +1 -0
- package/dist/editor/sidebar/DictionaryEditor.d.ts +1 -0
- package/dist/editor/sidebar/DictionaryEditor.js +158 -0
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -0
- package/dist/editor/sidebar/EditHistory.d.ts +1 -0
- package/dist/editor/sidebar/EditHistory.js +72 -0
- package/dist/editor/sidebar/EditHistory.js.map +1 -0
- package/dist/editor/sidebar/GraphQL.d.ts +1 -0
- package/dist/editor/sidebar/GraphQL.js +113 -0
- package/dist/editor/sidebar/GraphQL.js.map +1 -0
- package/dist/editor/sidebar/Insert.d.ts +1 -0
- package/dist/editor/sidebar/Insert.js +22 -0
- package/dist/editor/sidebar/Insert.js.map +1 -0
- package/dist/editor/sidebar/MainContentTree.d.ts +4 -0
- package/dist/editor/sidebar/MainContentTree.js +49 -0
- package/dist/editor/sidebar/MainContentTree.js.map +1 -0
- package/dist/editor/sidebar/Performance.d.ts +1 -0
- package/dist/editor/sidebar/Performance.js +32 -0
- package/dist/editor/sidebar/Performance.js.map +1 -0
- package/dist/editor/sidebar/Sessions.d.ts +1 -0
- package/dist/editor/sidebar/Sessions.js +29 -0
- package/dist/editor/sidebar/Sessions.js.map +1 -0
- package/dist/editor/sidebar/Sidebar.d.ts +1 -0
- package/dist/editor/sidebar/Sidebar.js +13 -0
- package/dist/editor/sidebar/Sidebar.js.map +1 -0
- package/dist/editor/sidebar/SidebarView.d.ts +8 -0
- package/dist/editor/sidebar/SidebarView.js +74 -0
- package/dist/editor/sidebar/SidebarView.js.map +1 -0
- package/dist/editor/sidebar/Translations.d.ts +1 -0
- package/dist/editor/sidebar/Translations.js +158 -0
- package/dist/editor/sidebar/Translations.js.map +1 -0
- package/dist/editor/sidebar/Validation.d.ts +1 -0
- package/dist/editor/sidebar/Validation.js +50 -0
- package/dist/editor/sidebar/Validation.js.map +1 -0
- package/dist/editor/sidebar/ViewSelector.d.ts +1 -0
- package/dist/editor/sidebar/ViewSelector.js +13 -0
- package/dist/editor/sidebar/ViewSelector.js.map +1 -0
- package/dist/editor/sidebar/Workbox.d.ts +1 -0
- package/dist/editor/sidebar/Workbox.js +78 -0
- package/dist/editor/sidebar/Workbox.js.map +1 -0
- package/dist/editor/ui/CenteredMessage.d.ts +3 -0
- package/dist/editor/ui/CenteredMessage.js +5 -0
- package/dist/editor/ui/CenteredMessage.js.map +1 -0
- package/dist/editor/ui/CopyToClipboardButton.d.ts +3 -0
- package/dist/editor/ui/CopyToClipboardButton.js +15 -0
- package/dist/editor/ui/CopyToClipboardButton.js.map +1 -0
- package/dist/editor/ui/DialogButtons.d.ts +3 -0
- package/dist/editor/ui/DialogButtons.js +5 -0
- package/dist/editor/ui/DialogButtons.js.map +1 -0
- package/dist/editor/ui/Icons.d.ts +38 -0
- package/dist/editor/ui/Icons.js +56 -0
- package/dist/editor/ui/Icons.js.map +1 -0
- package/dist/editor/ui/ItemNameDialog.d.ts +11 -0
- package/dist/editor/ui/ItemNameDialog.js +40 -0
- package/dist/editor/ui/ItemNameDialog.js.map +1 -0
- package/dist/editor/ui/ItemNameDialogNew.d.ts +10 -0
- package/dist/editor/ui/ItemNameDialogNew.js +56 -0
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -0
- package/dist/editor/ui/ItemSearch.d.ts +23 -0
- package/dist/editor/ui/ItemSearch.js +90 -0
- package/dist/editor/ui/ItemSearch.js.map +1 -0
- package/dist/editor/ui/PerfectTree.d.ts +60 -0
- package/dist/editor/ui/PerfectTree.js +187 -0
- package/dist/editor/ui/PerfectTree.js.map +1 -0
- package/dist/editor/ui/Section.d.ts +4 -0
- package/dist/editor/ui/Section.js +10 -0
- package/dist/editor/ui/Section.js.map +1 -0
- package/dist/editor/ui/SimpleIconButton.d.ts +11 -0
- package/dist/editor/ui/SimpleIconButton.js +9 -0
- package/dist/editor/ui/SimpleIconButton.js.map +1 -0
- package/dist/editor/ui/SimpleMenu.d.ts +13 -0
- package/dist/editor/ui/SimpleMenu.js +7 -0
- package/dist/editor/ui/SimpleMenu.js.map +1 -0
- package/dist/editor/ui/SimpleTable.d.ts +14 -0
- package/dist/editor/ui/SimpleTable.js +9 -0
- package/dist/editor/ui/SimpleTable.js.map +1 -0
- package/dist/editor/ui/SimpleTabs.d.ts +12 -0
- package/dist/editor/ui/SimpleTabs.js +19 -0
- package/dist/editor/ui/SimpleTabs.js.map +1 -0
- package/dist/editor/ui/SimpleToolbar.d.ts +3 -0
- package/dist/editor/ui/SimpleToolbar.js +5 -0
- package/dist/editor/ui/SimpleToolbar.js.map +1 -0
- package/dist/editor/ui/Spinner.d.ts +3 -0
- package/dist/editor/ui/Spinner.js +5 -0
- package/dist/editor/ui/Spinner.js.map +1 -0
- package/dist/editor/ui/Splitter.d.ts +15 -0
- package/dist/editor/ui/Splitter.js +151 -0
- package/dist/editor/ui/Splitter.js.map +1 -0
- package/dist/editor/ui/StackedPanels.d.ts +5 -0
- package/dist/editor/ui/StackedPanels.js +67 -0
- package/dist/editor/ui/StackedPanels.js.map +1 -0
- package/dist/editor/ui/Toolbar.d.ts +3 -0
- package/dist/editor/ui/Toolbar.js +5 -0
- package/dist/editor/ui/Toolbar.js.map +1 -0
- package/dist/editor/utils/id-helper.d.ts +1 -0
- package/dist/editor/utils/id-helper.js +5 -0
- package/dist/editor/utils/id-helper.js.map +1 -0
- package/dist/editor/utils/insertOptions.d.ts +3 -0
- package/dist/editor/utils/insertOptions.js +43 -0
- package/dist/editor/utils/insertOptions.js.map +1 -0
- package/dist/editor/utils/itemutils.d.ts +3 -0
- package/dist/editor/utils/itemutils.js +22 -0
- package/dist/editor/utils/itemutils.js.map +1 -0
- package/dist/editor/utils/useMemoDebug.d.ts +1 -0
- package/dist/editor/utils/useMemoDebug.js +18 -0
- package/dist/editor/utils/useMemoDebug.js.map +1 -0
- package/dist/editor/utils.d.ts +44 -0
- package/dist/editor/utils.js +309 -0
- package/dist/editor/utils.js.map +1 -0
- package/dist/editor/views/CompareView.d.ts +1 -0
- package/dist/editor/views/CompareView.js +145 -0
- package/dist/editor/views/CompareView.js.map +1 -0
- package/dist/editor/views/EditView.d.ts +1 -0
- package/dist/editor/views/EditView.js +15 -0
- package/dist/editor/views/EditView.js.map +1 -0
- package/dist/editor/views/ItemEditor.d.ts +7 -0
- package/dist/editor/views/ItemEditor.js +22 -0
- package/dist/editor/views/ItemEditor.js.map +1 -0
- package/dist/editor/views/SingleEditView.d.ts +8 -0
- package/dist/editor/views/SingleEditView.js +23 -0
- package/dist/editor/views/SingleEditView.js.map +1 -0
- package/dist/images/bg-shape-black.webp +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +6 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/page-wizard/PageWizard.d.ts +70 -0
- package/dist/page-wizard/PageWizard.js +60 -0
- package/dist/page-wizard/PageWizard.js.map +1 -0
- package/dist/page-wizard/SelectWizard.d.ts +7 -0
- package/dist/page-wizard/SelectWizard.js +41 -0
- package/dist/page-wizard/SelectWizard.js.map +1 -0
- package/dist/page-wizard/WizardSteps.d.ts +8 -0
- package/dist/page-wizard/WizardSteps.js +69 -0
- package/dist/page-wizard/WizardSteps.js.map +1 -0
- package/dist/page-wizard/service.d.ts +15 -0
- package/dist/page-wizard/service.js +22 -0
- package/dist/page-wizard/service.js.map +1 -0
- package/dist/page-wizard/startPageWizardCommand.d.ts +13 -0
- package/dist/page-wizard/startPageWizardCommand.js +21 -0
- package/dist/page-wizard/startPageWizardCommand.js.map +1 -0
- package/dist/page-wizard/steps/BuildPageStep.d.ts +2 -0
- package/dist/page-wizard/steps/BuildPageStep.js +133 -0
- package/dist/page-wizard/steps/BuildPageStep.js.map +1 -0
- package/dist/page-wizard/steps/CollectStep.d.ts +2 -0
- package/dist/page-wizard/steps/CollectStep.js +119 -0
- package/dist/page-wizard/steps/CollectStep.js.map +1 -0
- package/dist/page-wizard/steps/ComponentTypesSelector.d.ts +11 -0
- package/dist/page-wizard/steps/ComponentTypesSelector.js +209 -0
- package/dist/page-wizard/steps/ComponentTypesSelector.js.map +1 -0
- package/dist/page-wizard/steps/Components.d.ts +9 -0
- package/dist/page-wizard/steps/Components.js +89 -0
- package/dist/page-wizard/steps/Components.js.map +1 -0
- package/dist/page-wizard/steps/CreatePage.d.ts +12 -0
- package/dist/page-wizard/steps/CreatePage.js +140 -0
- package/dist/page-wizard/steps/CreatePage.js.map +1 -0
- package/dist/page-wizard/steps/CreatePageAndLayoutStep.d.ts +2 -0
- package/dist/page-wizard/steps/CreatePageAndLayoutStep.js +228 -0
- package/dist/page-wizard/steps/CreatePageAndLayoutStep.js.map +1 -0
- package/dist/page-wizard/steps/EditButton.d.ts +8 -0
- package/dist/page-wizard/steps/EditButton.js +5 -0
- package/dist/page-wizard/steps/EditButton.js.map +1 -0
- package/dist/page-wizard/steps/FieldEditor.d.ts +5 -0
- package/dist/page-wizard/steps/FieldEditor.js +28 -0
- package/dist/page-wizard/steps/FieldEditor.js.map +1 -0
- package/dist/page-wizard/steps/Generate.d.ts +5 -0
- package/dist/page-wizard/steps/Generate.js +10 -0
- package/dist/page-wizard/steps/Generate.js.map +1 -0
- package/dist/page-wizard/steps/ImagesStep.d.ts +2 -0
- package/dist/page-wizard/steps/ImagesStep.js +156 -0
- package/dist/page-wizard/steps/ImagesStep.js.map +1 -0
- package/dist/page-wizard/steps/LayoutStep.d.ts +2 -0
- package/dist/page-wizard/steps/LayoutStep.js +118 -0
- package/dist/page-wizard/steps/LayoutStep.js.map +1 -0
- package/dist/page-wizard/steps/SelectStep.d.ts +2 -0
- package/dist/page-wizard/steps/SelectStep.js +145 -0
- package/dist/page-wizard/steps/SelectStep.js.map +1 -0
- package/dist/page-wizard/steps/schema.d.ts +13 -0
- package/dist/page-wizard/steps/schema.js +137 -0
- package/dist/page-wizard/steps/schema.js.map +1 -0
- package/dist/page-wizard/steps/usePageCreator.d.ts +6 -0
- package/dist/page-wizard/steps/usePageCreator.js +192 -0
- package/dist/page-wizard/steps/usePageCreator.js.map +1 -0
- package/dist/splash-screen/NewPage.d.ts +3 -0
- package/dist/splash-screen/NewPage.js +129 -0
- package/dist/splash-screen/NewPage.js.map +1 -0
- package/dist/splash-screen/SectionHeadline.d.ts +4 -0
- package/dist/splash-screen/SectionHeadline.js +7 -0
- package/dist/splash-screen/SectionHeadline.js.map +1 -0
- package/dist/splash-screen/SplashScreen.d.ts +1 -0
- package/dist/splash-screen/SplashScreen.js +79 -0
- package/dist/splash-screen/SplashScreen.js.map +1 -0
- package/dist/styles.css +2739 -0
- package/dist/tour/Tour.d.ts +3 -0
- package/dist/tour/Tour.js +319 -0
- package/dist/tour/Tour.js.map +1 -0
- package/dist/tour/default-tour.d.ts +9 -0
- package/dist/tour/default-tour.js +229 -0
- package/dist/tour/default-tour.js.map +1 -0
- package/dist/tour/preview-tour.d.ts +2 -0
- package/dist/tour/preview-tour.js +91 -0
- package/dist/tour/preview-tour.js.map +1 -0
- package/dist/types.d.ts +259 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +12 -5
- package/src/components/ui/button.tsx +62 -0
- package/src/editor/Titlebar.tsx +2 -2
- package/src/editor/client/EditorClient.tsx +8 -9
- package/src/editor/menubar/ActionsMenu.tsx +1 -1
- package/src/editor/menubar/Menu.tsx +3 -3
- package/src/editor/menubar/VersionSelector.tsx +9 -10
- package/src/editor/page-editor-chrome/CommentHighlighting.tsx +8 -9
- package/src/editor/page-viewer/MiniMap.tsx +11 -11
- package/src/editor/reviews/Comment.tsx +38 -33
- package/src/editor/sidebar/ComponentTree.tsx +512 -512
- package/src/editor/sidebar/Insert.tsx +2 -2
- package/src/editor/sidebar/MainContentTree.tsx +1 -0
- package/src/editor/sidebar/Translations.tsx +12 -12
- package/src/editor/sidebar/ViewSelector.tsx +6 -7
- package/src/editor/ui/PerfectTree.tsx +2 -2
- package/src/editor/ui/SimpleTable.tsx +3 -6
- package/src/editor/utils.ts +32 -29
- package/src/index.ts +2 -0
- package/src/lib/utils.ts +6 -0
- package/src/splash-screen/SplashScreen.tsx +2 -2
- package/styles.css +124 -2
- package/tsconfig.build.json +23 -13
- package/tsconfig.json +3 -0
|
@@ -0,0 +1,647 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { RichTextEditor } from "../editor/field-types/RichTextEditor";
|
|
3
|
+
import { LinkFieldEditor } from "../editor/field-types/LinkFieldEditor";
|
|
4
|
+
import { PictureFieldEditor } from "../editor/field-types/PictureFieldEditor";
|
|
5
|
+
import { InternalLinkFieldEditor } from "../editor/field-types/InternalLinkFieldEditor";
|
|
6
|
+
import TreeListEditor from "../editor/field-types/TreeListEditor";
|
|
7
|
+
import { SingleLineText } from "../editor/field-types/SingleLineText";
|
|
8
|
+
import { MultiLineText } from "../editor/field-types/MultiLineText";
|
|
9
|
+
import { DropLinkEditor } from "../editor/field-types/DropLinkEditor";
|
|
10
|
+
import { DropListEditor } from "../editor/field-types/DropListEditor";
|
|
11
|
+
import { RawEditor } from "../editor/field-types/RawEditor";
|
|
12
|
+
import { CheckboxEditor } from "../editor/field-types/CheckboxEditor";
|
|
13
|
+
import { ItemLocked } from "../editor/editor-warnings/ItemLocked";
|
|
14
|
+
import { NoWriteAccess } from "../editor/editor-warnings/NoWriteAccess";
|
|
15
|
+
import { ValidationErrors } from "../editor/editor-warnings/ValidationErrors";
|
|
16
|
+
import { ComponentTree } from "../editor/sidebar/ComponentTree";
|
|
17
|
+
import { Performance } from "../editor/sidebar/Performance";
|
|
18
|
+
import { EditHistory } from "../editor/sidebar/EditHistory";
|
|
19
|
+
import { Sessions } from "../editor/sidebar/Sessions";
|
|
20
|
+
import { Workbox } from "../editor/sidebar/Workbox";
|
|
21
|
+
import { DictionaryEditor } from "../editor/sidebar/DictionaryEditor";
|
|
22
|
+
import { BugIcon, EditIcon, GraphQLIcon, JsonIcon, NavigatorIcon, PageWizardIcon, WizardIcon, } from "../editor/ui/Icons";
|
|
23
|
+
import { Debug } from "../editor/sidebar/Debug";
|
|
24
|
+
import { GraphQL } from "../editor/sidebar/GraphQL";
|
|
25
|
+
import { EditorAiTerminal } from "../editor/ai/EditorAiTerminal";
|
|
26
|
+
import { Titlebar } from "../editor/Titlebar";
|
|
27
|
+
import { NoWriteLanguageAccess } from "../editor/editor-warnings/NoLanguageWriteAccess";
|
|
28
|
+
import { NoWorkflowWriteAccess } from "../editor/editor-warnings/NoWorkflowWriteAccess";
|
|
29
|
+
import { SplashScreen } from "../splash-screen/SplashScreen";
|
|
30
|
+
import { PageViewerControls } from "../editor/menubar/PageViewerControls";
|
|
31
|
+
import { ItemLanguageVersion } from "../editor/menubar/ItemLanguageVersion";
|
|
32
|
+
import { ActiveUsers } from "../editor/menubar/ActiveUsers";
|
|
33
|
+
import { Validation } from "../editor/sidebar/Validation";
|
|
34
|
+
import { Separator } from "../editor/menubar/Separator";
|
|
35
|
+
import { deleteItemCommand, insertItemCommand, publishItemCommand, renameItemCommand, } from "../editor/commands/itemCommands";
|
|
36
|
+
import { loadInsertOptions } from "../editor/services/editService";
|
|
37
|
+
import { getDefaultTourSteps } from "../tour/default-tour";
|
|
38
|
+
import { Translation } from "../editor/sidebar/Translations";
|
|
39
|
+
import { EditView } from "../editor/views/EditView";
|
|
40
|
+
import { InsertMenuTemplate } from "../editor/InsertMenu";
|
|
41
|
+
import { ControlCenterMenu } from "../editor/control-center/ControlCenterMenu";
|
|
42
|
+
import { Status } from "../editor/control-center/Status";
|
|
43
|
+
import { IndexOverview } from "../editor/control-center/IndexOverview";
|
|
44
|
+
import { MainContentTree } from "../editor/sidebar/MainContentTree";
|
|
45
|
+
import { AttachmentEditor } from "../editor/field-types/AttachmentEditor";
|
|
46
|
+
import { Comments } from "../editor/reviews/Comments";
|
|
47
|
+
import { Reviews } from "../editor/reviews/Reviews";
|
|
48
|
+
import { rejectReviewCommand } from "../editor/reviews/reviewCommands";
|
|
49
|
+
import { approveReviewCommand } from "../editor/reviews/reviewCommands";
|
|
50
|
+
import { ActionsMenu } from "../editor/menubar/ActionsMenu";
|
|
51
|
+
import { PreviewInfo } from "../editor/reviews/PreviewInfo";
|
|
52
|
+
import { getPreviewTourSteps } from "../tour/preview-tour";
|
|
53
|
+
import { PageWizard } from "../page-wizard/PageWizard";
|
|
54
|
+
import { CollectStep } from "../page-wizard/steps/CollectStep";
|
|
55
|
+
import { LayoutStep } from "../page-wizard/steps/LayoutStep";
|
|
56
|
+
import { BuildPageStep } from "../page-wizard/steps/BuildPageStep";
|
|
57
|
+
import { SelectStep } from "../page-wizard/steps/SelectStep";
|
|
58
|
+
import { ImagesStep } from "../page-wizard/steps/ImagesStep";
|
|
59
|
+
import { CreatePageAndLayoutStep } from "../page-wizard/steps/CreatePageAndLayoutStep";
|
|
60
|
+
import { getWizards } from "../page-wizard/service";
|
|
61
|
+
import { startPageWizardCommand } from "../page-wizard/startPageWizardCommand";
|
|
62
|
+
import { ImageFieldEditor } from "../editor/field-types/ImageFieldEditor";
|
|
63
|
+
const defaultRichTextEditorProfile = {
|
|
64
|
+
toolbar: {
|
|
65
|
+
groups: [
|
|
66
|
+
{
|
|
67
|
+
items: ["bold", "italic", "underline", "strikethrough"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
export const contentItemId = "0DE95AE4-41AB-4D01-9EB0-67441B7C2450";
|
|
73
|
+
export const templatesRootItemId = "3c1715fe-6a13-4fcf-845f-de308ba9741d";
|
|
74
|
+
const openTargetActionButton = {
|
|
75
|
+
label: "Open target item",
|
|
76
|
+
icon: "pi pi-external-link",
|
|
77
|
+
clientAction: ({ field, editContext }) => {
|
|
78
|
+
const fieldValue = field.value;
|
|
79
|
+
if (fieldValue?.targetItemId) {
|
|
80
|
+
editContext.loadItem({
|
|
81
|
+
id: fieldValue.targetItemId,
|
|
82
|
+
language: field.descriptor.item.language,
|
|
83
|
+
version: 0,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
isGenerator: false,
|
|
88
|
+
id: "open-target-in-content-editor",
|
|
89
|
+
description: "Opens the target item in the content/page editor",
|
|
90
|
+
};
|
|
91
|
+
const pageEditorRightSidebar = {
|
|
92
|
+
title: "COMPONENT NAVIGATOR & HISTORY",
|
|
93
|
+
panels: [
|
|
94
|
+
{
|
|
95
|
+
name: "component-tree",
|
|
96
|
+
icon: _jsx(NavigatorIcon, {}),
|
|
97
|
+
title: "Component Navigator",
|
|
98
|
+
content: _jsx(ComponentTree, {}),
|
|
99
|
+
initialSize: 20,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "history",
|
|
103
|
+
icon: "pi pi-clock",
|
|
104
|
+
title: "History",
|
|
105
|
+
content: _jsx(EditHistory, {}),
|
|
106
|
+
initialSize: 15,
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
};
|
|
110
|
+
const editView = _jsx(EditView, {});
|
|
111
|
+
const editPrimaryControls = _jsx(PageViewerControls, {});
|
|
112
|
+
const itemPageEditorSecondaryControls = (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ItemLanguageVersion, {}), _jsx(Separator, { size: "large" }), _jsx(ActiveUsers, {}), _jsx(ActionsMenu, {})] }));
|
|
113
|
+
const pageEditorViewBase = {
|
|
114
|
+
primaryControls: editPrimaryControls,
|
|
115
|
+
secondaryControls: itemPageEditorSecondaryControls,
|
|
116
|
+
rightSidebar: pageEditorRightSidebar,
|
|
117
|
+
defaultCenterPanelView: editView,
|
|
118
|
+
};
|
|
119
|
+
export const getConfiguration = () => {
|
|
120
|
+
return {
|
|
121
|
+
extensions: {},
|
|
122
|
+
tours: {
|
|
123
|
+
default: {
|
|
124
|
+
getSteps: (params) => getDefaultTourSteps(params, {
|
|
125
|
+
firstComponentTemplateId: "39593ec8-0d85-46f2-9573-c368ef7e4ae3",
|
|
126
|
+
firstComponentTemplateName: "Section",
|
|
127
|
+
firstComponentTextFieldName: "Title",
|
|
128
|
+
firstComponentTextFieldId: "f352f51f-062c-4874-a561-6283f8679583",
|
|
129
|
+
firstComponentRichTextFieldName: "Introduction",
|
|
130
|
+
firstComponentRichTextFieldId: "b44b547b-33f5-4379-8ac3-c57ccea2d407",
|
|
131
|
+
}),
|
|
132
|
+
},
|
|
133
|
+
preview: {
|
|
134
|
+
getSteps: (params) => getPreviewTourSteps(params),
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
activeTour: "default",
|
|
138
|
+
commands: {
|
|
139
|
+
renameItem: renameItemCommand,
|
|
140
|
+
deleteItem: deleteItemCommand,
|
|
141
|
+
insertItem: insertItemCommand,
|
|
142
|
+
publishItem: publishItemCommand,
|
|
143
|
+
allItemCommands: [
|
|
144
|
+
renameItemCommand,
|
|
145
|
+
deleteItemCommand,
|
|
146
|
+
publishItemCommand,
|
|
147
|
+
],
|
|
148
|
+
reviewcommands: [approveReviewCommand, rejectReviewCommand],
|
|
149
|
+
},
|
|
150
|
+
events: {},
|
|
151
|
+
services: {
|
|
152
|
+
renderService: { path: "/alpaca/editor/render" },
|
|
153
|
+
editorService: {
|
|
154
|
+
//baseUrl: "",
|
|
155
|
+
},
|
|
156
|
+
aiService: {
|
|
157
|
+
promptUrl: "/alpaca/editor/ai/prompt",
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
fieldTypes: {
|
|
161
|
+
raw: {
|
|
162
|
+
editor: RawEditor,
|
|
163
|
+
},
|
|
164
|
+
"single-line text": {
|
|
165
|
+
editor: SingleLineText,
|
|
166
|
+
},
|
|
167
|
+
"multi-line text": {
|
|
168
|
+
editor: MultiLineText,
|
|
169
|
+
},
|
|
170
|
+
"rich text": {
|
|
171
|
+
editor: RichTextEditor,
|
|
172
|
+
custom: {
|
|
173
|
+
profiles: { default: defaultRichTextEditorProfile },
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
"general link": {
|
|
177
|
+
editor: LinkFieldEditor,
|
|
178
|
+
},
|
|
179
|
+
picture: {
|
|
180
|
+
editor: PictureFieldEditor,
|
|
181
|
+
},
|
|
182
|
+
image: {
|
|
183
|
+
editor: ImageFieldEditor,
|
|
184
|
+
buttons: [],
|
|
185
|
+
},
|
|
186
|
+
droplink: {
|
|
187
|
+
editor: DropLinkEditor,
|
|
188
|
+
buttons: [openTargetActionButton],
|
|
189
|
+
},
|
|
190
|
+
"enhanced dropLink": {
|
|
191
|
+
editor: DropLinkEditor,
|
|
192
|
+
buttons: [openTargetActionButton],
|
|
193
|
+
},
|
|
194
|
+
"enhanced internal link": {
|
|
195
|
+
editor: InternalLinkFieldEditor,
|
|
196
|
+
buttons: [openTargetActionButton],
|
|
197
|
+
},
|
|
198
|
+
droplist: {
|
|
199
|
+
editor: DropListEditor,
|
|
200
|
+
},
|
|
201
|
+
treelistex: {
|
|
202
|
+
editor: TreeListEditor,
|
|
203
|
+
},
|
|
204
|
+
treelist: {
|
|
205
|
+
editor: TreeListEditor,
|
|
206
|
+
},
|
|
207
|
+
"enhanced treelist": {
|
|
208
|
+
editor: TreeListEditor,
|
|
209
|
+
},
|
|
210
|
+
"tree list": {
|
|
211
|
+
editor: TreeListEditor,
|
|
212
|
+
},
|
|
213
|
+
multilist: {
|
|
214
|
+
editor: TreeListEditor,
|
|
215
|
+
},
|
|
216
|
+
checkbox: {
|
|
217
|
+
editor: CheckboxEditor,
|
|
218
|
+
},
|
|
219
|
+
droptree: {
|
|
220
|
+
editor: InternalLinkFieldEditor,
|
|
221
|
+
},
|
|
222
|
+
attachment: {
|
|
223
|
+
editor: AttachmentEditor,
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
editorWarnings: [
|
|
227
|
+
NoWriteAccess,
|
|
228
|
+
NoWriteLanguageAccess,
|
|
229
|
+
NoWorkflowWriteAccess,
|
|
230
|
+
ItemLocked,
|
|
231
|
+
ValidationErrors,
|
|
232
|
+
],
|
|
233
|
+
outline: {
|
|
234
|
+
width: 100,
|
|
235
|
+
},
|
|
236
|
+
debounceFieldEditsInterval: 250,
|
|
237
|
+
devices: [
|
|
238
|
+
{ name: "iPhone 14 Pro Max", width: 430, height: 932 },
|
|
239
|
+
{ name: "iPhone SE", width: 375, height: 667 },
|
|
240
|
+
{ name: "Pixel 7", width: 412, height: 915 },
|
|
241
|
+
{ name: "iPad Mini", width: 768, height: 1024 },
|
|
242
|
+
{ name: "iPad Pro", width: 1024, height: 1366 },
|
|
243
|
+
{ name: "Responsive", width: undefined, height: undefined },
|
|
244
|
+
],
|
|
245
|
+
pageWizard: {
|
|
246
|
+
getWizards: getWizards,
|
|
247
|
+
startWizardCommand: startPageWizardCommand,
|
|
248
|
+
stepComponents: {
|
|
249
|
+
CollectStep,
|
|
250
|
+
LayoutStep,
|
|
251
|
+
BuildPageStep,
|
|
252
|
+
SelectStep,
|
|
253
|
+
ImagesStep,
|
|
254
|
+
CreatePageAndLayoutStep,
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
controlCenter: {
|
|
258
|
+
groups: [
|
|
259
|
+
{
|
|
260
|
+
title: "Indexing",
|
|
261
|
+
icon: _jsx("i", { className: "pi pi-search" }),
|
|
262
|
+
panels: [
|
|
263
|
+
{
|
|
264
|
+
id: "indexes",
|
|
265
|
+
title: "All Indexes",
|
|
266
|
+
icon: _jsx("i", { className: "pi pi-search" }),
|
|
267
|
+
content: _jsx(IndexOverview, {}),
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
},
|
|
273
|
+
editor: {
|
|
274
|
+
defaultPanelSizes: [400, 300],
|
|
275
|
+
dialogs: {
|
|
276
|
+
newPage: {
|
|
277
|
+
expandTreeNode: "bafb88a1-506a-4671-b47b-1947730d25f6",
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
views: [
|
|
281
|
+
{
|
|
282
|
+
name: "splash-screen",
|
|
283
|
+
title: "Splash Screen",
|
|
284
|
+
icon: "pi pi-home",
|
|
285
|
+
hidden: true,
|
|
286
|
+
defaultCenterPanelView: _jsx(SplashScreen, {}),
|
|
287
|
+
hideViewSelector: true,
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: "page-editor",
|
|
291
|
+
title: "Edit",
|
|
292
|
+
icon: _jsx(EditIcon, {}),
|
|
293
|
+
...pageEditorViewBase,
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: "ai",
|
|
297
|
+
title: "AI",
|
|
298
|
+
icon: _jsx(WizardIcon, {}),
|
|
299
|
+
leftSidebar: {
|
|
300
|
+
panels: [
|
|
301
|
+
{
|
|
302
|
+
name: "ai-terminal",
|
|
303
|
+
icon: "pi pi-comments",
|
|
304
|
+
title: "AI",
|
|
305
|
+
content: _jsx(EditorAiTerminal, {}),
|
|
306
|
+
initialSize: 70,
|
|
307
|
+
noOverflow: true,
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
},
|
|
311
|
+
...pageEditorViewBase,
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: "translate",
|
|
315
|
+
icon: "pi pi-language",
|
|
316
|
+
title: "Translate",
|
|
317
|
+
leftSidebar: {
|
|
318
|
+
panels: [
|
|
319
|
+
{
|
|
320
|
+
name: "translation",
|
|
321
|
+
icon: "pi pi-language",
|
|
322
|
+
title: "Translations",
|
|
323
|
+
content: _jsx(Translation, {}),
|
|
324
|
+
initialSize: 20,
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
},
|
|
328
|
+
...pageEditorViewBase,
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: "reviews",
|
|
332
|
+
title: "Reviews",
|
|
333
|
+
icon: "pi pi-comments",
|
|
334
|
+
leftSidebar: {
|
|
335
|
+
panels: [
|
|
336
|
+
{
|
|
337
|
+
name: "comments",
|
|
338
|
+
icon: "pi pi-comments",
|
|
339
|
+
title: "Comments",
|
|
340
|
+
content: _jsx(Comments, {}),
|
|
341
|
+
initialSize: 65,
|
|
342
|
+
noOverflow: true,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "reviews",
|
|
346
|
+
icon: "pi pi-users",
|
|
347
|
+
title: "Reviews",
|
|
348
|
+
content: _jsx(Reviews, {}),
|
|
349
|
+
initialSize: 35,
|
|
350
|
+
noOverflow: true,
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
},
|
|
354
|
+
...pageEditorViewBase,
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "publish",
|
|
358
|
+
title: "Publish",
|
|
359
|
+
icon: "pi pi-globe",
|
|
360
|
+
leftSidebar: {
|
|
361
|
+
panels: [
|
|
362
|
+
{
|
|
363
|
+
name: "Workbox",
|
|
364
|
+
title: "Workbox",
|
|
365
|
+
icon: "pi-inbox",
|
|
366
|
+
content: _jsx(Workbox, {}),
|
|
367
|
+
initialSize: 50,
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
name: "Validation",
|
|
371
|
+
title: "Validation",
|
|
372
|
+
icon: "pi-check",
|
|
373
|
+
content: _jsx(Validation, {}),
|
|
374
|
+
initialSize: 50,
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
},
|
|
378
|
+
...pageEditorViewBase,
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: "content-editor",
|
|
382
|
+
title: "Content Editor",
|
|
383
|
+
icon: "pi pi-sitemap",
|
|
384
|
+
defaultCenterPanelView: editView,
|
|
385
|
+
leftSidebar: {
|
|
386
|
+
panels: [
|
|
387
|
+
{
|
|
388
|
+
name: "tree",
|
|
389
|
+
icon: "pi pi-sitemap",
|
|
390
|
+
title: "Content",
|
|
391
|
+
content: _jsx(MainContentTree, { mode: "normal" }),
|
|
392
|
+
initialSize: 80,
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
|
+
rightSidebar: pageEditorRightSidebar,
|
|
397
|
+
primaryControls: editPrimaryControls,
|
|
398
|
+
secondaryControls: itemPageEditorSecondaryControls,
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: "dictionary",
|
|
402
|
+
title: "Dictionary",
|
|
403
|
+
icon: "pi pi-book",
|
|
404
|
+
leftSidebar: {
|
|
405
|
+
panels: [
|
|
406
|
+
{
|
|
407
|
+
name: "dictionary",
|
|
408
|
+
icon: "pi pi-book",
|
|
409
|
+
title: "Dictionary",
|
|
410
|
+
content: _jsx(DictionaryEditor, {}),
|
|
411
|
+
initialSize: 100,
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
},
|
|
415
|
+
...pageEditorViewBase,
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "sessions",
|
|
419
|
+
title: "Sessions",
|
|
420
|
+
icon: "pi pi-users",
|
|
421
|
+
leftSidebar: {
|
|
422
|
+
panels: [
|
|
423
|
+
{
|
|
424
|
+
name: "sessions",
|
|
425
|
+
icon: "pi pi-users",
|
|
426
|
+
title: "Sessions",
|
|
427
|
+
content: _jsx(Sessions, {}),
|
|
428
|
+
initialSize: 100,
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
},
|
|
432
|
+
...pageEditorViewBase,
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: "debug",
|
|
436
|
+
title: "Debug",
|
|
437
|
+
icon: _jsx(BugIcon, {}),
|
|
438
|
+
leftSidebar: {
|
|
439
|
+
panels: [
|
|
440
|
+
{
|
|
441
|
+
name: "component-tree",
|
|
442
|
+
icon: "pi pi-list",
|
|
443
|
+
title: "Outline",
|
|
444
|
+
content: _jsx(ComponentTree, {}),
|
|
445
|
+
initialSize: 20,
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
name: "debug",
|
|
449
|
+
icon: _jsx(JsonIcon, {}),
|
|
450
|
+
title: "JSON",
|
|
451
|
+
content: _jsx(Debug, {}),
|
|
452
|
+
initialSize: 30,
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
name: "graphql",
|
|
456
|
+
icon: _jsx(GraphQLIcon, {}),
|
|
457
|
+
title: "GraphQL",
|
|
458
|
+
content: _jsx(GraphQL, {}),
|
|
459
|
+
initialSize: 30,
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
name: "performance",
|
|
463
|
+
icon: "pi pi-stopwatch",
|
|
464
|
+
title: "Performance",
|
|
465
|
+
content: _jsx(Performance, {}),
|
|
466
|
+
initialSize: 20,
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
},
|
|
470
|
+
...pageEditorViewBase,
|
|
471
|
+
},
|
|
472
|
+
// {
|
|
473
|
+
// name: "component-designer",
|
|
474
|
+
// title: "Component Designer",
|
|
475
|
+
// icon: "pi pi-palette",
|
|
476
|
+
// defaultCenterPanelView: <ComponentDesigner />,
|
|
477
|
+
// menuBar: <ComponentDesignerMenu />,
|
|
478
|
+
// leftSidebar: {
|
|
479
|
+
// panels: [
|
|
480
|
+
// {
|
|
481
|
+
// name: "component-tree",
|
|
482
|
+
// icon: "pi pi-list",
|
|
483
|
+
// title: "Outline",
|
|
484
|
+
// content: <ComponentTree />,
|
|
485
|
+
// initialSize: 30,
|
|
486
|
+
// },
|
|
487
|
+
// {
|
|
488
|
+
// name: "ai-terminal",
|
|
489
|
+
// icon: "pi pi-comments",
|
|
490
|
+
// title: "AI",
|
|
491
|
+
// content: <ComponentDesignerAiTerminal />,
|
|
492
|
+
// initialSize: 40,
|
|
493
|
+
// },
|
|
494
|
+
// {
|
|
495
|
+
// name: "history",
|
|
496
|
+
// icon: "pi pi-clock",
|
|
497
|
+
// title: "History",
|
|
498
|
+
// content: <EditHistory />,
|
|
499
|
+
// initialSize: 30,
|
|
500
|
+
// },
|
|
501
|
+
// ],
|
|
502
|
+
// },
|
|
503
|
+
// },
|
|
504
|
+
{
|
|
505
|
+
name: "page-wizard",
|
|
506
|
+
title: "Page Wizard",
|
|
507
|
+
icon: _jsx(PageWizardIcon, {}),
|
|
508
|
+
defaultCenterPanelView: _jsx(PageWizard, {}),
|
|
509
|
+
hidden: true,
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
name: "control-center",
|
|
513
|
+
title: "Control Center",
|
|
514
|
+
icon: "pi pi-cog",
|
|
515
|
+
defaultCenterPanelView: _jsx(Status, {}),
|
|
516
|
+
menuBar: _jsx(_Fragment, {}),
|
|
517
|
+
leftSidebar: {
|
|
518
|
+
panels: [
|
|
519
|
+
{
|
|
520
|
+
name: "settings",
|
|
521
|
+
icon: "pi pi-cog",
|
|
522
|
+
title: "Control Center",
|
|
523
|
+
content: _jsx(ControlCenterMenu, {}),
|
|
524
|
+
initialSize: 30,
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
titlebar: _jsx(Titlebar, {}),
|
|
531
|
+
actionsMenu: {
|
|
532
|
+
itemsFactory: (editContext) => {
|
|
533
|
+
const commands = [
|
|
534
|
+
...editContext.configuration.commands.reviewcommands,
|
|
535
|
+
"splitter",
|
|
536
|
+
...editContext.configuration.commands.allItemCommands,
|
|
537
|
+
];
|
|
538
|
+
if (!editContext.contentEditorItem)
|
|
539
|
+
return [];
|
|
540
|
+
const items = [editContext.contentEditorItem];
|
|
541
|
+
const menuItems = [
|
|
542
|
+
...commands.map((command) => {
|
|
543
|
+
if (typeof command === "string") {
|
|
544
|
+
return {
|
|
545
|
+
id: "separator",
|
|
546
|
+
separator: true,
|
|
547
|
+
label: "",
|
|
548
|
+
icon: "pi pi-splitter",
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
return {
|
|
552
|
+
id: command.id,
|
|
553
|
+
label: command.label,
|
|
554
|
+
icon: command.icon,
|
|
555
|
+
disabled: editContext.isCommandDisabled({
|
|
556
|
+
command: command,
|
|
557
|
+
data: { items },
|
|
558
|
+
}),
|
|
559
|
+
command: async (event) => {
|
|
560
|
+
await editContext.executeCommand({
|
|
561
|
+
command: command,
|
|
562
|
+
event: event,
|
|
563
|
+
data: { items },
|
|
564
|
+
});
|
|
565
|
+
},
|
|
566
|
+
};
|
|
567
|
+
}),
|
|
568
|
+
];
|
|
569
|
+
return menuItems;
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
contentTree: {
|
|
573
|
+
contextMenu: {
|
|
574
|
+
factory: async (props) => {
|
|
575
|
+
const editContext = props.editContext;
|
|
576
|
+
if (!props.items)
|
|
577
|
+
return;
|
|
578
|
+
const menuItems = props.editContext.configuration.commands.allItemCommands?.map((x) => {
|
|
579
|
+
const commandData = {
|
|
580
|
+
items: props.items,
|
|
581
|
+
};
|
|
582
|
+
return {
|
|
583
|
+
id: x.id,
|
|
584
|
+
label: x.label,
|
|
585
|
+
icon: x.icon,
|
|
586
|
+
command: async (triggerEvent) => {
|
|
587
|
+
const result = await editContext?.executeCommand({
|
|
588
|
+
command: x,
|
|
589
|
+
data: commandData,
|
|
590
|
+
event: triggerEvent,
|
|
591
|
+
});
|
|
592
|
+
if (props.commandCallback)
|
|
593
|
+
props.commandCallback(x, result);
|
|
594
|
+
},
|
|
595
|
+
disabled: editContext?.isCommandDisabled({
|
|
596
|
+
command: x,
|
|
597
|
+
data: commandData,
|
|
598
|
+
}),
|
|
599
|
+
};
|
|
600
|
+
});
|
|
601
|
+
if (props.items.length > 1)
|
|
602
|
+
return menuItems;
|
|
603
|
+
const item = props.items[0];
|
|
604
|
+
if (!item)
|
|
605
|
+
return menuItems;
|
|
606
|
+
const insertOptions = await loadInsertOptions(item.descriptor);
|
|
607
|
+
const insertMenuItem = {
|
|
608
|
+
label: "Insert",
|
|
609
|
+
id: "insert",
|
|
610
|
+
disabled: insertOptions.length == 0,
|
|
611
|
+
icon: "pi pi-plus",
|
|
612
|
+
template: (_jsx(InsertMenuTemplate, { insertOptions: insertOptions, item: item, commandCallback: props.commandCallback })),
|
|
613
|
+
};
|
|
614
|
+
return [insertMenuItem, ...menuItems];
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
},
|
|
618
|
+
},
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
export function configureForUser(configuration, user) {
|
|
622
|
+
if (user.isLimitedPreviewUser) {
|
|
623
|
+
return {
|
|
624
|
+
...configuration,
|
|
625
|
+
activeTour: "preview",
|
|
626
|
+
editor: {
|
|
627
|
+
...configuration.editor,
|
|
628
|
+
views: configuration.editor.views
|
|
629
|
+
.filter((x) => x.name === "reviews")
|
|
630
|
+
.map((x) => {
|
|
631
|
+
return {
|
|
632
|
+
...x,
|
|
633
|
+
leftSidebar: {
|
|
634
|
+
...x.leftSidebar,
|
|
635
|
+
panels: [
|
|
636
|
+
...(x.leftSidebar?.panels ?? []).filter((x) => x.name !== "reviews"),
|
|
637
|
+
],
|
|
638
|
+
},
|
|
639
|
+
secondaryControls: (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx(PreviewInfo, {}), _jsx(ActionsMenu, {})] })),
|
|
640
|
+
};
|
|
641
|
+
}),
|
|
642
|
+
},
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
return configuration;
|
|
646
|
+
}
|
|
647
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config/config.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,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