@switch (instance.type) {
@case ('success') {
-
+ />
}
@case ('info') {
-
+ />
}
@case ('warning') {
-
+ />
}
@case ('error') {
-
+ />
}
}
diff --git a/components/pagination/pagination-item.component.ts b/components/pagination/pagination-item.component.ts
index b5a8a2059c6..6d398a87462 100644
--- a/components/pagination/pagination-item.component.ts
+++ b/components/pagination/pagination-item.component.ts
@@ -56,19 +56,14 @@ import { PaginationItemRenderContext, PaginationItemType } from './pagination.ty
@switch (type) {
@case ('prev_5') {
@if (direction === 'rtl') {
-
+
} @else {
}
}
@case ('next_5') {
@if (direction === 'rtl') {
-
+
} @else {
}
diff --git a/components/resizable/demo/customize.ts b/components/resizable/demo/customize.ts
index 8e1d736fbfe..c9bc441decb 100644
--- a/components/resizable/demo/customize.ts
+++ b/components/resizable/demo/customize.ts
@@ -10,11 +10,11 @@ import { NzResizableModule, NzResizeEvent } from 'ng-zorro-antd/resizable';
@@ -46,6 +46,7 @@ import { NzResizableModule, NzResizeEvent } from 'ng-zorro-antd/resizable';
align-items: center;
justify-content: center;
}
+
.right {
background: #fff;
border: 1px solid #ddd;
diff --git a/components/table/src/addon/sorters.component.ts b/components/table/src/addon/sorters.component.ts
index 21894e5ab96..d435e08bbf1 100644
--- a/components/table/src/addon/sorters.component.ts
+++ b/components/table/src/addon/sorters.component.ts
@@ -29,20 +29,10 @@ import { NzTableSortOrder } from '../table.types';
@if (isUp) {
-
+
}
@if (isDown) {
-
+
}
diff --git a/components/time-picker/time-picker.component.ts b/components/time-picker/time-picker.component.ts
index 545733f8145..dc2c34070cf 100644
--- a/components/time-picker/time-picker.component.ts
+++ b/components/time-picker/time-picker.component.ts
@@ -85,13 +85,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'timePicker';
@if (nzAllowEmpty && !nzDisabled && value) {
-
+
}
diff --git a/components/tree-view/demo/line.ts b/components/tree-view/demo/line.ts
index 72c1936e13c..158d1d8948a 100644
--- a/components/tree-view/demo/line.ts
+++ b/components/tree-view/demo/line.ts
@@ -65,11 +65,7 @@ interface FlatNode {
-
+
{{ node.name }}
diff --git a/components/tree/demo/customized-icon.ts b/components/tree/demo/customized-icon.ts
index 0b1c1c9696c..31f88fe3d29 100644
--- a/components/tree/demo/customized-icon.ts
+++ b/components/tree/demo/customized-icon.ts
@@ -11,11 +11,7 @@ import { NzTreeModule } from 'ng-zorro-antd/tree';
@if (!origin.isLeaf) {
-
+
} @else {
}
diff --git a/components/tree/tree-node-switcher.component.ts b/components/tree/tree-node-switcher.component.ts
index b7baf9ae83d..38b11803a34 100644
--- a/components/tree/tree-node-switcher.component.ts
+++ b/components/tree/tree-node-switcher.component.ts
@@ -15,12 +15,11 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
@if (isShowSwitchIcon) {
@if (!isLoading) {
-
+ />
} @else {
@@ -30,11 +29,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
@if (!isLoading) {
@if (isShowLineIcon) {
-
+
} @else {
}
diff --git a/components/upload/demo/avatar.ts b/components/upload/demo/avatar.ts
index 3d7c189e565..32ba76cc714 100644
--- a/components/upload/demo/avatar.ts
+++ b/components/upload/demo/avatar.ts
@@ -19,7 +19,7 @@ import { NzUploadFile, NzUploadModule } from 'ng-zorro-antd/upload';
(nzChange)="handleChange($event)"
>
@if (!avatarUrl) {
-
+
Upload
} @else {
diff --git a/docs/global-config.en-US.md b/docs/global-config.en-US.md
index a3d31648189..a6cdf97fdd7 100644
--- a/docs/global-config.en-US.md
+++ b/docs/global-config.en-US.md
@@ -62,7 +62,7 @@ To solve this, it is recommended to use a `FactoryProvider` instead of a `ValueP
template: `
-
+
`
diff --git a/docs/global-config.zh-CN.md b/docs/global-config.zh-CN.md
index b5a5e945613..b917efeb498 100644
--- a/docs/global-config.zh-CN.md
+++ b/docs/global-config.zh-CN.md
@@ -63,7 +63,7 @@ export class AppComponent implements OnInit {
template: `
-
+
`
diff --git a/schematics/ng-generate/side-menu/files/src/app/app.component.html.template b/schematics/ng-generate/side-menu/files/src/app/app.component.html.template
index 9f1e2edba29..08d16652031 100644
--- a/schematics/ng-generate/side-menu/files/src/app/app.component.html.template
+++ b/schematics/ng-generate/side-menu/files/src/app/app.component.html.template
@@ -38,10 +38,7 @@
diff --git a/scripts/site/_site/doc/app/codebox/codebox.component.html b/scripts/site/_site/doc/app/codebox/codebox.component.html
index d91f853dce0..838ce5c73fa 100644
--- a/scripts/site/_site/doc/app/codebox/codebox.component.html
+++ b/scripts/site/_site/doc/app/codebox/codebox.component.html
@@ -26,7 +26,7 @@