sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
f20d40477ac7809be721ebc97483be28e751cab7a2850b963564ebe30eaf3b54
TypeScript
2,422
79
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
31a4545069e30dcc852f806093a322bfc537dab84a537b9bbf9e7fefa3079ad5
TypeScript
2,426
128
import { createReducer, on } from "@ngrx/store"; import * as actions from "./actions" import { AtlasSelectionState } from "./const" export const defaultState: AtlasSelectionState = { selectedAtlas: null, selectedParcellation: null, selectedParcellationAllRegions: [], selectedRegions: [], selectedTemplate: nu...
562df08acd193504874523f1ef63dc5f3ddbc40ab2454fe8d0346d8533e02bb5
TypeScript
2,432
71
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
4ba56d10dc13c861c1658ba7edf00a8e87036d4ec55208ec553e7e987369eee0
TypeScript
2,450
70
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
75f5046a814c5ebe5241bcf79f473cbbd92f6e750a0198a13c3d95d22c832f3f
TypeScript
2,455
116
import { Overlay, OverlayRef } from "@angular/cdk/overlay" import { TemplatePortal } from "@angular/cdk/portal" import { Injectable, TemplateRef, ViewContainerRef } from "@angular/core" import { ReplaySubject, Subject, Subscription } from "rxjs" import { RegDeregController } from "src/util/regDereg.base" type TTmpl = ...
804e2e21399a828c61fd27db7f14a6f4f656ce9f21ca533c598e199bb6d7d38a
TypeScript
2,477
95
import { Component, ElementRef, Inject, Input, OnDestroy, Optional, ViewChild } from "@angular/core"; import { MatSnackBar } from "@angular/material/snack-bar"; import { Store } from "@ngrx/store"; import { Line, LINE_ICON_CLASS } from "../line"; import { ToolCmpBase } from "../toolCmp.base"; import { IAnnotationGeomet...
70dc90a2d83e22e66f554b1fccd86e66b8a2719ac68d9825a50f9b432b588cbf
TypeScript
2,490
90
import { ActionReducer, StoreModule } from "@ngrx/store" export { StateModule } from "./state.module" import * as atlasSelection from "./atlasSelection" import * as annotation from "./annotations" import * as userInterface from "./userInterface" import * as atlasAppearance from "./atlasAppearance" import * as plugins...
71a6831476d68e56512ed88add90dfe095dde070ad6bee4ac6dbd8551561a979
TypeScript
2,509
60
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
c43272a959b23fb004007ea1ced9960e43dfb9f79df55fa57ed2b3756d3f8a3a
TypeScript
2,520
75
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Input, Output, TemplateRef } from "@angular/core"; import { SxplrRegion } from "src/atlasComponents/sapi/sxplrTypes"; import { ARIA_LABELS } from "common/constants" import { UntypedFormControl } from "@angular/forms"; import { debounceTime, distin...
156fe59a8666829ebe22f426a41b7337cdb7519e50d16c09600bdbbed6d58401
TypeScript
2,528
76
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
88f55a662d04492e1072c1925b3c0f109e879c2519ef6ff07c569da8e6c063fd
TypeScript
2,548
100
type IsParent<T> = (child: T, parent: T) => boolean export class Tree<T extends Record<string, unknown>>{ private _nodes: T[] = [] protected set nodes(nodes: T[]) { if (nodes === this._nodes) return this._nodes = nodes this.resetWeakMaps() } protected get nodes() { return this._nodes } p...
badd593da0c5ed4ad433be41af2c07625caf9de40894dea1f56f58faca8282b2
TypeScript
2,577
73
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
4dae953b77336108c03cb9fd553b515a38d309f7c559b49506e900009e20c7e6
TypeScript
2,623
70
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
5398389e6b2450830b0355d3b351a0e35da73e82fc811b31433d376ed95e41e0
TypeScript
2,627
95
import { Directive, Input, OnChanges, SimpleChanges } from "@angular/core"; import { BehaviorSubject, combineLatest, concat, merge, of, Subject } from "rxjs"; import { map, scan, shareReplay, switchMap } from "rxjs/operators"; @Directive({ selector: '[feature-filter-directive]', exportAs: 'featureFilterDirective' ...
fc94d962443372ee2bf046bd3f4cd852482e79d64ab29e1da11f5a9284ccc4a3
TypeScript
2,644
70
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
7adaed2763e724f4f1bf7c76ad903bf40c41a00066dfe240a6c7569f506922e7
TypeScript
2,669
96
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, Input, OnChanges, Output, SimpleChanges } from "@angular/core"; import { SmartChipContent } from "../smartChip.content.directive" import { SmartChipMenu } from "../smartChip.menu.directive"; import { rgbToHsl, hexToRgb } from 'common/...
a0938886a4a842bd8b3cc17e15602eecda4aa53893bdcc57342413ddcbec4cb9
TypeScript
2,672
76
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
50156f30539d44804bb10c4287b54862740ef7c2ee6c610eeb76ce0813be3995
TypeScript
2,673
135
/** * Here, you will find the type interface used by siibra-explorer * SAPI types can change in the future, but hopefully, the setup can allow * a much smoother transition to new API */ /** * TODO do a global search on typeV3 * anything outside src/atlasComponent should directly import from sxplrTypes, and not ...
083fb6b79c9f930d9b9df3c94e09b548133b13e62426fa0583148d6c11fa64a4
TypeScript
2,686
78
import { CommonModule } from "@angular/common"; import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from "@angular/core"; import { MatCardModule } from "@angular/material/card"; import { MatRippleModule } from "@angular/material/core"; import { MatExpansionModule } from "@angular/material/expansion"; import { MatListModule } f...
3d41683a08334f474fdf6f6dd8f6eb12b95c3ffb9606c670af41d9afd1869d45
TypeScript
2,686
76
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
8b22b2cf57427916b8592f0f727fa3a8f7132e03cffd22fb96a427537078de74
TypeScript
2,702
119
import { Component, ElementRef, EventEmitter, Inject, Input, Optional, TemplateRef, ViewChild } from "@angular/core"; import { MAT_DIALOG_DATA } from "@angular/material/dialog"; import { IFileInputConfig, TFileInputEvent } from "../type"; const FILEINPUT_DEFAULT_LABEL = 'File input' @Component({ selector: 'file-inp...
b167050bad367936b95988c649100a1a346f349b71e4a5bd4634d40dfef4f26d
TypeScript
2,716
104
import { Component, ElementRef, Inject, Input, OnDestroy, Optional, ViewChild } from "@angular/core"; import { MatSnackBar } from "@angular/material/snack-bar"; import { Polygon, POLY_ICON_CLASS } from "../poly"; import { ToolCmpBase } from "../toolCmp.base"; import { IAnnotationGeometry, TExportFormats, UDPATE_ANNOTAT...
4e112a1e2dc9f7967b7e028e955c8447b9968c5936c821e52d85162f4410077a
TypeScript
2,731
90
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
03a5a0929a2fe39407f362bd35503c913fae8917922849448e4bf98ccb26c4cd
TypeScript
2,753
85
import { Injectable } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { from, Observable } from "rxjs"; import { map, switchMap } from "rxjs/operators"; import { SAPI } from "src/atlasComponents/sapi"; import { NgSegLayerSpec, SxplrRegion } from "src/atlasComponents/sapi/sxplrTypes"; import { ...
46c6dc267341db2fb7de5e6efee7a35231b512f232dce9651e8f27d02c9bbbfb
TypeScript
2,765
95
import { concat, Observable, of, Subject } from "rxjs"; import { Component, EventEmitter, Inject, Output } from "@angular/core"; import { DARKTHEME } from "src/util/injectionTokens"; import { SapiViewsCoreRegionRegionBase } from "../region.base.directive"; import { ARIA_LABELS, CONST } from 'common/constants' import { ...
a96ecd990296c23fc66fa2a5a1f64fb562f7d6ce6a42aea75fd828ebf339c475
TypeScript
2,766
80
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
e840a5f8477dedb71f83febe4f7cd4b29778f4f8a6d3e2188d47519aa95ee956
TypeScript
2,783
89
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
583d85f9b9e48a5e3b769f8b97dd72fe2c978cba9629a03138e25a0b85014884
TypeScript
2,793
128
export type RecursivePartial<T> = { [K in keyof T]?: RecursivePartial<T[K]> } type Vec4 = number[] type Vec3 = number[] export type NgConfigViewerState = { perspectiveOrientation: Vec4 perspectiveZoom: number navigation: { pose: { position: { voxelSize: Vec3 voxelCoordinates: Vec3 ...
82791b6d9ef574fcf50dee257f040210fc99a284f022a1f068568091750bb65a
TypeScript
2,815
93
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
ab6dd0fd26208e688473977e1be734519e507cca184f08c4ae7be8e1886d3f7e
TypeScript
2,846
80
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
bb3dce26e66c0c9d72fb5407df8f007b051d9094a4dbb77824d933b79b85f8ca
TypeScript
2,846
87
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
bbbaa22ec14d79b80d1a36e3260ce691425e9d812b6bfa1b7611e8fd25274ea6
TypeScript
2,899
78
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
c9c19dbc1a90e0f9ef13cc0a0e89d46af5c7f6b7582998918c01c3bd3d48cc06
TypeScript
2,899
81
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
99d21161e15e8532332a1d249cd2845f5777d44d726816f234c78b2de012b119
TypeScript
2,903
112
import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output } from "@angular/core"; import { fromEvent, merge, Observable, of, Subscription } from "rxjs"; import { debounceTime, distinctUntilChanged, map, scan, switchMap } from "rxjs/operators"; import { MatSnack...
573607da148c97779c0847f88b263577baf3c8357bfbf01ecb1dcdffbe97d25b
TypeScript
2,921
105
import { Injectable, OnDestroy } from "@angular/core"; import { Store } from "@ngrx/store"; import { IMessagingActionTmpl, IWindowMessaging } from "./messaging/types"; import { atlasAppearance, atlasSelection, generalActions } from "src/state" import { SAPI } from "./atlasComponents/sapi"; import { translateV3Entities ...
88a5b9b79171043e7dbe7cab1023ccd057791644c29ad9a088563f2af0752654
TypeScript
2,967
101
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from "@angular/core"; import { SxplrAtlas, SxplrParcellation, SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes"; import { FilterGroupedParcellationPipe, GroupedParcellation } from "src/atlasComponents/sapiViews...
942d0533a9a8275fd7c5ba9d5529a3aa2918c09f0d68097c2d377233c6d9de6d
TypeScript
2,989
77
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
f8bc2bf6c0557a0f3972911d2d78b1b79d3528789432d8de7f12fd81af2da959
TypeScript
3,000
97
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
c6ddcd5f59f92cfd0c63920c61c312a14527eb8063e4933b45a5e718974089b3
TypeScript
3,001
72
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
bf6f1e3268262cd0408d4f47e9e68b0ba3cbf1657d43dc6ad6b9cde9bd36a105
TypeScript
3,011
122
import { CommonModule } from "@angular/common" import { HttpClientModule } from "@angular/common/http" import { Meta, moduleMetadata, Story } from "@storybook/angular" import { SAPI } from "src/atlasComponents/sapi" import { getHoc1Right, getHumanAtlas, getJba29, getMni152, provideDarkTheme } from "src/atlasComponents/...
e19394ed8bc19ccffea9f2289f3532cca9dbee750d0efa465160fdfa3f116c70
TypeScript
3,026
116
import { CommonModule } from "@angular/common" import { HttpClientModule } from "@angular/common/http" import { Component, EventEmitter } from "@angular/core" import { action } from "@storybook/addon-actions" import { Meta, moduleMetadata, Story } from "@storybook/angular" import { SapiRegionModel } from "src/atlasComp...
a78f826c5c72a000516461a906493cee2a5aac8f5f5916df7c25108f775feeb8
TypeScript
3,047
90
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
8414a97f1c80dc6c2608212e8e58f02c9343ee8189b5395d474cc8b374979525
TypeScript
3,064
76
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
aa438c4e3c19465f15898d4133f49c16f86aa3a04c7a28b0b8d4fceb7e631d34
TypeScript
3,073
121
import { CommonModule } from "@angular/common" import { HttpClientModule } from "@angular/common/http" import { Meta, moduleMetadata, Story } from "@storybook/angular" import { SAPI } from "src/atlasComponents/sapi" import { getHoc1Right, getHumanAtlas, getJba29, getJba29Regions, getMni152, provideDarkTheme } from "src...
1eb11f6b6a31d525d24ee112cbeafb4522de099fdaadcb15f3f00da0e9e3d605
TypeScript
3,078
96
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
9479580a026ea9857bf0a5c86be16410ade2efd293fbd7b9ff1d7279c080aee5
TypeScript
3,088
115
import { ChangeDetectionStrategy, Component, Inject, Input, OnChanges } from '@angular/core'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { distinctUntilChanged, filter, map } from 'rxjs/operators'; import { SAPI } from 'src/atlasComponents/sapi/sapi.service'; import { Feature, TabularFeature, V...
973c3ddd7a0d6981d3fb14528e9eb462a6309304b8fd8f58209e1b5e7c7615de
TypeScript
3,090
90
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
a9099435a79427f5efb5a683d053ead5e18e982a6fabcfef4fba62d49bbc4c9d
TypeScript
3,092
73
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
f774b0bd32a04fda416f0a52781f4346469d6282226a60dc92ad4f736734c818
TypeScript
3,106
108
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
02b73f24c7a38622eb9c2ea7781b635eb430e7dce4590d944b2ffe79c694b13e
TypeScript
3,117
84
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
51526b5cc2fdc47ecb69fc84108795c25a293819b1b40ab265dc837018a09422
TypeScript
3,127
91
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
13058a8ed9be5c4a89d076009d9c4ca831c7b694579e04a44abeb815fc96b5bc
TypeScript
3,164
99
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
12bd7398c70eb4eebdf761f84153690faa40a61d5230b78a93bef0b816959125
TypeScript
3,166
126
import { SAPI } from ".."; import { SapiRegionModel, RouteParam } from "../typeV3"; import { strToRgb, hexToRgb } from 'common/util' import { NEVER, Observable, of } from "rxjs"; import { map } from "rxjs/operators"; import { SAPIBase } from "./base"; import { SxplrRegion } from "../sxplrTypes"; /** * All valid regio...
64ce184e3ad8b45b26444a7061e1b1bff5da2abedd02bc3c7ceaee129c4c8634
TypeScript
3,176
95
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
e2666658287a8a78b463fc3411340e61ce1760b352a141ba761658eeda65800b
TypeScript
3,200
101
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
7c33413d544c238a0236a0a587a80ec1515e1811a065cfa53299c7cd4dc3c083
TypeScript
3,219
118
import { ChangeDetectionStrategy, Component, OnInit } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { merge, of, Subscription } from "rxjs"; import { pairwise, withLatestFrom} from "rxjs/operators"; import { ARIA_LABELS, CONST } from 'common/constants' import { actionSetAuxMeshes, selectorAu...
a21071362fe61ad13f2d21dfa62dae6a5e5a5dbfd2f17d2bf4acfff8c9ce2e22
TypeScript
3,219
97
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, NgModule } from "@angular/core"; import { NehubaViewerContainerDirective } from './nehubaViewerInterface/nehubaViewerInterface.directive' import { IMPORT_NEHUBA_INJECT_TOKEN, NehubaViewerUnit } from "./nehubaViewer/nehubaViewer.component"; import { CommonModule } from "...
06336732fb3eaa74078e222ffb3ec121c9137d181ba490254ef81eac2723d790
TypeScript
3,228
101
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
486696499325bf1c81cd9d2543b03c0848cd20266e7027caa0e178f9927301ec
TypeScript
3,250
88
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
a9a9c841f66bfc9e52c45dd9fe1631cb6a915d60959eb7b06c94394d6c784d30
TypeScript
3,253
98
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
fcf270d4adf90b2d17fff40afd1754e90581a37f00df5f024dba20166ace0e33
TypeScript
3,258
130
import { fakeAsync, tick } from '@angular/core/testing' import { hot } from 'jasmine-marbles' import { Observable, of } from 'rxjs' import { switchMap } from 'rxjs/operators' import { switchMapWaitFor, bufferUntil, arrayOfPrimitiveEqual } from './fn' describe(`> util/fn.ts`, () => { describe('> #switchMapWaitFor',...
936d5026ffd2169a645be19da85dd13a31966eb0b26c664425653979d62a19de
TypeScript
3,263
96
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
f34517a0643152dc0b300cbc2953ac1d9080bb12a94ed8f94b230e2d0ac6395c
TypeScript
3,275
111
import { finalize } from "rxjs/operators" import * as env from "src/environments/environment" import { SAPI } from "./sapi.service" describe("> sapi.service.ts", () => { describe("> SAPI", () => { describe("#BsEndpoint$", () => { let fetchSpy: jasmine.Spy let environmentSpy: jasmine.Spy const ...
893adb36634002a3f72ccd84895e068b0bed71c41f5aca5136b079fd250b9186
TypeScript
3,278
98
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
6ce264a7cd41ccfb285e61831dc977a5572e17558551b251d0f1e427c8b9d335
TypeScript
3,308
31
%# This is a cut down version of the problem ChinaTown, useful for code examples and very slow unit tests % The Train set is the same as ChinaTown, but the test set is reduced from 340 cases to 22 cases % @problemName UnitTest @timeStamps false @missing false @univariate true @equalLength true @seriesLength 24 @classLa...
4a0b8c28ca6c9e3992646ed0f8bff925f1fe8e3320008a7d00e7988c740d8db2
TypeScript
3,329
103
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
aa57f988a65a68d196ee311659c81f0d0c8ca673b32fb06ed9743b13aee5e606
TypeScript
3,337
160
import { CommonModule } from "@angular/common"; import { Component, Pipe, PipeTransform } from "@angular/core"; import { MatDividerModule } from "@angular/material/divider"; import { MatExpansionModule } from "@angular/material/expansion"; import { Meta, moduleMetadata, Story } from "@storybook/angular"; import { provi...
3e30ef8a44ea065c21a70c7a1e49f9e57d56d5a5a6e11a02cba43face63be815
TypeScript
3,346
126
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
d63f202b09bf8f0b8f9756db830b70071111d630ea4b4271c2e6e9b7e0e5706a
TypeScript
3,359
91
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
738b209e045d261bd0e039c1edd18b7ae03c5c39d75b783997edec0ef98d426c
TypeScript
3,364
108
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewChild } from "@angular/core"; import { UntypedFormControl } from "@angular/forms"; import { Subscription } from "rxjs"; import { debounceTime, distinctUntilChanged, filter, startWith } from "rxjs/operators"; import { SxplrR...
2715fe1d8cdca269042bde85bf9f145610ac08f7eed80c1ab64922a8a5cbb13f
TypeScript
3,378
123
import { AfterViewInit, Component, EventEmitter, OnDestroy, Output, ViewChild } from "@angular/core"; import { concat, of, Subscription } from "rxjs"; import { withLatestFrom } from "rxjs/operators"; import { EnumViewerEvt, TViewerEvent } from "../../viewer.interface"; import { NehubaLayerControlService } from "../laye...
361ef04474ac9c70c9ccdfaf443eabe6ef1f005db05b68fd7a27c73d018c98cc
TypeScript
3,386
105
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
04fa42bd924a5c5a1a3bb56f8508c535c88a40a1ebfb26b6951aa3f86c79224f
TypeScript
3,428
102
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
d12d3a49f2c804bf7148048c1dab0bca1773c064e326161a2c2adeb86dc59b6f
TypeScript
3,467
93
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
7b3cc9d75dd84ea6b763b7fa016523c0b5de53cff6ca841d5ae66afdb1ec3f92
TypeScript
3,495
93
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
21c93921c658f0e6fcb94e51d9b58c8056a66683476068d84ad66872ce23b275
TypeScript
3,497
131
import { Component, ViewChild } from "@angular/core"; import { TestBed } from "@angular/core/testing"; import { FixedMouseContextualContainerDirective } from "./FixedMouseContextualContainerDirective.directive"; import { By } from "@angular/platform-browser"; @Component({ template: '' }) class TestCmp{ @ViewChild...
802f510e36befb8f3a1e3de1f72da1ddca044754422dc25d8efaf5f483c74caa
TypeScript
3,508
98
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
ee28299f30d574ef809c4106e4fc3f0c8864e203116dd512dfde718065cd49f5
TypeScript
3,514
114
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
e1fe8765728d286dfa81defebd4f23918d39c9b818df550bed28b3df424d9adf
TypeScript
3,529
130
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
f608beb827deb472b6b658e42fd5e5aa6b60468b6d45c84fb2d9cc006b954810
TypeScript
3,544
98
import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { Observable } from "rxjs"; import { ComponentsModule } from "src/components"; import { ContextMenuModule, ContextMenuService, TContextMenuReg } from "src/contextMenuModule"; import { LayoutModule } from "src/layouts/layout...
97f3a824ceb3886af6d4be40d1190aa56fe6e1aece68ff907d1c11f0baeb4ca4
TypeScript
3,547
113
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
aa44663bd100587058aae4c9bd91fa2c2ef626b36eb2dd451710c8242c69f764
TypeScript
3,554
124
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
b4f86f2c56d6cd102f4ae08fb8a70e1af9ef1ee2c9bef2fe2972f1aa04b44240
TypeScript
3,564
82
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
ad4dd74076aa9a10ee07ef61ed80a88fd99180eb6617b0a0f07791aa0ee88fe5
TypeScript
3,568
90
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
b509a7940bbb9304d973b95c491a1ab26363f961017c7eca35e4acec51290596
TypeScript
3,572
108
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
26344732528f693d9fc7e87d606597e6d478ed85d28d49fbcf58970b283c9089
TypeScript
3,576
91
import { Injectable, OnDestroy } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { Subscription } from "rxjs"; import { filter, map, pairwise, startWith } from "rxjs/operators"; import { AnnotationLayer, TNgAnnotationAABBox, TNgAnnotationLine, TNgAnnotationPoint } from "src/atlasComponents/ann...
712b3df6c25ac251a0a76a0e6e23bafe6a2a8e5aa4e98e0f60afd88f4a1da857
TypeScript
3,580
128
import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewChild, } from "@angular/core"; import { Observable, of } from "rxjs"; import { map } from "rxjs/operators"; import { AuthService } from "src/auth"; import { MatDialog, MatDialogConfig, MatDialogRef } from "@angular/material/dialog"; import {...
b1f116c8f2c3f8e3974a3c73b0f5347103c675c3c2c064f410f44e2599adcd43
TypeScript
3,588
112
import {MAT_DIALOG_DEFAULT_OPTIONS, MatDialogConfig, MatDialogModule} from "@angular/material/dialog"; import {MatButtonModule} from "@angular/material/button"; import {MatSnackBarModule} from "@angular/material/snack-bar"; import {MatCardModule} from "@angular/material/card"; import {MatCheckboxModule} from "@angular/...
266720452505985ac7ee638a7d23b4ae3d3a61567f7bca35b663b76133d99960
TypeScript
3,598
112
import { NgModule } from "@angular/core"; import { ComponentsModule } from "src/components/components.module"; import { FormsModule, ReactiveFormsModule } from "@angular/forms"; import { LayoutModule } from "src/layouts/layout.module"; import { ScrollingModule } from "@angular/cdk/scrolling" import { HttpClientModule }...
7ef9a0fac52e9888c6e4a3bf391b033ad5bcbf154acfd28b69aa7c406ca03c1b
TypeScript
3,602
105
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
a34637f4e7b51b825d9c7d1a523f62b520b31fc5c5cc85537d7b96157128de5b
TypeScript
3,611
118
import { Injectable } from "@angular/core"; import { MatBottomSheet, MatBottomSheetRef } from "@angular/material/bottom-sheet"; import { MatSnackBar } from "@angular/material/snack-bar"; import { Actions, createEffect, ofType } from "@ngrx/effects"; import { select, Store } from "@ngrx/store"; import { of } from "rxjs"...
a49746a4fcdd5b54c147baeee2cd0a1391cefce1f43e19224808249ce05fef99
TypeScript
3,619
104
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
b15b36f5e407f59b8dce3270e6780041cd92e9fc7886852edbf52049d5cb9e0f
TypeScript
3,623
136
import { Directive, EventEmitter, Input, Output, SimpleChanges } from "@angular/core"; import { SxplrAtlas, SxplrParcellation, SxplrRegion, SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes"; import { translateV3Entities } from "src/atlasComponents/sapi/translateV3" import { rgbToHsl } from 'common/util' import...
4c66ac254a39a131f9123a532af99787feccc50791f81b7f69511c327143f362
TypeScript
3,631
116
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
1c28892222289640d0fb156823e183dd79e489e340cfcff16e5af3cf575fd218
TypeScript
3,640
34
%# This is a cut down version of the problem ChinaTown, useful for code examples and very slow unit tests % The Train set is the same as ChinaTown, but the test set is reduced from 340 cases to 22 cases % @problemName UnitTest @problemName Chinatown @timeStamps false @missing false @univariate true @equalLength true @s...
b95bcb1e1eb5080f9bff25351b0b4871bb51d935447518bff3622c264cf948f6
TypeScript
3,646
95
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
e55d4867dcb5af86d1133d66a7347a39a75ab0a1a9caa5bbf32b65f0b2dd666c
TypeScript
3,702
126
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
708720e328c925845d30da368ef5c72f9c931b763525ecb9cb075b29abc8845c
TypeScript
3,722
123
import { AfterViewInit, Component, Injector, Input, OnDestroy, Pipe, PipeTransform, Type, ViewChild, ViewContainerRef } from "@angular/core"; import { IAnnotationGeometry, UDPATE_ANNOTATION_TOKEN } from "../tools/type"; import { Point } from '../tools/point' import { Polygon } from '../tools/poly' import { UntypedFormC...
02c1ea3655370b62b97a03c6b10317569e76cab6d9d8ec430a8cda2867f927ce
TypeScript
3,729
113
// Copyright 2026 DeepMind Technologies Limited // // 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 l...
691a3ed19e9d4bbd4df2a38235ab53b5036373c0cff646302edb3f486914adb3
TypeScript
3,730
109
import { ChangeDetectionStrategy, Component, EventEmitter, Inject, OnDestroy, Optional, Output, TemplateRef, ViewChild } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { ClickInterceptor, CLICK_INTERCEPTOR_INJECTOR } from "src/util"; import { distinctUntilChanged } from "rxjs/operators"; impo...