41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from "oak-frontend-base";
|
|
import { EntityDict } from "../../../oak-app-domain";
|
|
export default function Render(props: WebComponentProps<EntityDict, 'articleMenu', false, {
|
|
row: EntityDict['articleMenu']['OpSchema'];
|
|
allowCreateSubMenu: boolean;
|
|
allowCreateSubArticle: boolean;
|
|
allowRemove: boolean;
|
|
logo: string;
|
|
onRemove: () => void;
|
|
onUpdateName: (name: string) => Promise<void>;
|
|
onChildEditArticleChange: (data: string) => void;
|
|
editArticleId: string;
|
|
show: 'edit' | 'doc' | 'preview';
|
|
getBreadcrumbItemsByParent: (breadcrumbItems: string[]) => void;
|
|
breadItems: string[];
|
|
drawerOpen: boolean;
|
|
changeDrawerOpen: (open: boolean) => void;
|
|
selectedArticleId: string;
|
|
openArray: string[];
|
|
getTopInfo: (data: {
|
|
name: string;
|
|
date: number;
|
|
}) => void;
|
|
articleId: string;
|
|
articleMenuId: string;
|
|
getSideInfo: (data: {
|
|
id: string;
|
|
name: string;
|
|
coverUrl: string;
|
|
}) => void;
|
|
currentArticle: string;
|
|
setCurrentArticle: (id: string) => void;
|
|
setCopyArticleUrl: (id: string) => string;
|
|
origin: 'qiniu';
|
|
}, {
|
|
createSubArticle: (name: string) => Promise<void>;
|
|
createSubArticleMenu: (name: string) => Promise<void>;
|
|
gotoDoc: (articleMenuId: string) => void;
|
|
}>): React.JSX.Element | null;
|