kwa(front): Fixes needed for Katib unit tests (kubeflow/kubeflow#6676)
* Fixes needed for Katib unit tests to run successfully. Signed-off-by: Elena Zioga <elena@arrikto.com> Signed-off-by: Elena Zioga <elena@arrikto.com>
This commit is contained in:
parent
decc7780c2
commit
dbd80b38c5
File diff suppressed because it is too large
Load Diff
|
|
@ -16,13 +16,13 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~12.0.5",
|
"@angular/animations": "~12.2.16",
|
||||||
"@angular/cdk": "^12.0.5",
|
"@angular/cdk": "^12.0.5",
|
||||||
"@angular/cdk-experimental": "^12.0.5",
|
"@angular/cdk-experimental": "^12.0.5",
|
||||||
"@angular/common": "~12.0.5",
|
"@angular/common": "~12.2.16",
|
||||||
"@angular/compiler": "~12.0.5",
|
"@angular/compiler": "~12.2.16",
|
||||||
"@angular/core": "~12.0.5",
|
"@angular/core": "~12.2.16",
|
||||||
"@angular/forms": "~12.0.5",
|
"@angular/forms": "~12.2.16",
|
||||||
"@angular/localize": "^12.0.5",
|
"@angular/localize": "^12.0.5",
|
||||||
"@angular/material": "^12.0.5",
|
"@angular/material": "^12.0.5",
|
||||||
"@angular/platform-browser": "^12.0.5",
|
"@angular/platform-browser": "^12.0.5",
|
||||||
|
|
@ -47,9 +47,9 @@
|
||||||
"@angular-eslint/schematics": "12.7.0",
|
"@angular-eslint/schematics": "12.7.0",
|
||||||
"@angular-eslint/template-parser": "12.7.0",
|
"@angular-eslint/template-parser": "12.7.0",
|
||||||
"@angular/cli": "~12.0.5",
|
"@angular/cli": "~12.0.5",
|
||||||
"@angular/compiler-cli": "~12.0.5",
|
"@angular/compiler-cli": "~12.2.16",
|
||||||
"@angular/language-service": "~12.0.5",
|
"@angular/language-service": "~12.2.16",
|
||||||
"@kubernetes/client-node": "^0.12.2",
|
"@kubernetes/client-node": "^0.16.3",
|
||||||
"@types/jasmine": "~3.6.0",
|
"@types/jasmine": "~3.6.0",
|
||||||
"@types/jasminewd2": "^2.0.9",
|
"@types/jasminewd2": "^2.0.9",
|
||||||
"@types/node": "^12.11.1",
|
"@types/node": "^12.11.1",
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
|
||||||
import { Condition, ConditionIR } from './types';
|
import { Condition, ConditionIR } from './types';
|
||||||
import { STATUS_TYPE } from '../resource-table/status/types';
|
import { STATUS_TYPE } from '../resource-table/status/types';
|
||||||
import { generateConfig } from './config';
|
import { generateConfig } from './config';
|
||||||
|
import { TableConfig } from '../resource-table/types';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'lib-conditions-table',
|
selector: 'lib-conditions-table',
|
||||||
|
|
@ -11,7 +12,7 @@ import { generateConfig } from './config';
|
||||||
})
|
})
|
||||||
export class ConditionsTableComponent {
|
export class ConditionsTableComponent {
|
||||||
private conditionsPrv: ConditionIR[] = [];
|
private conditionsPrv: ConditionIR[] = [];
|
||||||
public config = generateConfig();
|
public config: TableConfig = generateConfig();
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
set title(t: string) {
|
set title(t: string) {
|
||||||
|
|
|
||||||
|
|
@ -11,24 +11,16 @@
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"target": "es2015",
|
"target": "es2015",
|
||||||
"typeRoots": [
|
"typeRoots": ["node_modules/@types"],
|
||||||
"node_modules/@types"
|
"lib": ["es2018", "dom"],
|
||||||
],
|
|
||||||
"lib": [
|
|
||||||
"es2018",
|
|
||||||
"dom"
|
|
||||||
],
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"kubeflow": [
|
"kubeflow": ["dist/kubeflow"],
|
||||||
"dist/kubeflow"
|
"kubeflow/*": ["dist/kubeflow/*"]
|
||||||
],
|
},
|
||||||
"kubeflow/*": [
|
"allowSyntheticDefaultImports": true
|
||||||
"dist/kubeflow/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"fullTemplateTypeCheck": true,
|
"fullTemplateTypeCheck": true,
|
||||||
"strictInjectionParameters": true
|
"strictInjectionParameters": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue