{
    "pipes": [],
    "interfaces": [],
    "injectables": [
        {
            "name": "AtomsLibraryService",
            "id": "injectable-AtomsLibraryService-bd03fc8fa599e3d0b0c6f6ead635d598",
            "file": "projects/atoms-library/src/lib/atoms-library.service.ts",
            "properties": [],
            "methods": [],
            "description": "",
            "sourceCode": "import { Injectable } from '@angular/core';\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class AtomsLibraryService {\n\n  constructor() { }\n}\n",
            "constructorObj": {
                "name": "constructor",
                "description": "",
                "args": [],
                "line": 6
            },
            "type": "injectable"
        }
    ],
    "classes": [],
    "directives": [],
    "components": [
        {
            "name": "AtomsLibraryComponent",
            "id": "component-AtomsLibraryComponent-c823bea306e22a844ddb081c6ee9a319",
            "file": "projects/atoms-library/src/lib/atoms-library.component.ts",
            "encapsulation": [],
            "entryComponents": [],
            "inputs": [],
            "outputs": [],
            "providers": [],
            "selector": "at-atoms-library",
            "styleUrls": [],
            "styles": [],
            "template": "<p>\n  atoms-library works!\n</p>\n",
            "templateUrl": [],
            "viewProviders": [],
            "inputsClass": [],
            "outputsClass": [],
            "propertiesClass": [],
            "methodsClass": [
                {
                    "name": "ngOnInit",
                    "args": [],
                    "optional": false,
                    "returnType": "void",
                    "typeParameters": [],
                    "line": 17
                }
            ],
            "hostBindings": [],
            "hostListeners": [],
            "description": "",
            "rawdescription": "",
            "type": "component",
            "sourceCode": "import { Component, OnInit } from '@angular/core';\n\n@Component({\n  selector: 'at-atoms-library',\n  template: `\n    <p>\n      atoms-library works!\n    </p>\n  `,\n  styles: [\n  ]\n})\nexport class AtomsLibraryComponent implements OnInit {\n\n  constructor() { }\n\n  ngOnInit(): void {\n  }\n\n}\n",
            "assetsDirs": [],
            "styleUrlsData": "",
            "stylesData": "",
            "constructorObj": {
                "name": "constructor",
                "description": "",
                "args": [],
                "line": 13
            },
            "implements": [
                "OnInit"
            ]
        },
        {
            "name": "ButtonComponent",
            "id": "component-ButtonComponent-5e9d8f72c41a2e0ba7608032bf0a9224",
            "file": "projects/atoms-library/src/lib/button/button.component.ts",
            "encapsulation": [],
            "entryComponents": [],
            "inputs": [],
            "outputs": [],
            "providers": [],
            "selector": "app-button",
            "styleUrls": [
                "./button.component.scss"
            ],
            "styles": [],
            "templateUrl": [
                "./button.component.html"
            ],
            "viewProviders": [],
            "inputsClass": [
                {
                    "name": "buttonText",
                    "line": 11,
                    "type": "string"
                },
                {
                    "name": "className",
                    "line": 10,
                    "type": "Array<string>"
                }
            ],
            "outputsClass": [],
            "propertiesClass": [
                {
                    "name": "bemClassName",
                    "defaultValue": "\"\"",
                    "type": "string",
                    "optional": false,
                    "description": "",
                    "line": 13,
                    "modifierKind": [
                        114
                    ]
                },
                {
                    "name": "iconEnviar",
                    "defaultValue": "\"../../../../assets/icons/enviar.svg\"",
                    "type": "string",
                    "optional": false,
                    "description": "",
                    "line": 19,
                    "modifierKind": [
                        112
                    ]
                },
                {
                    "name": "iconEnviarBlanco",
                    "defaultValue": "\"../../../../assets/icons/enviar-blanco.svg\"",
                    "type": "string",
                    "optional": false,
                    "description": "",
                    "line": 20,
                    "modifierKind": [
                        112
                    ]
                },
                {
                    "name": "iconsUrl",
                    "defaultValue": "\"\"",
                    "type": "string",
                    "optional": false,
                    "description": "",
                    "line": 16,
                    "modifierKind": [
                        114
                    ]
                },
                {
                    "name": "showIcon",
                    "defaultValue": "false",
                    "type": "boolean",
                    "optional": false,
                    "description": "",
                    "line": 14,
                    "modifierKind": [
                        114
                    ]
                },
                {
                    "name": "showIconRight",
                    "defaultValue": "false",
                    "type": "boolean",
                    "optional": false,
                    "description": "",
                    "line": 15,
                    "modifierKind": [
                        114
                    ]
                }
            ],
            "methodsClass": [
                {
                    "name": "ngOnChanges",
                    "args": [],
                    "optional": false,
                    "returnType": "void",
                    "typeParameters": [],
                    "line": 24
                },
                {
                    "name": "ngOnInit",
                    "args": [],
                    "optional": false,
                    "returnType": "void",
                    "typeParameters": [],
                    "line": 54
                }
            ],
            "hostBindings": [],
            "hostListeners": [],
            "description": "",
            "rawdescription": "",
            "type": "component",
            "sourceCode": "import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n  selector: 'app-button',\n  templateUrl: './button.component.html',\n  styleUrls: ['./button.component.scss']\n})\nexport class ButtonComponent implements OnInit {\n\n  @Input() className: Array<string>;\n  @Input() buttonText: string;\n\n  public bemClassName = \"\";\n  public showIcon : boolean = false; \n  public showIconRight : boolean = false; \n  public iconsUrl : string = \"\";\n\n\n  private iconEnviar = \"../../../../assets/icons/enviar.svg\";\n  private iconEnviarBlanco = \"../../../../assets/icons/enviar-blanco.svg\"\n\n  constructor() { }\n\n  ngOnChanges(){\n    this.bemClassName = this.className.reduce((acc, currentValue) => {\n      return `${acc} pds-btn--${currentValue}`\n    }, \"\")\n    \n    let hasIcon = this.className.some(elem => elem === \"icon\");\n    let hasIconRight = this.className.some(elem => elem === \"iconRight\");\n    let hasOutlineClass = this.className.some(elem => elem === \"outline\");\n\n    if(hasIcon){\n      this.showIcon = true;\n\n      if(hasOutlineClass){\n        this.iconsUrl = this.iconEnviar;\n      }else {\n        this.iconsUrl = this.iconEnviarBlanco;\n      }\n    }\n\n    if(hasIconRight){\n      this.showIconRight = true;\n      \n      if(hasOutlineClass){\n        this.iconsUrl = this.iconEnviar;\n      }else {\n        this.iconsUrl = this.iconEnviarBlanco;\n      }\n    }\n  }\n\n  ngOnInit(): void {\n  }\n\n}\n",
            "assetsDirs": [],
            "styleUrlsData": [
                {
                    "data": ".pds-btn {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    min-width: 130px;\n    padding: 6px 16px;\n    font-size: var(--sprf);\n    border-radius: 5px;\n    border: 1px solid transparent;\n\n    &--primary {\n        color: var(--blanco);\n        background: var(--gradiente);\n    }\n\n    &--outline {\n        color: #1B4996;\n        background: transparent;\n        border: 1px solid #363795;    \n    }\n\n    &--disabled {\n        color: #807E7E;\n        background: #F6F6F6;\n    }\n\n    &--big {\n        padding: 16px 20px;\n        font-size: var(--prf);\n    }\n\n    &--purple {\n        color: #FFFFFF;\n        background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);\n    }\n\n    &--blue {\n        color: #FFFFFF;\n        background: #1B4996;\n    }\n\n    &__icon {\n        width: 16px;\n        height: 16px;\n    }\n\n    &--icon-right {\n\n    }\n}\n",
                    "styleUrl": "./button.component.scss"
                }
            ],
            "stylesData": "",
            "constructorObj": {
                "name": "constructor",
                "description": "",
                "args": [],
                "line": 20
            },
            "implements": [
                "OnInit"
            ],
            "templateData": "<button class=\"pds-btn {{bemClassName}}\">\n    <img class=\"pds-btn__icon\" *ngIf=\"showIcon\" src=\"{{iconsUrl}}\" alt=\"\">\n    <span>{{buttonText}}</span> \n    <img class=\"pds-btn__icon\" *ngIf=\"showIconRight\" src=\"{{iconsUrl}}\" alt=\"\">\n</button>\n"
        }
    ],
    "modules": [
        {
            "name": "AtomsLibraryModule",
            "children": [
                {
                    "type": "providers",
                    "elements": []
                },
                {
                    "type": "declarations",
                    "elements": [
                        {
                            "name": "AtomsLibraryComponent"
                        },
                        {
                            "name": "ButtonComponent"
                        }
                    ]
                },
                {
                    "type": "imports",
                    "elements": []
                },
                {
                    "type": "exports",
                    "elements": [
                        {
                            "name": "AtomsLibraryComponent"
                        }
                    ]
                },
                {
                    "type": "bootstrap",
                    "elements": []
                },
                {
                    "type": "classes",
                    "elements": []
                }
            ]
        }
    ],
    "miscellaneous": {
        "variables": [
            {
                "name": "bigBlue",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['blue','big'])\n    },\n})"
            },
            {
                "name": "bigOutline",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','big'])\n    },\n})"
            },
            {
                "name": "bigPrimary",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','big'])\n    },\n})"
            },
            {
                "name": "bigPurple",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['purple','big'])\n    },\n})"
            },
            {
                "name": "buttonData",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "object",
                "defaultValue": "{\n    className: array('className', ['primary']),\n    buttonText: 'Texto del botón',\n}"
            },
            {
                "name": "context",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/test.ts",
                "type": "",
                "defaultValue": "require.context('./', true, /\\.spec\\.ts$/)"
            },
            {
                "name": "disabled",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({    \n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['disabled'])\n    },\n})"
            },
            {
                "name": "outline",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline'])\n    },\n})"
            },
            {
                "name": "outlineIcon",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','icon'])\n    },\n})"
            },
            {
                "name": "outlineIconRight",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','iconRight'])\n    },\n})"
            },
            {
                "name": "primaryIcon",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','icon'])\n    },\n})"
            },
            {
                "name": "primaryIconRight",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','iconRight'])\n    },\n})"
            },
            {
                "name": "regular",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "",
                "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        className: array('className', ['primary']),\n        buttonText: text('buttonText', 'Texto del botón')\n    },\n})"
            },
            {
                "name": "require",
                "ctype": "miscellaneous",
                "subtype": "variable",
                "file": "projects/atoms-library/src/test.ts",
                "type": "literal type"
            }
        ],
        "functions": [],
        "typealiases": [],
        "enumerations": [],
        "groupedVariables": {
            "projects/atoms-library/src/lib/button/button.stories.ts": [
                {
                    "name": "bigBlue",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['blue','big'])\n    },\n})"
                },
                {
                    "name": "bigOutline",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','big'])\n    },\n})"
                },
                {
                    "name": "bigPrimary",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','big'])\n    },\n})"
                },
                {
                    "name": "bigPurple",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['purple','big'])\n    },\n})"
                },
                {
                    "name": "buttonData",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "object",
                    "defaultValue": "{\n    className: array('className', ['primary']),\n    buttonText: 'Texto del botón',\n}"
                },
                {
                    "name": "disabled",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({    \n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['disabled'])\n    },\n})"
                },
                {
                    "name": "outline",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline'])\n    },\n})"
                },
                {
                    "name": "outlineIcon",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','icon'])\n    },\n})"
                },
                {
                    "name": "outlineIconRight",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['outline','iconRight'])\n    },\n})"
                },
                {
                    "name": "primaryIcon",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','icon'])\n    },\n})"
                },
                {
                    "name": "primaryIconRight",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        ...buttonData,\n        className: array('className', ['primary','iconRight'])\n    },\n})"
                },
                {
                    "name": "regular",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/lib/button/button.stories.ts",
                    "type": "",
                    "defaultValue": "() => ({\n    component: ButtonComponent,\n    props: {\n        className: array('className', ['primary']),\n        buttonText: text('buttonText', 'Texto del botón')\n    },\n})"
                }
            ],
            "projects/atoms-library/src/test.ts": [
                {
                    "name": "context",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/test.ts",
                    "type": "",
                    "defaultValue": "require.context('./', true, /\\.spec\\.ts$/)"
                },
                {
                    "name": "require",
                    "ctype": "miscellaneous",
                    "subtype": "variable",
                    "file": "projects/atoms-library/src/test.ts",
                    "type": "literal type"
                }
            ]
        },
        "groupedFunctions": {},
        "groupedEnumerations": {},
        "groupedTypeAliases": {}
    },
    "routes": [],
    "coverage": {
        "count": 0,
        "status": "low",
        "files": [
            {
                "filePath": "projects/atoms-library/src/lib/atoms-library.component.ts",
                "type": "component",
                "linktype": "component",
                "name": "AtomsLibraryComponent",
                "coveragePercent": 0,
                "coverageCount": "0/3",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/atoms-library.service.ts",
                "type": "injectable",
                "linktype": "injectable",
                "name": "AtomsLibraryService",
                "coveragePercent": 0,
                "coverageCount": "0/2",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.component.ts",
                "type": "component",
                "linktype": "component",
                "name": "ButtonComponent",
                "coveragePercent": 0,
                "coverageCount": "0/12",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "bigBlue",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "bigOutline",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "bigPrimary",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "bigPurple",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "buttonData",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "disabled",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "outline",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "outlineIcon",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "outlineIconRight",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "primaryIcon",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "primaryIconRight",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/lib/button/button.stories.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "regular",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/test.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "context",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            },
            {
                "filePath": "projects/atoms-library/src/test.ts",
                "type": "variable",
                "linktype": "miscellaneous",
                "linksubtype": "variable",
                "name": "require",
                "coveragePercent": 0,
                "coverageCount": "0/1",
                "status": "low"
            }
        ]
    }
}