mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
IS-557: Bump packages (#105)
This commit is contained in:
parent
a84912a68f
commit
c9aa02f72e
4923
package-lock.json
generated
4923
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
72
package.json
72
package.json
@ -17,60 +17,60 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^8.2.8",
|
||||
"@angular/cdk": "^8.2.2",
|
||||
"@angular/common": "^8.2.8",
|
||||
"@angular/compiler": "^8.2.8",
|
||||
"@angular/core": "^8.2.8",
|
||||
"@angular/flex-layout": "^8.0.0-beta.27",
|
||||
"@angular/forms": "^8.2.8",
|
||||
"@angular/material": "^8.2.2",
|
||||
"@angular/material-moment-adapter": "^8.2.2",
|
||||
"@angular/platform-browser": "^8.2.8",
|
||||
"@angular/platform-browser-dynamic": "^8.2.8",
|
||||
"@angular/platform-server": "^8.2.8",
|
||||
"@angular/router": "^8.2.8",
|
||||
"@rbkmoney/partial-fetcher": "^1.0.4",
|
||||
"@angular/animations": "~8.2.14",
|
||||
"@angular/cdk": "~8.2.3",
|
||||
"@angular/common": "~8.2.14",
|
||||
"@angular/compiler": "~8.2.14",
|
||||
"@angular/core": "~8.2.14",
|
||||
"@angular/flex-layout": "~8.0.0-beta.27",
|
||||
"@angular/forms": "~8.2.14",
|
||||
"@angular/material": "~8.2.3",
|
||||
"@angular/material-moment-adapter": "~8.2.3",
|
||||
"@angular/platform-browser": "~8.2.14",
|
||||
"@angular/platform-browser-dynamic": "~8.2.14",
|
||||
"@angular/platform-server": "~8.2.14",
|
||||
"@angular/router": "~8.2.14",
|
||||
"@rbkmoney/partial-fetcher": "~1.0.4",
|
||||
"angular2-prettyjson": "3.0.1",
|
||||
"core-js": "^2.5.4",
|
||||
"core-js": "~2.5.4",
|
||||
"damsel": "git+ssh://git@github.com/rbkmoney/damsel.git#b563890354447a5e175a9a318b33233a926a5e9c",
|
||||
"fistful-proto": "git+ssh://git@github.com/rbkmoney/fistful-proto.git#6e653a244e7b2106908604c4692ee5ab4496af09",
|
||||
"hammerjs": "^2.0.8",
|
||||
"jsonc-parser": "^2.0.2",
|
||||
"hammerjs": "~2.0.8",
|
||||
"jsonc-parser": "~2.0.2",
|
||||
"keycloak-angular": "6.0.0",
|
||||
"keycloak-js": "4.5.0",
|
||||
"lodash-es": "^4.17.10",
|
||||
"lodash-es": "~4.17.10",
|
||||
"machinegun_proto": "git+ssh://git@github.com/rbkmoney/machinegun_proto.git#ebae56fe2b3e79e4eb34afc8cb55c9012ae989f8",
|
||||
"moment": "^2.22.2",
|
||||
"monaco-editor": "^0.15.6",
|
||||
"rxjs": "^6.5.3",
|
||||
"moment": "~2.22.2",
|
||||
"monaco-editor": "~0.15.6",
|
||||
"rxjs": "~6.5.4",
|
||||
"thrift-ts": "git+ssh://git@github.com/rbkmoney/thrift-ts.git#a5e3830ad30d5717e5e627ddcefa8f4d8918b174",
|
||||
"uuid": "^3.3.2",
|
||||
"uuid": "~3.3.2",
|
||||
"woody_js": "git+ssh://git@github.com/rbkmoney/woody_js.git#bc2c9f86cae470a0fe99730ca4a30b204058214b",
|
||||
"zone.js": "~0.8.26"
|
||||
"zone.js": "~0.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^0.803.6",
|
||||
"@angular/cli": "^8.3.6",
|
||||
"@angular/compiler-cli": "^8.2.8",
|
||||
"@angular-devkit/build-angular": "~0.803.23",
|
||||
"@angular/cli": "~8.3.23",
|
||||
"@angular/compiler-cli": "~8.2.14",
|
||||
"@types/jasmine": "~2.8.6",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/lodash-es": "^4.17.1",
|
||||
"@types/lodash-es": "~4.17.1",
|
||||
"@types/node": "~8.9.4",
|
||||
"@types/uuid": "^3.4.3",
|
||||
"codelyzer": "~4.2.1",
|
||||
"@types/uuid": "~3.4.3",
|
||||
"codelyzer": "~5.2.1",
|
||||
"jasmine-core": "~2.99.1",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
"jwt-decode": "^2.2.0",
|
||||
"karma": "^4.3.0",
|
||||
"jwt-decode": "~2.2.0",
|
||||
"karma": "~4.3.0",
|
||||
"karma-chrome-launcher": "~2.2.0",
|
||||
"karma-coverage-istanbul-reporter": "~2.0.0",
|
||||
"karma-coverage-istanbul-reporter": "~2.1.1",
|
||||
"karma-jasmine": "~1.1.1",
|
||||
"karma-jasmine-html-reporter": "^0.2.2",
|
||||
"prettier": "^1.15.3",
|
||||
"protractor": "^5.4.0",
|
||||
"karma-jasmine-html-reporter": "~0.2.2",
|
||||
"prettier": "~1.15.3",
|
||||
"protractor": "~5.4.2",
|
||||
"ts-node": "~5.0.1",
|
||||
"tslint": "~5.9.1",
|
||||
"typescript": "^3.4.5"
|
||||
"typescript": "~3.5.3"
|
||||
}
|
||||
}
|
||||
|
@ -7,10 +7,7 @@ describe('ClaimInfoDetailsComponent', () => {
|
||||
declarations: [ClaimInfoDetailsComponent]
|
||||
})
|
||||
.compileComponents()
|
||||
.then(() => {
|
||||
const fixture = TestBed.createComponent(ClaimInfoDetailsComponent);
|
||||
const rendered = fixture.debugElement.componentInstance;
|
||||
});
|
||||
.then();
|
||||
}));
|
||||
it('should create component', async(() => {
|
||||
const fixture = TestBed.createComponent(ClaimInfoDetailsComponent);
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatBottomSheet, MatDialog, MatSnackBar } from '@angular/material';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { Router } from '@angular/router';
|
||||
import { filter } from 'rxjs/operators';
|
||||
|
||||
import { ClaimService } from '../claim.service';
|
||||
@ -21,7 +21,6 @@ export class ClaimInfoComponent implements OnInit {
|
||||
claimID: number;
|
||||
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
private claimService: ClaimService,
|
||||
private bottomSheet: MatBottomSheet,
|
||||
|
@ -1,8 +1,7 @@
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
import { ClaimService } from '../claim.service';
|
||||
import { ClaimActionType } from '../claim-action-type';
|
||||
|
||||
interface RouteData {
|
||||
@ -16,8 +15,6 @@ interface RouteData {
|
||||
export class CloneClaimComponent {
|
||||
constructor(
|
||||
private dialogRef: MatDialogRef<CloneClaimComponent>,
|
||||
private claimService: ClaimService,
|
||||
private snackBar: MatSnackBar,
|
||||
private router: Router,
|
||||
@Inject(MAT_DIALOG_DATA) private data: RouteData
|
||||
) {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
import { ActionType, ModificationAction } from '../modification-action';
|
||||
@ -45,7 +45,6 @@ export class CreateModificationComponent implements OnInit {
|
||||
private route: ActivatedRoute,
|
||||
private dialogRef: MatDialogRef<CreateModificationComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: CreateModificationData,
|
||||
private snackBar: MatSnackBar,
|
||||
private claimService: ClaimService
|
||||
) {}
|
||||
|
||||
|
@ -6,7 +6,6 @@ import {
|
||||
ModificationUnitContainer,
|
||||
PartyModificationContainer
|
||||
} from '../model';
|
||||
import { ClaimService } from '../claim.service';
|
||||
import { PartyModificationContainerService } from './party-modification-container.service';
|
||||
import { CreateModificationComponent } from '../create-modification/create-modification.component';
|
||||
import { RemoveConfirmComponent } from './remove-confirm/remove-confirm.component';
|
||||
@ -29,7 +28,6 @@ export class PartyModificationContainerComponent implements OnInit {
|
||||
|
||||
constructor(
|
||||
private dialog: MatDialog,
|
||||
private claimService: ClaimService,
|
||||
private partyModificationContainerService: PartyModificationContainerService
|
||||
) {}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material';
|
||||
import { Router } from '@angular/router';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||
|
||||
import { ClaimService } from '../../claim.service';
|
||||
|
||||
@ -15,8 +14,6 @@ export class RemoveConfirmComponent {
|
||||
constructor(
|
||||
private dialogRef: MatDialogRef<RemoveConfirmComponent>,
|
||||
private claimService: ClaimService,
|
||||
private snackBar: MatSnackBar,
|
||||
private router: Router,
|
||||
@Inject(MAT_DIALOG_DATA) private data: RemoveData
|
||||
) {}
|
||||
|
||||
|
@ -3,7 +3,6 @@ import { MatBottomSheet } from '@angular/material';
|
||||
|
||||
import { PartyModificationUnit, ModificationGroupType } from '../model';
|
||||
import { UnitActionsComponent } from '../unit-actions/unit-actions.component';
|
||||
import { ClaimService } from '../claim.service';
|
||||
|
||||
@Component({
|
||||
selector: 'cc-party-modification-units',
|
||||
@ -11,7 +10,7 @@ import { ClaimService } from '../claim.service';
|
||||
styleUrls: ['./party-modification-units.component.css']
|
||||
})
|
||||
export class PartyModificationUnitsComponent {
|
||||
constructor(private claimService: ClaimService, private bottomSheet: MatBottomSheet) {}
|
||||
constructor(private bottomSheet: MatBottomSheet) {}
|
||||
|
||||
@Input()
|
||||
type: ModificationGroupType;
|
||||
|
@ -1,9 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { KeycloakService } from 'keycloak-angular';
|
||||
|
||||
import { FistfulAdminService } from '../../fistful/fistful-admin.service';
|
||||
import { FormBuilder, Validators } from '@angular/forms';
|
||||
|
||||
export interface CurrencySource {
|
||||
source: string;
|
||||
@ -21,18 +17,11 @@ export const currencies: CurrencySource[] = [
|
||||
|
||||
@Injectable()
|
||||
export class DepositsTableService {
|
||||
form: FormGroup;
|
||||
form = this.fb.group({
|
||||
destination: ['', Validators.required],
|
||||
amount: ['', [Validators.required, Validators.pattern(/^\d+([\,\.]\d{1,2})?$/)]],
|
||||
currency: [currencies[0], Validators.required]
|
||||
});
|
||||
|
||||
constructor(
|
||||
private fistfulAdminService: FistfulAdminService,
|
||||
private keycloakService: KeycloakService,
|
||||
private snackBar: MatSnackBar,
|
||||
private fb: FormBuilder
|
||||
) {
|
||||
this.form = this.fb.group({
|
||||
destination: ['', Validators.required],
|
||||
amount: ['', [Validators.required, Validators.pattern(/^\d+([\,\.]\d{1,2})?$/)]],
|
||||
currency: [currencies[0], Validators.required]
|
||||
});
|
||||
}
|
||||
constructor(private fb: FormBuilder) {}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FetchResult, PartialFetcher } from '@rbkmoney/partial-fetcher';
|
||||
import { Observable } from 'rxjs';
|
||||
import { filter, shareReplay, tap } from 'rxjs/operators';
|
||||
import { filter, shareReplay } from 'rxjs/operators';
|
||||
import * as moment from 'moment';
|
||||
|
||||
import { StatDeposit } from '../fistful/gen-model/fistful_stat';
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { parse } from '../../jsonc/json-parser';
|
||||
import {
|
||||
CodeLensProvider,
|
||||
ITextModel,
|
||||
|
@ -741,7 +741,7 @@ export class ObjectASTNode extends ASTNode {
|
||||
if (Array.isArray(schema.required)) {
|
||||
schema.required.forEach((propertyName: string) => {
|
||||
if (!seenKeys[propertyName]) {
|
||||
const key = this.parent && this.parent && (<PropertyASTNode>this.parent).key;
|
||||
const key = this.parent && (<PropertyASTNode>this.parent).key;
|
||||
const location = key
|
||||
? { start: key.start, end: key.end }
|
||||
: { start: this.start, end: this.start + 1 };
|
||||
|
@ -4,7 +4,6 @@ import {
|
||||
ElementRef,
|
||||
Output,
|
||||
EventEmitter,
|
||||
Directive,
|
||||
OnChanges,
|
||||
SimpleChanges,
|
||||
HostListener,
|
||||
|
@ -9,7 +9,7 @@ import { Category } from './model';
|
||||
export class CategoryService {
|
||||
private readonly papiEndpoint: string;
|
||||
|
||||
constructor(private http: HttpClient, private configService: ConfigService) {
|
||||
constructor(private http: HttpClient, configService: ConfigService) {
|
||||
this.papiEndpoint = configService.config.papiEndpoint;
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import { ClaimAcceptParams, ClaimDenyParams, ClaimSearchParams } from './params'
|
||||
export class ClaimService {
|
||||
private readonly papiEndpoint: string;
|
||||
|
||||
constructor(private http: HttpClient, private configService: ConfigService) {
|
||||
constructor(private http: HttpClient, configService: ConfigService) {
|
||||
this.papiEndpoint = configService.config.papiEndpoint;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ import { ContractTemplate } from './model';
|
||||
export class ContractService {
|
||||
private readonly papiEndpoint: string;
|
||||
|
||||
constructor(private http: HttpClient, private configService: ConfigService) {
|
||||
constructor(private http: HttpClient, configService: ConfigService) {
|
||||
this.papiEndpoint = configService.config.papiEndpoint;
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import { Party } from '../gen-damsel/domain';
|
||||
export class PartyService {
|
||||
private readonly papiEndpoint: string;
|
||||
|
||||
constructor(private http: HttpClient, private configService: ConfigService) {
|
||||
constructor(private http: HttpClient, configService: ConfigService) {
|
||||
this.papiEndpoint = configService.config.papiEndpoint;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import { Payout, PayoutsResponse } from './model';
|
||||
export class PayoutsService {
|
||||
private readonly papiEndpoint: string;
|
||||
|
||||
constructor(private http: HttpClient, private configService: ConfigService) {
|
||||
constructor(private http: HttpClient, configService: ConfigService) {
|
||||
this.papiEndpoint = configService.config.papiEndpoint;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnChanges, OnInit } from '@angular/core';
|
||||
import { Component, Input, OnChanges } from '@angular/core';
|
||||
import { FormBuilder, FormGroup } from '@angular/forms';
|
||||
import { get } from 'lodash-es';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||
import { FormGroup } from '@angular/forms';
|
||||
|
||||
import { EditTerminalDecisionPriorityService } from './edit-terminal-decision-priority.service';
|
||||
@ -22,7 +22,6 @@ export class EditTerminalDecisionPriorityComponent implements OnInit {
|
||||
constructor(
|
||||
private dialogRef: MatDialogRef<EditTerminalDecisionPriorityComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: EditPriorityData,
|
||||
private snackBar: MatSnackBar,
|
||||
private editPriorityService: EditTerminalDecisionPriorityService
|
||||
) {}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material';
|
||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
||||
import { FormGroup } from '@angular/forms';
|
||||
|
||||
import { EditTerminalDecisionWeightService } from './edit-terminal-decision-weight.service';
|
||||
@ -22,7 +22,6 @@ export class EditTerminalDecisionWeightComponent implements OnInit {
|
||||
constructor(
|
||||
private dialogRef: MatDialogRef<EditTerminalDecisionWeightComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: EditWeightData,
|
||||
private snackBar: MatSnackBar,
|
||||
private editWeightService: EditTerminalDecisionWeightService
|
||||
) {}
|
||||
|
||||
|
@ -158,17 +158,16 @@ const extractTerminalInfoGroup = (
|
||||
|
||||
const flattenGroup = (group: TerminalInfoGroup[]): FlattenTerminalInfoGroup[] =>
|
||||
group.reduce(
|
||||
(r, { terminalIds, disabled, predicateType, weights, priorities }) =>
|
||||
(r = [
|
||||
...r,
|
||||
...terminalIds.map((terminalId, idx) => ({
|
||||
terminalId,
|
||||
disabled,
|
||||
predicateType,
|
||||
weight: weights[idx],
|
||||
priority: priorities[idx]
|
||||
}))
|
||||
]),
|
||||
(r, { terminalIds, disabled, predicateType, weights, priorities }) => [
|
||||
...r,
|
||||
...terminalIds.map((terminalId, idx) => ({
|
||||
terminalId,
|
||||
disabled,
|
||||
predicateType,
|
||||
weight: weights[idx],
|
||||
priority: priorities[idx]
|
||||
}))
|
||||
],
|
||||
[]
|
||||
);
|
||||
|
||||
|
@ -2,12 +2,7 @@ import cloneDeep from 'lodash-es/cloneDeep';
|
||||
import last from 'lodash-es/last';
|
||||
import dropRight from 'lodash-es/dropRight';
|
||||
|
||||
import {
|
||||
ProviderObject,
|
||||
TerminalSelector,
|
||||
TerminalDecision,
|
||||
TerminalRef
|
||||
} from '../../gen-damsel/domain';
|
||||
import { ProviderObject, TerminalDecision, TerminalRef } from '../../gen-damsel/domain';
|
||||
import { toGenTerminalDecision } from '../converters';
|
||||
import { checkSelector } from './utils';
|
||||
|
||||
|
@ -50,6 +50,7 @@
|
||||
"use-life-cycle-interface": true,
|
||||
"use-pipe-transform-interface": true,
|
||||
"component-class-suffix": true,
|
||||
"directive-class-suffix": true
|
||||
"directive-class-suffix": true,
|
||||
"no-unused-variable": [true, { "ignore-pattern": "^_" }]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user