sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
91d2e4a1c66093bfbf0953cd2ca874d840b8e53859d2384f4ffa4f3737172321
TypeScript
1,081
59
/** * Interface for objects that can respond to user interactions */ export interface Interactive { /** * Check if the given coordinates are within the interactive area */ hitTest(x: number, y: number): boolean; /** * Handle mouse enter events */ onMouseEnter?(event: MouseEvent): void; /** ...
0bbaa24f8151d45703e7429099bfe08ac07f1d33f15c6354f1c45410c001791d
TypeScript
1,082
52
export const objectTableConfig = ` <View> <Header value="Table with {key: value} pairs"/> <Table name="table" value="$text"/> <Choices name="choice" toName="table"> <Choice value="Correct"/> <Choice value="Incorrect"/> </Choices> </View> `; export const objectTableData = { text: { cTest: 2, a...
5ca023badd91e82f643d436dc8b9134e6ee51e6220fe865c749ee88b6d1a9a51
TypeScript
1,082
29
import { Injectable } from "@angular/core"; import { createEffect } from "@ngrx/effects"; import { select, Store } from "@ngrx/store"; import { of } from "rxjs"; import { distinctUntilChanged, map, switchMap } from "rxjs/operators"; import * as atlasSelection from "src/state/atlasSelection"; import * as atlasAppearance...
acdbf3cb8824b1c5daa8cf511d598030dd04be51a5a38569c1d5f274b66124a6
TypeScript
1,082
36
/** * Mock Result type for AreaMixin tests. Provides same interface used by AreaMixin * without requiring full Registry and control/object tags. */ import { types } from "mobx-state-tree"; import { guidGenerator } from "../../utils/unique"; const MockResult = types .model("MockResult", { id: types.optional(ty...
bf05ade930a0a0bf6ca48f39fe2ed5e4b14271425984ba8d030bfac63d5a035e
TypeScript
1,082
44
import { InjectionToken, TemplateRef } from "@angular/core" type TPosition = 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left' | 'top-left' | 'center' type TCustomPosition = { left: string top: string } export interface IQuickTourData { order: number description: stri...
0302afd5b47fb567c5acc03b4f697189f29e9570e65df0736660b93f08e3c197
TypeScript
1,084
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
bd107b69d7a6b298ccd9388d5d50dff560faada22447f4be167169593c4dcb83
TypeScript
1,084
20
/** Derived view shape — computed from the current URL pathname, used to * drive highlight state in non-routed surfaces (LocatePane, spin trigger). * Mirrors the routes declared in `routes.tsx`. */ export type View = | { kind: 'home' } | { kind: 'list'; type: string | null } | { kind: 'detail'; uniqueId: stri...
04ef42124f527f8c9038fa054ca6b46792d106a35d97f1a87adea8f2e7906c84
TypeScript
1,085
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a
TypeScript
1,085
26
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
e0147ce8fc04ee447e2ade5c731222689a2b7f4d593d99a73a943fce3e55e153
TypeScript
1,085
25
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
79a4f603c267e1737d40aaf79084392aeeab3ce4dac0a454c0f89c6c9743753f
TypeScript
1,086
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
8794ed5bb3b33af866024bae2cb7a121f4ed9449d1df366b0780444dbfa47d27
TypeScript
1,087
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cfdbd989af5768bd914ed47b1bc60d31da8932d82b79deb56a7f925d1614dfa5
TypeScript
1,087
46
import type { JSONViewerRowContext } from "react-json-virtualization"; export type JsonViewerNodeData = { key: string | number; value: unknown; path: (string | number)[]; }; export function jsonPathToSegments(jsonPath: string): (string | number)[] { if (!jsonPath || jsonPath === "$") { return []; } c...
5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8
TypeScript
1,088
24
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
4e6cd70713d9e5d93b9f0ca5f3eb9d4dbe1772ae1227c629da5b841d1ef464b0
TypeScript
1,089
30
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9eff130ebec9dc1de29acf7b0204097cae5e3080b5c491603377d96a83a56bb4
TypeScript
1,089
35
import { Pipe, PipeTransform, SecurityContext } from "@angular/core"; import { DomSanitizer, SafeHtml } from "@angular/platform-browser"; @Pipe({ name: 'hightlightPipe', pure: true }) export class HighlightPipe implements PipeTransform { constructor(private sanitizer: DomSanitizer){} transform(input: stri...
ad4751448e1f3c9cb97a8bd6f2e7dc89ba73c95dd02f1a8eec92eed8d97d96fa
TypeScript
1,089
33
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e1f592a58b0787b5a1c88f1d9a912b4779936a3c0dfb4e6ecb5a570626aadaef
TypeScript
1,091
30
import { afterEach, describe, expect, it } from "bun:test"; import { ANNOTATOR_ROLE, isAnnotatorRole } from "./user-role"; describe("isAnnotatorRole", () => { const origAppSettings = (window as { APP_SETTINGS?: unknown }).APP_SETTINGS; afterEach(() => { (window as { APP_SETTINGS?: unknown }).APP_SETTINGS = or...
4559522206e6762160193cc4d301702f56a3abfb7a50c524aea102f601fd26a6
TypeScript
1,092
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
66f70703a7ea28f1ba15addc87a5f8d17962e70929fb1723fd22320581c3e96a
TypeScript
1,092
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ccda6aaa0e630f43df957d6f906a016f23fa3feee21c61ab68f8b529f143b6b4
TypeScript
1,092
32
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1f5a638d9fe255e324ebdd61ababa55cc29175bb83aaa842fa3a2ef0706edee2
TypeScript
1,093
28
import { ImageView, LabelStudio } from "@humansignal/frontend-test/helpers/LSF"; import { allLabelsEmptyConfig, allLabelsEmptyData, resultWithNotExistedLabels } from "../../data/config/empty-labels"; describe("Empty labels", () => { it("Should retain labels that are not explicitly defined in the configuration", () =...
6dd4e0dc1462b5c5198c63b4b172c94b50d0b068ece0c9aa46fa612033249635
TypeScript
1,093
15
export { MatTab, MatTabGroup } from "@angular/material/tabs"; export { ErrorStateMatcher } from "@angular/material/core"; export { MAT_DIALOG_DATA, MatDialogConfig, MatDialog, MatDialogRef } from "@angular/material/dialog"; export { MatSnackBar, MatSnackBarRef, SimpleSnackBar, MatSnackBarConfig } from "@angular/materia...
85a91daaf2697931b5c012bcaa650f646bac184d540e647bb261381f4e0fac07
TypeScript
1,093
25
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
0ed0eeeb377deac2b4d4c9c48a58f92a7922bff965412c417574527fae73eb73
TypeScript
1,094
24
/** * @file Spacefill Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './structure-representation'; import { Structure } from '../ngl'; import Viewer from '../viewer/viewer'; i...
e5d520736be17c99f3bd8800ad568c85231addd20319f364bea366b13781ebe5
TypeScript
1,094
24
import type { Distribution, UserState } from '../shared'; /** * Maps the domain {@link Distribution} onto the {@link UserState} the upsell * components consume. Distribution reports two orthogonal facts: * - `isProprietary` — running the proprietary (dbt v2) build vs dbt Core. * - `isLoggedIn` — whether the us...
97323543b54213c3734ffdc7af733c40c6f6ef42df894e8756fd2f3123a9665f
TypeScript
1,095
26
/** Saturated fg/viz token per resource type, for DAG node/badge fills and the * minimap. Base values only (not `Hover`/`Muted`) -- confirmed against * Jess's reference swatch of all 8 resource-type badges as the universal * OSS palette. These are theme-invariant (same hex in both the light and * dark theme blo...
b2480639c38330a420db1ac220399090bf3cb709e163784b8fd312d225cf9ab1
TypeScript
1,095
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cfab7d289691e50be607e5b66f75048f4e45a8376d3833fed2cd9f78e2329bf6
TypeScript
1,095
30
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ef717005b5fa52f7c2d70bb0c3a465c109b28f67da8df189a78217c67f04ef68
TypeScript
1,095
34
/** * Available window function types for audio processing */ export type WindowFunctionType = "hann" | "hamming" | "blackman" | "rectangular"; /** * Applies a window function to a buffer of audio samples * @param buffer - The audio samples to apply the window function to * @param windowType - The type of window ...
c06689bc25627ce109ade0c41f09a8f8f9e4219c202968e345b9b7b192cbbca9
TypeScript
1,096
37
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ef0c5d07f028cd76ff4d7fa7aa9d643bc94c5ccc1f6d875227a4ddc5ef00430a
TypeScript
1,096
43
import { Component, Input } from "@angular/core"; import { interval, merge, of } from "rxjs"; import { map } from "rxjs/operators"; import { UNSUPPORTED_INTERVAL, UNSUPPORTED_PREVIEW } from "src/util/constants"; import { MIN_REQ_EXPLAINER } from 'src/util/constants' @Component({ selector: 'not-supported-component', ...
a7b0e5e7ef9c4dad3c0dfd346142e91ed2f8e3a11625816f68192cdb1c6817ed
TypeScript
1,097
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e80999131b66eba934ad084e1feffb12fd40307bb5787e667125e088e9eb19ed
TypeScript
1,097
33
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e89df8102be8e40f53c5fad1b1a55e9fca919e2cb4b2599bcbe4fe5a30bc556c
TypeScript
1,097
32
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
051151e7816ea9562b671361ae57ab2a63b2d59083fc81244c26c2fe269df494
TypeScript
1,099
31
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
e646e28feb461d95c930bf5d7b4bc3f5677eb3441a58d0cd571364344d1b4488
TypeScript
1,100
28
/* eslint-disable camelcase */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
a9c22392fe899c1a3ca92a53c0c92b835632c54c4d08c079c9d2886184164f26
TypeScript
1,101
37
import { Pipe, PipeTransform } from "@angular/core"; import { SxplrParcellation } from "src/atlasComponents/sapi/sxplrTypes"; import { GroupedParcellation } from "./groupedParcellation"; type RType<T> = T extends true ? GroupedParcellation : SxplrParcellation @Pipe({ name: `filterGroupedParcs`, pure: true }) exp...
e0b16109d2d85f92237ecb30fdb7f801fd7e78f4cf116d4062741cc2d2270266
TypeScript
1,101
33
/** * @file Ribbon Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import '../shader/Ribbon.vert'; import MeshBuffer from './mesh-buffer'; import { BufferParameters, BufferData } from './buffer'; export interface RibbonBufferData extends BufferData { normal: Float32Array; dir: Fl...
8b97217ffd59cc671fbf068442ce575bb7745e2bce87005c9c367a40bfe0f208
TypeScript
1,103
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c1389a2e709a107de1110ee7755268dad02586637c6ba9c2c9341908663880c3
TypeScript
1,103
41
import { CommonModule } from '@angular/common'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { SAPIModule } from 'src/atlasComponents/sapi'; import { EntryComponent } from './entry.component'; import { provideMockStore } from '@ngrx/store/testing'; import { FeatureModule } from '../module'...
ef0a9b322af61468cc2ce62ec6333e6c34a6c44ca20c1a335a052dabf52209ce
TypeScript
1,103
24
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
8a89785b0c56f744bf967958a49f700f3098061b7b743d0de9c9913ce932158c
TypeScript
1,104
24
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
bbac865de81cb9d07df9cb5a54f4e52ea962c33cd0801242fdf567190392fe10
TypeScript
1,104
31
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
63f8447a523d9f78860ffd1f3b3ff328b8941a48c74e6d89ad0ad89c319de23f
TypeScript
1,105
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
7de2f5d20d594f97dcca285bd7f307a80ef7fdaf7881e1f8f6cb7792d3710f1c
TypeScript
1,105
26
/** Organization/project role code for annotators (LSE `ROLES.ANNOTATOR`). */ export const ANNOTATOR_ROLE = "AN"; /** Organization role code for View-Only members (LSE `ROLES.VIEW_ONLY`). */ export const VIEW_ONLY_ROLE = "VO"; /** User type code for View-Only seats (LSE `USER_TYPES.VIEW_ONLY`). */ export const VIEW_O...
03458620ca4e18663888d7718a918368ffc76044e82d76853ff2093d3a457907
TypeScript
1,106
52
/** * @file Residue Store * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Store, { StoreField } from './store' /** * Residue store */ export default class ResidueStore extends Store { chainIndex: Uint32Array atomOffset: Uint32Array atomCount: Uint32Array residueTypeId: Uint16...
8c0ee761480452053100362d4b0b224c1ee9332fe2139173e002f956f642ec08
TypeScript
1,107
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
b6d99eeb3f828ef8e359eb5ade8108e23a49c2fdf287290b606705cf52825aac
TypeScript
1,108
33
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2
TypeScript
1,108
25
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. 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....
1421f39776ec951305f005075680144d3c496482cb41d8d9584c8c9ce0abb76c
TypeScript
1,111
32
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
217065e159da56cbef57b2560a264815ee1069759b334126c83005083e2de860
TypeScript
1,111
42
import { Component, HostListener, TemplateRef, HostBinding, Inject } from '@angular/core'; import { SlServiceService } from '../sl-service.service'; import { transition, animate, state, style, trigger } from '@angular/animations'; import { TMPL_INJ_TOKEN } from '../const'; @Component({ selector: 'sl-spotlight-backdr...
34ca1bc6b433780765b265381a1848f050e6aa1ebb52d2651faefa8e5dc5421c
TypeScript
1,111
39
import { NgModule } from "@angular/core"; import { AngularMaterialModule } from "src/sharedModules"; import { ClipboardCopy } from "./clipboardCopy.directive"; import { HttpClientModule } from "@angular/common/http"; import { SaneUrl } from "./saneUrl/saneUrl.component"; import { CommonModule } from "@angular/common"; ...
8fd6bc1d157cb93a49f9c8a6b25c69ebd568a57c1590156f531b69e35fc89065
TypeScript
1,112
32
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
db93e9a19853dc9ef0ca9fca104c5d1189df0436f0719e30330d246caecba77a
TypeScript
1,112
43
import { API } from "apps/labelstudio/src/providers/ApiProvider"; export const importFiles = async ({ files, body, project, onUploadStart, onUploadFinish, onFinish, onError, dontCommitToProject, }: { files: { name: string }[]; body: Record<string, any> | FormData; project: APIProject; onUploadS...
a5d99bcd09ef321f74c4f7cac924dbc37961ba083542ebb859d9a197a0fd6f16
TypeScript
1,113
45
import { Injectable } from "@angular/core"; import { SxplrSnackBarCfg, SxplrSnackDialogCmp } from "./snackDialog.component"; import { Subject } from "rxjs"; import { scan, shareReplay } from "rxjs/operators"; import { MatSnackBar } from "src/sharedModules"; @Injectable() export class SxplrSnackBarSvc { #instanceDat...
ccf2113bfb34a8743982ea1e960f386d5596fcf393af61c2702bc4cf5810bbbf
TypeScript
1,114
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
02d50625a81340daca9142fff857f53e84436c7dcf2097633586d0bfe06332a9
TypeScript
1,115
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
062487a4634122bec3dcd1c1443081558930772db4fa1b6c3f51031f6a72b0f5
TypeScript
1,115
37
import BinaryStreamer from '../../src/streamer/binary-streamer' import MrcParser from '../../src/parser/mrc-parser' import { join } from 'path' import * as fs from 'fs' describe('parser/mrc-parser', function () { describe('parsing mode 2', function () { it('basic', function () { var file = join(__dirnam...
15708ec7cef136652068528996cf7ac9bbc7b1b74bd27a7b440e55b6d1559c04
TypeScript
1,115
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a2dde3f199330d50d6c7d115ac6fe3db8a02e6ec0f155db5202ba34890816ae5
TypeScript
1,115
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
f9426a1a5d1295a4acae894853fefae6fe459a2bbe7784870cefa4917ee9c1fd
TypeScript
1,115
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
709daf53d346397be7d5fbfc7f8e285790e28f04ee42578bcad043f6e823fdc7
TypeScript
1,116
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9e5477d4232431e31f6c23fd8f5cc46876d6d4826ca8e01c66ec68749e7976af
TypeScript
1,116
45
import { ChangeDetectionStrategy, Component, Input } from "@angular/core"; import { FallbackIcon, Icon, MaterialIcon } from "src/util/types"; import { AngularMaterialModule } from "../angularMaterial.module"; import { CommonModule } from "@angular/common"; import { BehaviorSubject } from "rxjs"; import { map } from "rx...
efe5d05d54c2395cdcaaa8c2494f180b28c4bdd26c83e4a57c283ebfe5bf62d9
TypeScript
1,116
38
import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { AngularMaterialModule } from "src/sharedModules"; import { CompoundFeatureIndices } from "./compoundFeatureIndices.component"; import { IndexToStrPipe } from "./idxToText.pipe"; import { IndexToIconPipe } from "./idxToIco...
43b6d31a51d44d1eb22d59452b09905372d245542666b9e1f7498ec24910cb64
TypeScript
1,117
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
07a2e067025ac2c11a76aa616d70f7dae79950f82d4c5dd40d184d0795388e37
TypeScript
1,118
33
import * as models from '../models'; import requests from './requests'; export const ClusterWorkflowTemplateService = { create(template: models.ClusterWorkflowTemplate) { return requests .post(`api/v1/cluster-workflow-templates`) .send({template}) .then(res => res.body a...
534c7f6214b708dafe35706845cdfefd811e1425e014472c044c62ef4fe4890d
TypeScript
1,118
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
5a5fdda5702ed26354aecc9170b634daba4ef8a118db37024b2bfb2f8f91dd93
TypeScript
1,118
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
75c0a84a4bbcf9d7538fa8f1f3cc484c736833536da9c97c2fc54d11f8a22330
TypeScript
1,118
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cc3b8a1dafa617015a5c7928501630a3f33727185ad6ea6a1259c4793b2bcc0c
TypeScript
1,121
28
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
f2507188e785642a36addf038618654710fdd5f2711be03d258a790628adae3e
TypeScript
1,123
32
import type { DropdownOption } from '../components/ui/DropdownButton'; import type { FacetValue } from '../shared'; /** The leading "All" (no-filter) option shared by every facet dropdown. */ export const ALL_FACET_OPTION: DropdownOption = { label: 'All', value: '' }; /** Build `FilterDropdown` options from facet val...
257ad3d53bff8fd11310ce8daa404f6378677bce2763dc1d5734c2d71611a3d2
TypeScript
1,124
39
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
27584d2be64530f169b10b5adade4ab3250e2cd886611a6fa4bef38e21aafad1
TypeScript
1,124
43
import type { WaveformAudio } from "../../../Media/WaveformAudio"; import type { RenderContext } from "../Renderer"; /** * Interface for renderer plugins that provide additional rendering functionality. * Plugins follow a similar lifecycle to renderers but receive their state from * the parent renderer. */ export ...
c145024e0591e1826f6c31b00570766db3788656d7967534cc2af336ea140e8c
TypeScript
1,124
30
import { TraceState, fromOtelStatus } from '../../../src/core/entities/trace_state'; import { SpanStatusCode } from '@opentelemetry/api'; describe('TraceState', () => { describe('enum values', () => { it('should have the correct enum values', () => { expect(TraceState.STATE_UNSPECIFIED).toBe('STATE_UNSPECI...
07a82ee873ecf938a84a9fb5c97cd07a7a8704d3a249164c25a1a7b9c7c98aaa
TypeScript
1,125
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1f3008ac0f4b518523bf0811c2eabf06c526c2981cc7fde8829424db8d4f5298
TypeScript
1,125
19
/** * @file Math Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ export declare function degToRad(deg: number): number; export declare function radToDeg(rad: number): number; export declare function generateUUID(): string; export declare function countSetBits(i: number): number; export de...
580be964bfa89bcc866bdaac26df1187f99b9b381c546643c092ca36852bf5d0
TypeScript
1,125
27
import {uiUrl} from './base'; import * as nsUtils from './namespaces'; /** * Return a URL suitable to use with `history.push(..)`. Optionally saving the "namespace" parameter as the current namespace. * Only "truthy" values are put into the query parameters. I.e. "falsey" values include null, undefined, false, "", 0...
2acb748596de2925fcbcee0147199c21d6f2d530ac4d7fdfdcec29283cc7d9cb
TypeScript
1,126
32
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
127c29565d4d353ac1868bb3cb339a4557fd700e1fda4000fdbe872ac2d0ccef
TypeScript
1,127
30
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cdbce4c5e507b1c442031a502e73c1eb8117479cc439020e94b8d58ebfef0916
TypeScript
1,127
40
/** * @file Atom Type * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../structure/structure'; /** * Atom type */ declare class AtomType { readonly structure: Structure; readonly atomname: string; element: string; number: number; vdw: number; cov...
f22312987a0aed9632b23b96aa2ac360ef4368c0ac9cbe655abd8343a2d62f15
TypeScript
1,127
39
import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { FormsModule } from "@angular/forms"; import { StoreModule } from "@ngrx/store"; import { ComponentsModule } from "src/components"; import { AngularMaterialModule } from "src/sharedModules"; import { UtilModule } from "src...
f5ac966814b352ed42ff167c8e0531eec1642edc72842f2775e6b90683121feb
TypeScript
1,129
44
/** * @file Randomcoilindex Colormaker * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ColormakerRegistry } from '../globals' import Colormaker, { StuctureColormakerParams, ColormakerScale, manageColor } from './colormaker' import AtomProxy from '../proxy/atom-proxy' /** * Color by ...
ba574dbc71ce2fc294f28fa5a6d2f9ccc6a46056cf561abf4cfaa1e6665e468c
TypeScript
1,130
41
/** * @file Residueindex Colormaker * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ColormakerRegistry } from '../globals' import { defaults } from '../utils' import Colormaker, { StuctureColormakerParams, ColormakerScale, manageColor } from './colormaker' import AtomProxy from '../pr...
c8828dc19b894c30cb75c8e9e9efecfac72fd64f0d52b949129cd4b324edab81
TypeScript
1,130
32
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
416b8790890943d10bc5476014bf5569c6febbd92b709d45c67e7e952f0d8a43
TypeScript
1,131
37
import { AudioView, LabelStudio } from "@humansignal/frontend-test/helpers/LSF"; import { audioErrorsConfig, audioDecoderErrorData, audioHttpErrorData, audioErrorsAnnotations, } from "../../data/audio/audio_errors"; describe("Audio Errors", () => { beforeEach(() => { LabelStudio.setFeatureFlagsOnPageLoad...
961dc96de5318f9b29d880b2eec42e72a09adde98cb48d3ccf9b225a3ddc7534
TypeScript
1,131
30
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9c3c94004c31031c93841650b88bbfe469ddf0135158b6dd44c0933776284f1d
TypeScript
1,132
32
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d7b761c18f4082016f6e9aba6caf204d06cae8a0f55229d963e7df2573abbe97
TypeScript
1,132
40
/** * @file Structure Parser * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { defaults } from '../utils' import Parser, { ParserParameters } from './parser' import Structure from '../structure/structure' import StructureBuilder from '../structure/structure-builder' import Streamer from...
793c717b8801b72259a8938e1fe469858b3abe0350e0cb2dcc6f6d79db02f64f
TypeScript
1,133
53
/** * @file Bond Store * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Store, { StoreField } from './store' import AtomProxy from '../proxy/atom-proxy' /** * Bond store */ export default class BondStore extends Store { atomIndex1: Uint32Array atomIndex2: Uint32Array bondOrder: ...
dba73ab5321aee75f6898dba6e3c1cbea0b022d478153481b73a4191c356a12e
TypeScript
1,133
32
import { createSelector } from "@ngrx/store" import { nameSpace } from "./const" import { Annotation, AnnotationState } from "./store" import { selectors as atlasSelectionSelectors } from "../atlasSelection" const selectStore = state => state[nameSpace] as AnnotationState export const annotations = createSelector( ...
040c5834abd254ec15f6122f261a61a30ff95e3923a65cb1ebbfd1e99be5abb9
TypeScript
1,134
34
import { createClickHandler, createMouseDownHandler, createMouseMoveHandler, createMouseUpHandler, } from "./mouseHandlers"; import type { EventHandlerProps, EventHandlers } from "./types"; export function createEventHandlers(props: EventHandlerProps): EventHandlers { // Track if we've already handled select...
80f324bd1c89ea15ad78b5268e4107fee8862f66e5d2b03bfe6519b719f47877
TypeScript
1,136
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
382fd8562d27583768ec0e3f92cfa2a6e2efa70b23e45ded765cde62fbd68985
TypeScript
1,139
23
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c925660c245073b91005fcb02baf19cae565c6f04efe1d3284013839bcc1a24e
TypeScript
1,139
29
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
49c61fe0a49bd320d4bbbd83550f1fc0a8730d434ffd2bedd4f220dcd1ad7e11
TypeScript
1,141
29
/* eslint-disable camelcase */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
1627017faa108f6915b665b2299385ae55426da7253766833735fb0c21ed8177
TypeScript
1,142
35
/** * @file Box Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4 } from 'three'; import GeometryBuffer from './geometry-buffer'; import { BufferData, BufferParameters } from './buffer'; export interface BoxBufferData extends BufferData { heightAxis: Float32Array; ...
8d45c6feab7d13f9d2a61af7e6ba3e68b801043c9ccade45109c979fa1d976f7
TypeScript
1,144
29
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
dba11ca05437ac8f431370ea4374eff07c0b91f381435142e759bb9cb34f19b7
TypeScript
1,144
27
import { QueryClient as QC } from "@tanstack/react-query"; /** * Allows for e2e testing without cache if user is from an e2e domain. * Both `.e2e` and `.test` are used by the automated suites (Selenium drives * `heartex.test`, Cypress specs are split across both), so match either. */ export const shouldBypassCache...
4a2bd1f010cbe0cf7358770ce59c58bae2cf3897b0b84c62565256b2ad28caf7
TypeScript
1,147
33
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...