sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
e53250ab3bdf40ad77b2dc1618a81e2b97e706d9b52afa6128107fd43053dde0
TypeScript
3,119
111
/** * @file Chain Proxy * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../structure/structure'; import Selection from '../selection/selection'; import ChainStore from '../store/chain-store'; import ResidueStore from '../store/residue-store'; import Polymer from '../proxy...
01211380578bb66cc5533f90f5dca566e7d68d2d4c3756e9ae1eb48e5a64542b
TypeScript
3,122
93
/** * 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...
9bab4d4c6d826b97c5870d3a6c04ee624ad8a21cb782e1927a22846885cf622c
TypeScript
3,122
115
/** * 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...
1438b5a167ef17b0d45d63af5bfdfa3033edde4571924ff4442051342c1846dc
TypeScript
3,123
80
/** * 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...
835d35f2cb6e56b2dd217513984bdb4baa4292a9aad813f2fef1dfd1882f00b2
TypeScript
3,125
87
/** * 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...
05c1f7f2773bf7c3d537d84d89df6639c297f3bf1e800a367ab20decaed3ad86
TypeScript
3,130
93
import { arrayEqual } from 'src/util/array' const defaultCmp = (o, n) => o === n describe('arrayEqual', () => { // Helper instances for testing with objects const obj1 = { id: 1, name: 'A' } const obj2 = { id: 2, name: 'B' } const obj3 = { id: 1, name: 'C' } describe('with default comparison', () => { ...
f8ec6fc7cc81e3c5473e4b538fa1887052021742f69743c44dc85474bc7d5709
TypeScript
3,133
95
/** * 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...
a9c095a53ad429c981d6b185e2cfc9f23f683aa8e085dd6d83449820fd5b32bd
TypeScript
3,136
91
/** * 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...
d8796437ba9338a861e2131eb0678de29b690c5741cbb5fe9d5cc90070e5b426
TypeScript
3,140
85
/** * 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...
d92862357dfc1f5056446ef79e6046b74553e39f9197d8b6dca9c285af4066c5
TypeScript
3,140
115
import { HttpClient } from "@angular/common/http"; import { Directive, inject } from "@angular/core"; import { combineLatest, concat, of, Subject } from "rxjs"; import { catchError, debounceTime, map, scan, shareReplay, switchMap, take, takeUntil } from "rxjs/operators"; import { IncidentJson, Incident } from "src/atla...
f8377506f9268046f6850eb2276102b45b5d63cc4eb3957e7afaa9281439582f
TypeScript
3,143
120
// eslint-disable-next-line @typescript-eslint/ban-types type TNonePrimitive = object export interface IDoublyLinkedItem<T extends TNonePrimitive> { next: IDoublyLinkedItem<T> prev: IDoublyLinkedItem<T> thisObj: T readonly index: number list: DoublyLinkedList<T> } export class DoublyLinkedList<T extends TNo...
31698557f6d4047348a855f009e5d753ec327f44b0e8183c0c81e3865c6696d0
TypeScript
3,150
84
/** * 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 * g copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
04e4f68b8a09cdd08a5f244461d3af40a14a7a43826910866a70efb85052b428
TypeScript
3,153
84
/** * 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 * g copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
21bee713290870e1308d039f2683d50b686c4d1e9549c3c70f3ddee26cccf4a4
TypeScript
3,153
110
/** * 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...
ceae968ef188db18f1f516ae4392e4837c380b305428c95535b822293d1d5bed
TypeScript
3,153
112
/** * 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...
023b2fd58bb3870c17b2d86690ee9f43b26879bc2f69d18ebb5be684ffdb5eb6
TypeScript
3,154
109
/** * @file Viewer Controls * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector2, Vector3, Matrix4, Quaternion } from 'three'; import * as signalsWrapper from 'signals'; import Stage from '../stage/stage'; import Viewer from '../viewer/viewer'; /** * Viewer controls */ declare cla...
9ac42953571f4db9ca6d71a776907a8560ea645d800e94f79e896793a8c9c668
TypeScript
3,155
139
import { CommonModule } from "@angular/common"; import { Component, EventEmitter, HostListener, Input, Output, ViewChild, inject } from "@angular/core"; import { BehaviorSubject, combineLatest } from "rxjs"; import { map, shareReplay } from "rxjs/operators"; import { AngularMaterialModule, MatInput } from "src/sharedMo...
03c9b809a57d04e9732607bb65a68dced12c808be5f9fb715da9850f77fd6121
TypeScript
3,160
72
import {mkdirSync, writeFileSync} from 'fs'; import {majorMinor} from '../src/modals/version'; import {BASE_URL, bearer} from './fixtures/auth'; import {AUTH_DIR, STORAGE_STATE} from './paths'; // Seeding modal/version needs the *actual* server version so it matches what the // app computes; an empty/guessed value wo...
a4366ba0bd4c5febf4d52a276664dc2327d07e335f70d83b69d7fa73850d8d5f
TypeScript
3,162
74
import {ANNOTATION_KEY_POD_NAME_VERSION} from './annotations'; import {NodeStatus, Workflow} from './models'; export const POD_NAME_V1 = 'v1'; export const POD_NAME_V2 = 'v2'; export const maxK8sResourceNameLength = 253; export const k8sNamingHashLength = 10; const maxPrefixLength = maxK8sResourceNameLength - k8sNami...
ce9581b8eb9603d522a441d2dd7df78964f7b4c2a01bc843abd7d04329283902
TypeScript
3,163
174
/** * 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...
d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2
TypeScript
3,163
79
/*! ***************************************************************************** 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....
5800fcbbe377a38b394cbc78fd805024d6ae752d8ff3246771350acdc7cce4cc
TypeScript
3,164
98
/** * Reusable test setup for feature flags. Use in Bun (or Vitest) so tests use the real * feature-flag implementation (editor/datamanager utils/feature-flags) without mocking. * * In your vitest.setup.ts: * import "@humansignal/frontend-test/feature-flag-test-setup"; * * In tests that need specific flags on/...
109318d7d9c4a9642a53152317df5e96fbf0458e27e6f9cc4dccb8044a7415b7
TypeScript
3,165
163
import { createReducer, on } from "@ngrx/store"; import * as actions from "./actions" import { AtlasSelectionState } from "./const" export const defaultState: AtlasSelectionState = { selectedAtlas: null, selectedParcellation: null, selectedParcellationAllRegions: [], selectedRegions: [], selectedTemplate: nu...
5e7e6bd6964bf3d909fb6b25ce9f93214b84cc6bed3b6835d65a4c04c6093563
TypeScript
3,170
123
/* * 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 ...
92f870a6e218284f1b4c7c31e8e53c4b00a65ab78f044cc1d6a5f0c1eedd2d19
TypeScript
3,170
119
import { Injectable, OnDestroy } from "@angular/core"; import { Store } from "@ngrx/store"; import { IMessagingActionTmpl, IWindowMessaging } from "./messaging/types"; import { atlasAppearance, atlasSelection, generalActions } from "src/state" import { SAPI } from "./atlasComponents/sapi"; import { translateV3Entities ...
f23f50982406d87525f0ac9d65499b85cd5ac974bc4565dd8b2ed745f0360393
TypeScript
3,170
97
/** * 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...
959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a
TypeScript
3,171
78
/*! ***************************************************************************** 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....
d5e555e472117560abfaf1c2a7af27992dac56ac3bed0d0014849cc1c32657b3
TypeScript
3,172
76
/** * 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 * regardin * g copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License");...
60a88bd948f127f0d7e97e6c0b4e074f87afca9231e42693937f72324c6a7a2b
TypeScript
3,176
115
/** * 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...
984ea6750126835ef56f37bcd811128fbb06eb2d2dde6a16ed042bcf44744cf1
TypeScript
3,178
110
/** * 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...
0460a0a04ed074cfb585fe156d9e784871aa934c0f0a150f79fecf84de4857d6
TypeScript
3,179
119
import type { ReactNode } from "react"; export interface TagOption<T = any> { value: T; label?: string; disabled?: boolean; } export type TagAutocompleteOption<T> = string | number | TagOption<T>; export interface TagAutocompleteProps<T = string> { /** Available options to select from */ options: TagAutoco...
e9596c61ad086266e60e9873f8ed878021e0908fedae184ccac812d2112b7719
TypeScript
3,181
118
/** * 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...
24cbd18ffa09884e2835f5368cb2d5a72c882e0e0341745306f7dfb195220802
TypeScript
3,182
116
/** * 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...
7113e4dd641e426aee6ca3b00f7a981d96a03a3a22cd0de61c9d2a39566b22cb
TypeScript
3,183
76
/* * 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 ...
b64398a7ee9d68664e548d9f17302982b3ccfc99ae7f915524b393c34a2a9e4d
TypeScript
3,186
98
/** * 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...
0b8af23821a131a9578c9e1ffed17dc9ee3f2e1accffc08e13ac9865713d1847
TypeScript
3,190
80
/** * 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...
57f32f1e5467b9dcc2c5b79e63b7cac8d94aaf8698cf1922c134822e0d19c4ed
TypeScript
3,192
89
/** * 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...
a97998fffe726ba2ae98895667a1953192f0da4b3663c2094d71bed873502f14
TypeScript
3,192
113
export const isFlagEnabled = (id: string, flagList: Record<string, boolean>, defaultValue = false) => { if (id in flagList) { return flagList[id] ?? defaultValue; } return defaultValue; }; export const formDataToJPO = (formData: FormData) => { if (formData instanceof FormData) { return Object.fromEntri...
2320eae5eafc1dc5ecf0d3b9b8a58112be7b5163c2a3e46841d270a98378bbd6
TypeScript
3,196
126
/** * 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...
d8db2aa46c8ecab1d87b400408fc3d66896a6764ae003b0c6162606382c68c97
TypeScript
3,196
107
/** * 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...
bb7cdef7b202fc8b09f519d92def10c621e3a42a5839709f7786cf7ad9fe1838
TypeScript
3,197
96
/** * 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...
4fbadae5c9a27998e4f7125468962cff96c6bb33010dc978aada16b77aa04bb5
TypeScript
3,198
119
/* * 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 ...
ef07be2129a13947b2971576dc1844a4669ee2da804098deed2a01326ff30fe2
TypeScript
3,198
119
/** * @file Cube Parser * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4, Vector3 } from 'three' import { Debug, Log, ParserRegistry } from '../globals' import VolumeParser from './volume-parser' // @author Johanna Tiemann <johanna.tiemann@googlemail.com> // @author Alexander...
0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537
TypeScript
3,200
81
/*! ***************************************************************************** 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....
e28d92d813ee377b57d4a70363e0b1de05a3e3ae66ae355a7d703f5338d86582
TypeScript
3,200
88
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/log/list_item.proto (package v1.public.events.fusion.log, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { enumDes...
4177837f3a5017ee974308b82c0386ad3fc1c0b1a24fae86cc56a9c2a5d2a029
TypeScript
3,203
106
/** * 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...
c28961c779b1e0a8089d01e3766f996796c1c58c77bf697bb056816540ab64ac
TypeScript
3,205
70
import MeasurementRepresentation, { MeasurementRepresentationParameters, LabelDataField } from './measurement-representation'; import MeshBuffer from '../buffer/mesh-buffer'; import TextBuffer from '../buffer/text-buffer'; import WideLineBuffer from '../buffer/wideline-buffer'; import { Structure } from '../ngl'; impor...
59926154376984de9341a6ef682bb6c15f355ca4c2d1d89e256242e10c70197d
TypeScript
3,213
104
/** * 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...
ce3e06aafbdd0498360f9d0a7b327ba112e23392962b8ea7e7f6805fbf3ea02c
TypeScript
3,217
96
/** * 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...
d126e76b671e4b363cbc09f7c7584a442c0845bfa8e83e956e5117066492e387
TypeScript
3,217
100
// id and title fixed because they'll be always defined in API response declare type APIProject = { id: number; /** Project name. Must be between 3 and 50 characters long. */ title: string; /** Project description */ description?: string | null; /** Label config in XML format. See more about it in docume...
b85dd1c3f78573f19d9ea6ebef17857048e82f51c2b5bf6a3cfef18da7335bff
TypeScript
3,218
95
/** * 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...
ee83c6c3d9363fa336baa9bcf863ffab9453a87222aba8d322a8807b90d0ba87
TypeScript
3,220
97
/** * 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...
05140f0dae6e6b58aa9564502e52368301cd740d77fe65f7cf61105c6a53e6b0
TypeScript
3,221
87
/** * Unit tests for VideoRegion.setLifespanAt (regions/VideoRegion.js). * * The real VideoRegion composes AreaMixin / RegionsMixin / AnnotationMixin * and holds a typed reference to VideoModel, which makes direct * instantiation in a unit test disproportionately complex. Instead we * replicate the Model's sequen...
3cff6dc3ff1275e2b3cd69125b182068beb5b3e1af741226bb33e313adbec561
TypeScript
3,221
74
/** * 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...
8cf14b9e675f6f243a41c1106a156e96115413bd3b6a90e967f26d0c6103bb77
TypeScript
3,221
92
/** * 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...
496a4bc6ea69b1a3eb28a3eb9cac041fefabc612eeb8a5fed93c3228c6807887
TypeScript
3,222
84
/** * 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...
03289dc70569cd6499a998a293e135263d9d75ff4a2a6a68ee47a53b6504b1ce
TypeScript
3,225
110
/** * 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...
8a3c47ab2ce463a75713aae6a423ea8643c67dd878485b70d96ed0801d1e76f6
TypeScript
3,228
104
/** * 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...
c77297a844aeee353a783c2e8d5cd4275d075df0fe8d98287e0d2a175baf99f4
TypeScript
3,231
101
/** * @file Cylinder Geometry Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4, Vector3 } from 'three'; import GeometryBuffer from './geometry-buffer'; import { CylinderBufferData } from './cylinder-buffer'; import { BufferParameters } from './buffer'; export declare cons...
03a8ee619cd96ab4acbc8423385801bb7abefc4199d9cd947a11d6db494ce6d0
TypeScript
3,233
106
import { Directive, ElementRef, EventEmitter, Inject, Input, OnChanges, OnDestroy, Output } from "@angular/core"; import { DOCUMENT } from '@angular/common' import { fromEvent, merge, Subscription } from "rxjs"; @Directive({ selector: '[iav-key-listener]', }) export class KeyListner implements OnChanges, OnDestroy{...
c70b8a2710b433d01510e8b776c1f1830ba972219b9717d0829752f0afcc8ac7
TypeScript
3,235
91
/** * 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...
fdbca966bb3f91152630459eafc1195269706da1de71f3c17e2bff79bf76fd47
TypeScript
3,235
96
/* * 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 ...
2d8e9472d88e045715bb2336aeb98c5d94300ef4a3c4a7ac455714289d8aa0a5
TypeScript
3,237
120
import { LabelStudio, ImageView, Taxonomy, ToolBar, Modals, Sidebar } from "@humansignal/frontend-test/helpers/LSF"; import { simpleMIGData, TAXONOMY_REQUIRED_WARNING, perRegionMIGTaxonomyConfig, perRegionRegionsResult, perRegionTaxonomyResult, requiredPerRegionMIGTaxonomyConfig, } from "../../../data/contr...
d953cb7eec32ee23f394fbe31956c0320ff7cda2fa1bcc3eac505a7cbefb10ce
TypeScript
3,237
94
import type {NodePhase, Workflow} from './models'; import {services} from './services'; import {WorkflowDeleteResponse} from './services/responses'; export type OperationDisabled = { [action in WorkflowOperationName]: boolean; }; export type WorkflowOperationName = 'RETRY' | 'RESUBMIT' | 'SUSPEND' | 'RESUME' | 'S...
8532f10bf5e4ea9cbbe0e86f85bcd5b4d70a3d28843851c049ba74c0e5f9a53b
TypeScript
3,240
102
/** * 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...
8970fc3a94c9b4cf47e1781f8183655388f80c60e7361a818c8b3037669cdef4
TypeScript
3,242
93
import { types } from "mobx-state-tree"; // both approaches are valid, so code is ready for both, // but currently we use instant logic hardcoded enum LEAD_TIME_LOGIC_OPTIONS { inertial = 0, // every action counted, minus overlaps instant = 1, // close events are recorded from first to last with no extra time } /...
78627f0e0d116b1296f3090eda6117d62308e3f558f6a2b92851bb143745ce82
TypeScript
3,243
96
/** * 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...
e0475292fa4565a87aa286aa76ee8292be2e7e20ca253993c2b0c7625362515f
TypeScript
3,245
94
/** * @file Spline * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3 } from 'three'; import { AtomPicker } from '../utils/picker'; import { RadiusParams } from '../utils/radius-factory'; import Polymer from '../proxy/polymer'; import AtomProxy from '../proxy/atom-proxy'; import {...
7111b540ec1372a8c89adf45bf2d86b47f26a72599f99b4aa642266ccf58881b
TypeScript
3,250
130
import type { WaveformAudio } from "../Media/WaveformAudio"; import { Player } from "./Player"; import { ff } from "@humansignal/core"; export class Html5Player extends Player { mute() { super.mute(); if (this.audio?.el) { this.audio.el.muted = true; } } unmute() { super.unmute(); if (...
2b9293f33214da028cb7e7e136952cd4467aece473398ede162d53340e9c6a90
TypeScript
3,251
88
/** * 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...
b2f1efacecde00172a45379f450c4bdc62277fb0bd1df95e39874b369a7dc9c5
TypeScript
3,251
93
/* * 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 ...
5eef23a19a8e7a6f71972f97904abfe65179c388e654b8d978b9b9b354350212
TypeScript
3,260
87
import { MAT_DIALOG_DEFAULT_OPTIONS, MatDialogConfig, MatDialogModule } from "@angular/material/dialog"; import { MatButtonModule } from "@angular/material/button"; import { MatSnackBarModule } from "@angular/material/snack-bar"; import { MatCardModule } from "@angular/material/card"; import { MatCheckboxModule } from ...
4f4e012b3cd1aea98060db06870874350a2abad22f31f498bb92a9cd43875372
TypeScript
3,264
95
import { CommonModule } from "@angular/common"; import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from "@angular/core"; import { SpinnerModule } from "src/components/spinner"; import { UtilModule } from "src/util"; import { EntryComponent } from './entry/entry.component' import { FeatureNamePipe } from "./featureName.pipe"; ...
e2d57b3651b6bb59cd98f34292ada9a65b5bee3a7362e6b18cd7db3da2cbe055
TypeScript
3,271
111
import { nanoid } from "nanoid"; import type { FontWeight } from "../Common/Style"; import { rgba, type RgbaColorArray } from "../Common/Color"; export interface TooltipOptions { color?: string | RgbaColorArray; backgroundColor?: string | RgbaColorArray; fontSize?: number; fontWeight?: FontWeight; paddingInl...
863e897cf1629d09b76253890bde7a2da37915feecad0006d05d2f1431660f97
TypeScript
3,274
90
import { InMemoryTraceManager } from '../../src/core/trace_manager'; import { Trace } from '../../src/core/entities/trace'; import { TraceInfo } from '../../src/core/entities/trace_info'; import { createTraceLocationFromExperimentId } from '../../src/core/entities/trace_location'; import { TraceState } from '../../src/...
90360f5e01143bad1a1ffe301df933490e19cf319639b5742fd80c4943887eff
TypeScript
3,274
138
/** * @file Align Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../structure/structure' import Selection from '../selection/selection' import Alignment from './alignment' import Superposition from './superposition' /** * Perform structural superposition of two ...
c53f30e9ed172ecd70e021db8d9d6eb9a508afa6247cdea29e5f8a22c22245c4
TypeScript
3,278
54
/** * GENERATED FILE - DO NOT EDIT BY HAND. * * Snapshot of Anthropic per-model pricing from MLflow's bundled model catalog * (mlflow/utils/model_catalog/anthropic.json). Regenerate with: * * npm run sync:pricing * * tests/anthropicPricing.test.ts fails when this file drifts from the catalog. */ /** Per-mil...
b9204598e0d4bc9cfb63a07992b0bd98e1f9efaed7be57d36a3cd6f28b9ac1d1
TypeScript
3,283
115
/** * @file Cone Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4, Vector3, ConeGeometry } from 'three' import { BufferRegistry } from '../globals' import { defaults } from '../utils' import { calculateCenterArray } from '../math/array-utils' import GeometryBuffer from ...
ea38d680f392d337beb6e4688957ded0577f6243ea08dd35d92e6f121a051fd1
TypeScript
3,283
111
/** * 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...
f6d9bc385438c534e3dfbedefe9e1c9b163953ca822b3098c25a4df0a944b347
TypeScript
3,285
93
/* * 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 ...
cdfd4b39405610156ad5b4901fac7fababa353dbbfecf327f328cfbe0f963dfb
TypeScript
3,296
101
/* * 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 ...
bdbe13674fb77e50e8a99ca80d23dc3c410e578793eeed030ade65003cd48e19
TypeScript
3,297
74
/* * 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 ...
e3e0be3171a47b4f6148849e330bb323f17c90249a99fbd781f7461ff5c1ccef
TypeScript
3,301
95
/** * 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...
4ee43d7706db301a1e6892cf4023712dd60811f153fe74ce57e5501161ad4dee
TypeScript
3,303
83
import { describe, expect, it } from "bun:test"; import type { BezierPoint } from "../../types"; import type { EventHandlerProps } from "../types"; import { isActivePointEligibleForClosing, shouldClosePathOnPointClick } from "../pointSelection"; // Build a simple open path of `count` connected points: p0 <- p1 <- p2 ....
61e70cfda525324747343673c987d9d3b51f9fc60bb0b0966901ad3fa5c3df6c
TypeScript
3,314
116
/** * 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...
abaf3e1d55f0c71b4b69dfe761b5e51472c5eabfd9b1e7167b414eb829cce93b
TypeScript
3,315
90
import { Feedback } from '../../../src/core/entities/assessment'; import { TraceInfo } from '../../../src/core/entities/trace_info'; import { TraceLocationType } from '../../../src/core/entities/trace_location'; import { TraceState } from '../../../src/core/entities/trace_state'; describe('TraceInfo', () => { const ...
55920588d30fe22032c1784c84fba16809c637ed0c778a9f1f29c79f9bb1329f
TypeScript
3,317
127
/** * @file Line Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import '../shader/Line.vert' import '../shader/Line.frag' import Buffer, { BufferParameters, BufferData } from './buffer' function getSize(data: LineBufferData){ const size = data.position1.length / 3 const attrSize ...
eedac7aeb20e6b2a1279cc126deb1b8f284e7bbf63978e82f4e706a0864a531c
TypeScript
3,317
81
/** * 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...
cd677b3180b48ff835084f57bcc6370b26e1e50243bfbc44a7f71f923f5675e6
TypeScript
3,319
101
import { Component, EventEmitter, Inject, Input, OnDestroy, Output } from "@angular/core"; import { select, Store } from "@ngrx/store"; import { Observable, Subject, Subscription } from "rxjs"; import { switchMap, withLatestFrom } from "rxjs/operators"; import { SAPI } from "src/atlasComponents/sapi/sapi.service"; impo...
4d5cb10dab482bd327886b047838ecfd5bc38ace62374dba6bdee734715f1ac1
TypeScript
3,322
88
/** * @file Trajectory Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Signal } from 'signals'; import Element, { ElementSignals } from './element'; import Stage from '../stage/stage'; import Trajectory, { TrajectoryParameters } from '../trajectory/trajectory'; import { Traje...
c4218e41075d7ba4c60f6082782b501aff380bfcabc58af081c63e6c03730b8d
TypeScript
3,327
101
/** * 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...
e39e8a55d964a35841de9ed553d795f95f431de4313f844686f98e5cd71a6de2
TypeScript
3,327
109
/** * 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...
611edd2b9bf0a36d5c704cabac45a1f7d50be04f9133f7d1032356c7f61306ee
TypeScript
3,328
121
/** * 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...
cbbda541fa6c441ea21ecc8600183cc6c9a3765523a9fc4a41fadae35966e80c
TypeScript
3,329
111
type JRPCBase = { jsonrpc: "2.0" } export type JRPCRequest<Method, T> = { method: Method // does NOT start with rpc. params?: T id?: string // if absent, notification, does not require response } & JRPCBase export type JRPCSuccessResp<T> = { result: T id?: string } & JRPCBase export type JRPCErrorResp<T> =...
d5a7af6feec01c62df5fa39cf90b3aef4f33353aa2b13383c5aa90f3643f3deb
TypeScript
3,329
146
/** * 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...
b5a3ca5ff2e7c154ae17af3b186ba8a77e5f634a0ef8e2386b0cdd1dd3afbc30
TypeScript
3,333
87
/** * 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...
1140bb5b0344793deeb0106f65ccbe2605db425a51afb809c32efe042e8afaf0
TypeScript
3,338
83
/** * Fixing "Auto Detect" tool undo functionality and bugs with skipNextUndoState. * @link https://app.launchdarkly.com/default/production/features/fflag_fix_front_dev_1284_auto_detect_undo_281022_short */ export const FF_DEV_1284 = "fflag_fix_front_dev_1284_auto_detect_undo_281022_short"; export const FF_DEV_1442...
9eb20627798cd1690e5494189ba3d47b3c74d163d700296f25a234db856b02d9
TypeScript
3,339
122
export const simpleData = { text: "This is sample text for testing", }; // Basic Collapse with default settings export const basicCollapseConfig = ` <View> <Collapse> <Panel value="Panel 1"> <Text name="text1" value="Content for panel 1" /> </Panel> <Panel value="Panel 2"> <Text name="text2...
d0cf03ab01a6035b1113966aea2d21279fc857cb2823e04ca259cd807c97069f
TypeScript
3,339
98
import { withMedia } from "../utils/media/MediaMixin"; import type { ViewWithMedia } from "../utils/media/types"; class ParagraphsHelper extends withMedia( class implements ViewWithMedia { get _baseRootSelector() { return ".lsf-paragraphs"; } _rootSelector: string; constructor(rootSelector: s...
c20d610bd9ccd278586d058fcd2b8b57e22a828f67b7be1a88bdb7ac66fe4a85
TypeScript
3,343
90
/** * 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...