From 5c54a47aa2fbb79451e8234721e3be38ba47490b Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Feb 2019 10:21:45 +0300 Subject: [PATCH 01/17] added menu --- src/components/App.js | 88 +++++++++++++++++++++---------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index e8b39aca1..0818e706b 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,7 +1,7 @@ import React from 'react' //import {Col, Row} from "antd"; import { - Layout, Menu, Breadcrumb, Icon, + Layout, Menu, Breadcrumb, Icon, } from 'antd'; import ClassTreeView from './ClassTreeView' @@ -11,50 +11,50 @@ const { Header, Content, Sider } = Layout; const { SubMenu } = Menu; const App = () => { - return ( - -
- {/* - // TODO : left side navigation menu + return ( + +
+ {/* + // TODO : left side navigation menu */} -
- - nav 1 - nav 2 - nav 3 - -
- - - - - - - Home - List - App - - - - - - -
- ); +
+ + nav 1 + nav 2 + nav 3 + +
+ + + + + + + Home + List + App + + + + + + +
+ ); }; export default App From 7f826567b668ddb76183460ec2446d3213644ae9 Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Feb 2019 11:15:20 +0300 Subject: [PATCH 02/17] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .project | 11 ++++++ src/components/App.js | 88 +++++++++++++++++++++---------------------- 2 files changed, 55 insertions(+), 44 deletions(-) create mode 100644 .project diff --git a/.project b/.project new file mode 100644 index 000000000..99f0058d5 --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + rdf-scheme-editor + + + + + + + + diff --git a/src/components/App.js b/src/components/App.js index e8b39aca1..0818e706b 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,7 +1,7 @@ import React from 'react' //import {Col, Row} from "antd"; import { - Layout, Menu, Breadcrumb, Icon, + Layout, Menu, Breadcrumb, Icon, } from 'antd'; import ClassTreeView from './ClassTreeView' @@ -11,50 +11,50 @@ const { Header, Content, Sider } = Layout; const { SubMenu } = Menu; const App = () => { - return ( - -
- {/* - // TODO : left side navigation menu + return ( + +
+ {/* + // TODO : left side navigation menu */} -
- - nav 1 - nav 2 - nav 3 - -
- - - - - - - Home - List - App - - - - - - -
- ); +
+ + nav 1 + nav 2 + nav 3 + +
+ + + + + + + Home + List + App + + + + + + +
+ ); }; export default App From 9c1137fdef9e9012494b2b3fcaf0fcdf4bd9e3c7 Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Feb 2019 11:25:11 +0300 Subject: [PATCH 03/17] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 109 +++++++++++++++++++++--------------------- 1 file changed, 55 insertions(+), 54 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index 0818e706b..b675c7715 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,60 +1,61 @@ -import React from 'react' -//import {Col, Row} from "antd"; -import { - Layout, Menu, Breadcrumb, Icon, -} from 'antd'; -import ClassTreeView from './ClassTreeView' -import PropertyEditor from './PropertyEditor' +import React from 'react'; +import ReactDOM from 'react-dom'; +import 'antd/dist/antd.css'; +import './index.css'; +import { Menu, Icon } from 'antd'; -const { Header, Content, Sider } = Layout; -const { SubMenu } = Menu; +const SubMenu = Menu.SubMenu; +const MenuItemGroup = Menu.ItemGroup; -const App = () => { +class Sider extends React.Component { + handleClick = (e) => { + console.log('click ', e); + } + + render() { return ( - -
- {/* - // TODO : left side navigation menu - */} -
- - nav 1 - nav 2 - nav 3 - -
- - - - - - - Home - List - App - - - - - - -
+ + + + + New repository + Delete repository + + + + Summery + Namespace + Contexts + Types + Explore + Query + Saved Querles + Export + + + + SPARQL Update + Add + Remove + Clear + + + + Information + + + + ); -}; + } +} -export default App +ReactDOM.render(, document.getElementById('container')); + \ No newline at end of file From b256fa2b457d7543bf78d86c8d3124880a153a84 Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 18:29:34 +0300 Subject: [PATCH 04/17] =?UTF-8?q?1.=20=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BC=D0=B5=D0=BD=D1=8E.=202.=20=D0=92=D1=8B?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=BE=20=D0=B7=D0=B0=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20#5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my-app/package.json | 5 + package-lock.json | 28 ++- package.json | 32 +-- src/components/.vs/ProjectSettings.json | 3 + src/components/.vs/VSWorkspaceState.json | 6 + src/components/.vs/components/v15/.suo | Bin 0 -> 15360 bytes src/components/.vs/slnx.sqlite | Bin 0 -> 77824 bytes src/components/App.js | 292 +++++++++++++++++++---- src/index.js | 17 +- 9 files changed, 286 insertions(+), 97 deletions(-) create mode 100644 my-app/package.json create mode 100644 src/components/.vs/ProjectSettings.json create mode 100644 src/components/.vs/VSWorkspaceState.json create mode 100644 src/components/.vs/components/v15/.suo create mode 100644 src/components/.vs/slnx.sqlite diff --git a/my-app/package.json b/my-app/package.json new file mode 100644 index 000000000..973ccff60 --- /dev/null +++ b/my-app/package.json @@ -0,0 +1,5 @@ +{ + "name": "my-app", + "version": "0.1.0", + "private": true +} diff --git a/package-lock.json b/package-lock.json index 7b12d6fcd..a35a990bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5998,7 +5998,8 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", @@ -6007,7 +6008,8 @@ }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -6121,6 +6123,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -6146,6 +6149,7 @@ "minipass": { "version": "2.3.5", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -6162,6 +6166,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -6245,6 +6250,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -6350,6 +6356,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -9685,7 +9692,8 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", @@ -9694,7 +9702,8 @@ }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -9797,7 +9806,8 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -9807,6 +9817,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -9826,11 +9837,13 @@ }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "optional": true }, "minipass": { "version": "2.2.4", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -9847,6 +9860,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -9930,6 +9944,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -10035,6 +10050,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", diff --git a/package.json b/package.json index cbe72fdfd..c22d92378 100755 --- a/package.json +++ b/package.json @@ -30,39 +30,11 @@ "eslintConfig": { "extends": "react-app" }, + "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" - ], - "devDependencies": { - "@babel/core": "^7.2.2", - "@storybook/addon-a11y": "4.1.11", - "@storybook/addon-actions": "4.1.11", - "@storybook/addon-backgrounds": "4.1.11", - "@storybook/addon-centered": "4.1.11", - "@storybook/addon-console": "^1.1.0", - "@storybook/addon-events": "4.1.11", - "@storybook/addon-info": "4.1.11", - "@storybook/addon-jest": "4.1.11", - "@storybook/addon-knobs": "4.1.11", - "@storybook/addon-links": "4.1.11", - "@storybook/addon-notes": "4.1.11", - "@storybook/addon-options": "4.1.11", - "@storybook/addon-storyshots": "4.1.11", - "@storybook/addons": "4.1.11", - "@storybook/client-logger": "4.1.11", - "@storybook/react": "4.1.11", - "babel-loader": "^8.0.5", - "react-test-renderer": "^16.8.1", - "require-context.macro": "^1.0.4", - "storybook-addon-i18next": "^0.1.2", - "enzyme": "^3.7.0", - "enzyme-adapter-react-16": "^1.9.1", - "enzyme-to-json": "^3.3.4", - "jest": "^23.6.0", - "jest-emotion": "^10.0.7", - "react-scripts": "^2.1.3" - } + ] } diff --git a/src/components/.vs/ProjectSettings.json b/src/components/.vs/ProjectSettings.json new file mode 100644 index 000000000..f8b488856 --- /dev/null +++ b/src/components/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/src/components/.vs/VSWorkspaceState.json b/src/components/.vs/VSWorkspaceState.json new file mode 100644 index 000000000..6b6114114 --- /dev/null +++ b/src/components/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/src/components/.vs/components/v15/.suo b/src/components/.vs/components/v15/.suo new file mode 100644 index 0000000000000000000000000000000000000000..efc62189150d37976ebef7e42872ce26b3775be2 GIT binary patch literal 15360 zcmeI2-)~e!6vw9^D)j9GOu!cBr(qwq@rrQjg zIo?@wRYMs%beauIWByp3TDJ!$kNx!9&5li!`|3GY_yia;=7Kp2_GwbXW}!|irN29o z$RN8*|5pAwO*Z0dgU2tt^CnFXvL*$L!;2{(RVY{OwcV`iXcT{(#=a{wIA$(^C2eM) zUvNHvIZjTt8sb8}@N1542Gox_#qIA;i2c0oB>i8IfIxa9|6Twd1vIvg15W@?0#5;&Ed-Ui+Qb^#Hf2Y46g1^R$~U^g%T z>;d)ygTOvuKX3pz2)qZp4;%tK&3X?7zK2PV1ip`wJ_dXQ91r9N>sLyzo)NCylOZgg zjJarLv39b&!`eNt!iFyF5A6YD7YLKftsS4>x5ifC6nJysJ&vuD!x9=dUsxL~ZxYrr z%DG}yW7$92lgJ(ki+_x=l5K?vu%5C!NSkxK7wCcPzsvL|QP=vD>^l2TwozF8A5&Iy zO+j|2tjsL7-xPM>2zb+c=Zv>ZQ}iQmV)RY+dCJB`t{eb=P*1y7YsZpTUt*lr69rtN zIcfXS0~a#%L$>LR#oWUPW$0nj_T-Z7h1xiT{ViSLZ9m^`t@k)TJ^vfQFGTXqB&6dMK4k=w(3pq1toaO`blgg$+Yz}x%FBRH`vJ!dS6A`A zCiWje{uf(nKIJHPaiguoEoGOO|4y>bK;ax5$(SohMFx(GH;(F})D^Mx!hfv~(*0ri zKT27@|Eh)mG}tvW;+FGMMWlgL&ocR6F6VBZO+)c{q+gQesSh9xBzHmo7QVGkhNb@q zWxJ#_31euT3uY8-*}LZWgk8a0xoWZWk93Lmy;Lg~%>R%N=}d(<96kr7=Xu0yua6`H zDL~)SgY!##D3yY};MZK%nje<_4=C&Be>r~XKjGH6i2wC;@D3=E?W#R#So|tKp$dfR z_^&c2v?8Qk!74HM?fzf(PFVcG`CpEI6kgAQReqS@TrA~!u`|e@#Vgzj#Xr?kk`?Jd zg&6cnujW_@XTW{sE-7^7s>Q6o4dbsx{~0^uq}#Oy)(_oH;E&O)^p!$6|FycL=)*-M zK4WDuU$Y-O8Grddq|d_gKT6popiqv#-h6Ylim{hJJNO~T|1j14{FB{MP({T?S1@%i zaC==A?Dlfc@z^O`9Vc0emId_SK#S2NU(T$h>DHRndFA7juxp&pHRg|&p=<{4r7QyJ zy+2!qDtD%Nkx|p$ajk20FLz!8$`d7PtCdFVGP+%}EDL2b?0rSuUo9h#qArVtD=+E{ z+R@p$Yga$YGnIypX}cnOx%A)0v>IiOUdd#uP$o}T>8=an8VnuF+`apAhz8Lv71#d# zED*Q*-g#!2Zu5N3zH*Xu66uWCy^8!fnsX7L=x;Atl+ru1*5@)u3C&TrVk{x5k`Vso z1f3fR3SJN$^{GigSEWAn;33P=&$6e-2_dP+%MzMW$iso)Y^kDyLho=2V63fw@ z<&~dGgWukH)Lq9$_^)$Ug;8_ToHjb=E4^HVk5`mZ|U{r!(liiDm2QOd5C`yb`{w=(@fEm_Kow*Ft&As;|n S|Ch=|*sr$!56h|hQ|^C%o4B(8 literal 0 HcmV?d00001 diff --git a/src/components/.vs/slnx.sqlite b/src/components/.vs/slnx.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..b73989b00b61256c84e697bf732d5656d296b981 GIT binary patch literal 77824 zcmeI5du$uYdB92WB~l_+KFLQv&i2}OK8a_oj=Rf!<(eisias+ZOR^~0F+c4tP*+NJq=hp_f$YeVm_Vq`25jYi(i zvXMyS2>c(1|K86Se29A&@H^`Jyw}Gg5$=C(Ca5s;3YB??d1dt0$ahE1W=^NusgEXq z6t`kuixpz0_bLG6k-!^DAel=#_3xa?rt(*~=+4D@(;_d_Zf_WyjX7f1oApk8v$@{= z*t~we-XK+Ly*fxJS6;5nu2k6S!d&H@?6m`xv6juS?Bc?1={0uhTCmc!!p`_;DqjXA z%Y&6%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5 zja&Hn#pO!%nFZ%z2)utUy?oCw{>Pp$!96CY`+N`qXWERV^8E4W&Z+J#D(Q6U&FemE zs&!-HLGyECeR4gkbCdRRkHXSWG7m3Gx$2l&`zGA;ko7jXxlNx=Lzl6Dp@kBsn&98l zkh8FJA)3k`KOTMYx>KgBfctAGP{uV+yZ#fc8}s^^rt?OTLC-(X8}#`f_y2dTZ(sxx zKmter2_OL^fCP{L5_x2rlpk2_OL^fCSzw z1YR0Dlse3D!ymeGt4^M$rvm6{8D|r&PTJvXcLn-#wQ_|Gr?GlFo4Hb5xd6v~%B#z@ z>gCFAnc13q{E8kls=@K5@(LT?7^qt8Y>jJY6k~=rp^UI4Dch%b89EJ_i#fAQ5SIho2)qH7YfO_LY-D$w_3ukY=kH>ijRB(?en7CIFy?v*kINg5g$9Ra>rms2M)P?tM zG0ryn-Q%GhPpU^hAH6yh+&~H@4&3Xcx$bj2sb6|e<^G1Hx8wNw?GJkUqux%vzg4{r zSid@+U{`zCtn?xvr*DUI&r_QBeu&^c_J-XJxZcr5ua&RiSw`?}Je#{`ujAQV=WsQh zBllz!I4g{2bAyK=yGLevQ$hG3>QBzuT>Ab$-2Z>G+~%VmNB{{S0VIF~kN^@u0!RP} NAOR$R1YR2g{|A0qec1p2 literal 0 HcmV?d00001 diff --git a/src/components/App.js b/src/components/App.js index 0818e706b..a147e0b6c 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,60 +1,258 @@ import React from 'react' //import {Col, Row} from "antd"; import { - Layout, Menu, Breadcrumb, Icon, + Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag } from 'antd'; -import ClassTreeView from './ClassTreeView' -import PropertyEditor from './PropertyEditor' +import 'antd/dist/antd.css'; + + + + function handleMenuClick(e) { + message.info('Click on menu item.'); + console.log('click', e); + } + + function onShowSizeChange(current, pageSize) { + console.log(current, pageSize); + } + + function onSelect(value) { + console.log('onSelect', value); + } + + function onChange(e) { + console.log(`checked = ${e.target.checked}`); + } + + const { Header, Content, Sider } = Layout; -const { SubMenu } = Menu; +const MenuItemGroup = Menu.ItemGroup; +const SubMenu = Menu.SubMenu; + +const menu2 = ( + + All + 10 + 50 + 100 + 200 + + + + ); + + + const columns = [{ + title: 'Subject', + dataIndex: 'name', + key: 'name', + render: text => {text}, + }, { + title: 'Predicate', + dataIndex: 'age', + key: 'age', + }, { + title: 'Object', + dataIndex: 'address', + key: 'address', + }, { + title: 'Context', + key: 'tags', + dataIndex: 'tags', + render: tags => ( + + {tags.map(tag => { + let color = tag.length > 5 ? 'geekblue' : 'green'; + if (tag === 'loser') { + color = 'volcano'; + } + return {tag.toUpperCase()}; + })} + + ), + + }]; + + + const data = [{ + key: '1', + name: '', + address: '', + tags: [], + }, { + key: '2', + name: '', + + address: '', + tags: [], + }, { + key: '', + name: '', + + address: '', + tags: [], + }]; + + const App = () => { - return ( - -
- {/* - // TODO : left side navigation menu - */} -
- - nav 1 - nav 2 - nav 3 - -
- - - - - - - Home - List - App - - - - - - -
+ + return ( + +
+
+ + RDF4J + + +
+ + + const menu = ( + + + + + + + + + RDF4J Server} + style={{ background: "#E8EAED",}} > + + + Repositories}> + + New repository + Delete repository + + + + Explore} + style={{ background: "#E8EAED" }} > + + + Summary + Namespaces + Contexts + Types + Explore + Query + Saved Queries + Export + + + Modify} + style={{ background: "#E8EAED" }} > + + + SPARQL Update + Add + Remove + Clear + + + System} + style={{ background: "#E8EAED" }} > + + + + Information + + + + + + + + + + + + Explore + + + + + Show data types & language tags + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + ); + }; export default App diff --git a/src/index.js b/src/index.js index 28f1ce1fa..dfed167e9 100644 --- a/src/index.js +++ b/src/index.js @@ -1,21 +1,10 @@ import React from 'react' import { render } from 'react-dom' -import { createStore } from 'redux' -import { Provider } from 'react-redux' import App from './components/App' -import rootReducer from './reducers' - -import {ConnectedRouter} from "react-router-redux"; -import {Route, Switch} from "react-router-dom"; - -import "assets/vendors/style"; -import "styles/flexile.less"; - -const store = createStore(rootReducer) render( - - - , + + , + document.getElementById('root') ) From 4071bc2b72929f85edcdad5d654f4dec7067a91f Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 18:37:48 +0300 Subject: [PATCH 05/17] =?UTF-8?q?1.=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8E.=202.=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8=D0=BB=D0=B0=20=D0=B7=D0=B0=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20#5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index a147e0b6c..191b7bc3c 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,5 +1,7 @@ import React from 'react' //import {Col, Row} from "antd"; + +// import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag } from 'antd'; @@ -237,7 +239,7 @@ const App = () => { - +
From a569743aa525ea5619cad659a2b30bb70f7e4f04 Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 18:40:04 +0300 Subject: [PATCH 06/17] =?UTF-8?q?1=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index 191b7bc3c..8c9b38501 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,6 +1,6 @@ import React from 'react' //import {Col, Row} from "antd"; - +// // import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag From 2362008a3c488934d55298682f2d5b9824579c7a Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 18:43:03 +0300 Subject: [PATCH 07/17] =?UTF-8?q?1.=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index 8c9b38501..9a6bc0f98 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,6 +1,6 @@ import React from 'react' //import {Col, Row} from "antd"; -// +//// // import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag From 415dbbbd38aa3485fabeb501145b9d821ad43546 Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 18:44:09 +0300 Subject: [PATCH 08/17] =?UTF-8?q?1.=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index 9a6bc0f98..bb4dd34f4 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,7 +1,6 @@ import React from 'react' //import {Col, Row} from "antd"; -//// -// +///// import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag } from 'antd'; From c1705fa13d9a3b23d2301da7c4ebdc02a671620d Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 19:25:24 +0300 Subject: [PATCH 09/17] test --- src/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index bb4dd34f4..80724a187 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,6 +1,6 @@ import React from 'react' //import {Col, Row} from "antd"; -///// +/////// import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag } from 'antd'; From 59c70938db421db5773945cbf196cfcc7c91c01f Mon Sep 17 00:00:00 2001 From: tatiana Date: Sat, 9 Mar 2019 19:27:19 +0300 Subject: [PATCH 10/17] test --- src/components/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index 80724a187..8c9b38501 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,6 +1,7 @@ import React from 'react' //import {Col, Row} from "antd"; -/////// +// +// import { Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag } from 'antd'; From bdde7a7d1e21b71885d8603fbcab31db16474409 Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 13 Mar 2019 12:23:56 +0300 Subject: [PATCH 11/17] =?UTF-8?q?=D0=92=D0=BD=D0=B5=D1=81=D0=BB=D0=B0=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .project | 11 - my-app/package.json | 5 - package-lock.json | 28 +-- package.json | 32 ++- src/App2.stories.js | 264 +++++++++++++++++++++ src/components/.vs/ProjectSettings.json | 3 - src/components/.vs/VSWorkspaceState.json | 6 - src/components/.vs/components/v15/.suo | Bin 15360 -> 0 bytes src/components/.vs/slnx.sqlite | Bin 77824 -> 0 bytes src/components/App.js | 290 ++++------------------- src/index.js | 17 +- 11 files changed, 359 insertions(+), 297 deletions(-) delete mode 100644 .project delete mode 100644 my-app/package.json create mode 100644 src/App2.stories.js delete mode 100644 src/components/.vs/ProjectSettings.json delete mode 100644 src/components/.vs/VSWorkspaceState.json delete mode 100644 src/components/.vs/components/v15/.suo delete mode 100644 src/components/.vs/slnx.sqlite diff --git a/.project b/.project deleted file mode 100644 index 99f0058d5..000000000 --- a/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - rdf-scheme-editor - - - - - - - - diff --git a/my-app/package.json b/my-app/package.json deleted file mode 100644 index 973ccff60..000000000 --- a/my-app/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "my-app", - "version": "0.1.0", - "private": true -} diff --git a/package-lock.json b/package-lock.json index a35a990bd..7b12d6fcd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5998,8 +5998,7 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "concat-map": { "version": "0.0.1", @@ -6008,8 +6007,7 @@ }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "core-util-is": { "version": "1.0.2", @@ -6123,7 +6121,6 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -6149,7 +6146,6 @@ "minipass": { "version": "2.3.5", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -6166,7 +6162,6 @@ "mkdirp": { "version": "0.5.1", "bundled": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -6250,7 +6245,6 @@ "once": { "version": "1.4.0", "bundled": true, - "optional": true, "requires": { "wrappy": "1" } @@ -6356,7 +6350,6 @@ "string-width": { "version": "1.0.2", "bundled": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -9692,8 +9685,7 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "concat-map": { "version": "0.0.1", @@ -9702,8 +9694,7 @@ }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "core-util-is": { "version": "1.0.2", @@ -9806,8 +9797,7 @@ }, "inherits": { "version": "2.0.3", - "bundled": true, - "optional": true + "bundled": true }, "ini": { "version": "1.3.5", @@ -9817,7 +9807,6 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -9837,13 +9826,11 @@ }, "minimist": { "version": "0.0.8", - "bundled": true, - "optional": true + "bundled": true }, "minipass": { "version": "2.2.4", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -9860,7 +9847,6 @@ "mkdirp": { "version": "0.5.1", "bundled": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -9944,7 +9930,6 @@ "once": { "version": "1.4.0", "bundled": true, - "optional": true, "requires": { "wrappy": "1" } @@ -10050,7 +10035,6 @@ "string-width": { "version": "1.0.2", "bundled": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", diff --git a/package.json b/package.json index c22d92378..cbe72fdfd 100755 --- a/package.json +++ b/package.json @@ -30,11 +30,39 @@ "eslintConfig": { "extends": "react-app" }, - "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" - ] + ], + "devDependencies": { + "@babel/core": "^7.2.2", + "@storybook/addon-a11y": "4.1.11", + "@storybook/addon-actions": "4.1.11", + "@storybook/addon-backgrounds": "4.1.11", + "@storybook/addon-centered": "4.1.11", + "@storybook/addon-console": "^1.1.0", + "@storybook/addon-events": "4.1.11", + "@storybook/addon-info": "4.1.11", + "@storybook/addon-jest": "4.1.11", + "@storybook/addon-knobs": "4.1.11", + "@storybook/addon-links": "4.1.11", + "@storybook/addon-notes": "4.1.11", + "@storybook/addon-options": "4.1.11", + "@storybook/addon-storyshots": "4.1.11", + "@storybook/addons": "4.1.11", + "@storybook/client-logger": "4.1.11", + "@storybook/react": "4.1.11", + "babel-loader": "^8.0.5", + "react-test-renderer": "^16.8.1", + "require-context.macro": "^1.0.4", + "storybook-addon-i18next": "^0.1.2", + "enzyme": "^3.7.0", + "enzyme-adapter-react-16": "^1.9.1", + "enzyme-to-json": "^3.3.4", + "jest": "^23.6.0", + "jest-emotion": "^10.0.7", + "react-scripts": "^2.1.3" + } } diff --git a/src/App2.stories.js b/src/App2.stories.js new file mode 100644 index 000000000..57251aca6 --- /dev/null +++ b/src/App2.stories.js @@ -0,0 +1,264 @@ +import { storiesOf } from '@storybook/react'; +import React from 'react' +//import {Col, Row} from "antd"; +///// +import { + Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag +} from 'antd'; + +import 'antd/dist/antd.css'; + + + + function handleMenuClick(e) { + message.info('Click on menu item.'); + console.log('click', e); + } + + function onShowSizeChange(current, pageSize) { + console.log(current, pageSize); + } + + function onSelect(value) { + console.log('onSelect', value); + } + + function onChange(e) { + console.log(`checked = ${e.target.checked}`); + } + + + +const { Header, Content, Sider } = Layout; +const MenuItemGroup = Menu.ItemGroup; +const SubMenu = Menu.SubMenu; + +const menu2 = ( + + All + 10 + 50 + 100 + 200 + + + + ); + + + const columns = [{ + title: 'Subject', + dataIndex: 'name', + key: 'name', + render: text => {text}, + }, { + title: 'Predicate', + dataIndex: 'age', + key: 'age', + }, { + title: 'Object', + dataIndex: 'address', + key: 'address', + }, { + title: 'Context', + key: 'tags', + dataIndex: 'tags', + render: tags => ( + + {tags.map(tag => { + let color = tag.length > 5 ? 'geekblue' : 'green'; + if (tag === 'loser') { + color = 'volcano'; + } + return {tag.toUpperCase()}; + })} + + ), + + }]; + + + const data = [{ + key: '1', + name: '', + address: '', + tags: [], + }, { + key: '2', + name: '', + + address: '', + tags: [], + }, { + key: '', + name: '', + + address: '', + tags: [], + }]; + + + + class Explore extends React.Component { + render() { + return ( + +
+
+ + RDF4J + + +
+ + + const menu = ( + + + + + + + + + RDF4J Server} + style={{ background: "#E8EAED",}} > + + + Repositories}> + + New repository + Delete repository + + + + Explore} + style={{ background: "#E8EAED" }} > + + + Summary + Namespaces + Contexts + Types + Explore + Query + Saved Queries + Export + + + Modify} + style={{ background: "#E8EAED" }} > + + + SPARQL Update + Add + Remove + Clear + + + System} + style={{ background: "#E8EAED" }} > + + + + Information + + + + + + + + + + + + Explore + + + + + Show data types & language tags + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
+ + + + + + + + + + + + + ); + +} + } + +storiesOf('Issue #5', module) + .add('Explore', () => ( + + )) diff --git a/src/components/.vs/ProjectSettings.json b/src/components/.vs/ProjectSettings.json deleted file mode 100644 index f8b488856..000000000 --- a/src/components/.vs/ProjectSettings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "CurrentProjectSetting": null -} \ No newline at end of file diff --git a/src/components/.vs/VSWorkspaceState.json b/src/components/.vs/VSWorkspaceState.json deleted file mode 100644 index 6b6114114..000000000 --- a/src/components/.vs/VSWorkspaceState.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ExpandedNodes": [ - "" - ], - "PreviewInSolutionExplorer": false -} \ No newline at end of file diff --git a/src/components/.vs/components/v15/.suo b/src/components/.vs/components/v15/.suo deleted file mode 100644 index efc62189150d37976ebef7e42872ce26b3775be2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15360 zcmeI2-)~e!6vw9^D)j9GOu!cBr(qwq@rrQjg zIo?@wRYMs%beauIWByp3TDJ!$kNx!9&5li!`|3GY_y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vc0emId_SK#S2NU(T$h>DHRndFA7juxp&pHRg|&p=<{4r7QyJ zy+2!qDtD%Nkx|p$ajk20FLz!8$`d7PtCdFVGP+%}EDL2b?0rSuUo9h#qArVtD=+E{ z+R@p$Yga$YGnIypX}cnOx%A)0v>IiOUdd#uP$o}T>8=an8VnuF+`apAhz8Lv71#d# zED*Q*-g#!2Zu5N3zH*Xu66uWCy^8!fnsX7L=x;Atl+ru1*5@)u3C&TrVk{x5k`Vso z1f3fR3SJN$^{GigSEWAn;33P=&$6e-2_dP+%MzMW$iso)Y^kDyLho=2V63fw@ z<&~dGgWukH)Lq9$_^)$Ug;8_ToHjb=E4^HVk5`mZ|U{r!(liiDm2QOd5C`yb`{w=(@fEm_Kow*Ft&As;|n S|Ch=|*sr$!56h|hQ|^C%o4B(8 diff --git a/src/components/.vs/slnx.sqlite b/src/components/.vs/slnx.sqlite deleted file mode 100644 index b73989b00b61256c84e697bf732d5656d296b981..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 77824 zcmeI5du$uYdB92WB~l_+KFLQv&i2}OK8a_oj=Rf!<(eisias+ZOR^~0F+c4tP*+NJq=hp_f$YeVm_Vq`25jYi(i zvXMyS2>c(1|K86Se29A&@H^`Jyw}Gg5$=C(Ca5s;3YB??d1dt0$ahE1W=^NusgEXq z6t`kuixpz0_bLG6k-!^DAel=#_3xa?rt(*~=+4D@(;_d_Zf_WyjX7f1oApk8v$@{= z*t~we-XK+Ly*fxJS6;5nu2k6S!d&H@?6m`xv6juS?Bc?1={0uhTCmc!!p`_;DqjXA z%Y&6%&^O3n)v~XmT0iH$3Q@5&w!An$Pusb$Se~s_3hx^mN#!{%dbifmjRpxfJA6Ir zs8)PROl%aV&-KzzujouzO=13>UN!2g9-?;_VPUo z{oiNdwZ==GHBHiP*Nu9EwxfqEEEck^U2*|9)b4Ay+a0pe!xN68nAiZP)ulOVCoZQz z(qM%1o2E|PZF%$gz4i8l%A1YtjplB-Y^JbtI+M!Rz)=<*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L^fCP{L5_x2rlpk2_OL^fCSzw z1YR0Dlse3D!ymeGt4^M$rvm6{8D|r&PTJvXcLn-#wQ_|Gr?GlFo4Hb5xd6v~%B#z@ z>gCFAnc13q{E8kls=@K5@(LT?7^qt8Y>jJY6k~=rp^UI4Dch%b89EJ_i#fAQ5SIho2)qH7YfO_LY-D$w_3ukY=kH>ijRB(?en7CIFy?v*kINg5g$9Ra>rms2M)P?tM zG0ryn-Q%GhPpU^hAH6yh+&~H@4&3Xcx$bj2sb6|e<^G1Hx8wNw?GJkUqux%vzg4{r zSid@+U{`zCtn?xvr*DUI&r_QBeu&^c_J-XJxZcr5ua&RiSw`?}Je#{`ujAQV=WsQh zBllz!I4g{2bAyK=yGLevQ$hG3>QBzuT>Ab$-2Z>G+~%VmNB{{S0VIF~kN^@u0!RP} NAOR$R1YR2g{|A0qec1p2 diff --git a/src/components/App.js b/src/components/App.js index 8c9b38501..e8b39aca1 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,260 +1,60 @@ import React from 'react' //import {Col, Row} from "antd"; -// -// import { - Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag + Layout, Menu, Breadcrumb, Icon, } from 'antd'; -import 'antd/dist/antd.css'; - - - - function handleMenuClick(e) { - message.info('Click on menu item.'); - console.log('click', e); - } - - function onShowSizeChange(current, pageSize) { - console.log(current, pageSize); - } - - function onSelect(value) { - console.log('onSelect', value); - } - - function onChange(e) { - console.log(`checked = ${e.target.checked}`); - } - - +import ClassTreeView from './ClassTreeView' +import PropertyEditor from './PropertyEditor' const { Header, Content, Sider } = Layout; -const MenuItemGroup = Menu.ItemGroup; -const SubMenu = Menu.SubMenu; - -const menu2 = ( - - All - 10 - 50 - 100 - 200 - - - - ); - - - const columns = [{ - title: 'Subject', - dataIndex: 'name', - key: 'name', - render: text => {text}, - }, { - title: 'Predicate', - dataIndex: 'age', - key: 'age', - }, { - title: 'Object', - dataIndex: 'address', - key: 'address', - }, { - title: 'Context', - key: 'tags', - dataIndex: 'tags', - render: tags => ( - - {tags.map(tag => { - let color = tag.length > 5 ? 'geekblue' : 'green'; - if (tag === 'loser') { - color = 'volcano'; - } - return {tag.toUpperCase()}; - })} - - ), - - }]; - - - const data = [{ - key: '1', - name: '', - address: '', - tags: [], - }, { - key: '2', - name: '', - - address: '', - tags: [], - }, { - key: '', - name: '', - - address: '', - tags: [], - }]; - - +const { SubMenu } = Menu; const App = () => { - return ( + +
+ {/* + // TODO : left side navigation menu + */} +
+ + nav 1 + nav 2 + nav 3 + +
-
-
- - RDF4J - - -
- - - const menu = ( - - - - - - - - - RDF4J Server} - style={{ background: "#E8EAED",}} > - - - Repositories}> - - New repository - Delete repository - - - - Explore} - style={{ background: "#E8EAED" }} > - - - Summary - Namespaces - Contexts - Types - Explore - Query - Saved Queries - Export - - - Modify} - style={{ background: "#E8EAED" }} > - - - SPARQL Update - Add - Remove - Clear - - - System} - style={{ background: "#E8EAED" }} > - - - - Information - - - - - - - - - - - - Explore - - - - - Show data types & language tags - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - - -
- - - - - - - - - - + + + + + + Home + List + App + + + + + - - ); - + + ); }; export default App diff --git a/src/index.js b/src/index.js index dfed167e9..28f1ce1fa 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,21 @@ import React from 'react' import { render } from 'react-dom' +import { createStore } from 'redux' +import { Provider } from 'react-redux' import App from './components/App' +import rootReducer from './reducers' -render( - - , +import {ConnectedRouter} from "react-router-redux"; +import {Route, Switch} from "react-router-dom"; + +import "assets/vendors/style"; +import "styles/flexile.less"; +const store = createStore(rootReducer) + +render( + + + , document.getElementById('root') ) From 5d7ef7945146b3f17723ba8c81f029834bcd1ffc Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 13 Mar 2019 12:30:33 +0300 Subject: [PATCH 12/17] =?UTF-8?q?=D0=B2=D0=BD=D0=B5=D1=81=D0=BB=D0=B0=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 79 ++------------------------------------------- 1 file changed, 2 insertions(+), 77 deletions(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index 57251aca6..6ef493bec 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -103,86 +103,11 @@ const menu2 = ( render() { return ( -
-
- - RDF4J - - -
+ - const menu = ( - - - - - - - - - RDF4J Server} - style={{ background: "#E8EAED",}} > - - - Repositories}> - - New repository - Delete repository - - - - Explore} - style={{ background: "#E8EAED" }} > - - - Summary - Namespaces - Contexts - Types - Explore - Query - Saved Queries - Export - - - Modify} - style={{ background: "#E8EAED" }} > - - - SPARQL Update - Add - Remove - Clear - - - System} - style={{ background: "#E8EAED" }} > - - + - Information - - - From 3ff4180313e04220bb2d206884e0faad0b75e01f Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Mar 2019 14:50:45 +0300 Subject: [PATCH 13/17] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index 6ef493bec..cb7a5ac6c 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -8,44 +8,20 @@ import { import 'antd/dist/antd.css'; - - - function handleMenuClick(e) { - message.info('Click on menu item.'); - console.log('click', e); - } - - function onShowSizeChange(current, pageSize) { - console.log(current, pageSize); - } - - function onSelect(value) { - console.log('onSelect', value); - } - - function onChange(e) { - console.log(`checked = ${e.target.checked}`); - } - - - const { Header, Content, Sider } = Layout; const MenuItemGroup = Menu.ItemGroup; const SubMenu = Menu.SubMenu; const menu2 = ( - + All 10 50 100 - 200 - - - + 200 + ); - const columns = [{ title: 'Subject', dataIndex: 'name', @@ -121,7 +97,7 @@ const menu2 = ( - Show data types & language tags + Show data types & language tags From b258b6431735d78023330ae06d3a6979b1a5fe3c Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Mar 2019 15:26:31 +0300 Subject: [PATCH 14/17] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 250 ++++++++++++++++++-------------------------- 1 file changed, 103 insertions(+), 147 deletions(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index cb7a5ac6c..9c7fb238f 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -1,9 +1,8 @@ import { storiesOf } from '@storybook/react'; import React from 'react' -//import {Col, Row} from "antd"; -///// + import { - Layout, Menu, Breadcrumb,Button,Dropdown, Icon,message,Pagination, AutoComplete,Checkbox, Input, Table, Divider, Tag + Layout, Menu, Breadcrumb, Button, Dropdown, Icon, message, Pagination, AutoComplete, Checkbox, Input, Table, Divider, Tag } from 'antd'; import 'antd/dist/antd.css'; @@ -14,152 +13,109 @@ const SubMenu = Menu.SubMenu; const menu2 = ( - All - 10 - 50 - 100 - 200 - - ); - - const columns = [{ - title: 'Subject', - dataIndex: 'name', - key: 'name', - render: text => {text}, - }, { - title: 'Predicate', - dataIndex: 'age', - key: 'age', - }, { - title: 'Object', - dataIndex: 'address', - key: 'address', - }, { - title: 'Context', - key: 'tags', - dataIndex: 'tags', - render: tags => ( - - {tags.map(tag => { - let color = tag.length > 5 ? 'geekblue' : 'green'; - if (tag === 'loser') { - color = 'volcano'; - } - return {tag.toUpperCase()}; - })} - - ), - - }]; - - - const data = [{ - key: '1', - name: '', - address: '', - tags: [], - }, { - key: '2', - name: '', - - address: '', - tags: [], - }, { - key: '', - name: '', - - address: '', - tags: [], - }]; - - - - class Explore extends React.Component { - render() { - return ( - - - - - - - - - - - - - - - Explore - - - - - Show data types & language tags - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - - -
- - - - - - - - + All + 10 + 50 + 100 + 200 + +); + +const columns = [{ + title: 'Subject', + dataIndex: 'name', + key: 'name', + render: text => {text}, +}, { + title: 'Predicate', + dataIndex: 'age', + key: 'age', +}, { + title: 'Object', + dataIndex: 'address', + key: 'address', +}, { + title: 'Context', + key: 'tags', + dataIndex: 'tags', + render: tags => ( + + {tags.map(tag => { + let color = tag.length > 5 ? 'geekblue' : 'green'; + if (tag === 'loser') { + color = 'volcano'; + } + return {tag.toUpperCase()}; + })} + + ), + +}]; + + +const data = [{ + key: '1', + name: '', + address: '', + tags: [], +}, { + key: '2', + name: '', + + address: '', + tags: [], +}, { + key: '', + name: '', + + address: '', + tags: [], +}]; + + + +class Explore extends React.Component { + render() { + return ( + + + + + + + + Explore + + + Show data types & language tags + + + + + + + + + +
+ + +
+ +
+ + + - - - ); - + + ); + } } - } storiesOf('Issue #5', module) - .add('Explore', () => ( - - )) + .add('Explore', () => ( + + )) From a64a5ed7c53b53b2b679beda4f470092cde0a81b Mon Sep 17 00:00:00 2001 From: tatiana Date: Wed, 27 Mar 2019 15:29:35 +0300 Subject: [PATCH 15/17] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index 9c7fb238f..85bd47d29 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -1,10 +1,8 @@ import { storiesOf } from '@storybook/react'; import React from 'react' - import { Layout, Menu, Breadcrumb, Button, Dropdown, Icon, message, Pagination, AutoComplete, Checkbox, Input, Table, Divider, Tag } from 'antd'; - import 'antd/dist/antd.css'; const { Header, Content, Sider } = Layout; @@ -49,10 +47,8 @@ const columns = [{ })} ), - }]; - const data = [{ key: '1', name: '', @@ -61,27 +57,20 @@ const data = [{ }, { key: '2', name: '', - address: '', tags: [], }, { key: '', name: '', - address: '', tags: [], }]; - - class Explore extends React.Component { render() { return ( - - - Explore @@ -110,7 +99,6 @@ class Explore extends React.Component { - ); } } @@ -118,4 +106,4 @@ class Explore extends React.Component { storiesOf('Issue #5', module) .add('Explore', () => ( - )) + )) \ No newline at end of file From 10ccc2e20a2afd7e56dad9ee716fc0d30548e5d4 Mon Sep 17 00:00:00 2001 From: tatiana Date: Sun, 14 Apr 2019 19:45:17 +0300 Subject: [PATCH 16/17] =?UTF-8?q?=D0=92=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D0=B7=D0=B0=D0=B4?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 67 +++++++++++++++++---------------------------- 1 file changed, 25 insertions(+), 42 deletions(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index 85bd47d29..2f2b7fac7 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -20,51 +20,34 @@ const menu2 = ( ); const columns = [{ - title: 'Subject', - dataIndex: 'name', - key: 'name', - render: text => {text}, + title: 'Subject', + dataIndex: 'name_1', + render: text => {text}, }, { - title: 'Predicate', - dataIndex: 'age', - key: 'age', + title: 'Predicate', + dataIndex: 'name_2', + render: text => {text}, }, { - title: 'Object', - dataIndex: 'address', - key: 'address', + title: 'Object', + dataIndex: 'name_3', + render: text => {text}, }, { - title: 'Context', - key: 'tags', - dataIndex: 'tags', - render: tags => ( - - {tags.map(tag => { - let color = tag.length > 5 ? 'geekblue' : 'green'; - if (tag === 'loser') { - color = 'volcano'; - } - return {tag.toUpperCase()}; - })} - - ), -}]; + title: 'Context', + dataIndex: 'name_4', + render: text => {text}, +} +]; -const data = [{ - key: '1', - name: '', - address: '', - tags: [], -}, { - key: '2', - name: '', - address: '', - tags: [], -}, { - key: '', - name: '', - address: '', - tags: [], -}]; +const data = []; +for (let i = 0; i < 100; i++) { + data.push({ + key: i, + name_1: `reqs-collection:567Rno8wjrwxiXoozHsFva${i}`, + name_2: `rdf:type${i}`, + name_3: `folders:folder1${i}`, + name_4: `` + }); +} class Explore extends React.Component { render() { @@ -94,7 +77,7 @@ class Explore extends React.Component {
- + From e95f4d269860595023dcbda896e348e769ef2ab9 Mon Sep 17 00:00:00 2001 From: tatiana Date: Sun, 14 Apr 2019 19:46:45 +0300 Subject: [PATCH 17/17] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB?= =?UTF-8?q?=D0=B0=20=D0=B4=D0=BE=D0=BF=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.stories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App2.stories.js b/src/App2.stories.js index 2f2b7fac7..1e95485d3 100644 --- a/src/App2.stories.js +++ b/src/App2.stories.js @@ -1,7 +1,7 @@ import { storiesOf } from '@storybook/react'; import React from 'react' import { - Layout, Menu, Breadcrumb, Button, Dropdown, Icon, message, Pagination, AutoComplete, Checkbox, Input, Table, Divider, Tag + Layout, Menu, Breadcrumb, Button, Dropdown, Icon, message, Pagination, Checkbox, Input, Table, Divider, Tag } from 'antd'; import 'antd/dist/antd.css';