From d1b82d7f2b61a3c1e45bb9388b8214f109525627 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Sun, 13 Nov 2016 17:19:34 +0100 Subject: [PATCH] build version 3.2.1 --- dist/lesspass.js | 27 ++++++++++++++++++--------- dist/lesspass.min.js | 4 ++-- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/dist/lesspass.js b/dist/lesspass.js index d2afdae..9c145eb 100644 --- a/dist/lesspass.js +++ b/dist/lesspass.js @@ -22182,6 +22182,7 @@ exports.default = { storage: storage, password: '', useMasterPassword: false, + seeMasterPasswordHelp: false, showError: false, errorMessage: '', loadingRegister: false, @@ -34746,7 +34747,17 @@ module.exports={render:function (){with(this) { } } } - }), "\n Check me if you want to use your master password here.\n ", _m(2)])])])])]), " ", _h('div', { + }), "\n Check me if you want to use your master password here.\n ", _h('span', { + staticClass: "tag tag-warning", + on: { + "click": function($event) { + $event.preventDefault(); + seeMasterPasswordHelp = !seeMasterPasswordHelp + } + } + }, ["\n ?\n "]), " ", (seeMasterPasswordHelp) ? _h('span', { + staticClass: "text-warning" + }, [_m(2), " Your master password ", _m(3), " on a database even encrypted.\n If you want to use your master password here, you can check the option.\n It will replace your master password with a LessPass generated password.\n "]) : _e()])])])])]), " ", _h('div', { staticClass: "form-group row" }, [_h('div', { staticClass: "col-xs-12 hint--bottom", @@ -34755,7 +34766,7 @@ module.exports={render:function (){with(this) { } }, [_h('div', { staticClass: "inner-addon left-addon" - }, [_m(3), " ", _h('input', { + }, [_m(4), " ", _h('input', { directives: [{ name: "model", rawName: "v-model", @@ -34794,7 +34805,7 @@ module.exports={render:function (){with(this) { on: { "click": signIn } - }, [(loadingSignIn) ? _h('span', [_m(4)]) : _e(), "\n Sign In\n "]), " ", _h('button', { + }, [(loadingSignIn) ? _h('span', [_m(5)]) : _e(), "\n Sign In\n "]), " ", _h('button', { staticClass: "btn btn-secondary", attrs: { "id": "registerButton", @@ -34803,7 +34814,7 @@ module.exports={render:function (){with(this) { on: { "click": register } - }, [(loadingRegister) ? _h('span', [_m(5)]) : _e(), "\n Register\n "])])]), " ", _h('div', { + }, [(loadingRegister) ? _h('span', [_m(6)]) : _e(), "\n Register\n "])])]), " ", _h('div', { staticClass: "form-group row" }, [_h('div', { staticClass: "col-xs-12" @@ -34823,11 +34834,9 @@ module.exports={render:function (){with(this) { staticClass: "fa fa-lock" }) }},function (){with(this) { - return _h('a', { - attrs: { - "href": "https://github.com/lesspass/lesspass/wiki/FAQ#you-should-never-save-your-master-password" - } - }, ["Why?"]) + return _h('br') +}},function (){with(this) { + return _h('b', ["should not be saved"]) }},function (){with(this) { return _h('i', { staticClass: "fa fa-globe" diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index 440f94e..144ec78 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -10,7 +10,7 @@ case"1.2.840.10045.2.1":return a.subjectPrivateKey=a.subjectPublicKey,{type:"ec" a(r,d),r.parent&&(r.parent.elm=r.elm,c(r)))for(var l=0;l-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var r=" "+e.getAttribute("class")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Rt(e,t){if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var r=" "+e.getAttribute("class")+" ",n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");e.setAttribute("class",r.trim())}}function Ot(e){Fn(function(){Fn(e)})}function Pt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ct(e,t)}function Tt(e,t){e._transitionClasses&&o(e._transitionClasses,t),Rt(e,t)}function It(e,t,r){var n=Bt(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===Nn?Un:zn,f=0,c=function(){e.removeEventListener(s,u),r()},u=function(t){t.target===e&&++f>=a&&c()};setTimeout(function(){f0&&(r=Nn,u=a,d=o.length):t===Ln?c>0&&(r=Ln,u=c,d=f.length):(u=Math.max(a,c),r=u>0?a>c?Nn:Ln:null,d=r?r===Nn?o.length:f.length:0);var h=r===Nn&&$n.test(n[Dn+"Property"]);return{type:r,timeout:u,propCount:d,hasTransform:h}}function jt(e,t){return Math.max.apply(null,t.map(function(t,r){return Nt(t)+Nt(e[r])}))}function Nt(e){return 1e3*Number(e.slice(0,-1))}function Lt(e){var t=e.elm;t._leaveCb&&(t._leaveCb.cancelled=!0,t._leaveCb());var r=Ut(e.data.transition);if(r&&!t._enterCb&&1===t.nodeType){var n=r.css,i=r.type,o=r.enterClass,a=r.enterActiveClass,s=r.appearClass,f=r.appearActiveClass,c=r.beforeEnter,u=r.enter,d=r.afterEnter,h=r.enterCancelled,l=r.beforeAppear,p=r.appear,b=r.afterAppear,v=r.appearCancelled,m=Yr.$vnode,y=m&&m.parent?m.parent.context:Yr,g=!y._isMounted||!e.isRootInsert;if(!g||p||""===p){var w=g?s:o,_=g?f:a,S=g?l||c:c,E=g&&"function"==typeof p?p:u,x=g?b||d:d,k=g?v||h:h,M=n!==!1&&!yr,A=E&&(E._length||E.length)>1,C=t._enterCb=qt(function(){M&&Tt(t,_),C.cancelled?(M&&Tt(t,w),k&&k(t)):x&&x(t),t._enterCb=null});e.data.show||Y(e.data.hook||(e.data.hook={}),"insert",function(){var r=t.parentNode,n=r&&r._pending&&r._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),E&&E(t,C)},"transition-insert"),S&&S(t),M&&(Pt(t,w),Pt(t,_),Ot(function(){Tt(t,w),C.cancelled||A||It(t,i,C)})),e.data.show&&E&&E(t,C),M||A||C()}}}function Dt(e,t){function r(){v.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),p&&(Pt(n,s),Pt(n,f),Ot(function(){Tt(n,s),v.cancelled||b||It(n,a,v)})),u&&u(n,v),p||b||v())}var n=e.elm;n._enterCb&&(n._enterCb.cancelled=!0,n._enterCb());var i=Ut(e.data.transition);if(!i)return t();if(!n._leaveCb&&1===n.nodeType){var o=i.css,a=i.type,s=i.leaveClass,f=i.leaveActiveClass,c=i.beforeLeave,u=i.leave,d=i.afterLeave,h=i.leaveCancelled,l=i.delayLeave,p=o!==!1&&!yr,b=u&&(u._length||u.length)>1,v=n._leaveCb=qt(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),p&&Tt(n,f),v.cancelled?(p&&Tt(n,s),h&&h(n)):(t(),d&&d(n)),n._leaveCb=null});l?l(r):r()}}function Ut(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&d(t,Vn(e.name||"v")),d(t,e),t}return"string"==typeof e?Vn(e):void 0}}function qt(e){var t=!1;return function(){t||(t=!0,e())}}function zt(e,r,n){var i=r.value,o=e.multiple;if(o&&!Array.isArray(i))return void("production"!==t.env.NODE_ENV&&Qr('