浏览代码

fix: 样式调整

leo 1 年之前
父节点
当前提交
57a2bfc164
共有 5 个文件被更改,包括 106 次插入95 次删除
  1. 1 1
      packages/yili-dag/package.json
  2. 4 0
      packages/yili-dag/src/ScriptNodeInfo.tsx
  3. 2 2
      packages/yili-dag/style/ScriptNodeInfo.css
  4. 92 92
      tsconfigdoc.json
  5. 7 0
      yarn.lock

+ 1 - 1
packages/yili-dag/package.json

@@ -86,4 +86,4 @@
     "schemaDir": "schema"
   },
   "styleModule": "style/index.js"
-}
+}

+ 4 - 0
packages/yili-dag/src/ScriptNodeInfo.tsx

@@ -144,6 +144,10 @@ export default class ScriptNodeInfo extends React.Component<any, any> {
   };
 
   changeCollapse = async (val: any) => {
+    this.setState({
+      columns: [],
+      tableData: []
+    });
     if (this.props.scriptInputs[val]?.source_type === 'InputSource') {
       const { data } = await getSqlDsTable(
         this.props.scriptInputs[val].source_tableName

+ 2 - 2
packages/yili-dag/style/ScriptNodeInfo.css

@@ -14,12 +14,12 @@
 }
 
 .modal-table {
-  width: 40%;
+  width: 50%;
   overflow: auto;
 }
 
 .modal-script {
-  width: 60%;
+  width: 50%;
   overflow: auto;
   border: 1px solid #ddd;
   display: flex;

+ 92 - 92
tsconfigdoc.json

@@ -20,280 +20,280 @@
   },
   "references": [
     {
-      "path": "./packages\\application"
+      "path": "./packages/application"
     },
     {
-      "path": "./packages\\apputils"
+      "path": "./packages/apputils"
     },
     {
-      "path": "./packages\\apputils-extension"
+      "path": "./packages/apputils-extension"
     },
     {
-      "path": "./packages\\attachments"
+      "path": "./packages/attachments"
     },
     {
-      "path": "./packages\\cell-toolbar"
+      "path": "./packages/cell-toolbar"
     },
     {
-      "path": "./packages\\cell-toolbar-extension"
+      "path": "./packages/cell-toolbar-extension"
     },
     {
-      "path": "./packages\\cells"
+      "path": "./packages/cells"
     },
     {
-      "path": "./packages\\celltags"
+      "path": "./packages/celltags"
     },
     {
-      "path": "./packages\\celltags-extension"
+      "path": "./packages/celltags-extension"
     },
     {
-      "path": "./packages\\codeeditor"
+      "path": "./packages/codeeditor"
     },
     {
-      "path": "./packages\\codemirror"
+      "path": "./packages/codemirror"
     },
     {
-      "path": "./packages\\codemirror-extension"
+      "path": "./packages/codemirror-extension"
     },
     {
-      "path": "./packages\\completer"
+      "path": "./packages/completer"
     },
     {
-      "path": "./packages\\completer-extension"
+      "path": "./packages/completer-extension"
     },
     {
-      "path": "./packages\\console"
+      "path": "./packages/console"
     },
     {
-      "path": "./packages\\console-extension"
+      "path": "./packages/console-extension"
     },
     {
-      "path": "./packages\\coreutils"
+      "path": "./packages/coreutils"
     },
     {
-      "path": "./packages\\csvviewer"
+      "path": "./packages/csvviewer"
     },
     {
-      "path": "./packages\\csvviewer-extension"
+      "path": "./packages/csvviewer-extension"
     },
     {
-      "path": "./packages\\debugger"
+      "path": "./packages/debugger"
     },
     {
-      "path": "./packages\\debugger-extension"
+      "path": "./packages/debugger-extension"
     },
     {
-      "path": "./packages\\docmanager"
+      "path": "./packages/docmanager"
     },
     {
-      "path": "./packages\\docmanager-extension"
+      "path": "./packages/docmanager-extension"
     },
     {
-      "path": "./packages\\docprovider"
+      "path": "./packages/docprovider"
     },
     {
-      "path": "./packages\\docprovider-extension"
+      "path": "./packages/docprovider-extension"
     },
     {
-      "path": "./packages\\docregistry"
+      "path": "./packages/docregistry"
     },
     {
-      "path": "./packages\\documentsearch"
+      "path": "./packages/documentsearch"
     },
     {
-      "path": "./packages\\documentsearch-extension"
+      "path": "./packages/documentsearch-extension"
     },
     {
-      "path": "./packages\\extensionmanager"
+      "path": "./packages/extensionmanager"
     },
     {
-      "path": "./packages\\extensionmanager-extension"
+      "path": "./packages/extensionmanager-extension"
     },
     {
-      "path": "./packages\\filebrowser"
+      "path": "./packages/filebrowser"
     },
     {
-      "path": "./packages\\filebrowser-extension"
+      "path": "./packages/filebrowser-extension"
     },
     {
-      "path": "./packages\\fileeditor"
+      "path": "./packages/fileeditor"
     },
     {
-      "path": "./packages\\fileeditor-extension"
+      "path": "./packages/fileeditor-extension"
     },
     {
-      "path": "./packages\\help-extension"
+      "path": "./packages/help-extension"
     },
     {
-      "path": "./packages\\htmlviewer"
+      "path": "./packages/htmlviewer"
     },
     {
-      "path": "./packages\\htmlviewer-extension"
+      "path": "./packages/htmlviewer-extension"
     },
     {
-      "path": "./packages\\hub-extension"
+      "path": "./packages/hub-extension"
     },
     {
-      "path": "./packages\\imageviewer"
+      "path": "./packages/imageviewer"
     },
     {
-      "path": "./packages\\imageviewer-extension"
+      "path": "./packages/imageviewer-extension"
     },
     {
-      "path": "./packages\\inspector"
+      "path": "./packages/inspector"
     },
     {
-      "path": "./packages\\inspector-extension"
+      "path": "./packages/inspector-extension"
     },
     {
-      "path": "./packages\\javascript-extension"
+      "path": "./packages/javascript-extension"
     },
     {
-      "path": "./packages\\jldbq-extenison"
+      "path": "./packages/jldbq-extenison"
     },
     {
-      "path": "./packages\\json-extension"
+      "path": "./packages/json-extension"
     },
     {
-      "path": "./packages\\launcher"
+      "path": "./packages/launcher"
     },
     {
-      "path": "./packages\\launcher-extension"
+      "path": "./packages/launcher-extension"
     },
     {
-      "path": "./packages\\logconsole"
+      "path": "./packages/logconsole"
     },
     {
-      "path": "./packages\\logconsole-extension"
+      "path": "./packages/logconsole-extension"
     },
     {
-      "path": "./packages\\mainmenu"
+      "path": "./packages/mainmenu"
     },
     {
-      "path": "./packages\\mainmenu-extension"
+      "path": "./packages/mainmenu-extension"
     },
     {
-      "path": "./packages\\markdownviewer"
+      "path": "./packages/markdownviewer"
     },
     {
-      "path": "./packages\\markdownviewer-extension"
+      "path": "./packages/markdownviewer-extension"
     },
     {
-      "path": "./packages\\mathjax2"
+      "path": "./packages/mathjax2"
     },
     {
-      "path": "./packages\\mathjax2-extension"
+      "path": "./packages/mathjax2-extension"
     },
     {
-      "path": "./packages\\mytest-extenison"
+      "path": "./packages/mytest-extenison"
     },
     {
-      "path": "./packages\\nbformat"
+      "path": "./packages/nbformat"
     },
     {
-      "path": "./packages\\notebook"
+      "path": "./packages/notebook"
     },
     {
-      "path": "./packages\\notebook-extension"
+      "path": "./packages/notebook-extension"
     },
     {
-      "path": "./packages\\observables"
+      "path": "./packages/observables"
     },
     {
-      "path": "./packages\\outputarea"
+      "path": "./packages/outputarea"
     },
     {
-      "path": "./packages\\pdf-extension"
+      "path": "./packages/pdf-extension"
     },
     {
-      "path": "./packages\\property-inspector"
+      "path": "./packages/property-inspector"
     },
     {
-      "path": "./packages\\rendermime"
+      "path": "./packages/rendermime"
     },
     {
-      "path": "./packages\\rendermime-extension"
+      "path": "./packages/rendermime-extension"
     },
     {
-      "path": "./packages\\rendermime-interfaces"
+      "path": "./packages/rendermime-interfaces"
     },
     {
-      "path": "./packages\\running"
+      "path": "./packages/running"
     },
     {
-      "path": "./packages\\running-extension"
+      "path": "./packages/running-extension"
     },
     {
-      "path": "./packages\\services"
+      "path": "./packages/services"
     },
     {
-      "path": "./packages\\settingeditor"
+      "path": "./packages/settingeditor"
     },
     {
-      "path": "./packages\\settingeditor-extension"
+      "path": "./packages/settingeditor-extension"
     },
     {
-      "path": "./packages\\settingregistry"
+      "path": "./packages/settingregistry"
     },
     {
-      "path": "./packages\\shared-models"
+      "path": "./packages/shared-models"
     },
     {
-      "path": "./packages\\shortcuts-extension"
+      "path": "./packages/shortcuts-extension"
     },
     {
-      "path": "./packages\\statedb"
+      "path": "./packages/statedb"
     },
     {
-      "path": "./packages\\statusbar"
+      "path": "./packages/statusbar"
     },
     {
-      "path": "./packages\\statusbar-extension"
+      "path": "./packages/statusbar-extension"
     },
     {
-      "path": "./packages\\terminal"
+      "path": "./packages/terminal"
     },
     {
-      "path": "./packages\\terminal-extension"
+      "path": "./packages/terminal-extension"
     },
     {
-      "path": "./packages\\theme-light-extension"
+      "path": "./packages/theme-light-extension"
     },
     {
-      "path": "./packages\\toc"
+      "path": "./packages/toc"
     },
     {
-      "path": "./packages\\toc-extension"
+      "path": "./packages/toc-extension"
     },
     {
-      "path": "./packages\\tooltip"
+      "path": "./packages/tooltip"
     },
     {
-      "path": "./packages\\tooltip-extension"
+      "path": "./packages/tooltip-extension"
     },
     {
-      "path": "./packages\\translation"
+      "path": "./packages/translation"
     },
     {
-      "path": "./packages\\translation-extension"
+      "path": "./packages/translation-extension"
     },
     {
-      "path": "./packages\\ui-components"
+      "path": "./packages/ui-components"
     },
     {
-      "path": "./packages\\ui-components-extension"
+      "path": "./packages/ui-components-extension"
     },
     {
-      "path": "./packages\\vdom"
+      "path": "./packages/vdom"
     },
     {
-      "path": "./packages\\vdom-extension"
+      "path": "./packages/vdom-extension"
     },
     {
-      "path": "./packages\\vega5-extension"
+      "path": "./packages/vega5-extension"
     },
     {
-      "path": "./packages\\yili-dag"
+      "path": "./packages/yili-dag"
     }
   ]
 }

+ 7 - 0
yarn.lock

@@ -7174,6 +7174,13 @@ copy-to-clipboard@^3.0.8, copy-to-clipboard@^3.2.0:
   dependencies:
     toggle-selection "^1.0.6"
 
+copy-to-clipboard@^3.3.2:
+  version "3.3.3"
+  resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0"
+  integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==
+  dependencies:
+    toggle-selection "^1.0.6"
+
 core-js-compat@^3.14.0, core-js-compat@^3.15.0:
   version "3.15.2"
   resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.15.2.tgz#47272fbb479880de14b4e6081f71f3492f5bd3cb"