Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CSAN
Csan
Commits
8d9a18b5
Commit
8d9a18b5
authored
Sep 22, 2020
by
AllForNothing
Browse files
Update UI package to latest version
Signed-off-by:
AllForNothing
<
sshijun@vmware.com
>
parent
18f41bad
Changes
240
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
33 additions
and
33 deletions
+33
-33
src/portal/src/app/shared/about-dialog/about-dialog.component.spec.ts
...rc/app/shared/about-dialog/about-dialog.component.spec.ts
+2
-2
src/portal/src/app/shared/confirmation-dialog/confirmation-dialog.component.spec.ts
...confirmation-dialog/confirmation-dialog.component.spec.ts
+2
-2
src/portal/src/app/shared/gauge/gauge.component.spec.ts
src/portal/src/app/shared/gauge/gauge.component.spec.ts
+2
-2
src/portal/src/app/shared/inline-alert/inline-alert.component.spec.ts
...rc/app/shared/inline-alert/inline-alert.component.spec.ts
+2
-2
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.html
...ist-chart-version-ro/list-chart-version-ro.component.html
+3
-3
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.spec.ts
...-chart-version-ro/list-chart-version-ro.component.spec.ts
+2
-2
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.ts
.../list-chart-version-ro/list-chart-version-ro.component.ts
+1
-1
src/portal/src/app/shared/list-project-ro/list-project-ro.component.html
...app/shared/list-project-ro/list-project-ro.component.html
+1
-1
src/portal/src/app/shared/list-project-ro/list-project-ro.component.spec.ts
.../shared/list-project-ro/list-project-ro.component.spec.ts
+2
-2
src/portal/src/app/shared/list-repository-ro/list-repository-ro.component.html
...ared/list-repository-ro/list-repository-ro.component.html
+1
-1
src/portal/src/app/shared/list-repository-ro/list-repository-ro.component.spec.ts
...d/list-repository-ro/list-repository-ro.component.spec.ts
+2
-2
src/portal/src/app/shared/new-user-form/new-user-form.component.spec.ts
.../app/shared/new-user-form/new-user-form.component.spec.ts
+2
-2
src/portal/src/app/shared/not-found/not-found.component.spec.ts
...rtal/src/app/shared/not-found/not-found.component.spec.ts
+2
-2
src/portal/src/app/shared/route/member-guard-activate.service.spec.ts
...rc/app/shared/route/member-guard-activate.service.spec.ts
+1
-1
src/portal/src/app/shared/route/member-permission-guard-activate.service.spec.ts
...ed/route/member-permission-guard-activate.service.spec.ts
+1
-1
src/portal/src/app/shared/route/mode-guard-activate.service.spec.ts
.../src/app/shared/route/mode-guard-activate.service.spec.ts
+1
-1
src/portal/src/app/shared/route/oidc-guard-active.service.spec.ts
...al/src/app/shared/route/oidc-guard-active.service.spec.ts
+1
-1
src/portal/src/app/shared/route/sign-in-guard-activate.service.spec.ts
...c/app/shared/route/sign-in-guard-activate.service.spec.ts
+1
-1
src/portal/src/app/shared/statictics/statistics-panel.component.spec.ts
.../app/shared/statictics/statistics-panel.component.spec.ts
+2
-2
src/portal/src/app/shared/statictics/statistics.component.spec.ts
...al/src/app/shared/statictics/statistics.component.spec.ts
+2
-2
No files found.
src/portal/src/app/shared/about-dialog/about-dialog.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
"
@ngx-translate/core
"
;
import
{
AppConfigService
}
from
'
../../services/app-config.service
'
;
import
{
SkinableConfig
}
from
"
../../services/skinable-config.service
"
;
...
...
@@ -23,7 +23,7 @@ describe('AboutDialogComponent', () => {
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
AboutDialogComponent
],
imports
:
[
...
...
src/portal/src/app/shared/confirmation-dialog/confirmation-dialog.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
ConfirmationDialogComponent
}
from
'
./confirmation-dialog.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -22,7 +22,7 @@ describe('ConfirmationDialogComponent', () => {
cancel
:
()
=>
{
},
confirm
:
()
=>
{
},
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/gauge/gauge.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
GaugeComponent
}
from
'
./gauge.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -12,7 +12,7 @@ describe('GaugeComponent', () => {
let
component
:
GaugeComponent
;
let
fixture
:
ComponentFixture
<
GaugeComponent
>
;
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/inline-alert/inline-alert.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
InlineAlertComponent
}
from
'
./inline-alert.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -15,7 +15,7 @@ describe('InlineAlertComponent', () => {
let
component
:
InlineAlertComponent
;
let
fixture
:
ComponentFixture
<
InlineAlertComponent
>
;
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.html
View file @
8d9a18b5
...
...
@@ -15,11 +15,11 @@
<clr-dg-cell>
{{ chart.Chart.created | date}}
</clr-dg-cell>
</clr-dg-row>
<clr-dg-footer>
<clr-dg-pagination
#pagination
[clrDgPageSize]=
"5"
[clrDgTotalItems]=
"
pagination.totalItems
"
>
<span
*ngIf=
"
pagination.totalItems
"
>
<clr-dg-pagination
#pagination
[clrDgPageSize]=
"5"
[clrDgTotalItems]=
"
charts?.length
"
>
<span
*ngIf=
"
charts?.length
"
>
{{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} {{'HELM_CHART.OF' | translate}}
</span>
{{
pagination.totalItems
}} {{'HELM_CHART.ITEMS'| translate}}
{{
charts?.length
}} {{'HELM_CHART.ITEMS'| translate}}
</clr-dg-pagination>
</clr-dg-footer>
</clr-datagrid>
\ No newline at end of file
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
ListChartVersionRoComponent
}
from
'
./list-chart-version-ro.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -27,7 +27,7 @@ describe('ListChartVersionRoComponent', () => {
);
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/list-chart-version-ro/list-chart-version-ro.component.ts
View file @
8d9a18b5
...
...
@@ -12,7 +12,7 @@ import { ProjectService } from "../../../lib/services";
export
class
ListChartVersionRoComponent
implements
OnInit
{
@
Input
()
projectId
:
number
;
@
Input
()
charts
:
HelmChartSearchResultItem
;
@
Input
()
charts
:
HelmChartSearchResultItem
[]
;
constructor
(
private
searchTrigger
:
SearchTriggerService
,
...
...
src/portal/src/app/shared/list-project-ro/list-project-ro.component.html
View file @
8d9a18b5
...
...
@@ -10,7 +10,7 @@
<clr-dg-cell>
{{p.creation_time | date: 'short'}}
</clr-dg-cell>
</clr-dg-row>
<clr-dg-footer>
<span
*ngIf=
"p
agination.totalItems
"
>
{{pagination.firstItem + 1}} - {{pagination.lastItem +1 }} {{'PROJECT.OF' | translate}}
</span>
{{p
agination.totalItems
}} {{'PROJECT.ITEMS' | translate}}
<span
*ngIf=
"p
rojects?.length
"
>
{{pagination.firstItem + 1}} - {{pagination.lastItem +1 }} {{'PROJECT.OF' | translate}}
</span>
{{p
rojects?.length
}} {{'PROJECT.ITEMS' | translate}}
<clr-dg-pagination
#pagination
[clrDgPageSize]=
"5"
></clr-dg-pagination>
</clr-dg-footer>
</clr-datagrid>
\ No newline at end of file
src/portal/src/app/shared/list-project-ro/list-project-ro.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
ListProjectROComponent
}
from
'
./list-project-ro.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -16,7 +16,7 @@ describe('ListProjectROComponent', () => {
const
mockSearchTriggerService
=
{
closeSearch
:
()
=>
{
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/list-repository-ro/list-repository-ro.component.html
View file @
8d9a18b5
...
...
@@ -8,7 +8,7 @@
<clr-dg-cell>
{{r.pull_count}}
</clr-dg-cell>
</clr-dg-row>
<clr-dg-footer>
<span
*ngIf=
"
pagination.totalItems
"
>
{{pagination.firstItem + 1}} - {{pagination.lastItem +1 }} {{'REPOSITORY.OF' | translate}}
</span>
{{
pagination.totalItems
}} {{'REPOSITORY.ITEMS' | translate}}
<span
*ngIf=
"
repositories?.length
"
>
{{pagination.firstItem + 1}} - {{pagination.lastItem +1 }} {{'REPOSITORY.OF' | translate}}
</span>
{{
repositories?.length
}} {{'REPOSITORY.ITEMS' | translate}}
<clr-dg-pagination
#pagination
[clrDgPageSize]=
"5"
></clr-dg-pagination>
</clr-dg-footer>
</clr-datagrid>
\ No newline at end of file
src/portal/src/app/shared/list-repository-ro/list-repository-ro.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
ListRepositoryROComponent
}
from
'
./list-repository-ro.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -16,7 +16,7 @@ describe('ListRepositoryRoComponent', () => {
const
mockSearchTriggerService
=
{
closeSearch
:
()
=>
{
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/new-user-form/new-user-form.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
NewUserFormComponent
}
from
'
./new-user-form.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -16,7 +16,7 @@ describe('NewUserFormComponent', () => {
const
mockSessionService
=
{
getCurrentUser
:
()
=>
{
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/not-found/not-found.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
PageNotFoundComponent
}
from
'
./not-found.component
'
;
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'
@angular/core
'
;
...
...
@@ -16,7 +16,7 @@ describe('PageNotFoundComponent', () => {
const
mockRouter
=
{
navigate
:
()
=>
{}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/route/member-guard-activate.service.spec.ts
View file @
8d9a18b5
import
{
TestBed
,
async
,
inject
}
from
'
@angular/core/testing
'
;
import
{
TestBed
,
inject
}
from
'
@angular/core/testing
'
;
import
{
RouterTestingModule
}
from
'
@angular/router/testing
'
;
import
{
SessionService
}
from
'
../../shared/session.service
'
;
import
{
MemberGuard
}
from
'
./member-guard-activate.service
'
;
...
...
src/portal/src/app/shared/route/member-permission-guard-activate.service.spec.ts
View file @
8d9a18b5
import
{
TestBed
,
async
,
inject
}
from
'
@angular/core/testing
'
;
import
{
TestBed
,
inject
}
from
'
@angular/core/testing
'
;
import
{
RouterTestingModule
}
from
'
@angular/router/testing
'
;
import
{
MemberPermissionGuard
}
from
'
./member-permission-guard-activate.service
'
;
import
{
of
}
from
'
rxjs
'
;
...
...
src/portal/src/app/shared/route/mode-guard-activate.service.spec.ts
View file @
8d9a18b5
import
{
TestBed
,
a
sync
,
inject
}
from
'
@angular/core/testing
'
;
import
{
TestBed
,
waitForA
sync
,
inject
}
from
'
@angular/core/testing
'
;
import
{
RouterTestingModule
}
from
'
@angular/router/testing
'
;
import
{
ModeGuard
}
from
'
./mode-guard-activate.service
'
;
import
{
AppConfigService
}
from
'
../../services/app-config.service
'
;
...
...
src/portal/src/app/shared/route/oidc-guard-active.service.spec.ts
View file @
8d9a18b5
import
{
TestBed
,
async
,
inject
}
from
'
@angular/core/testing
'
;
import
{
TestBed
,
inject
}
from
'
@angular/core/testing
'
;
import
{
RouterTestingModule
}
from
'
@angular/router/testing
'
;
import
{
OidcGuard
}
from
'
./oidc-guard-active.service
'
;
import
{
AppConfigService
}
from
'
../../services/app-config.service
'
;
...
...
src/portal/src/app/shared/route/sign-in-guard-activate.service.spec.ts
View file @
8d9a18b5
import
{
TestBed
,
async
,
inject
}
from
'
@angular/core/testing
'
;
import
{
TestBed
,
inject
}
from
'
@angular/core/testing
'
;
import
{
RouterTestingModule
}
from
'
@angular/router/testing
'
;
import
{
SignInGuard
}
from
'
./sign-in-guard-activate.service
'
;
import
{
SessionService
}
from
'
../../shared/session.service
'
;
...
...
src/portal/src/app/shared/statictics/statistics-panel.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
TranslateModule
,
TranslateService
}
from
'
@ngx-translate/core
'
;
import
{
StatisticsPanelComponent
}
from
'
./statistics-panel.component
'
;
import
{
StatisticsComponent
}
from
'
./statistics.component
'
;
...
...
@@ -42,7 +42,7 @@ describe('StatisticsPanelComponent', () => {
const
mockRouter
=
{
navigate
:
()
=>
{
}
};
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
...
...
src/portal/src/app/shared/statictics/statistics.component.spec.ts
View file @
8d9a18b5
import
{
a
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
waitForA
sync
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
StatisticsComponent
}
from
'
./statistics.component
'
;
...
...
@@ -6,7 +6,7 @@ describe('StatisticsComponent', () => {
let
component
:
StatisticsComponent
;
let
fixture
:
ComponentFixture
<
StatisticsComponent
>
;
beforeEach
(
a
sync
(()
=>
{
beforeEach
(
waitForA
sync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
StatisticsComponent
]
})
...
...
Prev
1
…
5
6
7
8
9
10
11
12
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment