Skip to content

Commit

Permalink
angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
k-genov committed Dec 3, 2024
1 parent de0d580 commit 5a7f0db
Show file tree
Hide file tree
Showing 23 changed files with 8,791 additions and 5,928 deletions.
3 changes: 1 addition & 2 deletions apps/workbench-testing-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {NavigationCancel, NavigationEnd, NavigationError, Router, RouterOutlet}
import {UUID} from '@scion/toolkit/uuid';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
import {DOCUMENT} from '@angular/common';
import {WORKBENCH_ID, WorkbenchService, WorkbenchStartup, WorkbenchViewMenuItemDirective} from '@scion/workbench';
import {WORKBENCH_ID, WorkbenchService, WorkbenchStartup} from '@scion/workbench';
import {HeaderComponent} from './header/header.component';
import {fromEvent} from 'rxjs';
import {subscribeIn} from '@scion/toolkit/operators';
Expand All @@ -28,7 +28,6 @@ import {SettingsService} from './settings.service';
imports: [
RouterOutlet,
HeaderComponent,
WorkbenchViewMenuItemDirective,
],
})
export class AppComponent implements DoCheck {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import {Component, forwardRef, Input} from '@angular/core';
import {AbstractControl, ControlValueAccessor, FormControl, FormGroup, NG_VALIDATORS, NG_VALUE_ACCESSOR, NonNullableFormBuilder, ReactiveFormsModule, ValidationErrors, Validator, Validators} from '@angular/forms';
import {SciFormFieldComponent} from '@scion/components.internal/form-field';
import {noop} from 'rxjs';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
import {SciCheckboxComponent} from '@scion/components.internal/checkbox';
Expand All @@ -25,7 +24,6 @@ import {UUID} from '@scion/toolkit/uuid';
standalone: true,
imports: [
ReactiveFormsModule,
SciFormFieldComponent,
SciCheckboxComponent,
SciMaterialIconDirective,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {noop} from 'rxjs';
import {AbstractControl, ControlValueAccessor, FormControl, FormGroup, NG_VALIDATORS, NG_VALUE_ACCESSOR, NonNullableFormBuilder, ReactiveFormsModule, ValidationErrors, Validator, Validators} from '@angular/forms';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
import {SciCheckboxComponent} from '@scion/components.internal/checkbox';
import {SciFormFieldComponent} from '@scion/components.internal/form-field';
import {SciMaterialIconDirective} from '@scion/components.internal/material-icon';
import {CssClassComponent} from '../../../css-class/css-class.component';
import {UUID} from '@scion/toolkit/uuid';
Expand All @@ -26,7 +25,6 @@ import {UUID} from '@scion/toolkit/uuid';
imports: [
ReactiveFormsModule,
SciCheckboxComponent,
SciFormFieldComponent,
SciMaterialIconDirective,
CssClassComponent,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import {Component, forwardRef, Input} from '@angular/core';
import {noop} from 'rxjs';
import {AbstractControl, ControlValueAccessor, FormControl, FormGroup, NG_VALIDATORS, NG_VALUE_ACCESSOR, NonNullableFormBuilder, ReactiveFormsModule, ValidationErrors, Validator, Validators} from '@angular/forms';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
import {SciCheckboxComponent} from '@scion/components.internal/checkbox';
import {SciFormFieldComponent} from '@scion/components.internal/form-field';
import {SciMaterialIconDirective} from '@scion/components.internal/material-icon';
import {Commands, NavigationData, NavigationState} from '@scion/workbench';
import {RouterCommandsComponent} from '../../../router-commands/router-commands.component';
Expand All @@ -28,8 +26,6 @@ import {RecordComponent} from '../../../record/record.component';
standalone: true,
imports: [
ReactiveFormsModule,
SciCheckboxComponent,
SciFormFieldComponent,
SciMaterialIconDirective,
RouterCommandsComponent,
RecordComponent,
Expand Down
3 changes: 1 addition & 2 deletions apps/workbench-testing-app/src/app/menu/menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {Component, DestroyRef, HostListener, Inject, InjectionToken, Injector, O
import {OverlayRef} from '@angular/cdk/overlay';
import {fromEvent} from 'rxjs';
import {MenuItem, MenuItemSeparator} from './menu-item';
import {KeyValuePipe, NgClass} from '@angular/common';
import {NgClass} from '@angular/common';
import {InstanceofPipe} from '../common/instanceof.pipe';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
import {SciMaterialIconDirective} from '@scion/components.internal/material-icon';
Expand All @@ -29,7 +29,6 @@ export const MENU_ITEMS = new InjectionToken<Array<MenuItem | MenuItemSeparator>
standalone: true,
imports: [
NgClass,
KeyValuePipe,
InstanceofPipe,
SciMaterialIconDirective,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import {Popup} from '@scion/workbench';
import {UUID} from '@scion/toolkit/uuid';
import {SciViewportComponent} from '@scion/components/viewport';
import {FormsModule, NonNullableFormBuilder, ReactiveFormsModule} from '@angular/forms';
import {NullIfEmptyPipe} from '../common/null-if-empty.pipe';
import {JsonPipe} from '@angular/common';
import {SciFormFieldComponent} from '@scion/components.internal/form-field';
import {SciAccordionComponent, SciAccordionItemDirective} from '@scion/components.internal/accordion';
import {SciCheckboxComponent} from '@scion/components.internal/checkbox';
Expand All @@ -25,9 +23,7 @@ import {SciCheckboxComponent} from '@scion/components.internal/checkbox';
styleUrls: ['./popup-page.component.scss'],
standalone: true,
imports: [
JsonPipe,
FormsModule,
NullIfEmptyPipe,
SciViewportComponent,
SciFormFieldComponent,
SciAccordionComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {Component, HostListener, inject, signal, WritableSignal} from '@angular/
import {Skeletons} from '../skeletons.util';
import {NgClass} from '@angular/common';
import {WorkbenchView} from '@scion/workbench';
import {SciMaterialIconDirective} from '@scion/components.internal/material-icon';
import {Chart} from './chart';

/**
Expand All @@ -27,7 +26,6 @@ import {Chart} from './chart';
standalone: true,
imports: [
NgClass,
SciMaterialIconDirective,
],
})
export class ChartSkeletonComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

import {ChangeDetectionStrategy, ChangeDetectorRef, Component, effect, HostBinding, HostListener, Optional, ViewChild} from '@angular/core';
import {WorkbenchConfig, WorkbenchRouteData, WorkbenchRouter, WorkbenchRouterLinkDirective, WorkbenchService, WorkbenchView} from '@scion/workbench';
import {WorkbenchConfig, WorkbenchRouteData, WorkbenchRouter, WorkbenchService, WorkbenchView} from '@scion/workbench';
import {Capability, IntentClient, ManifestService} from '@scion/microfrontend-platform';
import {Observable, of} from 'rxjs';
import {WorkbenchCapabilities, WorkbenchPopupService as WorkbenchClientPopupService, WorkbenchRouter as WorkbenchClientRouter, WorkbenchViewCapability} from '@scion/workbench-client';
Expand Down Expand Up @@ -40,7 +40,6 @@ import {SciTabbarComponent, SciTabDirective} from '@scion/components.internal/ta
SciTabDirective,
FilterPipe,
ArrayConcatPipe,
WorkbenchRouterLinkDirective,
],
})
export default class StartPageComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {ActivatedRoute} from '@angular/router';
import {UUID} from '@scion/toolkit/uuid';
import {FormsModule, NonNullableFormBuilder, ReactiveFormsModule} from '@angular/forms';
import {Arrays} from '@scion/toolkit/util';
import {AsyncPipe, NgClass} from '@angular/common';
import {AsyncPipe} from '@angular/common';
import {NullIfEmptyPipe} from '../common/null-if-empty.pipe';
import {JoinPipe} from '../common/join.pipe';
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';
Expand All @@ -34,7 +34,6 @@ import {CanClose} from '@scion/workbench-client';
styleUrls: ['./view-page.component.scss'],
standalone: true,
imports: [
NgClass,
AsyncPipe,
FormsModule,
ReactiveFormsModule,
Expand Down Expand Up @@ -118,7 +117,7 @@ export default class ViewPageComponent {
else {
console.debug(`[ViewDeactivate] [component=ViewPageComponent@${this.uuid}]`);
}
});
}, {forceRoot: true});
}

private installCssClassUpdater(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {Component, effect, OnDestroy, untracked} from '@angular/core';
import {ActivatedRoute} from '@angular/router';
import {distinct, map} from 'rxjs/operators';
import {coerceBooleanProperty} from '@angular/cdk/coercion';
import {AsyncPipe} from '@angular/common';
import {toSignal} from '@angular/core/rxjs-interop';
import {WorkbenchComponent as ScionWorkbenchComponent, WorkbenchDialogService, WorkbenchPart, WorkbenchPartActionDirective, WorkbenchRouter, WorkbenchRouterLinkDirective, WorkbenchService, WorkbenchView, WorkbenchViewMenuItemDirective} from '@scion/workbench';
import {SciMaterialIconDirective} from '@scion/components.internal/material-icon';
Expand All @@ -25,7 +24,6 @@ import {ViewInfoDialogComponent} from '../view-info-dialog/view-info-dialog.comp
templateUrl: './workbench.component.html',
standalone: true,
imports: [
AsyncPipe,
SciMaterialIconDirective,
ScionWorkbenchComponent,
WorkbenchPartActionDirective,
Expand Down
Loading

0 comments on commit 5a7f0db

Please sign in to comment.