UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

1 lines 18.5 kB
{"version":3,"file":"primeng-chip.mjs","sources":["../../src/chip/style/chipstyle.ts","../../src/chip/chip.ts","../../src/chip/primeng-chip.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-chip {\n display: inline-flex;\n align-items: center;\n background: ${dt('chip.background')};\n color: ${dt('chip.color')};\n border-radius: ${dt('chip.border.radius')};\n padding: ${dt('chip.padding.y')} ${dt('chip.padding.x')};\n gap: ${dt('chip.gap')};\n}\n\n.p-chip-icon {\n color: ${dt('chip.icon.color')};\n font-size: ${dt('chip.icon.font.size')};\n width: ${dt('chip.icon.size')};\n height: ${dt('chip.icon.size')};\n}\n\n.p-chip-image {\n border-radius: 50%;\n width: ${dt('chip.image.width')};\n height: ${dt('chip.image.height')};\n margin-left: calc(-1 * ${dt('chip.padding.y')});\n}\n\n.p-chip:has(.p-chip-remove-icon) {\n padding-inline-end: ${dt('chip.padding.y')};\n}\n\n.p-chip:has(.p-chip-image) {\n padding-top: calc(${dt('chip.padding.y')} / 2);\n padding-bottom: calc(${dt('chip.padding.y')} / 2);\n}\n\n.p-chip-remove-icon {\n cursor: pointer;\n font-size: ${dt('chip.remove.icon.font.size')};\n width: ${dt('chip.remove.icon.size')};\n height: ${dt('chip.remove.icon.size')};\n color: ${dt('chip.remove.icon.color')};\n border-radius: 50%;\n transition: outline-color ${dt('chip.transition.duration')}, box-shadow ${dt('chip.transition.duration')};\n outline-color: transparent;\n}\n\n.p-chip-remove-icon:focus-visible {\n box-shadow: ${dt('chip.remove.icon.focus.ring.shadow')};\n outline: ${dt('chip.remove.icon.focus.ring.width')} ${dt('chip.remove.icon.focus.ring.style')} ${dt('chip.remove.icon.focus.ring.color')};\n outline-offset: ${dt('chip.remove.icon.focus.ring.offset')};\n}\n`;\n\nconst classes = {\n root: 'p-chip p-component',\n image: 'p-chip-image',\n icon: 'p-chip-icon',\n label: 'p-chip-label',\n removeIcon: 'p-chip-remove-icon'\n};\n\n@Injectable()\nexport class ChipStyle extends BaseStyle {\n name = 'chip';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Chip represents people using icons, labels and images.\n *\n * [Live Demo](https://www.primeng.org/chip)\n *\n * @module chipstyle\n *\n */\nexport enum ChipClasses {\n /**\n * Class name of the root element\n */\n root = 'p-chip',\n /**\n * Class name of the image element\n */\n image = 'p-chip-image',\n /**\n * Class name of the icon element\n */\n icon = 'p-chip-icon',\n /**\n * Class name of the label element\n */\n label = 'p-chip-label',\n /**\n * Class name of the remove icon element\n */\n removeIcon = 'p-chip-remove-icon'\n}\n\nexport interface ChipStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, SimpleChanges, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule, TranslationKeys } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesCircleIcon } from 'primeng/icons';\nimport { ChipProps } from './chip.interface';\nimport { ChipStyle } from './style/chipstyle';\n\n/**\n * Chip represents people using icons, labels and images.\n * @group Components\n */\n@Component({\n selector: 'p-chip',\n standalone: true,\n imports: [CommonModule, TimesCircleIcon, SharedModule],\n template: `\n <ng-content></ng-content>\n <img class=\"p-chip-image\" [src]=\"image\" *ngIf=\"image; else iconTemplate\" (error)=\"imageError($event)\" [alt]=\"alt\" />\n <ng-template #iconTemplate><span *ngIf=\"icon\" [class]=\"icon\" [ngClass]=\"'p-chip-icon'\" [attr.data-pc-section]=\"'icon'\"></span></ng-template>\n <div class=\"p-chip-label\" *ngIf=\"label\" [attr.data-pc-section]=\"'label'\">{{ label }}</div>\n <ng-container *ngIf=\"removable\">\n <ng-container *ngIf=\"!removeIconTemplate && !_removeIconTemplate\">\n <span\n tabindex=\"0\"\n *ngIf=\"removeIcon\"\n [class]=\"removeIcon\"\n [ngClass]=\"'p-chip-remove-icon'\"\n [attr.data-pc-section]=\"'removeicon'\"\n (click)=\"close($event)\"\n (keydown)=\"onKeydown($event)\"\n [attr.aria-label]=\"removeAriaLabel\"\n role=\"button\"\n ></span>\n <TimesCircleIcon tabindex=\"0\" *ngIf=\"!removeIcon\" [class]=\"'p-chip-remove-icon'\" [attr.data-pc-section]=\"'removeicon'\" (click)=\"close($event)\" (keydown)=\"onKeydown($event)\" [attr.aria-label]=\"removeAriaLabel\" role=\"button\" />\n </ng-container>\n <span *ngIf=\"removeIconTemplate || _removeIconTemplate\" tabindex=\"0\" [attr.data-pc-section]=\"'removeicon'\" class=\"p-chip-remove-icon\" (click)=\"close($event)\" (keydown)=\"onKeydown($event)\" [attr.aria-label]=\"removeAriaLabel\" role=\"button\">\n <ng-template *ngTemplateOutlet=\"removeIconTemplate || _removeIconTemplate\"></ng-template>\n </span>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ChipStyle],\n host: {\n '[class]': 'containerClass()',\n '[style]': 'style',\n '[style.display]': '!visible && \"none\"',\n '[attr.data-pc-name]': \"'chip'\",\n '[attr.aria-label]': 'label',\n '[attr.data-pc-section]': \"'root'\"\n }\n})\nexport class Chip extends BaseComponent implements AfterContentInit {\n /**\n * Defines the text to display.\n * @group Props\n */\n @Input() label: string | undefined;\n /**\n * Defines the icon to display.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Defines the image to display.\n * @group Props\n */\n @Input() image: string | undefined;\n /**\n * Alt attribute of the image.\n * @group Props\n */\n @Input() alt: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether to display a remove icon.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) removable: boolean | undefined = false;\n /**\n * Icon of the remove element.\n * @group Props\n */\n @Input() removeIcon: string | undefined;\n /**\n * Callback to invoke when a chip is removed.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n @Output() onRemove: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n /**\n * This event is triggered if an error occurs while loading an image file.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onImageError: EventEmitter<Event> = new EventEmitter<Event>();\n\n visible: boolean = true;\n\n get removeAriaLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['removeLabel'];\n }\n /**\n * Used to pass all properties of the chipProps to the Chip component.\n * @group Props\n */\n @Input() get chipProps(): ChipProps {\n return this._chipProps;\n }\n set chipProps(val: ChipProps | undefined) {\n this._chipProps = val;\n\n if (val && typeof val === 'object') {\n //@ts-ignore\n Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));\n }\n }\n\n _chipProps: ChipProps;\n\n _componentStyle = inject(ChipStyle);\n\n @ContentChild('removeicon', { descendants: false }) removeIconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _removeIconTemplate: TemplateRef<any> | undefined;\n\n ngAfterContentInit() {\n (this.templates as QueryList<PrimeTemplate>).forEach((item) => {\n switch (item.getType()) {\n case 'removeicon':\n this._removeIconTemplate = item.template;\n break;\n\n default:\n this._removeIconTemplate = item.template;\n break;\n }\n });\n }\n\n ngOnChanges(simpleChanges: SimpleChanges) {\n super.ngOnChanges(simpleChanges);\n if (simpleChanges.chipProps && simpleChanges.chipProps.currentValue) {\n const { currentValue } = simpleChanges.chipProps;\n\n if (currentValue.label !== undefined) {\n this.label = currentValue.label;\n }\n if (currentValue.icon !== undefined) {\n this.icon = currentValue.icon;\n }\n if (currentValue.image !== undefined) {\n this.image = currentValue.image;\n }\n if (currentValue.alt !== undefined) {\n this.alt = currentValue.alt;\n }\n if (currentValue.style !== undefined) {\n this.style = currentValue.style;\n }\n if (currentValue.styleClass !== undefined) {\n this.styleClass = currentValue.styleClass;\n }\n if (currentValue.removable !== undefined) {\n this.removable = currentValue.removable;\n }\n if (currentValue.removeIcon !== undefined) {\n this.removeIcon = currentValue.removeIcon;\n }\n }\n }\n\n containerClass() {\n let classes = 'p-chip p-component';\n\n if (this.styleClass) {\n classes += ` ${this.styleClass}`;\n }\n\n return classes;\n }\n\n close(event: MouseEvent) {\n this.visible = false;\n this.onRemove.emit(event);\n }\n\n onKeydown(event) {\n if (event.key === 'Enter' || event.key === 'Backspace') {\n this.close(event);\n }\n }\n\n imageError(event: Event) {\n this.onImageError.emit(event);\n }\n}\n\n@NgModule({\n imports: [Chip, SharedModule],\n exports: [Chip, SharedModule]\n})\nexport class ChipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;kBAIR,EAAE,CAAC,iBAAiB,CAAC,CAAA;aAC1B,EAAE,CAAC,YAAY,CAAC,CAAA;qBACR,EAAE,CAAC,oBAAoB,CAAC,CAAA;AAC9B,aAAA,EAAA,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAA;WAChD,EAAE,CAAC,UAAU,CAAC,CAAA;;;;aAIZ,EAAE,CAAC,iBAAiB,CAAC,CAAA;iBACjB,EAAE,CAAC,qBAAqB,CAAC,CAAA;aAC7B,EAAE,CAAC,gBAAgB,CAAC,CAAA;cACnB,EAAE,CAAC,gBAAgB,CAAC,CAAA;;;;;aAKrB,EAAE,CAAC,kBAAkB,CAAC,CAAA;cACrB,EAAE,CAAC,mBAAmB,CAAC,CAAA;6BACR,EAAE,CAAC,gBAAgB,CAAC,CAAA;;;;0BAIvB,EAAE,CAAC,gBAAgB,C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