UNPKG

uomlibraryapps-card-scanner-hybrid-local

Version:

Library Node.js app for UoM card scanning (hybrid-local)

1 lines 4.44 kB
function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}function _possibleConstructorReturn(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{eClD:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),o=function t(){_classCallCheck(this,t)},i=n("pMnS"),a=n("A9Ix"),u=n("8Nsy"),c=n("SxSA"),l=n("mrSG"),s=n("GJ2u"),b=n("hott"),f=function(t){function e(t,n,r){var o;return _classCallCheck(this,e),(o=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this))).activatedRoute=t,o.restSharedService=n,o.scanStateService=r,o.variation=b.EUomLibraryCardVariation.STAFF,o}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){return l.a(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.subscribe(this.activatedRoute.data,(function(t){e.variation=t.uiConfig.variation||b.EUomLibraryCardVariation.STAFF})),this.restSharedService.enable(),this.scanStateService.reset();case 1:case"end":return t.stop()}}),t,this)})))}},{key:"ngOnDestroy",value:function(){this.restSharedService.disable()}}]),e}(s.a),p=n("iInd"),h=r.ob({encapsulation:0,styles:[["@charset 'utf8';"]],data:{}});function z(t){return r.Lb(0,[(t()(),r.qb(0,0,null,null,1,"events-scanning",[],null,null,null,a.f,a.c)),r.pb(1,4440064,null,0,u.n,[c.l,u.m,c.j],{cardVariation:[0,"cardVariation"]},null)],(function(t,e){t(e,1,0,e.component.variation)}),null)}var d=r.mb("ng-component",f,(function(t){return r.Lb(0,[(t()(),r.qb(0,0,null,null,1,"ng-component",[],null,null,null,z,h)),r.pb(1,4440064,null,0,f,[p.a,c.i,c.j],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),v=n("SVse"),y=n("IheW"),_=n("s7LF"),g=n("lawv"),O=n("nInh"),S=n("eBf0"),m=n("lcbv"),w=n("+Bp1"),C=n("IJyt"),k=n("PE8+"),j=n("Bkf3"),P=n("o0aZ"),E=n("6Thp"),T=n("dkw+"),R=n("8Ouj"),F=n("aoTd"),I=n("UMOW"),A=n("YGig"),q=n("GWMK"),x=n("p6ht"),J=function t(){_classCallCheck(this,t)};n.d(e,"ScanModuleNgFactory",(function(){return L}));var L=r.nb(o,[],(function(t){return r.yb([r.zb(512,r.j,r.X,[[8,[i.a,d]],[3,r.j],r.v]),r.zb(4608,v.l,v.k,[r.s,[2,v.v]]),r.zb(4608,y.j,y.p,[v.c,r.z,y.n]),r.zb(4608,y.q,y.q,[y.j,y.o]),r.zb(5120,y.a,(function(t){return[t]}),[y.q]),r.zb(4608,y.m,y.m,[]),r.zb(6144,y.k,null,[y.m]),r.zb(4608,y.i,y.i,[y.k]),r.zb(6144,y.b,null,[y.i]),r.zb(4608,y.g,y.l,[y.b,r.p]),r.zb(4608,y.c,y.c,[y.g]),r.zb(4608,_.i,_.i,[]),r.zb(1073742336,v.b,v.b,[]),r.zb(1073742336,y.e,y.e,[]),r.zb(1073742336,y.d,y.d,[]),r.zb(1073742336,s.d,s.d,[]),r.zb(1073742336,g.b,g.b,[]),r.zb(1073742336,O.g,O.g,[]),r.zb(1073742336,S.e,S.e,[]),r.zb(1073742336,m.k,m.k,[]),r.zb(1073742336,_.h,_.h,[]),r.zb(1073742336,_.c,_.c,[]),r.zb(1073742336,w.b,w.b,[]),r.zb(1073742336,C.A,C.A,[]),r.zb(1073742336,k.E,k.E,[]),r.zb(1073742336,j.f,j.f,[]),r.zb(1073742336,P.h,P.h,[]),r.zb(1073742336,E.l,E.l,[]),r.zb(1073742336,T.e,T.e,[]),r.zb(1073742336,R.c,R.c,[]),r.zb(1073742336,F.a,F.a,[]),r.zb(1073742336,I.a,I.a,[]),r.zb(1073742336,A.d,A.d,[]),r.zb(1073742336,q.b,q.b,[]),r.zb(1073742336,x.a,x.a,[]),r.zb(1073742336,c.h,c.h,[]),r.zb(1073742336,u.j,u.j,[]),r.zb(1073742336,p.s,p.s,[[2,p.x],[2,p.o]]),r.zb(1073742336,J,J,[]),r.zb(1073742336,o,o,[]),r.zb(256,y.n,"XSRF-TOKEN",[]),r.zb(256,y.o,"X-XSRF-TOKEN",[]),r.zb(1024,p.m,(function(){return[[{path:"",pathMatch:"full",resolve:{uiConfig:c.n},component:f}]]}),[])])}))}}]);