mirror of
https://gitee.com/antv/g6.git
synced 2024-12-01 19:28:39 +08:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["docs/api/behaviors/DragCanvas.en.md"],"sourcesContent":["import API from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport Playground from '/home/runner/work/G6/G6/packages/site/node_modules/@antv/dumi-theme-antv/dist/builtins/Playground/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport '/home/runner/work/G6/G6/packages/site/common/api/behaviors/drag-canvas.md?watch=parent';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <><div className=\"markdown\"><div className=\"ob-codeblock\"><p meta=\"| ob { pin: false }\" /><SourceCode lang=\"js\">{$$contentTexts[0].value}</SourceCode></div><h2 id=\"options\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#options\"><span className=\"icon icon-link\" /></a>{\"Options\"}</h2><h3 id=\"key\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#key\"><span className=\"icon icon-link\" /></a>{\"key\"}</h3><blockquote><p><em>{$$contentTexts[1].value}</em></p></blockquote><p>{$$contentTexts[2].value}</p><p><en>{$$contentTexts[3].value}</en></p><SourceCode lang=\"typescript\">{$$contentTexts[4].value}</SourceCode><h3 id=\"type\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#type\"><span className=\"icon icon-link\" /></a><Badge type=\"success\">{$$contentTexts[5].value}</Badge>{\" type\"}</h3><blockquote><p><em>{$$contentTexts[6].value}</em></p></blockquote><p>{$$contentTexts[7].value}</p><h3 id=\"animation\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#animation\"><span className=\"icon icon-link\" /></a>{\"animation\"}</h3><blockquote><p><Link to=\"/en/api/reference/g6/viewportanimationeffecttiming\">{$$contentTexts[8].value}</Link></p></blockquote><p>{$$contentTexts[9].value}</p><h3 id=\"direction\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#direction\"><span className=\"icon icon-link\" /></a>{\"direction\"}</h3><blockquote><p><em>{$$contentTexts[10].value}</em>{$$contentTexts[11].value}<strong>{$$contentTexts[12].value}</strong>{$$contentTexts[13].value}</p></blockquote><p>{$$contentTexts[14].value}</p><ul><li><p><code>{$$contentTexts[15].value}</code>{$$contentTexts[16].value}</p></li><li><p><code>{$$contentTexts[17].value}</code>{$$contentTexts[18].value}</p></li><li><p><code>{$$contentTexts[19].value}</code>{$$contentTexts[20].value}</p></li></ul><h3 id=\"enable\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#enable\"><span className=\"icon icon-link\" /></a>{\"enable\"}</h3><blockquote><p><em>{$$contentTexts[21].value}</em>{$$contentTexts[22].value}<Link to=\"/en/api/reference/g6/ipointerevent\">{$$contentTexts[23].value}</Link>{$$contentTexts[24].value}<em>{$$contentTexts[25].value}</em>{$$contentTexts[26].value}<Link to=\"/en/api/reference/g6/ikeyboardevent\">{$$contentTexts[27].value}</Link><em>{$$contentTexts[28].value}</em>{$$contentTexts[29].value}<strong>{$$contentTexts[30].value}</strong>{$$contentTexts[31].value}<code>{$$contentTexts[32].value}</code></p></blockquote><p>{$$contentTexts[33].value}</p><h3 id=\"onfinish\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#onfinish\"><span className=\"icon icon-link\" /></a>{\"onFinish\"}</h3><blockquote><p><em>{$$contentTexts[34].value}</em></p></blockquote><p>{$$contentTexts[35].value}</p><h3 id=\"range\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#range\"><span className=\"icon icon-link\" /></a>{\"range\"}</h3><blockquote><p><em>{$$contentTexts[36].value}</em>{$$contentTexts[37].value}<strong>{$$contentTexts[38].value}</strong>{$$contentTexts[39].value}<code>{$$contentTexts[40].value}</code></p></blockquote><p>{$$contentTexts[41].value}</p><h3 id=\"sensitivity\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#sensitivity\"><span className=\"icon icon-link\" /></a>{\"sensitivity\"}</h3><blockquote><p><em>{$$contentTexts[42].value}</em>{$$contentTexts[43].value}<strong>{$$contentTexts[44].value}</strong>{$$contentTexts[45].value}<code>{$$contentTexts[46].value}</code></p></blockquote><p>{$$contentTexts[47].value}</p><h3 id=\"trigger\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#trigger\"><span className=\"icon icon-link\" /></a>{\"trigger\"}</h3><blockquote><p><em>{$$contentTexts[48].value}</em>{$$contentTexts[49].value}<em>{$$contentTexts[50].value}</em><em>{$$contentTexts[51].value}</em>{$$contentTexts[52].value}<em>{$$contentTexts[53].value}</em><em>{$$contentTexts[54].value}</em>{$$contentTexts[55].value}<em>{$$contentTexts[56].value}</em><em>{$$contentTexts[57].value}</em>{$$contentTexts[58].value}<em>{$$contentTexts[59].value}</em><em>{$$contentTexts[60].value}</em></p></blockquote><p>{$$contentTexts[61].value}</p><h2 id=\"api\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#api\"><span className=\"icon icon-link\" /></a>{\"API\"}</h2><h3 id=\"dragcanvasdestroy\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#dragcanvasdestroy\"><span className=\"icon icon-link\" /></a>{\"DragCanvas.destroy()\"}</h3><SourceCode lang=\"typescript\">{$$contentTexts[62].value}</SourceCode></div></>;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return <DumiPage><Suspense fallback={<LoadingComponent />}><DumiMarkdownInner /></Suspense></DumiPage>;\n}\n\nexport default Dumi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