Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Dec 19, 2024
1 parent a5bf1bd commit e4b16b2
Show file tree
Hide file tree
Showing 22 changed files with 7,094 additions and 8,082 deletions.
2 changes: 1 addition & 1 deletion apps/taiga-lumbermill/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {dirname, join, resolve} from 'node:path';
import {fileURLToPath} from 'node:url';

import {APP_BASE_HREF} from '@angular/common';
import {CommonEngine} from '@angular/ssr';
import {CommonEngine} from '@angular/ssr/node';
import express from 'express';

import bootstrap from './src/main.server';
Expand Down
1 change: 1 addition & 0 deletions apps/taiga-lumbermill/src/components/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {appRoutes} from './app.routes';

export const appConfig: ApplicationConfig = {
providers: [
provideClientHydration(),
provideAnimations(),
provideZoneChangeDetection({eventCoalescing: true}),
provideRouter(appRoutes),
Expand Down
3 changes: 1 addition & 2 deletions apps/taiga-lumbermill/src/components/list/list.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {CommonModule} from '@angular/common';
import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';
import {toSignal} from '@angular/core/rxjs-interop';
import {NavigationEnd, Router, RouterLink, RouterOutlet} from '@angular/router';
import {NavigationEnd, Router, RouterLink} from '@angular/router';
import {TuiIcon, TuiSurface, TuiTitle} from '@taiga-ui/core';
import {TuiCardLarge, TuiHeader, TuiLogoComponent, TuiNavigation} from '@taiga-ui/layout';
import {filter, map, startWith} from 'rxjs';
Expand Down Expand Up @@ -45,7 +45,6 @@ const LIST: {Dashboards: CardData[]; Pages: CardData[]} = {
imports: [
CommonModule,
RouterLink,
RouterOutlet,
TuiCardLarge,
TuiHeader,
TuiIcon,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,20 @@
import {NgIf} from '@angular/common';
import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';
import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router';
import {
TUI_DARK_MODE,
TuiAppearance,
TuiButton,
TuiDataList,
TuiDropdown,
TuiIcon,
TuiTitle,
} from '@taiga-ui/core';
import {TuiChevron, TuiFade} from '@taiga-ui/kit';
import {RouterLink, RouterOutlet} from '@angular/router';
import {TUI_DARK_MODE, TuiButton, TuiDataList, TuiDropdown} from '@taiga-ui/core';
import {TuiChevron} from '@taiga-ui/kit';
import {TuiNavigation} from '@taiga-ui/layout';

@Component({
standalone: true,
selector: 'app-navigation',
imports: [
NgIf,
RouterLink,
RouterLinkActive,
RouterOutlet,
TuiAppearance,
TuiButton,
TuiChevron,
TuiDataList,
TuiDropdown,
TuiFade,
TuiIcon,
TuiNavigation,
TuiTitle,
],
templateUrl: './navigation.component.html',
styleUrl: './navigation.component.less',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ <h2 class="tui-space_top-0 tui-space_bottom-2">{{ nftData.name }}</h2>
tuiIconButton
type="button"
(click)="goBack()"
></button>
>
Back
</button>
</div>
<tui-scrollbar>
<cdk-virtual-scroll-viewport
Expand Down Expand Up @@ -86,7 +88,7 @@ <h2 class="tui-space_top-0 tui-space_bottom-2">{{ nftData.name }}</h2>
*tuiCell="column"
tuiTd
>
{{ column === 'time' ? (item[column] | date: 'dd.MM.yyyy') : item[column] }}
{{ column === 'time' ? (item[column] | date: 'dd.MM.yyyy') : item[column]! }}
</td>
}
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ import {
} from '@angular/core';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiTable} from '@taiga-ui/addon-table';
import {
TuiAppearance,
TuiAutoColorPipe,
TuiButton,
TuiScrollbar,
TuiTitle,
} from '@taiga-ui/core';
import {TuiAutoColorPipe, TuiButton, TuiScrollbar} from '@taiga-ui/core';
import {TuiAvatar, TuiBadge} from '@taiga-ui/kit';
import {TuiHeader} from '@taiga-ui/layout';

import type {NFT} from '../nft.service';
import type {NFT, Transaction} from '../nft.service';

@Component({
standalone: true,
Expand All @@ -35,22 +29,26 @@ import type {NFT} from '../nft.service';
CommonModule,
DatePipe,
TuiAmountPipe,
TuiAppearance,
TuiAutoColorPipe,
TuiAvatar,
TuiBadge,
TuiButton,
TuiHeader,
TuiScrollbar,
TuiTable,
TuiTitle,
],
templateUrl: './nft-item.component.html',
styleUrl: './nft-item.component.less',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class NftItemComponent {
protected readonly columns = ['type', 'priceUsd', 'from', 'to', 'time'];
protected readonly columns: Array<keyof Transaction> = [
'type',
'priceUsd',
'from',
'to',
'time',
];

@Output()
public readonly nftChange = new EventEmitter<NFT | null>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
Output,
} from '@angular/core';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAppearance, TuiScrollbar, TuiSurface, TuiTitle} from '@taiga-ui/core';
import {TuiScrollbar, TuiSurface} from '@taiga-ui/core';
import {TuiAvatar} from '@taiga-ui/kit';
import {TuiCardLarge, TuiHeader} from '@taiga-ui/layout';
import {TuiCardLarge} from '@taiga-ui/layout';

import type {NFT} from '../nft.service';
import {NftService} from '../nft.service';
Expand All @@ -20,13 +20,10 @@ import {NftService} from '../nft.service';
imports: [
CommonModule,
TuiAmountPipe,
TuiAppearance,
TuiAvatar,
TuiCardLarge,
TuiHeader,
TuiScrollbar,
TuiSurface,
TuiTitle,
],
templateUrl: './nft-list.component.html',
styleUrl: './nft-list.component.less',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {FormsModule} from '@angular/forms';
import {TuiTable} from '@taiga-ui/addon-table';
import {TuiAppearance, TuiScrollable, TuiScrollbar, TuiTitle} from '@taiga-ui/core';
import {TuiAvatar, TuiAvatarStack, TuiSkeleton} from '@taiga-ui/kit';
import {TuiCardLarge, TuiCell, TuiHeader} from '@taiga-ui/layout';
import {TuiCardLarge, TuiHeader} from '@taiga-ui/layout';
import {TuiInputModule} from '@taiga-ui/legacy';

import {CoinIconPipe} from '../../pipes/coin-icon.pipe';
Expand Down Expand Up @@ -45,7 +45,6 @@ export interface TableData {
TuiAvatar,
TuiAvatarStack,
TuiCardLarge,
TuiCell,
TuiHeader,
TuiInputModule,
TuiScrollable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@ import {
signal,
} from '@angular/core';
import {toObservable, toSignal} from '@angular/core/rxjs-interop';
import {
TuiAxes,
TuiLineChart,
TuiLineDaysChart,
TuiLineDaysChartHint,
} from '@taiga-ui/addon-charts';
import {TuiAxes, TuiLineChart} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import type {TuiStringHandler} from '@taiga-ui/cdk';
import type {TuiPoint} from '@taiga-ui/core';
import {TuiAppearance, TuiButton, TuiHint, TuiSurface} from '@taiga-ui/core';
import {TuiButton} from '@taiga-ui/core';
import {TuiSkeleton} from '@taiga-ui/kit';
import {combineLatest, switchMap} from 'rxjs';

Expand All @@ -32,15 +27,10 @@ import {INTERVALS} from './price-chart.constant';
AsyncPipe,
CommonModule,
TuiAmountPipe,
TuiAppearance,
TuiAxes,
TuiButton,
TuiHint,
TuiLineChart,
TuiLineDaysChart,
TuiLineDaysChartHint,
TuiSkeleton,
TuiSurface,
],
templateUrl: './price-chart.component.html',
styleUrl: './price-chart.component.less',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
Input,
Output,
} from '@angular/core';
import {TuiAppearance, TuiButton, TuiTitle} from '@taiga-ui/core';
import {TuiButton, TuiTitle} from '@taiga-ui/core';
import {TuiAvatar, TuiSkeleton} from '@taiga-ui/kit';
import {TuiCardLarge, TuiCell, TuiHeader} from '@taiga-ui/layout';
import {TuiCardLarge, TuiCell} from '@taiga-ui/layout';

import {CryptoService} from '../../../services/crypto.service';

Expand All @@ -20,12 +20,10 @@ import {CryptoService} from '../../../services/crypto.service';
AsyncPipe,
CommonModule,
DecimalPipe,
TuiAppearance,
TuiAvatar,
TuiButton,
TuiCardLarge,
TuiCell,
TuiHeader,
TuiSkeleton,
TuiTitle,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ import {toSignal} from '@angular/core/rxjs-interop';
import {FormsModule} from '@angular/forms';
import {TuiAutoFocus} from '@taiga-ui/cdk';
import type {TuiDialogContext} from '@taiga-ui/core';
import {
TuiAppearance,
TuiButton,
TuiDialog,
TuiDialogService,
TuiTitle,
} from '@taiga-ui/core';
import {TuiAppearance, TuiButton, TuiDialogService, TuiTitle} from '@taiga-ui/core';
import {TuiAvatar, TuiSkeleton} from '@taiga-ui/kit';
import {TuiCardLarge, TuiHeader} from '@taiga-ui/layout';
import {TuiInputNumberModule} from '@taiga-ui/legacy';
Expand All @@ -38,7 +32,6 @@ import {CryptoService} from '../../services/crypto.service';
TuiAvatar,
TuiButton,
TuiCardLarge,
TuiDialog,
TuiHeader,
TuiInputNumberModule,
TuiSkeleton,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {AsyncPipe, CommonModule, NgIf} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {FormArray, FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms';
import {TuiDay} from '@taiga-ui/cdk';
import {TuiAppearance, TuiButton, TuiDateFormat} from '@taiga-ui/core';
import {TuiAppearance, TuiButton} from '@taiga-ui/core';
import {TuiProgress} from '@taiga-ui/kit';
import {TuiCardLarge} from '@taiga-ui/layout';
import {TuiInputDateModule} from '@taiga-ui/legacy';
Expand All @@ -22,7 +22,6 @@ import {CleaningService} from './cleaning.service';
TuiAppearance,
TuiButton,
TuiCardLarge,
TuiDateFormat,
TuiInputDateModule,
TuiProgress,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
TuiIcon,
TuiScrollable,
TuiScrollbar,
TuiSurface,
} from '@taiga-ui/core';
import {TuiAvatar, TuiBadge, TuiBadgedContent, TuiTab, TuiTabs} from '@taiga-ui/kit';
import {TuiCardLarge, TuiCell} from '@taiga-ui/layout';
Expand All @@ -38,7 +37,6 @@ import {ContactsService} from './contacts.service';
TuiIcon,
TuiScrollable,
TuiScrollbar,
TuiSurface,
TuiTab,
TuiTabs,
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
import {CommonModule} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {TuiAppearance, TuiIcon, TuiSurface, TuiTitle} from '@taiga-ui/core';
import {TuiSurface} from '@taiga-ui/core';
import {TuiAvatar} from '@taiga-ui/kit';
import {TuiCardLarge, TuiCell, TuiHeader} from '@taiga-ui/layout';
import {TuiCardLarge, TuiHeader} from '@taiga-ui/layout';

import {ControlPanelService} from './control-panel.service';

@Component({
standalone: true,
selector: 'lmb-small-card',
imports: [
CommonModule,
TuiAppearance,
TuiAvatar,
TuiCardLarge,
TuiCell,
TuiHeader,
TuiIcon,
TuiSurface,
TuiTitle,
],
imports: [CommonModule, TuiAvatar, TuiCardLarge, TuiHeader, TuiSurface],
templateUrl: './control-panel.component.html',
styleUrl: './control-panel.component.less',
changeDetection: ChangeDetectionStrategy.OnPush,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {CommonModule, NgClass} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {FormArray, FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms';
import {TuiAppearance, TuiGroup, TuiIcon, TuiTitle} from '@taiga-ui/core';
import {TuiBlock, TuiCheckbox, TuiRadioList} from '@taiga-ui/kit';
import {TuiBlock, TuiCheckbox} from '@taiga-ui/kit';
import {TuiCardLarge} from '@taiga-ui/layout';

import {LightingService} from './lighting.service';
Expand All @@ -21,7 +21,6 @@ import {LightingService} from './lighting.service';
TuiCheckbox,
TuiGroup,
TuiIcon,
TuiRadioList,
TuiTitle,
],
templateUrl: './lighting.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {CommonModule} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {FormArray, FormControl, ReactiveFormsModule} from '@angular/forms';
import {TuiAppearance, TuiGroup} from '@taiga-ui/core';
import {TuiBlock, TuiCheckbox, TuiFade, TuiRadio} from '@taiga-ui/kit';
import {TuiBlock, TuiCheckbox} from '@taiga-ui/kit';
import {TuiCardLarge} from '@taiga-ui/layout';

import {SafetyService} from './safety.service';
Expand All @@ -17,9 +17,7 @@ import {SafetyService} from './safety.service';
TuiBlock,
TuiCardLarge,
TuiCheckbox,
TuiFade,
TuiGroup,
TuiRadio,
],
templateUrl: './safety.component.html',
styleUrl: './safety.component.less',
Expand Down
6 changes: 2 additions & 4 deletions apps/taiga-lumbermill/src/dashboards/iot/iot.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {CommonModule} from '@angular/common';
import {ChangeDetectionStrategy, Component} from '@angular/core';
import {RouterLink} from '@angular/router';
import {TuiAppearance, TuiIcon} from '@taiga-ui/core';
import {TuiCardLarge, TuiLogoComponent, TuiNavComponent} from '@taiga-ui/layout';
import {TuiIcon} from '@taiga-ui/core';
import {TuiLogoComponent, TuiNavComponent} from '@taiga-ui/layout';

import {CleaningComponent} from './components/cleaning/cleaning.component';
import {ClimateControlComponent} from './components/climate-control/climate-control.component';
Expand Down Expand Up @@ -30,8 +30,6 @@ import {WeatherComponent} from './components/weather/weather.component';
MusicComponent,
RouterLink,
SafetyComponent,
TuiAppearance,
TuiCardLarge,
TuiIcon,
TuiLogoComponent,
TuiNavComponent,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:host {
display: block;
block-size: calc(100vh - 3rem);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:host {
display: block;
block-size: calc(100vh - 3rem);
}

Expand Down
Loading

0 comments on commit e4b16b2

Please sign in to comment.