{"version":3,"sources":["../../src/app/components/togglebutton/togglebutton.ts"],"names":["TOGGLEBUTTON_VALUE_ACCESSOR","provide","NG_VALUE_ACCESSOR","useExisting","forwardRef","ToggleButton","multi","cd","this","iconPos","onChange","EventEmitter","checked","onModelChange","onModelTouched","prototype","toggle","event","disabled","emit","originalEvent","markForCheck","onBlur","writeValue","value","registerOnChange","fn","registerOnTouched","setDisabledState","val","Object","defineProperty","onLabel","length","Component","args","selector","template","providers","changeDetection","ChangeDetectionStrategy","OnPush","ChangeDetectorRef","Input","Output","NgModule","imports","CommonModule","RippleModule","exports","declarations"],"mappings":"uhBAKaA,EAAmC,CAC9CC,QAASC,EAAAA,kBACTC,YAAaC,EAAAA,YAAW,WAAM,OAAAC,KAC9BC,OAAO,gBAkDL,SAAAD,EAAmBE,GAAAC,KAAAD,GAAAA,EAVVC,KAAAC,QAAkB,OAEjBD,KAAAE,SAA8B,IAAIC,EAAAA,aAE5CH,KAAAI,SAAmB,EAEnBJ,KAAAK,cAA0B,aAE1BL,KAAAM,eAA2B,oBAI3BT,EAAAU,UAAAC,OAAA,SAAOC,GACET,KAAKU,WACNV,KAAKI,SAAWJ,KAAKI,QACrBJ,KAAKK,cAAcL,KAAKI,SACxBJ,KAAKM,iBACLN,KAAKE,SAASS,KAAK,CACfC,cAAeH,EACfL,QAASJ,KAAKI,UAGlBJ,KAAKD,GAAGc,iBAIhBhB,EAAAU,UAAAO,OAAA,WACId,KAAKM,kBAGTT,EAAAU,UAAAQ,WAAA,SAAWC,GACPhB,KAAKI,QAAUY,EACfhB,KAAKD,GAAGc,gBAGZhB,EAAAU,UAAAU,iBAAA,SAAiBC,GACblB,KAAKK,cAAgBa,GAGzBrB,EAAAU,UAAAY,kBAAA,SAAkBD,GACdlB,KAAKM,eAAiBY,GAG1BrB,EAAAU,UAAAa,iBAAA,SAAiBC,GACbrB,KAAKU,SAAWW,EAChBrB,KAAKD,GAAGc,gBAGZS,OAAAC,eAAI1B,EAAAU,UAAA,aAAU,KAAd,WACI,OAAOP,KAAKwB,SAAWxB,KAAKwB,QAAQC,OAAS,mCAGjDH,OAAAC,eAAI1B,EAAAU,UAAA,cAAW,KAAf,WACI,OAAOP,KAAKwB,SAAWxB,KAAKwB,QAAQC,OAAS,4DA1FpDC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,iBACVC,SAAU,40BASVC,UAAW,CAACtC,GACZuC,gBAAiBC,EAAAA,wBAAwBC,g8BAvB2CC,EAAAA,sDA4BnFC,EAAAA,wBAEAA,EAAAA,sBAEAA,EAAAA,uBAEAA,EAAAA,8BAEAA,EAAAA,wBAEAA,EAAAA,qBAEAA,EAAAA,0BAEAA,EAAAA,uBAEAA,EAAAA,wBAEAA,EAAAA,uBAEAA,EAAAA,wBAEAC,EAAAA,gBA4DL,iCALCC,EAAAA,SAAQV,KAAA,CAAC,CACNW,QAAS,CAACC,EAAAA,aAAaC,EAAAA,cACvBC,QAAS,CAAC5C,GACV6C,aAAc,CAAC7C","sourcesContent":["import {NgModule,Component,Input,Output,EventEmitter,forwardRef,ChangeDetectionStrategy,ChangeDetectorRef} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RippleModule} from 'primeng/ripple';\nimport {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/forms';\n\nexport const TOGGLEBUTTON_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ToggleButton),\n multi: true\n};\n\n@Component({\n selector: 'p-toggleButton',\n template: `\n