i-tech-shared-components 1.4.97 → 1.4.98-alpha.1793637000687
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1574,6 +1574,7 @@ class LabelComponent {
|
|
|
1574
1574
|
this.bordered = false;
|
|
1575
1575
|
this.selected = false;
|
|
1576
1576
|
this.dashed = false;
|
|
1577
|
+
// extraSmall: Figma "Mini Chip", 20px high (e.g. a Primary tag next to a name)
|
|
1577
1578
|
this.size = 'standard';
|
|
1578
1579
|
this.iconSvg = '';
|
|
1579
1580
|
this.disableRipple = false;
|
|
@@ -1584,7 +1585,7 @@ class LabelComponent {
|
|
|
1584
1585
|
this.cleared = new EventEmitter();
|
|
1585
1586
|
}
|
|
1586
1587
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1587
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: LabelComponent, isStandalone: true, selector: "i-tech-label", inputs: { color: "color", text: "text", innerHtml: "innerHtml", bordered: "bordered", selected: "selected", dashed: "dashed", tooltip: "tooltip", size: "size", iconName: "iconName", iconSvg: "iconSvg", prefixIconName: "prefixIconName", disableRipple: "disableRipple", matChipAction: "matChipAction", forTable: "forTable", iconConfig: "iconConfig", customChipClass: "customChipClass", customBgColor: "customBgColor", customTextColor: "customTextColor", clearable: "clearable" }, outputs: { cleared: "cleared" }, ngImport: i0, template: "<div\n [class]=\"{table_row_item: forTable,'trailing-icon' : iconName || iconSvg || clearable}\"\n style=\"display: flex; align-items: center; height: 100%;\">\n <mat-chip\n [class]=\"'label_' + color + (customChipClass ? ' ' + customChipClass : '')\"\n [ngClass]=\"{
|
|
1588
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: LabelComponent, isStandalone: true, selector: "i-tech-label", inputs: { color: "color", text: "text", innerHtml: "innerHtml", bordered: "bordered", selected: "selected", dashed: "dashed", tooltip: "tooltip", size: "size", iconName: "iconName", iconSvg: "iconSvg", prefixIconName: "prefixIconName", disableRipple: "disableRipple", matChipAction: "matChipAction", forTable: "forTable", iconConfig: "iconConfig", customChipClass: "customChipClass", customBgColor: "customBgColor", customTextColor: "customTextColor", clearable: "clearable" }, outputs: { cleared: "cleared" }, ngImport: i0, template: "<div\n [class]=\"{table_row_item: forTable,'trailing-icon' : iconName || iconSvg || clearable}\"\n style=\"display: flex; align-items: center; height: 100%;\">\n <mat-chip\n [class]=\"'label_' + color + (customChipClass ? ' ' + customChipClass : '')\"\n [ngClass]=\"{\n bordered: bordered,\n selected: selected,\n dashed: dashed,\n small: size === 'small',\n 'extra-small': size === 'extraSmall',\n pointer: matChipAction\n }\"\n [matTooltip]=\"(tooltip || '') | translate\"\n [disableRipple]=\"disableRipple\"\n [style.--mdc-chip-elevated-container-color]=\"customBgColor || null\"\n [style.--mdc-chip-label-text-color]=\"customTextColor || null\"\n >\n <div class=\"flex_align_center flex flex_gap_5\" [ngClass]=\"matChipAction ? 'pointer' : ''\">\n <mat-icon *ngIf=\"prefixIconName\">{{prefixIconName}}</mat-icon>\n <span *ngIf=\"!innerHtml\">{{text | translate}}</span>\n <span *ngIf=\"innerHtml\" [innerHtml]=\"innerHtml | translate\"></span>\n <mat-icon *ngIf=\"iconName\"\n [ngClass]=\"iconConfig?.iconClass\"\n [matTooltip]=\"(iconConfig?.tooltip || '') | translate\"\n [color]=\"iconConfig?.color\">\n {{iconName}}\n </mat-icon>\n <mat-icon *ngIf=\"iconSvg\"\n [svgIcon]=\"iconSvg\"\n [ngClass]=\"iconConfig?.iconClass\"\n [matTooltip]=\"(iconConfig?.tooltip || '') | translate\"\n [color]=\"iconConfig?.color\">\n </mat-icon>\n <button *ngIf=\"clearable\" mat-icon-button class=\"small\" (click)=\"$event.stopPropagation(); cleared.emit()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </mat-chip>\n</div>\n", dependencies: [{ kind: "component", type: MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["role", "id", "aria-label", "aria-description", "value", "color", "removable", "highlighted", "disableRipple", "disabled"], outputs: ["removed", "destroyed"], exportAs: ["matChip"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1588
1589
|
}
|
|
1589
1590
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LabelComponent, decorators: [{
|
|
1590
1591
|
type: Component,
|
|
@@ -1596,7 +1597,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1596
1597
|
MatIcon,
|
|
1597
1598
|
MatIconButton,
|
|
1598
1599
|
NgIf
|
|
1599
|
-
], standalone: true, template: "<div\n [class]=\"{table_row_item: forTable,'trailing-icon' : iconName || iconSvg || clearable}\"\n style=\"display: flex; align-items: center; height: 100%;\">\n <mat-chip\n [class]=\"'label_' + color + (customChipClass ? ' ' + customChipClass : '')\"\n [ngClass]=\"{
|
|
1600
|
+
], standalone: true, template: "<div\n [class]=\"{table_row_item: forTable,'trailing-icon' : iconName || iconSvg || clearable}\"\n style=\"display: flex; align-items: center; height: 100%;\">\n <mat-chip\n [class]=\"'label_' + color + (customChipClass ? ' ' + customChipClass : '')\"\n [ngClass]=\"{\n bordered: bordered,\n selected: selected,\n dashed: dashed,\n small: size === 'small',\n 'extra-small': size === 'extraSmall',\n pointer: matChipAction\n }\"\n [matTooltip]=\"(tooltip || '') | translate\"\n [disableRipple]=\"disableRipple\"\n [style.--mdc-chip-elevated-container-color]=\"customBgColor || null\"\n [style.--mdc-chip-label-text-color]=\"customTextColor || null\"\n >\n <div class=\"flex_align_center flex flex_gap_5\" [ngClass]=\"matChipAction ? 'pointer' : ''\">\n <mat-icon *ngIf=\"prefixIconName\">{{prefixIconName}}</mat-icon>\n <span *ngIf=\"!innerHtml\">{{text | translate}}</span>\n <span *ngIf=\"innerHtml\" [innerHtml]=\"innerHtml | translate\"></span>\n <mat-icon *ngIf=\"iconName\"\n [ngClass]=\"iconConfig?.iconClass\"\n [matTooltip]=\"(iconConfig?.tooltip || '') | translate\"\n [color]=\"iconConfig?.color\">\n {{iconName}}\n </mat-icon>\n <mat-icon *ngIf=\"iconSvg\"\n [svgIcon]=\"iconSvg\"\n [ngClass]=\"iconConfig?.iconClass\"\n [matTooltip]=\"(iconConfig?.tooltip || '') | translate\"\n [color]=\"iconConfig?.color\">\n </mat-icon>\n <button *ngIf=\"clearable\" mat-icon-button class=\"small\" (click)=\"$event.stopPropagation(); cleared.emit()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </mat-chip>\n</div>\n" }]
|
|
1600
1601
|
}], propDecorators: { color: [{
|
|
1601
1602
|
type: Input
|
|
1602
1603
|
}], text: [{
|