mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
feat: migrate everything to standalone and fix build errors
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, SimpleChanges, } from '@angular/core';
|
||||
import { ControlValueAccessor, UntypedFormBuilder, NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||
import { ControlValueAccessor, UntypedFormBuilder, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
||||
import { isEmpty } from '../../empty.util';
|
||||
import { NgClass } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-number-picker',
|
||||
@@ -9,6 +10,11 @@ import { isEmpty } from '../../empty.util';
|
||||
providers: [
|
||||
{provide: NG_VALUE_ACCESSOR, useExisting: NumberPickerComponent, multi: true}
|
||||
],
|
||||
imports: [
|
||||
NgClass,
|
||||
FormsModule
|
||||
],
|
||||
standalone: true
|
||||
})
|
||||
|
||||
export class NumberPickerComponent implements OnInit, ControlValueAccessor {
|
||||
|
Reference in New Issue
Block a user