Skip to content

Commit

Permalink
update in page
Browse files Browse the repository at this point in the history
  • Loading branch information
luisDanielRoviraContreras committed Mar 27, 2018
1 parent 84b8bfb commit 0f24bf0
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<link href="./app.css" rel="stylesheet"></head>
<body>
<div id="app"></div>
<script type="text/javascript" src="./page/js/app.js"></script></body>
<script type="text/javascript" src="./page/js/app.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion docs/src/components/code.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default {
},
mounted(){
let idx = this.titlex.replace(/\s/g,'-')
console.log(idx);
this.$parent.codes.push({
idx:'vs-'+idx,
title:this.titlex
Expand Down
2 changes: 0 additions & 2 deletions docs/src/components/menuDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ export default {
this.fuera = false
next()
})
console.log(this.childrenx);
},
methods:{
pushx(ruta){
console.log(ruta);
var _this = this
this.$router.push(ruta,function(){
_this.$set(_this.$store.state,'estas',ruta)
Expand Down
4 changes: 3 additions & 1 deletion docs/src/components/menuTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

</li>
<li :class="{'li-visible':$store.state.menuVisible}" class="li-no"><input class="colorx" type="color" @change="cambiarColor($event)" name="" value="#1f73ff"></li>
<li :class="{'li-visible':$store.state.menuVisible}" class="version li-no"><a href="https://www.npmjs.com/package/vuesax" target="_blank"><span>v2.0.49</span></a></li>
<li :class="{'li-visible':$store.state.menuVisible}" class="version li-no"><a href="https://www.npmjs.com/package/vuesax" target="_blank"><span>{{'v'+packageVersion}}</span></a></li>
<li :class="{'li-visible':$store.state.menuVisible}" class="con-gitHubx li-no"><a class="flaticon-github-logo" target="_blank" href="https://github.com/lusaxweb/vuesax"></a></li>
</ul>
</div>
Expand All @@ -50,10 +50,12 @@
// import {aisIndex} from 'algoliasearch'
// var client = algoliasearch('EAGFI40K92', '739daed85bd1a07e06f1f3ab545cfffd');
// var index = client.initIndex('docs');
import packagex from '../../../package.json'
export default {
data(){
return {
packageVersion:packagex.version,
buscarx:'',
itemsBuscados:[],
select1:1,
Expand Down
2 changes: 0 additions & 2 deletions docs/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Vue.use(markedx);
import Vuesax from '../../index.js'
// import '../../dist/vuesax.css'
// import Vuesax from 'vuesax'
console.log(Vuesax.theme);
Vue.use(Vuesax);
// console.log(Vuesax);
Vue.use(InstantSearch);
Expand All @@ -51,7 +50,6 @@ var vm = new Vue({
template: '<App/>',
})

console.log(vm.lang);

// console.log(vm);
router.beforeEach((to, from, next) => {
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<link href="./app.css" rel="stylesheet"><link href="./app.css" rel="stylesheet"></head>
<body>
<div id="app"></div>
<script type="text/javascript" src="./page/js/app.js"></script><script type="text/javascript" src="./page/js/app.js"></script></body>
<script type="text/javascript" src="./page/js/app.js"></script>
<script type="text/javascript" src="./page/js/app.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion page/js/app.js

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/components/vsDropDown/vsDropDown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default {
colorx(){
if(this.vsColor){
console.log("contras=============>",color.contrastColor(this.vsColor));
if(color.contrastColor(this.vsColor)){
return 'rgba(0, 0, 0,.8)'
} else {
Expand All @@ -113,9 +112,7 @@ export default {
}
let cords = evt.target.getBoundingClientRect()
let elx = this.$refs.ulDrop
// console.log();
elx.style.left = (cords.left + evt.target.clientWidth)+'px'
// console.log(elx.style.right);
elx.style.top = (cords.top + evt.target.clientHeight)+'px'
document.body.insertBefore(elx, document.body.firstChild)
this.visible=!this.visible
Expand All @@ -130,7 +127,6 @@ export default {
window.addEventListener('click',this.clickFuera)
},
clickFuera(e){
console.log(e);
if(e.target.closest('.con-drop-ul')==null){
this.visible = false
this.removeEventListenerx()
Expand Down Expand Up @@ -158,7 +154,6 @@ export default {
if(this.$slots.hasOwnProperty('button')){
this.conSlotButton = true
}
console.log();
}
}
</script>
Expand Down
1 change: 0 additions & 1 deletion src/components/vsDropDown/vsDropDownItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default {
created(){
// console.log();
this._vsColor = this.$parent.vsColor
console.log(this._vsColor);
}
}
</script>
Expand Down
1 change: 0 additions & 1 deletion src/directives/vsTooltip/vsTooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default {
</p>
`
tooltipx.style.background = colorx
console.log("paso");
var mouseEnterx = function(event){

let coords = event.toElement.getBoundingClientRect();
Expand Down
1 change: 0 additions & 1 deletion src/utils/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default {
let rgbx = this.hexToRgb(elementx)
c = `rgb(${rgbx.r},${rgbx.g},${rgbx.b})`
}
console.log(c);
var rgb = c.replace(/^(rgb|rgba)\(/,'').replace(/\)$/,'').replace(/\s/g,'').split(',');
var yiq = ((rgb[0]*299)+(rgb[1]*587)+(rgb[2]*114))/1000;
if(yiq >= 128){
Expand Down

0 comments on commit 0f24bf0

Please sign in to comment.