2020-12-18 09:30:04 +00:00
( function ( ) {
2020-12-20 22:15:07 +00:00
function _inherits ( subClass , superClass ) { if ( typeof superClass !== "function" && superClass !== null ) { throw new TypeError ( "Super expression must either be null or a function" ) ; } subClass . prototype = Object . create ( superClass && superClass . prototype , { constructor : { value : subClass , writable : true , configurable : true } } ) ; if ( superClass ) _setPrototypeOf ( subClass , superClass ) ; }
function _setPrototypeOf ( o , p ) { _setPrototypeOf = Object . setPrototypeOf || function _setPrototypeOf ( o , p ) { o . _ _proto _ _ = p ; return o ; } ; return _setPrototypeOf ( o , p ) ; }
function _createSuper ( Derived ) { var hasNativeReflectConstruct = _isNativeReflectConstruct ( ) ; return function _createSuperInternal ( ) { var Super = _getPrototypeOf ( Derived ) , result ; if ( hasNativeReflectConstruct ) { var NewTarget = _getPrototypeOf ( this ) . constructor ; result = Reflect . construct ( Super , arguments , NewTarget ) ; } else { result = Super . apply ( this , arguments ) ; } return _possibleConstructorReturn ( this , result ) ; } ; }
function _possibleConstructorReturn ( self , call ) { if ( call && ( typeof call === "object" || typeof call === "function" ) ) { return call ; } return _assertThisInitialized ( self ) ; }
function _assertThisInitialized ( self ) { if ( self === void 0 ) { throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" ) ; } return self ; }
function _isNativeReflectConstruct ( ) { if ( typeof Reflect === "undefined" || ! Reflect . construct ) return false ; if ( Reflect . construct . sham ) return false ; if ( typeof Proxy === "function" ) return true ; try { Date . prototype . toString . call ( Reflect . construct ( Date , [ ] , function ( ) { } ) ) ; return true ; } catch ( e ) { return false ; } }
function _getPrototypeOf ( o ) { _getPrototypeOf = Object . setPrototypeOf ? Object . getPrototypeOf : function _getPrototypeOf ( o ) { return o . _ _proto _ _ || Object . getPrototypeOf ( o ) ; } ; return _getPrototypeOf ( o ) ; }
2020-12-18 09:30:04 +00:00
function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
2020-12-20 22:15:07 +00:00
function _defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } }
function _createClass ( Constructor , protoProps , staticProps ) { if ( protoProps ) _defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) _defineProperties ( Constructor , staticProps ) ; return Constructor ; }
( window [ "webpackJsonp" ] = window [ "webpackJsonp" ] || [ ] ) . push ( [ [ "home-home-module" ] , {
/***/
"./node_modules/basic-trend/dist/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / basic - trend / dist / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! no static exports found */
/***/
function node _modulesBasicTrendDistIndexJs ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
exports [ "default" ] = exports . trend = void 0 ;
var trend = function trend ( data ) {
var diff = {
increasing : [ ] ,
decreasing : [ ] ,
equals : [ ]
} ;
data . map ( function ( item , index , array ) {
if ( index > 0 ) {
var difference = item - array [ index - 1 ] ;
if ( difference === 0 ) diff . equals . push ( difference ) ; else if ( difference > 0 ) diff . increasing . push ( difference ) ; else diff . decreasing . push ( difference ) ;
}
return item ;
} ) ;
if ( diff . increasing . length > diff . decreasing . length + diff . equals . length ) return 1 ;
if ( diff . decreasing . length > diff . increasing . length + diff . equals . length ) return - 1 ;
if ( diff . equals . length > diff . increasing . length + diff . decreasing . length ) return 0 ;
return 0 ;
} ;
exports . trend = trend ;
var _default = trend ;
exports [ "default" ] = _default ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/avpu-swipe/avpu-swipe.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / avpu - swipe / avpu - swipe . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsAvpuSwipeAvpuSwipeComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<ion-slides [options]=\"avpuSlidesOpts\" #avpuSlides (ionSlideDidChange)=\"swipeChange($event)\">\n <ion-slide>\n <div class=\"cpsButtonsAVPU\">\n <div class=\"swipeUpLeft\">\n <img src=\"assets/imgs/swipeup.png\" />\n </div>\n <div class=\"avatar avpuA\">\n <div class=\"avpuText avpuTextSingleLine\">\n <strong>ALERT</strong>\n </div>\n <img src=\"assets/imgs/AVPU-A.png\" class=\"avatarImage\" />\n </div>\n <div class=\"swipeUpRight\">\n <img src=\"assets/imgs/swipeup.png\" />\n </div>\n </div>\n </ion-slide>\n <ion-slide>\n <div class=\"cpsButtonsAVPU\">\n <div class=\"swipeUpLeft hideModal\">\n <img src=\"assets/imgs/swipeupdown.png\" />\n </div>\n <div class=\"avatar avpuV\">\n <div class=\"avpuText\">\n <strong>RESPONDS TO<br />VOICE</strong>\n </div>\n <img src=\"assets/imgs/AVPU-V.png\" class=\"avatarImage\" />\n </div>\n <div class=\"swipeUpRight\">\n <img src=\"assets/imgs/swipeupdown.png\" />\n </div>\n </div>\n </ion-slide>\n <ion-slide>\n <div class=\"cpsButtonsAVPU\">\n <div class=\"swipeUpLeft\">\n <img src=\"assets/imgs/swipeupdown.png\" />\n </div>\n <div class=\"avatar avpuP\">\n <div class=\"avpuText\">\n <strong>RESPONDS TO<br />PAIN</strong>\n </div>\n <img src=\"assets/imgs/AVPU-P.png\" class=\"avatarImage\" />\n </div>\n <div class=\"swipeUpRight\">\n <img src=\"assets/imgs/swipeupdown.png\" />\n </div>\n </div>\n </ion-slide>\n <ion-slide>\n <div class=\"cpsButtonsAVPU\">\n <div class=\"swipeUpLeft\">\n <img src=\"assets/imgs/swipedown.png\" />\n </div>\n <div class=\"avatar avpuU\">\n <div class=\"avpuText avpuTextSingleLine\">\n <strong>UNRESPONSIVE</strong>\n </div>\n <img src=\"assets/imgs/AVPU-U.png\" class=\"avatarImage\" />\n </div>\n <div class=\"swipeUpRight\">\n <img src=\"assets/imgs/swipedown.png\" />\n </div>\n </div>\n </ion-slide>\n</ion-slides>" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/cps-confirm-button/cps-confirm-button.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / cps - confirm - button / cps - confirm - button . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsCpsConfirmButtonCpsConfirmButtonComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<div class=\"cpsConfirmed\" [ngClass]=\"confirmMode\" (click)=\"doConfirmation()\">\n <div class=\"{{confirmBtn}}\">CONFIRM?</div>\n <div class=\"{{confirmedBtn}}\">CONFIRMED</div>\n <img src=\"{{imgSrc}}\" class=\"proceedTick {{ confirmTick }}\" />\n</div>" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/cps-top-bottom/cps-top-bottom.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / cps - top - bottom / cps - top - bottom . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsCpsTopBottomCpsTopBottomComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<div class=\"cpsButtons cpsTop selGreen {{ confirm2TopState }} textOnly\" (click)=\"clickTop()\">\n <strong>{{ topLabel() }}</strong>\n</div>\n<div class=\"cpsButtons cpsBottom selRed {{ confirm2BottomState }} textOnly\" (click)=\"clickBottom()\">\n <strong>{{ bottomLabel() }}</strong>\n</div>\n" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/num-pad/num-pad.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / num - pad / num - pad . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsNumPadNumPadComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<div class=\"myNumpad\">\n <div class=\"overlay\" (click)=\"closeNumPad()\"></div>\n <div class=\"numPadModal\">\n <img\n src=\"assets/imgs/close.png\"\n class=\"closeButton\"\n (click)=\"closeNumPad()\"\n />\n <div class=\"numPadValue\" [innerHtml]=\"vitalValue\"></div>\n <div class=\"numPadUnit\" [innerHtml]=\"theUnit\"></div>\n <div class=\"numPadHolder\">\n <ion-grid>\n <ion-row>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('1')\">\n 1\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('2')\">\n 2\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('3')\">\n 3\n </button>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('4')\">\n 4\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('5')\">\n 5\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('6')\">\n 6\n </button>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('7')\">\n 7\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('8')\">\n 8\n </button>\n </ion-col>\n <ion-col>\n <button ion-button class=\"numPadButton\" (click)=\"handleInput('9')\">\n 9\n </button>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col size=\"8\" *ngIf=\"!slashVisible && !dotVisible\">\n <button\n ion-button\n class=\"numPadButton extendButton\"\n (click)=\"handleInput('0')\"\n >\n 0\n </button>\n </ion-col>\n <ion-col *ngIf=\"slashVisible || dotVisible\">\n <button\n ion-button\n class=\"numPadButton {{ longButton }}\"\n (click)=\"handleInput('0')\"\n >\n 0\n </button>\n </ion-col>\n <ion-col *ngIf=\"slashVisible || dotVisible\">\n <button\n *ngIf=\"dotVisible\"\n ion-button\n class=\"numPadButton\"\n (click)=\"handleInput('.')\"\n >\n .\n </button>\n <button\n *ngIf=\"slashVisible\"\n ion-button\n class=\"numPadButton\"\n (click)=\"handleInput('/')\"\n >\n /\n </button>\n </ion-col>\n <ion-col size=\"4\">\n <button\n ion-button\n class=\"numPadButton\"\n (click)=\"handleInput('backspace')\"\n >\n <ion-icon name=\"backspace\"></ion-icon>\n </button>\n </ion-col>\n </ion-row>\n </ion-grid>\n </div>\n <div class=\"rightButton\" (click)=\"emitEvent()\">\n <img src=\"assets/imgs/proceedTick.png\" class=\"numPadTick\" />\n </div>\n </div>\n</div>\n" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/vital-signs-bp/vital-signs-bp.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / vital - signs - bp / vital - signs - bp . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsVitalSignsBpVitalSignsBpComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<div class=\"vitalInner\" [attr.data-theme]=\"vitalTheme\" (click)=\"requestReading()\">\n <div [attr.data-theme]=\"vitalTheme\" class=\"align--left vitalTitle\" [innerHtml]=\"vitalTitle\"></div>\n\n <ion-row>\n <ion-col size=\"4\">\n <div class=\"smallValsSys {{ vitalTextClass }}\">{{vitalUnits}}</div>\n </ion-col>\n <ion-col size=\"4\">\n <div class=\"smallValsDia {{ vital2TextClass }}\">{{vitalUnits2}}</div>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col size=\"4\">\n <div class=\"bpSys {{ vitalTextClass }}\" [innerHtml]=\"vitalValue\"></div>\n </ion-col>\n <ion-col size=\"4\">\n <div class=\"bpDia {{ vital2TextClass }}\" [innerHtml]=\"vital2Value\"></div>\n </ion-col>\n </ion-row>\n\n <div class=\"hrImg\">\n <img *ngIf=\"thisIcon()\" [attr.data-theme]=\"vitalTheme\" class=\"{{ vitalIconClass }}\" [src]=\"thisIcon()\" />\n </div>\n\n <div class=\"lowerPart\">\n <ion-grid>\n <ion-row>\n <ion-col class=\"\" size=\"3\">\n <img\n [attr.data-theme]=\"vitalTheme\"\n class=\"\"\n style=\"vertical-align: text-bottom\"\n [ngClass]=\"trendClass\"\n src=\"assets/imgs/arrow-se.png\"\n />\n </ion-col>\n <ion-col [attr.data-theme]=\"vitalTheme\" class=\"timeSince\" style=\"vertical-align: bottom\" size=\"6\">\n {{ timeSince }}\n </ion-col>\n <ion-col class=\"\" size=\"3\">\n <img [attr.data-theme]=\"vitalTheme\" class=\"badCloud\" style=\"vertical-align: text-bottom\" />\n </ion-col>\n </ion-row>\n </ion-grid>\n </div>\n</div>\n" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/vital-signs/vital-signs.component.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / components / vital - signs / vital - signs . component . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppComponentsVitalSignsVitalSignsComponentHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<div class=\"vitalInner\" [attr.data-theme]=\"vitalTheme\" (click)=\"requestReading()\">\n <div [attr.data-theme]=\"vitalTheme\" class=\"align--left vitalTitle\" [innerHtml]=\"vitalTitle\"></div>\n <div [attr.data-theme]=\"vitalTheme\" class=\"vitalValue {{ vitalTextClass }}\" [innerHtml]=\"vitalValue\"></div>\n <div [attr.data-theme]=\"vitalTheme\" class=\"vitalUnit {{ vitalTextClass }}\">{{ vitalUnits }}</div>\n\n <div class=\"hrImg\">\n <img *ngIf=\"thisIcon()\" [attr.data-theme]=\"vitalTheme\" class=\"{{ vitalIconClass }}\" [src]=\"thisIcon()\" />\n </div>\n\n <div class=\"lowerPart\">\n <ion-grid>\n <ion-row>\n <ion-col class=\"\" size=\"3\">\n <img\n [attr.data-theme]=\"vitalTheme\"\n class=\"\"\n style=\"vertical-align: text-bottom\"\n [ngClass]=\"trendClass\"\n src=\"assets/imgs/arrow-se.png\"\n />\n </ion-col>\n <ion-col [attr.data-theme]=\"vitalTheme\" class=\"timeSince\" style=\"vertical-align: bottom\" size=\"6\">\n {{ timeSince }}\n </ion-col>\n <ion-col class=\"\" size=\"3\">\n <img [attr.data-theme]=\"vitalTheme\" class=\"badCloud\" style=\"vertical-align: text-bottom\" />\n </ion-col>\n </ion-row>\n </ion-grid>\n </div>\n</div>\n" ;
/***/
} ,
/***/
"./node_modules/raw-loader/dist/cjs.js!./src/app/home/home.page.html" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / raw - loader / dist / cjs . js ! . / src / app / home / home . page . html * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function node _modulesRawLoaderDistCjsJsSrcAppHomeHomePageHtml ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "<ion-header>\n <ion-toolbar>\n <ion-title>Aiber Test</ion-title>\n </ion-toolbar>\n</ion-header>\n\n<ion-content class=\"ion-padding-horizontal\">\n <h1>Aiber Test Components</h1>\n\n <!--\n\n <ion-card>\n <ion-card-header>\n <ion-card-subtitle>Component name</ion-card-subtitle>\n </ion-card-header>\n <ion-card-content>\n <ion-grid>\n <ion-row>\n <ion-col>Stuff here</ion-col>\n </ion-row>\n </ion-grid>\n </ion-card-content>\n </ion-card>\n\n-->\n <app-num-pad *ngIf=\"padVisible\" [vital]=\"vitalRequested\" (change)=\"vitalCapture($event)\"></app-num-pad>\n\n <ion-card>\n <ion-card-header>\n <ion-card-subtitle><span class=\"icons icons-link\"></span> vital-signs + num-pad chain</ion-card-subtitle>\n </ion-card-header>\n <ion-card-content>\n <ion-grid>\n <ion-row class=\"vitalHeaders\">\n <ion-col class=\"noLeftPadding noRowPadding\" size=\"2\">\n <app-vital-signs\n [thisID]=\"'`BP`'\"\n [config]=\"bpConfig\"\n [newReading]=\"newBPValue\"\n [theme]=\"vitalTheme\"\n (onRequestUpdate)=\"captureBPVitalsUpdate($event)\"\n (requestInput)=\"bpRequestInput($event)\"\n ></app-vital-signs>\n </ion-col>\n\n <ion-col size=\"4\">\n <p>Settings</p>\n <ion-row>\n <ion-item>\n <ion-label>New Reading</ion-label>\n <ion-input [(ngModel)]=\"testBP\" type=\"input\" placeholder=\"36\"></ion-input>\n <ion-button (click)=\"testSetBP()\">Set</ion-button>\n </ion-item>\n </ion-row>\n <ion-row>\n <ion-col>\n <ion-item>\n <ion-label>Dark Mode</ion-label>\n <ion-checkbox [(ngModel)]=\"vitalTheme\"></ion-checkbox>\n </ion-item>\n </ion-col>\n </ion-row>\n </ion-col>\n\n <ion-col size=\"3\" class=\"noLeftPadding noRowPadding\">\n <p><strong>vitalTitle:</strong> {{tempVitalsReturnData.vitalTitle}}</p>\n <p><strong>vitalType:</strong> {{tempVitalsReturnData.vitalType}}</p>\n <p><strong>vitalUnits:</strong> {{tempVitalsReturnData.vitalUnits}}</p>\n </ion-col>\n\n <ion-col size=\"3\" class=\"noLeftPadding noRowPadding\">\n <p><strong>imageID:</strong> {{tempVitalsReturnData.imageID}}</p>\n <p><strong>reading:</strong> {{tempVitalsReturnData.reading}}</p>\n <p><strong>timestamp:</strong> {{tempVitalsReturnData.timestamp}}</p>\n <p><strong>vitalTheme:</strong> {{vitalTheme}}</p>\n </ion-col>\n </ion-row>\n <ion-row>\n <blockquote></blockquote>\n </ion-row>\n </ion-grid>\n </ion-card-content>\n </ion-card>\n\n <ion-card>\n <ion-card-header>\n <ion-card-subtitle><span class=\"icons icons-link\"></span> vital-signs-bp + num-pad chain</ion-card-subtitle>\n </ion-card-header>\n <ion-card-content>\n <ion-grid>\n <ion-row class=\"vitalHeaders\">\n <ion-col class=\"noLeftPadding noRowPadding\" size=\"2\">\n <app-vital-signs-bp\n [thisID]=\"'`BP`'\"\n [config]=\"bpConfig\"\n [newReading]=\"newBPValue\"\n [theme]=\"vitalTheme\"\n (onRequestUpdate)=\"captureBPVitalsUpdate($event)\"\n (requestInput)=\"bpRequestInput($event)\"\n ></app-vital-signs-bp>\n </ion-col>\n\n <ion-col size=\"4\">\n <p>Settings</p>\n <ion-row>\n <ion-item>\n <ion-label>New Reading</ion-label>\n <ion-input [(ngModel)]=\"testBP\" type=\"input\" placeholder=\"36\"></ion-input>\n <ion-button (click)=\"testSetBP()\" > Set < / i o n - b u t t o n > \ n < / i o n - i t e m > \ n < / i o n - r o w > \ n < i o n - r o w > \ n < i o n - c o l > \ n < i o n
/***/
} ,
/***/
"./src/app/components/avpu-swipe/avpu-swipe.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / avpu - swipe / avpu - swipe . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsAvpuSwipeAvpuSwipeComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "ion-slides {\n height: 270px !important;\n}\n\n.avpuABCHeight {\n height: 270px;\n}\n\n.cpsButtonsAVPU {\n padding: 20px;\n height: 270px !important;\n color: white !important;\n font-family: \"bebas\" ; \ n font - size : 30 px ; \ n letter - spacing : 0 px ; \ n } \ n \ n . avatar { \ n position : absolute ; \ n bottom : 0 ; \ n height : 100 % ; \ n width : 100 % ; \ n left : 0 ; \ n } \ n \ n . swipeUpLeft { \ n position : absolute ; \ n top : 40 % ; \ n left : 4 % ; \ n width : 15 % ; \ n height : auto ; \ n z - index : 1 ; \ n } \ n \ n . avatarImage { \ n height : 200 px ; \ n position : absolute ; \ n bottom : 0 ; \ n left : 0 px ; \ n width : 100 % ! important ; \ n } \ n \ n . avpuText { \ n position : absolute ; \ n top : 5 px ; \ n left : 0 ! important ; \ n width : 100 % ; \ n text - align : center ; \ n z - index : 20 ; \ n line - height : 30 px ; \ n } \ n \ n . avpuTextSingleLine { \ n padding - top : 16 px ; \ n } \ n \ n . swipeUpRight { \ n position : absolute ; \ n top : 40 % ; \ n right : 7 % ; \ n width : 15 % ; \ n height : auto ; \ n } \ n \ n . avpuA { \ n background - color : # 00 a350 ! important ; \ n } \ n \ n . avpuV { \ n background - color : # 3972 b7 ! important ; \ n } \ n \ n . avpuP { \ n background - color : # f4922c ! important ; \ n } \ n \ n . avpuU { \ n background - color : # ec1d27 ! important ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9hdnB1LXN3aXBlL2F2cHUtc3dpcGUuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2Nzcy9hdmF0YXIuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHdCQUFBO0FBQ0Y7O0FBRUE7RUFFRSxhQUFBO0FBQUY7O0FBSUE7RUFDRSxhQUFBO0VBRUEsd0JBQUE7RUFFQSx1QkFBQTtFQUNBLG9CQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0FBSEY7O0FDVEE7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFFQSxZQUFBO0VBQ0EsV0FBQTtFQUNBLE9BQUE7QURXRjs7QUNSQTtFQUNFLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLFFBQUE7RUFDQSxVQUFBO0VBQ0EsWUFBQTtFQUVBLFVBQUE7QURVRjs7QUNQQTtFQUNFLGFBQUE7RUFDQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxTQUFBO0VBQ0Esc0JBQUE7QURVRjs7QUNOQTtFQUNFLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLGtCQUFBO0VBRUEsV0FBQTtFQUNBLGtCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0FEUUY7O0FDTEE7RUFDRSxpQkFBQTtBRFFGOztBQ0xBO0VBQ0Usa0JBQUE7RUFDQSxRQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0FEUUY7O0FDSkE7RUFDRSxvQ0FBQTtBRE9GOztBQ0pBO0VBQ0Usb0NBQUE7QURPRjs7QUNKQTtFQUNFLG9DQUFBO0FET0Y7O0FDSkE7RUFDRSxvQ0FBQTtBRE9GIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9hdnB1LXN3aXBlL2F2cHUtc3dpcGUuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJpb24tc2xpZGVzIHtcbiAgaGVpZ2h0OiAyNzBweCAhaW1wb3J0YW50O1xufVxuXG4uYXZwdUFCQ0hlaWdodCB7XG4gIC8vaGVpZ2h0OiAyMzBweDtcbiAgaGVpZ2h0OiAyNzBweDtcbiAgLy9ib3JkZXI6IDFweCBzb2xpZCBtYWdlbnRhO1xufVxuXG4uY3BzQnV0dG9uc0FWUFUge1xuICBwYWRkaW5nOiAyMHB4O1xuICAvL2hlaWdodDogMjMwcHggIWltcG9ydGFudDtcbiAgaGVpZ2h0OiAyNzBweCAhaW1wb3J0YW50O1xuICAvL2JvcmRlcjogMXB4IHNvbGlkIG1hZ2VudGE7XG4gIGNvbG9yOiB3aGl0ZSAhaW1wb3J0YW50O1xuICBmb250LWZhbWlseTogXCJiZWJhc1wiO1xuICBmb250LXNpemU6IDMwcHg7XG4gIGxldHRlci1zcGFjaW5nOiAwcHg7XG59XG5cblxuQGltcG9ydCAnLi4vLi4vY3NzL2F2YXRhcic7IiwiQGltcG9ydCBcInNyYy9hcHAvY3NzL2RlZmF1bHRDb2xvdXJzXCI7XG5cbi8vICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyNcbi8vIEFWQVRBUiBTVFlMRVNcbi8vICMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyNcblxuLmF2YXRhciB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgYm90dG9tOiAwO1xuICAvL2JvcmRlcjogMnB4IHNvbGlkIHllbGxvdztcbiAgaGVpZ2h0OiAxMDAlO1xuICB3aWR0aDogMTAwJTtcbiAgbGVmdDogMDtcbn1cblxuLnN3aXBlVXBMZWZ0IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDQwJTtcbiAgbGVmdDogNCU7XG4gIHdpZHRoOiAxNSU7XG4gIGhlaWdodDogYXV0bztcbiAgLy9ib3JkZXI6IDFweCBzb2xpZCByZWQ7XG4gIHotaW5kZXg6IDE7XG59XG5cbi5hdmF0YXJJbWFnZSB7XG4gIGhlaWdodDogMjAwcHg7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgYm90dG9tOiAwO1xuICBsZWZ0OiAwcHg7XG4gIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG4gIC8vYm9yZGVyOiAxcHggc29saWQgcmVkO1xufVxuXG4uYXZwdVRleHQge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogNXB4O1xuICBsZWZ0OiAwICFpbXBvcnRhbnQ7XG4gIC8vYm9yZGVyOiAxcHggc29saWQgYmx1ZTtcbiAgd2lkdGg6IDEwMCU7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgei1pbmRleDogMjA7XG4gIGxpbmUtaGVpZ2h0OiAzMHB4O1xufVxuXG4uYXZwdVRleHRTaW5nbGVMaW5lIHtcbiAgcGFkZGluZy10b3A6IDE2cHg7XG59XG5cbi5zd2lwZVVwUmlnaHQge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogNDAlO1xuICByaWdodDogNyU7XG4gIHdpZHRoOiAxNSU7XG4gIGhlaWdodDogYXV0bztcbiAgLy9ib3JkZXI6IDFweCBzb2xpZCByZWQ7XG59XG5cbi5hdnB1QSB7XG4gIGJhY2tncm91bmQtY29sb3I6ICRncmVlbiAhaW1wb3J0
/***/
} ,
/***/
"./src/app/components/avpu-swipe/avpu-swipe.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / avpu - swipe / avpu - swipe . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: AVPUSwipeComponent */
/***/
function srcAppComponentsAvpuSwipeAvpuSwipeComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "AVPUSwipeComponent" , function ( ) {
return AVPUSwipeComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
var AVPUSwipeComponent = /*#__PURE__*/ function ( ) {
function AVPUSwipeComponent ( ) {
_classCallCheck ( this , AVPUSwipeComponent ) ;
this . setAction = new _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "EventEmitter" ] ( ) ;
this . avpuSlidesOpts = {
direction : 'vertical' ,
initialSlide : 0 ,
height : 270
} ;
this . avpuStateText = [ 'ALERT' , 'RESPONDS<br>TO VOICE' , 'RESPONDS<br>TO PAIN' , 'UNRESPONSIVE' ] ;
this . avpuState = 'ALERT' ;
}
_createClass ( AVPUSwipeComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) { }
} , {
key : "swipeChange" ,
value : function swipeChange ( ) {
var _this = this ;
this . avpuSlides . getActiveIndex ( ) . then ( function ( currentIndex ) {
console . log ( 'AVPUSwipeComponent::currentIndex: ' + currentIndex ) ;
if ( currentIndex > _this . avpuStateText . length ) {
console . warn ( 'AVPUSwipeComponent returned out of range' ) ;
} else {
_this . avpuState = _this . avpuStateText [ currentIndex ] ;
_this . setAction . emit ( _this . avpuState ) ;
}
} ) ;
}
} ] ) ;
return AVPUSwipeComponent ;
} ( ) ;
AVPUSwipeComponent . ctorParameters = function ( ) {
return [ ] ;
} ;
AVPUSwipeComponent . propDecorators = {
avpuSlides : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "ViewChild" ] ,
args : [ 'avpuSlides' , {
"static" : true
} ]
} ] ,
setAction : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Output" ]
} ]
} ;
AVPUSwipeComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-avpu-swipe' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./avpu-swipe.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/avpu-swipe/avpu-swipe.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./avpu-swipe.component.scss */
"./src/app/components/avpu-swipe/avpu-swipe.component.scss" ) ) [ "default" ] ]
} ) ] , AVPUSwipeComponent ) ;
/***/
} ,
/***/
"./src/app/components/avpu-swipe/avpu-swipe.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / avpu - swipe / avpu - swipe . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: AVPUSwipeComponentModule */
/***/
function srcAppComponentsAvpuSwipeAvpuSwipeModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "AVPUSwipeComponentModule" , function ( ) {
return AVPUSwipeComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _avpu _swipe _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./avpu-swipe.component */
"./src/app/components/avpu-swipe/avpu-swipe.component.ts" ) ;
var AVPUSwipeComponentModule = function AVPUSwipeComponentModule ( ) {
_classCallCheck ( this , AVPUSwipeComponentModule ) ;
} ;
AVPUSwipeComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _avpu _swipe _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "AVPUSwipeComponent" ] ] ,
exports : [ _avpu _swipe _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "AVPUSwipeComponent" ] ]
} ) ] , AVPUSwipeComponentModule ) ;
/***/
} ,
/***/
"./src/app/components/cps-confirm-button/cps-confirm-button.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - confirm - button / cps - confirm - button . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsCpsConfirmButtonCpsConfirmButtonComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = ".cpsButtonsAVPU {\n padding: 20px;\n height: 270px !important;\n color: white !important;\n font-family: \"bebas\";\n font-size: 30px;\n letter-spacing: 0px;\n}\n\n.cpsButtons {\n height: 133px;\n color: white !important;\n font-family: \"bebas\";\n font-size: 24px;\n letter-spacing: 2px;\n}\n\n.cpsTop {\n position: absolute;\n left: 0;\n top: 0;\n width: 98%;\n}\n\n.cpsBottom {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 98%;\n}\n\n.cpsButton1Start {\n background: linear-gradient(137deg, #00b4dc 0%, #1390cf 50%);\n}\n\n.cpsConfirmed {\n width: 100% !important;\n color: white;\n height: 64px;\n text-align: left;\n padding-top: 12px !important;\n padding-left: 30px !important;\n font-family: \"bebas\" ; \ n font - size : 32 px ; \ n letter - spacing : 2 px ; \ n font - weight : bold ; \ n } \ n \ n . cpsConfirmedCol { \ n width : 100 % ! important ; \ n background : # 00 b4dc ; \ n background : linear - gradient ( 137 deg , # 00 b4dc 0 % , # 1390 cf 50 % ) ; \ n margin - right : 8 px ; \ n } \ n \ n . showModal { \ n display : block ; \ n } \ n \ n . hideModal { \ n display : none ; \ n } \ n \ n . modal _content { \ n position : absolute ; \ n top : 12.5 % ; \ n left : 0 ; \ n right : 0 ; \ n width : 80 % ; \ n height : auto ; \ n padding : 10 px ; \ n margin : 0 auto ; \ n color : # 333 ; \ n background : # e8e8e8 ; \ n background : linear - gradient ( to bottom , # fff 0 % , # e8e8e8 100 % ) ; \ n border - radius : 5 px ; \ n box - shadow : 0 2 px 3 px rgba ( 51 , 51 , 51 , 0.35 ) ; \ n box - sizing : border - box ; \ n - moz - box - sizing : border - box ; \ n - webkit - box - sizing : border - box ; \ n overflow : hidden ; \ n } \ n \ n . deselect { \ n background - color : # 555656 ! important ; \ n } \ n \ n . deselectTick { \ n display : none ! important ; \ n } \ n \ n . deselectConfirmed { \ n color : # 666666 ! important ; \ n } \ n \ n . deselectConsciousness { \ n background - color : # 555656 ! important ; \ n background - image : none ! important ; \ n } \ n \ n . proceedTickDeselect { \ n opacity : 0.3 ; \ n } \ n \ n . proceedTickDeselect { \ n opacity : 0.3 ; \ n } \ n \ n . proceedTick { \ n position : absolute ; \ n top : 14 px ; \ n right : 15 px ; \ n height : 36 px ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY3NzL2Nwcy5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2Nwcy1jb25maXJtLWJ1dHRvbi9jcHMtY29uZmlybS1idXR0b24uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2Nzcy9tb2RhbC5zY3NzIiwic3JjL2FwcC9jc3MvZGVzZWxlY3Quc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGFBQUE7RUFFQSx3QkFBQTtFQUVBLHVCQUFBO0VBQ0Esb0JBQUE7RUFDQSxlQUFBO0VBQ0EsbUJBQUE7QUNERjs7QURJQTtFQUdFLGFBQUE7RUFFQSx1QkFBQTtFQUNBLG9CQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0FDSkY7O0FET0E7RUFDRSxrQkFBQTtFQUNBLE9BQUE7RUFDQSxNQUFBO0VBQ0EsVUFBQTtBQ0pGOztBRFFBO0VBQ0Usa0JBQUE7RUFDQSxPQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7QUNMRjs7QURRQTtFQUVFLDREQUFBO0FDTkY7O0FEYUE7RUFDRSxzQkFBQTtFQUVBLFlBQUE7RUFDQSxZQUFBO0VBQ0EsZ0JBQUE7RUFFQSw0QkFBQTtFQUNBLDZCQUFBO0VBQ0Esb0JBQUE7RUFDQSxlQUFBO0VBQ0EsbUJBQUE7RUFDQSxpQkFBQTtBQ1pGOztBRGVBO0VBQ0Usc0JBQUE7RUFHQSxtQkFBQTtFQUNBLDREQUFBO0VBS0EsaUJBQUE7QUNsQkY7O0FDckRBO0VBQ0UsY0FBQTtBRHdERjs7QUNyREE7RUFDRSxhQUFBO0FEd0RGOztBQ3JEQTtFQUNFLGtCQUFBO0VBQ0EsVUFBQTtFQUNBLE9BQUE7RUFDQSxRQUFBO0VBQ0EsVUFBQTtFQUNBLFlBQUE7RUFDQSxhQUFBO0VBQ0EsY0FBQTtFQUNBLFdBQUE7RUFDQSxtQkFBQTtFQUdBLDZEQUFBO0VBQ0Esa0JBQUE7RUFDQSw0Q0FBQTtFQUNBLHNCQUFBO0VBQ0EsMkJBQUE7RUFDQSw4QkFBQTtFQUNBLGdCQUFBO0FEd0RGOztBRW5GQTtFQUNFLG9DQUFBO0FGc0ZGOztBRW5GQTtFQUNFLHdCQUFBO0FGc0ZGOztBRW5GQTtFQUVFLHlCQUFBO0FGcUZGOztBRWxGQTtFQUNFLG9DQUFBO0VBQ0EsaUNBQUE7QUZxRkY7O0FFakZBO0VBQ0UsWUFBQTtBRm9GRjs7QUFwR0E7RUFDRSxZQUFBO0FBdUdGOztBQXBHQTtFQUNFLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0FBdUdGIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9jcHMtY29uZmlybS1idXR0b24vY3BzLWNvbmZpcm0tYnV0dG9uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNwc0J1dHRvbnNBVlBVIHtcbiAgcGFkZGluZzogMjBweDtcbiAgLy9oZWlnaHQ6IDIzMHB4ICFpbXBvcnRhbnQ7XG4gIGhlaWdodDogMjcwcHggIWltcG9ydGFudDtcbiAgLy9ib3JkZXI6IDFweCBzb2xpZCBtYWdlbnRhO1xuICBjb2xvcjogd2hpdGUgIWltcG9ydGFudDtcbiAgZm9udC1mYW1pbHk6IFwiYmViYXNcIjtcbiAgZm9udC1zaXplOiAzMHB4O1xuICBsZXR0ZXItc3BhY2luZzogMHB4O1xufVxuXG4uY3BzQnV0dG9ucyB7XG4gIC8vcGFkZGluZzogMjBweDtcbiAgLy9oZWlnaHQ6IDExMXB4O1xuICBoZWlnaHQ6IDEzM3B4O1xuICAvL2JvcmRlcjogMXB4IHNvbGlkIG1hZ2VudGE7XG4gIGNvbG9yOiB3
/***/
} ,
/***/
"./src/app/components/cps-confirm-button/cps-confirm-button.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - confirm - button / cps - confirm - button . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: CpsConfirmButtonComponent */
/***/
function srcAppComponentsCpsConfirmButtonCpsConfirmButtonComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "CpsConfirmButtonComponent" , function ( ) {
return CpsConfirmButtonComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
var CpsConfirmButtonComponent = /*#__PURE__*/ function ( ) {
function CpsConfirmButtonComponent ( ) {
_classCallCheck ( this , CpsConfirmButtonComponent ) ;
this . doConfirm = new _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "EventEmitter" ] ( ) ;
this . thisID = '' ;
this . confirmMode = 'deselect deselectConfirmed ' ;
this . confirmBtn = 'showModal' ;
this . confirmedBtn = 'hideModal' ;
this . confirmTick = 'deselectTick ' ;
this . imgSrc = 'assets/imgs/proceedTick.png' ;
this . status = false ;
this . buttonActive = false ;
}
_createClass ( CpsConfirmButtonComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) {
console . log ( "!! CpsConfirmButtonComponent::ngOnInit - " . concat ( this . thisID ) , this . watchFor ) ;
this . confirmBtn = 'showModal' ;
this . confirmedBtn = 'hideModal' ;
console . log ( "!! CpsConfirmButtonComponent::ngOnInit - " . concat ( this . thisID , " isnull?" ) ) ;
if ( this . buttonActive ) {
this . confirmMode = 'cpsConfirmedCol' ;
}
console . log ( "!! CpsConfirmButtonComponent::ngOnInit - " . concat ( this . thisID , " buttonActive" ) , this . buttonActive ) ;
}
} , {
key : "doConfirmation" ,
value : function doConfirmation ( ) {
if ( this . status !== false || ! this . buttonActive ) {
return ;
}
console . log ( ">> CpsConfirmButtonComponent::doConfirmation - " . concat ( this . thisID ) ) ;
this . status = true ;
this . confirmBtn = 'hideModal' ;
this . confirmedBtn = 'showModal' ;
this . confirmTick = '' ;
console . log ( ">> CpsConfirmButtonComponent::doConfirmation - " . concat ( this . thisID , " emit" ) , this . status ) ;
this . doConfirm . emit ( this . status ) ;
}
} , {
key : "ngOnChanges" ,
value : function ngOnChanges ( changes ) {
console . log ( "CpsConfirmButtonComponent::changes - " . concat ( this . thisID ) , changes ) ;
if ( changes . hasOwnProperty ( 'watchFor' ) && changes . watchFor . currentValue !== '' ) {
this . buttonActive = true ;
this . confirmMode = 'cpsConfirmedCol' ;
}
}
} ] ) ;
return CpsConfirmButtonComponent ;
} ( ) ;
CpsConfirmButtonComponent . ctorParameters = function ( ) {
return [ ] ;
} ;
CpsConfirmButtonComponent . propDecorators = {
doConfirm : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Output" ]
} ] ,
thisID : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
state : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
watchFor : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ]
} ;
CpsConfirmButtonComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-cps-confirm-button' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./cps-confirm-button.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/cps-confirm-button/cps-confirm-button.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./cps-confirm-button.component.scss */
"./src/app/components/cps-confirm-button/cps-confirm-button.component.scss" ) ) [ "default" ] ]
} ) ] , CpsConfirmButtonComponent ) ;
/***/
} ,
/***/
"./src/app/components/cps-confirm-button/cps-confirm-button.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - confirm - button / cps - confirm - button . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: CpsConfirmButtonComponentModule */
/***/
function srcAppComponentsCpsConfirmButtonCpsConfirmButtonModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "CpsConfirmButtonComponentModule" , function ( ) {
return CpsConfirmButtonComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _cps _confirm _button _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./cps-confirm-button.component */
"./src/app/components/cps-confirm-button/cps-confirm-button.component.ts" ) ;
var CpsConfirmButtonComponentModule = function CpsConfirmButtonComponentModule ( ) {
_classCallCheck ( this , CpsConfirmButtonComponentModule ) ;
} ;
CpsConfirmButtonComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _cps _confirm _button _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "CpsConfirmButtonComponent" ] ] ,
exports : [ _cps _confirm _button _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "CpsConfirmButtonComponent" ] ]
} ) ] , CpsConfirmButtonComponentModule ) ;
/***/
} ,
/***/
"./src/app/components/cps-top-bottom/cps-top-bottom.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - top - bottom / cps - top - bottom . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsCpsTopBottomCpsTopBottomComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = ".textOnly {\n padding-top: 38px;\n font-size: 50px !important;\n}\n\n.selGreen {\n background-color: #00a350;\n}\n\n.selRed {\n background-color: #ec1d27;\n}\n\n.selVoice {\n background-color: #3972b7;\n}\n\n.cpsButtonsAVPU {\n padding: 20px;\n height: 270px !important;\n color: white !important;\n font-family: \"bebas\";\n font-size: 30px;\n letter-spacing: 0px;\n}\n\n.cpsButtons {\n height: 133px;\n color: white !important;\n font-family: \"bebas\";\n font-size: 24px;\n letter-spacing: 2px;\n}\n\n.cpsTop {\n position: absolute;\n left: 0;\n top: 0;\n width: 98%;\n}\n\n.cpsBottom {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 98%;\n}\n\n.cpsButton1Start {\n background: linear-gradient(137deg, #00b4dc 0%, #1390cf 50%);\n}\n\n.cpsConfirmed {\n width: 100% !important;\n color: white;\n height: 64px;\n text-align: left;\n padding-top: 12px !important;\n padding-left: 30px !important;\n font-family: \"bebas\" ; \ n font - size : 32 px ; \ n letter - spacing : 2 px ; \ n font - weight : bold ; \ n } \ n \ n . cpsConfirmedCol { \ n width : 100 % ! important ; \ n background : # 00 b4dc ; \ n background : linear - gradient ( 137 deg , # 00 b4dc 0 % , # 1390 cf 50 % ) ; \ n margin - right : 8 px ; \ n } \ n \ n . deselect { \ n background - color : # 555656 ! important ; \ n } \ n \ n . deselectTick { \ n display : none ! important ; \ n } \ n \ n . deselectConfirmed { \ n color : # 666666 ! important ; \ n } \ n \ n . deselectConsciousness { \ n background - color : # 555656 ! important ; \ n background - image : none ! important ; \ n } \ n \ n . proceedTickDeselect { \ n opacity : 0.3 ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9jcHMtdG9wLWJvdHRvbS9jcHMtdG9wLWJvdHRvbS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY3NzL3NlbENvbG91cnMuc2NzcyIsInNyYy9hcHAvY3NzL2RlZmF1bHRDb2xvdXJzLnNjc3MiLCJzcmMvYXBwL2Nzcy9jcHMuc2NzcyIsInNyYy9hcHAvY3NzL2Rlc2VsZWN0LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxpQkFBQTtFQUNBLDBCQUFBO0FBQ0Y7O0FDREE7RUFDRSx5QkNISztBRk9QOztBQ0RBO0VBQ0UseUJDTkc7QUZVTDs7QUNEQTtFQUNFLHlCQ1RJO0FGYU47O0FHZkE7RUFDRSxhQUFBO0VBRUEsd0JBQUE7RUFFQSx1QkFBQTtFQUNBLG9CQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0FIZ0JGOztBR2JBO0VBR0UsYUFBQTtFQUVBLHVCQUFBO0VBQ0Esb0JBQUE7RUFDQSxlQUFBO0VBQ0EsbUJBQUE7QUhhRjs7QUdWQTtFQUNFLGtCQUFBO0VBQ0EsT0FBQTtFQUNBLE1BQUE7RUFDQSxVQUFBO0FIYUY7O0FHVEE7RUFDRSxrQkFBQTtFQUNBLE9BQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtBSFlGOztBR1RBO0VBRUUsNERBQUE7QUhXRjs7QUdKQTtFQUNFLHNCQUFBO0VBRUEsWUFBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtFQUVBLDRCQUFBO0VBQ0EsNkJBQUE7RUFDQSxvQkFBQTtFQUNBLGVBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FIS0Y7O0FHRkE7RUFDRSxzQkFBQTtFQUdBLG1CQUFBO0VBQ0EsNERBQUE7RUFLQSxpQkFBQTtBSERGOztBSXRFQTtFQUNFLG9DQUFBO0FKeUVGOztBSXRFQTtFQUNFLHdCQUFBO0FKeUVGOztBSXRFQTtFQUVFLHlCQUFBO0FKd0VGOztBSXJFQTtFQUNFLG9DQUFBO0VBQ0EsaUNBQUE7QUp3RUY7O0FJcEVBO0VBQ0UsWUFBQTtBSnVFRiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvY3BzLXRvcC1ib3R0b20vY3BzLXRvcC1ib3R0b20uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGV4dE9ubHkge1xuICBwYWRkaW5nLXRvcDogMzhweDtcbiAgZm9udC1zaXplOiA1MHB4ICFpbXBvcnRhbnQ7XG59XG5cbkBpbXBvcnQgJy4uLy4uL2Nzcy9zZWxDb2xvdXJzJztcbkBpbXBvcnQgJy4uLy4uL2Nzcy9jcHMnO1xuQGltcG9ydCAnLi4vLi4vY3NzL2Rlc2VsZWN0JztcbiIsIkBpbXBvcnQgXCJzcmMvYXBwL2Nzcy9kZWZhdWx0Q29sb3Vyc1wiO1xuXG4uc2VsR3JlZW4ge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAkZ3JlZW47XG59XG5cbi5zZWxSZWQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAkcmVkO1xufVxuXG4uc2VsVm9pY2Uge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAkYmx1ZTtcbn1cbiIsIiRncmVlbjojMDBhMzUwO1xuJHJlZDojZWMxZDI3O1xuJGJsdWU6IzM5NzJiNztcbiR5ZWxsb3c6I2ZkYzMwMDtcbiRvcmFuZ2U6I2Y0OTIyYzsiLCIuY3BzQnV0dG9uc0FWUFUge1xuICBwYWRkaW5nOiAyMHB4O1xuICAvL2hlaWdodDogMjMwcHggIWltcG9ydGFudDtcbiAgaGVpZ2h0OiAyNzBweCAhaW1wb3J0YW50O1xuICAvL2JvcmRlcjogMXB4IHNvbGlkIG1hZ2VudGE7XG4gIGNvbG9yOiB3aGl0ZSAhaW1wb3J0YW50O1xuICBmb250LWZhbWlseTogXCJiZWJhc1wiO1xuICBmb250LXNpemU6IDMwcHg7XG4gIGxldHRlci1zcGFjaW5nOiAwcHg7XG59XG5cbi5jcHNCdXR0b25zIHtcbiAgLy9wYWRkaW5nOiAyMHB4O1xuICAvL2hlaWdodDogMTExcHg7XG4gIGhlaWdodDogMTMzcHg7XG4gIC8vYm9yZGVyOiAxcHggc29saWQgbWFnZW50YTtcbiAgY29sb3I6IHdoaXRlICFpbXBvcnRhbnQ7XG4gIGZvbnQtZmFtaWx5OiBcImJlYmFzXCI7XG4gIGZvbnQtc2l6ZTogMjRweDtcbiAgbGV0dGVyLXNwYWNpbmc6IDJweDtcbn1cblxuLmNwc1R
/***/
} ,
/***/
"./src/app/components/cps-top-bottom/cps-top-bottom.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - top - bottom / cps - top - bottom . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: CpsTopBottomComponent */
/***/
function srcAppComponentsCpsTopBottomCpsTopBottomComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "CpsTopBottomComponent" , function ( ) {
return CpsTopBottomComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
var CpsTopBottomComponent = /*#__PURE__*/ function ( ) {
function CpsTopBottomComponent ( ) {
_classCallCheck ( this , CpsTopBottomComponent ) ;
this . updateAction = new _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "EventEmitter" ] ( ) ;
this . thisID = '' ;
this . confirm2TopState = 'deselect deselectConfirmed ' ;
this . confirm2BottomState = 'deselect deselectConfirmed ' ;
}
_createClass ( CpsTopBottomComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) {
console . log ( "CpsTopBottomComponent::Init - " . concat ( this . thisID ) , this . dependsOn ) ;
}
} , {
key : "clickTop" ,
value : function clickTop ( ) {
if ( this . dependsOn === false ) {
return ;
}
console . log ( 'Top clicked' ) ;
this . confirm2TopState = '' ;
this . confirm2BottomState = 'deselect ' ;
this . doUpdateAction ( this . config . topVal ) ;
}
} , {
key : "clickBottom" ,
value : function clickBottom ( ) {
if ( this . dependsOn === false ) {
return ;
}
console . log ( 'Bottom clicked' ) ;
this . confirm2TopState = 'deselect ' ;
this . confirm2BottomState = '' ;
this . doUpdateAction ( this . config . bottomVal ) ;
}
} , {
key : "topLabel" ,
value : function topLabel ( ) {
return this . config . topVal . toUpperCase ( ) ;
}
} , {
key : "bottomLabel" ,
value : function bottomLabel ( ) {
return this . config . bottomVal . toUpperCase ( ) ;
}
} , {
key : "doUpdateAction" ,
value : function doUpdateAction ( newAction ) {
this . updateAction . emit ( newAction ) ;
}
} , {
key : "ngOnChanges" ,
value : function ngOnChanges ( changes ) {
console . log ( "CpsTopBottomComponent::changes - " . concat ( this . thisID ) , changes ) ;
if ( changes . hasOwnProperty ( 'dependsOn' ) && changes . dependsOn . currentValue === true ) {
this . confirm2TopState = 'deselect ' ;
this . confirm2BottomState = 'deselect ' ;
}
}
} ] ) ;
return CpsTopBottomComponent ;
} ( ) ;
CpsTopBottomComponent . ctorParameters = function ( ) {
return [ ] ;
} ;
CpsTopBottomComponent . propDecorators = {
updateAction : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Output" ]
} ] ,
config : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
dependsOn : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
thisID : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ]
} ;
CpsTopBottomComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-cps-top-bottom' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./cps-top-bottom.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/cps-top-bottom/cps-top-bottom.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./cps-top-bottom.component.scss */
"./src/app/components/cps-top-bottom/cps-top-bottom.component.scss" ) ) [ "default" ] ]
} ) ] , CpsTopBottomComponent ) ;
/***/
} ,
/***/
"./src/app/components/cps-top-bottom/cps-top-bottom.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / cps - top - bottom / cps - top - bottom . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: CpsTopBottomComponentModule */
/***/
function srcAppComponentsCpsTopBottomCpsTopBottomModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "CpsTopBottomComponentModule" , function ( ) {
return CpsTopBottomComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _cps _top _bottom _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./cps-top-bottom.component */
"./src/app/components/cps-top-bottom/cps-top-bottom.component.ts" ) ;
var CpsTopBottomComponentModule = function CpsTopBottomComponentModule ( ) {
_classCallCheck ( this , CpsTopBottomComponentModule ) ;
} ;
CpsTopBottomComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _cps _top _bottom _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "CpsTopBottomComponent" ] ] ,
exports : [ _cps _top _bottom _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "CpsTopBottomComponent" ] ]
} ) ] , CpsTopBottomComponentModule ) ;
/***/
} ,
/***/
"./src/app/components/num-pad/num-pad.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / num - pad / num - pad . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsNumPadNumPadComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = ".overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 9 !important;\n opacity: 0.8;\n background-color: #333333;\n}\n\nion-col {\n width: 76.67px !important;\n}\n\n.numPadModal {\n position: absolute;\n background-color: #e8e8e8;\n top: 173px !important;\n left: 310px !important;\n width: 320px !important;\n height: 382px !important;\n text-align: center !important;\n padding-top: 15px;\n z-index: 9999;\n font-family: \"oswaldregular\" !important;\n}\n\n.numPadModal h1 {\n font-family: \"oswaldregular\" !important;\n}\n\n.numPadHolder {\n position: absolute;\n top: 60px;\n left: 0px;\n width: 240px;\n padding: 0 !important;\n}\n\n.numPadValue {\n border: 1px solid #555656;\n border-right: 1px solid #e8e8e8 !important;\n width: 111px;\n position: absolute;\n top: 10px;\n left: 9px;\n padding: 4px 2px 0 5px;\n height: 50px;\n font-size: 26px;\n text-align: right !important;\n color: #555656 !important;\n}\n\n.numPadUnit {\n position: absolute;\n top: 10px;\n right: 90px;\n width: 111px;\n height: 50px;\n border: 1px solid #555656;\n border-left: 1px solid #e8e8e8 !important;\n text-align: left;\n padding: 4px 0 0 2px;\n font-size: 26px;\n color: #555656;\n}\n\n.numPadHolder .col {\n padding-right: 0 !important;\n}\n\n.numPadButton {\n width: 70px !important;\n height: 70px !important;\n font-size: 22px;\n border-radius: 0 !important;\n background-color: #00a350;\n color: white;\n margin-bottom: -2px;\n}\n\n.extendButton {\n width: 147px !important;\n}\n\n.rightButton {\n position: absolute;\n right: 10px;\n top: 69px;\n width: 70px;\n height: 305px;\n background-color: #00a350;\n color: white;\n font-size: 22px;\n padding: 120px 0 0 0;\n}\n\n.numPadTick {\n position: absolute;\n top: 134px;\n right: 17px;\n height: 36px;\n}\n\n.wideButton {\n width: 160px !important;\n font-family: \"oswaldregular\" !important;\n border-radius: 0 !important;\n}\n\n.m30 {\n margin-right: 30px;\n}\n\n.numValue {\n position: relative;\n margin: 20px auto 0 auto;\n text-align: left !important;\n width: 420px;\n}\n\n.text-input {\n margin: 4px 8px !important;\n text-align: center !important;\n}\n\n.numValueInput {\n position: absolute !important;\n font-size: 20px;\n width: 250px;\n height: 42px;\n padding-top: 6px;\n font-family: \"oswaldregular\" !important;\n}\n\n.numValueInputBox {\n position: absolute !important;\n left: 260px;\n width: 100px;\n border: 1px solid #555656;\n text-align: center !important;\n font-size: 20px;\n padding: 0 !important;\n margin: 0;\n height: 42px !important;\n font-family: \"oswaldregular\" !important;\n}\n\n.okButton {\n position: absolute;\n right: 0;\n top: 0;\n margin: 0;\n height: 42px;\n font-family: \"oswaldregular\" ! important ; \ n border - radius : 0 ! important ; \ n } \ n \ n . closeButton { \ n position : absolute ; \ n top : 10 px ; \ n right : 10 px ; \ n height : 32 px ; \ n width : 32 px ; \ n } \ n \ n . hidePad { \ n visibility : hidden ; \ n } \ n \ n . showPad { \ n visibility : visible ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9udW0tcGFkL251bS1wYWQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxlQUFBO0VBQ0EsTUFBQTtFQUNBLE9BQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0VBQ0EsWUFBQTtFQUNBLHlCQUFBO0FBQ0Y7O0FBRUE7RUFDRSx5QkFBQTtBQUNGOztBQUVBO0VBQ0Usa0JBQUE7RUFDQSx5QkFBQTtFQUNBLHFCQUFBO0VBQ0Esc0JBQUE7RUFDQSx1QkFBQTtFQUNBLHdCQUFBO0VBQ0EsNkJBQUE7RUFDQSxpQkFBQTtFQUNBLGFBQUE7RUFDQSx1Q0FBQTtBQUNGOztBQUVBO0VBQ0UsdUNBQUE7QUFDRjs7QUFFQTtFQUVFLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFNBQUE7RUFDQSxZQUFBO0VBQ0EscUJBQUE7QUFBRjs7QUFHQTtFQUNFLHlCQUFBO0VBQ0EsMENBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxTQUFBO0VBQ0EsU0FBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLGVBQUE7RUFDQSw0QkFBQTtFQUNBLHlCQUFBO0FBQUY7O0FBR0E7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLFlBQUE7RUFDQSx5QkFBQTtFQUNBLHlDQUFBO0VBQ0EsZ0JBQUE7RUFDQSxvQkFBQTtFQUNBLGVBQUE7RUFDQSxjQUFBO0FBQUY7O0FBR0E7RUFDRSwyQkFBQTtBQUFGOztBQUdBO0VBQ0Usc0JBQUE
/***/
} ,
/***/
"./src/app/components/num-pad/num-pad.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / num - pad / num - pad . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: NumPadComponent */
/***/
function srcAppComponentsNumPadNumPadComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "NumPadComponent" , function ( ) {
return NumPadComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/ * *
* v1 . 0.0 - 22 / 09 / 2020 - FIRST RELEASE
* v1 . 0.1 - 30 / 09 / 2020 - Patched after first test cycle
* v1 . 0.2 - 06 / 11 / 2020 - Patched after User Validation
* /
var NumPadComponent = /*#__PURE__*/ function ( ) {
function NumPadComponent ( alertCtrl ) {
_classCallCheck ( this , NumPadComponent ) ;
this . alertCtrl = alertCtrl ;
this . vitalValue = '' ;
this . dotVisible = true ;
this . slashVisible = false ;
this . longButton = '' ;
this . units = new Map ( [ [ 'BPM' , 'Heart Rate' ] , [ 'BrPM' , 'Respiratory Rate' ] , [ '%' , 'Oxygen Saturation' ] , [ 'mmHg' , 'Blood Pressure' ] , [ '<sup>o</sup>C' , 'Body Temperature' ] ] ) ;
this . change = new _angular _core _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "EventEmitter" ] ( ) ;
} // comp-numpad-vitals-check
// This section checks to ensure that the
// values supplied for all vital signs
// are within predefined ranges and alerts
// the user if they are not. The user must then
// re-enter the vital sign value.
_createClass ( NumPadComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) {
this . theUnit = this . vital ;
console . log ( this . theUnit ) ;
switch ( this . theUnit ) {
case 'BPM' :
this . dotVisible = false ;
this . slashVisible = false ;
this . theMin = 20 ;
this . theMax = 240 ;
break ;
case 'BrPM' :
this . dotVisible = false ;
this . slashVisible = false ;
this . theMin = 0 ;
this . theMax = 99 ;
break ;
case '%' :
this . dotVisible = false ;
this . slashVisible = false ;
this . theMin = 50 ;
this . theMax = 100 ;
break ;
case 'mmHg' :
this . dotVisible = false ;
this . slashVisible = true ;
this . theMin = 20 ;
this . the2ndMin = 20 ;
this . theMax = 300 ;
this . the2ndMax = 200 ;
break ;
case '<sup>o</sup>C' :
this . dotVisible = true ;
this . slashVisible = false ;
this . theMin = 18 ;
this . theMax = 45 ;
break ;
default :
this . dotVisible = true ;
this . slashVisible = false ;
break ;
}
}
} , {
key : "emitEvent" ,
value : function emitEvent ( ) {
return Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__awaiter" ] ) ( this , void 0 , void 0 , /*#__PURE__*/ regeneratorRuntime . mark ( function _callee ( ) {
var theValue , alert , _alert , _alert2 , theSystolic , theDiastolic , _alert3 , _alert4 ;
return regeneratorRuntime . wrap ( function _callee$ ( _context ) {
while ( 1 ) {
switch ( _context . prev = _context . next ) {
case 0 :
// check and handle over/under value entries
console . log ( "theEnglish should have been " . concat ( this . units . get ( this . theUnit ) ) ) ;
theValue = parseFloat ( this . vitalValue . replace ( '<sup>.</sup>' , '.' ) ) ;
console . log ( theValue ) ;
if ( theValue ) {
_context . next = 11 ;
break ;
}
_context . next = 6 ;
return this . alertCtrl . create ( {
header : 'Alert' ,
subHeader : "You must enter a value for " . concat ( this . units . get ( this . theUnit ) ) ,
message : "" . concat ( this . units . get ( this . theUnit ) , " cannot be empty." ) ,
buttons : [ 'Correct entry' ]
} ) ;
case 6 :
alert = _context . sent ;
_context . next = 9 ;
return alert . present ( ) ;
case 9 :
this . vitalValue = '' ;
return _context . abrupt ( "return" ) ;
case 11 :
if ( ! ( this . theUnit !== 'mmHg' ) ) {
_context . next = 25 ;
break ;
}
if ( ! ( theValue < this . theMin || theValue > this . theMax ) ) {
_context . next = 22 ;
break ;
}
_context . next = 15 ;
return this . alertCtrl . create ( {
header : 'Alert' ,
subHeader : "" . concat ( this . units . get ( this . theUnit ) , " Out of range" ) ,
message : "" . concat ( this . units . get ( this . theUnit ) , " must be between " ) . concat ( this . theMin ) . concat ( this . theUnit , " and " ) . concat ( this . theMax ) . concat ( this . theUnit ) ,
buttons : [ 'Correct entry' ]
} ) ;
case 15 :
_alert = _context . sent ;
_context . next = 18 ;
return _alert . present ( ) ;
case 18 :
this . vitalValue = '' ;
return _context . abrupt ( "return" ) ;
case 22 :
this . change . emit ( this . vitalValue ) ;
case 23 :
_context . next = 56 ;
break ;
case 25 :
if ( ! ( this . vitalValue . indexOf ( '/' ) === - 1 ) ) {
_context . next = 33 ;
break ;
}
_context . next = 28 ;
return this . alertCtrl . create ( {
header : 'Alert' ,
subHeader : "" . concat ( this . units . get ( this . theUnit ) , " missing a value" ) ,
message : 'Blood pressure must be entered as sys/dia. Enter two values separated by the slash (/)' ,
buttons : [ 'Correct entry' ]
} ) ;
case 28 :
_alert2 = _context . sent ;
_context . next = 31 ;
return _alert2 . present ( ) ;
case 31 :
this . vitalValue = '' ;
return _context . abrupt ( "return" ) ;
case 33 :
theSystolic = parseInt ( this . vitalValue . split ( '/' ) [ 0 ] , 10 ) ;
theDiastolic = parseInt ( this . vitalValue . split ( '/' ) [ 1 ] , 10 ) ;
if ( ! ( theSystolic < this . theMin || theSystolic > this . theMax ) ) {
_context . next = 45 ;
break ;
}
_context . next = 38 ;
return this . alertCtrl . create ( {
header : 'Alert' ,
subHeader : "" . concat ( this . units . get ( this . theUnit ) , " Out of range" ) ,
message : "Systolic blood pressure must be between " . concat ( this . theMin ) . concat ( this . theUnit , " and " ) . concat ( this . theMax ) . concat ( this . theUnit ) ,
buttons : [ 'Correct entry' ]
} ) ;
case 38 :
_alert3 = _context . sent ;
_context . next = 41 ;
return _alert3 . present ( ) ;
case 41 :
this . vitalValue = '' ;
return _context . abrupt ( "return" ) ;
case 45 :
if ( ! ( theDiastolic < this . the2ndMin || theDiastolic > this . the2ndMax ) ) {
_context . next = 55 ;
break ;
}
_context . next = 48 ;
return this . alertCtrl . create ( {
header : 'Alert' ,
subHeader : "" . concat ( this . units . get ( this . theUnit ) , " Out of range" ) ,
message : "Diastolic blood pressure must be between " . concat ( this . the2ndMin ) . concat ( this . theUnit , " and " ) . concat ( this . the2ndMax ) . concat ( this . theUnit ) ,
buttons : [ 'Correct entry' ]
} ) ;
case 48 :
_alert4 = _context . sent ;
_context . next = 51 ;
return _alert4 . present ( ) ;
case 51 :
this . vitalValue = '' ;
return _context . abrupt ( "return" ) ;
case 55 :
this . change . emit ( this . vitalValue ) ;
case 56 :
case "end" :
return _context . stop ( ) ;
}
}
} , _callee , this ) ;
} ) ) ;
}
} , {
key : "handleInput" ,
value : function handleInput ( digit ) {
if ( digit !== 'backspace' ) {
if ( digit === '.' ) {
this . vitalValue += "<sup>" . concat ( digit , "</sup>" ) ;
} else {
this . vitalValue += digit ;
}
return ;
} else {
// handle backspace
if ( this . vitalValue !== '' ) {
this . vitalValue = this . vitalValue . substr ( 0 , this . vitalValue . length - 1 ) ;
return ;
} else {
this . vitalValue = '' ;
return ;
}
}
}
} , {
key : "closeNumPad" ,
value : function closeNumPad ( ) {
this . change . emit ( 'closePad' ) ;
}
} ] ) ;
return NumPadComponent ;
} ( ) ;
NumPadComponent . ctorParameters = function ( ) {
return [ {
type : _ionic _angular _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "AlertController" ]
} ] ;
} ;
NumPadComponent . propDecorators = {
vital : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "Input" ]
} ] ,
change : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "Output" ]
} ]
} ;
NumPadComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "Component" ] ) ( {
selector : 'app-num-pad' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./num-pad.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/num-pad/num-pad.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./num-pad.component.scss */
"./src/app/components/num-pad/num-pad.component.scss" ) ) [ "default" ] ]
} ) ] , NumPadComponent ) ;
/***/
} ,
/***/
"./src/app/components/num-pad/num-pad.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / num - pad / num - pad . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: NumPadComponentModule */
/***/
function srcAppComponentsNumPadNumPadModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "NumPadComponentModule" , function ( ) {
return NumPadComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _num _pad _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./num-pad.component */
"./src/app/components/num-pad/num-pad.component.ts" ) ;
var NumPadComponentModule = function NumPadComponentModule ( ) {
_classCallCheck ( this , NumPadComponentModule ) ;
} ;
NumPadComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _num _pad _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "NumPadComponent" ] ] ,
exports : [ _num _pad _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "NumPadComponent" ] ]
} ) ] , NumPadComponentModule ) ;
/***/
} ,
/***/
"./src/app/components/vital-signs-bp/vital-signs-bp.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs - bp / vital - signs - bp . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsVitalSignsBpVitalSignsBpComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = ".vitalHeaders {\n height: 150px;\n}\n\n.vitalTitle {\n text-transform: uppercase;\n width: 70%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: clip;\n letter-spacing: 1px;\n margin-top: -12px;\n}\n\n.vitalTitle[data-theme=dark] {\n text-transform: uppercase;\n color: lightgrey;\n}\n\n.Normal[data-theme=dark] {\n color: lightgrey;\n}\n\n.icon-Normal[data-theme=dark] {\n filter: invert(100%);\n}\n\n.align--left {\n text-align: left;\n padding-left: 6px !important;\n}\n\n.align--right {\n text-align: right;\n padding-right: 14px !important;\n}\n\n.align--bottom {\n vertical-align: bottom !important;\n}\n\n.lowerPart {\n position: absolute;\n bottom: 0;\n width: 100%;\n}\n\n.vitalInner {\n padding: 12px 0 0 0 !important;\n height: 150px;\n background: linear-gradient(180deg, #eaeaea 0%, #ffffff 20%, #ffffff 80%, #eaeaea 100%);\n font-family: \"bebas\", serif;\n font-size: 20px;\n font-weight: bold;\n letter-spacing: 2px;\n}\n\n.vitalInner[data-theme=dark] {\n padding: 12px 0 0 0 !important;\n height: 150px;\n background: linear-gradient(180deg, #212121 0%, #030365 50%, #212121 100%);\n font-family: \"bebas\" , serif ; \ n font - size : 20 px ; \ n font - weight : bold ; \ n letter - spacing : 2 px ; \ n } \ n \ n . timeSince { \ n font - size : 75 % ; \ n letter - spacing : - 1 px ; \ n } \ n \ n . timeSince [ data - theme = dark ] { \ n font - size : 75 % ; \ n letter - spacing : - 1 px ; \ n color : lightgrey ; \ n } \ n \ n . vitalValue { \ n position : absolute ; \ n top : 27 px ; \ n left : 10 px ; \ n width : 90 % ; \ n height : 36 px ; \ n text - align : left ; \ n font - size : 36 px ; \ n } \ n \ n . vitalValueBP { \ n position : absolute ; \ n top : 15 px ; \ n left : 10 px ; \ n width : 90 % ; \ n height : 36 px ; \ n text - align : left ; \ n font - size : 36 px ; \ n } \ n \ n . vitalUnit { \ n position : absolute ; \ n bottom : 44 px ; \ n left : 10 px ; \ n font - size : 32 px ! important ; \ n } \ n \ n . vitalUnitBP { \ n position : absolute ; \ n bottom : 44 px ; \ n left : 80 px ; \ n font - size : 32 px ! important ; \ n } \ n \ n . hrImg { \ n position : absolute ; \ n top : 5 px ; \ n right : 15 px ; \ n width : 25 % ; \ n height : 25 % ; \ n } \ n \ n . hrBluetooth { \ n position : absolute ; \ n top : 5 px ; \ n right : 10 px ; \ n width : 12 % ; \ n height : 12 % ; \ n } \ n \ n . vitalToFront { \ n z - index : 110000 ! important ; \ n } \ n \ n . OK { \ n color : # 00 a350 ; \ n } \ n \ n . Warn , \ n . WARN { \ n color : # fdc300 ; \ n } \ n \ n . NotOK { \ n color : # ec1d27 ; \ n } \ n \ n . img15 { \ n width : 15 % ; \ n height : 15 % ; \ n } \ n \ n . img20 { \ n width : 20 % ; \ n height : 20 % ; \ n } \ n \ n . trendUp { \ n transform : rotate ( - 90 deg ) ; \ n } \ n \ n . trendFlat { \ n transform : rotate ( - 45 deg ) ; \ n } \ n \ n . trendUp [ data - theme = dark ] { \ n transform : rotate ( - 90 deg ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . trendFlat [ data - theme = dark ] { \ n transform : rotate ( - 45 deg ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . trendDown [ data - theme = dark ] { \ n filter : invert ( 100 % ) ; \ n } \ n \ n . badCloud { \ n content : url ( 'badcloud.png' ) ; \ n } \ n \ n . badCloud [ data - theme = dark ] { \ n content : url ( 'badcloud.png' ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . goodCloud { \ n content : url ( 'goodcloud.png' ) ; \ n } \ n \ n . _PB { \ n border : 1 px solid magenta ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy92aXRhbC1zaWducy1icC92aXRhbC1zaWducy1icC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY3NzL2RlZmF1bHRDb2xvdXJzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDRSxhQUFBO0FBREY7O0FBSUE7RUFDRSx5QkFBQTtFQUNBLFVBQUE7RUFBVSxtQkFBQTtFQUFvQixnQkFBQTtFQUFpQixtQkFBQTtFQUMvQyxtQkFBQTtFQUNBLGlCQUFBO0FBRUY7O0FBQ0E7RUFDRSx5QkFBQTtFQUNBLGdCQUFBO0FBRUY7O0FBQ0E7RUFDRSxnQkFBQTtBQUVGOztBQUNBO0VBQ0Usb0JBQUE7QUFFRjs7QUFFRTtFQUNFLGdCQUFBO0VBQ0EsNEJBQUE7QUFDSjs7QUFFRTtFQUNFLGlCQUFBO0VBQ0EsOEJBQUE7QUFBSjs7QUFHRTtFQUNFLGlDQUFBO0FBREo7O0FBS0E7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FBRkY7O0FBS0E7RUFDRSw4QkFBQTtFQUNBLGFBQUE7RUFDQSx1RkFBQTtFQUVBLDJCQUFBO0VBQ0EsZUFBQTtFQUNBLGlCQUFBO0VBQ0EsbUJBQUE7QUFIRjs7QUFNQTtFQUNFLDhCQUFBO0VBQ0EsYUFBQTtFQUNBLDBFQUFBO0VBRUEsMkJBQUE7RUFDQSxlQUFBO0VBQ0EsaUJBQUE7RUFDQSxtQkFBQTtBQUpGOztBQU9BO0VBQ0UsY0FBQTtFQUNBLG9CQUFBO0FBSkY7O0FBT0E7RUFDRSxjQUFBO0VBQ0Esb0JBQUE7RUFDQSxnQkFBQTtBQUpGOztBQU9BO0VBQ0Usa0JBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0FBSkY7O0F
/***/
} ,
/***/
"./src/app/components/vital-signs-bp/vital-signs-bp.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs - bp / vital - signs - bp . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: VitalSignsBpComponent */
/***/
function srcAppComponentsVitalSignsBpVitalSignsBpComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "VitalSignsBpComponent" , function ( ) {
return VitalSignsBpComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _vital _signs _vital _signs _component _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! ../vital-signs/vital-signs.component */
"./src/app/components/vital-signs/vital-signs.component.ts" ) ;
/* harmony import */
var basic _trend _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! basic-trend */
"./node_modules/basic-trend/dist/index.js" ) ;
/* harmony import */
var basic _trend _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( basic _trend _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
var VitalSignsBpComponent = /*#__PURE__*/ function ( _vital _signs _vital _si ) {
_inherits ( VitalSignsBpComponent , _vital _signs _vital _si ) ;
var _super = _createSuper ( VitalSignsBpComponent ) ;
function VitalSignsBpComponent ( ) {
var _this2 ;
_classCallCheck ( this , VitalSignsBpComponent ) ;
_this2 = _super . call ( this ) ;
_this2 . sysHistory = [ ] ;
_this2 . diaHistory = [ ] ;
return _this2 ;
}
_createClass ( VitalSignsBpComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) {
console . log ( "VitalSignsBPComponent::Init - " . concat ( this . thisID ) , this . config ) ;
if ( this . config && this . config . vitalTitle ) {
this . vitalTitle = this . config . vitalTitle ;
}
if ( this . config && this . config . imageID ) {
this . imageID = this . config . imageID ;
}
if ( this . config && this . config . vitalUnits ) {
this . vitalUnits = this . config . vitalUnits ;
}
if ( this . config && this . config . vitalType ) {
this . vitalType = this . config . vitalType ;
this . vitalImage = "" . concat ( this . config . vitalType , "Normal" ) ;
}
if ( this . config && this . config . vitalUnits2 ) {
this . vitalUnits2 = this . config . vitalUnits2 ;
this . visibleSecond = true ;
}
this . vitalTheme = ! this . theme ? 'light' : 'dark' ;
clearTimeout ( this . timerId ) ;
this . timer = 0 ;
}
/ * *
* Recalculates the trend
* /
} , {
key : "recalculateTrend" ,
value : function recalculateTrend ( ) {
console . log ( "VitalSignsBPComponent::recalculateTrend - " . concat ( this . thisID ) ) ;
var sequence = this . sysHistory . map ( function ( item ) {
return parseInt ( item . reading , 10 ) ;
} ) ;
this . currentTrend = Object ( basic _trend _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "trend" ] ) ( sequence ) ;
if ( this . currentTrend === - 1 ) {
this . trendClass = 'trendDown' ;
} else if ( this . currentTrend === 1 ) {
this . trendClass = 'trendUp' ;
} else {
this . trendClass = 'trendFlat' ;
}
}
/ * *
* Handles changes to the input variables
* @ param changes The updates change
* /
} , {
key : "ngOnChanges" ,
value : function ngOnChanges ( changes ) {
var _this3 = this ;
console . log ( "VitalSignsBPComponent::changes - " . concat ( this . thisID ) , changes ) ;
if ( changes . hasOwnProperty ( 'newReading' ) && changes . newReading . isFirstChange ( ) !== true ) {
if ( this . newReading . reading !== 'closePad' ) {
clearTimeout ( this . timerId ) ;
var splitVal = this . newReading . reading . split ( '/' ) ;
this . vitalValue = splitVal [ 0 ] ;
this . vital2Value = splitVal [ 1 ] ;
var newSysHistory = {
reading : this . vitalValue ,
timestamp : this . newReading . timestamp
} ;
var newDiaHistory = {
reading : this . vital2Value ,
timestamp : this . newReading . timestamp
} ;
console . log ( "VitalSignsBPComponent::changes - " . concat ( this . thisID , " newSysHistory" ) , newSysHistory ) ;
console . log ( "VitalSignsBPComponent::changes - " . concat ( this . thisID , " newDiaHistory" ) , newDiaHistory ) ;
this . sysHistory . push ( newSysHistory ) ;
this . diaHistory . push ( newDiaHistory ) ;
this . timeSince = 'Fresh reading' ;
this . timer = 0 ;
console . log ( 'HISTORY:' , this . history ) ;
this . vitalTextClass = this . checkVitals ( 'bpSys' , this . vitalValue ) ;
this . vital2TextClass = this . checkVitals ( 'bpDia' , this . vital2Value ) ;
this . vitalIconClass = "icon-" . concat ( this . vitalTextClass ) ;
this . vitalImage = "" . concat ( this . config . vitalType ) . concat ( this . vitalTextClass ) ;
this . recalculateTrend ( ) ;
this . doUpdate ( ) ;
this . timerId = setTimeout ( function ( ) {
_this3 . updateTimer ( ) ;
} , 60000 ) ;
}
}
this . vitalTheme = ! this . theme ? 'light' : 'dark' ;
}
} ] ) ;
return VitalSignsBpComponent ;
} ( _vital _signs _vital _signs _component _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "VitalSignsComponent" ] ) ;
VitalSignsBpComponent . ctorParameters = function ( ) {
return [ ] ;
} ;
VitalSignsBpComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-vital-signs-bp' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./vital-signs-bp.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/vital-signs-bp/vital-signs-bp.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./vital-signs-bp.component.scss */
"./src/app/components/vital-signs-bp/vital-signs-bp.component.scss" ) ) [ "default" ] ]
} ) ] , VitalSignsBpComponent ) ;
/***/
} ,
/***/
"./src/app/components/vital-signs-bp/vital-signs-bp.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs - bp / vital - signs - bp . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: VitalSignsBpComponentModule */
/***/
function srcAppComponentsVitalSignsBpVitalSignsBpModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "VitalSignsBpComponentModule" , function ( ) {
return VitalSignsBpComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _vital _signs _bp _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./vital-signs-bp.component */
"./src/app/components/vital-signs-bp/vital-signs-bp.component.ts" ) ;
var VitalSignsBpComponentModule = function VitalSignsBpComponentModule ( ) {
_classCallCheck ( this , VitalSignsBpComponentModule ) ;
} ;
VitalSignsBpComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _vital _signs _bp _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "VitalSignsBpComponent" ] ] ,
exports : [ _vital _signs _bp _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "VitalSignsBpComponent" ] ]
} ) ] , VitalSignsBpComponentModule ) ;
/***/
} ,
/***/
"./src/app/components/vital-signs/vital-signs.component.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs / vital - signs . component . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppComponentsVitalSignsVitalSignsComponentScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = ".vitalHeaders {\n height: 150px;\n}\n\n.vitalTitle {\n text-transform: uppercase;\n width: 70%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: clip;\n letter-spacing: 1px;\n margin-top: -12px;\n}\n\n.vitalTitle[data-theme=dark] {\n text-transform: uppercase;\n color: lightgrey;\n}\n\n.Normal[data-theme=dark] {\n color: lightgrey;\n}\n\n.icon-Normal[data-theme=dark] {\n filter: invert(100%);\n}\n\n.align--left {\n text-align: left;\n padding-left: 6px !important;\n}\n\n.align--right {\n text-align: right;\n padding-right: 14px !important;\n}\n\n.align--bottom {\n vertical-align: bottom !important;\n}\n\n.lowerPart {\n position: absolute;\n bottom: 0;\n width: 100%;\n}\n\n.vitalInner {\n padding: 12px 0 0 0 !important;\n height: 150px;\n background: linear-gradient(180deg, #eaeaea 0%, #ffffff 20%, #ffffff 80%, #eaeaea 100%);\n font-family: \"bebas\", serif;\n font-size: 20px;\n font-weight: bold;\n letter-spacing: 2px;\n}\n\n.vitalInner[data-theme=dark] {\n padding: 12px 0 0 0 !important;\n height: 150px;\n background: linear-gradient(180deg, #212121 0%, #030365 50%, #212121 100%);\n font-family: \"bebas\" , serif ; \ n font - size : 20 px ; \ n font - weight : bold ; \ n letter - spacing : 2 px ; \ n } \ n \ n . timeSince { \ n font - size : 75 % ; \ n letter - spacing : - 1 px ; \ n } \ n \ n . timeSince [ data - theme = dark ] { \ n font - size : 75 % ; \ n letter - spacing : - 1 px ; \ n color : lightgrey ; \ n } \ n \ n . vitalValue { \ n position : absolute ; \ n top : 27 px ; \ n left : 10 px ; \ n width : 90 % ; \ n height : 36 px ; \ n text - align : left ; \ n font - size : 36 px ; \ n } \ n \ n . vitalValueBP { \ n position : absolute ; \ n top : 15 px ; \ n left : 10 px ; \ n width : 90 % ; \ n height : 36 px ; \ n text - align : left ; \ n font - size : 36 px ; \ n } \ n \ n . vitalUnit { \ n position : absolute ; \ n bottom : 44 px ; \ n left : 10 px ; \ n font - size : 32 px ! important ; \ n } \ n \ n . vitalUnitBP { \ n position : absolute ; \ n bottom : 44 px ; \ n left : 80 px ; \ n font - size : 32 px ! important ; \ n } \ n \ n . hrImg { \ n position : absolute ; \ n top : 5 px ; \ n right : 15 px ; \ n width : 25 % ; \ n height : 25 % ; \ n } \ n \ n . hrBluetooth { \ n position : absolute ; \ n top : 5 px ; \ n right : 10 px ; \ n width : 12 % ; \ n height : 12 % ; \ n } \ n \ n . vitalToFront { \ n z - index : 110000 ! important ; \ n } \ n \ n . OK { \ n color : # 00 a350 ; \ n } \ n \ n . Warn , \ n . WARN { \ n color : # fdc300 ; \ n } \ n \ n . NotOK { \ n color : # ec1d27 ; \ n } \ n \ n . img15 { \ n width : 15 % ; \ n height : 15 % ; \ n } \ n \ n . img20 { \ n width : 20 % ; \ n height : 20 % ; \ n } \ n \ n . trendUp { \ n transform : rotate ( - 90 deg ) ; \ n } \ n \ n . trendFlat { \ n transform : rotate ( - 45 deg ) ; \ n } \ n \ n . trendUp [ data - theme = dark ] { \ n transform : rotate ( - 90 deg ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . trendFlat [ data - theme = dark ] { \ n transform : rotate ( - 45 deg ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . trendDown [ data - theme = dark ] { \ n filter : invert ( 100 % ) ; \ n } \ n \ n . badCloud { \ n content : url ( 'badcloud.png' ) ; \ n } \ n \ n . badCloud [ data - theme = dark ] { \ n content : url ( 'badcloud.png' ) ; \ n filter : invert ( 100 % ) ; \ n } \ n \ n . goodCloud { \ n content : url ( 'goodcloud.png' ) ; \ n } \ n \ n . _PB { \ n border : 1 px solid magenta ; \ n } \ n / * # sourceMappingURL = data : application / json ; base64 , eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy92aXRhbC1zaWducy92aXRhbC1zaWducy5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY3NzL2RlZmF1bHRDb2xvdXJzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDRSxhQUFBO0FBREY7O0FBSUE7RUFDRSx5QkFBQTtFQUNBLFVBQUE7RUFBVSxtQkFBQTtFQUFvQixnQkFBQTtFQUFpQixtQkFBQTtFQUMvQyxtQkFBQTtFQUNBLGlCQUFBO0FBRUY7O0FBQ0E7RUFDRSx5QkFBQTtFQUNBLGdCQUFBO0FBRUY7O0FBQ0E7RUFDRSxnQkFBQTtBQUVGOztBQUNBO0VBQ0Usb0JBQUE7QUFFRjs7QUFFRTtFQUNFLGdCQUFBO0VBQ0EsNEJBQUE7QUFDSjs7QUFFRTtFQUNFLGlCQUFBO0VBQ0EsOEJBQUE7QUFBSjs7QUFHRTtFQUNFLGlDQUFBO0FBREo7O0FBS0E7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FBRkY7O0FBS0E7RUFDRSw4QkFBQTtFQUNBLGFBQUE7RUFDQSx1RkFBQTtFQUVBLDJCQUFBO0VBQ0EsZUFBQTtFQUNBLGlCQUFBO0VBQ0EsbUJBQUE7QUFIRjs7QUFNQTtFQUNFLDhCQUFBO0VBQ0EsYUFBQTtFQUNBLDBFQUFBO0VBRUEsMkJBQUE7RUFDQSxlQUFBO0VBQ0EsaUJBQUE7RUFDQSxtQkFBQTtBQUpGOztBQU9BO0VBQ0UsY0FBQTtFQUNBLG9CQUFBO0FBSkY7O0FBT0E7RUFDRSxjQUFBO0VBQ0Esb0JBQUE7RUFDQSxnQkFBQTtBQUpGOztBQU9BO0VBQ0Usa0JBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0FBSkY7O0FBT0E7RUF
/***/
} ,
/***/
"./src/app/components/vital-signs/vital-signs.component.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs / vital - signs . component . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: VitalSignsComponent */
/***/
function srcAppComponentsVitalSignsVitalSignsComponentTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "VitalSignsComponent" , function ( ) {
return VitalSignsComponent ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var basic _trend _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! basic-trend */
"./node_modules/basic-trend/dist/index.js" ) ;
/* harmony import */
var basic _trend _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( basic _trend _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
var VitalSignsComponent = /*#__PURE__*/ function ( ) {
function VitalSignsComponent ( ) {
_classCallCheck ( this , VitalSignsComponent ) ;
this . onRequestUpdate = new _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "EventEmitter" ] ( ) ;
this . requestInput = new _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "EventEmitter" ] ( ) ;
this . thisID = '' ;
this . theme = false ;
this . vitalTheme = 'light' ;
this . vitalTitle = '' ;
this . vitalUnits = '' ;
this . vitalUnits2 = '' ;
this . vitalType = '' ;
this . imageID = '' ;
this . currentTrend = 0 ;
this . trendClass = 'trendFlat' ;
this . visibleSecond = false ;
this . vitalImage = '' ;
this . vitalValue = '--' ;
this . vital2Value = '--' ;
this . vitalTextClass = 'Normal' ;
this . vital2TextClass = 'Normal' ;
this . vitalIconClass = 'icon-Normal' ;
this . timer = 0 ;
this . timerId = 0 ;
this . timeSince = 'No record' ;
this . history = [ ] ;
this . sand = new Map ( [ [ 'OK' , '-ok' ] , [ 'NotOK' , '-not-ok' ] , [ 'WARN' , '-warn' ] ] ) ;
}
/ * *
*
* /
_createClass ( VitalSignsComponent , [ {
key : "ngOnInit" ,
value : function ngOnInit ( ) {
console . log ( "VitalSignsComponent::Init - " . concat ( this . thisID ) , this . config ) ;
if ( this . config && this . config . vitalTitle ) {
this . vitalTitle = this . config . vitalTitle ;
}
if ( this . config && this . config . imageID ) {
this . imageID = this . config . imageID ;
}
if ( this . config && this . config . vitalUnits ) {
this . vitalUnits = this . config . vitalUnits ;
}
if ( this . config && this . config . vitalType ) {
this . vitalType = this . config . vitalType ;
this . vitalImage = "" . concat ( this . config . vitalType , "Normal" ) ;
}
if ( this . config && this . config . vitalUnits2 ) {
this . vitalUnits2 = this . config . vitalUnits2 ;
this . visibleSecond = true ;
}
this . vitalTheme = ! this . theme ? 'light' : 'dark' ;
clearTimeout ( this . timerId ) ;
this . timer = 0 ;
}
/ * *
* Generates a new icon url string
*
* @ return A new url to the correct icon
* /
} , {
key : "thisIcon" ,
value : function thisIcon ( ) {
if ( this . imageID ) {
return "assets/imgs/" . concat ( this . vitalImage , ".png" ) ;
}
return '' ;
}
/ * *
* Click handler to request the keypad
* /
} , {
key : "requestReading" ,
value : function requestReading ( ) {
console . log ( "VitalSignsComponent::requestReading - " . concat ( this . thisID ) ) ;
this . clearVitals ( ) ;
this . doRequestInput ( ) ;
}
/ * *
*
* /
} , {
key : "clearVitals" ,
value : function clearVitals ( ) {
this . padVisible = false ;
this . keyboardVis = 'hideModal' ;
}
/ * *
* Updates the timer text and restarts the minute timer
* /
} , {
key : "updateTimer" ,
value : function updateTimer ( ) {
var _this4 = this ;
this . timer ++ ;
if ( this . timer === 1 ) {
this . timeSince = '1 Minute Ago' ;
} else if ( this . timer > 1 && this . timer <= 59 ) {
this . timeSince = "" . concat ( this . timer , " mins ago" ) ;
} else {
var hour = Math . floor ( this . timer / 60 ) ;
var suffix = hour === 1 ? '' : 's' ;
this . timeSince = "" . concat ( hour , " hour" ) . concat ( suffix , " ago" ) ;
}
this . timerId = setTimeout ( function ( ) {
_this4 . updateTimer ( ) ;
} , 60000 ) ;
}
/ * *
* Recalculates the trend
* /
} , {
key : "recalculateTrend" ,
value : function recalculateTrend ( ) {
var sequence = this . history . map ( function ( item ) {
return parseInt ( item . reading , 10 ) ;
} ) ;
this . currentTrend = Object ( basic _trend _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "trend" ] ) ( sequence ) ;
if ( this . currentTrend === - 1 ) {
this . trendClass = 'trendDown' ;
} else if ( this . currentTrend === 1 ) {
this . trendClass = 'trendUp' ;
} else {
this . trendClass = 'trendFlat' ;
}
}
/ * *
* Responds to the updated vitals reading from the keypad , updates colour and icons accordingly
* @ param vitalSign The vital sign
* @ param vitalValue The Vital value
* @ param override An override flag
* /
} , {
key : "checkVitals" ,
value : function checkVitals ( vitalSign , vitalValue , override ) {
// console.log("sign: " + vitalSign + " - value: " + vitalValue);
if ( vitalValue === '--' ) {
return override ? '-ok' : 'OK' ;
} else {
switch ( vitalSign ) {
case 'hr' :
var myHR = parseFloat ( vitalValue ) ;
if ( myHR <= 39 || myHR >= 130 ) {
// make colour red
return override ? '-not-ok' : 'NotOK' ;
} else if ( myHR >= 40 && myHR <= 49 || myHR >= 110 && myHR <= 129 ) {
// make colour amber
return override ? '-warn' : 'WARN' ;
} else if ( myHR >= 50 && myHR <= 109 ) {
// make colour green
return override ? '-ok' : 'OK' ;
} else {
return override ? '-ok' : 'OK' ;
}
break ;
case 'br' :
var myBR = parseFloat ( vitalValue ) ;
if ( myBR >= 0 && myBR <= 8 || myBR >= 25 && myBR <= 99 ) {
// make colour red
return 'NotOK' ;
} else if ( myBR >= 21 && myBR <= 24 ) {
// make colour amber
return 'Warn' ;
} else if ( myBR >= 9 && myBR <= 20 ) {
// make colour green
return 'OK' ;
} else {
return 'OK' ;
}
break ;
// Updated with Tim's SATS values from email 13/04/2019
case 'sats' :
var mySATS = parseFloat ( vitalValue ) ;
if ( mySATS >= 50 && mySATS <= 91 ) {
// make colour red
return 'NotOK' ;
} else if ( mySATS >= 92 && mySATS <= 95 ) {
// make colour amber
return 'Warn' ;
} else if ( mySATS >= 96 && mySATS <= 100 ) {
// make colour green
return 'OK' ;
} else {
return 'OK' ;
}
break ;
case 'bpSys' :
var mySys = parseFloat ( vitalValue ) ;
if ( mySys >= 40 && mySys <= 89 || mySys >= 221 && mySys <= 300 ) {
// make colour red
return 'NotOK' ;
} else if ( mySys >= 90 && mySys <= 99 ) {
// make colour amber
return 'Warn' ;
} else if ( mySys >= 100 && mySys <= 220 ) {
// make colour green
return 'OK' ;
} else {
return 'OK' ;
}
break ;
case 'bpDia' :
var myDia = parseFloat ( vitalValue ) ; // Diastolic
if ( myDia >= 100 && myDia <= 200 ) {
// make colour red
return 'NotOK' ;
} else if ( myDia >= 81 && myDia <= 99 ) {
// make colour amber
return 'Warn' ;
} else if ( myDia >= 20 && myDia <= 80 ) {
// make colour green
return 'OK' ;
} else {
return 'OK' ;
}
break ;
// Updated with Tim's TEMP values from email 13/04/2019
case 'temp' :
var myTEMP = parseFloat ( vitalValue ) ;
if ( myTEMP >= 18 && myTEMP <= 35 || myTEMP >= 39.1 ) {
// make colour red
return 'NotOK' ;
} else if ( myTEMP >= 35.1 && myTEMP <= 36 || myTEMP >= 38.1 && myTEMP <= 39 ) {
// make colour amber
return 'Warn' ;
} else if ( myTEMP >= 36.1 && myTEMP <= 38 ) {
// make colour green
return 'OK' ;
} else {
return 'OK' ;
}
break ;
}
}
}
/ * *
* Emits the updated reading
* /
} , {
key : "doUpdate" ,
value : function doUpdate ( ) {
var output = Object . assign ( { } , this . config , this . newReading ) ;
console . log ( "VitalSignsComponent::doUpdate - " . concat ( this . thisID ) , output ) ;
this . onRequestUpdate . emit ( output ) ;
}
/ * *
* Emits a request to display the keypad with specific units
* /
} , {
key : "doRequestInput" ,
value : function doRequestInput ( ) {
this . requestInput . emit ( {
vitalUnits : this . vitalUnits
} ) ;
}
/ * *
* Handles changes to the input variables
* @ param changes
* /
} , {
key : "ngOnChanges" ,
value : function ngOnChanges ( changes ) {
var _this5 = this ;
console . log ( "VitalSignsComponent::changes - " . concat ( this . thisID ) , changes ) ;
if ( changes . hasOwnProperty ( 'newReading' ) && changes . newReading . isFirstChange ( ) !== true ) {
if ( this . newReading . reading !== 'closePad' ) {
clearTimeout ( this . timerId ) ;
this . vitalValue = this . newReading . reading ;
var newHistory = this . newReading ;
console . log ( "VitalSignsComponent::changes - " . concat ( this . thisID , " newHistory" ) , newHistory ) ;
this . history . push ( newHistory ) ;
this . timeSince = 'Fresh reading' ;
this . timer = 0 ;
console . log ( 'HISTORY:' , this . history ) ;
this . vitalTextClass = this . checkVitals ( this . vitalType , this . vitalValue ) ;
this . vitalIconClass = "icon-" . concat ( this . vitalTextClass ) ;
this . vitalImage = "" . concat ( this . config . vitalType ) . concat ( this . vitalTextClass ) ;
this . recalculateTrend ( ) ;
this . doUpdate ( ) ;
this . timerId = setTimeout ( function ( ) {
_this5 . updateTimer ( ) ;
} , 60000 ) ;
}
}
this . vitalTheme = ! this . theme ? 'light' : 'dark' ;
}
} ] ) ;
return VitalSignsComponent ;
} ( ) ;
VitalSignsComponent . ctorParameters = function ( ) {
return [ ] ;
} ;
VitalSignsComponent . propDecorators = {
onRequestUpdate : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Output" ]
} ] ,
requestInput : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Output" ]
} ] ,
thisID : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
config : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
newReading : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ] ,
theme : [ {
type : _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Input" ]
} ]
} ;
VitalSignsComponent = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-vital-signs' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./vital-signs.component.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/components/vital-signs/vital-signs.component.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./vital-signs.component.scss */
"./src/app/components/vital-signs/vital-signs.component.scss" ) ) [ "default" ] ]
} ) ] , VitalSignsComponent ) ;
/***/
} ,
/***/
"./src/app/components/vital-signs/vital-signs.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / components / vital - signs / vital - signs . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: VitalSignsComponentModule */
/***/
function srcAppComponentsVitalSignsVitalSignsModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "VitalSignsComponentModule" , function ( ) {
return VitalSignsComponentModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _vital _signs _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./vital-signs.component */
"./src/app/components/vital-signs/vital-signs.component.ts" ) ;
var VitalSignsComponentModule = function VitalSignsComponentModule ( ) {
_classCallCheck ( this , VitalSignsComponentModule ) ;
} ;
VitalSignsComponentModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "IonicModule" ] , _angular _router _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "RouterModule" ] ] ,
declarations : [ _vital _signs _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "VitalSignsComponent" ] ] ,
exports : [ _vital _signs _component _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "VitalSignsComponent" ] ]
} ) ] , VitalSignsComponentModule ) ;
/***/
} ,
2020-12-18 09:30:04 +00:00
/***/
"./src/app/home/home-routing.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / home / home - routing . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: HomePageRoutingModule */
/***/
function srcAppHomeHomeRoutingModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "HomePageRoutingModule" , function ( ) {
return HomePageRoutingModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _router _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/router */
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js" ) ;
/* harmony import */
var _home _page _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! ./home.page */
"./src/app/home/home.page.ts" ) ;
var routes = [ {
path : '' ,
component : _home _page _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "HomePage" ]
} ] ;
var HomePageRoutingModule = function HomePageRoutingModule ( ) {
_classCallCheck ( this , HomePageRoutingModule ) ;
} ;
HomePageRoutingModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
imports : [ _angular _router _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "RouterModule" ] . forChild ( routes ) ] ,
exports : [ _angular _router _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "RouterModule" ] ]
} ) ] , HomePageRoutingModule ) ;
/***/
} ,
/***/
"./src/app/home/home.module.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / home / home . module . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: HomePageModule */
/***/
function srcAppHomeHomeModuleTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "HomePageModule" , function ( ) {
return HomePageModule ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
/* harmony import */
var _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ (
/*! @angular/common */
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js" ) ;
/* harmony import */
var _ionic _angular _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ (
/*! @ionic/angular */
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js" ) ;
/* harmony import */
var _angular _forms _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ (
/*! @angular/forms */
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js" ) ;
/* harmony import */
var _home _page _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ (
/*! ./home.page */
"./src/app/home/home.page.ts" ) ;
/* harmony import */
var _home _routing _module _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ (
/*! ./home-routing.module */
"./src/app/home/home-routing.module.ts" ) ;
2020-12-20 22:15:07 +00:00
/* harmony import */
var _components _cps _confirm _button _cps _confirm _button _module _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ (
/*! ../components/cps-confirm-button/cps-confirm-button.module */
"./src/app/components/cps-confirm-button/cps-confirm-button.module.ts" ) ;
/* harmony import */
var _components _cps _top _bottom _cps _top _bottom _module _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ (
/*! ../components/cps-top-bottom/cps-top-bottom.module */
"./src/app/components/cps-top-bottom/cps-top-bottom.module.ts" ) ;
/* harmony import */
var _components _vital _signs _vital _signs _module _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ (
/*! ../components/vital-signs/vital-signs.module */
"./src/app/components/vital-signs/vital-signs.module.ts" ) ;
/* harmony import */
var _components _avpu _swipe _avpu _swipe _module _ _WEBPACK _IMPORTED _MODULE _10 _ _ = _ _webpack _require _ _ (
/*! ../components/avpu-swipe/avpu-swipe.module */
"./src/app/components/avpu-swipe/avpu-swipe.module.ts" ) ;
/* harmony import */
var _components _num _pad _num _pad _module _ _WEBPACK _IMPORTED _MODULE _11 _ _ = _ _webpack _require _ _ (
/*! ../components/num-pad/num-pad.module */
"./src/app/components/num-pad/num-pad.module.ts" ) ;
/* harmony import */
var _components _vital _signs _bp _vital _signs _bp _module _ _WEBPACK _IMPORTED _MODULE _12 _ _ = _ _webpack _require _ _ (
/*! ../components/vital-signs-bp/vital-signs-bp.module */
"./src/app/components/vital-signs-bp/vital-signs-bp.module.ts" ) ;
2020-12-18 09:30:04 +00:00
var HomePageModule = function HomePageModule ( ) {
_classCallCheck ( this , HomePageModule ) ;
} ;
HomePageModule = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "NgModule" ] ) ( {
2020-12-20 22:15:07 +00:00
imports : [ _angular _common _ _WEBPACK _IMPORTED _MODULE _2 _ _ [ "CommonModule" ] , _angular _forms _ _WEBPACK _IMPORTED _MODULE _4 _ _ [ "FormsModule" ] , _ionic _angular _ _WEBPACK _IMPORTED _MODULE _3 _ _ [ "IonicModule" ] , _home _routing _module _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "HomePageRoutingModule" ] , _components _cps _confirm _button _cps _confirm _button _module _ _WEBPACK _IMPORTED _MODULE _7 _ _ [ "CpsConfirmButtonComponentModule" ] , _components _cps _top _bottom _cps _top _bottom _module _ _WEBPACK _IMPORTED _MODULE _8 _ _ [ "CpsTopBottomComponentModule" ] , _components _vital _signs _vital _signs _module _ _WEBPACK _IMPORTED _MODULE _9 _ _ [ "VitalSignsComponentModule" ] , _components _avpu _swipe _avpu _swipe _module _ _WEBPACK _IMPORTED _MODULE _10 _ _ [ "AVPUSwipeComponentModule" ] , _components _num _pad _num _pad _module _ _WEBPACK _IMPORTED _MODULE _11 _ _ [ "NumPadComponentModule" ] , _components _vital _signs _bp _vital _signs _bp _module _ _WEBPACK _IMPORTED _MODULE _12 _ _ [ "VitalSignsBpComponentModule" ] ] ,
2020-12-18 09:30:04 +00:00
declarations : [ _home _page _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "HomePage" ] ]
} ) ] , HomePageModule ) ;
/***/
2020-12-20 22:15:07 +00:00
} ,
/***/
"./src/app/home/home.page.scss" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / home / home . page . scss * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: default */
/***/
function srcAppHomeHomePageScss ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony default export */
_ _webpack _exports _ _ [ "default" ] = "@charset \"UTF-8\";\n.icons {\n display: inline-block;\n font: normal normal normal 14px/1 OpenIconic;\n font-size: inherit;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.icons-rotate-45 {\n transform: rotate(45deg);\n}\n.icons-rotate-90 {\n transform: rotate(90deg);\n}\n.icons-rotate-135 {\n transform: rotate(135deg);\n}\n:root .icons-rotate-45,\n:root .icons-rotate-90,\n:root .icons-rotate-135 {\n filter: none;\n}\n.icons-stack {\n position: relative;\n display: inline-block;\n width: 2em;\n height: 2em;\n line-height: 2em;\n vertical-align: middle;\n}\n.icons-stack-1x,\n.icons-stack-2x {\n position: absolute;\n left: 0;\n width: 100%;\n text-align: center;\n}\n.icons-stack-1x {\n line-height: inherit;\n}\n.icons-stack-2x {\n font-size: 2em;\n}\n.icons-inverse {\n color: #ffffff;\n}\n.icons-arrow-s:before {\n content: \"\";\n}\n.icons-arrow-w:before {\n content: \"\";\n}\n.icons-arrow-e:before {\n content: \"\";\n}\n.icons-arrow-n:before {\n content: \"\";\n}\n.icons-check:before {\n content: \"\";\n}\n.icons-clock:before {\n content: \"\";\n}\n.icons-cloud:before {\n content: \"\";\n}\n.icons-link:before {\n content: \"\";\n}\n.icons-loop:before {\n content: \"\";\n}\n.ceMark {\n padding-top: 45px;\n}\n.aboutAiber {\n position: absolute;\n right: 127px;\n top: 20px;\n height: 56px;\n}\n.aboutZ {\n z-index: 10000 !important;\n}\n.stopScroll {\n --overflow: hidden !important;\n}\n.aboutModal {\n top: 24% !important;\n width: 70% !important;\n height: 52% !important;\n text-align: center;\n font-family: \"arial\" !important;\n font-size: 18px;\n}\n.aboutModal h1 {\n font-family: \"bebas\" !important;\n}\n.aboutHolder {\n margin: 20px auto 0 auto !important;\n width: 100%;\n}\n.aboutInfo {\n width: 100%;\n text-align: left !important;\n}\n.aboutLeft {\n text-align: left !important;\n}\n.stylePage {\n border: 1px solid purple;\n}\n.scroll-content {\n padding: 0px !important;\n margin: 0px !important;\n}\nbody {\n font-family: \"bebas\" !important;\n color: #555656 !important;\n}\n.aiber-ion-header {\n position: absolute;\n top: 0;\n width: 100%;\n height: 91px;\n background-color: #555656 !important;\n color: white;\n}\nion-content {\n position: absolute;\n top: 0px;\n height: 100%;\n padding: 0 !important;\n}\n.aiber-inner-content {\n position: absolute;\n top: 130px;\n height: 612px;\n width: 1015px;\n left: 32px;\n}\n.aiber-ion-footer {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 96px;\n background-color: #555656 !important;\n color: white;\n}\nion-slides {\n height: 270px !important;\n}\nion-slide {\n padding: 0 !important;\n width: 100% !important;\n}\n.headerHolder {\n position: relative;\n width: 100%;\n padding: 18px 0 0 0;\n text-align: center;\n}\n.fasSlides {\n height: 485px !important;\n}\n.fasMenuItems {\n text-align: left;\n padding-top: 42px !important;\n font-size: 26px !important;\n}\n.fasModal h1 {\n font-family: \"bebas\" !important;\n}\n.fasMenuItemsBlank {\n padding-top: 30px !important;\n}\n.fasScreenImgs {\n height: 240px !important;\n}\n.smaller {\n height: 200px !important;\n}\n.nopadding {\n padding-left: 8px !important;\n}\n.innerSlide {\n height: 485px !important;\n width: 700px;\n margin: 0 auto !important;\n overflow-y: scroll;\n}\n.innerSlide h1 {\n font-size: 56px;\n margin-top: 0 !important;\n}\n.smallerH1 {\n font-size: 26px !important;\n text-align: justify !important;\n margin-bottom: 20px !important;\n line-height: 39px !important;\n font-family: \"bebas\" ! important ; \ n width : 100 % ; \ n } \ n . centreText { \ n text - align : center ! important ; \ n } \ n . swipe { \ n padding : 0 ! important ; \ n margin : 0 ! important ; \ n position : absolute ; \ n bottom : 20 px ; \ n left : 350 px ; \ n width : 100 px ! important ; \ n height : 100 px ! important ; \ n } \ n . swipePositionedRight { \ n padding : 0 ! important ; \ n margin : 0 ! important ; \ n position : absolute ; \ n bottom : 20 px ; \ n right : 50 px ; \ n
/***/
} ,
/***/
"./src/app/home/home.page.ts" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / src / app / home / home . page . ts * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/*! exports provided: HomePage */
/***/
function srcAppHomeHomePageTs ( module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export (binding) */
_ _webpack _require _ _ . d ( _ _webpack _exports _ _ , "HomePage" , function ( ) {
return HomePage ;
} ) ;
/* harmony import */
var tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ (
/*! tslib */
"./node_modules/tslib/tslib.es6.js" ) ;
/* harmony import */
var _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ (
/*! @angular/core */
"./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js" ) ;
var HomePage = /*#__PURE__*/ function ( ) {
function HomePage ( ) {
_classCallCheck ( this , HomePage ) ;
this . emptyString = '' ;
this . testString = 'TestString' ;
this . boolTrue = true ;
this . boolFalse = false ;
this . topBottomConfig = {
topVal : 'Top' ,
bottomVal : 'Bottom'
} ;
this . hrConfig = {
vitalTitle : 'Heart Rate' ,
vitalType : 'hr' ,
vitalUnits : 'BPM' ,
vitalUnits2 : null ,
imageID : 'hrOK'
} ;
this . brConfig = {
vitalTitle : 'Respiratory Rate' ,
vitalType : 'br' ,
vitalUnits : 'BrPM' ,
vitalUnits2 : null ,
imageID : 'brOK'
} ;
this . satsConfig = {
vitalTitle : 'Oxygen Sats' ,
vitalType : 'sats' ,
vitalUnits : '%' ,
vitalUnits2 : null ,
imageID : 'satsOK'
} ;
this . tempConfig = {
vitalTitle : 'Temperature' ,
vitalType : 'temp' ,
vitalUnits : '°' ,
vitalUnits2 : null ,
imageID : 'tempOK'
} ;
this . bpConfig = {
vitalTitle : 'Blood Pressure' ,
vitalType : 'bp' ,
vitalUnits : 'sys' ,
vitalUnits2 : 'dia' ,
imageID : 'bpOK'
} ;
this . topBottomChainVal = '' ;
this . blankVitalsReturnData = {
vitalTitle : '' ,
vitalType : '' ,
vitalUnits : '' ,
imageID : '' ,
reading : 0 ,
timestamp : 0
} ;
this . vitalsReturnData = Object . assign ( { } , this . blankVitalsReturnData ) ;
this . brVitalsReturnData = Object . assign ( { } , this . blankVitalsReturnData ) ;
this . satsVitalsReturnData = Object . assign ( { } , this . blankVitalsReturnData ) ;
this . tempVitalsReturnData = Object . assign ( { } , this . blankVitalsReturnData ) ;
this . bpVitalsReturnData = Object . assign ( { } , this . blankVitalsReturnData ) ;
this . vitalTheme = false ;
this . padVisible = false ;
this . vitalRequested = '' ;
}
_createClass ( HomePage , [ {
key : "doConfirmButton" ,
value : function doConfirmButton ( e ) {
console . log ( 'doConfirmButton' , e ) ;
}
} , {
key : "setTopBottomChain" ,
value : function setTopBottomChain ( e ) {
console . log ( 'SetTopBottomChain' , e ) ;
this . topBottomChainVal = e ;
}
/ *
For handling vitals
* /
/ * *
*
* /
} , {
key : "testSetHR" ,
value : function testSetHR ( ) {
console . log ( 'testSetHR' , this . testHR ) ;
if ( this . testHR !== null ) {
this . newHRValue = {
reading : this . testHR ,
timestamp : Date . now ( )
} ;
}
}
} , {
key : "testSetBR" ,
value : function testSetBR ( ) {
console . log ( 'testSetBR' , this . testBR ) ;
if ( this . testBR !== null ) {
this . newBRValue = {
reading : this . testBR ,
timestamp : Date . now ( )
} ;
}
}
} , {
key : "testSetSATS" ,
value : function testSetSATS ( ) {
console . log ( 'testSetSATS' , this . testSATS ) ;
if ( this . testSATS !== null ) {
this . newSATSValue = {
reading : this . testSATS ,
timestamp : Date . now ( )
} ;
}
}
} , {
key : "testSetTEMP" ,
value : function testSetTEMP ( ) {
console . log ( 'testSetTEMP' , this . testSATS ) ;
if ( this . testTEMP !== null ) {
this . newTEMPValue = {
reading : this . testTEMP ,
timestamp : Date . now ( )
} ;
}
}
} , {
key : "testSetBP" ,
value : function testSetBP ( ) {
console . log ( 'testSetBP' , this . testSATS ) ;
if ( this . testBP !== null ) {
this . newBPValue = {
reading : this . testBP ,
timestamp : Date . now ( )
} ;
}
}
/ * *
* Captures the data exported from a vitals component
* @ param e the exported VitalsUpdate
* /
} , {
key : "captureVitalsUpdate" ,
value : function captureVitalsUpdate ( e ) {
console . log ( 'captureVitalsUpdate' , e ) ;
this . vitalsReturnData = e ;
}
} , {
key : "captureBRVitalsUpdate" ,
value : function captureBRVitalsUpdate ( e ) {
console . log ( 'captureBRVitalsUpdate' , e ) ;
this . brVitalsReturnData = e ;
}
} , {
key : "captureSATSVitalsUpdate" ,
value : function captureSATSVitalsUpdate ( e ) {
console . log ( 'captureSATSVitalsUpdate' , e ) ;
this . satsVitalsReturnData = e ;
}
} , {
key : "captureTEMPVitalsUpdate" ,
value : function captureTEMPVitalsUpdate ( e ) {
console . log ( 'captureTEMPVitalsUpdate' , e ) ;
this . tempVitalsReturnData = e ;
}
} , {
key : "captureBPVitalsUpdate" ,
value : function captureBPVitalsUpdate ( e ) {
console . log ( 'captureBPVitalsUpdate' , e ) ;
this . bpVitalsReturnData = e ;
}
/ * *
* Captures the data exported from the keypad for use in a vital component
* @ param event The exported value
* /
} , {
key : "vitalCapture" ,
value : function vitalCapture ( event ) {
console . log ( 'vitalCapture::from pad' , event ) ;
this . padVisible = false ;
if ( this . vitalRequested === 'BPM' ) {
this . newHRValue = {
reading : event ,
timestamp : Date . now ( )
} ;
}
}
/ * *
* Captures the request from the vital components to display the keypad
* @ param event the exported object
* /
} , {
key : "vitalsRequestInput" ,
value : function vitalsRequestInput ( event ) {
console . log ( 'vitalsRequestInput' , event ) ; // @ts-ignore
this . vitalRequested = event . vitalUnits ;
this . padVisible = true ;
}
} , {
key : "bpRequestInput" ,
value : function bpRequestInput ( event ) {
console . log ( 'vitalsRequestInput' , event ) ; // @ts-ignore
this . vitalRequested = 'mmHg' ;
this . padVisible = true ;
}
} ] ) ;
return HomePage ;
} ( ) ;
HomePage . ctorParameters = function ( ) {
return [ ] ;
} ;
HomePage = Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__decorate" ] ) ( [ Object ( _angular _core _ _WEBPACK _IMPORTED _MODULE _1 _ _ [ "Component" ] ) ( {
selector : 'app-home' ,
template : Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! raw-loader!./home.page.html */
"./node_modules/raw-loader/dist/cjs.js!./src/app/home/home.page.html" ) ) [ "default" ] ,
styles : [ Object ( tslib _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ "__importDefault" ] ) ( _ _webpack _require _ _ (
/*! ./home.page.scss */
"./src/app/home/home.page.scss" ) ) [ "default" ] ]
} ) ] , HomePage ) ;
/***/
2020-12-18 09:30:04 +00:00
}
} ] ) ;
} ) ( ) ;
//# sourceMappingURL=home-home-module-es5.js.map