"use strict";(self.webpackChunk_alilc_lowcode_engine_docs=self.webpackChunk_alilc_lowcode_engine_docs||[]).push([[9560],{9278:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>b});var n=r(9301);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=p(r),m=o,b=d["".concat(c,".").concat(m)]||d[m]||u[m]||i;return r?n.createElement(b,a(a({ref:t},s),{},{components:r})):n.createElement(b,a({ref:t},s))}));function b(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=m;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[d]="string"==typeof e?e:o,a[1]=l;for(var p=2;p<i;p++)a[p]=r[p];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},2215:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var n=r(6508),o=(r(9301),r(9278));const i={title:"EditorView",sidebar_position:12},a=void 0,l={unversionedId:"api/model/editor-view",id:"api/model/editor-view",title:"EditorView",description:"@experimental",source:"@site/docs/api/model/editor-view.md",sourceDirName:"api/model",slug:"/api/model/editor-view",permalink:"/site/docs/api/model/editor-view",draft:!1,editUrl:"https://github.com/alibaba/lowcode-engine/tree/develop/docs/docs/api/model/editor-view.md",tags:[],version:"current",sidebarPosition:12,frontMatter:{title:"EditorView",sidebar_position:12},sidebar:"api",previous:{title:"ModalNodesManager",permalink:"/site/docs/api/model/modal-nodes-manager"},next:{title:"PluginInstance",permalink:"/site/docs/api/model/plugin-instance"}},c={},p=[{value:"\u7c7b\u578b\u5b9a\u4e49",id:"\u7c7b\u578b\u5b9a\u4e49",level:2}],s={toc:p},d="wrapper";function u(e){let{components:t,...r}=e;return(0,o.kt)(d,(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("blockquote",null,(0,o.kt)("p",{parentName:"blockquote"},(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"./#experimental"},"@experimental")),(0,o.kt)("br",null),"\n",(0,o.kt)("strong",{parentName:"p"},"@types")," ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/alibaba/lowcode-engine/blob/main/packages/types/src/shell/model/editor-view.ts"},"IPublicModelEditorView"),(0,o.kt)("br",null),"\n",(0,o.kt)("strong",{parentName:"p"},"@since")," v1.1.7")),(0,o.kt)("p",null,"\u7a97\u53e3\u7f16\u8f91\u89c6\u56fe"),(0,o.kt)("h2",{id:"\u7c7b\u578b\u5b9a\u4e49"},"\u7c7b\u578b\u5b9a\u4e49"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},'import { IPublicModelPluginContext } from "./plugin-context";\n\nexport interface IPublicModelEditorView extends IPublicModelPluginContext {};\n\n')),(0,o.kt)("p",null,"\u76f8\u5173\u7c7b\u578b\u5b9a\u4e49: ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/alibaba/lowcode-engine/blob/main/packages/types/src/shell/model/plugin-context.ts"},"IPublicModelPluginContext")))}u.isMDXComponent=!0}}]);