sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
c92ae7ed8a37df379c94592d14e4bafb46ed28f6d0eaf30ca7f7cb60d89ed7dc
TypeScript
961
30
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
b05f410f2e968f269a9bc6c8022e22c9eb05dad32164a3d3eab8dd21e35b26f5
TypeScript
967
38
import { existsSync } from "fs"; import path from "path"; export function detectDefaultSmcorePython(): string { const configuredPython = process.env.SMCORE_PYTHON?.trim(); if (configuredPython) { return configuredPython; } const condaPrefix = process.env.CONDA_PREFIX?.trim(); if (condaPrefix) { cons...
3c1370d010b3be9ca48ee7e989ad38060c5e18206391e28b7830eb1c0d1f6757
TypeScript
979
30
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { SubExperiment } from '../models/subexperiment'; import { AuthenticationService } from './authentication.service'; @Injectable() export class PostProcessingQcService { constructor( private http: HttpClie...
7bca5466a9ea7f4b158b7616f09fbeb0077e3b67203df6a3ff92f53ae16f2b51
TypeScript
984
27
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
d5d72ca5ad03aafdae4538915ca9dd7b3cbdd223ba9de7dcb2c0fe87e8283e46
TypeScript
1,009
38
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
13199b9da1fd321284f2184cba3a9bf5d794444123c17beb5fc93f03ac7a7012
TypeScript
1,014
27
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
946d29a36e905686c267ab36fbc099a556979f2c8449f399ea7000790f2e1c2a
TypeScript
1,019
36
import { NgModule } from '@angular/core'; import { AnimalInfoRoutingModule } from './animal-info-routing.module'; import { SharedModule } from '../shared/shared.module'; import { MatSelectModule } from '@angular/material/select'; import { AnimalInfoComponent } from './animal-info.component'; import { AnimalService } fr...
ac5dc6beae26f90cd04baafcd8c8e274ab76f406e7bb9e883d4209c628e4a119
TypeScript
1,027
23
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
c614dc47a9ef8c5068b767a91aabf0ebc9bedf966fd62f6c3d896d8c5d3dff8a
TypeScript
1,029
31
import { execFile } from "child_process"; import path from "path"; import { promisify } from "util"; import { NextResponse } from "next/server"; import { ALLOWED_ROOT } from "../_lib/path-utils"; const execFileAsync = promisify(execFile); const SCRIPT_PATH = path.join(ALLOWED_ROOT, "explorer", "scripts", "build_tools_...
e99781ec2762a34f98582bcad16a57883f1ae3e541474a97553412b126f2f886
TypeScript
1,029
31
import { execFile } from "child_process"; import path from "path"; import { promisify } from "util"; import { NextResponse } from "next/server"; import { ALLOWED_ROOT } from "../_lib/path-utils"; const execFileAsync = promisify(execFile); const SCRIPT_PATH = path.join(ALLOWED_ROOT, "explorer", "scripts", "build_workfl...
5a52eeaff9ff17b08a75c7ff09c46e681cacc25bf1fb8bc57915097c5ee85bd0
TypeScript
1,055
53
import { createTheme } from '@mantine/core'; export const theme = createTheme({ primaryColor: 'harbor', defaultRadius: 'lg', fontFamily: '"Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif', fontFamilyMonospace: '"JetBrains Mono", "SFMono-Regular", Consolas, monospace', headings: { fontFamily: '"Iowan...
1d374447649d5c6c7d2a44440b621bfaf9933b590e5116759f9a09618311c379
TypeScript
1,062
25
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
23a9edda9b07513d1f7cc033f05cb95f1f1e4b775f2bd437ebeda5c90bc12a3c
TypeScript
1,062
31
import { execFile } from "child_process"; import path from "path"; import { promisify } from "util"; import { NextResponse } from "next/server"; import { ALLOWED_ROOT } from "../_lib/path-utils"; const execFileAsync = promisify(execFile); const SCRIPT_PATH = path.join(ALLOWED_ROOT, "explorer", "scripts", "build_skills...
bb4b2822c8146b589bdc81dbb0d9647666cfbc251a05beaf6a1660e491e1a859
TypeScript
1,069
26
/** * @license * Copyright 2021 William Silversmith * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
841bc428ec1ae142dd0552b12195828ea2324225cc871e4b1055a1b2e973b6b1
TypeScript
1,078
29
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
5f9981e4b835280a933ac36d06cd3dd40474b0671953ee9da29af541aad5d826
TypeScript
1,092
37
import path from "path"; function detectRepoRoot(): string { const cwd = path.resolve(process.cwd()); return path.basename(cwd) === "explorer" ? path.resolve(cwd, "..") : cwd; } export const ALLOWED_ROOT = path.resolve( process.env.WEB_VIS_ALLOWED_ROOT?.trim() || detectRepoRoot(), ); export function normalizeI...
509ebd723f9b0ad1b4982c1b7c42accb6c34e5bedaa7cf9e165e527b87714441
TypeScript
1,118
33
import { NgModule } from '@angular/core'; import { ProfileRoutingModule } from './profile-routing.module'; import { SharedModule } from '../shared/shared.module'; import { ManageUserService } from '../services/manageuser.service'; import { ProfileComponent } from './profile.component'; import { IdentityService } from '...
f369373c9215c03a7fe7bf57f4e336d344da251b3b6bd3a35292e91e5360eaa5
TypeScript
1,121
38
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
ebdfd53f04c239a3d5a0942352b74c0e8c1a79849a2070549090fb4de74f095b
TypeScript
1,123
35
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
029aeda9ef741fa9b33005083463dccec5fef2e39b396a4abfda96fd3eb165fa
TypeScript
1,132
30
import { NextRequest, NextResponse } from "next/server"; import { errorMessage, errorPayload, isRecord, resolveManifest, runSmsCommand, stringValue, } from "../_lib/lifecycle"; function jsonError(message: string, status: number): NextResponse { return NextResponse.json({ error: message }, { status }); } ...
b26fbc724be3402d80912160223729c0ca44b0295a1afc3312d07f7f0d581944
TypeScript
1,140
38
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
648579373198e7fb4ce3c8a08f3fcb08ac90c4d42a7aa350c593b1c076ceec0b
TypeScript
1,148
37
import { NgModule } from '@angular/core'; import { DataExtractionRoutingModule } from './data-extraction-routing.module'; import { SharedModule } from '../shared/shared.module'; import { DataExtractionComponent } from './data-extraction.component'; import { TaskAnalysisService } from '../services/taskanalysis.service';...
2b3f926cee103efe41ba11d95c977251a0050fe59ec61294a78c9b43f66306d7
TypeScript
1,156
47
import { PubscreenAuthor } from "./pubscreenAuthor"; export interface Pubscreen { id: any; title: string; abstract: string; keywords: string; doi: string; year: any; yearID: Array<string>; authourID: Array<number>; authorString: string; paperTypeIdSearch: Array<number...
4b7e5c1b35d3f42789df5b7c355d2652ea77b20d0fea8de627b6b26289d3df7e
TypeScript
1,158
36
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
953020701c7bbd9ddc92be691a6c40c387593125ce21a3a5c669b8afea91cc6e
TypeScript
1,163
31
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
4b51a294a25f3e5969570ef90d2a3ee45e2a5acfe283dc9cd3780cf18818a23f
TypeScript
1,167
37
import { Component, OnInit } from '@angular/core'; import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { AuthenticationService } from '../services/authentication.service'; @Component({ selector: 'app-resources', templateUrl: './resources.component.html', styleUrls: ['./resources.c...
09e1f5d54abf1b058f896efcf54617aa833b0d4a4672df1fc5f0f1a4c3f189e2
TypeScript
1,211
43
import { readFile, stat } from "fs/promises"; import path from "path"; import { NextResponse } from "next/server"; import { ALLOWED_ROOT, isPathWithinBase } from "../_lib/path-utils"; interface ErrorResponse { error: string; } function jsonError(message: string, status: number): NextResponse<ErrorResponse> { retu...
452706e903a93db78633e2d4576d864b963c3823932bc6b774c1eec4e281a318
TypeScript
1,212
28
/** * @license * This work is a derivative of the Google Neuroglancer project, * Copyright 2016 Google Inc. * The Derivative Work is covered by * Copyright 2019 Howard Hughes Medical Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
dd677b67a3288f34134cd3537d7ce8a19c73dab3052bed4c96da98c8d2373e50
TypeScript
1,213
24
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0435baecdafe1fdec956525ae8f7141ea88f27c1317f608956bf0018b46820cf
TypeScript
1,226
39
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
822f3c6e29b6185baa4778f405cf2877d17998fcb6159a320a4511c308503345
TypeScript
1,227
31
import { NextRequest, NextResponse } from "next/server"; import { createDeletionReview, errorMessage, errorPayload, isRecord, resolveManifest, runSmsCommand, stringValue, } from "../../_lib/lifecycle"; function jsonError(message: string, status: number): NextResponse { return NextResponse.json({ error:...
8b6166fe73e1edf48312b55979ac6e2a4cc4953d6d9e9d0f0a5d000450d6b137
TypeScript
1,230
31
import {SkeletonChunk} from 'neuroglancer/skeleton/backend'; import {decodeSwcSkeletonChunk} from 'neuroglancer/skeleton/decode_swc_skeleton'; const swcStr = '# Generated by NeuTu (https://github.com/janelia-flyem/NeuTu)\n\ # http://emdata1:7000/api/node/d5053e99753848e599a641925aa2d38f/bodies1104_skeletons/key/229802...
0a2f32cb035223fd30e225c341c9b1890549e56be237c27599ed5e3e80edae27
TypeScript
1,235
32
import { NgModule } from '@angular/core'; import { CogbytesRoutingModule } from './cogbytes-routing.module'; import { SharedModule } from '../shared/shared.module'; import { ManageUserService } from '../services/manageuser.service'; import { CogbytesComponent } from './cogbytes.component'; import { IdentityService } fr...
018da6eab4720d6b31f841f2a52993203370935fd0bc07d8e341a896186c1047
TypeScript
1,251
44
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
7f9e178180043a0043030adecd57f6481e460bbca4ac6068bde4aad7b882e617
TypeScript
1,255
42
import { NgModule } from '@angular/core'; import { ExperimentRoutingModule } from './experiment-routing.module'; import { SharedModule } from '../shared/shared.module'; import { MatSelectModule } from '@angular/material/select'; import { ExperimentComponent } from './experiment.component'; import { ExperimentService } ...
4ba9325a5023be2007fb108f7de3c442081ba2f4eb3366511da1f4d7b9884064
TypeScript
1,279
36
/** * @license * Copyright 2021 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
6c6f7fda0c495d9143d2f1b670cd8a74da801c510fac4d467da8ec4f17b98fb1
TypeScript
1,334
41
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; import { Observable } from 'rxjs'; @Injectable() export class SearchExperimentService { constructor( private http: HttpClient, ...
af8c98635ee31edd97921c9946a6de1cd9c656876e8ec3e071213c204dfd2988
TypeScript
1,345
28
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
c274ea440377f34de13a32b96b39ce8d241fa7eff0c3ae134040c20fb2139595
TypeScript
1,346
41
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
fd129bb9822906a00155cd38c0183a7416d4fde81c01f58c23d0c194d156fcb4
TypeScript
1,388
43
/** * @license * Copyright 2018 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
4326091cf97f5e0f0aab11fd4d176c13f83bf1b6333f35da39b9132b77be8c58
TypeScript
1,390
42
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
ff06249a90db73a3ac944d6bfa065aa7abb027a6e88e8d171a44646cd3c33925
TypeScript
1,394
32
/** * @license * Copyright 2021 William Silvermsith. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
0c539ef596b8f23e31f2a893f396270f7172711c21f0f316bf2d3dc387bd445f
TypeScript
1,410
37
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
b30b5967dd3c8a005eae611451790a994cf8badeb724700dccedd70514d469f2
TypeScript
1,411
35
/** * @license * Copyright 2021 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
3151e07512427292f734246645369afa63026bc6a654cd0a4a1d647dce8de39c
TypeScript
1,421
48
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
93153afba09fc63f893de725fd65f8cb30196f247af43d7e2fbed83211e1af0b
TypeScript
1,434
45
/** * @license * Copyright 2018 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
1d3dcd2a4d1fb7c40b83fd479e72c572922ce61d1886727b318b8655c9be04fb
TypeScript
1,435
53
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; @Injectable() export class ExperimentService { constructor( private http: HttpClient, private authenticationService: AuthenticationSer...
ea041f2a671db19a65e790edc884a3c8fa932dc4f2124f625e3c39525f5d1ebf
TypeScript
1,447
30
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2b395af454827c7da069a2988ad12b5e956f37c290c096cd2b50e93e7381421a
TypeScript
1,458
34
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
e921767d4e38bf29072bff9c218694d8bfd2609362354875a1889c0b8d549013
TypeScript
1,469
47
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
fd4a6cff1441058de130d4550bb4380bb5f5b16079a69923c0d2e10d931be20d
TypeScript
1,470
35
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
8f2c19327a090fed6dca17ce35b72775f729a0760a1518ef1c78616b1e3bc24f
TypeScript
1,471
53
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2096d040b7aa4bf70c02f4f4890a9674e47e5d1ab96f3b2da61ccec9fbf99c77
TypeScript
1,508
42
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
af5a5e4b0558e1c9b69941d7400e48fd5c9b0d55e73a2ef2af35812d77eb8ff8
TypeScript
1,508
47
import { Component } from '@angular/core'; import { Router } from '@angular/router'; import { OAuthService } from 'angular-oauth2-oidc'; import { AuthenticationService } from '../../services/authentication.service'; import { IdentityService } from '../../services/identity.service'; import { Signin } from '../signin'; i...
4e436473d81713074ab7d6255b37d3a5165f770fdc1a8af787cf18046f2b54a0
TypeScript
1,530
56
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { map, catchError } from 'rxjs/operators'; import { throwError } from "rxjs"; import { AuthenticationService } from './authentication.service'; export interface getPISit...
068976e3aa481551b94bf7dd65ced4f07df73afd3c2bfa1809862abf0ecf89ce
TypeScript
1,535
53
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
b4ef9bef88bf03641bb382e961573efa345fd2e654a5797fe1eec80ce1f79cd2
TypeScript
1,542
41
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
9998b69d0deaae387b3a10dbeb6607fcbd669cf7dfdb26f899bd8665d2458461
TypeScript
1,577
36
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
52d6a06c2f256effd5dbe7b27638239cafcfb4d80a8ce8ce56db25cba1d29402
TypeScript
1,585
56
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0cd8c4da6373136577577cf20af1da109e3c3d498310e3ff80ccb7b085c800fb
TypeScript
1,645
56
import { Component, OnInit } from '@angular/core'; import { DataSource } from '@angular/cdk/collections'; import { Observable } from 'rxjs'; import { TaskAnalysis } from '../models/taskAnalysis'; import { TaskAnalysisService } from '../services/taskanalysis.service'; @Component({ selector: 'app-task-analysis', ...
c5f7eba01f3840054aaf16f495ff0563885a59f73f59afdfdd2b804b2b0f0794
TypeScript
1,680
50
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
b9892193bf81f02ece651ec3a631e345e03954b87421943a0f5dbaf99c91c614
TypeScript
1,713
52
import { NgModule } from '@angular/core'; import { MatSelectModule } from '@angular/material/select'; import { UploadRoutingModule } from './upload-routing.module'; import { SharedModule } from '../shared/shared.module'; import { UploadService } from '../services/upload.service'; import { PubScreenService } from '../se...
fccf6a57e3e2622c74df20bc43bc1d6b607f059a07edabfb302acfd3749a9771
TypeScript
1,721
40
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
ffa87988b08afd28adf23d83956736df8667e77164afe3e927cd6de52c689ec4
TypeScript
1,725
62
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; @Injectable() export class PagerService { constructor( private http: HttpClient, private authenticationService: AuthenticationServi...
428117a90b5214771f67c3a568b45cd4c133383d7c008929d94109d87c93bc42
TypeScript
1,761
64
import { Component, OnInit } from '@angular/core'; import { NgxSpinnerService } from 'ngx-spinner'; import { Router, ActivatedRoute } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; declare var spotfire: any; @Component({ selector: 'app-mb-dashboard', templateUrl: './mb-dashboard...
538fe714c268d9a23b02878de47079e7458a66c02b5e5ba7b576952a3c4bf0f7
TypeScript
1,767
48
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
bd0177435c839abebf330a71c533b6af7b96080ae95e55fb7301da0f39015b4d
TypeScript
1,780
62
import { Component, OnInit } from '@angular/core'; import { NgxSpinnerService } from 'ngx-spinner'; import { Router, ActivatedRoute } from '@angular/router'; import { MatDialog } from '@angular/material/dialog'; declare var spotfire: any; @Component({ selector: 'app-ps-dashboard', templateUrl: './pubScreen-da...
5e34971c09d4a350970753dc8ec89a1eb778ce2d0449d7d1a040e85b493dd994
TypeScript
1,793
45
/** * @license * Copyright 2021 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
113db182c48b7c9b31d505c2f84ff8dd08b7cd65472a22e5c14d06b3c15d4a39
TypeScript
1,811
50
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2724ac83ff4de74f665592dc7123fc0adf94444a76b42cdfe9eaf026f713e59e
TypeScript
1,847
70
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { User } from '../models/user'; import { AuthenticationService } from './authentication.service'; //Data Structures export interface UserStatusResponse { isUserApp...
7c7b99e98d3cf09973cded31c70b271b2a05dccc0628499566dcf82d3a89520e
TypeScript
1,850
50
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
837e46d13240b72dbb6dd7ac33705ac8a78bcfbb4112126d351fb3e2c45b2818
TypeScript
1,858
47
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
b5c02aade1b9c13d8753efe453bc94ea2e8834a0a7f8a78dccf28e32d711f901
TypeScript
1,860
50
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
3b30827442bfdaacb097b16101b62622abdf8eb3deb7afc9740c59e78728bda3
TypeScript
1,861
46
/** * @license * Copyright 2021 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
5a6f0daaa8fc71ee1a69f7dd52209a38827f3b88e00b4271a3ffe074b21bfac9
TypeScript
1,867
46
/** * @license * Copyright 2021 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
dd2f2deb1ea70f067d26be3a863517cd70dff9b69b9c51a707cc9abf59a87e28
TypeScript
1,872
41
/** * @license * Copyright 2018 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
d5144f578418b74428c86d97afddd1b742c2f80d3071e65b11111f32497b73d9
TypeScript
1,877
71
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; @Injectable() export class DashboardService { constructor( private http: HttpClient, private authenticationService: AuthenticationServi...
199fe8204b7125b29f8c377e8e8d4551be135ff05a67305dc5826f545494786d
TypeScript
1,893
56
import { NgModule } from '@angular/core'; import { CogbytesUploadRoutingModule } from './cogbytesUpload-routing.module'; import { SharedModule } from '../shared/shared.module'; import { ManageUserService } from '../services/manageuser.service'; import { CogbytesUploadComponent } from './cogbytesUpload.component'; impor...
f15231b56e31f8ab20ee918c4e5d2f239b62d7c852ca447169980dbe37104a21
TypeScript
1,901
40
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
6952c4a932e83b81dc0d423507e2f25430efbbf91683b5aac3048c80743d5829
TypeScript
1,906
67
import { Component } from '@angular/core'; import { ScrollService } from '../shared/scroll.service'; import { AnimalService } from '../services/animal.service'; @Component({ selector: 'app-home', templateUrl: './home.component.html', styleUrls: ['./home.component.scss'], providers: [AnimalService] }) e...
c625b6796cbb2d1829b77cd16154e1e3eb976d301f840c1d4c1f7594f69a15da
TypeScript
1,920
78
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
f74fe43162cd9d3dafc78615fe55227aaba3ff9e155861d81adb5c0826101d4d
TypeScript
1,926
42
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
e9968171ff371af87a6f6624116e9da2e83fa50de4da852700a731f3900cbf17
TypeScript
1,959
58
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
8f4101b3b471f2c0a732e7e866140cf38883ea19c7222c44d4db19c1954f203a
TypeScript
1,963
79
import { Component, Inject } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { UntypedFormControl, Validators, UntypedFormBuilder } from '@angular/forms'; import { PubScreenService } from '../services/pubScreen.service'; import { FIELDISREQUIRED } from '../shared/m...
777f643f3e314a16b71948062ba97c435c987afe96ce1b340a743f68211f08cf
TypeScript
2,078
54
import { Injectable } from '@angular/core'; import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; import { map, concatMap } from 'rxjs/operators'; import { AuthenticationService } from './authentication.service'; /** * Decides if a route can be acti...
8327cfbf1329cb4b2e95c392692fe99943e2ca3b69713cb0f72cee478ba644bd
TypeScript
2,084
74
import { Component, Inject } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { IdentityService } from '../services/identity.service'; import { MatSnackBar } from '@angular/material/snack-bar'; import { PASSWORDSUCCESSFULLYCHANGED } from '../shared/messages'; @Comp...
c06dcba32de66995ebd56231ee83c98f766587c0db571facf0872c33452eb994
TypeScript
2,098
73
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
5900c24c2dcc83ab9ce805055568be4d518b9091628d1a6332ee7906794b22e2
TypeScript
2,107
52
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
feede66151baa240a924aa80202d46aa637adc9d913841b83b4afdd55db35f72
TypeScript
2,142
49
import { NextRequest, NextResponse } from "next/server"; import { consumeDeletionReview, errorMessage, errorPayload, isRecord, resolveManifest, runSmsCommand, stringValue, } from "../_lib/lifecycle"; function jsonError(message: string, status: number): NextResponse { return NextResponse.json({ error: m...
3fd351dd1baaa0ca713b911c7d892ad29666530905b248d9f08e51921c74d9c8
TypeScript
2,146
55
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
14af81611434cedcb2fe73543aa79cad379dbf011fb99ba8cc7c4cb646e72911
TypeScript
2,154
60
/** * @license * Copyright 2019 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2d06069739a528190dd9e7a1205ed00582aad3df56f937b86934b8a97e21edd8
TypeScript
2,168
56
import assert from 'node:assert/strict'; import test from 'node:test'; import { inferFilenameHierarchy } from './filename-hierarchy'; import { createPlanPresentationModel } from './plan-presentation'; test('gives assembled and retained representations of one plan the same object grouping', () => { const assembled = ...
b39a433ffd1affa5aee92113d4ec9d65c11c3ab0e2e5bfbfcf2f2799a1c366aa
TypeScript
2,178
68
import { Component } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { OAuthService } from 'angular-oauth2-oidc'; import { AuthenticationService } from '../../services/authentication.service'; import { IdentityService } from '../../services/identity.service'; import { Signin } fro...
1177d835ea771ae8fd702a73293f151b6bebf466958a16ecad498e522a93aeb0
TypeScript
2,237
52
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
ca6be7ce4a2330cc45c96fbe41c72073bcf3aafa8916c4077018887a57e1026d
TypeScript
2,239
76
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2843fe97abe9f2f88c349be79b16c49560e3183921794a83056105e6a2da3e29
TypeScript
2,244
80
/** * @license * Copyright 2016 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
9f898d601dd1898f1a2ce5729341fa2484444d86caa425bc3b34930e8108268a
TypeScript
2,246
69
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AuthenticationService } from './authentication.service'; @Injectable() export class UploadService { //public mapping_SessionInfo: BehaviorSubject<any[]> = new B...
2a23329877393a22d43bd19fa2fbed7581dbfcb1b76d11787c149abd8ececb49
TypeScript
2,248
73
/** * @license * Copyright 2017 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
95333b8e37eedec7c20c88e8d6ad47920fc17e797111682670fba8ed9c6e0779
TypeScript
2,256
90
import { Component, OnInit, Inject } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { UntypedFormControl, Validators, UntypedFormBuilder } from '@angular/forms'; import { CogbytesService } from '../services/cogbytes.service'; @Component({ selector: 'app-co...
32c1d609a1495360cd9ed24e8a75c31b7d8483c0aebf587ccd1929af721c0403
TypeScript
2,266
78
/** * @license * Copyright 2020 Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...