Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-uomlibraryapps-card-scanner-events

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-uomlibraryapps-card-scanner-events - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

22

bundles/ngx-uomlibraryapps-card-scanner-events.umd.js

@@ -532,2 +532,3 @@ (function (global, factory) {

_this.onRejected = new core.EventEmitter(true);
_this.onSignout = new core.EventEmitter(true);
return _this;

@@ -568,2 +569,9 @@ }

}));
this.on('signout', (/**
* @param {?} data
* @return {?}
*/
function (data) {
_this.onSignout.emit(data.name);
}));
};

@@ -606,2 +614,11 @@ /**

};
/**
* @return {?}
*/
SocketIoEventsService.prototype.signoutObservable = /**
* @return {?}
*/
function () {
return this.onSignout;
};
SocketIoEventsService.decorators = [

@@ -637,2 +654,7 @@ { type: core.Injectable }

SocketIoEventsService.prototype.onRejected;
/**
* @type {?}
* @private
*/
SocketIoEventsService.prototype.onSignout;
}

@@ -639,0 +661,0 @@

2

bundles/ngx-uomlibraryapps-card-scanner-events.umd.min.js

@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common/http"),require("tscommons-core"),require("ngx-angularcommons-app"),require("ngx-nodeappcommons-angular"),require("uomlibrarycommons-card-scanner"),require("rxjs"),require("ngx-angularcommons-core"),require("ngx-angularcommons-pipe"),require("@angular/common"),require("ngx-webappcommons-core"),require("ngx-webappcommons-app"),require("ngx-webappcommons-mobile"),require("ngx-webappcommons-table"),require("ngx-uomlibraryapps-card-scanner-shared"),require("uomlibrarycommons-core")):"function"==typeof define&&define.amd?define("ngx-uomlibraryapps-card-scanner-events",["exports","@angular/core","@angular/common/http","tscommons-core","ngx-angularcommons-app","ngx-nodeappcommons-angular","uomlibrarycommons-card-scanner","rxjs","ngx-angularcommons-core","ngx-angularcommons-pipe","@angular/common","ngx-webappcommons-core","ngx-webappcommons-app","ngx-webappcommons-mobile","ngx-webappcommons-table","ngx-uomlibraryapps-card-scanner-shared","uomlibrarycommons-core"],t):t((e=e||self)["ngx-uomlibraryapps-card-scanner-events"]={},e.ng.core,e.ng.common.http,e.tscommonsCore,e.ngxAngularcommonsApp,e.ngxNodeappcommonsAngular,e.uomlibrarycommonsCardScanner,e.rxjs,e.ngxAngularcommonsCore,e.ngxAngularcommonsPipe,e.ng.common,e.ngxWebappcommonsCore,e.ngxWebappcommonsApp,e.ngxWebappcommonsMobile,e.ngxWebappcommonsTable,e.ngxUomlibraryappsCardScannerShared,e.uomlibrarycommonsCore)}(this,(function(e,t,n,o,r,i,s,a,c,u,l,p,d,m,h,v,g){"use strict";

and limitations under the License.
***************************************************************************** */var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function S(e,t){function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function b(e,t,n,o){return new(n||(n=Promise))((function(r,i){function s(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(s,a)}c((o=o.apply(e,t||[])).next())}))}function y(e,t){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var w=function(){function e(){this.onAllowScanning=new t.EventEmitter(!0)}return e.prototype.allowScanningObservable=function(){return this.onAllowScanning},e.prototype.allowScanning=function(e){this.onAllowScanning.emit(e)},e.decorators=[{type:t.Injectable}],e}();var A=function(){function e(){this.onEventTitle=new t.EventEmitter(!0)}return e.prototype.eventTitleObservable=function(){return this.onEventTitle},e.prototype.eventTitle=function(e){this.onEventTitle.emit(e)},e.decorators=[{type:t.Injectable}],e}();var E=function(e){function i(t,n){return e.call(this,t,n)||this}return S(i,e),i.prototype.listEventSessions=function(){return b(this,void 0,void 0,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return[4,this.get("/events")];case 1:if(e=n.sent(),t=e.map((function(e){return s.toIUomLibraryCardScannerEventSession(e)})),!o.CommonsType.isTArray(t,s.isIUomLibraryCardScannerEventSession))throw new Error("Invalid event sessions returned");return[2,t]}}))}))},i.prototype.getAllowAdditional=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.get("/events/allow-additional")];case 1:return[2,e.sent()];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))},i.prototype.setAllowAdditional=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/allow-additional",{state:e})];case 1:return[2,t.sent()]}}))}))},i.prototype.getAllowSignoutEnabled=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.get("/events/config/allow-signout")];case 1:return[2,e.sent()];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))},i.prototype.getAllowSignout=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,this.getAllowSignoutEnabled()];case 1:return e.sent()?[4,this.get("/events/allow-signout")]:[2,!1];case 2:return[2,e.sent()];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},i.prototype.setAllowSignout=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/allow-signout",{state:e})];case 1:return[2,t.sent()]}}))}))},i.prototype.getActiveEventSession=function(){return b(this,void 0,void 0,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.get("/events/active")];case 1:if(null===(e=n.sent()))return[2,void 0];if(t=s.toIUomLibraryCardScannerEventSession(e),!s.isIUomLibraryCardScannerEventSession(t))throw new Error("Invalid event session returned");return[2,t];case 2:return n.sent(),[2,void 0];case 3:return[2]}}))}))},i.prototype.clearActiveEventSession=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return[4,this.patch("/events/active",{})];case 1:return e.sent(),[2]}}))}))},i.prototype.setActiveEventSession=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/active",{event:e.event,session:e.session})];case 1:return[2,t.sent()]}}))}))},i.decorators=[{type:t.Injectable}],i.ctorParameters=function(){return[{type:n.HttpClient},{type:r.CommonsConfigService}]},i}(i.NodeAppCommonsRestService),C=function(e){function n(n){var o=e.call(this,n)||this;return o.onAccepted=new t.EventEmitter(!0),o.onAdditional=new t.EventEmitter(!0),o.onDuplicate=new t.EventEmitter(!0),o.onRejected=new t.EventEmitter(!0),o}return S(n,e),n.prototype.setupOns=function(){var e=this;this.on("accepted",(function(t){console.log(t),t.additional?e.onAdditional.emit(t.name):e.onAccepted.emit(t.name)})),this.on("rejected",(function(){e.onRejected.emit()})),this.on("duplicate",(function(){e.onDuplicate.emit()}))},n.prototype.acceptedObservable=function(){return this.onAccepted},n.prototype.additionalObservable=function(){return this.onAdditional},n.prototype.duplicateObservable=function(){return this.onDuplicate},n.prototype.rejectedObservable=function(){return this.onRejected},n.decorators=[{type:t.Injectable}],n.ctorParameters=function(){return[{type:r.CommonsConfigService}]},n}(i.NodeAppCommonsSocketIoService);var x=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowAdditional())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var I=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowSignout())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var O=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowSignoutEnabled())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var j=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getActiveEventSession())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var P=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.listEventSessions())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var q=function(){function e(e){this.restService=e}return e.prototype.canActivate=function(e,t){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return[4,this.restService.getActiveEventSession()];case 1:return[2,void 0!==e.sent()]}}))}))},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var D=function(e){function n(){var n=e.call(this)||this;return n.eventSessions=[],n.hasAllowAdditional=!1,n.hasSignoutEnabled=!1,n.hasDetections=!1,n.selectedChange=new t.EventEmitter(!0),n.selectedIndex=-1,n}return S(n,e),n.prototype.ngOnChanges=function(e){var t=this;if(this.eventSessions){var n=this.eventSessions.find((function(e){return void 0!==t.selected&&t.selected.event===e.event&&t.selected.session===e.session}));this.selectedIndex=n?this.eventSessions.indexOf(n):-1}},n.prototype.getHeaders=function(){return this.hasDetections?[{name:"start",caption:"Date & time",width:"24%"},{name:"title",caption:"Event and session title",width:"40%"},{name:"location",caption:"Location",width:"18%"},{name:"signups",caption:"Signups",width:"9%",align:"right"},{name:"detections",caption:"Scans",width:"9%",align:"right"}]:[{name:"start",caption:"Date & time",width:"24%"},{name:"title",caption:"Event and session title",width:"45%"},{name:"location",caption:"Location",width:"21%"},{name:"signups",caption:"Signups",width:"10%",align:"right"}]},n.prototype.getData=function(){var e=this,t=new u.CommonsPrettyDateTimePipe;return this.eventSessions.map((function(n){var o={start:t.transform(n.start),title:n.title,location:n.location,signups:n.signups.length};return e.hasDetections&&(o.detections=n.detections.length),o}))},n.prototype.getHeight=function(){return this.hasSignoutEnabled&&this.hasAllowAdditional?5:this.hasSignoutEnabled||this.hasAllowAdditional?6:7},n.prototype.doSelect=function(e){e<0||e>=this.eventSessions.length||this.selectedChange.emit(this.eventSessions[e])},n.decorators=[{type:t.Component,args:[{selector:"events-event-table",template:'<ng-container *ngIf="this.eventSessions && this.eventSessions.length > 0; else noEvents">\n\t<table commons-table\n\t\t\t[header]="this.getHeaders()"\n\t\t\t[data]="this.getData()"\n\t\t\t[height]="this.getHeight()"\n\t\t\t[rowSelectable]="true"\n\t\t\t[selected]="this.selectedIndex"\n\t\t\t(selectedChange)="this.doSelect($event);"\n\t>\n\t</table>\n</ng-container>\n\n<ng-template #noEvents>\n\t<commons-pane>\n\t\t<commons-info-line notification>No events.</commons-info-line>\n\t</commons-pane>\n</ng-template>\n',styles:[""]}]}],n.ctorParameters=function(){return[]},n.propDecorators={eventSessions:[{type:t.Input}],hasAllowAdditional:[{type:t.Input}],hasSignoutEnabled:[{type:t.Input}],hasDetections:[{type:t.Input}],selected:[{type:t.Input}],selectedChange:[{type:t.Output}]},n}(c.CommonsComponent);var M=function(e){function n(){var n=e.call(this)||this;return n.allowAdditionalChange=new t.EventEmitter(!0),n.allowSignoutChange=new t.EventEmitter(!0),n}return S(n,e),n.prototype.doAllowAdditional=function(){this.allowAdditionalChange.emit(this.allowAdditional)},n.prototype.doAllowSignout=function(){this.allowSignoutChange.emit(this.allowSignout)},n.decorators=[{type:t.Component,args:[{selector:"events-options",template:'<commons-pane class="no-top-gap no-bottom-gap">\n\t<commons-switch\n\t\t\t[(on)]="this.allowAdditional"\n\t\t\t(onChange)="this.doAllowAdditional();"\n\t>Allow additional unregistered attendees</commons-switch>\n\t<commons-switch *ngIf="this.allowSignoutEnabled"\n\t\t\t[(on)]="this.allowSignout"\n\t\t\t(onChange)="this.doAllowSignout();"\n\t>Allow scanning in and out</commons-switch>\n</commons-pane>\n',styles:[""]}]}],n.ctorParameters=function(){return[]},n.propDecorators={allowSignoutEnabled:[{type:t.Input}],allowAdditional:[{type:t.Input}],allowAdditionalChange:[{type:t.Output}],allowSignout:[{type:t.Input}],allowSignoutChange:[{type:t.Output}]},n}(c.CommonsComponent);var N=function(e){function n(t,n,o){var r=e.call(this)||this;return r.socketIoSharedService=t,r.socketIoEventsService=n,r.scanStateService=o,r.cardVariation=g.EUomLibraryCardVariation.STAFF,r}return S(n,e),n.prototype.ngOnInit=function(){return b(this,void 0,void 0,(function(){var e=this;return y(this,(function(t){return this.subscribe(this.socketIoSharedService.detectedObservable(),(function(t){e.scanStateService.scanState({wait:!0})})),this.subscribe(this.socketIoEventsService.acceptedObservable(),(function(t){e.scanStateService.scanState({icon:"check_circle",color:v.EStateColor.SUCCESS,message:"Welcome "+t})})),this.subscribe(this.socketIoEventsService.additionalObservable(),(function(t){e.scanStateService.scanState({icon:"add_circle",color:v.EStateColor.SUCCESS,message:"Welcome "+t})})),this.subscribe(this.socketIoEventsService.duplicateObservable(),(function(t){e.scanStateService.scanState({icon:"pause_circle_filled",color:v.EStateColor.SECONDARY,message:"Already touched in"})})),this.subscribe(this.socketIoEventsService.rejectedObservable(),(function(t){e.scanStateService.scanState({icon:"remove_circle",color:v.EStateColor.ERROR,message:"Not signed up"})})),[2]}))}))},n.decorators=[{type:t.Component,args:[{selector:"events-scanning",template:'<shared-scanning\n\t\t[cardVariation]="this.cardVariation"\n></shared-scanning>\n',styles:["@charset 'utf8';"]}]}],n.ctorParameters=function(){return[{type:v.SocketIoSharedService},{type:C},{type:v.ScanStateService}]},n.propDecorators={cardVariation:[{type:t.Input}]},n}(c.CommonsComponent);var k=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[E,C,w,A,j,x,O,I,P,q]}},e.decorators=[{type:t.NgModule,args:[{imports:[l.CommonModule,n.HttpClientModule,c.NgxAngularCommonsCoreModule,u.NgxAngularCommonsPipeModule,r.NgxAngularCommonsAppModule,p.NgxWebAppCommonsCoreModule,d.NgxWebAppCommonsAppModule,m.NgxWebAppCommonsMobileModule,h.NgxWebAppCommonsTableModule,v.NgxUomLibraryAppsCardScannerSharedModule],declarations:[D,M,N],exports:[D,M,N]}]}],e}();e.ActiveEventSessionGuard=q,e.ActiveEventSessionResolver=j,e.AllowAdditionalResolver=x,e.AllowScanningService=w,e.AllowSignoutEnabledResolver=O,e.AllowSignoutResolver=I,e.EventSessionsResolver=P,e.EventTableComponent=D,e.EventTitleService=A,e.NgxUomLibraryAppsCardScannerEventsModule=k,e.OptionsComponent=M,e.RestEventsService=E,e.SocketIoEventsService=C,e.ɵa=N,Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function S(e,t){function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function b(e,t,n,o){return new(n||(n=Promise))((function(r,i){function s(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(s,a)}c((o=o.apply(e,t||[])).next())}))}function y(e,t){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var w=function(){function e(){this.onAllowScanning=new t.EventEmitter(!0)}return e.prototype.allowScanningObservable=function(){return this.onAllowScanning},e.prototype.allowScanning=function(e){this.onAllowScanning.emit(e)},e.decorators=[{type:t.Injectable}],e}();var A=function(){function e(){this.onEventTitle=new t.EventEmitter(!0)}return e.prototype.eventTitleObservable=function(){return this.onEventTitle},e.prototype.eventTitle=function(e){this.onEventTitle.emit(e)},e.decorators=[{type:t.Injectable}],e}();var E=function(e){function i(t,n){return e.call(this,t,n)||this}return S(i,e),i.prototype.listEventSessions=function(){return b(this,void 0,void 0,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return[4,this.get("/events")];case 1:if(e=n.sent(),t=e.map((function(e){return s.toIUomLibraryCardScannerEventSession(e)})),!o.CommonsType.isTArray(t,s.isIUomLibraryCardScannerEventSession))throw new Error("Invalid event sessions returned");return[2,t]}}))}))},i.prototype.getAllowAdditional=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.get("/events/allow-additional")];case 1:return[2,e.sent()];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))},i.prototype.setAllowAdditional=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/allow-additional",{state:e})];case 1:return[2,t.sent()]}}))}))},i.prototype.getAllowSignoutEnabled=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.get("/events/config/allow-signout")];case 1:return[2,e.sent()];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))},i.prototype.getAllowSignout=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,this.getAllowSignoutEnabled()];case 1:return e.sent()?[4,this.get("/events/allow-signout")]:[2,!1];case 2:return[2,e.sent()];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},i.prototype.setAllowSignout=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/allow-signout",{state:e})];case 1:return[2,t.sent()]}}))}))},i.prototype.getActiveEventSession=function(){return b(this,void 0,void 0,(function(){var e,t;return y(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.get("/events/active")];case 1:if(null===(e=n.sent()))return[2,void 0];if(t=s.toIUomLibraryCardScannerEventSession(e),!s.isIUomLibraryCardScannerEventSession(t))throw new Error("Invalid event session returned");return[2,t];case 2:return n.sent(),[2,void 0];case 3:return[2]}}))}))},i.prototype.clearActiveEventSession=function(){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return[4,this.patch("/events/active",{})];case 1:return e.sent(),[2]}}))}))},i.prototype.setActiveEventSession=function(e){return b(this,void 0,void 0,(function(){return y(this,(function(t){switch(t.label){case 0:return[4,this.patch("/events/active",{event:e.event,session:e.session})];case 1:return[2,t.sent()]}}))}))},i.decorators=[{type:t.Injectable}],i.ctorParameters=function(){return[{type:n.HttpClient},{type:r.CommonsConfigService}]},i}(i.NodeAppCommonsRestService),C=function(e){function n(n){var o=e.call(this,n)||this;return o.onAccepted=new t.EventEmitter(!0),o.onAdditional=new t.EventEmitter(!0),o.onDuplicate=new t.EventEmitter(!0),o.onRejected=new t.EventEmitter(!0),o.onSignout=new t.EventEmitter(!0),o}return S(n,e),n.prototype.setupOns=function(){var e=this;this.on("accepted",(function(t){console.log(t),t.additional?e.onAdditional.emit(t.name):e.onAccepted.emit(t.name)})),this.on("rejected",(function(){e.onRejected.emit()})),this.on("duplicate",(function(){e.onDuplicate.emit()})),this.on("signout",(function(t){e.onSignout.emit(t.name)}))},n.prototype.acceptedObservable=function(){return this.onAccepted},n.prototype.additionalObservable=function(){return this.onAdditional},n.prototype.duplicateObservable=function(){return this.onDuplicate},n.prototype.rejectedObservable=function(){return this.onRejected},n.prototype.signoutObservable=function(){return this.onSignout},n.decorators=[{type:t.Injectable}],n.ctorParameters=function(){return[{type:r.CommonsConfigService}]},n}(i.NodeAppCommonsSocketIoService);var x=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowAdditional())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var I=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowSignout())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var O=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getAllowSignoutEnabled())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var j=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.getActiveEventSession())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var P=function(){function e(e){this.restService=e}return e.prototype.resolve=function(e,t){return a.from(this.restService.listEventSessions())},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var q=function(){function e(e){this.restService=e}return e.prototype.canActivate=function(e,t){return b(this,void 0,void 0,(function(){return y(this,(function(e){switch(e.label){case 0:return[4,this.restService.getActiveEventSession()];case 1:return[2,void 0!==e.sent()]}}))}))},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:E}]},e}();var D=function(e){function n(){var n=e.call(this)||this;return n.eventSessions=[],n.hasAllowAdditional=!1,n.hasSignoutEnabled=!1,n.hasDetections=!1,n.selectedChange=new t.EventEmitter(!0),n.selectedIndex=-1,n}return S(n,e),n.prototype.ngOnChanges=function(e){var t=this;if(this.eventSessions){var n=this.eventSessions.find((function(e){return void 0!==t.selected&&t.selected.event===e.event&&t.selected.session===e.session}));this.selectedIndex=n?this.eventSessions.indexOf(n):-1}},n.prototype.getHeaders=function(){return this.hasDetections?[{name:"start",caption:"Date & time",width:"24%"},{name:"title",caption:"Event and session title",width:"40%"},{name:"location",caption:"Location",width:"18%"},{name:"signups",caption:"Signups",width:"9%",align:"right"},{name:"detections",caption:"Scans",width:"9%",align:"right"}]:[{name:"start",caption:"Date & time",width:"24%"},{name:"title",caption:"Event and session title",width:"45%"},{name:"location",caption:"Location",width:"21%"},{name:"signups",caption:"Signups",width:"10%",align:"right"}]},n.prototype.getData=function(){var e=this,t=new u.CommonsPrettyDateTimePipe;return this.eventSessions.map((function(n){var o={start:t.transform(n.start),title:n.title,location:n.location,signups:n.signups.length};return e.hasDetections&&(o.detections=n.detections.length),o}))},n.prototype.getHeight=function(){return this.hasSignoutEnabled&&this.hasAllowAdditional?5:this.hasSignoutEnabled||this.hasAllowAdditional?6:7},n.prototype.doSelect=function(e){e<0||e>=this.eventSessions.length||this.selectedChange.emit(this.eventSessions[e])},n.decorators=[{type:t.Component,args:[{selector:"events-event-table",template:'<ng-container *ngIf="this.eventSessions && this.eventSessions.length > 0; else noEvents">\n\t<table commons-table\n\t\t\t[header]="this.getHeaders()"\n\t\t\t[data]="this.getData()"\n\t\t\t[height]="this.getHeight()"\n\t\t\t[rowSelectable]="true"\n\t\t\t[selected]="this.selectedIndex"\n\t\t\t(selectedChange)="this.doSelect($event);"\n\t>\n\t</table>\n</ng-container>\n\n<ng-template #noEvents>\n\t<commons-pane>\n\t\t<commons-info-line notification>No events.</commons-info-line>\n\t</commons-pane>\n</ng-template>\n',styles:[""]}]}],n.ctorParameters=function(){return[]},n.propDecorators={eventSessions:[{type:t.Input}],hasAllowAdditional:[{type:t.Input}],hasSignoutEnabled:[{type:t.Input}],hasDetections:[{type:t.Input}],selected:[{type:t.Input}],selectedChange:[{type:t.Output}]},n}(c.CommonsComponent);var M=function(e){function n(){var n=e.call(this)||this;return n.allowAdditionalChange=new t.EventEmitter(!0),n.allowSignoutChange=new t.EventEmitter(!0),n}return S(n,e),n.prototype.doAllowAdditional=function(){this.allowAdditionalChange.emit(this.allowAdditional)},n.prototype.doAllowSignout=function(){this.allowSignoutChange.emit(this.allowSignout)},n.decorators=[{type:t.Component,args:[{selector:"events-options",template:'<commons-pane class="no-top-gap no-bottom-gap">\n\t<commons-switch\n\t\t\t[(on)]="this.allowAdditional"\n\t\t\t(onChange)="this.doAllowAdditional();"\n\t>Allow additional unregistered attendees</commons-switch>\n\t<commons-switch *ngIf="this.allowSignoutEnabled"\n\t\t\t[(on)]="this.allowSignout"\n\t\t\t(onChange)="this.doAllowSignout();"\n\t>Allow scanning in and out</commons-switch>\n</commons-pane>\n',styles:[""]}]}],n.ctorParameters=function(){return[]},n.propDecorators={allowSignoutEnabled:[{type:t.Input}],allowAdditional:[{type:t.Input}],allowAdditionalChange:[{type:t.Output}],allowSignout:[{type:t.Input}],allowSignoutChange:[{type:t.Output}]},n}(c.CommonsComponent);var N=function(e){function n(t,n,o){var r=e.call(this)||this;return r.socketIoSharedService=t,r.socketIoEventsService=n,r.scanStateService=o,r.cardVariation=g.EUomLibraryCardVariation.STAFF,r}return S(n,e),n.prototype.ngOnInit=function(){return b(this,void 0,void 0,(function(){var e=this;return y(this,(function(t){return this.subscribe(this.socketIoSharedService.detectedObservable(),(function(t){e.scanStateService.scanState({wait:!0})})),this.subscribe(this.socketIoEventsService.acceptedObservable(),(function(t){e.scanStateService.scanState({icon:"check_circle",color:v.EStateColor.SUCCESS,message:"Welcome "+t})})),this.subscribe(this.socketIoEventsService.additionalObservable(),(function(t){e.scanStateService.scanState({icon:"add_circle",color:v.EStateColor.SUCCESS,message:"Welcome "+t})})),this.subscribe(this.socketIoEventsService.duplicateObservable(),(function(t){e.scanStateService.scanState({icon:"pause_circle_filled",color:v.EStateColor.SECONDARY,message:"Already touched in"})})),this.subscribe(this.socketIoEventsService.rejectedObservable(),(function(t){e.scanStateService.scanState({icon:"remove_circle",color:v.EStateColor.ERROR,message:"Not signed up"})})),[2]}))}))},n.decorators=[{type:t.Component,args:[{selector:"events-scanning",template:'<shared-scanning\n\t\t[cardVariation]="this.cardVariation"\n></shared-scanning>\n',styles:["@charset 'utf8';"]}]}],n.ctorParameters=function(){return[{type:v.SocketIoSharedService},{type:C},{type:v.ScanStateService}]},n.propDecorators={cardVariation:[{type:t.Input}]},n}(c.CommonsComponent);var k=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[E,C,w,A,j,x,O,I,P,q]}},e.decorators=[{type:t.NgModule,args:[{imports:[l.CommonModule,n.HttpClientModule,c.NgxAngularCommonsCoreModule,u.NgxAngularCommonsPipeModule,r.NgxAngularCommonsAppModule,p.NgxWebAppCommonsCoreModule,d.NgxWebAppCommonsAppModule,m.NgxWebAppCommonsMobileModule,h.NgxWebAppCommonsTableModule,v.NgxUomLibraryAppsCardScannerSharedModule],declarations:[D,M,N],exports:[D,M,N]}]}],e}();e.ActiveEventSessionGuard=q,e.ActiveEventSessionResolver=j,e.AllowAdditionalResolver=x,e.AllowScanningService=w,e.AllowSignoutEnabledResolver=O,e.AllowSignoutResolver=I,e.EventSessionsResolver=P,e.EventTableComponent=D,e.EventTitleService=A,e.NgxUomLibraryAppsCardScannerEventsModule=k,e.OptionsComponent=M,e.RestEventsService=E,e.SocketIoEventsService=C,e.ɵa=N,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ngx-uomlibraryapps-card-scanner-events.umd.min.js.map

