Alexey Velikiy
8 years ago
10 changed files with 181 additions and 1 deletions
@ -1,4 +1,3 @@ |
|||||||
.DS_Store |
.DS_Store |
||||||
node_modules/ |
node_modules/ |
||||||
dist/ |
|
||||||
npm-debug.log |
npm-debug.log |
||||||
|
@ -0,0 +1 @@ |
|||||||
|
<!DOCTYPE html><html><head><meta charset=utf-8><title>d3vue</title><link href=/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.066a57d689d508847208.js></script><script type=text/javascript src=/static/js/vendor.969602d126b5ff83a532.js></script><script type=text/javascript src=/static/js/app.69e41e5e2743999f0b66.js></script></body></html> |
@ -0,0 +1,155 @@ |
|||||||
|
|
||||||
|
#app[data-v-41b7bac0] { |
||||||
|
font-family: 'Avenir', Helvetica, Arial, sans-serif; |
||||||
|
-webkit-font-smoothing: antialiased; |
||||||
|
-moz-osx-font-smoothing: grayscale; |
||||||
|
text-align: center; |
||||||
|
margin-top: 30px; |
||||||
|
} |
||||||
|
a[data-v-41b7bac0] { |
||||||
|
color: black; |
||||||
|
text-decoration: none; |
||||||
|
} |
||||||
|
|
||||||
|
#links[data-v-098bb42e] { |
||||||
|
display: block; |
||||||
|
width: 300px; |
||||||
|
height: 40px; |
||||||
|
position: relative; |
||||||
|
} |
||||||
|
a[data-v-098bb42e] { |
||||||
|
display: block; |
||||||
|
position: absolute; |
||||||
|
width: 100px; |
||||||
|
text-decoration: none; |
||||||
|
font-weight: bold; |
||||||
|
color: blue; |
||||||
|
} |
||||||
|
a[data-v-098bb42e]:hover { |
||||||
|
text-decoration: underline; |
||||||
|
} |
||||||
|
.prev[data-v-098bb42e] { |
||||||
|
left: 0px; |
||||||
|
} |
||||||
|
.source[data-v-098bb42e] { |
||||||
|
left:100px; |
||||||
|
text-align: center; |
||||||
|
} |
||||||
|
.next[data-v-098bb42e] { |
||||||
|
right: 0px; |
||||||
|
text-align: right; |
||||||
|
} |
||||||
|
#holder[data-v-098bb42e] { |
||||||
|
width: 300px; |
||||||
|
margin: auto; |
||||||
|
position: relative; |
||||||
|
height: 30px; |
||||||
|
/*border-top: 1px dashed gray;*/ |
||||||
|
border-bottom: 1px dashed gray; |
||||||
|
padding-top: 10px; |
||||||
|
margin-top: 10px; |
||||||
|
margin-bottom: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
h1[data-v-417810ac], h2[data-v-417810ac] { |
||||||
|
font-weight: normal; |
||||||
|
} |
||||||
|
ul[data-v-417810ac] { |
||||||
|
/*list-style-type: none;*/ |
||||||
|
padding: 0; |
||||||
|
margin: auto; |
||||||
|
width: 150px; |
||||||
|
} |
||||||
|
li[data-v-417810ac] { |
||||||
|
/*display: inline-block;*/ |
||||||
|
margin: 0 0px; |
||||||
|
list-style: decimal |
||||||
|
} |
||||||
|
a[data-v-417810ac] { |
||||||
|
color: blue; |
||||||
|
display: block; |
||||||
|
text-decoration: none; |
||||||
|
text-align: left; |
||||||
|
} |
||||||
|
a[data-v-417810ac]:hover { |
||||||
|
text-decoration: underline; |
||||||
|
} |
||||||
|
|
||||||
|
/*# sourceMappingURL=app.6d91e7f242696e554ecda5be3dbdb7d1.css.map*/ |
@ -0,0 +1 @@ |
|||||||
|
{"version":3,"sources":["webpack:///webpack:///src/app.vue","webpack:///webpack:///src/components/demos-navigation.vue","webpack:///webpack:///src/components/index.vue"],"names":[],"mappings":";AACA;EACE,oDAAoD;EACpD,oCAAoC;EACpC,mCAAmC;EACnC,mBAAmB;EACnB,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,sBAAsB;CACvB;;ACVD;EACE,eAAe;EACf,aAAa;EACb,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,mBAAmB;EACnB,aAAa;EACb,sBAAsB;EACtB,kBAAkB;EAClB,YAAY;CACb;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,UAAU;CACX;AACD;EACE,WAAW;EACX,mBAAmB;CACpB;AACD;EACE,WAAW;EACX,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,aAAa;EACb,gCAAgC;EAChC,+BAA+B;EAC/B,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtCD;EACE,oBAAoB;CACrB;AACD;EACE,0BAA0B;EAC1B,WAAW;EACX,aAAa;EACb,aAAa;CACd;AACD;EACE,0BAA0B;EAC1B,cAAc;EACd,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,eAAe;EACf,sBAAsB;EACtB,iBAAiB;CAClB;AACD;EACE,2BAA2B;CAC5B","file":"static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css","sourcesContent":["\n#app[data-v-41b7bac0] {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n margin-top: 30px;\n}\na[data-v-41b7bac0] {\n color: black;\n text-decoration: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/app.vue","\n#links[data-v-098bb42e] {\n display: block;\n width: 300px;\n height: 40px;\n position: relative;\n}\na[data-v-098bb42e] {\n display: block;\n position: absolute;\n width: 100px;\n text-decoration: none;\n font-weight: bold;\n color: blue;\n}\na[data-v-098bb42e]:hover {\n text-decoration: underline;\n}\n.prev[data-v-098bb42e] {\n left: 0px;\n}\n.source[data-v-098bb42e] {\n left:100px;\n text-align: center;\n}\n.next[data-v-098bb42e] {\n right: 0px;\n text-align: right;\n}\n#holder[data-v-098bb42e] {\n width: 300px;\n margin: auto;\n position: relative;\n height: 30px;\n /*border-top: 1px dashed gray;*/\n border-bottom: 1px dashed gray;\n padding-top: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/demos-navigation.vue","\nh1[data-v-417810ac], h2[data-v-417810ac] {\n font-weight: normal;\n}\nul[data-v-417810ac] {\n /*list-style-type: none;*/\n padding: 0;\n margin: auto;\n width: 150px;\n}\nli[data-v-417810ac] {\n /*display: inline-block;*/\n margin: 0 0px;\n list-style: decimal\n}\na[data-v-417810ac] {\n color: blue;\n display: block;\n text-decoration: none;\n text-align: left;\n}\na[data-v-417810ac]:hover {\n text-decoration: underline;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/index.vue"],"sourceRoot":""} |
@ -0,0 +1,2 @@ |
|||||||
|
webpackJsonp([1,2],[,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(30),a=[{name:"Circle mount",path:"/circle-mount",component:n(73)},{name:"Size controller",path:"/size-controller",component:n(74)}].map(function(e){var t=e;return t.href="#"+e.path,t.source=r.githubLink+"tree/master/src/d3-components"+e.path+".vue",t})},,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={githubLink:"https://github.com/corpglory/d3vue/"}},function(e,t,n){"use strict";var r=n(39),a=n.n(r),i=n(16),c=n.n(i),s=n(80),u=n.n(s),o=n(72),l=n.n(o),f=n(8);c.a.use(u.a),t.a=new u.a({routes:[{path:"/",name:"Menu",component:l.a}].concat(a()(f.a))})},function(e,t,n){n(68);var r=n(2)(n(33),n(77),"data-v-41b7bac0",null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),a=n.n(r);t.default={name:"app",components:{topNav:a.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),a=n(30);t.default={computed:{prev:function(){var e=this.findIndex();if(e!=-1)return e>0?r.a[e-1]:void 0},next:function(){var e=this.findIndex();if(e!=-1)return e+1<r.a.length?r.a[e+1]:void 0},sourceHref:function(){var e=this.findIndex();return e==-1?a.githubLink:r.a[e].source}},methods:{findIndex:function(){var e=this.$route.path;return r.a.findIndex(function(t){return t.path===e})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8);t.default={data:function(){return{items:r.a}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={mounted:function(){r.select(this.$el).append("circle").attr("cx","250").attr("cy","150").attr("r","100")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29);t.default={data:function(){return{circleSize:50}},mounted:function(e){var t=r.select(this.$el).select("svg");this.circle=t.append("circle").attr("cx","250").attr("cy","150").attr("r",this.circleSize)},watch:{circleSize:function(e){this.circle.attr("r",e)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){n(66);var r=n(2)(n(34),n(75),"data-v-098bb42e",null);e.exports=r.exports},function(e,t,n){n(67);var r=n(2)(n(35),n(76),"data-v-417810ac",null);e.exports=r.exports},function(e,t,n){n(70);var r=n(2)(n(36),n(79),null,null);e.exports=r.exports},function(e,t,n){n(69);var r=n(2)(n(37),n(78),null,null);e.exports=r.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"holder"}},[n("div",{staticClass:"links"},[e.prev?n("a",{staticClass:"prev",attrs:{href:e.prev.href}},[e._v(" < previous ")]):e._e(),e._v(" "),n("a",{staticClass:"source",attrs:{href:e.sourceHref}},[e._v(" source ")]),e._v(" "),e.next?n("a",{staticClass:"next",attrs:{href:e.next.href}},[e._v(" next > ")]):e._e()])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"hello"},[n("ul",e._l(e.items,function(t){return n("li",[n("a",{attrs:{href:t.href}},[e._v(e._s(t.name))])])}))])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[e._m(0),e._v(" "),n("h2",[e._v(e._s(e.$route.name))]),e._v(" "),n("topNav"),e._v(" "),n("router-view")],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{attrs:{href:"#/"}},[n("h1",[e._v(" D3.js vs Vue.js examples ")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg",{attrs:{width:"500",height:"300"}}),e._v(" "),n("br"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.circleSize,expression:"circleSize"}],attrs:{type:"range",min:"1",max:"100",step:"1"},domProps:{value:e._s(e.circleSize)},on:{input:function(t){e.circleSize=t.target.value}}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{width:"500",height:"300"}})},staticRenderFns:[]}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a=n.n(r),i=n(32),c=n.n(i),s=n(31);new a.a({el:"#app",router:s.a,template:"<app/>",components:{app:c.a}})}],[83]); |
||||||
|
//# sourceMappingURL=app.69e41e5e2743999f0b66.js.map
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@ |
|||||||
|
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s<t.length;s++)a=t[s],o[a]&&l.push(o[a][0]),o[a]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(n&&n(t,c,i);l.length;)l.shift()();if(i)for(s=0;s<i.length;s++)f=r(r.s=i[s]);return f};var t={},o={2:0};r.e=function(e){function n(){c.onerror=c.onload=null,clearTimeout(i);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,r.nc&&c.setAttribute("nonce",r.nc),c.src=r.p+"static/js/"+e+"."+{0:"969602d126b5ff83a532",1:"69e41e5e2743999f0b66"}[e]+".js";var i=setTimeout(n,12e4);c.onerror=c.onload=n;var u=new Promise(function(r,n){o[e]=[r,n]});return o[e][2]=u,t.appendChild(c),u},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="/",r.oe=function(e){throw console.error(e),e}}([]); |
||||||
|
//# sourceMappingURL=manifest.066a57d689d508847208.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue