sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
c99756191a153ef5d7acfbf05f6d0f5d809eb7864de8f8b18d6d6ede442f136e | TypeScript | 3,739 | 120 | // 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... |
a05f39b14f429a7f0703685366a28ff5df1103158bfe3f421d34225a043787df | TypeScript | 3,766 | 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... |
64836cdaaccd0abfb450cfe7b02a78c1ee4b29b8651ff52d18fd3de86b777678 | TypeScript | 3,769 | 110 | // 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... |
54c9a72a4a63316924b662cc0bc8fceed38fd7a7d3ef9296eeed03c29791ab5a | TypeScript | 3,783 | 114 | import { InterSpaceCoordXformSvc, VALID_TEMPLATE_SPACE_NAMES } from './interSpaceCoordXform.service'
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'
import { TestBed, fakeAsync, tick } from '@angular/core/testing'
describe('InterSpaceCoordXformSvc.service.spec.ts', () => {... |
2d4577225368f7284339659c2ebc6305f98af82b1489f1862215ec025295af29 | TypeScript | 3,792 | 121 | // 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... |
9a056e026e774b9d141ce0e067fa18306c189a56cc3e694e7a5908bea30fe638 | TypeScript | 3,824 | 111 | // 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... |
61b1c117a3689fe9dccee3056c97bf8f360d955e1e5a4c777884fcb705157ef8 | TypeScript | 3,833 | 141 | import { CommonModule } from "@angular/common";
import { Component } from "@angular/core";
import { MatButtonModule } from "@angular/material/button";
import { action } from "@storybook/addon-actions";
import { componentWrapperDecorator, Meta, moduleMetadata, Story } from "@storybook/angular";
import { atlasId, provide... |
7a5a456f3302cbc841e7ef57bfc86dc7c420a628f0e6dcf71d0c9d8bdd7cb699 | TypeScript | 3,845 | 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... |
5341b78790d1adace54dc2685e8f660cbfe901e292089614dfb9a991cdc381d5 | TypeScript | 3,860 | 145 | import { CommonModule } from "@angular/common"
import { HttpClientModule } from "@angular/common/http"
import { Component, EventEmitter, TemplateRef, ViewChild } from "@angular/core"
import { MatDialog } from "@angular/material/dialog"
import { action } from "@storybook/addon-actions"
import { Meta, moduleMetadata, Sto... |
b626956e7b755665ec2fcd6653e84a6e2f561a61beab2df32ced3df6c79b800b | TypeScript | 3,869 | 122 | // 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... |
4aab6543a045a8b609fcc0b0950a9f8a8a3ca6667354fb98548a37dfcf0c5ffc | TypeScript | 3,894 | 100 | // 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... |
dd9003aa485f6e52d373f8aecc4a22af456087c55fbd8a32e2267e712528dab2 | TypeScript | 3,909 | 145 | import { Injectable, OnDestroy } from "@angular/core";
import { select, Store } from "@ngrx/store";
import { combineLatest, Observable, of } from "rxjs";
import { map, switchMap } from "rxjs/operators";
import { IMeshesToLoad } from '../constants'
import { selectorAuxMeshes } from "../store";
import { LayerCtrlEffects ... |
b856e0755be4a64ab5ab18f8705fa0bdae3a4c2e877af06d119fe503a4da5147 | TypeScript | 3,916 | 118 | // 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... |
63d14b29b98c892c79bbc008c4047a3555df9c103320daeb3dd7f9f14e9e5944 | TypeScript | 3,926 | 131 | import { FlatTreeControl } from "@angular/cdk/tree";
import { MatTreeFlatDataSource, MatTreeFlattener } from "@angular/material/tree"
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, OnChanges, Output, SimpleChanges, TemplateRef } from "@angular/core";
import { TreeNode } from "../const"
i... |
98777af65cc121d7aa061264ca30200faa58e84c350a8fecd25ef46c20cf9b30 | TypeScript | 3,951 | 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... |
fb5d26d9a8f750d11759ed3808378bda17413cc3ce217e91d134e20926b9c36d | TypeScript | 3,978 | 119 | // 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... |
c4abdb2bd963a88336a9f4e498f011e2e448f70f5f8a44b667fbe21f5c86b88c | TypeScript | 4,019 | 107 | // 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... |
69c225f2efe76d9fdbec641ad1b727002147e2f54dd5a92291629ff5c2704098 | TypeScript | 4,027 | 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... |
1ed30ae3414bf96fd51fd394e699bca2f971c627ffcad6b67c44a229d10c24be | TypeScript | 4,033 | 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... |
0c9553da5e05616b173b85ed643f94a66808a7cc254eb1c799e0b9e4c648b9ba | TypeScript | 4,058 | 152 | import { HttpClientModule } from "@angular/common/http"
import { Meta, moduleMetadata, Story } from "@storybook/angular"
import { action } from "@storybook/addon-actions"
import { SAPI } from "src/atlasComponents/sapi"
import { atlasId, provideDarkTheme, getParcRegions, parcId, spaceId } from "src/atlasComponents/sapi/... |
49e0279ab59da249762adb2b2d91051cd466d895ebe5d83f7d14cac3dd1a1125 | TypeScript | 4,071 | 109 | // 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... |
4d04333e6ed26a5e72e1bf8f58794a89dacaccec037e26c0ebf18730705fe0da | TypeScript | 4,081 | 135 | // 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... |
6705999fe763d9bd636fc4bb00859c0fbb8201bfb1545a19ada6da835b231318 | TypeScript | 4,091 | 123 | // 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... |
c5c2be1553ed049076ebeda12ddba7698aa7fce2d3b2868eeb41069d208a4779 | TypeScript | 4,095 | 127 | // 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... |
779a2d628bcde6ea111bdd6b09b866bd13323d7b96220587790b494933df2cb8 | TypeScript | 4,132 | 182 | import { createAction, props } from "@ngrx/store";
import { SxplrAtlas, SxplrParcellation, SxplrRegion, SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes";
import { BreadCrumb, nameSpace, ViewerMode, AtlasSelectionState } from "./const"
export const selectAtlas = createAction(
`${nameSpace} selectAtlas`,
p... |
bb539c01e71e859f0f382c2f5558f4b93e3588cc585015e978318f69f9503bd2 | TypeScript | 4,141 | 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... |
45f26050482c301cd22556e7910975a91fdb8351dcca220194280d3397553ca2 | TypeScript | 4,152 | 142 | // 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... |
eb7bda8802c8608d64382046787a4289d6b85ef1875db2105e0f4d339737b8d5 | TypeScript | 4,187 | 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... |
f340ddc1ca3e21ed13c14f5407596ffc29af0cae243231763e7e5d745c496fd4 | TypeScript | 4,188 | 128 | // 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... |
835703abb90ef6f0640a474dea2c567922500b9be5debee62ceb9bff6dc2daf8 | TypeScript | 4,217 | 115 | // 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... |
dde99b0f9363ade7525a963fd3545a1dcb354d24bce2f97a5b834092b2efc4e9 | TypeScript | 4,229 | 131 | // 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... |
01eba62d205bf2cc11caf54aa6cfd19d68ad32f7e374e4b72be27b46db3b7d22 | TypeScript | 4,242 | 117 | // 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... |
6e9a1340f13aae8bafc4824663c0ca04d1189ae6b6d675933d048cf4d10c450c | TypeScript | 4,247 | 132 | // 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... |
a173bdfd2ec4f66bcbefc8625f09ef816921a1b12fe8e88ce61de15845f2f50b | TypeScript | 4,295 | 131 | // 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... |
614441be531b18501992b5f79bd5535f483e159da82691b7956b5baf3fd222cb | TypeScript | 4,300 | 172 | import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse, HttpErrorResponse } from "@angular/common/http"
import { Injectable } from "@angular/core"
import { interval, merge, Observable, of, Subject, throwError, timer } from "rxjs"
import { catchError, filter, finalize, map, switchMapTo, take, takeWh... |
bdfde54b1f159f243dc0c5ef26c2bcce26fddf23d979d498aa999a622424bb22 | TypeScript | 4,305 | 121 | // 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... |
a9218d89ab96914aea95dfbd7a2303f8e0b23fb1ff5063621f469d9c3201b1f0 | TypeScript | 4,329 | 131 | // 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... |
348e182d5ba45e3f9562ab472a0adbf9e4e4d77761281c3d30c88188fbef2a3d | TypeScript | 4,342 | 144 | import { AfterViewInit, Component, OnDestroy, QueryList, ViewChildren } from '@angular/core';
import { select, Store } from '@ngrx/store';
import { map, scan, switchMap, tap } from 'rxjs/operators';
import { IDS, SAPI } from 'src/atlasComponents/sapi';
import { Feature } from 'src/atlasComponents/sapi/sxplrTypes';
impo... |
1c625aad328c6e6c8c9baaaec24db050b7d72a4eb95ad2ec13bf4dcf393db911 | TypeScript | 4,344 | 112 | // 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... |
ac73c0a50b03499c0abf52f6195997a78f93b6dbc5eb22aafe53e022e3c94571 | TypeScript | 4,356 | 144 | // 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... |
fcc8f909908d74f53d6d26f5ae3f8f68f17233bfb5924793fa5372d602ac55d6 | TypeScript | 4,357 | 113 | import { Injectable } from "@angular/core";
import { HttpClient, HttpHeaders, HttpErrorResponse } from "@angular/common/http";
import { catchError, timeout, map } from "rxjs/operators";
import { of, Observable } from "rxjs";
import { environment } from 'src/environments/environment'
import { IDS } from "src/atlasCompon... |
eb1b994825718f8fc9e35779a5d81ceb5f73d6059ddd6671b503a3ddc326093f | TypeScript | 4,361 | 122 | // 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... |
af346da3adb6e640edb45a9488bbb818a9629ec236c553d00eacdb2843c84920 | TypeScript | 4,407 | 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... |
8f6db9a37d9539271118f1adb5a8b261c8a5754240a0630a82593dbbc77e667b | TypeScript | 4,428 | 142 | import { HttpHeaders } from "@angular/common/http"
import { environment } from 'src/environments/environment'
export const LOCAL_STORAGE_CONST = {
GPU_LIMIT: 'fzj.xg.iv.GPU_LIMIT',
ANIMATION: 'fzj.xg.iv.DISABLE_ANIMATION_FLAG',
MOBILE_UI: 'fzj.xg.iv.MOBILE_UI',
AGREE_COOKIE: 'fzj.xg.iv.AGREE_COOKIE',
AGREE_K... |
92893c5cad913852e330e1ebecc7fc9ce063330f1f7a80e244ac621ae6b77b2e | TypeScript | 4,431 | 150 | import { ComponentRef, Inject, Injectable } from "@angular/core";
import { BehaviorSubject, Subject } from "rxjs";
import { Overlay, OverlayRef } from "@angular/cdk/overlay";
import { ComponentPortal } from "@angular/cdk/portal";
import { QuickTourThis } from "./quickTourThis.directive";
import { DoublyLinkedList, IDou... |
1152254b43a9db8f9375040927ddb0b44a4f80dc148a2fb9617e16b7b810909b | TypeScript | 4,459 | 148 | import { Injectable } from "@angular/core";
import { createEffect } from "@ngrx/effects";
import { select, Store } from "@ngrx/store";
import { EMPTY, forkJoin, merge, Observable, of, pipe, throwError } from "rxjs";
import { debounceTime, map, switchMap, withLatestFrom, filter, shareReplay, distinctUntilChanged } from ... |
2f791b0219bd7d4ddb72b6a49a5cea3612b837ea6b5dca950e859ca7fd27f858 | TypeScript | 4,465 | 145 | import { Component, ViewChild } from "@angular/core"
import { ComponentFixture, TestBed } from "@angular/core/testing"
import { UserLayerDragDropDirective } from "./userlayerDragdrop.directive"
import { UserLayerService } from "./service"
import { NehubaUserLayerModule } from "./module"
import { CommonModule } from "@a... |
4047fd54793958dbf92cfe414fb3bf13c6abc406aa77e75fc87db7f0d644faf9 | TypeScript | 4,505 | 156 | // 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... |
855473ddcf0f87bf16bc537f4102d109d8e7adceab4a9c12dd5044ecef5bfc16 | TypeScript | 4,517 | 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... |
8f217e75ab6c9a3c28a23a2229e84144dbbf3fda6d720226e57a199e92961be5 | TypeScript | 4,517 | 133 | // 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... |
ad2a9523265a5ff1a3789e48cb9df34e97d8ba8ec00da3015f9e376e2a9bc64c | TypeScript | 4,543 | 143 | // 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... |
04372d4b3bd74bbfd9f1a1dfb19b712d3220067d140de5dd297763b16d9875b4 | TypeScript | 4,604 | 190 | import { fakeAsync, TestBed } from "@angular/core/testing"
import { MockStore, provideMockStore } from "@ngrx/store/testing"
import { NehubaLayerControlService } from "./layerCtrl.service"
import * as layerCtrlUtil from '../constants'
import {
annotation,
atlasAppearance,
atlasSelection
} from "src/state"
import ... |
3ce3c6c9e63007f360557459986327432f58d0cf47b94523d08d08eb1babf4e2 | TypeScript | 4,615 | 172 | import { Observable, Subject } from "rxjs"
import { getExportNehuba, getUuid } from "src/util/fn"
import { IMessagingActions, IMessagingActionTmpl, TVec4, TMat4 } from "../types"
import { INmvTransform } from "./type"
export const TYPE = 'bas:datasource'
const NM_IDS = {
AMBA_V3: 'hbp:Allen_Mouse_CCF_v3(um)',
WAX... |
b197864a14f7997c95610de612806002f519e51b1da968d64b85adc153a57cd2 | TypeScript | 4,630 | 157 | // 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... |
eb62c0725803dc05de09b757840de317e801f969d59c09fc493d787fe9e2938a | TypeScript | 4,635 | 173 | import { ChangeDetectionStrategy, Component, Inject, Input, OnChanges, OnDestroy } from "@angular/core";
import { Store } from "@ngrx/store";
import { isMat4 } from "common/util"
import { CONST } from "common/constants"
import { Observable } from "rxjs";
import { atlasAppearance, atlasSelection } from "src/state";
impo... |
efef31329bdb5b04b7817e1241a5516fbe1b862c2643b980c3bc8aeac9c9fb22 | TypeScript | 4,763 | 141 | import { cvtNavigationObjToNehubaConfig } from './util'
const currentNavigation = {
position: [4, 5, 6],
orientation: [0, 0, 0, 1],
perspectiveOrientation: [ 0, 0, 0, 1],
perspectiveZoom: 2e5,
zoom: 1e5
}
const defaultPerspectiveZoom = 1e6
const defaultZoom = 1e6
const defaultNavigationObject = {
orienta... |
63ab2000872148508e09f22fc421442a1e8657a9fadbceca9bc28725c06124dc | TypeScript | 4,829 | 141 | // 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... |
9b38eb73414aeb99b9b1332ae54eb10b9ed2cacd5a4cbf35178dab7722676d35 | TypeScript | 4,854 | 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... |
e0ea4a5eda8cd998f8bb8271418e9671c53186153b45c8aa2a55bedaee27f2c6 | TypeScript | 4,862 | 183 | // 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... |
b290149766d3275d123324f75521fa58dccb8c45ab610f81ebdd65391fc5908e | TypeScript | 4,877 | 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... |
578ebd758014e3192452d1825b03c09e59194161ef58e0cf13371129ff6468d1 | TypeScript | 4,889 | 143 | // 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... |
c7c139331d1b1f4edeaa05f5587a381e5898d5a84098e4f5a4467a4274582784 | TypeScript | 4,899 | 154 | // 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... |
b0d87711f11358df228b24d9b5f53c2ce9972c46333d5964ee39ddce3f23cb7a | TypeScript | 4,914 | 143 | // 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... |
e6719f97c353316953a11e71ede0617ef2a140e20e91fdbc1504d54e440d2103 | TypeScript | 4,947 | 125 | // 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... |
f4efa710f4b5d6515ac343163593c625e86e764e2baba13ca16983db4762470c | TypeScript | 4,971 | 128 | // 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... |
1f13914808698f3916383a21cdcdb048a2df55f13f35c183443ca91fadbc903b | TypeScript | 4,973 | 146 | // 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... |
2ecacc59362a94b14bc309968ffb7315c772a7809c4205a59dc6c5e9a61e5c27 | TypeScript | 4,982 | 135 | // 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... |
807367f9752096b81bafa79a282c1a0f23749a1b7132cd546b0c89d7054589f4 | TypeScript | 5,012 | 155 | import { Directive, Inject, Input, OnDestroy, Optional } from "@angular/core";
import { Store } from "@ngrx/store";
import { concat, interval, of, Subject, Subscription } from "rxjs";
import { debounce, distinctUntilChanged, filter, pairwise, take } from "rxjs/operators";
import { AnnotationLayer, TNgAnnotationAABBox, ... |
27ae5de5093178561c5288a0f02c6ae2e96c07fea66f6775fb6f2f6a4223497c | TypeScript | 5,080 | 125 | // 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... |
ce1cd25b338fd5ea80d230bfafda1b39f13c4413f5e3d3bab046e342302f28c6 | TypeScript | 5,127 | 162 | // 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... |
1da62d2dc3f4bc56c27d859fe761bc6d30958998c34cde22cf52cd5799c3efa6 | TypeScript | 5,162 | 148 | // 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... |
a549e90f961153390b49e05e42a1a2fa9e6159744e4627cbc24cef919d5ea7a1 | TypeScript | 5,203 | 145 | import {ConnectivityBrowserComponent} from "./connectivityBrowser.component";
import {ComponentFixture, TestBed} from "@angular/core/testing";
import {Action} from "@ngrx/store";
import {CUSTOM_ELEMENTS_SCHEMA, Directive, Input} from "@angular/core";
import {provideMockActions} from "@ngrx/effects/testing";
import {Moc... |
f6e5c167e9f58c39f03883ab0dde5b4890e34b79035238d40e9850b4625d4f60 | TypeScript | 5,237 | 145 | // 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... |
02b14c69e01f280b40ddbe137e44138a8a46ef695d4172d87e523101f7c76728 | TypeScript | 5,295 | 200 | // 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... |
b5d4ff16f7e98dbd87b8b5418e59ee5c19b6ffce905f39ee90cd3a62096a21df | TypeScript | 5,321 | 194 | import { AbsToolClass, getCoord, IAnnotationEvents, IAnnotationGeometry, IAnnotationTools, INgAnnotationTypes, TAnnotationEvent, TBaseAnnotationGeomtrySpec, TCallbackFunction, TNgAnnotationEv, TSandsPoint, TToolType } from "./type";
import { Observable, Subject, Subscription } from "rxjs";
import { Directive, OnDestroy... |
5d8fcd63013d7a4ae8f8613bb3349c8c8b0221e4e774d823e62bda212bc2813b | TypeScript | 5,327 | 143 | // 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... |
c70d79e7e29ed19f89d7b3a5609931ad1d946bfa727971e96fc733ff87c07eb6 | TypeScript | 5,331 | 181 | // 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... |
5820a0ec631db66de2bf34a30418b5cd7eb4a221215628faf511457ad4720bcc | TypeScript | 5,345 | 161 | import { Injectable, OnDestroy } from "@angular/core";
import { Actions, createEffect, ofType } from "@ngrx/effects";
import { select, Store } from "@ngrx/store";
import { combineLatest, NEVER, of, Subscription } from "rxjs";
import { debounce, distinctUntilChanged, filter, map, mapTo, skipWhile, switchMap, tap, withLa... |
d2d85167c787064cd8b916c09bf71cd2952ba2149d2ba25102f4f7bdd977a2cd | TypeScript | 5,391 | 188 | import { Component, OnDestroy, Input } from "@angular/core";
import { Observable, merge, of, Subscription, BehaviorSubject, combineLatest } from "rxjs";
import { startWith, mapTo, map, debounceTime, switchMap, catchError, shareReplay, filter, tap, takeUntil, distinctUntilChanged } from "rxjs/operators";
import { Untype... |
6059db71e356dce67a806895ea817d9b88e751d80e051d16a1fca8469d8aa050 | TypeScript | 5,392 | 147 | // 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... |
81670c14bedfa682939456d5ce1d09e05526d4d7cdbe1c7d498bf6c6a2eef45d | TypeScript | 5,424 | 133 | // 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... |
608a77d417cf0ad247caa2a05207047e40bf51b019c7028e65c5e528b9109db0 | TypeScript | 5,439 | 152 | // 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... |
ed97a500399d733f7fc8ff6d3e947203668ab474bb1c0924913f08caab273e32 | TypeScript | 5,472 | 157 | // 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... |
026799a7019188021acd9305cf9352282072587dc3f83b3d2acc89214f7bd5c7 | TypeScript | 5,488 | 158 | // 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... |
085dd7b19094c54faf0885ea7fbdb4b17967db2dbf3f1d6972b2e04dda909aeb | TypeScript | 5,528 | 174 | // 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... |
b099e6ee3b3a0ec83cb3bbc776d387ed4fe997bb53200f2f89c33f014ac1f29f | TypeScript | 5,536 | 200 | import { Component, HostListener, Inject, OnDestroy, Output, EventEmitter, Optional, ViewChild, TemplateRef } from "@angular/core";
import { MatDialog } from "@angular/material/dialog";
import { MatSnackBar } from "@angular/material/snack-bar";
import { combineLatest, Observable, Subject, Subscription } from "rxjs";
im... |
ac877fdc2010a5fe58069780ed0fe557388f7e43697bae6ba4ed59c345901b53 | TypeScript | 5,564 | 203 | import { TestBed } from "@angular/core/testing"
import { MockStore, provideMockStore } from "@ngrx/store/testing"
import { hot } from "jasmine-marbles"
import { NehubaMeshService } from "./mesh.service"
import { atlasSelection } from "src/state"
import { SxplrRegion } from "src/atlasComponents/sapi/sxplrTypes"
import *... |
ba6487dfedaaaf5662efbf10da2cdfa13e9e2ef70a604aab35457343bd2872d5 | TypeScript | 5,569 | 158 | // 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... |
336d2a6ce46120115ad16dc746f0dc9d22b01f7cb41768ec77535cb7c1dbb3bc | TypeScript | 5,581 | 170 | // 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... |
bb45bb020f4af1a82a6420b28740e9fbb85c4baed6288bbb0a0845dde0e7eb3d | TypeScript | 5,623 | 167 | // 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... |
cc150b1ad0483043cb110db671435e63f2cf420295dada9489a5e2f93339540b | TypeScript | 5,679 | 167 | import { Component, Inject, OnDestroy } from "@angular/core";
import { MatDialog } from "@angular/material/dialog";
import { select, Store } from "@ngrx/store";
import { Observable, of, Subject, Subscription } from "rxjs";
import { filter, map, switchMap, tap, withLatestFrom } from "rxjs/operators";
import { SAPI } fro... |
f8101b5dc35662c68663f31f020c91cf7ad59ef186788dc7f3e98c58e557e12b | TypeScript | 5,739 | 172 | // 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... |
9d5462de2e075109533c2eb42a7245a8b3981c45b4f58573d876ffd63502c70c | TypeScript | 5,760 | 187 | // 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... |
9c5b45f1c8c6c979620150bca3276f714a084f6f01660b74467bf0bd2c4a79b8 | TypeScript | 5,772 | 149 | // 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... |
0b83482278d5cf441d8b6c0cf4329e5e66ca5e736d7a58793a4386a3fe151ad0 | TypeScript | 5,806 | 193 | // 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... |
e1fb6f318036eb9696abc9a4f63857122dae0effe95bd62c8e7f1a79f47e5037 | TypeScript | 5,821 | 204 | import { BehaviorSubject, Observable } from "rxjs";
import { distinctUntilChanged } from "rxjs/operators";
import { getUuid } from "src/util/fn";
export type TNgAnnotationEv = {
pickedAnnotationId: string
pickedOffset: number
}
/**
* axis aligned bounding box
*/
export type TNgAnnotationAABBox = {
type: 'aabb... |
3e3476375a4af307048460ab8fa087c4f5e1ebbae2681b0442b62becb4de018a | TypeScript | 5,849 | 169 | // 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... |
cbd89fbb5e8a4e9422dd48199c0e6daf6343c260a36b9bac24cbf9815b3729ab | TypeScript | 5,860 | 188 | // 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... |
c860f5162e62e1c3ed59ddcd82217499c4f8847b6d71a27e88fffeb5ebe65c2a | TypeScript | 5,881 | 167 | // 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... |
5677ac680cef8e3854be0a3b1bfbfaf9b5396bf89a7dedf543fef1df18d32ec1 | TypeScript | 5,903 | 187 | // 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.