1import { 2 TimesCircleIcon 3} from "./chunk-7CFKWGWL.js"; 4import { 5 BaseComponent 6} from "./chunk-UE2VTUV3.js"; 7import { 8 BaseStyle, 9 PrimeTemplate, 10 SharedModule, 11 TranslationKeys 12} from "./chunk-5QQRAICH.js"; 13import { 14 ChangeDetectionStrategy, 15 CommonModule, 16 Component, 17 ContentChild, 18 ContentChildren, 19 EventEmitter, 20 Injectable, 21 Input, 22 NgClass, 23 NgIf, 24 NgModule, 25 NgTemplateOutlet, 26 Output, 27 ViewEncapsulation, 28 booleanAttribute, 29 inject, 30 setClassMetadata, 31 ɵɵInheritDefinitionFeature, 32 ɵɵInputTransformsFeature, 33 ɵɵNgOnChangesFeature, 34 ɵɵProvidersFeature, 35 ɵɵadvance, 36 ɵɵattribute, 37 ɵɵclassMap, 38 ɵɵcontentQuery, 39 ɵɵdefineComponent, 40 ɵɵdefineInjectable, 41 ɵɵdefineInjector, 42 ɵɵdefineNgModule, 43 ɵɵelement, 44 ɵɵelementContainerEnd, 45 ɵɵelementContainerStart, 46 ɵɵelementEnd, 47 ɵɵelementStart, 48 ɵɵgetCurrentView, 49 ɵɵgetInheritedFactory, 50 ɵɵlistener, 51 ɵɵloadQuery, 52 ɵɵnextContext, 53 ɵɵprojection, 54 ɵɵprojectionDef, 55 ɵɵproperty, 56 ɵɵqueryRefresh, 57 ɵɵreference, 58 ɵɵresetView, 59 ɵɵrestoreView, 60 ɵɵsanitizeUrl, 61 ɵɵstyleMap, 62 ɵɵstyleProp, 63 ɵɵtemplate, 64 ɵɵtemplateRefExtractor, 65 ɵɵtext, 66 ɵɵtextInterpolate 67} from "./chunk-663HFGM6.js"; 68 69// node_modules/primeng/fesm2022/primeng-chip.mjs 70var _c0 = ["removeicon"]; 71var _c1
vendor: 6,143 bytes, lines 71-222
71 = ["*"]; 72function Chip_img_1_Template(rf, ctx) { 73 if (rf & 1) { 74 const _r1 = \u0275\u0275getCurrentView(); 75 \u0275\u0275elementStart(0, "img", 4); 76 \u0275\u0275listener("error", function Chip_img_1_Template_img_error_0_listener($event) { 77 \u0275\u0275restoreView(_r1); 78 const ctx_r1 = \u0275\u0275nextContext(); 79 return \u0275\u0275resetView(ctx_r1.imageError($event)); 80 }); 81 \u0275\u0275elementEnd(); 82 } 83 if (rf & 2) { 84 const ctx_r1 = \u0275\u0275nextContext(); 85 \u0275\u0275property("src", ctx_r1.image, \u0275\u0275sanitizeUrl)("alt", ctx_r1.alt); 86 } 87} 88function Chip_ng_template_2_span_0_Template(rf, ctx) { 89 if (rf & 1) { 90 \u0275\u0275element(0, "span", 6); 91 } 92 if (rf & 2) { 93 const ctx_r1 = \u0275\u0275nextContext(2); 94 \u0275\u0275classMap(ctx_r1.icon); 95 \u0275\u0275property("ngClass", "p-chip-icon"); 96 \u0275\u0275attribute("data-pc-section", "icon"); 97 } 98} 99function Chip_ng_template_2_Template(rf, ctx) { 100 if (rf & 1) { 101 \u0275\u0275template(0, Chip_ng_template_2_span_0_Template, 1, 4, "span", 5); 102 } 103 if (rf & 2) { 104 const ctx_r1 = \u0275\u0275nextContext(); 105 \u0275\u0275property("ngIf", ctx_r1.icon); 106 } 107} 108function Chip_div_4_Template(rf, ctx) { 109 if (rf & 1) { 110 \u0275\u0275elementStart(0, "div", 7); 111 \u0275\u0275text(1); 112 \u0275\u0275elementEnd(); 113 } 114 if (rf & 2) { 115 const ctx_r1 = \u0275\u0275nextContext(); 116 \u0275\u0275attribute("data-pc-section", "label"); 117 \u0275\u0275advance(); 118 \u0275\u0275textInterpolate(ctx_r1.label); 119 } 120} 121function Chip_ng_container_5_ng_container_1_span_1_Template(rf, ctx) { 122 if (rf & 1) { 123 const _r3 = \u0275\u0275getCurrentView(); 124 \u0275\u0275elementStart(0, "span", 11); 125 \u0275\u0275listener("click", function Chip_ng_container_5_ng_container_1_span_1_Template_span_click_0_listener($event) { 126 \u0275\u0275restoreView(_r3); 127 const ctx_r1 = \u0275\u0275nextContext(3); 128 return \u0275\u0275resetView(ctx_r1.close($event)); 129 })("keydown", function Chip_ng_container_5_ng_container_1_span_1_Template_span_keydown_0_listener($event) { 130 \u0275\u0275restoreView(_r3); 131 const ctx_r1 = \u0275\u0275nextContext(3); 132 return \u0275\u0275resetView(ctx_r1.onKeydown($event)); 133 }); 134 \u0275\u0275elementEnd(); 135 } 136 if (rf & 2) { 137 const ctx_r1 = \u0275\u0275nextContext(3); 138 \u0275\u0275classMap(ctx_r1.removeIcon); 139 \u0275\u0275property("ngClass", "p-chip-remove-icon"); 140 \u0275\u0275attribute("data-pc-section", "removeicon")("aria-label", ctx_r1.removeAriaLabel); 141 } 142} 143function Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template(rf, ctx) { 144 if (rf & 1) { 145 const _r4 = \u0275\u0275getCurrentView(); 146 \u0275\u0275elementStart(0, "TimesCircleIcon", 12); 147 \u0275\u0275listener("click", function Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template_TimesCircleIcon_click_0_listener($event) { 148 \u0275\u0275restoreView(_r4); 149 const ctx_r1 = \u0275\u0275nextContext(3); 150 return \u0275\u0275resetView(ctx_r1.close($event)); 151 })("keydown", function Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template_TimesCircleIcon_keydown_0_listener($event) { 152 \u0275\u0275restoreView(_r4); 153 const ctx_r1 = \u0275\u0275nextContext(3); 154 return \u0275\u0275resetView(ctx_r1.onKeydown($event)); 155 }); 156 \u0275\u0275elementEnd(); 157 } 158 if (rf & 2) { 159 const ctx_r1 = \u0275\u0275nextContext(3); 160 \u0275\u0275classMap("p-chip-remove-icon"); 161 \u0275\u0275attribute("data-pc-section", "removeicon")("aria-label", ctx_r1.removeAriaLabel); 162 } 163} 164function Chip_ng_container_5_ng_container_1_Template(rf, ctx) { 165 if (rf & 1) { 166 \u0275\u0275elementContainerStart(0); 167 \u0275\u0275template(1, Chip_ng_container_5_ng_container_1_span_1_Template, 1, 5, "span", 9)(2, Chip_ng_container_5_ng_container_1_TimesCircleIcon_2_Template, 1, 4, "TimesCircleIcon", 10); 168 \u0275\u0275elementContainerEnd(); 169 } 170 if (rf & 2) { 171 const ctx_r1 = \u0275\u0275nextContext(2); 172 \u0275\u0275advance(); 173 \u0275\u0275property("ngIf", ctx_r1.removeIcon); 174 \u0275\u0275advance(); 175 \u0275\u0275property("ngIf", !ctx_r1.removeIcon); 176 } 177} 178function Chip_ng_container_5_span_2_1_ng_template_0_Template(rf, ctx) { 179} 180function Chip_ng_container_5_span_2_1_Template(rf, ctx) { 181 if (rf & 1) { 182 \u0275\u0275template(0, Chip_ng_container_5_span_2_1_ng_template_0_Template, 0, 0, "ng-template"); 183 } 184} 185function Chip_ng_container_5_span_2_Template(rf, ctx) { 186 if (rf & 1) { 187 const _r5 = \u0275\u0275getCurrentView(); 188 \u0275\u0275elementStart(0, "span", 13); 189 \u0275\u0275listener("click", function Chip_ng_container_5_span_2_Template_span_click_0_listener($event) { 190 \u0275\u0275restoreView(_r5); 191 const ctx_r1 = \u0275\u0275nextContext(2); 192 return \u0275\u0275resetView(ctx_r1.close($event)); 193 })("keydown", function Chip_ng_container_5_span_2_Template_span_keydown_0_listener($event) { 194 \u0275\u0275restoreView(_r5); 195 const ctx_r1 = \u0275\u0275nextContext(2); 196 return \u0275\u0275resetView(ctx_r1.onKeydown($event)); 197 }); 198 \u0275\u0275template(1, Chip_ng_container_5_span_2_1_Template, 1, 0, null, 14); 199 \u0275\u0275elementEnd(); 200 } 201 if (rf & 2) { 202 const ctx_r1 = \u0275\u0275nextContext(2); 203 \u0275\u0275attribute("data-pc-section", "removeicon")("aria-label", ctx_r1.removeAriaLabel); 204 \u0275\u0275advance(); 205 \u0275\u0275property("ngTemplateOutlet", ctx_r1.removeIconTemplate || ctx_r1._removeIconTemplate); 206 } 207} 208function Chip_ng_container_5_Template(rf, ctx) { 209 if (rf & 1) { 210 \u0275\u0275elementContainerStart(0); 211 \u0275\u0275template(1, Chip_ng_container_5_ng_container_1_Template, 3, 2, "ng-container", 3)(2, Chip_ng_container_5_span_2_Template, 2, 3, "span", 8); 212 \u0275\u0275elementContainerEnd(); 213 } 214 if (rf & 2) { 215 const ctx_r1 = \u0275\u0275nextContext(); 216 \u0275\u0275advance(); 217 \u0275\u0275property("ngIf", !ctx_r1.removeIconTemplate && !ctx_r1._removeIconTemplate); 218 \u0275\u0275advance(); 219 \u0275\u0275property("ngIf", ctx_r1.removeIconTemplate || ctx_r1._removeIconTemplate); 220 } 221} 222var theme
222 = ({ 223 dt 224}) => ` 225.p-chip { 226 display: inline-flex; 227 align-items: center; 228 background: ${dt("chip.background")}; 229 color: ${dt("chip.color")}; 230 border-radius: ${dt("chip.border.radius")}; 231 padding: ${dt("chip.padding.y")} ${dt("chip.padding.x")}; 232 gap: ${dt("chip.gap")}; 233} 234 235.p-chip-icon { 236 color: ${dt("chip.icon.color")}; 237 font-size: ${dt("chip.icon.font.size")}; 238 width: ${dt("chip.icon.size")}; 239 height: ${dt("chip.icon.size")}; 240} 241 242.p-chip-image { 243 border-radius: 50%; 244 width: ${dt("chip.image.width")}; 245 height: ${dt("chip.image.height")}; 246 margin-left: calc(-1 * ${dt("chip.padding.y")}); 247} 248 249.p-chip:has(.p-chip-remove-icon) { 250 padding-inline-end: ${dt("chip.padding.y")}; 251} 252 253.p-chip:has(.p-chip-image) { 254 padding-top: calc(${dt("chip.padding.y")} / 2); 255 padding-bottom: calc(${dt("chip.padding.y")} / 2); 256} 257 258.p-chip-remove-icon { 259 cursor: pointer; 260 font-size: ${dt("chip.remove.icon.font.size")}; 261 width: ${dt("chip.remove.icon.size")}; 262 height: ${dt("chip.remove.icon.size")}; 263 color: ${dt("chip.remove.icon.color")}; 264 border-radius: 50%; 265 transition: outline-color ${dt("chip.transition.duration")}, box-shadow ${dt("chip.transition.duration")}; 266 outline-color: transparent; 267} 268 269.p-chip-remove-icon:focus-visible { 270 box-shadow: ${dt("chip.remove.icon.focus.ring.shadow")}; 271 outline: ${dt("chip.remove.icon.focus.ring.width")} ${dt("chip.remove.icon.focus.ring.style")} ${dt("chip.remove.icon.focus.ring.color")}; 272 outline-offset: ${dt("chip.remove.icon.focus.ring.offset")}; 273} 274`; 275var classes = { 276 root: "p-chip p-component", 277 image: "p-chip-image", 278 icon: "p-chip-icon", 279 label: "p-chip-label", 280 removeIcon: "p-chip-remove-icon" 281}; 282var ChipStyle = class _ChipStyle extends BaseStyle { 283 name = "chip"; 284 theme = theme; 285 classes = classes
vendor: 3,785 bytes, lines 285-430
285; 286 static \u0275fac = /* @__PURE__ */ (() => { 287 let \u0275ChipStyle_BaseFactory; 288 return function ChipStyle_Factory(__ngFactoryType__) { 289 return (\u0275ChipStyle_BaseFactory || (\u0275ChipStyle_BaseFactory = \u0275\u0275getInheritedFactory(_ChipStyle)))(__ngFactoryType__ || _ChipStyle); 290 }; 291 })(); 292 static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ 293 token: _ChipStyle, 294 factory: _ChipStyle.\u0275fac 295 }); 296}; 297(() => { 298 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ChipStyle, [{ 299 type: Injectable 300 }], null, null); 301})(); 302var ChipClasses; 303(function(ChipClasses2) { 304 ChipClasses2["root"] = "p-chip"; 305 ChipClasses2["image"] = "p-chip-image"; 306 ChipClasses2["icon"] = "p-chip-icon"; 307 ChipClasses2["label"] = "p-chip-label"; 308 ChipClasses2["removeIcon"] = "p-chip-remove-icon"; 309})(ChipClasses || (ChipClasses = {})); 310var Chip = class _Chip extends BaseComponent { 311 /** 312 * Defines the text to display. 313 * @group Props 314 */ 315 label; 316 /** 317 * Defines the icon to display. 318 * @group Props 319 */ 320 icon; 321 /** 322 * Defines the image to display. 323 * @group Props 324 */ 325 image; 326 /** 327 * Alt attribute of the image. 328 * @group Props 329 */ 330 alt; 331 /** 332 * Inline style of the element. 333 * @group Props 334 */ 335 style; 336 /** 337 * Class of the element. 338 * @group Props 339 */ 340 styleClass; 341 /** 342 * Whether to display a remove icon. 343 * @group Props 344 */ 345 removable = false; 346 /** 347 * Icon of the remove element. 348 * @group Props 349 */ 350 removeIcon; 351 /** 352 * Callback to invoke when a chip is removed. 353 * @param {MouseEvent} event - Mouse event. 354 * @group Emits 355 */ 356 onRemove = new EventEmitter(); 357 /** 358 * This event is triggered if an error occurs while loading an image file. 359 * @param {Event} event - Browser event. 360 * @group Emits 361 */ 362 onImageError = new EventEmitter(); 363 visible = true; 364 get removeAriaLabel() { 365 return this.config.getTranslation(TranslationKeys.ARIA)["removeLabel"]; 366 } 367 /** 368 * Used to pass all properties of the chipProps to the Chip component. 369 * @group Props 370 */ 371 get chipProps() { 372 return this._chipProps; 373 } 374 set chipProps(val) { 375 this._chipProps = val; 376 if (val && typeof val === "object") { 377 Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v)); 378 } 379 } 380 _chipProps; 381 _componentStyle = inject(ChipStyle); 382 removeIconTemplate; 383 templates; 384 _removeIconTemplate; 385 ngAfterContentInit() { 386 this.templates.forEach((item) => { 387 switch (item.getType()) { 388 case "removeicon": 389 this._removeIconTemplate = item.template; 390 break; 391 default: 392 this._removeIconTemplate = item.template; 393 break; 394 } 395 }); 396 } 397 ngOnChanges(simpleChanges) { 398 super.ngOnChanges(simpleChanges); 399 if (simpleChanges.chipProps && simpleChanges.chipProps.currentValue) { 400 const { 401 currentValue 402 } = simpleChanges.chipProps; 403 if (currentValue.label !== void 0) { 404 this.label = currentValue.label; 405 } 406 if (currentValue.icon !== void 0) { 407 this.icon = currentValue.icon; 408 } 409 if (currentValue.image !== void 0) { 410 this.image = currentValue.image; 411 } 412 if (currentValue.alt !== void 0) { 413 this.alt = currentValue.alt; 414 } 415 if (currentValue.style !== void 0) { 416 this.style = currentValue.style; 417 } 418 if (currentValue.styleClass !== void 0) { 419 this.styleClass = currentValue.styleClass; 420 } 421 if (currentValue.removable !== void 0) { 422 this.removable = currentValue.removable; 423 } 424 if (currentValue.removeIcon !== void 0) { 425 this.removeIcon = currentValue.removeIcon; 426 } 427 } 428 } 429 containerClass() { 430 let classes2
vendor: 4,702 bytes, lines 430-531
430 = "p-chip p-component"; 431 if (this.styleClass) { 432 classes2 += ` ${this.styleClass}`; 433 } 434 return classes2; 435 } 436 close(event) { 437 this.visible = false; 438 this.onRemove.emit(event); 439 } 440 onKeydown(event) { 441 if (event.key === "Enter" || event.key === "Backspace") { 442 this.close(event); 443 } 444 } 445 imageError(event) { 446 this.onImageError.emit(event); 447 } 448 static \u0275fac = /* @__PURE__ */ (() => { 449 let \u0275Chip_BaseFactory; 450 return function Chip_Factory(__ngFactoryType__) { 451 return (\u0275Chip_BaseFactory || (\u0275Chip_BaseFactory = \u0275\u0275getInheritedFactory(_Chip)))(__ngFactoryType__ || _Chip); 452 }; 453 })(); 454 static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ 455 type: _Chip, 456 selectors: [["p-chip"]], 457 contentQueries: function Chip_ContentQueries(rf, ctx, dirIndex) { 458 if (rf & 1) { 459 \u0275\u0275contentQuery(dirIndex, _c0, 4); 460 \u0275\u0275contentQuery(dirIndex, PrimeTemplate, 4); 461 } 462 if (rf & 2) { 463 let _t; 464 \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.removeIconTemplate = _t.first); 465 \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.templates = _t); 466 } 467 }, 468 hostVars: 9, 469 hostBindings: function Chip_HostBindings(rf, ctx) { 470 if (rf & 2) { 471 \u0275\u0275attribute("data-pc-name", "chip")("aria-label", ctx.label)("data-pc-section", "root"); 472 \u0275\u0275styleMap(ctx.style); 473 \u0275\u0275classMap(ctx.containerClass()); 474 \u0275\u0275styleProp("display", !ctx.visible && "none"); 475 } 476 }, 477 inputs: { 478 label: "label", 479 icon: "icon", 480 image: "image", 481 alt: "alt", 482 style: "style", 483 styleClass: "styleClass", 484 removable: [2, "removable", "removable", booleanAttribute], 485 removeIcon: "removeIcon", 486 chipProps: "chipProps" 487 }, 488 outputs: { 489 onRemove: "onRemove", 490 onImageError: "onImageError" 491 }, 492 features: [\u0275\u0275ProvidersFeature([ChipStyle]), \u0275\u0275InputTransformsFeature, \u0275\u0275InheritDefinitionFeature, \u0275\u0275NgOnChangesFeature], 493 ngContentSelectors: _c1, 494 decls: 6, 495 vars: 4, 496 consts: [["iconTemplate", ""], ["class", "p-chip-image", 3, "src", "alt", "error", 4, "ngIf", "ngIfElse"], ["class", "p-chip-label", 4, "ngIf"], [4, "ngIf"], [1, "p-chip-image", 3, "error", "src", "alt"], [3, "class", "ngClass", 4, "ngIf"], [3, "ngClass"], [1, "p-chip-label"], ["tabindex", "0", "class", "p-chip-remove-icon", "role", "button", 3, "click", "keydown", 4, "ngIf"], ["tabindex", "0", "role", "button", 3, "class", "ngClass", "click", "keydown", 4, "ngIf"], ["tabindex", "0", "role", "button", 3, "class", "click", "keydown", 4, "ngIf"], ["tabindex", "0", "role", "button", 3, "click", "keydown", "ngClass"], ["tabindex", "0", "role", "button", 3, "click", "keydown"], ["tabindex", "0", "role", "button", 1, "p-chip-remove-icon", 3, "click", "keydown"], [4, "ngTemplateOutlet"]], 497 template: function Chip_Template(rf, ctx) { 498 if (rf & 1) { 499 \u0275\u0275projectionDef(); 500 \u0275\u0275projection(0); 501 \u0275\u0275template(1, Chip_img_1_Template, 1, 2, "img", 1)(2, Chip_ng_template_2_Template, 1, 1, "ng-template", null, 0, \u0275\u0275templateRefExtractor)(4, Chip_div_4_Template, 2, 2, "div", 2)(5, Chip_ng_container_5_Template, 3, 2, "ng-container", 3); 502 } 503 if (rf & 2) { 504 const iconTemplate_r6 = \u0275\u0275reference(3); 505 \u0275\u0275advance(); 506 \u0275\u0275property("ngIf", ctx.image)("ngIfElse", iconTemplate_r6); 507 \u0275\u0275advance(3); 508 \u0275\u0275property("ngIf", ctx.label); 509 \u0275\u0275advance(); 510 \u0275\u0275property("ngIf", ctx.removable); 511 } 512 }, 513 dependencies: [CommonModule, NgClass, NgIf, NgTemplateOutlet, TimesCircleIcon, SharedModule], 514 encapsulation: 2, 515 changeDetection: 0 516 }); 517}; 518(() => { 519 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Chip, [{ 520 type: Component, 521 args: [{ 522 selector: "p-chip", 523 standalone: true, 524 imports: [CommonModule, TimesCircleIcon, SharedModule], 525 template: ` 526 <ng-content></ng-content> 527 <img class="p-chip-image" [src]="image" *ngIf="image; else iconTemplate" (error)="imageError($event)" [alt]="alt" /> 528 <ng-template #iconTemplate><span *ngIf="icon" [class]="icon" [ngClass]="'p-chip-icon'" [attr.data-pc-section]="'icon'"></span></ng-template> 529 <div class="p-chip-label" *ngIf="label" [attr.data-pc-section]="'label'">{{ label }}</div> 530 <ng-container *ngIf="removable"> 531 <ng-container *ngIf="!removeIconTemplate && !_removeIconTemplate">
532 <span 533 tabindex="0" 534 *ngIf="removeIcon" 535 [class]="removeIcon" 536 [ngClass]="'p-chip-remove-icon'" 537 [attr.data-pc-section]="'removeicon'" 538 (click)="close($event)" 539 (keydown)="onKeydown($event)" 540 [attr.aria-label]="removeAriaLabel" 541 role="button" 542 ></span> 543 <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" /> 544 </ng-container> 545 <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"> 546 <ng-template *ngTemplateOutlet="removeIconTemplate || _removeIconTemplate"></ng-template> 547 </span> 548 </ng-container> 549 `, 550 changeDetection: ChangeDetectionStrategy.OnPush, 551 encapsulation: ViewEncapsulation.None, 552 providers: [ChipStyle], 553 host: { 554 "[class]": "containerClass()", 555 "[style]": "style", 556 "[style.display]": '!visible && "none"', 557 "[attr.data-pc-name]": "'chip'", 558 "[attr.aria-label]": "label", 559 "[attr.data-pc-section]": "'root'" 560 } 561 }] 562 }], null, { 563 label: [{ 564 type: Input 565 }], 566 icon: [{ 567 type: Input 568 }], 569 image: [{ 570 type: Input 571 }], 572 alt: [{ 573 type: Input 574 }], 575 style: [{ 576 type: Input 577 }], 578 styleClass: [{ 579 type: Input 580 }], 581 removable: [{ 582 type: Input, 583 args: [{ 584 transform: booleanAttribute 585 }] 586 }], 587 removeIcon: [{ 588 type: Input 589 }], 590 onRemove: [{ 591 type: Output 592 }], 593 onImageError: [{ 594 type: Output 595 }], 596 chipProps: [{ 597 type: Input 598 }], 599 removeIconTemplate: [{ 600 type: ContentChild, 601 args: ["removeicon", { 602 descendants: false 603 }] 604 }], 605 templates: [{ 606 type: ContentChildren, 607 args: [PrimeTemplate] 608 }] 609 }); 610})(); 611var ChipModule = class _ChipModule { 612 static \u0275fac = function ChipModule_Factory(__ngFactoryType__) { 613 return new (__ngFactoryType__ || _ChipModule)(); 614 }; 615 static \u0275mod = /* @__PURE__ */ \u0275\u0275defineNgModule({ 616 type: _ChipModule 617 }); 618 static \u0275inj = /* @__PURE__ */ \u0275\u0275defineInjector({ 619 imports: [Chip, SharedModule, SharedModule] 620 }); 621}; 622(() => { 623 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ChipModule, [{ 624 type: NgModule, 625 args: [{ 626 imports: [Chip, SharedModule], 627 exports: [Chip, SharedModule] 628 }] 629 }], null, null); 630})(); 631 632export { 633 Chip 634}; 635/**i18n:40a474ec990dea137b3d5bc523429f1bb12cf272ffbbee04363119a99efd5f92*/ 636//# sourceMappingURL=chunk-UNAZP33Y.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.