Verified Commit 29aafb50 authored by Philipp Sebastian Sommer's avatar Philipp Sebastian Sommer
Browse files
parent b4d0d5be
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.ts]
quote_type = single
[*.md]
max_line_length = off
trim_trailing_whitespace = false
# ModelDataExplorer
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.8.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"model-data-explorer": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/model-data-explorer",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
"src/styles.scss",
"node_modules/primeng/resources/themes/saga-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeflex/primeflex.css",
"node_modules/primeicons/primeicons.css"
],
"scripts": [
"node_modules/chart.js/dist/Chart.js"
]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "model-data-explorer:build",
"proxyConfig": "src/proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "model-data-explorer:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "model-data-explorer:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
"src/styles.scss",
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/themes/saga-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css"
],
"scripts": ["node_modules/chart.js/dist/Chart.js"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "model-data-explorer:serve"
},
"configurations": {
"production": {
"devServerTarget": "model-data-explorer:serve:production"
}
}
}
}
}
},
"defaultProject": "model-data-explorer"
}
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
jasmine: {
// you can add configuration options for Jasmine here
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
// for example, you can disable the random execution with `random: false`
// or set a specific seed with `seed: 4321`
},
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/model-data-explorer'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
]
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
restartOnFileChange: true
});
};
This diff is collapsed.
{
"name": "model-data-explorer",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^11.2.14",
"@angular/cdk": "^12.0.2",
"@angular/common": "~11.2.9",
"@angular/compiler": "~11.2.9",
"@angular/core": "~11.2.9",
"@angular/forms": "~11.2.9",
"@angular/material": "^11.0.0",
"@angular/platform-browser": "~11.2.9",
"@angular/platform-browser-dynamic": "~11.2.9",
"@angular/router": "~11.2.9",
"@arcgis/core": "^4.22.2",
"@auth0/auth0-angular": "^1.6.0",
"@types/arcgis-js-api": "^4.14.0",
"@types/core-js": "~2.5",
"@types/d3": "^6.7.0",
"@types/dc": "0.0.29",
"chart.js": "^2.9.4",
"cors": "^2.8.5",
"crossfilter2": "^1.5.4",
"d3": "^6.7.0",
"dc": "^4.2.7",
"esri-loader": "^2.16.0",
"primeflex": "^2.0.0",
"primeicons": "^4.1.0",
"primeng": "^11.4.2",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.8",
"@angular/cli": "~11.2.8",
"@angular/compiler-cli": "~11.2.9",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "^4.0.8"
}
}
export interface Image {
previewImageSrc?: any;
thumbnailImageSrc?: any;
alt?: any;
title?: any;
}
export interface AppConfig {
inputStyle?: string;
dark?: boolean;
theme?: string;
ripple?: boolean;
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
// environmental_compartment
export interface Application_area {
[x: string]: any;
ocean?: Category;
coast?: Category; // coastalwater
estuary?: Category;
beach?: Category;
outlet?: Category;
river?: Category;
lake?: Category;
wwtp?: Category; // wastewater
}
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Category {
[x: string]: any;
// id?: number;
prevention?: number;
monitoring?: number;
sampling?: number;
detection?: number;
models?: number;
cleaning?: number;
}
import {FilterData} from '../_interface/filterData'
export interface Eventping {
label: string;
object: FilterData;
}
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface FilterData {
// id?: number;
category?: any[];
application_area?: string[];
initiator?: string[];
funder?: string[];
technology?: string[];
trl?: string[];
litter_target?: string[];
source?: string[]; // *
search_machine?: string[];
litter_size?: string[];
acronym?: string[];
year?: string[];
nutshell?: string[]; // *
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Funder {
[x: string]: any;
multiplefunders?: Category;
science?: Category;
eu?: Category;
national?: Category;
ngo?: Category;
industry?: Category;
private?: Category;
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
import { Search_machine } from './search_machine';
import { Initiator } from './initiator';
import { Application_area } from './application_area';
import { Funder } from './funder';
import { Litter_size } from './litter_size';
import { Trl } from './trl';
export interface GraphFilter {
search_machine: Search_machine;
initiator: Initiator;
aplication_area: Application_area;
funder: Funder;
Litter_size: Litter_size;
trl: Trl;
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Initiator {
[x: string]: any;
science?: Category;
cooperation?: Category;
industry?: Category;
ngo?: Category;
private?: Category;
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Litter_size {
[x: string]: any;
macro?: Category;
micro?: Category;
nano?: Category;
}
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface MLSP {
[x: string]: any;
// id?: number;
category?: string[];
environmental_compartment?: string[];
vertical_domain?: string[];
initiator?: string[];
funder?: string[];
technology?: string[];
trl?: string[];
litter_target?: string[];
source?: string[];
search_machine?: string;
litter_size?: string[];
keywords?: string[];
acronym?: string[];
year?: string[];
nutshell?: string[];
notes?: string[];
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Search_machine {
[x: string]: any;
wos?: Category;
network?: Category;
cordis?: Category;
websearch?: Category;
crowd?: Category;
esa?: Category;
noaa?: Category;
cobsea?: Category;
emff?: Category;
}
import { Category } from './category';
import { NgModuleCompileResult } from "@angular/compiler/src/ng_module_compiler";
export interface Trl {
marketOperational?: Category;
systemComplete?: Category;
fieldDemo?: Category;
labDemo?: Category;
fieldValidation?: Category;
labValidation?: Category;
proofOfConcept?: Category;
concept?: Category;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment