diff --git a/.github/PULL_REQUEST_TEMPATE.md b/.github/PULL_REQUEST_TEMPATE.md new file mode 100644 index 0000000..bd84c0d --- /dev/null +++ b/.github/PULL_REQUEST_TEMPATE.md @@ -0,0 +1,31 @@ +## Description + + + +### What's included? + + + +- One +- Two +- Three + +#### Test Steps + + + +- [ ] `npm ci` +- [ ] In `proxy.conf.js` file, change serverUrl to `https://appcenter.ux.ac.uda.io` +- [ ] `npm run serve` +- [ ] then this +- [ ] finally this + +#### General Tests for Every PR + +- [ ] `npm run serve:prod` still works. +- [ ] `npm run tslint` passes. +- [ ] `npm run stylelint` passes. +- [ ] `npm test` passes and code coverage is not lower. +- [ ] `npm run build:lib` still works. + +##### Screenshots or link to StackBlitz/Plunker diff --git a/angular.json b/angular.json index bfae178..3056771 100644 --- a/angular.json +++ b/angular.json @@ -69,11 +69,13 @@ "serve": { "builder": "@angular-builders/custom-webpack:dev-server", "options": { - "browserTarget": "docs-ui:build" + "browserTarget": "docs-ui:build", + "proxyConfig": "./proxy.conf.js" }, "configurations": { "production": { - "browserTarget": "docs-ui:build:production" + "browserTarget": "docs-ui:build:production", + "proxyConfig": "./proxy.conf.js" } } }, diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 81aae6a..350e851 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,36 @@ + + +# [1.0.0-beta.5](https://github.com/Teradata/vantage-ui-platform/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2020-09-03) + +### Bug Fixes + +- firefox bfCache caching ([#113](https://github.com/Teradata/vantage-ui-platform/issues/113)) ([7b10c04](https://github.com/Teradata/vantage-ui-platform/commit/7b10c04)) +- **app-switcher-close:** close exp panel on menu close, detect changes ([dec8642](https://github.com/Teradata/vantage-ui-platform/commit/dec8642)) +- **app-switcher-close:** more change detection ([ae53957](https://github.com/Teradata/vantage-ui-platform/commit/ae53957)) +- **app-switcher-close:** reverted menu component change detection ([171645c](https://github.com/Teradata/vantage-ui-platform/commit/171645c)) +- **app-switcher-close:** updated demo links ([e09d5a4](https://github.com/Teradata/vantage-ui-platform/commit/e09d5a4)) +- **build:** missing directory ([#118](https://github.com/Teradata/vantage-ui-platform/issues/118)) ([6b437a7](https://github.com/Teradata/vantage-ui-platform/commit/6b437a7)) +- **color:** set body color based on mode ([3409f1f](https://github.com/Teradata/vantage-ui-platform/commit/3409f1f)) +- **query:** update data iinterface ([#111](https://github.com/Teradata/vantage-ui-platform/issues/111)) ([c9e55f7](https://github.com/Teradata/vantage-ui-platform/commit/c9e55f7)) + +### Features + +- **app-switcher:** Allow for open in new tab ([#108](https://github.com/Teradata/vantage-ui-platform/issues/108)) ([20bced8](https://github.com/Teradata/vantage-ui-platform/commit/20bced8)) +- **assets-url-change:** relocated assets service url ([#121](https://github.com/Teradata/vantage-ui-platform/issues/121)) ([01227c8](https://github.com/Teradata/vantage-ui-platform/commit/01227c8)) +- **num-vals-as-str:** result set numeric values as strings ([#106](https://github.com/Teradata/vantage-ui-platform/issues/106)) ([778bddf](https://github.com/Teradata/vantage-ui-platform/commit/778bddf)) +- **nums-as-strings:** define interface for column metadata ([#109](https://github.com/Teradata/vantage-ui-platform/issues/109)) ([89bbca7](https://github.com/Teradata/vantage-ui-platform/commit/89bbca7)) +- **query:** add column types ([#112](https://github.com/Teradata/vantage-ui-platform/issues/112)) ([68ec52e](https://github.com/Teradata/vantage-ui-platform/commit/68ec52e)) +- **vui-user-profile:** add component ([#104](https://github.com/Teradata/vantage-ui-platform/issues/104)) ([8cc090c](https://github.com/Teradata/vantage-ui-platform/commit/8cc090c)) +- add notification node icon ([#119](https://github.com/Teradata/vantage-ui-platform/issues/119)) ([df9aa62](https://github.com/Teradata/vantage-ui-platform/commit/df9aa62)) +- assets service ([#120](https://github.com/Teradata/vantage-ui-platform/issues/120)) ([2740953](https://github.com/Teradata/vantage-ui-platform/commit/2740953)) +- long form small scale styles and markdown update ([#117](https://github.com/Teradata/vantage-ui-platform/issues/117)) ([2e3c114](https://github.com/Teradata/vantage-ui-platform/commit/2e3c114)) +- new icons and icon view ([#116](https://github.com/Teradata/vantage-ui-platform/issues/116)) ([3b608d5](https://github.com/Teradata/vantage-ui-platform/commit/3b608d5)) +- update createsession method with default payload param ([#107](https://github.com/Teradata/vantage-ui-platform/issues/107)) ([36a5b8f](https://github.com/Teradata/vantage-ui-platform/commit/36a5b8f)) + +### Reverts + +- **account-profile:** depracting account-profile for covalent version ([#103](https://github.com/Teradata/vantage-ui-platform/issues/103)) ([f66cf1d](https://github.com/Teradata/vantage-ui-platform/commit/f66cf1d)) + # [1.0.0-beta.4](https://github.com/Teradata/vantage-ui-platform/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2020-06-02) diff --git a/package-lock.json b/package-lock.json index cddf52b..424195d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3887,7 +3887,7 @@ } }, "@covalent/core": { - "version": "git+https://github.com/Teradata/covalent-nightly.git#47bd083adaf527144fd23e15e074013e01c720ce", + "version": "git+https://github.com/Teradata/covalent-nightly.git#63f97545bad77146266d49015f629096958a3372", "from": "git+https://github.com/Teradata/covalent-nightly.git" }, "@covalent/echarts": { diff --git a/package.json b/package.json index 569a966..0eb4f3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@td-vantage/ui-platform", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "description": "Teradata Vantage Angular Platform for easy integration and usage", "keywords": [ "teradata", @@ -111,4 +111,4 @@ "tsickle": "0.35.0", "typescript": "~3.7.5" } -} \ No newline at end of file +} diff --git a/proxy.conf.js b/proxy.conf.js index f5781ca..aa39b15 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -21,6 +21,11 @@ const PROXY_CONFIG = { secure: false, changeOrigin: true, }, + '/ui-assets': { + target: serverUrl, + secure: false, + changeOrigin: true, + }, }; module.exports = PROXY_CONFIG; diff --git a/scripts/test-schematics.sh b/scripts/test-schematics.sh index ca09fdf..854d187 100755 --- a/scripts/test-schematics.sh +++ b/scripts/test-schematics.sh @@ -10,6 +10,9 @@ npm link cd /tmp rm -rf testxyz ng new testxyz +cd testxyz +ng add @angular/material +ng add @covalent/core # Run covalent schematics cd testxyz diff --git a/src/docs-ui/app/app.component.ts b/src/docs-ui/app/app.component.ts index 56e4bc1..90b11e6 100644 --- a/src/docs-ui/app/app.component.ts +++ b/src/docs-ui/app/app.component.ts @@ -13,29 +13,29 @@ export class AppComponent { products: IVantageAppSwitcherItem[] = [ { text: 'Vantage Launcher', - href: 'http://teradata.com', + href: 'https://www.teradata.com', svgIcon: 'td-logo:logo-mark', divider: true, }, { text: 'Editor', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', }, { text: 'Analyst', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', }, { text: 'App Center', - href: 'http://teradata.com', + href: 'https://www.teradata.com', newTab: false, }, { text: 'Console', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', newTab: true, }, @@ -44,24 +44,24 @@ export class AppComponent { otherProducts: IVantageAppSwitcherItem[] = [ { text: 'Jupyter', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', newTab: true, }, { text: 'Something else', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', }, { text: 'Another thing', - href: 'http://teradata.com', + href: 'https://www.teradata.com', icon: 'settings', newTab: false, }, ]; - exploreMoreLink: string = 'http://teradata.com/products'; + exploreMoreLink: string = 'https://www.teradata.com/products'; constructor( private _iconRegistry: MatIconRegistry, diff --git a/src/docs-ui/app/app.module.ts b/src/docs-ui/app/app.module.ts index bd5b74a..0f0b254 100644 --- a/src/docs-ui/app/app.module.ts +++ b/src/docs-ui/app/app.module.ts @@ -38,12 +38,14 @@ import { MatSortModule } from '@angular/material/sort'; import { MatPaginatorModule } from '@angular/material/paginator'; import { CovalentCommonModule } from '@covalent/core/common'; +import { CovalentDynamicMenuModule } from '@covalent/core/dynamic-menu'; import { CovalentLayoutModule } from '@covalent/core/layout'; import { CovalentMessageModule } from '@covalent/core/message'; import { CovalentLoadingModule } from '@covalent/core/loading'; import { CovalentDialogsModule } from '@covalent/core/dialogs'; import { CovalentMediaModule } from '@covalent/core/media'; import { CovalentBreadcrumbsModule } from '@covalent/core/breadcrumbs'; +import { CovalentJsonFormatterModule } from '@covalent/core/json-formatter'; import { CovalentMarkdownNavigatorModule } from '@covalent/markdown-navigator'; @@ -53,6 +55,7 @@ import { VantageUserFeedbackModule } from '@td-vantage/ui-platform/utilities'; import { VantageUserModule } from '@td-vantage/ui-platform/user'; import { VantageAuthenticationModule } from '@td-vantage/ui-platform/auth'; import { VantageAccessModule } from '@td-vantage/ui-platform/access'; +import { VantageAssetsModule } from '@td-vantage/ui-platform/assets'; import { VantageThemeModule } from '@td-vantage/ui-platform/theme'; import { VantageSQLEModule } from '@td-vantage/ui-platform/sqle'; import { VantageAppSwitcherModule } from '@td-vantage/ui-platform/app-switcher'; @@ -123,6 +126,7 @@ import { IconsDemoComponent } from './icons-demo/icons-demo.component'; MatPaginatorModule, /** Covalent Modules */ CovalentCommonModule, + CovalentDynamicMenuModule, CovalentLayoutModule, CovalentBreadcrumbsModule, CovalentMediaModule, @@ -130,6 +134,7 @@ import { IconsDemoComponent } from './icons-demo/icons-demo.component'; CovalentLoadingModule, CovalentMessageModule, CovalentMarkdownNavigatorModule, + CovalentJsonFormatterModule, TranslateModule.forRoot(), CovalentHttpModule.forRoot(), @@ -137,6 +142,7 @@ import { IconsDemoComponent } from './icons-demo/icons-demo.component'; VantageUserModule, VantageAuthenticationModule, VantageAccessModule, + VantageAssetsModule, VantageThemeModule, VantageAppSwitcherModule, VantageSQLEModule, diff --git a/src/docs-ui/app/demos/demos.component.html b/src/docs-ui/app/demos/demos.component.html index 9ad8e32..c1605cf 100644 --- a/src/docs-ui/app/demos/demos.component.html +++ b/src/docs-ui/app/demos/demos.component.html @@ -33,6 +33,16 @@

