Skip to content

Commit

Permalink
chore: update RxAngular to v16 (#1928)
Browse files Browse the repository at this point in the history
* chore: update RxAngular to v16

* chore: Update PRODUCTION_DEPENDENCIES.md

* refactor: replace missing PushModule

* Chore: bump version to 0.3.308 for build/infrastructure/eo/chart/Chart.yaml

* Chore: bump version to 0.3.308 for build/infrastructure/eo/chart/values.yaml

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and ManBearTM committed Aug 8, 2023
1 parent 47ce73d commit ef98ab8
Show file tree
Hide file tree
Showing 71 changed files with 192 additions and 205 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions PRODUCTION_DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
| [@ngneat/transloco](https://github.com/ngneat/transloco) | 4.2.6 | MIT |
| [@ngrx/component-store](https://github.com/ngrx/platform) | 16.1.0 | MIT |
| [@popperjs/core](https://github.com/popperjs/popper-core) | 2.11.7 | MIT |
| [@rx-angular/cdk](https://github.com/rx-angular/rx-angular) | 14.0.0 | MIT |
| [@rx-angular/template](https://github.com/rx-angular/rx-angular) | 14.0.0 | MIT |
| [@rx-angular/cdk](https://github.com/rx-angular/rx-angular) | 16.0.0 | MIT |
| [@rx-angular/template](https://github.com/rx-angular/rx-angular) | 16.0.2 | MIT |
| [@vimeo/player](https://github.com/vimeo/player.js) | 2.17.0 | MIT |
| [apollo-angular](https://github.com/kamilkisiela/apollo-angular) | 5.0.0 | MIT |
| [chart.js](https://github.com/chartjs/Chart.js) | 3.8.0 | MIT |
Expand Down
2 changes: 1 addition & 1 deletion build/infrastructure/eo/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: eo-frontend
description: A Helm chart for Kubernetes
type: application
version: 0.3.307
version: 0.3.308
2 changes: 1 addition & 1 deletion build/infrastructure/eo/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ app:
replicaCount: 2
image:
name: ghcr.io/energinet-datahub/eo-frontend-app
tag: 0.3.307
tag: 0.3.308
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import {
} from '@angular/core';
import { FormBuilder, FormControl, ReactiveFormsModule, Validators } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { Subject, takeUntil } from 'rxjs';
import { provideComponentStore } from '@ngrx/component-store';
Expand Down Expand Up @@ -84,8 +84,8 @@ interface UserRoleForm {
WattInputDirective,
WATT_FORM_FIELD,
WattDropdownComponent,
PushModule,
LetModule,
RxPush,
RxLet,
WATT_STEPPER,
WattEmptyStateComponent,
DhPermissionsTableComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from '@angular/core';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
import { PushModule } from '@rx-angular/template/push';
import { RxPush } from '@rx-angular/template/push';

import { WattButtonComponent } from '@energinet-datahub/watt/button';
import { WattModalComponent, WATT_MODAL } from '@energinet-datahub/watt/modal';
Expand Down Expand Up @@ -61,7 +61,7 @@ import { WattToastService } from '@energinet-datahub/watt/toast';
CommonModule,
TranslocoModule,
ReactiveFormsModule,
PushModule,
RxPush,
WATT_MODAL,
WattButtonComponent,
WattTabComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import { HttpStatusCode } from '@angular/common/http';
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { combineLatest, map, Subject, takeUntil, tap } from 'rxjs';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';

import { WattToastService } from '@energinet-datahub/watt/toast';
import { WattButtonComponent } from '@energinet-datahub/watt/button';
Expand Down Expand Up @@ -77,8 +77,8 @@ import { DhPermissionsTableComponent } from '@energinet-datahub/dh/admin/ui-perm
providers: [DhAdminUserRoleEditDataAccessApiStore, DhAdminMarketRolePermissionsStore],
imports: [
CommonModule,
PushModule,
LetModule,
RxPush,
RxLet,
WATT_MODAL,
WattButtonComponent,
TranslocoModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import { WattCheckboxComponent } from '@energinet-datahub/watt/checkbox';
import { DhAdminAssignableUserRolesStore } from '@energinet-datahub/dh/admin/data-access-api';
import { MarketParticipantUserRoleDto } from '@energinet-datahub/dh/shared/domain';
import { FormsModule } from '@angular/forms';
import { LetModule } from '@rx-angular/template/let';
import { PushModule } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { WattSpinnerComponent } from '@energinet-datahub/watt/spinner';
import { WattEmptyStateComponent } from '@energinet-datahub/watt/empty-state';
import { TranslocoModule } from '@ngneat/transloco';
Expand All @@ -37,8 +37,8 @@ import { takeUntil } from 'rxjs';
CommonModule,
WattCheckboxComponent,
FormsModule,
LetModule,
PushModule,
RxLet,
RxPush,
WattSpinnerComponent,
WattEmptyStateComponent,
TranslocoModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormBuilder, Validators, ReactiveFormsModule } from '@angular/forms';
import { PushModule } from '@rx-angular/template/push';
import { RxPush } from '@rx-angular/template/push';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { Subscription, tap } from 'rxjs';

Expand Down Expand Up @@ -67,7 +67,7 @@ import { danishPhoneNumberPattern } from '@energinet-datahub/dh/admin/domain';
WattInputDirective,
WATT_FORM_FIELD,
WattDropdownComponent,
PushModule,
RxPush,
DhAssignableUserRolesComponent,
WATT_STEPPER,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import {
SimpleChanges,
} from '@angular/core';
import { CommonModule } from '@angular/common';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { WattDatePipe } from '@energinet-datahub/watt/date';
import { WattSpinnerComponent } from '@energinet-datahub/watt/spinner';
import { WattTableColumnDef, WattTableDataSource, WATT_TABLE } from '@energinet-datahub/watt/table';
Expand All @@ -46,8 +46,8 @@ import { PermissionDto } from '@energinet-datahub/dh/shared/domain';
styleUrls: ['./dh-admin-permission-audit-logs.component.scss'],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
TranslocoModule,
WATT_CARD,
WattSpinnerComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { PermissionDto, graphql } from '@energinet-datahub/dh/shared/domain';
import { Apollo, QueryRef } from 'apollo-angular';
import { Subscription } from 'rxjs';
import { ApolloError } from '@apollo/client';
import { LetModule } from '@rx-angular/template/let';
import { RxLet } from '@rx-angular/template/let';
import type { ResultOf } from '@graphql-typed-document-node/core';

type MarketRole = ResultOf<
Expand Down Expand Up @@ -67,7 +67,7 @@ type MarketRole = ResultOf<
WATT_TABLE,
WattEmptyStateComponent,
TranslocoModule,
LetModule,
RxLet,
],
})
export class DhAdminPermissionMarketRolesComponent implements OnInit, OnChanges, OnDestroy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { PermissionDto, graphql } from '@energinet-datahub/dh/shared/domain';
import { Apollo, QueryRef } from 'apollo-angular';
import { Subscription } from 'rxjs';
import { ApolloError } from '@apollo/client';
import { LetModule } from '@rx-angular/template/let';
import { RxLet } from '@rx-angular/template/let';
import type { ResultOf } from '@graphql-typed-document-node/core';

type UserRole = ResultOf<
Expand Down Expand Up @@ -67,7 +67,7 @@ type UserRole = ResultOf<
WATT_TABLE,
WattEmptyStateComponent,
TranslocoModule,
LetModule,
RxLet,
],
})
export class DhAdminPermissionRolesComponent implements OnInit, OnChanges, OnDestroy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
} from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { PushModule } from '@rx-angular/template/push';
import { RxPush } from '@rx-angular/template/push';
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';

import { MarketParticipantUserOverviewItemDto } from '@energinet-datahub/dh/shared/domain';
Expand All @@ -54,7 +54,7 @@ import { HttpStatusCode } from '@angular/common/http';
WattTabsComponent,
WattInputDirective,
WATT_FORM_FIELD,
PushModule,
RxPush,
DhUserRolesComponent,
ReactiveFormsModule,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
DhAdminUserStatusStore,
} from '@energinet-datahub/dh/admin/data-access-api';
import { WattToastService } from '@energinet-datahub/watt/toast';
import { PushModule } from '@rx-angular/template/push';
import { RxPush } from '@rx-angular/template/push';

@Component({
encapsulation: ViewEncapsulation.None,
Expand All @@ -50,7 +50,7 @@ import { PushModule } from '@rx-angular/template/push';
templateUrl: './dh-user-drawer.component.html',
imports: [
CommonModule,
PushModule,
RxPush,
TranslocoModule,
WATT_DRAWER,
WattButtonComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { Component, EventEmitter, inject, Output, ViewChild } from '@angular/cor
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { CommonModule } from '@angular/common';
import { provideComponentStore } from '@ngrx/component-store';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';

import { WattDrawerComponent, WATT_DRAWER } from '@energinet-datahub/watt/drawer';
import { WattButtonComponent } from '@energinet-datahub/watt/button';
Expand Down Expand Up @@ -47,8 +47,8 @@ import { WattModalComponent, WATT_MODAL } from '@energinet-datahub/watt/modal';
WattButtonComponent,
DhRoleStatusComponent,
DhDrawerRoleTabsComponent,
PushModule,
LetModule,
RxPush,
RxLet,
WattSpinnerComponent,
DhTabDataGeneralErrorComponent,
DhEditUserRoleModalComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
import { Component, inject, Input, OnChanges, OnInit } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { TranslocoModule } from '@ngneat/transloco';
import { provideComponentStore } from '@ngrx/component-store';
import { takeUntil } from 'rxjs';
Expand Down Expand Up @@ -60,8 +60,8 @@ import { DhAuditChangeCellComponent } from './dh-audit-change-cell.component';
providers: [provideComponentStore(DhAdminUserRoleAuditLogsDataAccessApiStore)],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
TranslocoModule,
WATT_CARD,
WattSpinnerComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
import { Component, Input, OnChanges } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { WattDatePipe } from '@energinet-datahub/watt/date';
import {
DhAdminUserManagementAuditLogsDataAccessApiStore,
Expand All @@ -40,8 +40,8 @@ import { MarketParticipantUserOverviewItemDto } from '@energinet-datahub/dh/shar
providers: [provideComponentStore(DhAdminUserManagementAuditLogsDataAccessApiStore)],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
TranslocoModule,
WATT_CARD,
WattSpinnerComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
import { Component, OnInit, Output, EventEmitter, OnDestroy } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { Subject, takeUntil } from 'rxjs';
Expand Down Expand Up @@ -45,8 +45,8 @@ import { DhSharedUiSearchComponent } from '@energinet-datahub/dh/shared/ui-searc
],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
TranslocoModule,
WattDropdownComponent,
WATT_FORM_FIELD,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { CommonModule } from '@angular/common';
import { provideComponentStore } from '@ngrx/component-store';
import { translate, TranslocoModule, TranslocoService } from '@ngneat/transloco';
import { take } from 'rxjs';
import { PushModule } from '@rx-angular/template/push';
import { LetModule } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';

import { WATT_CARD } from '@energinet-datahub/watt/card';
import { DhSharedUiPaginatorComponent } from '@energinet-datahub/dh/shared/ui-paginator';
Expand Down Expand Up @@ -54,12 +54,12 @@ import { DhTabDataGeneralErrorComponent } from '../general-error/dh-tab-data-gen
WattButtonComponent,
WATT_CARD,
WattSpinnerComponent,
PushModule,
RxPush,
DhRolesTabTableComponent,
DhSharedUiPaginatorComponent,
DhRolesTabListFilterComponent,
DhTabDataGeneralErrorComponent,
LetModule,
RxLet,
DhPermissionRequiredDirective,
DhCreateUserRoleModalComponent,
WATT_MODAL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { provideComponentStore } from '@ngrx/component-store';
import { LetModule } from '@rx-angular/template/let';
import { PushModule } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';
import { TranslocoModule } from '@ngneat/transloco';

Expand Down Expand Up @@ -93,8 +93,8 @@ import { DhSharedUiSearchComponent } from '@energinet-datahub/dh/shared/ui-searc
],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
TranslocoModule,
WattSpinnerComponent,
WATT_CARD,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import {
} from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslocoModule } from '@ngneat/transloco';
import { LetModule } from '@rx-angular/template/let';
import { PushModule } from '@rx-angular/template/push';
import { RxLet } from '@rx-angular/template/let';
import { RxPush } from '@rx-angular/template/push';
import { WattCardComponent } from '@energinet-datahub/watt/card';
import { WattSpinnerComponent } from '@energinet-datahub/watt/spinner';
import {
Expand Down Expand Up @@ -59,8 +59,8 @@ import { WattBadgeComponent } from '@energinet-datahub/watt/badge';
styleUrls: ['./dh-user-roles.component.scss'],
imports: [
CommonModule,
LetModule,
PushModule,
RxLet,
RxPush,
WattSpinnerComponent,
WattCardComponent,
WATT_TABLE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import {
ChargeVatClassification,
} from '@energinet-datahub/dh/shared/domain';
import { WattToastService } from '@energinet-datahub/watt/toast';
import { PushModule } from '@rx-angular/template/push';
import { RxPush } from '@rx-angular/template/push';
import { Router } from '@angular/router';
import { dhChargesPath, dhChargesPricesPath } from '@energinet-datahub/dh/charges/routing';
import { add } from 'date-fns';
Expand All @@ -60,7 +60,7 @@ import { add } from 'date-fns';
imports: [
CommonModule,
FormsModule,
PushModule,
RxPush,
TranslocoModule,
ReactiveFormsModule,
WattButtonComponent,
Expand Down
Loading

0 comments on commit ef98ab8

Please sign in to comment.