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:
Elena Zioga 2022-10-19 15:38:58 +03:00 committed by GitHub
parent decc7780c2
commit dbd80b38c5
4 changed files with 868 additions and 264 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,13 +16,13 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~12.0.5",
"@angular/animations": "~12.2.16",
"@angular/cdk": "^12.0.5",
"@angular/cdk-experimental": "^12.0.5",
"@angular/common": "~12.0.5",
"@angular/compiler": "~12.0.5",
"@angular/core": "~12.0.5",
"@angular/forms": "~12.0.5",
"@angular/common": "~12.2.16",
"@angular/compiler": "~12.2.16",
"@angular/core": "~12.2.16",
"@angular/forms": "~12.2.16",
"@angular/localize": "^12.0.5",
"@angular/material": "^12.0.5",
"@angular/platform-browser": "^12.0.5",
@ -47,9 +47,9 @@
"@angular-eslint/schematics": "12.7.0",
"@angular-eslint/template-parser": "12.7.0",
"@angular/cli": "~12.0.5",
"@angular/compiler-cli": "~12.0.5",
"@angular/language-service": "~12.0.5",
"@kubernetes/client-node": "^0.12.2",
"@angular/compiler-cli": "~12.2.16",
"@angular/language-service": "~12.2.16",
"@kubernetes/client-node": "^0.16.3",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "^2.0.9",
"@types/node": "^12.11.1",

View File

@ -2,6 +2,7 @@ import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
import { Condition, ConditionIR } from './types';
import { STATUS_TYPE } from '../resource-table/status/types';
import { generateConfig } from './config';
import { TableConfig } from '../resource-table/types';
@Component({
selector: 'lib-conditions-table',
@ -11,7 +12,7 @@ import { generateConfig } from './config';
})
export class ConditionsTableComponent {
private conditionsPrv: ConditionIR[] = [];
public config = generateConfig();
public config: TableConfig = generateConfig();
@Input()
set title(t: string) {

View File

@ -11,24 +11,16 @@
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"paths": {
"kubeflow": [
"dist/kubeflow"
],
"kubeflow/*": [
"dist/kubeflow/*"
]
}
"kubeflow": ["dist/kubeflow"],
"kubeflow/*": ["dist/kubeflow/*"]
},
"allowSyntheticDefaultImports": true
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
}