{ "version": 3, "sources": ["../ui/app/mn.input.filter.component.js", "../ui/app/mn.input.filter.module.js"], "sourcesContent": ["/*\nCopyright 2020-Present Couchbase, Inc.\n\nUse of this software is governed by the Business Source License included in\nthe file licenses/BSL-Couchbase.txt. As of the Change Date specified in that\nfile, in accordance with the Business Source License, use of this software will\nbe governed by the Apache License, Version 2.0, included in the file\nlicenses/APL2.txt.\n*/\nimport {startWith} from 'rxjs/operators';\nimport {ChangeDetectionStrategy, Component} from '@angular/core';\nimport template from \"./mn.input.filter.html\";\n\nexport {MnInputFilterComponent};\n\nclass MnInputFilterComponent {\n static get annotations() { return [\n new Component({\n selector: \"mn-input-filter\",\n template,\n inputs: [\n \"group\",\n \"mnFocusStatus\",\n \"mnFocus\",\n \"mnClearDisabled\",\n \"mnPlaceholder\",\n \"mnName\"\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n })\n ]}\n\n static get parameters() { return [\n ]}\n\n ngOnInit() {\n let value = this.group.get('value');\n this.currentValue = value.valueChanges.pipe(startWith(value.value));\n }\n\n constructor() {\n }\n\n onBlur() {\n this.mnFocusStatus && this.mnFocusStatus.next(false);\n }\n\n onFocus() {\n this.mnFocusStatus && this.mnFocusStatus.next(true);\n }\n}\n", "/*\nCopyright 2020-Present Couchbase, Inc.\n\nUse of this software is governed by the Business Source License included in\nthe file licenses/BSL-Couchbase.txt. As of the Change Date specified in that\nfile, in accordance with the Business Source License, use of this software will\nbe governed by the Apache License, Version 2.0, included in the file\nlicenses/APL2.txt.\n*/\n\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {ReactiveFormsModule} from '@angular/forms';\n\nimport {MnInputFilterComponent} from './mn.input.filter.component.js';\nimport {MnSharedModule} from './mn.shared.module.js';\n\nexport {MnInputFilterModule}\n\nclass MnInputFilterModule {\n static get annotations() { return [\n new NgModule({\n imports: [\n ReactiveFormsModule,\n CommonModule,\n MnSharedModule\n ],\n declarations: [\n MnInputFilterComponent\n ],\n exports: [\n MnInputFilterComponent\n ]\n })\n ]}\n}\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeA,gCAA6B,WAChB,cAAc,CAAE,MAAO,CAChC,GAAI,WAAU,CACZ,SAAU,kBACV,iCACA,OAAQ,CACN,QACA,gBACA,UACA,kBACA,gBACA,UAEF,gBAAiB,wBAAwB,oBAIlC,aAAa,CAAE,MAAO,GAGjC,UAAW,CACT,GAAI,OAAQ,KAAK,MAAM,IAAI,SAC3B,KAAK,aAAe,MAAM,aAAa,KAAK,UAAU,MAAM,QAG9D,aAAc,EAGd,QAAS,CACP,KAAK,eAAiB,KAAK,cAAc,KAAK,IAGhD,SAAU,CACR,KAAK,eAAiB,KAAK,cAAc,KAAK,MAjClD,wDCIA,6BAA0B,WACb,cAAc,CAAE,MAAO,CAChC,GAAI,UAAS,CACX,QAAS,CACP,oBACA,aACA,gBAEF,aAAc,CACZ,wBAEF,QAAS,CACP,6BAZR", "names": [] }