sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
f55f891fbdd8189620db4de915ae1329c914857837dd325c3a9c1aaef73441f4 | TypeScript | 1,319 | 38 | // 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... |
9e51741140623d6e2715405d3b35e2d542233d23917e90b615aaaf66208c258a | TypeScript | 1,324 | 40 | // 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... |
6c0e4bf9b5b6bf4d1b3d005eaecba1df7330a30f6e6ec8ccab7c79a06e187346 | TypeScript | 1,329 | 36 | // 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... |
0fd9eb60b1143cbddea18a275e5835e43b58a72b1ada7794c402b5f337af3f80 | TypeScript | 1,335 | 38 | // 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... |
bc1dfac4d745740b0609300f8a04b5e3105d33d20fc896ac8e0c83d7ade81d7f | TypeScript | 1,336 | 36 | // 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... |
c74b16214e04b53505452d2e161505511fb8ace120a17d4828f7da8a931c1927 | TypeScript | 1,338 | 35 | // 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... |
cb1d8e4438dc61d7a1e041096139fa79009d977d7db21b34f2778f6c807d2224 | TypeScript | 1,338 | 50 | import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, ChangeDetectorRef, AfterViewChecked, OnChanges, SecurityContext } from '@angular/core'
import { DomSanitizer } from '@angular/platform-browser'
import * as showdown from 'showdown'
@Component({
selector : 'markdown-dom',
templateUrl : `./ma... |
038b9b15e692e3d632d3a1f10ecf5c7fdaa8343720e0fd6fa4f56c97f5420451 | TypeScript | 1,343 | 44 | import { CommonModule } from "@angular/common";
import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from "@angular/core";
import { SAPI } from "src/atlasComponents/sapi";
import { ConnectivityBrowserComponent } from "./connectivityBrowser/connectivityBrowser.component";
import { ReactiveFormsModule } from "@angular/forms";
impor... |
c0aaaa89aa10f3079509427b15d6fb445ef21c4520cd79d357b70845e95e0be7 | TypeScript | 1,346 | 45 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { AuthModule } from "src/auth";
import { ComponentsModule } from "src/components";
import { FabSpeedDialModule } from "src/components/fabSpeedDial";
import { PluginModule } from "src/plugin";
import { UtilModule } from "src... |
95b5ec188e1279b139d37a21cf9da77681174263628f1d938d377e05613004ba | TypeScript | 1,361 | 37 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { ReactiveFormsModule } from "@angular/forms";
import { SxplrFlatHierarchyModule } from "src/components/flatHierarchy";
import { AngularMaterialModule } from "src/sharedModules";
import { UtilModule } from "src/util";
impor... |
de24f5f08a6056a07c645a716cdb6bde321e2443ce62a0bf37ef7a9dca60cbb4 | TypeScript | 1,362 | 35 | // 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... |
adb0fb44e1ec3d882188f90191b0f720d912e0e0d738e991d753f7b345752161 | TypeScript | 1,369 | 39 | // 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... |
b3369b228bd3ef391a82e4c13108faab69f01a64441cc3f3401ea40d97fba005 | TypeScript | 1,393 | 72 | import { createReducer, on } from "@ngrx/store"
import * as actions from "./action"
import { UseViewer, CustomLayer } from "./const"
export type AtlasAppearanceStore = {
useViewer: UseViewer
octantRemoval: boolean
showDelineation: boolean
customLayers: CustomLayer[]
}
export const defaultState: AtlasAppearanc... |
a953cd1c8b29967b458512099eb606d8e9b58d494307ad6d2de5006f0ed3f092 | TypeScript | 1,440 | 40 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { MarkdownModule } from "src/components/markdown";
import { ReadmoreModule } from "src/components/readmore";
import { SpinnerModule } from "src/components/spinner";
import { FeatureModule } from "src/features";
import { Ang... |
6c15a46960433b12289ff06cfec0cb54f84c8dae6ac3ed77368297f059522230 | TypeScript | 1,444 | 37 | // 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... |
86109ce5b7951aaeba4909483fd59badebdb8b04335abdca19bc5f4d76064cf2 | TypeScript | 1,466 | 47 | // 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... |
8416461c2ec042578a8c477df46ae671b10f1b0635cc57d3adc31fd675db3671 | TypeScript | 1,469 | 47 | import { Injectable, OnDestroy, ComponentFactoryResolver, Injector, ComponentRef, ApplicationRef, EmbeddedViewRef, TemplateRef, ComponentFactory } from '@angular/core';
import './sl-style.css'
import { SpotlightBackdropComponent } from './spotlight-backdrop/spotlight-backdrop.component';
import { Subject } from 'rxjs';... |
15564111f992134a871c9629bc5cf0dfff5b3df85c36e10326a09a5ec288b9f5 | TypeScript | 1,471 | 60 | import { idMat4, NgLayerCtrlCmp } from "./ngLayerCtrl.component"
import { Meta, moduleMetadata, Story } from "@storybook/angular"
import { CommonModule } from "@angular/common"
import { MatButtonModule } from "@angular/material/button"
import { NEHUBA_INSTANCE_INJTKN } from "src/viewerModule/nehuba/util"
import { NEVER... |
0190543da3a87b3d4f154ea424fa92f2777ef8d161b1d7735f04b16df5bc0e71 | TypeScript | 1,479 | 48 | import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { Actions, createEffect, ofType } from "@ngrx/effects";
import { map } from "rxjs/operators";
import { COOKIE_VERSION, KG_TOS_VERSION, LOCAL_STORAGE_CONST } from "src/util/constants";
import * as actions from "./action... |
1fa8dfdc79a6e87836a45f353e221b2b9b7dae13ae0ab1728d0c35ede5cc4fdc | TypeScript | 1,483 | 42 | import {} from 'jasmine'
import { HumanReadableFileSizePipe } from './humanReadableFileSize.pipe'
describe('humanReadableFileSize.pipe.ts', () => {
describe('HumanReadableFileSizePipe', () => {
it('steps properly when nubmers ets large', () => {
const pipe = new HumanReadableFileSizePipe()
const num ... |
221ee8861da5b291eadbe7f8412ac17780823463a567f8275ab7d1ff81a81996 | TypeScript | 1,483 | 65 | import { Observable, of, throwError } from "rxjs"
import { SAPI } from '../sapi.service'
import { SxplrTemplate } from "../sxplrTypes"
import { map, switchMap } from "rxjs/operators"
import { SAPIBase } from "./base"
/**
* All valid parcellation features
*/
const SpaceFeatures = {
Image: "Image",
} as const
expor... |
eb13dca08d950d87ceec1ffafdd0e3db7b6fdd233c4cf6d7b8f1522ba1c74b36 | TypeScript | 1,503 | 61 | import {
ChangeDetectorRef,
Directive,
ElementRef,
OnDestroy,
OnInit,
} from "@angular/core"
import { MatSnackBar } from "@angular/material/snack-bar"
import { Subscription } from "rxjs"
import { DragDropFileDirective } from "src/dragDropFile/dragDrop.directive"
import { UserLayerService } from "./service"
im... |
b0fcb1413d6d4a98782116c491cf3157c71d8df5e682008ea0de0042c3699a95 | TypeScript | 1,532 | 41 | // 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... |
8456b128e788d639d38ccd12394d178c3dd46dd7e48c12f6f7a26545140a2bea | TypeScript | 1,545 | 60 | export const VALID_LINEAR_XFORM_SRC = {
CCF: "Allen Common Coordination Framework"
}
export const VALID_LINEAR_XFORM_DST = {
NEHUBA: "nehuba"
}
export type TVALID_LINEAR_XFORM_SRC = keyof typeof VALID_LINEAR_XFORM_SRC
export type TVALID_LINEAR_XFORM_DST = keyof typeof VALID_LINEAR_XFORM_DST
type TLinearXform = n... |
ddf6291e6341af3fb6be13b0abc2698cc17744d86e14ec5f8418a71398a0ab02 | TypeScript | 1,561 | 75 | import { Directive, OnChanges, SimpleChanges } from "@angular/core";
// TODO deprecate this directive
function parseAttribute(arg: any, expectedType: string) {
// if(
// typeof arg === expectedType ||
// arg === undefined ||
// arg === null
// ){
// return arg
// }
// switch (expectedType){
... |
f23ff94166cfaf7fa89566ff47d6ba289cc972a5bf280cc9dac4a701e9d19d24 | TypeScript | 1,562 | 63 | import { Component, TemplateRef } from "@angular/core";
import { MatDialog } from "@angular/material/dialog";
import { PluginService } from "../service";
import { PluginManifest } from "../types";
import { combineLatest, Observable, Subject } from "rxjs";
import { map, scan, startWith } from "rxjs/operators";
import { ... |
5841a2086072d552e758a04bf4ad110a8b72ded9b81ce60db6b721ca68604f27 | TypeScript | 1,591 | 54 | import { CommonModule } from "@angular/common"
import { TestBed, async } from "@angular/core/testing"
import { MAT_DIALOG_DATA } from "@angular/material/dialog"
import { AngularMaterialModule } from "src/sharedModules"
import { ComponentsModule } from "../components.module"
import { ConfirmDialogComponent } from "./con... |
973ce16b5ddf373a3f7189d3d83dadbc22e028789a99aa16ca10db6582955800 | TypeScript | 1,616 | 63 | import { Directive } from "@angular/core"
import { select, Store } from "@ngrx/store"
import { merge, Observable } from "rxjs"
import { distinctUntilChanged, map, scan } from "rxjs/operators"
import { TOnHoverObj, temporalPositveScanFn } from "./util"
import { ModularUserAnnotationToolService } from "src/atlasComponent... |
ed74405eee3eae7375e0c847d28730ae3311ef017eeac877dc09ec3e24bb504e | TypeScript | 1,622 | 49 | // 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... |
e9bf6d6543ad8e41f3fb169bab03ae7b12e00bd12e74da062c8fa9cad037af05 | TypeScript | 1,638 | 39 | // 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... |
28215bc474917523ffa99d8422fed9f9a635ae1dc27d47043abde80935f6a0a7 | TypeScript | 1,639 | 44 | // 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... |
3bdb9c75a0d50cd5c1d60597459fdfe54a5a0f665a8665e5b0ca2eec3967e450 | TypeScript | 1,645 | 68 | import { Directive, EventEmitter, HostListener, Input, Output, TemplateRef } from "@angular/core";
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
import { FileInputModal } from "./fileInputModal/fileInputModal.component";
import { IFileInputConfig, TFileInputEvent } from "./type";
@Directive({
s... |
50378e7834b145765b11dce37e6951b2867cf60ed4a0cd6c07abf4f62437d254 | TypeScript | 1,649 | 65 | import {} from 'jasmine'
import { forkJoin, Subject } from 'rxjs';
import { scan, skip, take } from 'rxjs/operators';
import { temporalPositveScanFn } from './util'
const segmentsPositive = { segments: [{ hello: 'world' }] } as {segments: any}
const segmentsNegative = { segments: [] }
const userLandmarkPostive = { us... |
84d19041e9cbdaf374458720aecd9804fc027223b3c8f1de6f549b497b14788d | TypeScript | 1,653 | 45 | // 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... |
bb7a7a27cac8b65a442140d1eb611152e62724241a363d5acb444c6ea4462711 | TypeScript | 1,658 | 43 | // 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... |
3a7bebcc3b6620aff98a6e1d974d9962f81caf24065b76f0f3495e6b641a7dbf | TypeScript | 1,662 | 71 | import { Directive, OnDestroy, Output, EventEmitter, Input, OnChanges, SimpleChanges, HostListener, ElementRef, HostBinding } from "@angular/core";
import { FabSpeedDialService } from "./fabSpeedDial.service";
import { Subscription } from "rxjs";
import { SCALE_ORIGIN } from './fabSpeedDial.service'
import { distinctUn... |
8f2935bf32c0b9e8d2ca9c963210ccc05bd99c00033787afaaa52e176971a8e4 | TypeScript | 1,674 | 60 | import { SxplrRegion } from "src/atlasComponents/sapi/sxplrTypes"
export const nameSpace = `[state.atlasAppearance]`
type CustomLayerBase = {
id: string
}
export type ColorMapCustomLayer = {
clType: 'customlayer/colormap' | 'baselayer/colormap'
colormap: WeakMap<SxplrRegion, number[]>
} & CustomLayerBase
expor... |
8338ae4fa90376df270135fcce2577b9c46680d124f4407227acaabff3988950 | TypeScript | 1,687 | 38 | // 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... |
facc33adbceb2ede78aa8315d1ccee666fe6f0d37d4b708c7f47915d5de2da8b | TypeScript | 1,694 | 79 | import { Pipe, PipeTransform } from "@angular/core";
import { TOnHoverObj } from "./util";
function render<T extends keyof TOnHoverObj>(key: T, value: TOnHoverObj[T]){
if (!value) return []
switch (key) {
case 'regions': {
return (value as TOnHoverObj['regions']).map(seg => {
return {
icon: {
... |
ed3ba3e0bb95024965c800e5087d7fa9b445de139fb8061b36a9b57dc0b1af73 | TypeScript | 1,695 | 67 | import { InjectionToken } from '@angular/core'
import { strToRgb } from 'common/util'
import { Observable } from 'rxjs'
import { atlasAppearance } from 'src/state'
export interface IColorMap {
[key: string]: {
[key: number]: {
red: number
green: number
blue: number
}
}
}
export function ... |
f7595daadc4c846bb3e775b7d3607340f248bc48ed3f045b2d71fb60ddcedcd5 | TypeScript | 1,709 | 56 | import { ComponentPortal } from "@angular/cdk/portal";
import { ComponentFactory, ComponentFactoryResolver, ComponentRef, Injectable, Injector, ViewContainerRef } from "@angular/core";
import { RM_WIDGET } from "./constants";
import { WidgetPortal } from "./widgetPortal/widgetPortal.component";
@Injectable({
provide... |
a6e002889353c9aca82af50c6d4369383f998e2c6fc5f97990d3b31cea99a796 | TypeScript | 1,726 | 51 | import { components, paths, operations } from "./schemaV3"
export type SapiAtlasModel = PathReturn<"/atlases/{atlas_id}">
export type SapiSpaceModel = PathReturn<"/spaces/{space_id}">
export type SapiParcellationModel = PathReturn<"/parcellations/{parcellation_id}">
export type SapiRegionModel = PathReturn<"/regions/{... |
6de5a9c8150bfa2753c4dc9bae50c46d247b42d0b8b0231933e5f1f2d4c8d22c | TypeScript | 1,739 | 62 | import { Input, OnChanges, Directive, SimpleChanges } from "@angular/core";
import { BehaviorSubject, combineLatest } from "rxjs";
import { debounceTime, map } from "rxjs/operators";
import { SxplrParcellation, SxplrRegion, SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes";
type BBox = [[number, number, numbe... |
8f6a69015cff46ea5654250c14af25d50337020646992d1b8d3c3c129342b0c0 | TypeScript | 1,771 | 51 | // 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... |
d70704fa7d6265f1ed89b6b8d4df50aeeab9787ea1cca09fe39d367d5a25b68e | TypeScript | 1,790 | 70 | import { UrlSegment, UrlTree } from "@angular/router"
import { Component } from "@angular/core"
export const encodeId = (id: string) => id && id.replace(/\//g, ':')
export const decodeId = (codedId: string) => codedId && codedId.replace(/:/g, '/')
export const encodePath = (key: string, val: string|string[]) =>
key... |
7f594fed7e8d0df7c9c3a51ab094812b0ebfd7b3789d4d209c64ba9aa5dbdf9b | TypeScript | 1,808 | 54 | // 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... |
f0047b2b182f4ac6cd78c543e656bfba0f61c2fdf141af12db5dcc1c7c289632 | TypeScript | 1,844 | 49 | // 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... |
da8cef375d271a72e9a8d3cba15320a7711b924ef175a23d2389489f01605719 | TypeScript | 1,852 | 46 | // 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... |
e030fc7c0e2d707b1338be54311a466807d400b92896441fc909bac849812467 | TypeScript | 1,856 | 53 | // 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... |
68568c6132c3c924810884a57144f0c6573a42ec53e14b4f60c413c8226517d6 | TypeScript | 1,861 | 52 | // 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... |
9baca6ed858c7a436d2a46a08ae3176644572b830308e7257ec0684e0cc2e50c | TypeScript | 1,878 | 51 | // 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... |
d4609f4445a8a527d4895fda9db20992fd36a882bdf32ca3a94abc309a4a9772 | TypeScript | 1,886 | 54 | // 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... |
d8a5169b7627551137eddcf93de5b57ffa5c12818d9fb228788f77c1a98a2cc6 | TypeScript | 1,905 | 49 | // 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... |
f21eb729610407f83c36fb4306d319553dbc534cddd3fdce158342762dc9df70 | TypeScript | 1,913 | 72 | import { Directive, HostListener, Inject, Input } from "@angular/core";
import { TZipFileConfig } from "./type";
import * as JSZip from "jszip";
import { DOCUMENT } from "@angular/common";
import { isObservable, Observable } from "rxjs";
import { take } from "rxjs/operators";
@Directive({
selector: '[zip-files-outpu... |
5df890fabe5edd4937fde27f8ed07623225b5c87ed7180ce9cac99626af25a37 | TypeScript | 1,920 | 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... |
21b324d1181063b957f3fe978148f7a26889cf033a337d47b3e2bbab7a651c1c | TypeScript | 1,927 | 69 | import { EventEmitter } from "@angular/core";
import { RecursivePartial } from "./nehuba/config.service/type";
import { TNehubaContextInfo } from "./nehuba/types";
import { TThreeSurferContextInfo } from "./threeSurfer/types";
type TLayersColorMap = Map<string, Map<number, { red: number, green: number, blue: number }>... |
8c5dc6e800e610ec52681cdcbe46c65ea346bed8108d53168571f4c94b484063 | TypeScript | 1,944 | 49 | // 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... |
a1f444000c78964d652e3aac82bf4920a5d500d92fffe0652e7024bcb2a94b27 | TypeScript | 1,962 | 59 | // 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... |
23d909801282300a2e768b691f70bbc1b26f536c8d2bfae0fd6e0ea2cbf02535 | TypeScript | 1,967 | 85 | import { HttpClient } from "@angular/common/http";
import { Injectable, OnDestroy } from "@angular/core";
import { Observable, of, Subscription } from "rxjs";
import { catchError, map, shareReplay } from "rxjs/operators";
import { environment } from "src/environments/environment"
const IV_REDIRECT_TOKEN = `IV_REDIRECT... |
3299d816073bff65ec15620fdb659a5ad887f147d403862e94b54cd38cfbf188 | TypeScript | 2,000 | 62 | import { CommonModule } from "@angular/common";
import { APP_INITIALIZER, NgModule } from "@angular/core";
import { Store } from "@ngrx/store";
import { ComponentsModule } from "src/components";
import { AngularMaterialModule } from "src/sharedModules";
import { atlasAppearance } from "src/state";
import { StrictLocalM... |
6022d37db645c6fad57e87a6b365df054dc3fb19d933f1245cdcd3ffc406f266 | TypeScript | 2,004 | 72 | import { Directive, ElementRef, EventEmitter, HostBinding, Input, Output, AfterContentChecked, ChangeDetectorRef, AfterViewInit } from "@angular/core";
@Directive({
selector: '[fixedMouseContextualContainerDirective]',
exportAs: 'iavFixedMouseCtxContainer'
})
export class FixedMouseContextualContainerDirective im... |
13f4138e1082c615d368659eb65f0c5ab84db7f852dfcffef9ca9445ca6b903f | TypeScript | 2,006 | 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... |
ff6f2627797b8498c109bab425758be79549fae70becd08861a02f2f4d0d0ba6 | TypeScript | 2,010 | 53 | // 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... |
4bcc573202fed1557c7b427836e4af93b4137f4ec1e0915da78465a8fdf99651 | TypeScript | 2,018 | 41 | // 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... |
aac1fdc45f1dc091a4f3ad967a3d5295b94dd6e1df1965d997a42561d0f172a7 | TypeScript | 2,021 | 67 | import { Input, Directive, SimpleChanges } from "@angular/core";
import { BehaviorSubject, combineLatest, Observable, of, throwError } from "rxjs";
import { catchError, switchMap, tap } from "rxjs/operators";
import { SAPI } from "src/atlasComponents/sapi";
import { Feature } from "src/atlasComponents/sapi/sxplrTypes";... |
a99083215c8ac9649f7faea3c937b0daf3b0fb4dad9d78be3ceeed82e2cfa064 | TypeScript | 2,028 | 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... |
2d739999c0ded0f11a052e69902892a95f7d4e9c9c16d37d1c2b43a9df5f8efb | TypeScript | 2,030 | 59 | import { Component, Inject, OnDestroy, Optional } from "@angular/core";
import { ModularUserAnnotationToolService } from "../tools/service";
import { ARIA_LABELS } from 'common/constants'
import { ClickInterceptor, CLICK_INTERCEPTOR_INJECTOR, CONTEXT_MENU_ITEM_INJECTOR, TContextMenu } from "src/util";
import { TContext... |
276375f67595774a0d248322abb2dcabe6232ba924ce87b6811b77ad3347e600 | TypeScript | 2,047 | 80 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { Subject } from "rxjs";
import { AngularMaterialModule } from "src/sharedModules";
import { UtilModule } from "src/util";
import { LineUpdateCmp } from "./line/line.component";
import { PointUpdateCmp } from "./point/point... |
39c810e147189f6ab85e22bb30a2e47bf78f2835c6a7efdc9591eb5bc3dfc214 | TypeScript | 2,060 | 59 | // 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... |
f144cef915bb47f5f0ea3c852f7f15a6ed52577f225ea0c0015f5e55ace230ce | TypeScript | 2,120 | 62 | // 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... |
df996daad6f4832a2958b95b4f5506e591f8ef58b801ae94d81f6a0118eb75a8 | TypeScript | 2,143 | 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... |
49ee31e0645f6854639dcaedb39deb1be0a1ad968ed82506daf81956177901d3 | TypeScript | 2,150 | 81 | import { Component } from "@angular/core";
import { MatDialogModule } from "@angular/material/dialog";
import { Store } from "@ngrx/store";
import { action } from "@storybook/addon-actions";
import { componentWrapperDecorator, Meta, moduleMetadata, Story } from "@storybook/angular";
import { atlasId, provideDarkTheme }... |
214e64c9e8df3e6697c9797cf1f6c848168c6826aa99c2ac455c35241a9390c5 | TypeScript | 2,160 | 64 | // 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... |
6c8d223a48f93291c789da7ea4590e0a656ec3f26c7715047f67ea40fe41f93d | TypeScript | 2,170 | 65 | // 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... |
7eda9c99caf9da32b8b2af12487ca882af8852a5b3b653323090bfcbc965ff99 | TypeScript | 2,172 | 60 | import { TestBed } from "@angular/core/testing"
import { provideMockActions } from "@ngrx/effects/testing"
import { Action } from "@ngrx/store"
import { MockStore, provideMockStore } from "@ngrx/store/testing"
import { hot } from "jasmine-marbles"
import { Observable } from "rxjs"
import { annotation, atlasAppearance }... |
1ed0dba1f24b0e522d0460f400e5908b54123a06134ba82c278b13ee796da355 | TypeScript | 2,178 | 72 | import { AfterContentInit, ContentChildren, Directive, OnDestroy, QueryList } from '@angular/core';
import { BehaviorSubject, combineLatest, Subscription } from 'rxjs';
import { map } from 'rxjs/operators';
import { Feature } from "src/atlasComponents/sapi/sxplrTypes"
import { ListDirective } from './list/list.directiv... |
46519799b16870425dccfce645b86354d7a7a537f448b29d2de6973bf47e6deb | TypeScript | 2,202 | 87 | import { Directive, Input, OnChanges } from "@angular/core";
import { BehaviorSubject, Observable } from "rxjs";
import { distinctUntilChanged } from "rxjs/operators";
import { BoundingBox, SxplrTemplate, SxplrAtlas } from "src/atlasComponents/sapi/sxplrTypes"
type Point = [number, number, number]
type BBox = [Point, ... |
2ac8e15ad2e3ea0df77b9f64633a97b85ec5f5d8d9470cff1803499fe7ffd792 | TypeScript | 2,204 | 64 | // 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... |
e06d0608a7b85615941f38d098d977a9a0090e921e178531d1d1f0373864182a | TypeScript | 2,207 | 65 | // 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... |
7cd9c5cfa0f20e4a80ae2eadf0775bfe317f698514a1bd6e655166493174e1e3 | TypeScript | 2,215 | 63 | // 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... |
7d59afd5d9b12a1c54892f4d78c53ed9bce24f6d0563790cdb6b3c2c78801288 | TypeScript | 2,216 | 73 | import { ChangeDetectionStrategy, Component, ElementRef, Inject, Input, OnDestroy, OnInit, ViewChild } from "@angular/core";
import { fromEvent, Observable, Subscription } from "rxjs";
import { filter, share } from "rxjs/operators";
import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog";
@Component({
... |
c817673cd8d89a64cfd4e6d2cf4b84415ec2a58407aa9d74eb89881e63c3fdeb | TypeScript | 2,225 | 57 | // 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... |
d9b4655e434fdc0c023871bfb11953a53921ae313fa38847bcd270e4b7afaffd | TypeScript | 2,246 | 73 | import { HttpClient } from "@angular/common/http";
import { Injectable, Injector, NgZone } from "@angular/core";
import { WIDGET_PORTAL_TOKEN } from "src/widget/constants";
import { WidgetService } from "src/widget/service";
import { WidgetPortal } from "src/widget/widgetPortal/widgetPortal.component";
import { setPlug... |
388e3ddc9d994c68d7bee9367ba28f0078f83d86beb43a01aa05bb3f87d9fcdd | TypeScript | 2,248 | 73 | import { NgModule } from "@angular/core";
import { KeyListner } from "./directives/keyDownListener.directive";
import { StopPropagationDirective } from "./directives/stopPropagation.directive";
import { SafeResourcePipe } from "./pipes/safeResource.pipe";
import { CaptureClickListenerDirective } from "./directives/capt... |
f565b4627fa05e5d68f58f21eb6e1414e031257178b8fb396d64b31fd749f47f | TypeScript | 2,255 | 64 | // 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... |
85fa3a2d24a34dc6faae5d9b75ddc767af7618b2b9c8a4641c88421849c0deeb | TypeScript | 2,268 | 65 | // 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... |
25e098a8c9672f8c82e695aaed5e06257eb474d0fc96b5f1a547d0516fe3c180 | TypeScript | 2,273 | 67 | // 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... |
fe4411c506f1de90a069c00e52be2b0a4bba23a22b7dce7ab683217d6c6c8161 | TypeScript | 2,280 | 86 | import { Injectable } from "@angular/core";
import { ConfirmDialogComponent } from "src/components/confirmDialog/confirmDialog.component";
import { DialogComponent } from "src/components/dialog/dialog.component";
import {MatDialog, MatDialogRef} from "@angular/material/dialog";
type TCancellable = {
abort: () => voi... |
e1cdc13f770e8a86bfc64a6a5089ed5008c0da5eac09b7612fde93e446a50098 | TypeScript | 2,289 | 104 | import { createReducer, on } from "@ngrx/store"
import { environment } from "src/environments/environment"
import { COOKIE_VERSION, KG_TOS_VERSION, LOCAL_STORAGE_CONST } from "src/util/constants"
import * as actions from "./actions"
import { maxGpuLimit, CSP } from "./const"
export const defaultGpuLimit = maxGpuLimit
... |
3a886b184f4380843d17bdbd9b132cf9e224651964453283e4e5f692c20d64d9 | TypeScript | 2,306 | 69 | // 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... |
cad58321beadbc56b9e1ad0136a642eeb3ba7cc3684230d443310656657c432d | TypeScript | 2,312 | 78 | import { Directive, OnDestroy } from "@angular/core";
import { Observable, Subject, Subscription } from "rxjs";
import { filter, switchMapTo, takeUntil, withLatestFrom } from "rxjs/operators";
import { Point } from "./point";
import { AbsToolClass, IAnnotationEvents, IAnnotationGeometry, IAnnotationTools, TAnnotationEv... |
0c25a526e6abd8f448b4a43f5527a15a4ce78e884d60f771586bea0df05a5fd9 | TypeScript | 2,325 | 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... |
48d6dc8deabc659625a374e8d60319d73ebf8996d975a7762c7672f6a7518cbf | TypeScript | 2,326 | 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... |
5d82a06285da783b59f693aaa27c6c321e8522859925b81d48ef141801400d0c | TypeScript | 2,344 | 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... |
b93baa729e948bfa37df91a60b90f4c597181ec3a9698a8c353329f762f662c2 | TypeScript | 2,360 | 62 | // 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... |
110849bd1adb23913fcd46cc03318ae72cd8b10eb814ceb46a34ef1518c18b7e | TypeScript | 2,374 | 63 | // 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... |
f84fa3df9652e8bfd887feada0c2d769c01e67e9c232e112fba9ac991865d0a5 | TypeScript | 2,376 | 65 | // 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... |
a1aad50d5cddd129d13af9e12415a86cf41c8f3a94ab0a19113e7130706ca4bf | TypeScript | 2,377 | 80 | import { Directive, OnDestroy } from "@angular/core";
import { Observable, Subject, Subscription } from "rxjs";
import { filter } from 'rxjs/operators'
import { Point } from "./point";
import { AbsToolClass, IAnnotationEvents, IAnnotationGeometry, IAnnotationTools, TAnnotationEvent, TCallbackFunction, TNgAnnotationPoin... |
cccc3951cbd3ad2f6192f931dcce0e81bd4f8175d62b4a191d4f415712602fa5 | TypeScript | 2,386 | 59 | // 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... |
ea0dca49b3ba236e3b3e850fcd9974260c58c0990dd716398084afb045690a43 | TypeScript | 2,416 | 66 | import { APP_INITIALIZER, NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { AngularMaterialModule } from "src/sharedModules";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.