mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	imports
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
import { Component, Directive, forwardRef, Input, OnInit } from '@angular/core';
 | 
					import { Directive, Input, OnInit } from '@angular/core';
 | 
				
			||||||
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
					import { ControlValueAccessor } from '@angular/forms';
 | 
				
			||||||
import { v4 as uuidv4 } from 'uuid';
 | 
					import { v4 as uuidv4 } from 'uuid';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Directive()
 | 
					@Directive()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
import { formatDate } from '@angular/common';
 | 
					import { formatDate } from '@angular/common';
 | 
				
			||||||
import { Component, forwardRef, Input, OnInit } from '@angular/core';
 | 
					import { Component, forwardRef, Input, OnInit } from '@angular/core';
 | 
				
			||||||
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
					import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
				
			||||||
import { AbstractInputComponent } from '../abstract-input';
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
  providers: [{
 | 
					  providers: [{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, EventEmitter, forwardRef, Input, OnInit, Output } from '@angular/core';
 | 
					import { Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
 | 
				
			||||||
import { NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
					import { NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
				
			||||||
import { AbstractInputComponent } from '../abstract-input';
 | 
					import { AbstractInputComponent } from '../abstract-input';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,6 @@
 | 
				
			|||||||
import { ThrowStmt } from '@angular/compiler';
 | 
					 | 
				
			||||||
import { Component, forwardRef, Input, OnInit } from '@angular/core';
 | 
					import { Component, forwardRef, Input, OnInit } from '@angular/core';
 | 
				
			||||||
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
					import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
 | 
				
			||||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
 | 
					import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
 | 
				
			||||||
import { Observable } from 'rxjs';
 | 
					 | 
				
			||||||
import { TagEditDialogComponent } from 'src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component';
 | 
					import { TagEditDialogComponent } from 'src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component';
 | 
				
			||||||
import { PaperlessTag } from 'src/app/data/paperless-tag';
 | 
					import { PaperlessTag } from 'src/app/data/paperless-tag';
 | 
				
			||||||
import { TagService } from 'src/app/services/rest/tag.service';
 | 
					import { TagService } from 'src/app/services/rest/tag.service';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
					import { Component, Input, OnInit } from '@angular/core';
 | 
				
			||||||
import { TAG_COLOURS, PaperlessTag } from 'src/app/data/paperless-tag';
 | 
					import { TAG_COLOURS, PaperlessTag } from 'src/app/data/paperless-tag';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
					import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
				
			||||||
import { DomSanitizer } from '@angular/platform-browser';
 | 
					import { DomSanitizer } from '@angular/platform-browser';
 | 
				
			||||||
import { PaperlessDocument } from 'src/app/data/paperless-document';
 | 
					import { PaperlessDocument } from 'src/app/data/paperless-document';
 | 
				
			||||||
import { PaperlessTag } from 'src/app/data/paperless-tag';
 | 
					 | 
				
			||||||
import { DocumentService } from 'src/app/services/rest/document.service';
 | 
					import { DocumentService } from 'src/app/services/rest/document.service';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
					import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
				
			||||||
import { map } from 'rxjs/operators';
 | 
					import { map } from 'rxjs/operators';
 | 
				
			||||||
import { PaperlessDocument } from 'src/app/data/paperless-document';
 | 
					import { PaperlessDocument } from 'src/app/data/paperless-document';
 | 
				
			||||||
import { PaperlessTag } from 'src/app/data/paperless-tag';
 | 
					 | 
				
			||||||
import { DocumentService } from 'src/app/services/rest/document.service';
 | 
					import { DocumentService } from 'src/app/services/rest/document.service';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,4 @@
 | 
				
			|||||||
import { Component, EventEmitter, Input, Output, ElementRef, ViewChild } from '@angular/core';
 | 
					import { Component, EventEmitter, Input, Output, ElementRef, ViewChild } from '@angular/core';
 | 
				
			||||||
import { Observable } from 'rxjs';
 | 
					 | 
				
			||||||
import { Results } from 'src/app/data/results';
 | 
					 | 
				
			||||||
import { ObjectWithId } from 'src/app/data/object-with-id';
 | 
					import { ObjectWithId } from 'src/app/data/object-with-id';
 | 
				
			||||||
import { FilterPipe } from  'src/app/pipes/filter.pipe';
 | 
					import { FilterPipe } from  'src/app/pipes/filter.pipe';
 | 
				
			||||||
import { NgbDropdown } from '@ng-bootstrap/ng-bootstrap'
 | 
					import { NgbDropdown } from '@ng-bootstrap/ng-bootstrap'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
 | 
					import { Component } from '@angular/core';
 | 
				
			||||||
import { FormControl, FormGroup } from '@angular/forms';
 | 
					import { FormControl, FormGroup } from '@angular/forms';
 | 
				
			||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 | 
					import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 | 
				
			||||||
import { EditDialogComponent } from 'src/app/components/common/edit-dialog/edit-dialog.component';
 | 
					import { EditDialogComponent } from 'src/app/components/common/edit-dialog/edit-dialog.component';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, OnInit } from '@angular/core';
 | 
					import { Component } from '@angular/core';
 | 
				
			||||||
import { FormControl, FormGroup } from '@angular/forms';
 | 
					import { FormControl, FormGroup } from '@angular/forms';
 | 
				
			||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 | 
					import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 | 
				
			||||||
import { EditDialogComponent } from 'src/app/components/common/edit-dialog/edit-dialog.component';
 | 
					import { EditDialogComponent } from 'src/app/components/common/edit-dialog/edit-dialog.component';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
import { Component, OnInit } from '@angular/core';
 | 
					import { Component, OnInit } from '@angular/core';
 | 
				
			||||||
import { FormControl, FormGroup } from '@angular/forms';
 | 
					import { FormControl, FormGroup } from '@angular/forms';
 | 
				
			||||||
import { Title } from '@angular/platform-browser';
 | 
					import { Title } from '@angular/platform-browser';
 | 
				
			||||||
import { map, tap } from 'rxjs/operators';
 | 
					 | 
				
			||||||
import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
 | 
					import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
 | 
				
			||||||
import { GENERAL_SETTINGS } from 'src/app/data/storage-keys';
 | 
					import { GENERAL_SETTINGS } from 'src/app/data/storage-keys';
 | 
				
			||||||
import { DocumentListViewService } from 'src/app/services/document-list-view.service';
 | 
					import { DocumentListViewService } from 'src/app/services/document-list-view.service';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -188,7 +188,6 @@ export class DocumentListViewService {
 | 
				
			|||||||
    let newPageSize = +localStorage.getItem(GENERAL_SETTINGS.DOCUMENT_LIST_SIZE) || GENERAL_SETTINGS.DOCUMENT_LIST_SIZE_DEFAULT
 | 
					    let newPageSize = +localStorage.getItem(GENERAL_SETTINGS.DOCUMENT_LIST_SIZE) || GENERAL_SETTINGS.DOCUMENT_LIST_SIZE_DEFAULT
 | 
				
			||||||
    if (newPageSize != this.currentPageSize) {
 | 
					    if (newPageSize != this.currentPageSize) {
 | 
				
			||||||
      this.currentPageSize = newPageSize
 | 
					      this.currentPageSize = newPageSize
 | 
				
			||||||
      //this.reload()
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
import { HttpClient, HttpParams } from '@angular/common/http'
 | 
					import { HttpClient, HttpParams } from '@angular/common/http'
 | 
				
			||||||
import { Observable, of, Subject } from 'rxjs'
 | 
					import { Observable } from 'rxjs'
 | 
				
			||||||
import { map, publishReplay, refCount } from 'rxjs/operators'
 | 
					import { map, publishReplay, refCount } from 'rxjs/operators'
 | 
				
			||||||
import { ObjectWithId } from 'src/app/data/object-with-id'
 | 
					import { ObjectWithId } from 'src/app/data/object-with-id'
 | 
				
			||||||
import { Results } from 'src/app/data/results'
 | 
					import { Results } from 'src/app/data/results'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
import { HttpClient } from '@angular/common/http';
 | 
					import { HttpClient } from '@angular/common/http';
 | 
				
			||||||
import { Injectable } from '@angular/core';
 | 
					import { Injectable } from '@angular/core';
 | 
				
			||||||
import { Subject } from 'rxjs';
 | 
					import { tap } from 'rxjs/operators';
 | 
				
			||||||
import { map, tap } from 'rxjs/operators';
 | 
					 | 
				
			||||||
import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
 | 
					import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
 | 
				
			||||||
import { AbstractPaperlessService } from './abstract-paperless-service';
 | 
					import { AbstractPaperlessService } from './abstract-paperless-service';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user