From 66f5ad2efba1f36f316e32e5f4f9015499af0f4d Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:38:05 +0300
Subject: [PATCH 01/86] chore(demo): chagned b-demo-steps in arc char to
tui-setup
---
.../charts/arc-chart/arc-chart.module.ts | 2 ++
.../charts/arc-chart/arc-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/arc-chart/arc-chart.module.ts b/projects/demo/src/modules/charts/arc-chart/arc-chart.module.ts
index 84055d86da34..3658e5240088 100644
--- a/projects/demo/src/modules/charts/arc-chart/arc-chart.module.ts
+++ b/projects/demo/src/modules/charts/arc-chart/arc-chart.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiArcChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -19,6 +20,7 @@ import {TuiArcChartExample2} from './examples/2';
TuiAmountPipe,
TuiArcChartModule,
TuiAddonDocModule,
+ TuiSetupComponent,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiArcChartComponent)),
TuiInputNumberModule,
],
diff --git a/projects/demo/src/modules/charts/arc-chart/arc-chart.template.html b/projects/demo/src/modules/charts/arc-chart/arc-chart.template.html
index 05a48f894076..9146ae251a4b 100644
--- a/projects/demo/src/modules/charts/arc-chart/arc-chart.template.html
+++ b/projects/demo/src/modules/charts/arc-chart/arc-chart.template.html
@@ -89,28 +89,9 @@
-
- -
-
- Import
- TuiArcChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From e79f238b067628a067dd40b7abe625c864379470 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:40:48 +0300
Subject: [PATCH 02/86] chore(demo): chagned b-demo-steps in axes to tui-setup
---
.../src/modules/charts/axes/axes.module.ts | 2 ++
.../modules/charts/axes/axes.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/axes/axes.module.ts b/projects/demo/src/modules/charts/axes/axes.module.ts
index 1b70f12832de..ec27b10ed601 100644
--- a/projects/demo/src/modules/charts/axes/axes.module.ts
+++ b/projects/demo/src/modules/charts/axes/axes.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiBarChartModule, TuiBarModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -25,6 +26,7 @@ import {TuiAxesExample3} from './examples/3';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiAxesComponent)),
TuiNotificationModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiAxesComponent,
diff --git a/projects/demo/src/modules/charts/axes/axes.template.html b/projects/demo/src/modules/charts/axes/axes.template.html
index 53c153425910..560e0ab64129 100644
--- a/projects/demo/src/modules/charts/axes/axes.template.html
+++ b/projects/demo/src/modules/charts/axes/axes.template.html
@@ -173,28 +173,9 @@
-
- -
-
- Import
- TuiAxesModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From c291ce5f2e553959bbfdbd19ca46f54f315c4f48 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:42:36 +0300
Subject: [PATCH 03/86] chore(demo): chagned b-demo-steps in bar to tui-setup
---
.../demo/src/modules/charts/bar/bar.module.ts | 2 ++
.../src/modules/charts/bar/bar.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/bar/bar.module.ts b/projects/demo/src/modules/charts/bar/bar.module.ts
index 5e6e0e8b5431..427ccf467854 100644
--- a/projects/demo/src/modules/charts/bar/bar.module.ts
+++ b/projects/demo/src/modules/charts/bar/bar.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiBarModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -15,6 +16,7 @@ import {TuiBarExample2} from './examples/2';
TuiBarModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiBarComponent, TuiBarExample1, TuiBarExample2],
exports: [ExampleTuiBarComponent],
diff --git a/projects/demo/src/modules/charts/bar/bar.template.html b/projects/demo/src/modules/charts/bar/bar.template.html
index 08477ddee091..864ce39d46ae 100644
--- a/projects/demo/src/modules/charts/bar/bar.template.html
+++ b/projects/demo/src/modules/charts/bar/bar.template.html
@@ -54,28 +54,9 @@
-
- -
-
- Import
- TuiBarModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From d122fb8aae09101f0c49714bdcc717c547d7bb68 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:44:55 +0300
Subject: [PATCH 04/86] chore(demo): chagned b-demo-steps in bar-set to
tui-setup
---
.../modules/charts/bar-set/bar-set.module.ts | 2 ++
.../charts/bar-set/bar-set.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/bar-set/bar-set.module.ts b/projects/demo/src/modules/charts/bar-set/bar-set.module.ts
index bdae37e2de70..a575d95222ff 100644
--- a/projects/demo/src/modules/charts/bar-set/bar-set.module.ts
+++ b/projects/demo/src/modules/charts/bar-set/bar-set.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiBarSetModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiFormatNumberPipeModule} from '@taiga-ui/core';
@@ -20,6 +21,7 @@ import {TuiBarSetExample5} from './examples/5';
TuiFormatNumberPipeModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarSetComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiBarSetComponent,
diff --git a/projects/demo/src/modules/charts/bar-set/bar-set.template.html b/projects/demo/src/modules/charts/bar-set/bar-set.template.html
index 2920be982c38..ab234788b8d8 100644
--- a/projects/demo/src/modules/charts/bar-set/bar-set.template.html
+++ b/projects/demo/src/modules/charts/bar-set/bar-set.template.html
@@ -90,28 +90,9 @@
-
- -
-
- Import
- TuiBarSetModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 4441f1232e178758616c2faa5d2c2500efe83770 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:46:03 +0300
Subject: [PATCH 05/86] chore(demo): chagned b-demo-steps in bar-chart to
tui-setup
---
.../charts/bar-chart/bar-chart.module.ts | 2 ++
.../charts/bar-chart/bar-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/bar-chart/bar-chart.module.ts b/projects/demo/src/modules/charts/bar-chart/bar-chart.module.ts
index ee374d1223a2..9486049ac366 100644
--- a/projects/demo/src/modules/charts/bar-chart/bar-chart.module.ts
+++ b/projects/demo/src/modules/charts/bar-chart/bar-chart.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiBarChartModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHintModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
@@ -24,6 +25,7 @@ import {TuiBarChartExample2} from './examples/2';
TuiDataListWrapperModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarChartComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiBarChartComponent, TuiBarChartExample1, TuiBarChartExample2],
exports: [ExampleTuiBarChartComponent],
diff --git a/projects/demo/src/modules/charts/bar-chart/bar-chart.template.html b/projects/demo/src/modules/charts/bar-chart/bar-chart.template.html
index ee6fecb13fe5..301882afe9d7 100644
--- a/projects/demo/src/modules/charts/bar-chart/bar-chart.template.html
+++ b/projects/demo/src/modules/charts/bar-chart/bar-chart.template.html
@@ -94,28 +94,9 @@
-
- -
-
- Import
- TuiBarChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 61843424bc71732fd5ca181bf9800fb98b914a7e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:48:45 +0300
Subject: [PATCH 06/86] chore(demo): chagned b-demo-steps in legend-imte to
tui-setup
---
.../charts/legend-item/legend-item.module.ts | 2 ++
.../legend-item/legend-item.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/legend-item/legend-item.module.ts b/projects/demo/src/modules/charts/legend-item/legend-item.module.ts
index 43a31c7b85d9..e9c854d8bde7 100644
--- a/projects/demo/src/modules/charts/legend-item/legend-item.module.ts
+++ b/projects/demo/src/modules/charts/legend-item/legend-item.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiLegendItemModule, TuiRingChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -26,6 +27,7 @@ import {ExampleTuiLegendItemComponent} from './legend-item.component';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLegendItemComponent)),
TuiAmountPipe,
TuiCheckboxComponent,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiLegendItemComponent,
diff --git a/projects/demo/src/modules/charts/legend-item/legend-item.template.html b/projects/demo/src/modules/charts/legend-item/legend-item.template.html
index 1864303ce187..fc07842190ea 100644
--- a/projects/demo/src/modules/charts/legend-item/legend-item.template.html
+++ b/projects/demo/src/modules/charts/legend-item/legend-item.template.html
@@ -86,28 +86,9 @@
-
- -
-
- Import
- TuiBarModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From a6768dce3c020d8fdfa4a7b14b7c7c347d662e41 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:51:12 +0300
Subject: [PATCH 07/86] chore(demo): chagned b-demo-steps in line-chart to
tui-setup
---
.../charts/line-chart/line-chart.module.ts | 2 ++
.../line-chart/line-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/line-chart/line-chart.module.ts b/projects/demo/src/modules/charts/line-chart/line-chart.module.ts
index fb11a1c2232a..9cc89233680d 100644
--- a/projects/demo/src/modules/charts/line-chart/line-chart.module.ts
+++ b/projects/demo/src/modules/charts/line-chart/line-chart.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiLineChartModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHintModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
@@ -24,6 +25,7 @@ import {ExampleTuiLineChartComponent} from './line-chart.component';
TuiLineChartModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLineChartComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiLineChartComponent,
diff --git a/projects/demo/src/modules/charts/line-chart/line-chart.template.html b/projects/demo/src/modules/charts/line-chart/line-chart.template.html
index 4f6fb7c5fbbe..932bda894eaf 100644
--- a/projects/demo/src/modules/charts/line-chart/line-chart.template.html
+++ b/projects/demo/src/modules/charts/line-chart/line-chart.template.html
@@ -163,28 +163,9 @@
-
- -
-
- Import
- TuiLineChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From d18dd80e8a1aa827be08782677d62ed72aafcbfb Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:52:31 +0300
Subject: [PATCH 08/86] chore(demo): chagned b-demo-steps in line-days-chart to
tui-setup
---
.../line-days-chart/line-days-chart.module.ts | 2 ++
.../line-days-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/line-days-chart/line-days-chart.module.ts b/projects/demo/src/modules/charts/line-days-chart/line-days-chart.module.ts
index c060ee893c94..5ebf33247634 100644
--- a/projects/demo/src/modules/charts/line-days-chart/line-days-chart.module.ts
+++ b/projects/demo/src/modules/charts/line-days-chart/line-days-chart.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {
TuiAxesModule,
TuiLineChartModule,
@@ -31,6 +32,7 @@ import {ExampleTuiLineDaysChartComponent} from './line-days-chart.component';
TuiInputDateRangeModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLineDaysChartComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiLineDaysChartComponent,
diff --git a/projects/demo/src/modules/charts/line-days-chart/line-days-chart.template.html b/projects/demo/src/modules/charts/line-days-chart/line-days-chart.template.html
index 3a15ca4f0536..6806e13fd87d 100644
--- a/projects/demo/src/modules/charts/line-days-chart/line-days-chart.template.html
+++ b/projects/demo/src/modules/charts/line-days-chart/line-days-chart.template.html
@@ -120,28 +120,9 @@
-
- -
-
- Import
- TuiLineDaysChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From f92950adfed0a0f1593396173b78d88074755ed9 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:53:32 +0300
Subject: [PATCH 09/86] chore(demo): chagned b-demo-steps in pie-chart to
tui-setup
---
.../charts/pie-chart/pie-chart.module.ts | 2 ++
.../charts/pie-chart/pie-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/pie-chart/pie-chart.module.ts b/projects/demo/src/modules/charts/pie-chart/pie-chart.module.ts
index bb66ff6a8d3b..1b97a014e137 100644
--- a/projects/demo/src/modules/charts/pie-chart/pie-chart.module.ts
+++ b/projects/demo/src/modules/charts/pie-chart/pie-chart.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiPieChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -23,6 +24,7 @@ import {ExampleTuiPieChartComponent} from './pie-chart.component';
TuiNotificationModule,
TuiLinkDirective,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPieChartComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiPieChartComponent, TuiPieChartExample1, TuiPieChartExample2],
exports: [ExampleTuiPieChartComponent],
diff --git a/projects/demo/src/modules/charts/pie-chart/pie-chart.template.html b/projects/demo/src/modules/charts/pie-chart/pie-chart.template.html
index dab1854d504a..087b57be46fc 100644
--- a/projects/demo/src/modules/charts/pie-chart/pie-chart.template.html
+++ b/projects/demo/src/modules/charts/pie-chart/pie-chart.template.html
@@ -73,28 +73,9 @@
-
- -
-
- Import
- TuiPieChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 34cd79201af69ae244152fa74cb81f59a1a5edee Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:55:14 +0300
Subject: [PATCH 10/86] chore(demo): chagned b-demo-steps in ring-chart to
tui-setup
---
.../charts/ring-chart/ring-chart.module.ts | 2 ++
.../ring-chart/ring-chart.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/charts/ring-chart/ring-chart.module.ts b/projects/demo/src/modules/charts/ring-chart/ring-chart.module.ts
index 8ee35bfdeaee..df56a90a94e5 100644
--- a/projects/demo/src/modules/charts/ring-chart/ring-chart.module.ts
+++ b/projects/demo/src/modules/charts/ring-chart/ring-chart.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiRingChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
@@ -19,6 +20,7 @@ import {ExampleTuiRingChartComponent} from './ring-chart.component';
PolymorpheusModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiRingChartComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiRingChartComponent,
diff --git a/projects/demo/src/modules/charts/ring-chart/ring-chart.template.html b/projects/demo/src/modules/charts/ring-chart/ring-chart.template.html
index 8fa3156bb247..002a32af028f 100644
--- a/projects/demo/src/modules/charts/ring-chart/ring-chart.template.html
+++ b/projects/demo/src/modules/charts/ring-chart/ring-chart.template.html
@@ -62,28 +62,9 @@
-
- -
-
- Import
- TuiRingChartModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 8a58a4deeeabd4622ba7fdba303f66143df77bc0 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 10:56:22 +0300
Subject: [PATCH 11/86] chore(demo): chagned b-demo-steps in accordion to
tui-setup
---
.../modules/components/accordion/index.html | 25 +++----------------
.../src/modules/components/accordion/index.ts | 2 ++
2 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/projects/demo/src/modules/components/accordion/index.html b/projects/demo/src/modules/components/accordion/index.html
index bc40fc7c5154..a356ad164584 100644
--- a/projects/demo/src/modules/components/accordion/index.html
+++ b/projects/demo/src/modules/components/accordion/index.html
@@ -196,26 +196,9 @@
-
- -
- Import
-
TuiAccordionModule
- into a module where you want to use our component
-
-
-
-
- -
- Add it into template:
-
-
-
-
+
diff --git a/projects/demo/src/modules/components/accordion/index.ts b/projects/demo/src/modules/components/accordion/index.ts
index 32c31459abad..1a0c2bdb2896 100644
--- a/projects/demo/src/modules/components/accordion/index.ts
+++ b/projects/demo/src/modules/components/accordion/index.ts
@@ -1,5 +1,6 @@
import {Component, type ElementRef, inject, ViewChild} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, type TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiDestroyService} from '@taiga-ui/cdk';
import {TUI_EXPAND_LOADED, type TuiSizeS} from '@taiga-ui/core';
@@ -22,6 +23,7 @@ import {TuiAccordionExample5} from './examples/5';
TuiAccordionExample3,
TuiAccordionExample4,
TuiAccordionExample5,
+ TuiSetupComponent,
],
templateUrl: './index.html',
changeDetection,
From 31ec186e42fde29f129e767d6804a34003eb038e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:01:13 +0300
Subject: [PATCH 12/86] chore(demo): chagned b-demo-steps to tui-list in alert
---
.../modules/components/alert/alert.template.html | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/projects/demo/src/modules/components/alert/alert.template.html b/projects/demo/src/modules/components/alert/alert.template.html
index 7b442302fcac..2f7ee0641a2b 100644
--- a/projects/demo/src/modules/components/alert/alert.template.html
+++ b/projects/demo/src/modules/components/alert/alert.template.html
@@ -132,8 +132,8 @@
-
- -
+
+ -
Use service
open
@@ -147,7 +147,7 @@
/>
- -
+
-
To pass notification with custom content, you can use
-
-
+
-
You can also customize notification logic with a component. Inject
POLYMORPHEUS_CONTEXT
@@ -173,7 +173,7 @@
- -
+
-
Use
new PolymorpheusComponent(CustomNotificationComponent)
@@ -186,7 +186,7 @@
/>
- -
+
-
Use
completeWith
@@ -199,7 +199,7 @@
/>
- -
+
-
If you use it from lazy loading modules, and want to reach for some local providers, you can pass
Injector
@@ -214,7 +214,7 @@
/>
- -
+
-
You can customize default alert options by providing
TUI_ALERT_OPTIONS
From d7f662e0f236ad08b71d068a14ef85d936b6b65b Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:03:18 +0300
Subject: [PATCH 13/86] chore(demo): chagned b-demo-steps in badge to tui-setup
---
.../src/modules/components/badge/index.html | 23 ++++---------------
.../src/modules/components/badge/index.ts | 20 ++++------------
2 files changed, 8 insertions(+), 35 deletions(-)
diff --git a/projects/demo/src/modules/components/badge/index.html b/projects/demo/src/modules/components/badge/index.html
index 0bb61fb05f82..e582aa7b03ee 100644
--- a/projects/demo/src/modules/components/badge/index.html
+++ b/projects/demo/src/modules/components/badge/index.html
@@ -131,24 +131,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
diff --git a/projects/demo/src/modules/components/badge/index.ts b/projects/demo/src/modules/components/badge/index.ts
index 1a29fca69cd2..ec33d9c23818 100644
--- a/projects/demo/src/modules/components/badge/index.ts
+++ b/projects/demo/src/modules/components/badge/index.ts
@@ -2,15 +2,8 @@ import {NgIf} from '@angular/common';
import {Component} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {changeDetection} from '@demo/emulate/change-detection';
-import {TuiExamplePipe} from '@demo/utils';
-import {
- TuiDocCodeModule,
- TuiDocDemoModule,
- TuiDocDocumentationModule,
- TuiDocExampleModule,
- TuiDocPageModule,
- type TuiRawLoaderContent,
-} from '@taiga-ui/addon-doc';
+import {TuiExamplePipe, TuiSetupComponent} from '@demo/utils';
+import {TuiAddonDocModule, type TuiRawLoaderContent} from '@taiga-ui/addon-doc';
import {TuiLabelModule, type TuiSizeS, type TuiSizeXL} from '@taiga-ui/core';
import {TuiBadgeDirective, TuiFadeDirective, TuiRadioListComponent} from '@taiga-ui/kit';
@@ -31,19 +24,14 @@ import {TuiBadgeExample6} from './examples/6';
TuiLabelModule,
TuiRadioListComponent,
FormsModule,
-
TuiBadgeExample1,
TuiBadgeExample2,
TuiBadgeExample3,
TuiBadgeExample4,
TuiBadgeExample5,
TuiBadgeExample6,
-
- TuiDocCodeModule,
- TuiDocExampleModule,
- TuiDocPageModule,
- TuiDocDemoModule,
- TuiDocDocumentationModule,
+ TuiAddonDocModule,
+ TuiSetupComponent,
],
templateUrl: './index.html',
changeDetection,
From 439056a0338d5f2ed92f63cbe319b65ed29036a1 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:04:51 +0300
Subject: [PATCH 14/86] chore(demo): chagned b-demo-steps in badge-notification
to tui-setup
---
.../badge-notification.component.ts | 3 ++-
.../badge-notification.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/projects/demo/src/modules/components/badge-notification/badge-notification.component.ts b/projects/demo/src/modules/components/badge-notification/badge-notification.component.ts
index c1256fc0c211..2f6e566c9ac8 100644
--- a/projects/demo/src/modules/components/badge-notification/badge-notification.component.ts
+++ b/projects/demo/src/modules/components/badge-notification/badge-notification.component.ts
@@ -1,6 +1,6 @@
import {Component} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
-import {TuiExamplePipe} from '@demo/utils';
+import {TuiExamplePipe, TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, type TuiRawLoaderContent} from '@taiga-ui/addon-doc';
import type {TuiSizeL, TuiSizeXS} from '@taiga-ui/core';
import {TuiBadgeNotificationComponent} from '@taiga-ui/kit';
@@ -17,6 +17,7 @@ import {TuiBadgeNotificationExample2} from './examples/2';
TuiAddonDocModule,
TuiBadgeNotificationExample1,
TuiBadgeNotificationExample2,
+ TuiSetupComponent,
],
templateUrl: './badge-notification.template.html',
changeDetection,
diff --git a/projects/demo/src/modules/components/badge-notification/badge-notification.template.html b/projects/demo/src/modules/components/badge-notification/badge-notification.template.html
index 0469f3959080..2c68e5831b6c 100644
--- a/projects/demo/src/modules/components/badge-notification/badge-notification.template.html
+++ b/projects/demo/src/modules/components/badge-notification/badge-notification.template.html
@@ -48,24 +48,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 026e1ce1d80459d0e23705f918725664e48849a4 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:09:05 +0300
Subject: [PATCH 15/86] chore(demo): chagned b-demo-steps to tui-list in
calendar-rane
---
.../components/calendar-range/calendar-range.template.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/projects/demo/src/modules/components/calendar-range/calendar-range.template.html b/projects/demo/src/modules/components/calendar-range/calendar-range.template.html
index 01704020a6ab..48ee021ee78b 100644
--- a/projects/demo/src/modules/components/calendar-range/calendar-range.template.html
+++ b/projects/demo/src/modules/components/calendar-range/calendar-range.template.html
@@ -152,8 +152,8 @@
-
- -
+
+ -
Import
TuiCalendarRangeModule
From 218d7694dedcc69eaa219dfeb6915db5e2efd82e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:10:58 +0300
Subject: [PATCH 16/86] chore(demo): chagned b-demo-steps in carousel to
tui-setup
---
.../components/carousel/carousel.module.ts | 2 ++
.../carousel/carousel.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/carousel/carousel.module.ts b/projects/demo/src/modules/components/carousel/carousel.module.ts
index a5cb98cbe00f..3e9681e58cea 100644
--- a/projects/demo/src/modules/components/carousel/carousel.module.ts
+++ b/projects/demo/src/modules/components/carousel/carousel.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiRepeatTimesModule} from '@taiga-ui/cdk';
@@ -41,6 +42,7 @@ import {TuiCarouselExample5} from './examples/5';
TuiRepeatTimesModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiCarouselComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiCarouselComponent,
diff --git a/projects/demo/src/modules/components/carousel/carousel.template.html b/projects/demo/src/modules/components/carousel/carousel.template.html
index c4307563065b..f6721148136d 100644
--- a/projects/demo/src/modules/components/carousel/carousel.template.html
+++ b/projects/demo/src/modules/components/carousel/carousel.template.html
@@ -145,28 +145,9 @@
-
- -
-
- Import
- TuiCarouselModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 823e885c6e39cd1138982ec65e2a3f8cccbf7b02 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:12:19 +0300
Subject: [PATCH 17/86] chore(demo): chagned b-demo-steps to tui-list in
combo-box
---
.../modules/components/combo-box/combo-box.template.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/projects/demo/src/modules/components/combo-box/combo-box.template.html b/projects/demo/src/modules/components/combo-box/combo-box.template.html
index 9c64e5207e6b..85500b29a5da 100644
--- a/projects/demo/src/modules/components/combo-box/combo-box.template.html
+++ b/projects/demo/src/modules/components/combo-box/combo-box.template.html
@@ -273,8 +273,8 @@
-
- -
+
+ -
Import an Angular module for forms and
TuiComboBoxModule
@@ -293,7 +293,7 @@
- -
+
-
Declare a form (
FormGroup
@@ -308,7 +308,7 @@
/>
- -
+
-
Add to the template:
Date: Fri, 12 Apr 2024 11:13:24 +0300
Subject: [PATCH 18/86] chore(demo): chagned b-demo-steps to tui-list in
confirm
---
projects/demo/src/modules/components/confirm/index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/projects/demo/src/modules/components/confirm/index.html b/projects/demo/src/modules/components/confirm/index.html
index 966db8c9c79f..29f39ad29615 100644
--- a/projects/demo/src/modules/components/confirm/index.html
+++ b/projects/demo/src/modules/components/confirm/index.html
@@ -90,8 +90,8 @@
-
- -
+
+ -
Open with
DialogService
From b13c515caa652955e1fdcc8d05976f041a04a090 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:14:53 +0300
Subject: [PATCH 19/86] chore(demo): chagned b-demo-steps in data-list to
tui-setup
---
.../components/data-list/data-list.module.ts | 2 ++
.../data-list/data-list.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/data-list/data-list.module.ts b/projects/demo/src/modules/components/data-list/data-list.module.ts
index 3bb7ffc4f6d3..84e94d0b2b8d 100644
--- a/projects/demo/src/modules/components/data-list/data-list.module.ts
+++ b/projects/demo/src/modules/components/data-list/data-list.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiActiveZoneDirective, TuiFilterPipe, TuiLetModule} from '@taiga-ui/cdk';
@@ -61,6 +62,7 @@ import {TuiDataListExample6} from './examples/6';
TuiAmountPipe,
TuiGroupDirective,
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDataListComponent,
diff --git a/projects/demo/src/modules/components/data-list/data-list.template.html b/projects/demo/src/modules/components/data-list/data-list.template.html
index 59e96def1a15..a1d5d0c8961f 100644
--- a/projects/demo/src/modules/components/data-list/data-list.template.html
+++ b/projects/demo/src/modules/components/data-list/data-list.template.html
@@ -134,28 +134,9 @@ Option
-
- -
-
- Import
- TuiDataListModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From d2f436640f557161e875aa2697e5c8a30392a0fe Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:16:10 +0300
Subject: [PATCH 20/86] chore(demo): chagned b-demo-steps in data-list-wrapper
to tui-setup
---
.../data-list-wrapper.module.ts | 2 ++
.../data-list-wrapper.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.module.ts b/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.module.ts
index e173216df36b..b714bf44c3fb 100644
--- a/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.module.ts
+++ b/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTextfieldControllerModule} from '@taiga-ui/core';
import {
@@ -30,6 +31,7 @@ import {TuiDataListWrapperExample3} from './examples/3';
TuiInputModule,
TuiStringifyContentPipeModule,
TuiTextfieldControllerModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDataListWrapperComponent,
diff --git a/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.template.html b/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.template.html
index 3b6e5a99d1f6..204a4fb47166 100644
--- a/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.template.html
+++ b/projects/demo/src/modules/components/data-list-wrapper/data-list-wrapper.template.html
@@ -88,28 +88,9 @@ DataListWrapper
-
- -
-
- Import
- TuiDataListWrapperModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From ea9b3c9bb20cdd81f225dc2844de372bded9c351 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:17:53 +0300
Subject: [PATCH 21/86] chore(demo): chagned b-demo-steps to tui-list in dialog
---
.../modules/components/dialog/dialog.template.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/projects/demo/src/modules/components/dialog/dialog.template.html b/projects/demo/src/modules/components/dialog/dialog.template.html
index 5fdbe53820a6..f239c5657089 100644
--- a/projects/demo/src/modules/components/dialog/dialog.template.html
+++ b/projects/demo/src/modules/components/dialog/dialog.template.html
@@ -259,8 +259,8 @@ Template can be customized
-
- -
+
+ -
Use
open
@@ -275,7 +275,7 @@
Template can be customized
/>
- -
+
-
If you want to use your own component as a dialog content, use
POLYMORPHEUS_CONTEXT
@@ -293,7 +293,7 @@
Template can be customized
-
If you use dialog components in lazy loading modules, and want to reach for some local providers,
you can pass
From ae3f47b3148d8d79a87ad8f17f20714b679c2df5 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:20:53 +0300
Subject: [PATCH 22/86] chore(demo): chagned b-demo-steps in elasric-container
to tui-setup
---
.../elastic-container.module.ts | 2 ++
.../elastic-container.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/elastic-container/elastic-container.module.ts b/projects/demo/src/modules/components/elastic-container/elastic-container.module.ts
index dc4d07143dea..aae89b32c788 100644
--- a/projects/demo/src/modules/components/elastic-container/elastic-container.module.ts
+++ b/projects/demo/src/modules/components/elastic-container/elastic-container.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiRepeatTimesModule} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiExpandModule, TuiLinkDirective} from '@taiga-ui/core';
@@ -30,6 +31,7 @@ import {TuiElasticContainerExample4} from './examples/4';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiElasticContainerComponent)),
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiElasticContainerComponent,
diff --git a/projects/demo/src/modules/components/elastic-container/elastic-container.template.html b/projects/demo/src/modules/components/elastic-container/elastic-container.template.html
index 9f95b9690d47..e6703845addb 100644
--- a/projects/demo/src/modules/components/elastic-container/elastic-container.template.html
+++ b/projects/demo/src/modules/components/elastic-container/elastic-container.template.html
@@ -40,28 +40,9 @@
-
- -
-
- Import
- TuiElasticContainerModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 3bec2b4b03b2dccffb9ec51ea2fdf9b1ea9ae258 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:22:18 +0300
Subject: [PATCH 23/86] chore(demo): chagned b-demo-steps in error to tui-setup
---
.../modules/components/error/error.module.ts | 2 ++
.../components/error/error.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/error/error.module.ts b/projects/demo/src/modules/components/error/error.module.ts
index 15eff0be953b..f98589eb73e1 100644
--- a/projects/demo/src/modules/components/error/error.module.ts
+++ b/projects/demo/src/modules/components/error/error.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiMapperPipe} from '@taiga-ui/cdk';
import {TuiErrorModule, TuiLinkDirective} from '@taiga-ui/core';
@@ -24,6 +25,7 @@ import {TuiErrorExample1} from './examples/1';
TuiMapperPipe,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiErrorComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiErrorComponent, TuiErrorExample1],
exports: [ExampleTuiErrorComponent],
diff --git a/projects/demo/src/modules/components/error/error.template.html b/projects/demo/src/modules/components/error/error.template.html
index 922eb3b875eb..292a456a19e2 100644
--- a/projects/demo/src/modules/components/error/error.template.html
+++ b/projects/demo/src/modules/components/error/error.template.html
@@ -53,28 +53,9 @@
-
- -
-
- Import
- TuiErrorModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From f06808055086c3670a162bb4edba7e28c02f6663 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:23:08 +0300
Subject: [PATCH 24/86] chore(demo): chagned b-demo-steps in expand to
tui-setup
---
.../components/expand/expand.module.ts | 2 ++
.../components/expand/expand.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/expand/expand.module.ts b/projects/demo/src/modules/components/expand/expand.module.ts
index d31cb408336e..d7de86fe3922 100644
--- a/projects/demo/src/modules/components/expand/expand.module.ts
+++ b/projects/demo/src/modules/components/expand/expand.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiButtonDirective, TuiExpandModule} from '@taiga-ui/core';
@@ -17,6 +18,7 @@ import {ExampleTuiExpandComponent} from './expand.component';
ReactiveFormsModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiExpandComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiExpandComponent, TuiExpandExample1],
exports: [ExampleTuiExpandComponent],
diff --git a/projects/demo/src/modules/components/expand/expand.template.html b/projects/demo/src/modules/components/expand/expand.template.html
index 04b5b736e9e4..c11abfb33be9 100644
--- a/projects/demo/src/modules/components/expand/expand.template.html
+++ b/projects/demo/src/modules/components/expand/expand.template.html
@@ -74,28 +74,9 @@
-
- -
-
- Import
- TuiExpandModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 99d0d2f235b345aa1d28e0cfb808da8f358c5adb Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:23:57 +0300
Subject: [PATCH 25/86] chore(demo): chagned b-demo-steps in filter to
tui-setup
---
.../components/filter/filter.module.ts | 2 ++
.../components/filter/filter.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/filter/filter.module.ts b/projects/demo/src/modules/components/filter/filter.module.ts
index 4acccb74d1e7..fd0bb3f160c8 100644
--- a/projects/demo/src/modules/components/filter/filter.module.ts
+++ b/projects/demo/src/modules/components/filter/filter.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiButtonDirective, TuiSvgComponent} from '@taiga-ui/core';
import {TuiFilterModule} from '@taiga-ui/kit';
@@ -24,6 +25,7 @@ import {ExampleTuiFilterComponent} from './filter.component';
ReactiveFormsModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiFilterComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiFilterComponent,
diff --git a/projects/demo/src/modules/components/filter/filter.template.html b/projects/demo/src/modules/components/filter/filter.template.html
index 49a4ee5f56c6..4fba91728aa8 100644
--- a/projects/demo/src/modules/components/filter/filter.template.html
+++ b/projects/demo/src/modules/components/filter/filter.template.html
@@ -129,28 +129,9 @@
-
- -
-
- Import
- TuiFilterModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From dde4995840e5c871b2122f1ab025b6a2863da8e1 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:24:55 +0300
Subject: [PATCH 26/86] chore(demo): chagned b-demo-steps in group to
tui-setup
---
.../modules/components/group/group.module.ts | 2 ++
.../components/group/group.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/components/group/group.module.ts b/projects/demo/src/modules/components/group/group.module.ts
index f96f91f3b917..29733df32b5d 100644
--- a/projects/demo/src/modules/components/group/group.module.ts
+++ b/projects/demo/src/modules/components/group/group.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiCurrencyPipeModule} from '@taiga-ui/addon-commerce';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
@@ -59,6 +60,7 @@ import {ExampleTuiGroupComponent} from './group.component';
TuiRadioComponent,
tuiGetDocModules(ExampleTuiGroupComponent),
TuiTitleDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiGroupComponent,
diff --git a/projects/demo/src/modules/components/group/group.template.html b/projects/demo/src/modules/components/group/group.template.html
index 1c64c584dd3b..3e1250e0969b 100644
--- a/projects/demo/src/modules/components/group/group.template.html
+++ b/projects/demo/src/modules/components/group/group.template.html
@@ -154,24 +154,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 33d2add84ad8139f390b4bcb0c0492d8c20fb5b8 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:25:48 +0300
Subject: [PATCH 27/86] chore(demo): chagned b-demo-steps in hosted dropdawn to
tui-setup
---
.../hosted-dropdown/hosted-dropdown.module.ts | 2 ++
.../hosted-dropdown.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.module.ts b/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.module.ts
index 7812b7a90a65..2e9f8acb0f86 100644
--- a/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.module.ts
+++ b/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {
@@ -55,6 +56,7 @@ import {ExampleTuiHostedDropdownComponent} from './hosted-dropdown.component';
TuiAddonDocModule,
TuiMultiSelectModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHostedDropdownComponent)),
+ TuiSetupComponent,
],
declarations: [
TuiHostedDropdownExample1,
diff --git a/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.template.html b/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.template.html
index cf99e5ee4c7e..33873b2eafca 100644
--- a/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.template.html
+++ b/projects/demo/src/modules/components/hosted-dropdown/hosted-dropdown.template.html
@@ -151,28 +151,9 @@
-
- -
-
- Import
- TuiHostedDropdownModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 1c6cae3c0599993dff7268d4b1d5c6debb3e501c Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:26:48 +0300
Subject: [PATCH 28/86] chore(demo): chagned b-demo-steps in icon to tui-setup
---
.../modules/components/icon/icon.module.ts | 2 ++
.../components/icon/icon.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/components/icon/icon.module.ts b/projects/demo/src/modules/components/icon/icon.module.ts
index 317c5adcdb41..cddc4f3ccbbc 100644
--- a/projects/demo/src/modules/components/icon/icon.module.ts
+++ b/projects/demo/src/modules/components/icon/icon.module.ts
@@ -1,5 +1,6 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
TuiIconComponent,
@@ -21,6 +22,7 @@ import {ExampleTuiIconComponent} from './icon.component';
TuiNotificationModule,
tuiGetDocModules(ExampleTuiIconComponent),
TuiIconPipe,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiIconComponent,
diff --git a/projects/demo/src/modules/components/icon/icon.template.html b/projects/demo/src/modules/components/icon/icon.template.html
index 0578c8a76586..7556424c4726 100644
--- a/projects/demo/src/modules/components/icon/icon.template.html
+++ b/projects/demo/src/modules/components/icon/icon.template.html
@@ -39,24 +39,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 570597d995460fd3df6b19663e499857bea7af95 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:27:51 +0300
Subject: [PATCH 29/86] chore(demo): chagned b-demo-steps in input card to
tui-setup
---
.../input-card/input-card.module.ts | 2 ++
.../input-card/input-card.template.html | 29 +++----------------
2 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/projects/demo/src/modules/components/input-card/input-card.module.ts b/projects/demo/src/modules/components/input-card/input-card.module.ts
index 8f4d38d56ad4..1143259404ef 100644
--- a/projects/demo/src/modules/components/input-card/input-card.module.ts
+++ b/projects/demo/src/modules/components/input-card/input-card.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {
TuiInputCardModule,
TuiInputCVCModule,
@@ -38,6 +39,7 @@ import {ExampleTuiInputCardComponent} from './input-card.component';
TuiAddonDocModule,
InheritedDocumentationModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputCardComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiInputCardComponent, TuiInputCardExample1],
exports: [ExampleTuiInputCardComponent],
diff --git a/projects/demo/src/modules/components/input-card/input-card.template.html b/projects/demo/src/modules/components/input-card/input-card.template.html
index 38080a425af1..7f3a800b2b39 100644
--- a/projects/demo/src/modules/components/input-card/input-card.template.html
+++ b/projects/demo/src/modules/components/input-card/input-card.template.html
@@ -199,30 +199,9 @@
-
- -
- Import
-
TuiInputCardModule
- ,
- TuiInputCVCModule
- ,
- TuiInputExpireModule
- modules into the module where you want to use them:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 832eaa5819cec95449dd1572490f2857953844e6 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:28:54 +0300
Subject: [PATCH 30/86] chore(demo): chagned b-demo-steps in input card grouped
to tui-setup
---
.../input-card-grouped.module.ts | 2 ++
.../input-card-grouped.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.module.ts b/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.module.ts
index 66aacec15025..9bb72df62371 100644
--- a/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.module.ts
+++ b/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {
TuiInputCardGroupedModule,
TuiThumbnailCardComponent,
@@ -41,6 +42,7 @@ import {ExampleTuiInputCardGroupedComponent} from './input-card-grouped.componen
InheritedDocumentationModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputCardGroupedComponent)),
PolymorpheusModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputCardGroupedComponent,
diff --git a/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.template.html b/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.template.html
index 7ba1c243ddc4..b25ef72aaa4a 100644
--- a/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.template.html
+++ b/projects/demo/src/modules/components/input-card-grouped/input-card-grouped.template.html
@@ -144,28 +144,9 @@
-
- -
-
- Import
- TuiInputCardGroupedModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 11646c71e424ab14adfcede9acb59674569fa2be Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:30:22 +0300
Subject: [PATCH 31/86] chore(demo): chagned b-demo-steps in input files to
tui-setup
---
.../input-files/input-files.module.ts | 2 ++
.../input-files/input-files.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/components/input-files/input-files.module.ts b/projects/demo/src/modules/components/input-files/input-files.module.ts
index f2a5f81b4bb7..94087dd5a76b 100644
--- a/projects/demo/src/modules/components/input-files/input-files.module.ts
+++ b/projects/demo/src/modules/components/input-files/input-files.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -36,6 +37,7 @@ import {ExampleTuiInputFilesComponent} from './input-files.component';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputFilesComponent)),
FormsModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputFilesComponent,
diff --git a/projects/demo/src/modules/components/input-files/input-files.template.html b/projects/demo/src/modules/components/input-files/input-files.template.html
index 6374d88c24a8..888142bf6f87 100644
--- a/projects/demo/src/modules/components/input-files/input-files.template.html
+++ b/projects/demo/src/modules/components/input-files/input-files.template.html
@@ -230,24 +230,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From cb7bb232a74fb2a336caab555a58480775762804 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:31:16 +0300
Subject: [PATCH 32/86] chore(demo): chagned b-demo-steps in input inline to
tui-setup
---
.../input-inline/input-inline.module.ts | 2 ++
.../input-inline/input-inline.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/input-inline/input-inline.module.ts b/projects/demo/src/modules/components/input-inline/input-inline.module.ts
index 41fb4e74d0a4..3b70577f63f3 100644
--- a/projects/demo/src/modules/components/input-inline/input-inline.module.ts
+++ b/projects/demo/src/modules/components/input-inline/input-inline.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiAutoFocusDirective} from '@taiga-ui/cdk';
import {TuiButtonDirective} from '@taiga-ui/core';
@@ -22,6 +23,7 @@ import {ExampleTuiInputInlineComponent} from './input-inline.component';
TuiAutoFocusDirective,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputInlineComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputInlineComponent,
diff --git a/projects/demo/src/modules/components/input-inline/input-inline.template.html b/projects/demo/src/modules/components/input-inline/input-inline.template.html
index 0d13ee2ac72f..09eff4d48bb1 100644
--- a/projects/demo/src/modules/components/input-inline/input-inline.template.html
+++ b/projects/demo/src/modules/components/input-inline/input-inline.template.html
@@ -78,28 +78,9 @@
-
- -
-
- Import
- TuiInputInlineModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From cf72cb0d00c0ac116cbc127d95c9fe3f9616a267 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:32:46 +0300
Subject: [PATCH 33/86] chore(demo): chagned b-demo-steps in input range to
tui-setup
---
.../input-range/input-range.module.ts | 2 ++
.../input-range/input-range.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/input-range/input-range.module.ts b/projects/demo/src/modules/components/input-range/input-range.module.ts
index 80dbe0b44f3f..9c0238dfaf1b 100644
--- a/projects/demo/src/modules/components/input-range/input-range.module.ts
+++ b/projects/demo/src/modules/components/input-range/input-range.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -46,6 +47,7 @@ import {ExampleTuiInputRangeComponent} from './input-range.component';
TuiNumberFormatDirective,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputRangeComponent)),
NumberFormatDocumentationModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputRangeComponent,
diff --git a/projects/demo/src/modules/components/input-range/input-range.template.html b/projects/demo/src/modules/components/input-range/input-range.template.html
index 5ff124253520..a22402a5bccf 100644
--- a/projects/demo/src/modules/components/input-range/input-range.template.html
+++ b/projects/demo/src/modules/components/input-range/input-range.template.html
@@ -288,28 +288,9 @@
-
- -
-
- Import
- TuiInputRangeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 777a28eaa24e627349dd770abc3824214ac44980 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:33:43 +0300
Subject: [PATCH 34/86] chore(demo): chagned b-demo-steps in input slider to
tui-setup
---
.../input-slider/input-slider.module.ts | 2 ++
.../input-slider/input-slider.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/input-slider/input-slider.module.ts b/projects/demo/src/modules/components/input-slider/input-slider.module.ts
index 9273bb77bf0c..3390424027a3 100644
--- a/projects/demo/src/modules/components/input-slider/input-slider.module.ts
+++ b/projects/demo/src/modules/components/input-slider/input-slider.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -44,6 +45,7 @@ import {ExampleTuiInputSliderComponent} from './input-slider.component';
TuiTextfieldControllerModule,
TuiNumberFormatDirective,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputSliderComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputSliderComponent,
diff --git a/projects/demo/src/modules/components/input-slider/input-slider.template.html b/projects/demo/src/modules/components/input-slider/input-slider.template.html
index c2bb123784e1..7b84c4aaa399 100644
--- a/projects/demo/src/modules/components/input-slider/input-slider.template.html
+++ b/projects/demo/src/modules/components/input-slider/input-slider.template.html
@@ -213,28 +213,9 @@
-
- -
-
- Import
- TuiInputSliderModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 5e0b05593525a00d8129627b4194082ba9038ceb Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:34:43 +0300
Subject: [PATCH 35/86] chore(demo): chagned b-demo-steps in input tag to
tui-setup
---
.../components/input-tag/input-tag.module.ts | 2 ++
.../input-tag/input-tag.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/input-tag/input-tag.module.ts b/projects/demo/src/modules/components/input-tag/input-tag.module.ts
index ca61aea3cf74..aa86f960c77d 100644
--- a/projects/demo/src/modules/components/input-tag/input-tag.module.ts
+++ b/projects/demo/src/modules/components/input-tag/input-tag.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {MaskitoDirective} from '@maskito/angular';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
@@ -52,6 +53,7 @@ import {ExampleTuiInputTagComponent} from './input-tag.component';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiInputTagComponent)),
MaskitoDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiInputTagComponent,
diff --git a/projects/demo/src/modules/components/input-tag/input-tag.template.html b/projects/demo/src/modules/components/input-tag/input-tag.template.html
index d8795b262c90..e258ec86c4e6 100644
--- a/projects/demo/src/modules/components/input-tag/input-tag.template.html
+++ b/projects/demo/src/modules/components/input-tag/input-tag.template.html
@@ -265,28 +265,9 @@
-
- -
-
- Import
- TuiInputTagModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From b41ff129168cc1e9430981915e1506bad5438f96 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:37:10 +0300
Subject: [PATCH 36/86] chore(demo): chagned b-demo-steps in islabd to
tui-setup
---
.../components/island/island.module.ts | 2 ++
.../components/island/island.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/island/island.module.ts b/projects/demo/src/modules/components/island/island.module.ts
index b54dcaa51f69..95eb5d4e4d8c 100644
--- a/projects/demo/src/modules/components/island/island.module.ts
+++ b/projects/demo/src/modules/components/island/island.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -45,6 +46,7 @@ import {ExampleTuiIslandComponent} from './island.component';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiIslandComponent)),
TuiCardLargeDirective,
TuiAvatarComponent,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiIslandComponent,
diff --git a/projects/demo/src/modules/components/island/island.template.html b/projects/demo/src/modules/components/island/island.template.html
index 6c0fec97ed56..03e0779b2fb8 100644
--- a/projects/demo/src/modules/components/island/island.template.html
+++ b/projects/demo/src/modules/components/island/island.template.html
@@ -150,28 +150,9 @@ Some heading
-
- -
-
- Import
- TuiIslandModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From b990dd84a682545a710609dee1fa29f4974231be Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:38:16 +0300
Subject: [PATCH 37/86] chore(demo): chagned b-demo-steps in items with more to
tui-setup
---
.../items-with-more/items-with-more.module.ts | 3 ++-
.../items-with-more.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/projects/demo/src/modules/components/items-with-more/items-with-more.module.ts b/projects/demo/src/modules/components/items-with-more/items-with-more.module.ts
index c8636123bba7..ab3e9c8cee2b 100644
--- a/projects/demo/src/modules/components/items-with-more/items-with-more.module.ts
+++ b/projects/demo/src/modules/components/items-with-more/items-with-more.module.ts
@@ -1,7 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
-import {TuiExamplePipe} from '@demo/utils';
+import {TuiExamplePipe, TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -38,6 +38,7 @@ import {ExampleTuiItemsWithMoreComponent} from './items-with-more.component';
TuiBlockDirective,
tuiGetDocModules(ExampleTuiItemsWithMoreComponent),
TuiExamplePipe,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiItemsWithMoreComponent,
diff --git a/projects/demo/src/modules/components/items-with-more/items-with-more.template.html b/projects/demo/src/modules/components/items-with-more/items-with-more.template.html
index 5d0e22046fab..70454c683aeb 100644
--- a/projects/demo/src/modules/components/items-with-more/items-with-more.template.html
+++ b/projects/demo/src/modules/components/items-with-more/items-with-more.template.html
@@ -78,24 +78,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 2dc42dbd02464fc26f1e4e8f9d7d30ebb1077218 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:39:23 +0300
Subject: [PATCH 38/86] chore(demo): chagned b-demo-steps in label to tui-setup
---
.../modules/components/label/label.module.ts | 2 ++
.../components/label/label.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/label/label.module.ts b/projects/demo/src/modules/components/label/label.module.ts
index 98b3835ef9ae..7ea6976d1f7a 100644
--- a/projects/demo/src/modules/components/label/label.module.ts
+++ b/projects/demo/src/modules/components/label/label.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiLabelModule,
@@ -25,6 +26,7 @@ import {ExampleTuiLabelComponent} from './label.component';
TuiTextfieldControllerModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLabelComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiLabelComponent,
diff --git a/projects/demo/src/modules/components/label/label.template.html b/projects/demo/src/modules/components/label/label.template.html
index c95a1bf76b56..805eaa16a6a8 100644
--- a/projects/demo/src/modules/components/label/label.template.html
+++ b/projects/demo/src/modules/components/label/label.template.html
@@ -53,28 +53,9 @@
-
- -
-
- Import
- TuiLabelModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 02e2dde24336254beeb3cd76e290f818429a2b1a Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:40:38 +0300
Subject: [PATCH 39/86] chore(demo): chagned b-demo-steps in line clamp to
tui-setup
---
.../line-clamp/line-clamp.module.ts | 2 ++
.../line-clamp/line-clamp.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/line-clamp/line-clamp.module.ts b/projects/demo/src/modules/components/line-clamp/line-clamp.module.ts
index c208e1ee87fe..44b528794168 100644
--- a/projects/demo/src/modules/components/line-clamp/line-clamp.module.ts
+++ b/projects/demo/src/modules/components/line-clamp/line-clamp.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {
@@ -41,6 +42,7 @@ import {ExampleTuiLineClampComponent} from './line-clamp.component';
TuiDataListModule,
TuiHintModule,
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiLineClampComponent,
diff --git a/projects/demo/src/modules/components/line-clamp/line-clamp.template.html b/projects/demo/src/modules/components/line-clamp/line-clamp.template.html
index 53c419f8ee2b..b7480601225f 100644
--- a/projects/demo/src/modules/components/line-clamp/line-clamp.template.html
+++ b/projects/demo/src/modules/components/line-clamp/line-clamp.template.html
@@ -117,28 +117,9 @@
-
- -
-
- Import
- TuiLineClampModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 9bf7afafa43871ef9746f6ed2ecc132e54fbf7cc Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:41:59 +0300
Subject: [PATCH 40/86] chore(demo): chagned b-demo-steps in pagination to
tui-setup
---
.../pagination/pagination.module.ts | 2 ++
.../pagination/pagination.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/pagination/pagination.module.ts b/projects/demo/src/modules/components/pagination/pagination.module.ts
index 8deac9f191f8..a66671b33ce5 100644
--- a/projects/demo/src/modules/components/pagination/pagination.module.ts
+++ b/projects/demo/src/modules/components/pagination/pagination.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTextfieldControllerModule} from '@taiga-ui/core';
import {
@@ -31,6 +32,7 @@ import {ExampleTuiPaginationComponent} from './pagination.component';
TuiTextfieldControllerModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPaginationComponent)),
PolymorpheusModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiPaginationComponent,
diff --git a/projects/demo/src/modules/components/pagination/pagination.template.html b/projects/demo/src/modules/components/pagination/pagination.template.html
index 2e8f1aaa02cf..7333fc4c78b5 100644
--- a/projects/demo/src/modules/components/pagination/pagination.template.html
+++ b/projects/demo/src/modules/components/pagination/pagination.template.html
@@ -103,28 +103,9 @@
-
- -
-
- Import
- TuiPaginationModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 792c1fe7f90c0a81a518eace0848918245a5613b Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:44:28 +0300
Subject: [PATCH 41/86] chore(demo): chagned b-demo-steps in primitive
textfield to tui-setup
---
.../primitive-textfield.module.ts | 2 ++
.../primitive-textfield.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.module.ts b/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.module.ts
index a60a0de0d86f..1732f6a67364 100644
--- a/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.module.ts
+++ b/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -46,6 +47,7 @@ import {ExampleTuiPrimitiveTextfieldComponent} from './primitive-textfield.compo
TuiWrapperModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPrimitiveTextfieldComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiPrimitiveTextfieldComponent,
diff --git a/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.template.html b/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.template.html
index d8242333e5d3..ae05e647c2ad 100644
--- a/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.template.html
+++ b/projects/demo/src/modules/components/primitive-textfield/primitive-textfield.template.html
@@ -183,28 +183,9 @@
-
- -
-
- Import
- TuiPrimitiveTextfieldModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 957345f1781d6f20c9aa5483f4c4cdc95de80e31 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:45:22 +0300
Subject: [PATCH 42/86] chore(demo): chagned b-demo-steps in progress bar to
tui-setup
---
.../progress-bar/progress-bar.component.html | 27 +++----------------
.../progress-bar/progress-bar.module.ts | 2 ++
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/progress-bar/progress-bar.component.html b/projects/demo/src/modules/components/progress-bar/progress-bar.component.html
index 18f0c156bf0b..581feed6ffaf 100644
--- a/projects/demo/src/modules/components/progress-bar/progress-bar.component.html
+++ b/projects/demo/src/modules/components/progress-bar/progress-bar.component.html
@@ -176,28 +176,9 @@
-
- -
-
- Import
- TuiProgressModule
- into a module where you want to use our attribute component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
diff --git a/projects/demo/src/modules/components/progress-bar/progress-bar.module.ts b/projects/demo/src/modules/components/progress-bar/progress-bar.module.ts
index c7657a6b953f..e469766e7f4e 100644
--- a/projects/demo/src/modules/components/progress-bar/progress-bar.module.ts
+++ b/projects/demo/src/modules/components/progress-bar/progress-bar.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {
TuiAddonDocModule,
tuiGenerateRoutes,
@@ -27,6 +28,7 @@ import {ExampleProgressBarComponent} from './progress-bar.component';
TuiTextCodeModule,
TuiNotificationModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleProgressBarComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleProgressBarComponent,
From 6637214eaede5e6629428d03c450ca83cda0b951 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:46:37 +0300
Subject: [PATCH 43/86] chore(demo): chagned b-demo-steps in circle bar to
tui-setup
---
.../progress-circle/progress-circle.module.ts | 2 ++
.../progress-circle.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/progress-circle/progress-circle.module.ts b/projects/demo/src/modules/components/progress-circle/progress-circle.module.ts
index 664a555bf8a3..c9a197d10c6d 100644
--- a/projects/demo/src/modules/components/progress-circle/progress-circle.module.ts
+++ b/projects/demo/src/modules/components/progress-circle/progress-circle.module.ts
@@ -1,5 +1,6 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules, TuiTextCodeModule} from '@taiga-ui/addon-doc';
import {TuiRepeatTimesModule} from '@taiga-ui/cdk';
import {TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
@@ -23,6 +24,7 @@ import {ExampleProgressCircleComponent} from './progress-circle.component';
TuiProgressModule,
TuiRepeatTimesModule,
TuiTextCodeModule,
+ TuiSetupComponent,
],
declarations: [
ExampleProgressCircleComponent,
diff --git a/projects/demo/src/modules/components/progress-circle/progress-circle.template.html b/projects/demo/src/modules/components/progress-circle/progress-circle.template.html
index e8a5a1543f5a..77875cf021fd 100644
--- a/projects/demo/src/modules/components/progress-circle/progress-circle.template.html
+++ b/projects/demo/src/modules/components/progress-circle/progress-circle.template.html
@@ -171,29 +171,10 @@
-
- -
-
- Import
- TuiProgressModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From e41cc85c80ba7383935185cf0bdacc322b289eb0 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:48:16 +0300
Subject: [PATCH 44/86] chore(demo): chagned b-demo-steps in pull to refresh to
tui-setup
---
.../pull-to-refresh/pull-to-refresh.module.ts | 2 ++
.../pull-to-refresh.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.module.ts b/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.module.ts
index 0373ce0c644a..eb94401633c4 100644
--- a/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.module.ts
+++ b/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiPullToRefreshModule} from '@taiga-ui/addon-mobile';
import {
@@ -22,6 +23,7 @@ import {ExampleTuiPullToRefreshComponent} from './pull-to-refresh.component';
TuiScrollbarComponent,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPullToRefreshComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiPullToRefreshComponent,
diff --git a/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.template.html b/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.template.html
index 3f020d93cd14..f2af0e790de8 100644
--- a/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.template.html
+++ b/projects/demo/src/modules/components/pull-to-refresh/pull-to-refresh.template.html
@@ -50,28 +50,9 @@
-
- -
-
- Import
- TuiPullToRefreshModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From c0ea52c23972d4ba79cf92f7dccbd1fb24045338 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:49:28 +0300
Subject: [PATCH 45/86] chore(demo): chagned b-demo-steps in scrollbar to
tui-setup
---
.../components/scrollbar/scrollbar.module.ts | 2 ++
.../scrollbar/scrollbar.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/components/scrollbar/scrollbar.module.ts b/projects/demo/src/modules/components/scrollbar/scrollbar.module.ts
index 7420c0c9538c..b9b78ade8cf3 100644
--- a/projects/demo/src/modules/components/scrollbar/scrollbar.module.ts
+++ b/projects/demo/src/modules/components/scrollbar/scrollbar.module.ts
@@ -2,6 +2,7 @@ import {ScrollingModule} from '@angular/cdk/scrolling';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -28,6 +29,7 @@ import {ExampleTuiScrollbarComponent} from './scrollbar.component';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiScrollbarComponent)),
TuiScrollableDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiScrollbarComponent,
diff --git a/projects/demo/src/modules/components/scrollbar/scrollbar.template.html b/projects/demo/src/modules/components/scrollbar/scrollbar.template.html
index a8223e4cd40d..8aba74623598 100644
--- a/projects/demo/src/modules/components/scrollbar/scrollbar.template.html
+++ b/projects/demo/src/modules/components/scrollbar/scrollbar.template.html
@@ -74,24 +74,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 436798a26a14f8d66ee01e8a08ceb6ac546b2905 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:51:07 +0300
Subject: [PATCH 46/86] chore(demo): chagned b-demo-steps in swipe actions to
tui-setup
---
.../swipe-action/swipe-actions.module.ts | 2 ++
.../swipe-action/swipe-actions.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/components/swipe-action/swipe-actions.module.ts b/projects/demo/src/modules/components/swipe-action/swipe-actions.module.ts
index d71ffdd95f68..bb78ab900216 100644
--- a/projects/demo/src/modules/components/swipe-action/swipe-actions.module.ts
+++ b/projects/demo/src/modules/components/swipe-action/swipe-actions.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
@@ -58,6 +59,7 @@ import {ExampleTuiSwipeActionsComponent} from './swipe-actions.component';
TuiDropdownOpenDirective,
TuiDataListModule,
TuiDropdownDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiSwipeActionsComponent,
diff --git a/projects/demo/src/modules/components/swipe-action/swipe-actions.template.html b/projects/demo/src/modules/components/swipe-action/swipe-actions.template.html
index ed4e15f0ce07..2d145a67e630 100644
--- a/projects/demo/src/modules/components/swipe-action/swipe-actions.template.html
+++ b/projects/demo/src/modules/components/swipe-action/swipe-actions.template.html
@@ -51,24 +51,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 3493eb7a42a959636a4247497a90dcf86ed38be2 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:53:07 +0300
Subject: [PATCH 47/86] chore(demo): chagned b-demo-steps in tooltip to
tui-setup
---
.../components/tooltip/tooltip.module.ts | 2 ++
.../components/tooltip/tooltip.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/tooltip/tooltip.module.ts b/projects/demo/src/modules/components/tooltip/tooltip.module.ts
index 71c4e6b0537c..723a643bc08b 100644
--- a/projects/demo/src/modules/components/tooltip/tooltip.module.ts
+++ b/projects/demo/src/modules/components/tooltip/tooltip.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiLetModule} from '@taiga-ui/cdk';
import {
@@ -37,6 +38,7 @@ import {ExampleTuiTooltipComponent} from './tooltip.component';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiTooltipComponent)),
TuiAutoColorPipe,
TuiLetModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTooltipComponent,
diff --git a/projects/demo/src/modules/components/tooltip/tooltip.template.html b/projects/demo/src/modules/components/tooltip/tooltip.template.html
index 8bcbc8c5077f..ab8ebb87d4ca 100644
--- a/projects/demo/src/modules/components/tooltip/tooltip.template.html
+++ b/projects/demo/src/modules/components/tooltip/tooltip.template.html
@@ -108,28 +108,9 @@
-
- -
-
- Import
- TuiTooltipModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 190267bc46739f6e0a633ca8cca6d52a32194bd7 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:54:00 +0300
Subject: [PATCH 48/86] chore(demo): chagned b-demo-steps in tree to tui-setup
---
.../modules/components/tree/tree.module.ts | 2 ++
.../components/tree/tree.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/components/tree/tree.module.ts b/projects/demo/src/modules/components/tree/tree.module.ts
index a948f5b6802d..518738030844 100644
--- a/projects/demo/src/modules/components/tree/tree.module.ts
+++ b/projects/demo/src/modules/components/tree/tree.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiMapperPipe} from '@taiga-ui/cdk';
import {
@@ -37,6 +38,7 @@ import {ExampleTuiTreeComponent} from './tree.component';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiTreeComponent)),
TuiCheckboxComponent,
TuiLabelDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTreeComponent,
diff --git a/projects/demo/src/modules/components/tree/tree.template.html b/projects/demo/src/modules/components/tree/tree.template.html
index 496f50f11e43..5886efc1c30c 100644
--- a/projects/demo/src/modules/components/tree/tree.template.html
+++ b/projects/demo/src/modules/components/tree/tree.template.html
@@ -165,28 +165,9 @@
-
- -
-
- Import
- TuiTreeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 2b4b09715b936907c477876dccc7010e6ae296c6 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:55:20 +0300
Subject: [PATCH 49/86] chore(demo): chagned b-demo-steps in appearence to
tui-setup
---
.../appearance/appearance.module.ts | 2 ++
.../appearance/appearance.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/appearance/appearance.module.ts b/projects/demo/src/modules/directives/appearance/appearance.module.ts
index e61e34086241..8e319e3188b6 100644
--- a/projects/demo/src/modules/directives/appearance/appearance.module.ts
+++ b/projects/demo/src/modules/directives/appearance/appearance.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
TuiAppearanceDirective,
@@ -23,6 +24,7 @@ import {TuiAppearanceExample3} from './examples/3';
TuiButtonDirective,
TuiDropdownModule,
tuiGetDocModules(ExampleTuiAppearanceComponent),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiAppearanceComponent,
diff --git a/projects/demo/src/modules/directives/appearance/appearance.template.html b/projects/demo/src/modules/directives/appearance/appearance.template.html
index 4550630812fb..d5f28150483a 100644
--- a/projects/demo/src/modules/directives/appearance/appearance.template.html
+++ b/projects/demo/src/modules/directives/appearance/appearance.template.html
@@ -77,24 +77,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 7e30981e2c22074ab0438aa52eb5eb757223918c Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:57:25 +0300
Subject: [PATCH 50/86] chore(demo): chagned b-demo-steps in dropdown to
tui-setup
---
.../directives/dropdown/dropdown.module.ts | 2 ++
.../dropdown/dropdown.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/dropdown/dropdown.module.ts b/projects/demo/src/modules/directives/dropdown/dropdown.module.ts
index e0aa12e44bdf..85c5f8a9b9ef 100644
--- a/projects/demo/src/modules/directives/dropdown/dropdown.module.ts
+++ b/projects/demo/src/modules/directives/dropdown/dropdown.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiActiveZoneDirective, TuiObscuredDirective} from '@taiga-ui/cdk';
import {
@@ -52,6 +53,7 @@ import {TuiDropdownExample5} from './examples/5';
DropdownDocumentationModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiDropdownComponent)),
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDropdownComponent,
diff --git a/projects/demo/src/modules/directives/dropdown/dropdown.template.html b/projects/demo/src/modules/directives/dropdown/dropdown.template.html
index c922fbc87633..35edbea0a731 100644
--- a/projects/demo/src/modules/directives/dropdown/dropdown.template.html
+++ b/projects/demo/src/modules/directives/dropdown/dropdown.template.html
@@ -127,28 +127,9 @@
-
- -
-
- Import
- TuiDropdownModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 1c2b85af403cdb89f1058e79a0b674d9f533e064 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:58:22 +0300
Subject: [PATCH 51/86] chore(demo): chagned b-demo-steps in dropdown context
to tui-setup
---
.../dropdown-context.component.html | 27 +++----------------
.../dropdown-context.module.ts | 2 ++
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/dropdown-context/dropdown-context.component.html b/projects/demo/src/modules/directives/dropdown-context/dropdown-context.component.html
index 18fabd12a84c..504226a72d59 100644
--- a/projects/demo/src/modules/directives/dropdown-context/dropdown-context.component.html
+++ b/projects/demo/src/modules/directives/dropdown-context/dropdown-context.component.html
@@ -75,28 +75,9 @@ To close dropdown:
-
- -
-
- Import
- TuiDropdownModule
- into a module where you want to use our directive
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
diff --git a/projects/demo/src/modules/directives/dropdown-context/dropdown-context.module.ts b/projects/demo/src/modules/directives/dropdown-context/dropdown-context.module.ts
index 92c8debfbe08..7ce5445fbcbe 100644
--- a/projects/demo/src/modules/directives/dropdown-context/dropdown-context.module.ts
+++ b/projects/demo/src/modules/directives/dropdown-context/dropdown-context.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTableModule} from '@taiga-ui/addon-table';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
@@ -36,6 +37,7 @@ import {TuiDropdownContextExample3} from './examples/3';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiDropdownContextComponent)),
ReactiveFormsModule,
DropdownDocumentationModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDropdownContextComponent,
From c0f9be03b462fde63d194666d4e17690a5a45843 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 11:59:17 +0300
Subject: [PATCH 52/86] chore(demo): chagned b-demo-steps in dropdown hover to
tui-setup
---
.../dropdown-hover/dropdown-hover.module.ts | 2 ++
.../dropdown-hover.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.module.ts b/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.module.ts
index 1892472a30c3..2afd2da285cc 100644
--- a/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.module.ts
+++ b/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {
@@ -40,6 +41,7 @@ import {TuiDropdownHoverExample4} from './examples/4';
TuiChevronDirective,
DropdownDocumentationModule,
tuiGetDocModules(ExampleTuiDropdownHoverComponent),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDropdownHoverComponent,
diff --git a/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.template.html b/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.template.html
index 0de63d14af76..377f5c3e8190 100644
--- a/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.template.html
+++ b/projects/demo/src/modules/directives/dropdown-hover/dropdown-hover.template.html
@@ -93,24 +93,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From c482d28afd8c10541aee05b3e8268f5d3c8a03b0 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 12:00:16 +0300
Subject: [PATCH 53/86] chore(demo): chagned b-demo-steps in dropdown selection
to tui-setup
---
.../dropdown-selection.module.ts | 2 ++
.../dropdown-selection.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.module.ts b/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.module.ts
index 9f3c819c6261..122e6c7e04d4 100644
--- a/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.module.ts
+++ b/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiButtonDirective,
@@ -31,6 +32,7 @@ import {TuiDropdownSelectionExample2} from './examples/2';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiDropdownSelectionComponent)),
DropdownDocumentationModule,
TuiInitialsPipe,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiDropdownSelectionComponent,
diff --git a/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.template.html b/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.template.html
index d01a94c7514a..989143a2ebc7 100644
--- a/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.template.html
+++ b/projects/demo/src/modules/directives/dropdown-selection/dropdown-selection.template.html
@@ -80,28 +80,9 @@
-
- -
-
- Import
- TuiDropdownModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From c5fefc4a7361e420a16c17e80c640ec9ea2d9664 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 12:01:25 +0300
Subject: [PATCH 54/86] chore(demo): chagned b-demo-steps in element to
tui-setup
---
.../directives/element/element.module.ts | 2 ++
.../directives/element/element.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/element/element.module.ts b/projects/demo/src/modules/directives/element/element.module.ts
index f06459595a0b..ab18df5da08e 100644
--- a/projects/demo/src/modules/directives/element/element.module.ts
+++ b/projects/demo/src/modules/directives/element/element.module.ts
@@ -1,5 +1,6 @@
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiElementModule} from '@taiga-ui/cdk';
import {TuiButtonDirective} from '@taiga-ui/core';
@@ -15,6 +16,7 @@ import {TuiElementExample1} from './examples/1';
TuiElementModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiElementComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiElementComponent, TuiElementExample1],
exports: [ExampleTuiElementComponent],
diff --git a/projects/demo/src/modules/directives/element/element.template.html b/projects/demo/src/modules/directives/element/element.template.html
index e0b024856dc8..f83f2ff51d92 100644
--- a/projects/demo/src/modules/directives/element/element.template.html
+++ b/projects/demo/src/modules/directives/element/element.template.html
@@ -21,28 +21,9 @@
-
- -
-
- Import
- TuiElementModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From aaeb3dddda3df6f033871e25c79d5c17309aea51 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 12:02:23 +0300
Subject: [PATCH 55/86] chore(demo): chagned b-demo-steps in fade to tui-setup
---
.../modules/directives/fade/fade.module.ts | 2 ++
.../directives/fade/fade.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/fade/fade.module.ts b/projects/demo/src/modules/directives/fade/fade.module.ts
index 1d1c8b61f2c1..4a87ff7f640d 100644
--- a/projects/demo/src/modules/directives/fade/fade.module.ts
+++ b/projects/demo/src/modules/directives/fade/fade.module.ts
@@ -1,5 +1,6 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
TuiLinkDirective,
@@ -23,6 +24,7 @@ import {ExampleTuiFadeComponent} from './fade.component';
TuiLinkDirective,
tuiGetDocModules(ExampleTuiFadeComponent),
TuiScrollableDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiFadeComponent,
diff --git a/projects/demo/src/modules/directives/fade/fade.template.html b/projects/demo/src/modules/directives/fade/fade.template.html
index 1db049da0bb0..a017af26f9f4 100644
--- a/projects/demo/src/modules/directives/fade/fade.template.html
+++ b/projects/demo/src/modules/directives/fade/fade.template.html
@@ -81,24 +81,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 853127e7bb4a7c8706735c7fcdf56d8af2612695 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 12:03:15 +0300
Subject: [PATCH 56/86] chore(demo): chagned b-demo-steps in for to tui-setup
---
.../src/modules/directives/for/for.module.ts | 2 ++
.../modules/directives/for/for.template.html | 29 +++----------------
2 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/projects/demo/src/modules/directives/for/for.module.ts b/projects/demo/src/modules/directives/for/for.module.ts
index f53c9a136163..649a57fb8052 100644
--- a/projects/demo/src/modules/directives/for/for.module.ts
+++ b/projects/demo/src/modules/directives/for/for.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiForModule} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiLoaderModule} from '@taiga-ui/core';
@@ -16,6 +17,7 @@ import {ExampleTuiForComponent} from './for.component';
TuiForModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiForComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiForComponent, TuiForExample1],
exports: [ExampleTuiForComponent],
diff --git a/projects/demo/src/modules/directives/for/for.template.html b/projects/demo/src/modules/directives/for/for.template.html
index 0d459ac04f74..90a413237403 100644
--- a/projects/demo/src/modules/directives/for/for.template.html
+++ b/projects/demo/src/modules/directives/for/for.template.html
@@ -26,30 +26,9 @@
-
- -
-
- Import
- TuiForModule
- and Angular's
- CommonModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From bc441b9b95864db19527f03548a48f6d3b7db45e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:06:23 +0300
Subject: [PATCH 57/86] chore(demo): chagned b-demo-steps in highlight to
tui-setup
---
.../directives/highlight/highlight.module.ts | 2 ++
.../highlight/highlight.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/highlight/highlight.module.ts b/projects/demo/src/modules/directives/highlight/highlight.module.ts
index 2eb7d6c0b168..cc97fbf1c3e7 100644
--- a/projects/demo/src/modules/directives/highlight/highlight.module.ts
+++ b/projects/demo/src/modules/directives/highlight/highlight.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTextfieldControllerModule} from '@taiga-ui/core';
import {TuiHighlightModule, TuiInputModule} from '@taiga-ui/kit';
@@ -18,6 +19,7 @@ import {ExampleTuiHighlightComponent} from './highlight.component';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHighlightComponent)),
TuiTextfieldControllerModule,
+ TuiSetupComponent,
],
declarations: [ExampleTuiHighlightComponent, TuiHighlightExample1],
exports: [ExampleTuiHighlightComponent],
diff --git a/projects/demo/src/modules/directives/highlight/highlight.template.html b/projects/demo/src/modules/directives/highlight/highlight.template.html
index 3c00dc638086..4ad64035e130 100644
--- a/projects/demo/src/modules/directives/highlight/highlight.template.html
+++ b/projects/demo/src/modules/directives/highlight/highlight.template.html
@@ -16,28 +16,9 @@
-
- -
-
- Import
- TuiHighlightModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From bab77fdfd13ee2d78d7b281b1c34ad6526545411 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:07:42 +0300
Subject: [PATCH 58/86] chore(demo): chagned b-demo-steps in hint to tui-setup
---
.../modules/directives/hint/hint.module.ts | 2 ++
.../directives/hint/hint.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/hint/hint.module.ts b/projects/demo/src/modules/directives/hint/hint.module.ts
index 7fe460a42210..e494ba7381b6 100644
--- a/projects/demo/src/modules/directives/hint/hint.module.ts
+++ b/projects/demo/src/modules/directives/hint/hint.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
TuiAutoColorPipe,
@@ -26,6 +27,7 @@ import {ExampleTuiHintComponent} from './hint.component';
TuiNotificationModule,
TuiAutoColorPipe,
TuiLinkDirective,
+ TuiSetupComponent,
],
declarations: [ExampleTuiHintComponent, TuiHintExample1, TuiHintExample2],
exports: [ExampleTuiHintComponent],
diff --git a/projects/demo/src/modules/directives/hint/hint.template.html b/projects/demo/src/modules/directives/hint/hint.template.html
index a2a68088bd3b..5ae76259a053 100644
--- a/projects/demo/src/modules/directives/hint/hint.template.html
+++ b/projects/demo/src/modules/directives/hint/hint.template.html
@@ -82,28 +82,9 @@
-
- -
-
- Import
- TuiHintModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 7ae542542105c53b409b019a55d907a8e7cca674 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:09:17 +0300
Subject: [PATCH 59/86] chore(demo): chagned b-demo-steps in hint describe to
tui-setup
---
.../hint-describe/hint-describe.module.ts | 2 ++
.../hint-describe/hint-describe.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/hint-describe/hint-describe.module.ts b/projects/demo/src/modules/directives/hint-describe/hint-describe.module.ts
index e7fc15abe616..d1e9370b9552 100644
--- a/projects/demo/src/modules/directives/hint-describe/hint-describe.module.ts
+++ b/projects/demo/src/modules/directives/hint-describe/hint-describe.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiButtonDirective, TuiHintModule, TuiTooltipModule} from '@taiga-ui/core';
import {TuiInputModule} from '@taiga-ui/kit';
@@ -23,6 +24,7 @@ import {ExampleTuiHintDescribeComponent} from './hint-describe.component';
InheritedDocumentationModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHintDescribeComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiHintDescribeComponent, TuiHintDescribeExample1],
exports: [ExampleTuiHintDescribeComponent],
diff --git a/projects/demo/src/modules/directives/hint-describe/hint-describe.template.html b/projects/demo/src/modules/directives/hint-describe/hint-describe.template.html
index 407f1b4fb754..d5d24e6a3565 100644
--- a/projects/demo/src/modules/directives/hint-describe/hint-describe.template.html
+++ b/projects/demo/src/modules/directives/hint-describe/hint-describe.template.html
@@ -46,28 +46,9 @@
-
- -
-
- Import
- TuiHintModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From cdfa40e8a6418e85cc6406ad0ac37ef3dcbf9478 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:10:03 +0300
Subject: [PATCH 60/86] chore(demo): chagned b-demo-steps in hint manual to
tui-setup
---
.../hint-manual/hint-manual.module.ts | 2 ++
.../hint-manual/hint-manual.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/hint-manual/hint-manual.module.ts b/projects/demo/src/modules/directives/hint-manual/hint-manual.module.ts
index 649380665fbb..9223c8de5da3 100644
--- a/projects/demo/src/modules/directives/hint-manual/hint-manual.module.ts
+++ b/projects/demo/src/modules/directives/hint-manual/hint-manual.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiButtonDirective, TuiHintModule, TuiLinkDirective} from '@taiga-ui/core';
import {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';
@@ -19,6 +20,7 @@ import {ExampleTuiHintManualComponent} from './hint-manual.component';
InheritedDocumentationModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHintManualComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiHintManualComponent, TuiHintManualExample1],
exports: [ExampleTuiHintManualComponent],
diff --git a/projects/demo/src/modules/directives/hint-manual/hint-manual.template.html b/projects/demo/src/modules/directives/hint-manual/hint-manual.template.html
index ac491622f628..090a57679123 100644
--- a/projects/demo/src/modules/directives/hint-manual/hint-manual.template.html
+++ b/projects/demo/src/modules/directives/hint-manual/hint-manual.template.html
@@ -50,28 +50,9 @@
-
- -
-
- Import
- TuiHintModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 12785b4faf697d148e4833739be270c4c3b7cb81 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:10:55 +0300
Subject: [PATCH 61/86] chore(demo): chagned b-demo-steps in hint pointer to
tui-setup
---
.../hint-pointer/hint-pointer.module.ts | 2 ++
.../hint-pointer/hint-pointer.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/hint-pointer/hint-pointer.module.ts b/projects/demo/src/modules/directives/hint-pointer/hint-pointer.module.ts
index be3ff2fb0fe6..68c014aa79e1 100644
--- a/projects/demo/src/modules/directives/hint-pointer/hint-pointer.module.ts
+++ b/projects/demo/src/modules/directives/hint-pointer/hint-pointer.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHintModule, TuiLinkDirective} from '@taiga-ui/core';
import {TuiIslandModule} from '@taiga-ui/kit';
@@ -20,6 +21,7 @@ import {ExampleTuiHintPointerComponent} from './hint-pointer.component';
InheritedDocumentationModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHintPointerComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiHintPointerComponent, TuiHintPointerExample1],
exports: [ExampleTuiHintPointerComponent],
diff --git a/projects/demo/src/modules/directives/hint-pointer/hint-pointer.template.html b/projects/demo/src/modules/directives/hint-pointer/hint-pointer.template.html
index 107e08a94e42..ebd0718cf518 100644
--- a/projects/demo/src/modules/directives/hint-pointer/hint-pointer.template.html
+++ b/projects/demo/src/modules/directives/hint-pointer/hint-pointer.template.html
@@ -57,28 +57,9 @@
-
- -
-
- Import
- TuiHintModule
- into a module where you want to use our directive
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 582483e6886162b85bbf8ab14c1d92246214381a Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:12:05 +0300
Subject: [PATCH 62/86] chore(demo): chagned b-demo-steps in hovered change to
tui-setup
---
.../hovered-change/hovered-change.module.ts | 2 ++
.../hovered-change.template.html | 28 +++----------------
2 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/projects/demo/src/modules/directives/hovered-change/hovered-change.module.ts b/projects/demo/src/modules/directives/hovered-change/hovered-change.module.ts
index 814643a5a3d9..8dc1a3f5d08a 100644
--- a/projects/demo/src/modules/directives/hovered-change/hovered-change.module.ts
+++ b/projects/demo/src/modules/directives/hovered-change/hovered-change.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHoveredModule} from '@taiga-ui/cdk';
import {TuiButtonDirective} from '@taiga-ui/core';
@@ -15,6 +16,7 @@ import {ExampleTuiHoveredChangeComponent} from './hovered-change.component';
TuiAddonDocModule,
TuiButtonDirective,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiHoveredChangeComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiHoveredChangeComponent, TuiHoveredChangeExample1],
exports: [ExampleTuiHoveredChangeComponent],
diff --git a/projects/demo/src/modules/directives/hovered-change/hovered-change.template.html b/projects/demo/src/modules/directives/hovered-change/hovered-change.template.html
index e1fc8cc2b6f3..4e33cb73645c 100644
--- a/projects/demo/src/modules/directives/hovered-change/hovered-change.template.html
+++ b/projects/demo/src/modules/directives/hovered-change/hovered-change.template.html
@@ -19,29 +19,9 @@
-
- -
-
- Import
-
- TuiHoveredChangeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 588fa916ba71aba671bd6c14aa7d86b063b9a438 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:13:17 +0300
Subject: [PATCH 63/86] chore(demo): chagned b-demo-steps in let to tui-setup
---
.../src/modules/directives/let/let.module.ts | 2 ++
.../modules/directives/let/let.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/let/let.module.ts b/projects/demo/src/modules/directives/let/let.module.ts
index 154e0b4522c1..f3a7c92d0a13 100644
--- a/projects/demo/src/modules/directives/let/let.module.ts
+++ b/projects/demo/src/modules/directives/let/let.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiLetModule} from '@taiga-ui/cdk';
import {TuiBadgeDirective} from '@taiga-ui/kit';
@@ -16,6 +17,7 @@ import {ExampleTuiLetComponent} from './let.component';
TuiBadgeDirective,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLetComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiLetComponent, TuiLetExample1, TuiLetExample2],
exports: [ExampleTuiLetComponent],
diff --git a/projects/demo/src/modules/directives/let/let.template.html b/projects/demo/src/modules/directives/let/let.template.html
index 356e708ab347..8e1e98a3386e 100644
--- a/projects/demo/src/modules/directives/let/let.template.html
+++ b/projects/demo/src/modules/directives/let/let.template.html
@@ -29,28 +29,9 @@
-
- -
-
- Import
- TuiLetModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 1f029fc1df8a02c033c9e30508311c68170ba80b Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:14:21 +0300
Subject: [PATCH 64/86] chore(demo): chagned b-demo-steps in media to tui-setup
---
.../modules/directives/media/media.module.ts | 2 ++
.../directives/media/media.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/media/media.module.ts b/projects/demo/src/modules/directives/media/media.module.ts
index ba98a6379607..e2125b7a1dbd 100644
--- a/projects/demo/src/modules/directives/media/media.module.ts
+++ b/projects/demo/src/modules/directives/media/media.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHighDpiDirective, TuiMediaDirective} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiLinkDirective} from '@taiga-ui/core';
@@ -23,6 +24,7 @@ import {ExampleTuiMediaComponent} from './media.component';
TuiSliderModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiMediaComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiMediaComponent,
diff --git a/projects/demo/src/modules/directives/media/media.template.html b/projects/demo/src/modules/directives/media/media.template.html
index 7251934aed4b..448a0716d3ed 100644
--- a/projects/demo/src/modules/directives/media/media.template.html
+++ b/projects/demo/src/modules/directives/media/media.template.html
@@ -79,24 +79,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 1b5f76b0c65bb693c1b36c65f89eae4af877ef52 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:15:10 +0300
Subject: [PATCH 65/86] chore(demo): chagned b-demo-steps in overscroll to
tui-setup
---
.../overscroll/overscroll.module.ts | 2 ++
.../overscroll/overscroll.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/overscroll/overscroll.module.ts b/projects/demo/src/modules/directives/overscroll/overscroll.module.ts
index ad1e483ea65b..c447c9d54bd0 100644
--- a/projects/demo/src/modules/directives/overscroll/overscroll.module.ts
+++ b/projects/demo/src/modules/directives/overscroll/overscroll.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiOverscrollModule} from '@taiga-ui/cdk';
@@ -15,6 +16,7 @@ import {ExampleTuiOverscrollComponent} from './overscroll.component';
TuiOverscrollModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiOverscrollComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiOverscrollComponent,
diff --git a/projects/demo/src/modules/directives/overscroll/overscroll.template.html b/projects/demo/src/modules/directives/overscroll/overscroll.template.html
index c3d1deae78ae..00f855bc1fc0 100644
--- a/projects/demo/src/modules/directives/overscroll/overscroll.template.html
+++ b/projects/demo/src/modules/directives/overscroll/overscroll.template.html
@@ -38,28 +38,9 @@
-
- -
-
- Import
- TuiOverscrollModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 7df302f8086fe94726dce249807e05d66544b814 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:16:16 +0300
Subject: [PATCH 66/86] chore(demo): chagned b-demo-steps in pan to tui-setup
---
.../src/modules/directives/pan/pan.module.ts | 2 ++
.../modules/directives/pan/pan.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/pan/pan.module.ts b/projects/demo/src/modules/directives/pan/pan.module.ts
index 696034a94c8a..36a6d4a008ac 100644
--- a/projects/demo/src/modules/directives/pan/pan.module.ts
+++ b/projects/demo/src/modules/directives/pan/pan.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiPanModule} from '@taiga-ui/cdk';
@@ -13,6 +14,7 @@ import {ExampleTuiPanComponent} from './pan.component';
TuiPanModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPanComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiPanComponent, TuiPanExample1],
exports: [ExampleTuiPanComponent],
diff --git a/projects/demo/src/modules/directives/pan/pan.template.html b/projects/demo/src/modules/directives/pan/pan.template.html
index 770f907995a2..db5e89c4f471 100644
--- a/projects/demo/src/modules/directives/pan/pan.template.html
+++ b/projects/demo/src/modules/directives/pan/pan.template.html
@@ -20,28 +20,9 @@
-
- -
-
- Import
- TuiPanModule
- into a module where you want to use our directive
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From e3a08bfa1f235943ea9e9399691a8bf7f0e62106 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:17:15 +0300
Subject: [PATCH 67/86] chore(demo): chagned b-demo-steps in present to
tui-setup
---
.../directives/present/present.module.ts | 2 ++
.../directives/present/present.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/present/present.module.ts b/projects/demo/src/modules/directives/present/present.module.ts
index f15a6cac5298..0d52b04025c9 100644
--- a/projects/demo/src/modules/directives/present/present.module.ts
+++ b/projects/demo/src/modules/directives/present/present.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHoveredModule, TuiLetModule} from '@taiga-ui/cdk';
import {TuiBadgeDirective, TuiPresentDirective} from '@taiga-ui/kit';
@@ -17,6 +18,7 @@ import {ExampleTuiPresentComponent} from './present.component';
TuiBadgeDirective,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiPresentComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiPresentComponent, TuiPresentExample1],
exports: [ExampleTuiPresentComponent],
diff --git a/projects/demo/src/modules/directives/present/present.template.html b/projects/demo/src/modules/directives/present/present.template.html
index 70a9264dd004..bbe5ebc1a194 100644
--- a/projects/demo/src/modules/directives/present/present.template.html
+++ b/projects/demo/src/modules/directives/present/present.template.html
@@ -19,28 +19,9 @@
-
- -
-
- Import
- TuiPresentDirective
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 93241df2ba08f35434ab585d36f554881bacad0e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:18:46 +0300
Subject: [PATCH 68/86] chore(demo): chagned b-demo-steps in resizer to
tui-setup
---
.../directives/resizer/resizer.module.ts | 2 ++
.../directives/resizer/resizer.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/resizer/resizer.module.ts b/projects/demo/src/modules/directives/resizer/resizer.module.ts
index 531809adea19..3de7c7750de6 100644
--- a/projects/demo/src/modules/directives/resizer/resizer.module.ts
+++ b/projects/demo/src/modules/directives/resizer/resizer.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiResizerModule} from '@taiga-ui/cdk';
import {TuiNotificationModule} from '@taiga-ui/core';
@@ -15,6 +16,7 @@ import {ExampleTuiResizerComponent} from './resizer.component';
TuiNotificationModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiResizerComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiResizerComponent, TuiResizerExample1],
exports: [ExampleTuiResizerComponent],
diff --git a/projects/demo/src/modules/directives/resizer/resizer.template.html b/projects/demo/src/modules/directives/resizer/resizer.template.html
index eeb32de08a43..3b9619dad28c 100644
--- a/projects/demo/src/modules/directives/resizer/resizer.template.html
+++ b/projects/demo/src/modules/directives/resizer/resizer.template.html
@@ -23,28 +23,9 @@
-
- -
-
- Import
- TuiResizerModule
- into a module where you want to use our directive
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From d9a13d71c5aeb30801eb5fcef73381b52978fe25 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:21:22 +0300
Subject: [PATCH 69/86] chore(demo): chagned b-demo-steps in sensitive to
tui-setup
---
.../directives/sensitive/sensitive.module.ts | 2 ++
.../sensitive/sensitive.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/sensitive/sensitive.module.ts b/projects/demo/src/modules/directives/sensitive/sensitive.module.ts
index 6ec532724648..784b0710c375 100644
--- a/projects/demo/src/modules/directives/sensitive/sensitive.module.ts
+++ b/projects/demo/src/modules/directives/sensitive/sensitive.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {TuiButtonDirective, TuiNotificationModule} from '@taiga-ui/core';
import {TuiLabelDirective} from '@taiga-ui/experimental';
@@ -25,6 +26,7 @@ import {ExampleTuiSensitiveComponent} from './sensitive.component';
TuiBadgeDirective,
TuiButtonDirective,
tuiGetDocModules(ExampleTuiSensitiveComponent),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiSensitiveComponent,
diff --git a/projects/demo/src/modules/directives/sensitive/sensitive.template.html b/projects/demo/src/modules/directives/sensitive/sensitive.template.html
index 0299f1b16804..ff1a2da20d0e 100644
--- a/projects/demo/src/modules/directives/sensitive/sensitive.template.html
+++ b/projects/demo/src/modules/directives/sensitive/sensitive.template.html
@@ -56,24 +56,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 0f7204ffb7627471f7e78f2c395b840d570b7e5e Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:22:20 +0300
Subject: [PATCH 70/86] chore(demo): chagned b-demo-steps in swipe to tui-setup
---
.../modules/directives/swipe/swipe.module.ts | 2 ++
.../directives/swipe/swipe.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/swipe/swipe.module.ts b/projects/demo/src/modules/directives/swipe/swipe.module.ts
index eb572fe0243d..1a7e32d5b77d 100644
--- a/projects/demo/src/modules/directives/swipe/swipe.module.ts
+++ b/projects/demo/src/modules/directives/swipe/swipe.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiSidebarModule} from '@taiga-ui/addon-mobile';
import {TuiActiveZoneDirective, TuiSwipeModule} from '@taiga-ui/cdk';
@@ -17,6 +18,7 @@ import {ExampleTuiSwipeComponent} from './swipe.component';
TuiSidebarModule,
TuiActiveZoneDirective,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiSwipeComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiSwipeComponent, TuiSwipeExample1, TuiSwipeExample2],
exports: [ExampleTuiSwipeComponent],
diff --git a/projects/demo/src/modules/directives/swipe/swipe.template.html b/projects/demo/src/modules/directives/swipe/swipe.template.html
index 94861a5c7780..a016d9c56a0b 100644
--- a/projects/demo/src/modules/directives/swipe/swipe.template.html
+++ b/projects/demo/src/modules/directives/swipe/swipe.template.html
@@ -46,28 +46,9 @@
-
- -
-
- Import
- TuiSwipeModule
- into a module where you want to use our directive
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From ab7d683cbec788e017366fc4ef96314a5f93bd68 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:23:29 +0300
Subject: [PATCH 71/86] chore(demo): chagned b-demo-steps in validator to
tui-setup
---
.../directives/validator/validator.module.ts | 2 ++
.../validator/validator.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/directives/validator/validator.module.ts b/projects/demo/src/modules/directives/validator/validator.module.ts
index 96e4f82bfe81..bc9312f53afa 100644
--- a/projects/demo/src/modules/directives/validator/validator.module.ts
+++ b/projects/demo/src/modules/directives/validator/validator.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiValidatorDirective} from '@taiga-ui/cdk';
import {TuiDataListModule} from '@taiga-ui/core';
@@ -28,6 +29,7 @@ import {ExampleTuiValidatorComponent} from './validator.component';
TuiDataListWrapperModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiValidatorComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiValidatorComponent, TuiValidatorExample1],
exports: [ExampleTuiValidatorComponent],
diff --git a/projects/demo/src/modules/directives/validator/validator.template.html b/projects/demo/src/modules/directives/validator/validator.template.html
index e67e71e78426..b2be345a8483 100644
--- a/projects/demo/src/modules/directives/validator/validator.template.html
+++ b/projects/demo/src/modules/directives/validator/validator.template.html
@@ -19,24 +19,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From f9f90083593e8f1e717f8452778dbff9373f00b2 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:24:15 +0300
Subject: [PATCH 72/86] chore(demo): chagned b-demo-steps in value changes to
tui-setup
---
.../value-changes/value-changes.module.ts | 2 ++
.../value-changes/value-changes.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/directives/value-changes/value-changes.module.ts b/projects/demo/src/modules/directives/value-changes/value-changes.module.ts
index a7d5facfc332..f5ee3a90c492 100644
--- a/projects/demo/src/modules/directives/value-changes/value-changes.module.ts
+++ b/projects/demo/src/modules/directives/value-changes/value-changes.module.ts
@@ -1,6 +1,7 @@
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiValueChangesModule} from '@taiga-ui/cdk';
import {TuiInputModule, TuiInputNumberModule} from '@taiga-ui/kit';
@@ -17,6 +18,7 @@ import {ExampleTuiValueChangesComponent} from './value-changes.component';
TuiValueChangesModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiValueChangesComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiValueChangesComponent,
diff --git a/projects/demo/src/modules/directives/value-changes/value-changes.template.html b/projects/demo/src/modules/directives/value-changes/value-changes.template.html
index 63cb3f149432..7111d3923770 100644
--- a/projects/demo/src/modules/directives/value-changes/value-changes.template.html
+++ b/projects/demo/src/modules/directives/value-changes/value-changes.template.html
@@ -24,28 +24,9 @@
-
- -
-
- Import
- TuiValueChangesModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From e44ec7e7a2fc382c5873e5e04aa7c39078048289 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:30:43 +0300
Subject: [PATCH 73/86] chore(demo): chagned b-demo-steps in navigation to
tui-setup
---
.../navigation/navigation.module.ts | 2 ++
.../navigation/navigation.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/experimental/navigation/navigation.module.ts b/projects/demo/src/modules/experimental/navigation/navigation.module.ts
index 60a363dda60d..cd6f5cf52c82 100644
--- a/projects/demo/src/modules/experimental/navigation/navigation.module.ts
+++ b/projects/demo/src/modules/experimental/navigation/navigation.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {TuiRepeatTimesModule} from '@taiga-ui/cdk';
import {
@@ -60,6 +61,7 @@ import {ExampleTuiNavigationComponent} from './navigation.component';
TuiBreadcrumbsModule,
TuiLinkDirective,
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiNavigationComponent,
diff --git a/projects/demo/src/modules/experimental/navigation/navigation.template.html b/projects/demo/src/modules/experimental/navigation/navigation.template.html
index 55bae915f7a9..bd3567ddf527 100644
--- a/projects/demo/src/modules/experimental/navigation/navigation.template.html
+++ b/projects/demo/src/modules/experimental/navigation/navigation.template.html
@@ -44,24 +44,9 @@
-
- -
-
Add an import:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From f15ca20215ab9e07cf6af5b7c74282b7c6a84963 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:32:05 +0300
Subject: [PATCH 74/86] chore(demo): chagned b-demo-steps in textfield to
tui-setup
---
.../textfield/textfield.module.ts | 2 ++
.../textfield/textfield.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/experimental/textfield/textfield.module.ts b/projects/demo/src/modules/experimental/textfield/textfield.module.ts
index b0afc8ce2f59..b5cd1eb226e2 100644
--- a/projects/demo/src/modules/experimental/textfield/textfield.module.ts
+++ b/projects/demo/src/modules/experimental/textfield/textfield.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
TuiDropdownModule,
@@ -34,6 +35,7 @@ import {ExampleTuiTextfieldComponent} from './textfield.component';
TuiDataListWrapperModule,
TuiFilterByInputPipeModule,
TuiChevronDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTextfieldComponent,
diff --git a/projects/demo/src/modules/experimental/textfield/textfield.template.html b/projects/demo/src/modules/experimental/textfield/textfield.template.html
index 75d9757c43e2..04631b7474cb 100644
--- a/projects/demo/src/modules/experimental/textfield/textfield.template.html
+++ b/projects/demo/src/modules/experimental/textfield/textfield.template.html
@@ -36,24 +36,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 42185d780369c5965eb8cf0c6d78230c1bd8eb54 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:32:39 +0300
Subject: [PATCH 75/86] chore(demo): chagned b-demo-steps in tooltip to
tui-setup
---
.../experimental/tooltip/tooltip.module.ts | 2 ++
.../tooltip/tooltip.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/experimental/tooltip/tooltip.module.ts b/projects/demo/src/modules/experimental/tooltip/tooltip.module.ts
index 4a7a62ca249b..6c65928c19f0 100644
--- a/projects/demo/src/modules/experimental/tooltip/tooltip.module.ts
+++ b/projects/demo/src/modules/experimental/tooltip/tooltip.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
+import {TuiSetupComponent} from '@demo/utils';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {TuiLetModule} from '@taiga-ui/cdk';
import {
@@ -35,6 +36,7 @@ import {ExampleTuiTooltipComponent} from './tooltip.component';
TuiNotificationModule,
TuiIconComponent,
TuiLetModule,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTooltipComponent,
diff --git a/projects/demo/src/modules/experimental/tooltip/tooltip.template.html b/projects/demo/src/modules/experimental/tooltip/tooltip.template.html
index a5e5f03dea76..b651c7beb775 100644
--- a/projects/demo/src/modules/experimental/tooltip/tooltip.template.html
+++ b/projects/demo/src/modules/experimental/tooltip/tooltip.template.html
@@ -107,24 +107,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 61f9f2baf7f493babecb4c246a1ef2329d782eb8 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:35:09 +0300
Subject: [PATCH 76/86] chore(demo): chagned b-demo-steps in icons to tui-setup
---
.../demo/src/modules/icons/icons.module.ts | 2 ++
.../src/modules/icons/icons.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/icons/icons.module.ts b/projects/demo/src/modules/icons/icons.module.ts
index e518e78b62e5..56d5b200f633 100644
--- a/projects/demo/src/modules/icons/icons.module.ts
+++ b/projects/demo/src/modules/icons/icons.module.ts
@@ -12,6 +12,7 @@ import {
TuiSvgComponent,
} from '@taiga-ui/core';
+import {TuiSetupComponent} from '../../utils/setup.component';
import {IconsComponent} from './icons.component';
import {IconsGroupModule} from './icons-group/icons-group.module';
@@ -28,6 +29,7 @@ import {IconsGroupModule} from './icons-group/icons-group.module';
RouterModule.forChild(tuiGenerateRoutes(IconsComponent)),
TuiActiveZoneDirective,
IntersectionObserverModule,
+ TuiSetupComponent,
],
declarations: [IconsComponent],
exports: [IconsComponent],
diff --git a/projects/demo/src/modules/icons/icons.template.html b/projects/demo/src/modules/icons/icons.template.html
index 7f67663411db..fd1f8bf2e176 100644
--- a/projects/demo/src/modules/icons/icons.template.html
+++ b/projects/demo/src/modules/icons/icons.template.html
@@ -90,28 +90,9 @@
-
- -
-
- Import
- TuiSvgModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 075232a9a875b3972ef5b8c609495495c3ac75fe Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:36:41 +0300
Subject: [PATCH 77/86] chore(demo): chagned b-demo-steps in amount to
tui-setup
---
.../src/modules/pipes/amount/amount.module.ts | 2 ++
.../modules/pipes/amount/amount.template.html | 23 ++++---------------
2 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/projects/demo/src/modules/pipes/amount/amount.module.ts b/projects/demo/src/modules/pipes/amount/amount.module.ts
index cb29f2789f59..99353cc1b2e4 100644
--- a/projects/demo/src/modules/pipes/amount/amount.module.ts
+++ b/projects/demo/src/modules/pipes/amount/amount.module.ts
@@ -1,5 +1,6 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {tuiGetDocModules} from '@taiga-ui/addon-doc';
import {
@@ -21,6 +22,7 @@ import {TuiAmountExample3} from './examples/3';
TuiNumberFormatDirective,
tuiGetDocModules(ExampleTuiAmountComponent),
TuiLinkDirective,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiAmountComponent,
diff --git a/projects/demo/src/modules/pipes/amount/amount.template.html b/projects/demo/src/modules/pipes/amount/amount.template.html
index 7bd5700f39a2..030cc43d6090 100644
--- a/projects/demo/src/modules/pipes/amount/amount.template.html
+++ b/projects/demo/src/modules/pipes/amount/amount.template.html
@@ -43,24 +43,9 @@
-
- -
-
Import module:
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From fb41a750bf3ff3e7fa159620eb721d7904d43e80 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Fri, 12 Apr 2024 13:38:37 +0300
Subject: [PATCH 78/86] chore(demo): chagned b-demo-steps in field-error to
tui-setup
---
.../pipes/field-error/field-error.module.ts | 2 ++
.../field-error/field-error.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/pipes/field-error/field-error.module.ts b/projects/demo/src/modules/pipes/field-error/field-error.module.ts
index 0239ffffb6e1..a8053e3a984e 100644
--- a/projects/demo/src/modules/pipes/field-error/field-error.module.ts
+++ b/projects/demo/src/modules/pipes/field-error/field-error.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiCurrencyPipeModule} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTableModule} from '@taiga-ui/addon-table';
@@ -52,6 +53,7 @@ import {ExampleTuiFieldErrorPipeComponent} from './field-error.component';
PolymorpheusModule,
TuiCheckboxComponent,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiFieldErrorPipeComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiFieldErrorPipeComponent,
diff --git a/projects/demo/src/modules/pipes/field-error/field-error.template.html b/projects/demo/src/modules/pipes/field-error/field-error.template.html
index f203aac960b0..3cad99933f0b 100644
--- a/projects/demo/src/modules/pipes/field-error/field-error.template.html
+++ b/projects/demo/src/modules/pipes/field-error/field-error.template.html
@@ -76,28 +76,9 @@
-
- -
-
- Import
- TuiFieldErrorPipeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Use pipe in template:
-
-
-
-
+
From 276b0203db1c0616319dda96c40691e2271f94c8 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:35:12 +0300
Subject: [PATCH 79/86] chore(demo): changed b-demo-steps in stringify pipe
---
.../pipes/stringify/stringify.module.ts | 2 ++
.../pipes/stringify/stringify.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/pipes/stringify/stringify.module.ts b/projects/demo/src/modules/pipes/stringify/stringify.module.ts
index d69c9eb5a295..5cd88583bfe6 100644
--- a/projects/demo/src/modules/pipes/stringify/stringify.module.ts
+++ b/projects/demo/src/modules/pipes/stringify/stringify.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiDataListModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
import {
@@ -29,6 +30,7 @@ import {ExampleTuiStringifyComponent} from './stringify.component';
CommonModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiStringifyComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiStringifyComponent, TuiStringifyExample1],
exports: [ExampleTuiStringifyComponent],
diff --git a/projects/demo/src/modules/pipes/stringify/stringify.template.html b/projects/demo/src/modules/pipes/stringify/stringify.template.html
index 7efab19ae18b..dd06523faa36 100644
--- a/projects/demo/src/modules/pipes/stringify/stringify.template.html
+++ b/projects/demo/src/modules/pipes/stringify/stringify.template.html
@@ -35,28 +35,9 @@
-
- -
-
- Import
- TuiStringifyPipeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Use pipe in template:
-
-
-
-
+
From ee81a181f57d3886de25dfdfcffdd3c892aabdca Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:39:27 +0300
Subject: [PATCH 80/86] chore(demo): changed b-demo-steps in stringify-content
pipe
---
.../stringify-content.module.ts | 2 ++
.../stringify-content.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/pipes/stringify-content/stringify-content.module.ts b/projects/demo/src/modules/pipes/stringify-content/stringify-content.module.ts
index 39f4b272cb3f..9ec2741c5f1f 100644
--- a/projects/demo/src/modules/pipes/stringify-content/stringify-content.module.ts
+++ b/projects/demo/src/modules/pipes/stringify-content/stringify-content.module.ts
@@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiDataListModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
import {
@@ -27,6 +28,7 @@ import {ExampleTuiStringifyContentComponent} from './stringify-content.component
CommonModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiStringifyContentComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiStringifyContentComponent, TuiStringifyContentExample1],
exports: [ExampleTuiStringifyContentComponent],
diff --git a/projects/demo/src/modules/pipes/stringify-content/stringify-content.template.html b/projects/demo/src/modules/pipes/stringify-content/stringify-content.template.html
index 8b01f1611559..60e76ca8c000 100644
--- a/projects/demo/src/modules/pipes/stringify-content/stringify-content.template.html
+++ b/projects/demo/src/modules/pipes/stringify-content/stringify-content.template.html
@@ -30,28 +30,9 @@
-
- -
-
- Import
- TuiStringifyContentPipeModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Use pipe in template:
-
-
-
-
+
From 4a5a4dfa6b78367c2370cfc68aa9f94a5b4cdefb Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:40:54 +0300
Subject: [PATCH 81/86] chore(demo): changed b-demo-steps in reorder component
---
.../modules/tables/reorder/reorder.module.ts | 2 ++
.../tables/reorder/reorder.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/tables/reorder/reorder.module.ts b/projects/demo/src/modules/tables/reorder/reorder.module.ts
index f6d076f8be61..2e6eda22dfa1 100644
--- a/projects/demo/src/modules/tables/reorder/reorder.module.ts
+++ b/projects/demo/src/modules/tables/reorder/reorder.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiReorderModule} from '@taiga-ui/addon-table';
@@ -13,6 +14,7 @@ import {ExampleTuiReorderComponent} from './reorder.component';
TuiReorderModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiReorderComponent)),
+ TuiSetupComponent,
],
declarations: [ExampleTuiReorderComponent, TuiReorderExample1],
exports: [ExampleTuiReorderComponent],
diff --git a/projects/demo/src/modules/tables/reorder/reorder.template.html b/projects/demo/src/modules/tables/reorder/reorder.template.html
index cbd76881e2b9..a9bce18d7fee 100644
--- a/projects/demo/src/modules/tables/reorder/reorder.template.html
+++ b/projects/demo/src/modules/tables/reorder/reorder.template.html
@@ -16,28 +16,9 @@
-
- -
-
- Import an Angular module for forms and
- TuiReorderModule
- in the same module where you want to use our component:
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From d4281779bc61d7f9c35d754ad89e120db65cd682 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:42:08 +0300
Subject: [PATCH 82/86] chore(demo): changed b-demo-steps in table component
---
.../src/modules/tables/table/table.module.ts | 2 ++
.../modules/tables/table/table.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/tables/table/table.module.ts b/projects/demo/src/modules/tables/table/table.module.ts
index 0938cb9ce7ea..4bc07a18fbf3 100644
--- a/projects/demo/src/modules/tables/table/table.module.ts
+++ b/projects/demo/src/modules/tables/table/table.module.ts
@@ -3,6 +3,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {IntersectionObserverModule} from '@ng-web-apis/intersection-observer';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {
@@ -80,6 +81,7 @@ import {ExampleTuiTableComponent} from './table.component';
TuiScrollableDirective,
TuiChevronDirective,
TuiAutoColorPipe,
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTableComponent,
diff --git a/projects/demo/src/modules/tables/table/table.template.html b/projects/demo/src/modules/tables/table/table.template.html
index c6c2e7aa4661..ade7a4511b02 100644
--- a/projects/demo/src/modules/tables/table/table.template.html
+++ b/projects/demo/src/modules/tables/table/table.template.html
@@ -257,28 +257,9 @@ *tuiCell="key"
-
- -
-
- Import
- TuiTableModule
- into a module where you want to use our component
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 8166e56b856cdd920a6fb00fa8460d5e6ae1bafe Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:43:24 +0300
Subject: [PATCH 83/86] chore(demo): changed b-demo-steps in table-pagination
component
---
.../table-pagination.module.ts | 2 ++
.../table-pagination.template.html | 27 +++----------------
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/projects/demo/src/modules/tables/table-pagination/table-pagination.module.ts b/projects/demo/src/modules/tables/table-pagination/table-pagination.module.ts
index a15d5cb71140..a563213006c9 100644
--- a/projects/demo/src/modules/tables/table-pagination/table-pagination.module.ts
+++ b/projects/demo/src/modules/tables/table-pagination/table-pagination.module.ts
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
+import {TuiSetupComponent} from '@demo/utils';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiTablePaginationModule} from '@taiga-ui/addon-table';
@@ -15,6 +16,7 @@ import {ExampleTuiTablePaginationComponent} from './table-pagination.component';
TuiTablePaginationModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiTablePaginationComponent)),
+ TuiSetupComponent,
],
declarations: [
ExampleTuiTablePaginationComponent,
diff --git a/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html b/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
index 514a2e1ca7d3..59555c2d5ef6 100644
--- a/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
+++ b/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
@@ -140,28 +140,9 @@
-
- -
-
- Import an Angular module for forms and
- TuiTablePaginationModule
- in the same module where you want to use our component:
-
-
-
-
-
- -
-
Add to the template:
-
-
-
-
+
From 1c186a86dfb02d8089f2f06b2b91ee3a36f5091b Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Mon, 22 Apr 2024 09:45:18 +0300
Subject: [PATCH 84/86] chore(demo): changed b-demo-steps in tui-setup
component
---
projects/demo/src/utils/setup.component.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/projects/demo/src/utils/setup.component.ts b/projects/demo/src/utils/setup.component.ts
index 733690d9aab2..6d3b22f333cf 100644
--- a/projects/demo/src/utils/setup.component.ts
+++ b/projects/demo/src/utils/setup.component.ts
@@ -10,13 +10,13 @@ import {toKebab} from './kebab.pipe';
selector: 'tui-setup',
imports: [TuiDocCodeModule],
template: `
-
- -
+
+ -
Add an import:
- -
+
-
Add to the template:
From 452e4508e4e486bdba17dca1ae87ae7645cb61ff Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Tue, 23 Apr 2024 15:38:02 +0300
Subject: [PATCH 85/86] chore(demo): added tui-list to reorder
---
.../tables/reorder/reorder.template.html | 27 ++++++++++++++++---
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/projects/demo/src/modules/tables/reorder/reorder.template.html b/projects/demo/src/modules/tables/reorder/reorder.template.html
index a9bce18d7fee..65d3a804f655 100644
--- a/projects/demo/src/modules/tables/reorder/reorder.template.html
+++ b/projects/demo/src/modules/tables/reorder/reorder.template.html
@@ -16,9 +16,28 @@
-
+
+ -
+
+ Import an Angular module for forms and
+ TuiReorderModule
+ in the same module where you want to use our component:
+
+
+
+
+
+ -
+
Add to the template:
+
+
+
+
From 76f8af2c960faa09f2d61a15f716f45af3b5f206 Mon Sep 17 00:00:00 2001
From: Stanslav Zaytsev
Date: Tue, 23 Apr 2024 15:41:26 +0300
Subject: [PATCH 86/86] chore(demo): added tui-list to table-pagination
---
.../table-pagination.template.html | 27 ++++++++++++++++---
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html b/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
index 59555c2d5ef6..1b9898248c7a 100644
--- a/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
+++ b/projects/demo/src/modules/tables/table-pagination/table-pagination.template.html
@@ -140,9 +140,28 @@
-
+
+ -
+
+ Import an Angular module for forms and
+ TuiTablePaginationModule
+ in the same module where you want to use our component:
+
+
+
+
+
+ -
+
Add to the template:
+
+
+
+