@@ -19,2 +19,3 @@ /**

this.onRejected = new EventEmitter(true);
this.onSignout = new EventEmitter(true);
}

@@ -49,2 +50,9 @@ /**

}));
this.on('signout', (/**
* @param {?} data
* @return {?}
*/
(data) => {
this.onSignout.emit(data.name);
}));
}

@@ -75,2 +83,8 @@ /**

}
/**
* @return {?}
*/
signoutObservable() {
return this.onSignout;
}
}

@@ -105,3 +119,8 @@ SocketIoEventsService.decorators = [

SocketIoEventsService.prototype.onRejected;
/**
* @type {?}
* @private
*/
SocketIoEventsService.prototype.onSignout;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ja2V0LWlvLWV2ZW50cy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXVvbWxpYnJhcnlhcHBzLWNhcmQtc2Nhbm5lci1ldmVudHMvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvc29ja2V0LWlvLWV2ZW50cy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJekQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFOUQsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sNEJBQTRC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blx0XHRcblx0XHR0aGlzLm9uKCdyZWplY3RlZCcsICgpOiB2b2lkID0+IHtcblx0XHRcdHRoaXMub25SZWplY3RlZC5lbWl0KCk7XG5cdFx0fSk7XG5cdFx0XG5cdFx0dGhpcy5vbignZHVwbGljYXRlJywgKCk6IHZvaWQgPT4ge1xuXHRcdFx0dGhpcy5vbkR1cGxpY2F0ZS5lbWl0KCk7XG5cdFx0fSk7XG5cdFx0XG5cdFx0dGhpcy5vbignc2lnbm91dCcsIChkYXRhOiB7IG5hbWU6IHN0cmluZyB9KTogdm9pZCA9PiB7XG5cdFx0XHR0aGlzLm9uU2lnbm91dC5lbWl0KGRhdGEubmFtZSk7XG5cdFx0fSk7XG5cdH1cblx0XG5cdHB1YmxpYyBhY2NlcHRlZE9ic2VydmFibGUoKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcblx0XHRyZXR1cm4gdGhpcy5vbkFjY2VwdGVkO1xuXHR9XG5cdFxuXHRwdWJsaWMgYWRkaXRpb25hbE9ic2VydmFibGUoKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcblx0XHRyZXR1cm4gdGhpcy5vbkFkZGl0aW9uYWw7XG5cdH1cblx0XG5cdHB1YmxpYyBkdXBsaWNhdGVPYnNlcnZhYmxlKCk6IE9ic2VydmFibGU8dm9pZD4ge1xuXHRcdHJldHVybiB0aGlzLm9uRHVwbGljYXRlO1xuXHR9XG5cdFxuXHRwdWJsaWMgcmVqZWN0ZWRPYnNlcnZhYmxlKCk6IE9ic2VydmFibGU8dm9pZD4ge1xuXHRcdHJldHVybiB0aGlzLm9uUmVqZWN0ZWQ7XG5cdH1cblx0XG5cdHB1YmxpYyBzaWdub3V0T2JzZXJ2YWJsZSgpOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuXHRcdHJldHVybiB0aGlzLm9uU2lnbm91dDtcblx0fVxufVxuIl19

@@ -18,2 +18,3 @@ /**

_this.onRejected = new EventEmitter(true);
_this.onSignout = new EventEmitter(true);
return _this;

@@ -54,2 +55,9 @@ }

}));
this.on('signout', (/**
* @param {?} data
* @return {?}
*/
function (data) {
_this.onSignout.emit(data.name);
}));
};

