release(tach-typography): v0.3.1

This commit is contained in:
2026-04-10 18:00:53 +03:00
parent 28b91cd9eb
commit 74f11aefbc
8 changed files with 378 additions and 136 deletions

View File

@@ -74,7 +74,7 @@ export declare class TachTypographyComponent implements OnChanges {
ngOnChanges(_changes: SimpleChanges): void;
handleClick(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TachTypographyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TachTypographyComponent, "tach-typography", never, { "hostTag": { "alias": "as"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "markdownEnabled": { "alias": "markdownEnabled"; "required": false; }; "markdown": { "alias": "markdown"; "required": false; }; "className": { "alias": "className"; "required": false; }; "ellipsis": { "alias": "ellipsis"; "required": false; }; "nzProps": { "alias": "nzProps"; "required": false; }; "hostProps": { "alias": "hostProps"; "required": false; }; "preserveStyle": { "alias": "preserveStyle"; "required": false; }; }, { "tachClick": "tachClick"; }, never, ["*", "*", "*", "*", "*", "*", "*"], true, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TachTypographyComponent, "tach-typography", never, { "hostTag": { "alias": "as"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "markdownEnabled": { "alias": "markdownEnabled"; "required": false; }; "markdown": { "alias": "markdown"; "required": false; }; "className": { "alias": "className"; "required": false; }; "ellipsis": { "alias": "ellipsis"; "required": false; }; "nzProps": { "alias": "nzProps"; "required": false; }; "hostProps": { "alias": "hostProps"; "required": false; }; "preserveStyle": { "alias": "preserveStyle"; "required": false; }; }, { "tachClick": "tachClick"; }, never, ["*"], true, never>;
}
export declare class TachTypographyNzModule {
static ɵfac: i0.ɵɵFactoryDeclaration<TachTypographyNzModule, never>;

View File

@@ -1 +1 @@
{"version":3,"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AAED,qBAgBa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB,+CAtYtB,uBAAuB,SA0EvB,8BAA8B,SAyC9B,gCAAgC,SAsOhC,uBAAuB,yCAzVvB,uBAAuB,SA0EvB,8BAA8B,SAyC9B,gCAAgC,SAsOhC,uBAAuB;0CA6CvB,sBAAsB;CAAG"}

View File

@@ -1,4 +1,4 @@
import { NgIf, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault } from "@angular/common";
import { NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet } from "@angular/common";
import { ChangeDetectionStrategy, Component, Directive, EventEmitter, inject, Input, NgModule, Output, } from "@angular/core";
import { NzTypographyComponent, NzTypographyModule } from "ng-zorro-antd/typography";
import { tachTypographyClassList, tachTypographyClassName, tachTypographyEllipsisStyle, tachTypographyMarkdownToHtml, } from "../core";
@@ -252,6 +252,13 @@ export class TachTypographyComponent {
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TachTypographyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: TachTypographyComponent, isStandalone: true, selector: "tach-typography", inputs: { hostTag: ["as", "hostTag"], variant: "variant", color: "color", weight: "weight", clickable: "clickable", markdownEnabled: "markdownEnabled", markdown: "markdown", className: "className", ellipsis: "ellipsis", nzProps: "nzProps", hostProps: "hostProps", preserveStyle: "preserveStyle" }, outputs: { tachClick: "tachClick" }, usesOnChanges: true, ngImport: i0, template: `
<ng-template #tachTypographyProjectedContent>
<ng-content></ng-content>
</ng-template>
<ng-template #tachTypographyMarkdownContent>
<span [innerHTML]="renderedMarkdown"></span>
</ng-template>
<ng-container [ngSwitch]="hostTag">
<p
*ngSwitchCase="'p'"
@@ -267,12 +274,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentP">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentP>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</p>
<a
*ngSwitchCase="'a'"
@@ -288,12 +292,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentA">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentA>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</a>
<h1
*ngSwitchCase="'h1'"
@@ -309,12 +310,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH1">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH1>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h1>
<h2
*ngSwitchCase="'h2'"
@@ -330,12 +328,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH2">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH2>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h2>
<h3
*ngSwitchCase="'h3'"
@@ -351,12 +346,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH3">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH3>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h3>
<h4
*ngSwitchCase="'h4'"
@@ -372,12 +364,9 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH4">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH4>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h4>
<span
*ngSwitchDefault
@@ -393,15 +382,12 @@ export class TachTypographyComponent {
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentSpan">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentSpan>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</span>
</ng-container>
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzTypographyModule }, { kind: "component", type: i1.NzTypographyComponent, selector: " nz-typography, [nz-typography], p[nz-paragraph], span[nz-text], h1[nz-title], h2[nz-title], h3[nz-title], h4[nz-title] ", inputs: ["nzCopyable", "nzEditable", "nzDisabled", "nzExpandable", "nzEllipsis", "nzCopyTooltips", "nzCopyIcons", "nzEditTooltip", "nzEditIcon", "nzContent", "nzEllipsisRows", "nzType", "nzCopyText", "nzSuffix"], outputs: ["nzContentChange", "nzCopy", "nzExpandChange", "nzOnEllipsis"], exportAs: ["nzTypography"] }, { kind: "directive", type: TachTypographyDirective, selector: "[tachTypography]", inputs: ["tachTypography", "tachTypographyVariant", "tachTypographyColor", "tachTypographyWeight", "tachTypographyClickable", "tachTypographyClassName", "tachTypographyEllipsis"] }, { kind: "directive", type: TachTypographyNzPropsDirective, selector: "[tachTypographyNzProps]", inputs: ["tachTypographyNzProps"] }, { kind: "directive", type: TachTypographyHostPropsDirective, selector: "[tachTypographyHostProps]", inputs: ["tachTypographyHostProps"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzTypographyModule }, { kind: "component", type: i1.NzTypographyComponent, selector: " nz-typography, [nz-typography], p[nz-paragraph], span[nz-text], h1[nz-title], h2[nz-title], h3[nz-title], h4[nz-title] ", inputs: ["nzCopyable", "nzEditable", "nzDisabled", "nzExpandable", "nzEllipsis", "nzCopyTooltips", "nzCopyIcons", "nzEditTooltip", "nzEditIcon", "nzContent", "nzEllipsisRows", "nzType", "nzCopyText", "nzSuffix"], outputs: ["nzContentChange", "nzCopy", "nzExpandChange", "nzOnEllipsis"], exportAs: ["nzTypography"] }, { kind: "directive", type: TachTypographyDirective, selector: "[tachTypography]", inputs: ["tachTypography", "tachTypographyVariant", "tachTypographyColor", "tachTypographyWeight", "tachTypographyClickable", "tachTypographyClassName", "tachTypographyEllipsis"] }, { kind: "directive", type: TachTypographyNzPropsDirective, selector: "[tachTypographyNzProps]", inputs: ["tachTypographyNzProps"] }, { kind: "directive", type: TachTypographyHostPropsDirective, selector: "[tachTypographyHostProps]", inputs: ["tachTypographyHostProps"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TachTypographyComponent, decorators: [{
type: Component,
@@ -416,11 +402,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
NgSwitch,
NgSwitchCase,
NgSwitchDefault,
NgIf,
NgStyle,
NgTemplateOutlet,
],
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
<ng-template #tachTypographyProjectedContent>
<ng-content></ng-content>
</ng-template>
<ng-template #tachTypographyMarkdownContent>
<span [innerHTML]="renderedMarkdown"></span>
</ng-template>
<ng-container [ngSwitch]="hostTag">
<p
*ngSwitchCase="'p'"
@@ -436,12 +429,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentP">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentP>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</p>
<a
*ngSwitchCase="'a'"
@@ -457,12 +447,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentA">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentA>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</a>
<h1
*ngSwitchCase="'h1'"
@@ -478,12 +465,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH1">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH1>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h1>
<h2
*ngSwitchCase="'h2'"
@@ -499,12 +483,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH2">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH2>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h2>
<h3
*ngSwitchCase="'h3'"
@@ -520,12 +501,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH3">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH3>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h3>
<h4
*ngSwitchCase="'h4'"
@@ -541,12 +519,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentH4">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentH4>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</h4>
<span
*ngSwitchDefault
@@ -562,12 +537,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
[ngStyle]="preserveStyle"
(click)="handleClick($event)"
>
<ng-container *ngIf="markdownEnabled; else tachTypographyContentSpan">
<span [innerHTML]="renderedMarkdown"></span>
</ng-container>
<ng-template #tachTypographyContentSpan>
<ng-content />
</ng-template>
<ng-container
[ngTemplateOutlet]="markdownEnabled ? tachTypographyMarkdownContent : tachTypographyProjectedContent"
></ng-container>
</span>
</ng-container>
`,

File diff suppressed because one or more lines are too long