diff options
-rw-r--r-- | ng-vaadin.js | 2 | ||||
-rw-r--r-- | vaadin-components.html | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ng-vaadin.js b/ng-vaadin.js index 07f1664..760a85b 100644 --- a/ng-vaadin.js +++ b/ng-vaadin.js @@ -1,6 +1,6 @@ (function(angular) {'use strict'; - var vModule = angular.module('vaadin-x', []); + var vModule = angular.module('vaadin-components', []); function attrFnc() { return { diff --git a/vaadin-components.html b/vaadin-components.html index 2d72376..8fd42cc 100644 --- a/vaadin-components.html +++ b/vaadin-components.html @@ -2,7 +2,7 @@ <html> <head> <script> -$wnd = window; $doc = document;function VaadinComponents(){var N='bootstrap',O='begin',P='gwt.codesvr.VaadinComponents=',Q='gwt.codesvr=',R='VaadinComponents',S='startup',T='DUMMY',U=0,V=1,W='iframe',X='javascript:""',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='_',db='$1',eb='script',fb='javascript',gb='meta',hb='name',ib='VaadinComponents::',jb='::',kb='gwt:property',lb='content',mb='=',nb='gwt:onPropertyErrorFn',ob='Bad handler "',pb='" for "gwt:onPropertyErrorFn"',qb='gwt:onLoadErrorFn',rb='" for "gwt:onLoadErrorFn"',sb='#',tb='?',ub='/',vb='img',wb='clear.cache.gif',xb='baseUrl',yb='VaadinComponents.nocache.js',zb='base',Ab='//',Bb='modernie',Cb='MSIE',Db='Trident',Eb='yes',Fb='none',Gb='selectorCapability',Hb='function',Ib='native',Jb='js',Kb='user.agent',Lb='webkit',Mb='safari',Nb='msie',Ob=10,Pb=11,Qb='ie10',Rb=9,Sb='ie9',Tb=8,Ub='ie8',Vb='gecko',Wb='gecko1_8',Xb=2,Yb=3,Zb=4,$b='selectingPermutation',_b='VaadinComponents.devmode.js',ac='4EF6B951A6768F53448D75C6EE0D9ADD',bc=':1',cc=':2',dc=':3',ec=':4',fc=':',gc='.cache.js',hc='loadExternalRefs',ic='end',jc='http:',kc='file:',lc='_gwt_dummy_',mc='__gwtDevModeHook:VaadinComponents',nc='Ignoring non-whitelisted Dev Mode URL: ',oc=':moduleBase',pc='head';var n=window;var o=document;q(N,O);function p(){var a=n.location.search;return a.indexOf(P)!=-1||a.indexOf(Q)!=-1} +$wnd = window; $doc = document;function VaadinComponents(){var N='bootstrap',O='begin',P='gwt.codesvr.VaadinComponents=',Q='gwt.codesvr=',R='VaadinComponents',S='startup',T='DUMMY',U=0,V=1,W='iframe',X='javascript:""',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='_',db='$1',eb='script',fb='javascript',gb='meta',hb='name',ib='VaadinComponents::',jb='::',kb='gwt:property',lb='content',mb='=',nb='gwt:onPropertyErrorFn',ob='Bad handler "',pb='" for "gwt:onPropertyErrorFn"',qb='gwt:onLoadErrorFn',rb='" for "gwt:onLoadErrorFn"',sb='#',tb='?',ub='/',vb='img',wb='clear.cache.gif',xb='baseUrl',yb='VaadinComponents.nocache.js',zb='base',Ab='//',Bb='modernie',Cb='MSIE',Db='Trident',Eb='yes',Fb='none',Gb='selectorCapability',Hb='function',Ib='native',Jb='js',Kb='user.agent',Lb='webkit',Mb='safari',Nb='msie',Ob=10,Pb=11,Qb='ie10',Rb=9,Sb='ie9',Tb=8,Ub='ie8',Vb='gecko',Wb='gecko1_8',Xb=2,Yb=3,Zb=4,$b='selectingPermutation',_b='VaadinComponents.devmode.js',ac='C7324F422385CEA394B679DE61F65514',bc=':1',cc=':2',dc=':3',ec=':4',fc=':',gc='.cache.js',hc='loadExternalRefs',ic='end',jc='http:',kc='file:',lc='_gwt_dummy_',mc='__gwtDevModeHook:VaadinComponents',nc='Ignoring non-whitelisted Dev Mode URL: ',oc=':moduleBase',pc='head';var n=window;var o=document;q(N,O);function p(){var a=n.location.search;return a.indexOf(P)!=-1||a.indexOf(Q)!=-1} function q(a,b){if(n.__gwtStatsEvent){n.__gwtStatsEvent({moduleName:R,sessionId:n.__gwtStatsSessionId,subSystem:S,evtGroup:a,millis:(new Date).getTime(),type:b})}} VaadinComponents.__sendStats=q;VaadinComponents.__moduleName=R;VaadinComponents.__errFn=null;VaadinComponents.__moduleBase=T;VaadinComponents.__softPermutationId=U;VaadinComponents.__computePropValue=null;VaadinComponents.__getPropMap=null;VaadinComponents.__installRunAsyncCode=function(){};VaadinComponents.__gwtStartLoadingFragment=function(){return null};VaadinComponents.__gwt_isKnownPropertyValue=function(){return false};VaadinComponents.__gwt_getMetaProperty=function(){return null};var r=null;var s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[R]={moduleName:R};VaadinComponents.__moduleStartupDone=function(e){var f=s[R].bindings;s[R].bindings=function(){var a=f?f():{};var b=e[VaadinComponents.__softPermutationId];for(var c=U;c<b.length;c++){var d=b[c];a[d[U]]=d[V]}return a}};var t;function u(){v();return t} function v(){if(t){return}var a=o.createElement(W);a.src=X;a.id=R;a.style.cssText=Y+Z;a.tabIndex=-1;o.body.appendChild(a);t=a.contentDocument;if(!t){t=a.contentWindow.document}t.open();var b=document.compatMode==$?_:ab;t.write(b+bb);t.close()} @@ -23,8 +23,8 @@ function F(){if(!n.__gwt_stylesLoaded){n.__gwt_stylesLoaded={}}q(hc,O);q(hc,ic)} A();VaadinComponents.__moduleBase=B();s[R].moduleBase=VaadinComponents.__moduleBase;var G=D();if(n){var H=!!(n.location.protocol==jc||n.location.protocol==kc);n.__gwt_activeModules[R].canRedirect=H;function I(){var b=lc;try{n.sessionStorage.setItem(b,b);n.sessionStorage.removeItem(b);return true}catch(a){return false}} if(H&&I()){var J=mc;var K=n.sessionStorage[J];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(K)){if(K&&(window.console&&console.log)){console.log(nc+K)}K=ab}if(K&&!n[J]){n[J]=true;n[J+oc]=B();var L=o.createElement(eb);L.src=K;var M=o.getElementsByTagName(pc)[U];M.insertBefore(L,M.firstElementChild||M.children[U]);return false}}}F();q(N,ic);w(G);return true} VaadinComponents.succeeded=VaadinComponents(); -function _4EF6B951A6768F53448D75C6EE0D9ADD(){ -var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.VaadinComponents;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats('moduleStartup', 'moduleEvalStart');var $gwt_version = "2.8.0-SNAPSHOT";var $strongName = '4EF6B951A6768F53448D75C6EE0D9ADD';var $gwt = {};var $doc = $wnd.document;var $moduleName, $moduleBase;function __gwtStartLoadingFragment(frag) {var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js';return __gwtModuleFunction.__startLoadingFragment(fragFile);}function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}function __gwt_isKnownPropertyValue(propName, propValue) {return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue);}function __gwt_getMetaProperty(name) {return __gwtModuleFunction.__gwt_getMetaProperty(name);}var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;var aa=3.141592653589793,h={3:1},ba={3:1,13:1},ca={3:1,12:1,13:1},da={3:1,12:1,10:1,13:1},ea={40:1,9:1,3:1,5:1,4:1},fa={14:1,9:1,3:1,5:1,4:1},ga={9:1,48:1,3:1,5:1,4:1},ha={9:1,49:1,3:1,5:1,4:1},ia={9:1,50:1,3:1,5:1,4:1},ja={27:1,3:1,5:1,4:1},ka={9:1,70:1,3:1,5:1,4:1},la={9:1,41:1,3:1,5:1,4:1},ma={82:1,71:1,3:1,12:1,10:1,13:1},na=4194303,oa=1048575,pa=524288,qa=4194304,ra=17592186044416,sa=-9223372036854775E3,ta={6:1},ua={44:1,45:1},va={84:1},wa={26:1,21:1,19:1,24:1,22:1,20:1,17:1},xa={26:1,21:1,19:1, +function _C7324F422385CEA394B679DE61F65514(){ +var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.VaadinComponents;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats('moduleStartup', 'moduleEvalStart');var $gwt_version = "2.8.0-SNAPSHOT";var $strongName = 'C7324F422385CEA394B679DE61F65514';var $gwt = {};var $doc = $wnd.document;var $moduleName, $moduleBase;function __gwtStartLoadingFragment(frag) {var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js';return __gwtModuleFunction.__startLoadingFragment(fragFile);}function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}function __gwt_isKnownPropertyValue(propName, propValue) {return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue);}function __gwt_getMetaProperty(name) {return __gwtModuleFunction.__gwt_getMetaProperty(name);}var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;var aa=3.141592653589793,h={3:1},ba={3:1,13:1},ca={3:1,12:1,13:1},da={3:1,12:1,10:1,13:1},ea={40:1,9:1,3:1,5:1,4:1},fa={14:1,9:1,3:1,5:1,4:1},ga={9:1,48:1,3:1,5:1,4:1},ha={9:1,49:1,3:1,5:1,4:1},ia={9:1,50:1,3:1,5:1,4:1},ja={27:1,3:1,5:1,4:1},ka={9:1,70:1,3:1,5:1,4:1},la={9:1,41:1,3:1,5:1,4:1},ma={82:1,71:1,3:1,12:1,10:1,13:1},na=4194303,oa=1048575,pa=524288,qa=4194304,ra=17592186044416,sa=-9223372036854775E3,ta={6:1},ua={44:1,45:1},va={84:1},wa={26:1,21:1,19:1,24:1,22:1,20:1,17:1},xa={26:1,21:1,19:1, 24:1,37:1,22:1,35:1,20:1,17:1},za={26:1,21:1,19:1,72:1,24:1,37:1,22:1,35:1,20:1,17:1},Ba=65536,Ca=131072,Da=1048576,Ea=2097152,Fa=8388608,Ga=16777216,Ha=33554432,Ia=67108864,Ja={26:1,21:1,19:1,85:1,24:1,37:1,22:1,35:1,20:1,17:1},Ka={42:1},La={58:1,3:1,5:1,4:1},Ma={61:1},Na={65:1},Oa={55:1},Pa={3:1,42:1,86:1},Qa={3:1,65:1},_,Ra,Sa={},Ta=-1;function Ua(){} function Va(a){var b=this;if("$wnd"==a)return $wnd;if(""===a)return b;"$wnd."==a.substring(0,5)&&(b=$wnd,a=a.substring(5));a=a.split(".");a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)b[d]?b=b[d]:b=b[d]={};return b}function Wa(a){function b(){}b.prototype=a||{};return new b}function Xa(a){var b=[!1];return function(){for(var d=[],e=0;e<arguments.length;e++){var f;f=arguments[e];f=b[e]?"number"==typeof f?Ya(f):f:f;d.push(f)}return a.apply(this,d)}} function m(){}function s(a,b,d){var e=Sa[a],f=e instanceof Array?e[0]:null;e&&!f?_=e:(_=Sa[a]=b?Wa(Sa[b]):{},_.cM=d,_.constructor=_,!b&&(_.tM=Ua));for(e=3;e<arguments.length;++e)arguments[e].prototype=_;f&&(_.cZ=f)}function Za(a){return $a(ab(a))+"@"+(bb(a)>>>0).toString(16)}function cb(){}function db(a,b){return eb(a)?a===b:fb(a)?a.eQ(b):(gb(a),a===b)}function ab(a){return eb(a)?hb:fb(a)?a.cZ:gb(a)?a.cZ:ib}function bb(a){return eb(a)?jb(a):fb(a)?a.hC():(gb(a),kb(a))}s(1,null,{},cb);_.eQ=lb; @@ -394,7 +394,7 @@ l.d);p.innerHTML=l.b||"";break;case 2:ey(this,a,new Yi(O(y(Wr,1),h,75,0,[d]))),g _.Jb=function(){var a,b,d,e;b=(G(),aj("v-grid",Ei)).c;d=0;for(e=b.length;d<e;++d)a=b[d],a.of()};w(177);s(523,1,{});_.addEventListener=function(a,b){this.addEventListener(a,b)};_.appendChild=function(a){this.appendChild(a)};_.children=function(){return this.children};_.className=function(){return this.className};_.className=function(a){return _=this,_.className=a,_};_.createShadowRoot=function(){return this.createShadowRoot()};_.dispatchEvent=function(a){this.dispatchEvent(a)};_.getAttribute=function(a){return this.getAttribute(a)}; _.innerHTML=function(a){this.innerHTML=a};_.innerText=function(){return this.innerText};_.innerText=function(a){this.innerText=a};_.setAttribute=function(a,b){this.setAttribute(a,b)};_.shadowRoot=function(){return this.shadowRoot};_.style=function(){return this.style};w(523);s(524,523,{});w(524);function hy(){hy=m;iy=$wnd}var iy;function jy(){jy=m;ky=new Lg;ly=new Lg;my=new Lg;ny=new Lg;oy=py();qy=ry()} function ry(){var a=$wnd.cancelAnimationFrame||$wnd.mozCancelAnimationFrame||$wnd.webkitCancelAnimationFrame||$wnd.clearTimeout;return function(b){return a(b)}}function sy(a){jy();return ny.Qe(a)}function py(){var a=$wnd.requestAnimationFrame||$wnd.mozRequestAnimationFrame||$wnd.webkitRequestAnimationFrame||function(a){return $wnd.setTimeout(a,20)};return function(b){return a(b)}} -function ty(a){console.log("ElementResizemanager::onElementScroll",a);var b=a.currentTarget;uy(b);(a=my.Qe(b))&&qy(a);a=oy(function(){var a=sy(b);if(b.offsetWidth!=a.width||b.offsetHeight!=a.height){var a=new vy,e,f,g;rb(wy);for(f=ky.Qe(b).vc();f.Gc();)e=f.Hc(),g=e.a.r,0==g&&(e.a.t?g=e.a.t.Yc():e.a.e.j&&(g=e.a.e.j.Yc())),xy(e.a,g);jy();ny.Re(b,a)}});my.Re(b,a)} +function ty(a){var b=a.currentTarget;uy(b);(a=my.Qe(b))&&qy(a);a=oy(function(){var a=sy(b);if(b.offsetWidth!=a.width||b.offsetHeight!=a.height){var a=new vy,e,f,g;rb(wy);for(f=ky.Qe(b).vc();f.Gc();)e=f.Hc(),g=e.a.r,0==g&&(e.a.t?g=e.a.t.Yc():e.a.e.j&&(g=e.a.e.j.Yc())),xy(e.a,g);jy();ny.Re(b,a)}});my.Re(b,a)} function uy(a){jy();var b=ly.Qe(a);a=b.firstElementChild;var b=b.lastElementChild,d=a.firstElementChild;b.scrollLeft=b.scrollWidth;b.scrollTop=b.scrollHeight;d.style.width=a.offsetWidth+1+"px";d.style.height=a.offsetHeight+1+"px";a.scrollLeft=a.scrollWidth;a.scrollTop=a.scrollHeight}var qy,my,ky,ny,ly,oy,wy=w(null);function yy(a){this.a=a}s(283,39,{},yy);_.W=function(){uy(this.a);if(!sy(this.a)){var a=this.a,b=new vy;jy();ny.Re(a,b)}a=this.a;jy();a.addEventListener("scroll",ty,!0)};w(283); function vy(){}s(282,1,{},vy);w(282);function zy(){zy=m;new Dg;Ay=(hy(),iy);By=Ay.document;Cy()} function Dy(a){var b=$wnd.Object.create($wnd.HTMLElement.prototype);a=$wnd.Object.getPrototypeOf(a);(function(a,b){for(var f in b)if(b.hasOwnProperty(f)){var g=/^jsProperty([A-Z].+)$/.exec(f);if(g){var l=g[1].charAt(0).toLowerCase()+g[1].slice(1),n="get"+g[1],g="set"+g[1];void 0===b[l]&&Object.defineProperty(a,l,{get:b[n]||function(){},set:b[g]||function(){},enumerable:!0,configurable:!0});delete a[n];delete a[g]}else a[f]=b[f]}})(b,a);$wnd.__addEventListener_patched&&(b.addEventListener=$wnd.__addEventListener_patched); @@ -432,7 +432,7 @@ _.ve=function(){var a,b,d,e;a=this.getAttribute("dataSource");e=/\{\{\s*(\w+)\s* _.we=function(){var a,b;Sy(this.d,this,this.s,new wz);this.te();this.ue();dz(this);this.ve();this.selectedRow=v(Hy(this,"selectedRow",-1));a=Jy(this,"type",null);b=Jy(this,"url",null);"ajax"===a&&null!=b&&(a={},ej(a,"url",b),this.dataSource=a)};_.redraw=function(){var a,b;a=this.e.o;b=a.k;b.f=!0;b.Vd();b=a.g;b.f=!0;b.Vd();b=a.a;b.f=!0;b.Vd();a=a.d;for(b=0;b<a.a.b.length;b++)kw(a,b,(lw(a,b),fs(a.a,b).b))}; _.refresh=function(){var a;if(t(this.e.j,61)){a=this.selectedRow;var b=this.e.j,d=b.b;b.r=d;Pq(b,b.e);b.e=$(0,0);var b=b.j,e,f;e=b.a.o.a;f=e.n;d>f?gt(e,f,d-f):d<f&&it(e,d,f-d);0<d&&(b.a.i=!0,d=Ju(b.a.o),b.b.Rc(d.b,d.a-d.b));0<a&&(this.n=!0,Wi(this).Ob(5,O(y(ui,1),h,6,0,[new xz(this,a)])))}else this.e.j&&Pw(this.e,this.e.j)};_.xe=function(a){this.a=!0;this.b=a};_.setColumnWidth=function(a,b){Fw(this.e,a).je(b)}; _.setColumns=function(a){this.a=!0;var b=(!U&&(U=new xi),yi(wk)).Rb("columns",a),d,e,f,g;a=Ql(b.a,"columns");a=F(Ek,h,509,a?a.length:0,0);b=Ql(b.a,"columns");f=a.length;for(d=0;d<f;d++)g=fj(b,E(d)),e=new Fk,a[d]=zi(e,g);this.b=new Yi(a)};_.setDataSource=function(a){if(Pi(a))Pw(this.e,new yz(a,this.r,this));else if(Ti(a))this.te(),Pw(this.e,new zz(a,this));else if(null!=(a?fj(a,"url"):null))this.te(),new Az(a,this);else throw new ec("Unknown jso: "+a);};_.setHeight=function(a){Qu(this.e.o,a)}; -_.setHeightMode=function(a){a=(Cu(),Md((Bz(),Cz),a));Tu(this.e.o,a)};_.setRowCount=function(a){this.r=v(a);xy(this,this.r)};_.setSelectedRow=function(a){0>a||a>=this.e.j.Yc()?0<this.selectedRow&&St(this.e,this.e.j.Tc(this.selectedRow)):tt(this.e,this.e.j.Tc(a));(eb(this)||this.tM===Ua?this.Pd:this.onSelect).bind(this)(null)};_.setSelectedRows=function(a){var b;a!=this.p&&Vy(this.p);this.p=a;this.q=!0;this.e.G.Td();a=0;for(b=this.p.length;a<b;a++)tt(this.e,this.e.j.Tc(this.p[a]));this.q=!1}; +_.setHeightMode=function(a){a=(Cu(),Md((Bz(),Cz),a));Tu(this.e.o,a)};_.setRowCount=function(a){this.r=v(a);xy(this,this.r)};_.setSelectedRow=function(a){0>a||a>=this.e.j.Yc()?0<=this.selectedRow&&St(this.e,this.e.j.Tc(this.selectedRow)):tt(this.e,this.e.j.Tc(a));(eb(this)||this.tM===Ua?this.Pd:this.onSelect).bind(this)(null)};_.setSelectedRows=function(a){var b;a!=this.p&&Vy(this.p);this.p=a;this.q=!0;this.e.G.Td();a=0;for(b=this.p.length;a<b;a++)tt(this.e,this.e.j.Tc(this.p[a]));this.q=!1}; _.setTheme=Dz;_.ye=function(){var a=new C;this.a=!0;this.t=a};_.a=!0;_.g=0;_.i=!1;_.j=null;_.n=!1;_.q=!1;_.r=0;w(180);function lz(a){this.a=a}s(181,1,{},lz);w(181);function fz(a,b){this.a=a;this.b=b}s(182,1,{},fz); _.cd=function(a,b){var d,e;e=Tl(this.a.a,"renderer");d=a.a.c;if(e)if(Pi(e))Vl(e,"call",O(y(z,1),h,1,3,[e,d,b,a.e.a]));else{var f=(G(),new V(d));if(null==(0==f.c.length?null:Wj(uj(f,0),"init",null))){var g=new V(d),f=(dg(),dg(),eg),l,n,p;l=g.c;n=0;for(p=l.length;n<p;++n)g=l[n],Wj(g,"init",f);Vl(e,"init",O(y(z,1),h,1,3,[d]))}Vl(e,"render",O(y(z,1),h,1,3,[d,b]))}else null!=W(this.a.a,"template")?(e=W(this.a.a,"template").replace(this.b,""+b),d.innerHTML=e||""):d.innerHTML=""+b||""};w(182); function ez(a,b,d){this.a=b;this.b=d;Mx(this,a)}s(183,126,{},ez);_.ie=function(a){var b;b=fj(this.a.a,"value");pb(b)&&Pi(b)?a=Vl(b,"call",O(y(z,1),h,1,3,[b,a,E(this.b)])):eb(b)?a=a?fj(a,b):null:Ti(a)?(b=this.b,a=null!=a[b]?Object(a[b]):null):(b=Sj(a)[this.b],a=fj(a,""+b));return a};_.b=0;w(183);function wz(){ti.call(this)}s(184,6,ta,wz);_.Jb=function(){Zi($i(O(y(z,1),h,1,3,[(G(),"LOADED...")])))};w(184);function xz(a,b){this.a=a;this.b=b;ti.call(this)}s(185,6,ta,xz); |