mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Merge pull request #4977 from ninjadq/fix_observable_issues
Fix 'xxx' is not a function err
This commit is contained in:
commit
6a7ba4609f
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "harbor-ui",
|
||||
"version": "0.7.18-dev.8",
|
||||
"version": "0.7.19-dev.3",
|
||||
"description": "Harbor shared UI components based on Clarity and Angular4",
|
||||
"author": "VMware",
|
||||
"module": "index.js",
|
||||
|
@ -19,11 +19,15 @@ import {
|
||||
ChangeDetectionStrategy,
|
||||
ChangeDetectorRef
|
||||
} from "@angular/core";
|
||||
import { Subscription } from "rxjs/Subscription";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
import "rxjs/add/observable/forkJoin";
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
import { Comparator } from "clarity-angular";
|
||||
|
||||
import { Endpoint } from "../service/interface";
|
||||
import { EndpointService } from "../service/endpoint.service";
|
||||
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
|
||||
import { ErrorHandler } from "../error-handler/index";
|
||||
|
||||
import { ConfirmationMessage } from "../confirmation-dialog/confirmation-message";
|
||||
@ -36,18 +40,14 @@ import {
|
||||
ConfirmationButtons
|
||||
} from "../shared/shared.const";
|
||||
|
||||
import { Subscription } from "rxjs/Subscription";
|
||||
|
||||
import { CreateEditEndpointComponent } from "../create-edit-endpoint/create-edit-endpoint.component";
|
||||
|
||||
import { toPromise, CustomComparator } from "../utils";
|
||||
|
||||
import { Comparator } from "clarity-angular";
|
||||
import {
|
||||
BatchInfo,
|
||||
BathInfoChanges
|
||||
} from "../confirmation-dialog/confirmation-batch-message";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
|
||||
|
||||
@Component({
|
||||
selector: "hbr-endpoint",
|
||||
|
@ -25,6 +25,7 @@ import {
|
||||
SimpleChanges
|
||||
} from "@angular/core";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
import "rxjs/add/observable/forkJoin";
|
||||
import { Comparator } from "clarity-angular";
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
|
||||
|
@ -20,7 +20,11 @@ import {
|
||||
OnDestroy,
|
||||
EventEmitter
|
||||
} from "@angular/core";
|
||||
|
||||
import { Comparator, State } from "clarity-angular";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
import { Subscription } from "rxjs/Subscription";
|
||||
import 'rxjs/add/observable/forkJoin';
|
||||
import 'rxjs/add/observable/timer';
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
|
||||
import { ListReplicationRuleComponent } from "../list-replication-rule/list-replication-rule.component";
|
||||
@ -44,12 +48,8 @@ import {
|
||||
calculatePage
|
||||
} from "../utils";
|
||||
|
||||
import { Comparator } from "clarity-angular";
|
||||
|
||||
import { JobLogViewerComponent } from "../job-log-viewer/index";
|
||||
import { State } from "clarity-angular";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
import { Subscription } from "rxjs/Subscription";
|
||||
|
||||
import {
|
||||
ConfirmationTargets,
|
||||
ConfirmationButtons,
|
||||
|
@ -12,6 +12,7 @@ import {
|
||||
} from "@angular/core";
|
||||
import { Router } from "@angular/router";
|
||||
import { Observable } from "rxjs/Observable";
|
||||
import "rxjs/add/observable/forkJoin";
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
import { Comparator, State } from "clarity-angular";
|
||||
|
||||
|
@ -2,7 +2,9 @@ import { Observable } from "rxjs/Observable";
|
||||
import { Injectable, Inject } from "@angular/core";
|
||||
import { Http } from "@angular/http";
|
||||
import "rxjs/add/observable/of";
|
||||
|
||||
import 'rxjs/add/operator/catch';
|
||||
import 'rxjs/add/operator/map';
|
||||
import 'rxjs/add/observable/throw';
|
||||
import { SERVICE_CONFIG, IServiceConfig } from "../service.config";
|
||||
import { Project } from "../project-policy-config/project";
|
||||
import { ProjectPolicy } from "../project-policy-config/project-policy-config.component";
|
||||
|
@ -21,6 +21,11 @@ import {
|
||||
ChangeDetectorRef,
|
||||
ElementRef, AfterViewInit
|
||||
} from "@angular/core";
|
||||
import {Subject} from "rxjs/Subject";
|
||||
import {Observable} from "rxjs/Observable";
|
||||
import "rxjs/add/observable/forkJoin";
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
import { State, Comparator } from "clarity-angular";
|
||||
|
||||
import { TagService, VulnerabilitySeverity, RequestQueryParams } from "../service/index";
|
||||
import { ErrorHandler } from "../error-handler/error-handler";
|
||||
@ -48,14 +53,12 @@ import {
|
||||
clone,
|
||||
} from "../utils";
|
||||
|
||||
import { TranslateService } from "@ngx-translate/core";
|
||||
|
||||
import { State, Comparator } from "clarity-angular";
|
||||
import {CopyInputComponent} from "../push-image/copy-input.component";
|
||||
import {BatchInfo, BathInfoChanges} from "../confirmation-dialog/confirmation-batch-message";
|
||||
import {Observable} from "rxjs/Observable";
|
||||
|
||||
import {LabelService} from "../service/label.service";
|
||||
import {Subject} from "rxjs/Subject";
|
||||
|
||||
export interface LabelState {
|
||||
iconsShow: boolean;
|
||||
label: Label;
|
||||
|
@ -6,6 +6,8 @@ import {
|
||||
ChangeDetectorRef,
|
||||
ViewChild
|
||||
} from '@angular/core';
|
||||
import { Observable, Subscription } from 'rxjs/Rx';
|
||||
import "rxjs/add/observable/timer";
|
||||
|
||||
import { VULNERABILITY_SCAN_STATUS } from '../utils';
|
||||
import {
|
||||
@ -16,7 +18,6 @@ import {
|
||||
} from '../service/index';
|
||||
import { ErrorHandler } from '../error-handler/index';
|
||||
import { toPromise } from '../utils';
|
||||
import { Observable, Subscription } from 'rxjs/Rx';
|
||||
import { ChannelService } from '../channel/index';
|
||||
import { JobLogViewerComponent } from '../job-log-viewer/index';
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
"clarity-icons": "^0.10.27",
|
||||
"clarity-ui": "^0.10.27",
|
||||
"core-js": "^2.4.1",
|
||||
"harbor-ui": "0.7.18-dev.8",
|
||||
"harbor-ui": "0.7.19-dev.3",
|
||||
"intl": "^1.2.5",
|
||||
"mutationobserver-shim": "^0.3.2",
|
||||
"ngx-cookie": "^1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user