{"version":3,"file":"ajf-ionic-checkbox-group.mjs","sources":["../../../projects/ionic/checkbox-group/src/checkbox-group-item.ts","../../../projects/ionic/checkbox-group/src/checkbox-group-item.html","../../../projects/ionic/checkbox-group/src/checkbox-group-module.ts","../../../projects/ionic/checkbox-group/src/public_api.ts","../../../projects/ionic/checkbox-group/src/ajf-ionic-checkbox-group.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {\n  AjfCheckboxGroup,\n  AjfCheckboxGroupItem as CoreCheckboxGroupItem,\n} from '@ajf/core/checkbox-group';\nimport {ChangeDetectionStrategy, Component, Optional, ViewEncapsulation} from '@angular/core';\n\n@Component({\n  selector: 'ajf-checkbox-group-item',\n  templateUrl: 'checkbox-group-item.html',\n  styleUrls: ['checkbox-group-item.scss'],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  encapsulation: ViewEncapsulation.None,\n  // eslint-disable-next-line\n  host: {\n    '[attr.id]': 'id',\n    '[class.ajf-checkbox-group-checked]': 'checked',\n    '[class.ajf-checkbox-group-disable]': 'disabled',\n  },\n})\nexport class AjfCheckboxGroupItem<T> extends CoreCheckboxGroupItem<T> {\n  constructor(\n    // `AjfCheckboxGroupItem` is commonly used in combination with a `AjfCheckboxGroup`.\n    // tslint:disable-next-line: lightweight-tokens\n    @Optional() checkboxGroup: AjfCheckboxGroup<T>,\n  ) {\n    super(checkboxGroup);\n    this.checkedIcon = 'checkmark';\n    this.notCheckedIcon = 'close';\n  }\n}\n","<ion-button (click)=\"onInputChange($event)\" role=\"checkbox\"\n    fill=\"clear\"\n    type=\"button\"\n    [id]=\"checkboxId|async\"\n    [attr.aria-checked]=\"checkedState|async\"\n    [attr.aria-disabled]=\"disabledState|async\">\n  <div class=\"ajf-checkbox-group-item-content\">\n    <div>\n        <ng-content></ng-content>\n    </div>\n    <ion-icon *ngIf=\"icon|async as ic\" item-right [name]=\"ic!\"></ion-icon>\n  </div>\n</ion-button>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCheckboxGroupModule as CoreCheckboxGroupModule} from '@ajf/core/checkbox-group';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {IonicModule} from '@ionic/angular';\n\nimport {AjfCheckboxGroupItem} from './checkbox-group-item';\n\n@NgModule({\n  imports: [CommonModule, CoreCheckboxGroupModule, IonicModule],\n  declarations: [AjfCheckboxGroupItem],\n  exports: [AjfCheckboxGroupItem, CoreCheckboxGroupModule],\n})\nexport class AjfCheckboxGroupModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './checkbox-group-item';\nexport * from './checkbox-group-module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["CoreCheckboxGroupItem","CoreCheckboxGroupModule"],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAqBG,MAAO,oBAAwB,SAAQA,sBAAwB,CAAA;AACnE,IAAA,WAAA;;;IAGc,aAAkC,EAAA;QAE9C,KAAK,CAAC,aAAa,CAAC,CAAC;AACrB,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AAC/B,QAAA,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC;KAC/B;;iHATU,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,gOCzCjC,ocAaA,EAAA,MAAA,EAAA,CAAA,6jBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,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