[{"data":1,"prerenderedAt":337},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fdata-view":3},{"id":4,"title":5,"body":6,"description":12,"extension":324,"keywords":325,"locale":328,"meta":329,"navigation":330,"order":331,"path":332,"section":333,"seo":334,"stem":335,"__hash__":336},"docs\u002Fplugins\u002Freference\u002Fdata-view.en.md","DataView",{"type":7,"value":8,"toc":310},"minimark",[9,13,24,29,35,89,97,101,117,125,149,156,160,163,166,170,176,180,183,189,195,198,201,206,210,213,216,221,225,229,232,270,278,282,293,306],[10,11,12],"p",{},"Stores portable data-view documents. Hosts inject interactive rendering, a workspace and layout registrations.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fextension-data-view"," · ",[21,22,23],"strong",{},"MIT",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Shared document capability",[36,37,38,54],"table",{},[39,40,41],"thead",{},[42,43,44,48,51],"tr",{},[45,46,47],"th",{},"Editor",[45,49,50],{},"Status",[45,52,53],{},"Assembly and boundaries",[55,56,57,74],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Requires integration",[60,67,68,73],{},[69,70,72],"a",{"href":71},"\u002Fen\u002Fplugins\u002Freference\u002Fclassic-data-view","ClassicDataView"," — The shared extension defines content and host ports. Use the Classic adapter below for its workspace and product interaction, without installing both the base extension and its replacement.",[42,75,76,79,82],{},[60,77,78],{},"Block",[60,80,81],{},"Supported",[60,83,84,88],{},[69,85,87],{"href":86},"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-block-editor-preset","createBlockEditorPreset"," — The default createBlockEditor preset installs this capability. Configure the corresponding preset child; graphic editing uses the preset's workspace ports, while persistence and assets remain host-owned. Avoid duplicate extensions.",[10,90,91,92,96],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[69,93,95],{"href":94},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,98,100],{"id":99},"installation","Installation",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-sh shiki shiki-themes github-light github-light github-dark","pnpm add @quirekit\u002Fextension-data-view@alpha\n","sh","",[16,109,110],{"__ignoreMap":107},[111,112,115],"span",{"class":113,"line":114},"line",1,[111,116,105],{},[10,118,119,120,124],{},"Install in Editor extensions. The host supplies a view, container and persistence; see ",[69,121,123],{"href":122},"\u002Fen\u002Fguide\u002Fquick-start","Quick start",".",[102,126,130],{"className":127,"code":128,"language":129,"meta":107,"style":107},"language-ts shiki shiki-themes github-light github-light github-dark","import { DataView } from '@quirekit\u002Fextension-data-view'\n","ts",[16,131,132],{"__ignoreMap":107},[111,133,134,138,142,145],{"class":113,"line":114},[111,135,137],{"class":136},"sDD9d","import",[111,139,141],{"class":140},"sVPnS"," { DataView } ",[111,143,144],{"class":136},"from",[111,146,148],{"class":147},"s-HEn"," '@quirekit\u002Fextension-data-view'\n",[10,150,151,152,124],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[69,153,155],{"href":154},"\u002Fen\u002Fsupport","support and licensing",[25,157,159],{"id":158},"integration-by-editor","Integration by editor",[10,161,162],{},"These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.",[164,165],"plugin-integration",{"name":5},[25,167,169],{"id":168},"configuration","Configuration",[10,171,172,173,124],{},"These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See ",[69,174,168],{"href":175},"\u002Fen\u002Fplugins\u002Fconfiguration",[177,178,179],"h3",{"id":179},"render",[10,181,182],{},"Optional interactive HTML renderer, which owns its activation and input events. Null output keeps the static preview.",[10,184,185,186],{},"Type：",[16,187,188],{},"QuireNodeViewRenderer | null",[10,190,191,192],{},"Default：",[16,193,194],{},"null",[177,196,197],{"id":197},"open",[10,199,200],{},"Host-owned workspace.",[10,202,185,203],{},[16,204,205],{},"((request: DataViewEditRequest, editor: QuireEditor) => { close(): void; }) | null",[10,207,191,208],{},[16,209,194],{},[177,211,212],{"id":212},"layouts",[10,214,215],{},"Host-owned renderer registration, keeping engine dependencies out of this adapter.",[10,217,185,218],{},[16,219,220],{},"(() => readonly QuireLayoutProviderRegistration[]) | null",[10,222,191,223],{},[16,224,194],{},[25,226,228],{"id":227},"commands-and-runtime","Commands and runtime",[10,230,231],{},"These commands are supplied directly by this extension. Availability depends on the installed schema, selection and protection policy; query editor.can() first.",[36,233,234,244],{},[39,235,236],{},[42,237,238,241],{},[45,239,240],{},"Command",[45,242,243],{},"Parameter signature",[55,245,246,258],{},[42,247,248,253],{},[60,249,250],{},[16,251,252],{},"insertDataView",[60,254,255],{},[16,256,257],{},"insertDataView(input: DataViewInsertion)",[42,259,260,265],{},[60,261,262],{},[16,263,264],{},"replaceDataView",[60,266,267],{},[16,268,269],{},"replaceDataView(input: DataViewReplacement)",[10,271,272,273,277],{},"These are parameter signatures. See ",[69,274,276],{"href":275},"\u002Fen\u002Fbuild\u002Fcommands","commands and controls"," to connect UI while retaining one transaction\u002Fhistory authority.",[25,279,281],{"id":280},"next-steps","Next steps",[10,283,284,285,289,290,292],{},"Return to ",[69,286,288],{"href":287},"\u002Fen\u002Fplugins","all plugins",", or read ",[69,291,168],{"href":175}," to distinguish options, attributes and commands.",[10,294,295,296,300,301,305],{},"See ",[69,297,299],{"href":298},"\u002Fen\u002Fbuild\u002Fextension","extension development"," for custom capabilities and ",[69,302,304],{"href":303},"\u002Fen\u002Fbuild","Build a product"," for complete hosting.",[307,308,309],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}",{"title":107,"searchDepth":311,"depth":311,"links":312},2,[313,314,315,316,322,323],{"id":27,"depth":311,"text":28},{"id":99,"depth":311,"text":100},{"id":158,"depth":311,"text":159},{"id":168,"depth":311,"text":169,"children":317},[318,320,321],{"id":179,"depth":319,"text":179},3,{"id":197,"depth":319,"text":197},{"id":212,"depth":319,"text":212},{"id":227,"depth":311,"text":228},{"id":280,"depth":311,"text":281},"md",[5,18,326,327,179,197,212,252,264,5],"数据视图","objects","en",{"navigationTitle":5,"license":23},true,89,"\u002Fen\u002Fplugins\u002Freference\u002Fdata-view","Graphics and data",{"title":5,"description":12},"plugins\u002Freference\u002Fdata-view.en","3D1XRxvsEPzgRAsGmuT9QK-VxbAwX18pV3VvdYw7ui0",1793045228803]