{"version":3,"file":"kif-lib-footer-action.mjs","sources":["../../../projects/kif-lib/footer-action/footer.component.ts","../../../projects/kif-lib/footer-action/footer.component.html","../../../projects/kif-lib/footer-action/footer.module.ts","../../../projects/kif-lib/footer-action/public-api.ts","../../../projects/kif-lib/footer-action/kif-lib-footer-action.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { IFooterButton } from './interface';\n\n@Component({\n    selector: 'kit-footer',\n    templateUrl: './footer.component.html',\n    styleUrls: ['../styles/index.scss']\n})\nexport class FooterComponent{\n    @Input() buttons: IFooterButton[] = [];\n    @Input() stepNumber: number = 0;\n    @Input() stepTotal: number = 0;\n    @Input() typeDrawer: boolean = false;\n    \n    \n    getprogresValue(){\n       \n        const progress = ((this.stepNumber/this.stepTotal)*100).toString();\n        return progress;\n\n    }\n\n}\n","<section>\n    <div class= \"w-100 d-flex justify-content-between  align-items-center\" [ngClass]=\"typeDrawer ? 'footer-container-mf2': 'footer-container-mf'\" >\n    \n      <div class=\"d-flex align-items-center\">\n        @if(stepNumber !== 0 && stepTotal !== 0){\n           <mat-progress-bar  mode=\"determinate\" [value]=\"getprogresValue()\"></mat-progress-bar>\n            <span class=\"step-iinfo\">{{stepNumber +' / ' +stepTotal}}</span>\n        }\n       \n      </div>\n      \n\n      <div class=\"d-flex justify-content-end align-items-center  gap-2\">\n         @for (button of buttons; track button) {\n        <div>\n          <button type=\"button\" [color]=\"button.color\" [class]=\"button.class\" mat-raised-button [disabled]=\"button.disabled\" (click)=\"button.action()\">\n          @if (button.loading) {\n            <span class=\"loader-dots\">\n              <div class=\"dot\"></div>\n              <div class=\"dot\"></div>\n              <div class=\"dot\"></div>\n            </span>\n          } @else {\n            @if(button.lucideIcon && button.positionIconText === 'start') {\n              <div class=\"d-flex align-items-center gap-1\">\n                <lucide-angular\n                  [name]=\"button.lucideIcon.name\"\n                  [size]=\"button.lucideIcon.size\"\n                  [color]=\"button.lucideIcon.color\"\n                  [strokeWidth]=\"button.lucideIcon.strokeWidth\"\n                  [class]=\"button.lucideIcon.class + ' d-flex align-items-center'\"\n                  [absoluteStrokeWidth]=\"button.lucideIcon.absoluteStrokeWidth ?? false\">\n                </lucide-angular>\n                <span class=\"d-flex align-items-center\">{{ button.label }}</span>\n              </div>\n             } @else if(button.lucideIcon && button.positionIconText === 'end') {\n              <div class=\"d-flex align-items-center gap-1\">\n                <span class=\"d-flex align-items-center\">{{ button.label }}</span>\n                <lucide-angular\n                  [name]=\"button.lucideIcon.name\"\n                  [size]=\"button.lucideIcon.size\"\n                  [color]=\"button.lucideIcon.color\"\n                  [strokeWidth]=\"button.lucideIcon.strokeWidth\"\n                  [class]=\"button.lucideIcon.class + ' d-flex align-items-center'\"\n                  [absoluteStrokeWidth]=\"button.lucideIcon.absoluteStrokeWidth ?? false\">\n                </lucide-angular>\n              </div>\n             } @else {\n               <span class=\"d-flex align-items-center\">  {{ button.label }} </span>\n             }\n             \n          }\n        </button>\n        </div>\n        \n      }\n      </div>\n     \n    </div>\n</section>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FooterComponent } from './footer.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport {MatProgressBarModule} from '@angular/material/progress-bar';\nimport { LucideAngularModule } from 'lucide-angular';\n@NgModule({\n    imports: [\n        CommonModule,\n        MatButtonModule,\n        MatProgressBarModule,\n        LucideAngularModule\n    ],\n    declarations: [FooterComponent],\n    exports:[\n        FooterComponent\n    ]\n})\nexport class KifFooterModule { }\n","/*\n * Public API Surface of kif-lib-input\n */\n\nexport * from './footer.component';\nexport * from './footer.module';\nexport * from './interface'\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MAQa,eAAe,CAAA;AAL5B,IAAA,WAAA,GAAA;QAMa,IAAA,CAAA,OAAO,GAAoB,EAAE;QAC7B,IAAA,CAAA,UAAU,GAAW,CAAC;QACtB,IAAA,CAAA,SAAS,GAAW,CAAC;QACrB,IAAA,CA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