@@ -92,2 +100,11 @@ /**

};
/**
* @return {?}
*/
SocketIoEventsService.prototype.signoutObservable = /**
* @return {?}
*/
function () {
return this.onSignout;
};
SocketIoEventsService.decorators = [

@@ -124,3 +141,8 @@ { type: Injectable }

SocketIoEventsService.prototype.onRejected;
/**
* @type {?}
* @private
*/
SocketIoEventsService.prototype.onSignout;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ja2V0LWlvLWV2ZW50cy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXVvbWxpYnJhcnlhcHBzLWNhcmQtc2Nhbm5lci1ldmVudHMvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvc29ja2V0LWlvLWV2ZW50cy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSXpELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRTlELE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBRTNFO0lBQzJDLGlEQUE2QjtJQU12RSwrQkFDRSxhQUFtQztRQURyQyxZQUdDLGtCQUFNLGFBQWEsQ0FBQyxTQUNwQjtRQVRPLGdCQUFVLEdBQXlCLElBQUksWUFBWSxDQUFTLElBQUksQ0FBQyxDQUFDO1FBQ2xFLGtCQUFZLEdBQXlCLElBQUksWUFBWSxDQUFTLElBQUksQ0FBQyxDQUFDO1FBQ3BFLGlCQUFXLEdBQXVCLElBQUksWUFBWSxDQUFPLElBQUksQ0FBQyxDQUFDO1FBQy9ELGdCQUFVLEdBQXVCLElBQUksWUFBWSxDQ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XRlJywgKCk6IHZvaWQgPT4ge1xuXHRcdFx0dGhpcy5vbkR1cGxpY2F0ZS5lbWl0KCk7XG5cdFx0fSk7XG5cdFx0XG5cdFx0dGhpcy5vbignc2lnbm91dCcsIChkYXRhOiB7IG5hbWU6IHN0cmluZyB9KTogdm9pZCA9PiB7XG5cdFx0XHR0aGlzLm9uU2lnbm91dC5lbWl0KGRhdGEubmFtZSk7XG5cdFx0fSk7XG5cdH1cblx0XG5cdHB1YmxpYyBhY2NlcHRlZE9ic2VydmFibGUoKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcblx0XHRyZXR1cm4gdGhpcy5vbkFjY2VwdGVkO1xuXHR9XG5cdFxuXHRwdWJsaWMgYWRkaXRpb25hbE9ic2VydmFibGUoKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcblx0XHRyZXR1cm4gdGhpcy5vbkFkZGl0aW9uYWw7XG5cdH1cblx0XG5cdHB1YmxpYyBkdXBsaWNhdGVPYnNlcnZhYmxlKCk6IE9ic2VydmFibGU8dm9pZD4ge1xuXHRcdHJldHVybiB0aGlzLm9uRHVwbGljYXRlO1xuXHR9XG5cdFxuXHRwdWJsaWMgcmVqZWN0ZWRPYnNlcnZhYmxlKCk6IE9ic2VydmFibGU8dm9pZD4ge1xuXHRcdHJldHVybiB0aGlzLm9uUmVqZWN0ZWQ7XG5cdH1cblx0XG5cdHB1YmxpYyBzaWdub3V0T2JzZXJ2YWJsZSgpOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuXHRcdHJldHVybiB0aGlzLm9uU2lnbm91dDtcblx0fVxufVxuIl19

@@ -249,2 +249,3 @@ import { EventEmitter, Injectable, Component, Input, Output, NgModule } from '@angular/core';

this.onRejected = new EventEmitter(true);
this.onSignout = new EventEmitter(true);
}

