This commit is contained in:
k.struzhkin 2021-07-27 16:33:47 +03:00
parent 3e355f3797
commit d9a5a11572
10 changed files with 25 additions and 19 deletions

View File

@ -1,4 +1,5 @@
import { NgModule } from '@angular/core';
import { PaymentHistoricalDataService } from './payment-historical-data.service';
@NgModule({

View File

@ -3,9 +3,9 @@ import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { ConfigService } from '../../../config';
import { SearchHistoricalParams } from '../../../sections/historical-data/search-historical-params';
import { filterParameters } from '../../../shared/utils/filter-params';
import { PaymentResponse } from '../../fb-management/swagger-codegen/model/paymentResponse';
import { SearchHistoricalParams } from '../../../sections/historical-data/search-historical-params';
@Injectable()
export class PaymentHistoricalDataService {

View File

@ -1,4 +1,5 @@
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
import { LAYOUT_GAP_M } from '../../../../../../../tokens';
@Component({

View File

@ -1,4 +1,5 @@
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
import { Payment } from '../../../../../../../api/fb-management/swagger-codegen/model/payment';
import { LAYOUT_GAP_M, LAYOUT_GAP_S } from '../../../../../../../tokens';

View File

@ -1,4 +1,5 @@
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
import { Payment } from '../../../../../api/fb-management/swagger-codegen/model/payment';
import { LAYOUT_GAP_M } from '../../../../../tokens';

View File

@ -5,11 +5,11 @@ import { MatButtonModule } from '@angular/material/button';
import { MatDividerModule } from '@angular/material/divider';
import { MatExpansionModule } from '@angular/material/expansion';
import { ListHeaderModule } from '../../../../../shared/components/list-header';
import { SharedPipesModule } from '../../../../../shared/pipes';
import { HistoricalDataPaymentHeaderComponent } from './components/template-header/historical-data-payment-header.component';
import { HistoricalDataPaymentItemComponent } from './components/template-item/historical-data-payment-item.component';
import { HistoricalDataPaymentListComponent } from './historical-data-payment-list.component';
import { SharedPipesModule } from '../../../../../shared/pipes';
import { ListHeaderModule } from '../../../../../shared/components/list-header';
@NgModule({
imports: [

View File

@ -1,8 +1,9 @@
import { DatePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
import { Router } from '@angular/router';
import { LAYOUT_GAP_M } from '../../../../tokens';
import { FetchHistoricalPaymentsService } from '../../services/fetch-historical-payments.service';
import { DatePipe } from '@angular/common';
@Component({
templateUrl: 'historical-payments-data.component.html',

View File

@ -3,8 +3,8 @@ import { FormBuilder, FormGroup } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { debounceTime, map, take } from 'rxjs/operators';
import { removeEmptyProperties } from '../../../../shared/utils/remove-empty-properties';
import { SearchFieldService } from '../../../../shared/services/utils/search-field.service';
import { removeEmptyProperties } from '../../../../shared/utils/remove-empty-properties';
@Component({
selector: 'fb-history-data-search',

View File

@ -1,9 +1,16 @@
import {
NgxMatDatetimePickerModule,
NgxMatNativeDateModule,
NgxMatTimepickerModule,
} from '@angular-material-components/datetime-picker';
import { CommonModule, DatePipe } from '@angular/common';
import { NgModule } from '@angular/core';
import { FlexModule } from '@angular/flex-layout';
import { ReactiveFormsModule } from '@angular/forms';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatNativeDateModule } from '@angular/material/core';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDividerModule } from '@angular/material/divider';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
@ -17,23 +24,17 @@ import { MatSortModule } from '@angular/material/sort';
import { MatTableModule } from '@angular/material/table';
import { MatTabsModule } from '@angular/material/tabs';
import { MatToolbarModule } from '@angular/material/toolbar';
import { PaymentHistoricalDataService } from '../../api/payments/historical-data';
import { EmptySearchResultModule } from '../../shared/components/empty-search-result';
import { ShowMorePanelModule } from '../../shared/components/show-more-panel';
import { SearchFieldService } from '../../shared/services/utils/search-field.service';
import { HistoricalDataPaymentListModule } from './components/payments/historical-payment-list';
import { HistoricalPaymentsDataComponent } from './components/payments/historical-payments-data.component';
import { HistoryDataSearchComponent } from './components/search/history-data-search.component';
import { HistoricalDataRoutingModule } from './historical-data-routing.module';
import { HistoricalDataComponent } from './historical-data.component';
import { FetchHistoricalPaymentsService } from './services/fetch-historical-payments.service';
import { PaymentHistoricalDataService } from '../../api/payments/historical-data';
import { HistoricalDataPaymentListModule } from './components/payments/historical-payment-list';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatNativeDateModule } from '@angular/material/core';
import {
NgxMatDatetimePickerModule,
NgxMatNativeDateModule,
NgxMatTimepickerModule,
} from '@angular-material-components/datetime-picker';
import { HistoryDataSearchComponent } from './components/search/history-data-search.component';
import { SearchFieldService } from '../../shared/services/utils/search-field.service';
@NgModule({
declarations: [HistoricalDataComponent, HistoricalPaymentsDataComponent, HistoryDataSearchComponent],

View File

@ -3,13 +3,13 @@ import { Observable } from 'rxjs';
import { shareReplay } from 'rxjs/operators';
import { Payment } from '../../../api/fb-management/swagger-codegen/model/payment';
import { PaymentHistoricalDataService } from '../../../api/payments/historical-data';
import { ConfigService } from '../../../config';
import { SortOrder } from '../../../shared/constants/sort-order';
import { booleanDelay } from '../../../shared/operators';
import { PartialFetcher } from '../../../shared/utils/partial-fetcher';
import { PaymentHistoricalDataService } from '../../../api/payments/historical-data';
import { FetchResultContinuation } from '../../../shared/utils/partial-fetcher/fetch-result-continuation';
import { SearchFieldService } from '../../../shared/services/utils/search-field.service';
import { PartialFetcher } from '../../../shared/utils/partial-fetcher';
import { FetchResultContinuation } from '../../../shared/utils/partial-fetcher/fetch-result-continuation';
export interface FetchPaymentParams {
searchValue?: string;