convert limit by to standalone component
This commit is contained in:
@@ -24,7 +24,6 @@ import { MatTooltipModule } from "@angular/material/tooltip";
|
||||
import { OverlayModule } from "@angular/cdk/overlay";
|
||||
import { YAxisDefinitionComponent } from "./y-axis-definition/y-axis-definition.component";
|
||||
import { QueryAutocompleteComponent } from "./query-autocomplete/query-autocomplete.component";
|
||||
import { LimitByComponent } from "./limit-by/limit-by.component";
|
||||
import { PlotDetailsComponent } from "./plot-details/plot-details.component";
|
||||
import { PlotViewComponent } from "./plot-view/plot-view.component";
|
||||
import {
|
||||
@@ -54,13 +53,13 @@ import { ConfirmationDialogComponent } from "./confirmation-dialog/confirmation-
|
||||
import { FocusDirective } from "./focus.directive";
|
||||
import { MarkdownModule } from "ngx-markdown";
|
||||
import { MainPageComponent } from "./main-page/main-page.component";
|
||||
import { LimitByComponent } from "./limit-by/limit-by.component";
|
||||
|
||||
@NgModule({ declarations: [
|
||||
AppComponent,
|
||||
VisualizationPageComponent,
|
||||
YAxisDefinitionComponent,
|
||||
QueryAutocompleteComponent,
|
||||
LimitByComponent,
|
||||
PlotDetailsComponent,
|
||||
PlotViewComponent,
|
||||
GalleryViewComponent,
|
||||
@@ -85,6 +84,7 @@ import { MainPageComponent } from "./main-page/main-page.component";
|
||||
ReactiveFormsModule,
|
||||
DatePickerComponent,
|
||||
DragDropModule,
|
||||
LimitByComponent,
|
||||
MainPageComponent,
|
||||
MatAutocompleteModule,
|
||||
MatBadgeModule,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AfterViewInit, Component, ElementRef, Inject, ViewChild } from '@angular/core';
|
||||
import { Component, Inject, ViewChild } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { PlotConfig } from 'src/app/plot.service';
|
||||
import { VisualizationPageComponent } from 'src/app/visualization-page/visualization-page.component';
|
||||
|
||||
@@ -1,10 +1,25 @@
|
||||
import { Component, Input} from '@angular/core';
|
||||
import {FormControl} from '@angular/forms';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatFormField, MatLabel } from '@angular/material/form-field';
|
||||
import { MatInput } from '@angular/material/input';
|
||||
import { MatOption, MatSelect } from '@angular/material/select';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
|
||||
@Component({
|
||||
selector: 'pdb-limit-by',
|
||||
templateUrl: './limit-by.component.html',
|
||||
styleUrls: ['./limit-by.component.scss']
|
||||
styleUrls: ['./limit-by.component.scss'],
|
||||
standalone: true,
|
||||
imports: [
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
MatFormField,
|
||||
MatInput,
|
||||
MatLabel,
|
||||
MatSelect,
|
||||
MatOption,
|
||||
ReactiveFormsModule
|
||||
]
|
||||
})
|
||||
export class LimitByComponent {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user