@@ -279,2 +280,9 @@ /**

}));
this.on('signout', (/**
* @param {?} data
* @return {?}
*/
(data) => {
this.onSignout.emit(data.name);
}));
}

@@ -305,2 +313,8 @@ /**

}
/**
* @return {?}
*/
signoutObservable() {
return this.onSignout;
}
}

@@ -335,2 +349,7 @@ SocketIoEventsService.decorators = [

SocketIoEventsService.prototype.onRejected;
/**
* @type {?}
* @private
*/
SocketIoEventsService.prototype.onSignout;
}

@@ -337,0 +356,0 @@

@@ -347,2 +347,3 @@ import { EventEmitter, Injectable, Component, Input, Output, NgModule } from '@angular/core';

_this.onRejected = new EventEmitter(true);
_this.onSignout = new EventEmitter(true);
return _this;

@@ -383,2 +384,9 @@ }

}));
this.on('signout', (/**
* @param {?} data
* @return {?}
*/
function (data) {
_this.onSignout.emit(data.name);
}));
};

@@ -421,2 +429,11 @@ /**

};
/**
* @return {?}
*/
SocketIoEventsService.prototype.signoutObservable = /**
* @return {?}
*/
function () {
return this.onSignout;
};
SocketIoEventsService.decorators = [

@@ -452,2 +469,7 @@ { type: Injectable }

SocketIoEventsService.prototype.onRejected;
/**
* @type {?}
* @private
*/
SocketIoEventsService.prototype.onSignout;
}