Connections:

+
+

Assets Module

+

Help JSON

+ +

Help Contents:

+ +
+

Utilities Module

Error Dialog

diff --git a/src/docs-ui/app/demos/demos.component.ts b/src/docs-ui/app/demos/demos.component.ts index 785e746..3a8a4a7 100644 --- a/src/docs-ui/app/demos/demos.component.ts +++ b/src/docs-ui/app/demos/demos.component.ts @@ -5,6 +5,7 @@ import { VantageCredentialsDialogComponent, VantageConnectionService } from '@td import { VantageErrorService } from '@td-vantage/ui-platform/utilities'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; +import { VantageAssetsService, IHelpAssets } from '@td-vantage/ui-platform/assets'; @Component({ selector: 'app-demos', @@ -14,11 +15,14 @@ import { takeUntil } from 'rxjs/operators'; export class DemosComponent implements OnInit, OnDestroy { private unsubscribe: Subject = new Subject(); + helpJSON: IHelpAssets; + constructor( public _themeService: VantageThemeService, private _dialog: MatDialog, private _errorService: VantageErrorService, public connectionService: VantageConnectionService, + public assetsService: VantageAssetsService, ) {} ngOnInit(): void { @@ -62,4 +66,10 @@ export class DemosComponent implements OnInit, OnDestroy { error, }); } + + getHelpJSON(): void { + this.assetsService.getHelpJSON().subscribe((helpJSON: IHelpAssets) => { + this.helpJSON = helpJSON; + }); + } } diff --git a/src/lib/app-switcher/app-switcher-menu/app-switcher-menu.component.html b/src/lib/app-switcher/app-switcher-menu/app-switcher-menu.component.html index cb17c1c..03bcea9 100644 --- a/src/lib/app-switcher/app-switcher-menu/app-switcher-menu.component.html +++ b/src/lib/app-switcher/app-switcher-menu/app-switcher-menu.component.html @@ -43,6 +43,7 @@ apps - + >): Observable { + return response.pipe( + catchError((error: Response) => { + return of(error); + }), + map((res: HttpResponse) => { + return res.body; + }), + ); + } +} + +export function VANTAGE_ASSETS_PROVIDER_FACTORY(parent: VantageAssetsService): VantageAssetsService { + return parent || new VantageAssetsService(); +} + +export const VANTAGE_ASSETS_PROVIDER: Provider = { + // If there is already a service available, use that. Otherwise, provide a new one. + provide: VantageAssetsService, + deps: [[new Optional(), new SkipSelf(), VantageAssetsService]], + useFactory: VANTAGE_ASSETS_PROVIDER_FACTORY, +}; diff --git a/src/lib/assets/index.ts b/src/lib/assets/index.ts new file mode 100644 index 0000000..4aaf8f9 --- /dev/null +++ b/src/lib/assets/index.ts @@ -0,0 +1 @@ +export * from './public_api'; diff --git a/src/lib/assets/package.json b/src/lib/assets/package.json new file mode 100644 index 0000000..5255d3a --- /dev/null +++ b/src/lib/assets/package.json @@ -0,0 +1,10 @@ +{ + "ngPackage": { + "lib": { + "entryFile": "index.ts", + "umdModuleIds": { + "@covalent/http": "covalent.http" + } + } + } +} diff --git a/src/lib/assets/public_api.ts b/src/lib/assets/public_api.ts new file mode 100644 index 0000000..8029ace --- /dev/null +++ b/src/lib/assets/public_api.ts @@ -0,0 +1,2 @@ +export * from './assets.module'; +export * from './assets.service'; diff --git a/src/lib/package-lock.json b/src/lib/package-lock.json new file mode 100644 index 0000000..93dcfca --- /dev/null +++ b/src/lib/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "@td-vantage/ui-platform", + "version": "0.0.0-PLATFORM", + "lockfileVersion": 1 +} diff --git a/src/lib/schematics/collection.json b/src/lib/schematics/collection.json index 5ee1182..272383b 100644 --- a/src/lib/schematics/collection.json +++ b/src/lib/schematics/collection.json @@ -1,11 +1,11 @@ { - "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json", - "schematics": { - "ng-add": { - "description": "Adds vantage ui platform to the application without affecting any templates", - "factory": "./ng-add/index#addDependenciesAndFiles", - "schema": "./ng-add/schema.json", - "aliases": ["vantage-shell", "install"] - } + "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json", + "schematics": { + "ng-add": { + "description": "Adds vantage ui platform to the application without affecting any templates", + "factory": "./ng-add/index#addDependenciesAndFiles", + "schema": "./ng-add/schema.json", + "aliases": ["vantage-shell", "install"] } - } \ No newline at end of file + } +} diff --git a/src/lib/schematics/ng-add/files/proxy.conf.js b/src/lib/schematics/ng-add/files/proxy.conf.js index 382338f..a33c54c 100644 --- a/src/lib/schematics/ng-add/files/proxy.conf.js +++ b/src/lib/schematics/ng-add/files/proxy.conf.js @@ -6,8 +6,9 @@ const vantageLoginProxyConfig = require('./src/lib/auth/config/vantageLoginProxy /* * * * * * * * * * * */ const serverUrl = 'https://vantage.url.io'; // REPLACE WITH VANTAGE BASE URL -const localUrl = "localhost:4200"; -const localProto = "http"; // http or https + +const localUrl = 'localhost:4200'; +const localProto = 'http'; // http or https /* * * * * * * * * * * */ /* This section contains the routes proxied through */ diff --git a/src/lib/schematics/ng-add/files/src/app/app.routes.ts b/src/lib/schematics/ng-add/files/src/app/app.routes.ts index e077bec..26cce39 100644 --- a/src/lib/schematics/ng-add/files/src/app/app.routes.ts +++ b/src/lib/schematics/ng-add/files/src/app/app.routes.ts @@ -11,8 +11,6 @@ const routes: Routes = [ { path: '**', redirectTo: '/' }, ]; -export const appRoutingProviders: any[] = [ - VantageAuthenticationGuard, -]; +export const appRoutingProviders: any[] = [VantageAuthenticationGuard]; export const appRoutes: any = RouterModule.forRoot(routes); diff --git a/src/lib/schematics/ng-add/index.ts b/src/lib/schematics/ng-add/index.ts index ef6e491..297b3b0 100644 --- a/src/lib/schematics/ng-add/index.ts +++ b/src/lib/schematics/ng-add/index.ts @@ -1,4 +1,17 @@ -import { Rule, chain, Tree, mergeWith, url, apply, branchAndMerge, SchematicsException, template, UpdateRecorder } from '@angular-devkit/schematics'; + +import { + Rule, + chain, + Tree, + mergeWith, + url, + apply, + branchAndMerge, + template, + UpdateRecorder, + FileEntry, + SchematicContext, +} from '@angular-devkit/schematics'; import { addPackageToPackageJson } from '@angular/material/schematics/ng-add/package-config'; import { uiPlatformVersion } from '../version-names'; import { ISchema } from './schema'; @@ -10,21 +23,25 @@ import { InsertChange } from '@schematics/angular/utility/change'; import { getAppModulePath } from '@schematics/angular/utility/ng-ast-utils'; import { getWorkspace } from '@schematics/angular/utility/config'; import { experimental } from '@angular-devkit/core'; -import { getSourceFile, getProjectMainFile } from '@angular/cdk/schematics/utils'; + +import { getSourceFile, getProjectMainFile, getProjectStyleFile } from '@angular/cdk/schematics/utils'; + import { SourceFile } from 'typescript'; import { Change } from '@schematics/angular/utility/change'; export function addDependenciesAndFiles(options: ISchema): Rule { - let addVantagePacakgeRule: Rule = (host: Tree) => { + const addVantagePacakgeRule: Rule = (host: Tree) => { addPackageToPackageJson(host, '@td-vantage/ui-platform', `${uiPlatformVersion}`); }; - let ruleSet: Rule[] = [addVantagePacakgeRule]; - - if (options.ssoServerURL && options.ssoServerURL.trim().length) { // enable SSO + const ruleSet: Rule[] = [addVantagePacakgeRule]; + + if (options.ssoServerURL && options.ssoServerURL.trim().length) { + // enable SSO ruleSet.push(mergeFiles(options)); ruleSet.push(addSSOImports); - } + ruleSet.push(updateStyles); + } return chain(ruleSet); } @@ -38,7 +55,26 @@ function mergeFiles(options: ISchema): Rule { return branchAndMerge(mergeWith(templateSource)); } -function addSSOImports(): Rule { +function updateStyles(): Rule { + return (host: Tree, context: SchematicContext) => { + const workspace: experimental.workspace.WorkspaceSchema = getWorkspace(host); + const project: experimental.workspace.WorkspaceProject = getProjectFromWorkspace(workspace); + const styleFilePath: string = getProjectStyleFile(project); + const file: Buffer = host.read(styleFilePath); + const themeFile: FileEntry = host.get('theme.scss'); + const fileContent: string = file.toString(); + const content: string = themeFile && themeFile.content.toString(); + + if (content) { + host.overwrite(styleFilePath, fileContent + '\n' + content); + host.delete('theme.scss'); + } + + return host; + }; +} + +function addSSOImports(): Rule { return (host: Tree) => { const workspace: experimental.workspace.WorkspaceSchema = getWorkspace(host); const project: experimental.workspace.WorkspaceProject = getProjectFromWorkspace(workspace); @@ -53,7 +89,6 @@ function addSSOImports(): Rule { addModuleImportToRootModule(host, `CovalentHttpModule.forRoot()`, '@covalent/http', project); replaceContentInAppModule(host, `CovalentHttpModule.forRoot()`, replacementString); addModuleImportToRootModule(host, 'appRoutes', './app.routes', project); - addProvider(host, `VantageAuthenticationInterceptor`, '@td-vantage/ui-platform/auth'); addProvider(host, `appRoutingProviders`, './app.routes'); }; diff --git a/src/lib/schematics/ng-add/schema.ts b/src/lib/schematics/ng-add/schema.ts index e0252a9..2b5a1a0 100644 --- a/src/lib/schematics/ng-add/schema.ts +++ b/src/lib/schematics/ng-add/schema.ts @@ -1,5 +1,4 @@ export interface ISchema { /** Whether SSO should be set up. */ ssoServerURL: string; - } diff --git a/src/lib/schematics/tsconfig.json b/src/lib/schematics/tsconfig.json index 972d367..41441a0 100644 --- a/src/lib/schematics/tsconfig.json +++ b/src/lib/schematics/tsconfig.json @@ -1,24 +1,23 @@ { - "compileOnSave": false, - "compilerOptions": { - "rootDir": "./", - "baseUrl": "./", - "declaration": false, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "outDir": "../../../../deploy/ui-platform/schematics", - "lib": ["es2017", "dom"], - "moduleResolution": "node", - "sourceMap": true, - "target": "es5", - "typeRoots": ["./../../../../node_modules/@types"], - "noUnusedParameters": false, - "noUnusedLocals": false, - "allowUnreachableCode": false, - "pretty": true, - "importHelpers": true - }, - "include": ["**/*"], - "exclude": ["**/*.spec.ts", "**/files/**/*"] - } - \ No newline at end of file + "compileOnSave": false, + "compilerOptions": { + "rootDir": "./", + "baseUrl": "./", + "declaration": false, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "outDir": "../../../../deploy/ui-platform/schematics", + "lib": ["es2017", "dom"], + "moduleResolution": "node", + "sourceMap": true, + "target": "es5", + "typeRoots": ["./../../../../node_modules/@types"], + "noUnusedParameters": false, + "noUnusedLocals": false, + "allowUnreachableCode": false, + "pretty": true, + "importHelpers": true + }, + "include": ["**/*"], + "exclude": ["**/*.spec.ts", "**/files/**/*"] +} diff --git a/src/lib/schematics/tsconfig.spec.json b/src/lib/schematics/tsconfig.spec.json index b90b028..9775e29 100644 --- a/src/lib/schematics/tsconfig.spec.json +++ b/src/lib/schematics/tsconfig.spec.json @@ -1,13 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "baseUrl": ".", - "outDir": "./", - "lib": ["es6", "dom"], - "module": "commonjs", - "types": ["jasmine", "hammerjs", "node"] - }, - "include": ["**/*", "**/*.spec.ts"], - "exclude": ["*/files/**/*", "*/files/**/**/*"] - } - \ No newline at end of file + "extends": "../../../tsconfig.json", + "compilerOptions": { + "baseUrl": ".", + "outDir": "./", + "lib": ["es6", "dom"], + "module": "commonjs", + "types": ["jasmine", "hammerjs", "node"] + }, + "include": ["**/*", "**/*.spec.ts"], + "exclude": ["*/files/**/*", "*/files/**/**/*"] +} diff --git a/src/lib/theme/icons/teradata-icons.svg b/src/lib/theme/icons/teradata-icons.svg index 3554067..0d5d12f 100644 --- a/src/lib/theme/icons/teradata-icons.svg +++ b/src/lib/theme/icons/teradata-icons.svg @@ -130,7 +130,7 @@ - + @@ -138,6 +138,11 @@ + + + + + diff --git a/src/lib/theme/utilities/icons.ts b/src/lib/theme/utilities/icons.ts index 1c42b3a..a1326eb 100644 --- a/src/lib/theme/utilities/icons.ts +++ b/src/lib/theme/utilities/icons.ts @@ -34,6 +34,7 @@ export const TD_ICONS: TdIcon[] = [ 'no_results', 'node_branch', 'node_merge', + 'node_notification', 'object_storage', 'operations', 'operators_divide', @@ -125,6 +126,7 @@ export type TdIcon = | 'no_results' | 'node_branch' | 'node_merge' + | 'node_notification' | 'object_storage' | 'operations' | 'operators_divide'