source: trip-planner-front/node_modules/primeng/fesm2020/primeng-splitbutton.mjs.map@ 1ad8e64

Last change on this file since 1ad8e64 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[59329aa]1{"version":3,"file":"primeng-splitbutton.mjs","sources":["../../src/app/components/splitbutton/splitbutton.ts","../../src/app/components/splitbutton/primeng-splitbutton.ts"],"sourcesContent":["import {NgModule,Component,ElementRef,Input,Output,EventEmitter,ViewChild,ChangeDetectionStrategy,ViewEncapsulation} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MenuItem} from 'primeng/api';\nimport {ButtonModule} from 'primeng/button';\nimport {MenuModule, Menu} from 'primeng/menu';\n\n@Component({\n selector: 'p-splitButton',\n template: `\n <div #container [ngClass]=\"'p-splitbutton p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <button #defaultbtn class=\"p-splitbutton-defaultbutton\" type=\"button\" pButton [icon]=\"icon\" [iconPos]=\"iconPos\" [label]=\"label\" (click)=\"onDefaultButtonClick($event)\" [disabled]=\"disabled\" [attr.tabindex]=\"tabindex\"></button>\n <button type=\"button\" pButton class=\"p-splitbutton-menubutton\" icon=\"pi pi-chevron-down\" (click)=\"onDropdownButtonClick($event)\" [disabled]=\"disabled\" [attr.aria-label]=\"expandAriaLabel\"></button>\n <p-menu #menu [popup]=\"true\" [model]=\"model\" [style]=\"menuStyle\" [styleClass]=\"menuStyleClass\" [appendTo]=\"appendTo\"\n [showTransitionOptions]=\"showTransitionOptions\" [hideTransitionOptions]=\"hideTransitionOptions\"></p-menu>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./splitbutton.css'],\n host: {\n 'class': 'p-element'\n }\n})\nexport class SplitButton {\n\n @Input() model: MenuItem[];\n\n @Input() icon: string;\n\n @Input() iconPos: string = 'left';\n\n @Input() label: string;\n\n @Output() onClick: EventEmitter<any> = new EventEmitter();\n\n @Output() onDropdownClick: EventEmitter<any> = new EventEmitter();\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() menuStyle: any;\n\n @Input() menuStyleClass: string;\n\n @Input() disabled: boolean;\n\n @Input() tabindex: number;\n\n @Input() appendTo: any;\n\n @Input() dir: string;\n\n @Input() expandAriaLabel: string;\n\n @Input() showTransitionOptions: string = '.12s cubic-bezier(0, 0, 0.2, 1)';\n\n @Input() hideTransitionOptions: string = '.1s linear';\n\n @ViewChild('container') containerViewChild: ElementRef;\n\n @ViewChild('defaultbtn') buttonViewChild: ElementRef;\n\n @ViewChild('menu') menu: Menu;\n\n onDefaultButtonClick(event: Event) {\n this.onClick.emit(event);\n }\n\n onDropdownButtonClick(event: Event) {\n this.onDropdownClick.emit(event);\n this.menu.toggle({currentTarget: this.containerViewChild.nativeElement, relativeAlign: this.appendTo == null});\n }\n\n}\n\n@NgModule({\n imports: [CommonModule,ButtonModule,MenuModule],\n exports: [SplitButton,ButtonModule],\n declarations: [SplitButton]\n})\nexport class SplitButtonModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAuBa,WAAW;IAjBxB;QAuBa,YAAO,GAAW,MAAM,CAAC;QAIxB,YAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;QAEhD,oBAAe,GAAsB,IAAI,YAAY,EAAE,CAAC;QAoBzD,0BAAqB,GAAW,iCAAiC,CAAC;QAElE,0BAAqB,GAAW,YAAY,CAAC;KAiBzD;IATG,oBAAoB,CAAC,KAAY;QAC7B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5B;IAED,qBAAqB,CAAC,KAAY;QAC9B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACjC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAC,aAAa,EAAE,IAAI,CAAC,kBAAkB,CAAC,aAAa,EAAE,aAA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