@@ -454,0 +476,0 @@

@@ -9,2 +9,3 @@ import { Observable } from 'rxjs';

private onRejected;
private onSignout;
constructor(configService: CommonsConfigService);

@@ -16,2 +17,3 @@ protected setupOns(): void;

rejectedObservable(): Observable<void>;
signoutObservable(): Observable<string>;
}

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"AllowScanningService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"allowScanningObservable":[{"__symbolic":"method"}],"allowScanning":[{"__symbolic":"method"}]}},"EventTitleService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"eventTitleObservable":[{"__symbolic":"method"}],"eventTitle":[{"__symbolic":"method"}]}},"RestEventsService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-nodeappcommons-angular","name":"NodeAppCommonsRestService","line":13,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":15,"character":9},{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"CommonsConfigService","line":16,"character":18}]}],"listEventSessions":[{"__symbolic":"method"}],"getAllowAdditional":[{"__symbolic":"method"}],"setAllowAdditional":[{"__symbolic":"method"}],"getAllowSignoutEnabled":[{"__symbolic":"method"}],"getAllowSignout":[{"__symbolic":"method"}],"setAllowSignout":[{"__symbolic":"method"}],"getActiveEventSession":[{"__symbolic":"method"}],"clearActiveEventSession":[{"__symbolic":"method"}],"setActiveEventSession":[{"__symbolic":"method"}]}},"SocketIoEventsService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-nodeappcommons-angular","name":"NodeAppCommonsSocketIoService","line":9,"character":43},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"CommonsConfigService","line":16,"character":18}]}],"setupOns":[{"__symbolic":"method"}],"acceptedObservable":[{"__symbolic":"method"}],"additionalObservable":[{"__symbolic":"method"}],"duplicateObservable":[{"__symbolic":"method"}],"rejectedObservable":[{"__symbolic":"method"}]}},"AllowAdditionalResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"AllowSignoutResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"AllowSignoutEnabledResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"ActiveEventSessionResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"EventSessionsResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"ActiveEventSessionGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"canActivate":[{"__symbolic":"method"}]}},"EventTableComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":28,"character":41},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"events-event-table","template":"<ng-container *ngIf=\"this.eventSessions && this.eventSessions.length > 0; else noEvents\">\n\t<table commons-table\n\t\t\t[header]=\"this.getHeaders()\"\n\t\t\t[data]=\"this.getData()\"\n\t\t\t[height]=\"this.getHeight()\"\n\t\t\t[rowSelectable]=\"true\"\n\t\t\t[selected]=\"this.selectedIndex\"\n\t\t\t(selectedChange)=\"this.doSelect($event);\"\n\t>\n\t</table>\n</ng-container>\n\n<ng-template #noEvents>\n\t<commons-pane>\n\t\t<commons-info-line notification>No events.</commons-info-line>\n\t</commons-pane>\n</ng-template>\n","styles":[""]}]}],"members":{"eventSessions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":2}}]}],"hasAllowAdditional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":2}}]}],"hasSignoutEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":2}}]}],"hasDetections":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":2}}]}],"selectedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":35,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnChanges":[{"__symbolic":"method"}],"getHeaders":[{"__symbolic":"method"}],"getData":[{"__symbolic":"method"}],"getHeight":[{"__symbolic":"method"}],"doSelect":[{"__symbolic":"method"}]}},"OptionsComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":9,"character":38},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"events-options","template":"<commons-pane class=\"no-top-gap no-bottom-gap\">\n\t<commons-switch\n\t\t\t[(on)]=\"this.allowAdditional\"\n\t\t\t(onChange)=\"this.doAllowAdditional();\"\n\t>Allow additional unregistered attendees</commons-switch>\n\t<commons-switch *ngIf=\"this.allowSignoutEnabled\"\n\t\t\t[(on)]=\"this.allowSignout\"\n\t\t\t(onChange)=\"this.doAllowSignout();\"\n\t>Allow scanning in and out</commons-switch>\n</commons-pane>\n","styles":[""]}]}],"members":{"allowSignoutEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":2}}]}],"allowAdditional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":2}}]}],"allowAdditionalChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":2}}]}],"allowSignout":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":2}}]}],"allowSignoutChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"doAllowAdditional":[{"__symbolic":"method"}],"doAllowSignout":[{"__symbolic":"method"}]}},"NgxUomLibraryAppsCardScannerEventsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":34,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":35,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"NgxAngularCommonsCoreModule","line":36,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-pipe","name":"NgxAngularCommonsPipeModule","line":37,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"NgxAngularCommonsAppModule","line":38,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-core","name":"NgxWebAppCommonsCoreModule","line":39,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-app","name":"NgxWebAppCommonsAppModule","line":40,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-mobile","name":"NgxWebAppCommonsMobileModule","line":41,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-table","name":"NgxWebAppCommonsTableModule","line":42,"character":4},{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"NgxUomLibraryAppsCardScannerSharedModule","line":43,"character":4}],"declarations":[{"__symbolic":"reference","name":"EventTableComponent"},{"__symbolic":"reference","name":"OptionsComponent"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"EventTableComponent"},{"__symbolic":"reference","name":"OptionsComponent"},{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxUomLibraryAppsCardScannerEventsModule"},"providers":[{"__symbolic":"reference","name":"RestEventsService"},{"__symbolic":"reference","name":"SocketIoEventsService"},{"__symbolic":"reference","name":"AllowScanningService"},{"__symbolic":"reference","name":"EventTitleService"},{"__symbolic":"reference","name":"ActiveEventSessionResolver"},{"__symbolic":"reference","name":"AllowAdditionalResolver"},{"__symbolic":"reference","name":"AllowSignoutEnabledResolver"},{"__symbolic":"reference","name":"AllowSignoutResolver"},{"__symbolic":"reference","name":"EventSessionsResolver"},{"__symbolic":"reference","name":"ActiveEventSessionGuard"}]}}}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":17,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"events-scanning","template":"<shared-scanning\n\t\t[cardVariation]=\"this.cardVariation\"\n></shared-scanning>\n","styles":["@charset 'utf8';"]}]}],"members":{"cardVariation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"SocketIoSharedService","line":21,"character":34},{"__symbolic":"reference","name":"SocketIoEventsService"},{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"ScanStateService","line":23,"character":29}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"AllowScanningService":"./lib/services/allow-scanning.service","EventTitleService":"./lib/services/event-title.service","RestEventsService":"./lib/services/rest-events.service","SocketIoEventsService":"./lib/services/socket-io-events.service","AllowAdditionalResolver":"./lib/resolvers/allow-additional.resolver","AllowSignoutResolver":"./lib/resolvers/allow-signout.resolver","AllowSignoutEnabledResolver":"./lib/resolvers/allow-signout-enabled.resolver","ActiveEventSessionResolver":"./lib/resolvers/active-event-session.resolver","EventSessionsResolver":"./lib/resolvers/event-sessions.resolver","ActiveEventSessionGuard":"./lib/guards/active-event-session.guard","EventTableComponent":"./lib/components/event-table/event-table.component","OptionsComponent":"./lib/components/options/options.component","NgxUomLibraryAppsCardScannerEventsModule":"./lib/ngx-uomlibraryapps-card-scanner-events.module","ɵa":"./lib/components/scanning/scanning.component"},"importAs":"ngx-uomlibraryapps-card-scanner-events"}
{"__symbolic":"module","version":4,"metadata":{"AllowScanningService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"allowScanningObservable":[{"__symbolic":"method"}],"allowScanning":[{"__symbolic":"method"}]}},"EventTitleService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"eventTitleObservable":[{"__symbolic":"method"}],"eventTitle":[{"__symbolic":"method"}]}},"RestEventsService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-nodeappcommons-angular","name":"NodeAppCommonsRestService","line":13,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":15,"character":9},{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"CommonsConfigService","line":16,"character":18}]}],"listEventSessions":[{"__symbolic":"method"}],"getAllowAdditional":[{"__symbolic":"method"}],"setAllowAdditional":[{"__symbolic":"method"}],"getAllowSignoutEnabled":[{"__symbolic":"method"}],"getAllowSignout":[{"__symbolic":"method"}],"setAllowSignout":[{"__symbolic":"method"}],"getActiveEventSession":[{"__symbolic":"method"}],"clearActiveEventSession":[{"__symbolic":"method"}],"setActiveEventSession":[{"__symbolic":"method"}]}},"SocketIoEventsService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-nodeappcommons-angular","name":"NodeAppCommonsSocketIoService","line":9,"character":43},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"CommonsConfigService","line":17,"character":18}]}],"setupOns":[{"__symbolic":"method"}],"acceptedObservable":[{"__symbolic":"method"}],"additionalObservable":[{"__symbolic":"method"}],"duplicateObservable":[{"__symbolic":"method"}],"rejectedObservable":[{"__symbolic":"method"}],"signoutObservable":[{"__symbolic":"method"}]}},"AllowAdditionalResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"AllowSignoutResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"AllowSignoutEnabledResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"ActiveEventSessionResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"EventSessionsResolver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"resolve":[{"__symbolic":"method"}]}},"ActiveEventSessionGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RestEventsService"}]}],"canActivate":[{"__symbolic":"method"}]}},"EventTableComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":28,"character":41},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"events-event-table","template":"<ng-container *ngIf=\"this.eventSessions && this.eventSessions.length > 0; else noEvents\">\n\t<table commons-table\n\t\t\t[header]=\"this.getHeaders()\"\n\t\t\t[data]=\"this.getData()\"\n\t\t\t[height]=\"this.getHeight()\"\n\t\t\t[rowSelectable]=\"true\"\n\t\t\t[selected]=\"this.selectedIndex\"\n\t\t\t(selectedChange)=\"this.doSelect($event);\"\n\t>\n\t</table>\n</ng-container>\n\n<ng-template #noEvents>\n\t<commons-pane>\n\t\t<commons-info-line notification>No events.</commons-info-line>\n\t</commons-pane>\n</ng-template>\n","styles":[""]}]}],"members":{"eventSessions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":2}}]}],"hasAllowAdditional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":2}}]}],"hasSignoutEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":2}}]}],"hasDetections":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":2}}]}],"selectedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":35,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnChanges":[{"__symbolic":"method"}],"getHeaders":[{"__symbolic":"method"}],"getData":[{"__symbolic":"method"}],"getHeight":[{"__symbolic":"method"}],"doSelect":[{"__symbolic":"method"}]}},"OptionsComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":9,"character":38},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"events-options","template":"<commons-pane class=\"no-top-gap no-bottom-gap\">\n\t<commons-switch\n\t\t\t[(on)]=\"this.allowAdditional\"\n\t\t\t(onChange)=\"this.doAllowAdditional();\"\n\t>Allow additional unregistered attendees</commons-switch>\n\t<commons-switch *ngIf=\"this.allowSignoutEnabled\"\n\t\t\t[(on)]=\"this.allowSignout\"\n\t\t\t(onChange)=\"this.doAllowSignout();\"\n\t>Allow scanning in and out</commons-switch>\n</commons-pane>\n","styles":[""]}]}],"members":{"allowSignoutEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":2}}]}],"allowAdditional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":2}}]}],"allowAdditionalChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":2}}]}],"allowSignout":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":2}}]}],"allowSignoutChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"doAllowAdditional":[{"__symbolic":"method"}],"doAllowSignout":[{"__symbolic":"method"}]}},"NgxUomLibraryAppsCardScannerEventsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":34,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":35,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"NgxAngularCommonsCoreModule","line":36,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-pipe","name":"NgxAngularCommonsPipeModule","line":37,"character":4},{"__symbolic":"reference","module":"ngx-angularcommons-app","name":"NgxAngularCommonsAppModule","line":38,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-core","name":"NgxWebAppCommonsCoreModule","line":39,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-app","name":"NgxWebAppCommonsAppModule","line":40,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-mobile","name":"NgxWebAppCommonsMobileModule","line":41,"character":4},{"__symbolic":"reference","module":"ngx-webappcommons-table","name":"NgxWebAppCommonsTableModule","line":42,"character":4},{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"NgxUomLibraryAppsCardScannerSharedModule","line":43,"character":4}],"declarations":[{"__symbolic":"reference","name":"EventTableComponent"},{"__symbolic":"reference","name":"OptionsComponent"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"EventTableComponent"},{"__symbolic":"reference","name":"OptionsComponent"},{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxUomLibraryAppsCardScannerEventsModule"},"providers":[{"__symbolic":"reference","name":"RestEventsService"},{"__symbolic":"reference","name":"SocketIoEventsService"},{"__symbolic":"reference","name":"AllowScanningService"},{"__symbolic":"reference","name":"EventTitleService"},{"__symbolic":"reference","name":"ActiveEventSessionResolver"},{"__symbolic":"reference","name":"AllowAdditionalResolver"},{"__symbolic":"reference","name":"AllowSignoutEnabledResolver"},{"__symbolic":"reference","name":"AllowSignoutResolver"},{"__symbolic":"reference","name":"EventSessionsResolver"},{"__symbolic":"reference","name":"ActiveEventSessionGuard"}]}}}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-angularcommons-core","name":"CommonsComponent","line":17,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"events-scanning","template":"<shared-scanning\n\t\t[cardVariation]=\"this.cardVariation\"\n></shared-scanning>\n","styles":["@charset 'utf8';"]}]}],"members":{"cardVariation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"SocketIoSharedService","line":21,"character":34},{"__symbolic":"reference","name":"SocketIoEventsService"},{"__symbolic":"reference","module":"ngx-uomlibraryapps-card-scanner-shared","name":"ScanStateService","line":23,"character":29}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"AllowScanningService":"./lib/services/allow-scanning.service","EventTitleService":"./lib/services/event-title.service","RestEventsService":"./lib/services/rest-events.service","SocketIoEventsService":"./lib/services/socket-io-events.service","AllowAdditionalResolver":"./lib/resolvers/allow-additional.resolver","AllowSignoutResolver":"./lib/resolvers/allow-signout.resolver","AllowSignoutEnabledResolver":"./lib/resolvers/allow-signout-enabled.resolver","ActiveEventSessionResolver":"./lib/resolvers/active-event-session.resolver","EventSessionsResolver":"./lib/resolvers/event-sessions.resolver","ActiveEventSessionGuard":"./lib/guards/active-event-session.guard","EventTableComponent":"./lib/components/event-table/event-table.component","OptionsComponent":"./lib/components/options/options.component","NgxUomLibraryAppsCardScannerEventsModule":"./lib/ngx-uomlibraryapps-card-scanner-events.module","ɵa":"./lib/components/scanning/scanning.component"},"importAs":"ngx-uomlibraryapps-card-scanner-events"}
{
"name": "ngx-uomlibraryapps-card-scanner-events",
"version": "2.3.1",
"version": "2.4.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^8.2.14",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc