sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
639f53340cc1059e96f8d25d71d3160285a9421138d9ce4fba1aa73695fdb896 | TypeScript | 1,400 | 60 | import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, OnChanges, Output } from '@angular/core';
type PlotlyEvent = "plotly_click"
type PlotlyPoint = {
label: string
}
type PlotlyEv = {
event: MouseEvent
points: PlotlyPoint[]
}
type Plotl... |
de758e410814df50133be6e3a876e7c4e770125bbea6e733e8433ef5e195a331 | TypeScript | 1,401 | 41 | /*
* 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 ... |
f5f631f8ce546d9064de7176a86a871ea09c9dae493340f8b98e1895a3cecd58 | TypeScript | 1,401 | 46 | /**
* 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... |
c92d151fd76572a3562f59748862aa6af12a4b7beb7c562948dff0fc8d083c51 | TypeScript | 1,403 | 40 | /**
* 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... |
de40573a06f2797a83e5920f4f92b8cca13b800ca6142456b09051b29a5fbef7 | TypeScript | 1,403 | 47 | import { types } from "mobx-state-tree";
type UserLabel = {
path: string[];
origin: "user" | "session";
};
type ControlsWithLabels = Record<string, UserLabel[]>;
type ControlsWithPaths = Record<string, string[][]>;
// Subset of user generated labels per control tag, currently only for taxonomy
const UserLabels =... |
fabc698d78dc2735407390a66e764dea59ad21f8868eececf89ca812c98ee324 | TypeScript | 1,404 | 42 | /**
* 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... |
214a03a81f61749c0cc231bc6efe3e9158e18f2e1fe8a84f9946911173e3a5ea | TypeScript | 1,406 | 69 | /*
* 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 ... |
9e1a0d9f335a4bf9a239a5d786a13b3b59616243791bc58ad9310f7041e86d0a | TypeScript | 1,407 | 44 | /**
* 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... |
c8b57d91258509cca36356d57c91e94e09999b841edcbc8178949a7ab4e63998 | TypeScript | 1,410 | 54 | import { CommonModule } from "@angular/common"
import { Component } from "@angular/core"
import { TestBed } from "@angular/core/testing"
import { provideMockStore } from "@ngrx/store/testing"
import { MesssagingModule } from "./module"
import { IAV_POSTMESSAGE_NAMESPACE } from './service'
@Component({
template: ''
}... |
caf472faf7a2d351b5e06c706fd2a13bae2753a50cf0c9f553a009765b3a0c14 | TypeScript | 1,411 | 34 | /**
* 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... |
27ab5d220e351e0e79e0ff70c07c9d00767e8d8505efb0ab251f8adba94f6b55 | TypeScript | 1,412 | 47 | interface Formatter {
[key: string]: (operator: string, value: any) => any;
}
// Range operators (between / not between) — value is `{min, max}`.
// The original regex `/^in|not_in$/` is `(^in)|(not_in$)`, which also
// matches `in_list` and `not_in_list` (BROS-1203) and would Object.entries
// an array into `{0: …,... |
dd2eab774d30705a07396e8320b4c68822f0cbb7269a356a1188090ec22cda9c | TypeScript | 1,413 | 42 | /**
* 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... |
29709e5f5c8b6977e75c2ea4a1fda113eb5c0b81c3491c117dc839fe5b1cadb0 | TypeScript | 1,414 | 40 | // Included to include a copy of vanilla nehuba
import '!!file-loader?context=third_party&name=vanilla.html!third_party/vanilla.html'
import '!!file-loader?context=third_party&name=vanilla_styles.css!third_party/styles.css'
import '!!file-loader?context=third_party&name=preinit_vanilla.html!third_party/preinit_vanilla.... |
ac64df0787088af35968cdc77342c65116f98fd64b8ec8f988fdd97658cd2f6b | TypeScript | 1,415 | 40 | /**
* 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... |
d43160abac769188e2bad02e0c5ca21f86f33a19fb58f7f6e85774a3dc3c272c | TypeScript | 1,418 | 36 | import type { ResourceTypeExplorer } from '../../../lib/resourceType';
import type { MatchedField } from '../../typings/domain/search';
/**
* The matched-field vocabulary for a single search hit. Canonical definition
* lives in the protocol-agnostic domain layer ({@link ../../typings/domain/search});
* re-exported ... |
9c562af806f40412650a0cf007b0459dfe1fc19aed90f4a89a14bd8f3b90a2c5 | TypeScript | 1,422 | 40 | /**
* 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... |
08a08f595eae9a40038bc1f514c1eee214b368318d69c0748cf7ea8c389c3e98 | TypeScript | 1,424 | 41 | /**
* 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... |
2dee39a83a407ec4b075455693d5d682fcb6b7b8cf16e2e827afa89cc5d575fb | TypeScript | 1,424 | 71 | export const audioWithLabelsConfig = `<View>
<Audio name="audio" value="$audio" />
<Labels name="labels" toName="audio">
<Label value="Noise" />
<Label value="Music" />
<Label value="Speech" />
</Labels>
</View>`;
export const audioWithLabelsData = {
audio: "/public/files/barradeen-emotional.mp3",
... |
7f017e1c0d48f7c3955bcd480ba3ea295edab1e348dba7feabf3d0e864a0ae14 | TypeScript | 1,424 | 67 | /**
* @file Parser Registry
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Registry from '../utils/registry'
class ParserRegistry extends Registry {
constructor () {
super('parser')
}
__hasObjName (key: string, objName: string) {
const parser = this.get(key)
return ... |
e6e7c871d02f76c560deaf127471ca3936a576d1b24bb1ee922f28de5b27136d | TypeScript | 1,424 | 51 | export type Grouping = 'daily' | 'weekly' | 'monthly';
export type CostInsightsTableMode = 'all' | 'jobs';
export type CostInsight = {
date: Date;
executionCount: number;
reusedCount: number;
executionTime: number;
executionComputeUnits: number;
executionCost: number;
executionTimeSaved: number;
execu... |
d12d454c1a58f5dc48c95b0019f59f4d1c8f03511c81e65d8cc0ac8a1bf49903 | TypeScript | 1,425 | 37 | /**
* @file Pdb Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import StructureParser from './structure-parser';
import { InferBondsOptions } from '../structure/structure-utils';
import Streamer from '../streamer/streamer';
import { ParserParameters } from './parser';
declare const Heli... |
0a9625b09ef337be522f7ca326518a943f761d409638de3b6b0dc4819ff3cf6a | TypeScript | 1,426 | 36 | /**
* 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... |
2a70a43bb4ea0e6eac2d1cafc7240b67b3fc85f720c344abbf9fb008d7184081 | TypeScript | 1,426 | 43 | /**
* 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... |
45cc0f69d78bba2f6b3daab51bc96d47fffffde5debb7d64d02d0c56c62a0393 | TypeScript | 1,426 | 47 | /**
* 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 m... |
713321ac189b7cc469ccf04f75212c5b90308a152478ca2983c06e13d12de52b | TypeScript | 1,426 | 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... |
839a2c2dd29f852d0f6d464c63881f80a6966ef84663ee9fd21a59875a8431c5 | TypeScript | 1,426 | 46 | /*
* 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 ... |
1cef4da9c5576a22e4c334ea0d825dd983f1da364748b7c536a0d6c4d38a152b | TypeScript | 1,428 | 38 | /**
* 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... |
7314fdea7e75c61bd9738f6f983a2e0faabdb64b0f3a2d3ea83ce01f71665d7c | TypeScript | 1,429 | 39 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { ReactiveFormsModule } from "@angular/forms";
import { SxplrFlatHierarchyModule } from "src/components/flatHierarchy";
import { AngularMaterialModule } from "src/sharedModules";
import { UtilModule } from "src/util";
impor... |
aa99043cd7a87c15c1444907918df3f593e6b882e4a897b6fa0ac763bb02c775 | TypeScript | 1,430 | 38 | /**
* 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... |
ecec1fdbe64d33844642624f79e39a192ea452a908c823a31940d3ea241b94fb | TypeScript | 1,430 | 34 | /**
* 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... |
194359db8a371b98ebd261dc1da8b4cf237e19cee5b34973633b1451020ea326 | TypeScript | 1,431 | 56 | /**
* @file Features
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import AtomProxy from '../../proxy/atom-proxy';
export interface Features {
types: FeatureType[];
groups: FeatureGroup[];
centers: {
x: number[];
y: number[];
z: number[];
};
atomSets: number[][... |
26375f2ed248bad5f29f243be5583532f3c12995181939bb50df4f34fe77c11e | TypeScript | 1,431 | 56 | import type { WaveformAudio } from "../../Media/WaveformAudio";
/**
* Parameters representing the current state needed for rendering.
*/
export interface RenderContext {
scrollLeftPx: number;
width: number;
zoom: number;
samplesPerPx: number;
dataLength: number;
/**
* Callback to notify the parent vis... |
3c0775e5675ce08272c7876db097efe2e7f9a8ec6bdb3c014d9a77f6ad3e7110 | TypeScript | 1,431 | 33 | /**
* @file Viewer Utils
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Scene, Camera, Object3D, WebGLRenderer } from 'three';
import Viewer from './viewer';
/**
* Image parameter object.
* @typedef {Object} ImageParameters - image generation parameters
* @property {Boolean} trim -... |
7233c84462b45c3437487b5626dbeb8a2c68c19f643366dfb3f6ebdc35815b3c | TypeScript | 1,433 | 46 | /*
* 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 ... |
0213a073eb84cbebaf635a1366c8ba22f8f6c37fa9b1389f11671e8322b09bee | TypeScript | 1,434 | 58 | /**
* @file MDsrv Datasource
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { autoLoad, getFileInfo } from '../loader/loader-utils'
import Datasource from './datasource'
class MdsrvDatasource extends Datasource {
baseUrl: string
constructor (baseUrl: string = '') {
super()
... |
1bd608c5dcd0686166c0cd0a3a7b040545751bca696fce3105aaa4812bb9d892 | TypeScript | 1,436 | 41 | export interface NormalizedAgreementSelection {
ground_truth: boolean;
annotators: {
all: boolean;
ids: string[];
};
models: {
all: boolean;
ids: string[];
};
}
export const DEFAULT_AGREEMENT_SELECTED_V2: Readonly<NormalizedAgreementSelection>;
/** Shown at the end of the agreement calculati... |
6ad3b1086f83aa25997311aba5dfc40464adfed71011c130f204296970a400e1 | TypeScript | 1,436 | 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... |
1991480766b6eaa0e835eadbe9433305b919ea40008bb523c42df91e24637982 | TypeScript | 1,438 | 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... |
7196c68f599ff7087d24f61f8814c8ca17213de9dc1abba909436d7b5106e238 | TypeScript | 1,438 | 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... |
949c837e58eb0407ae058263ed3cd4990f96b4bc2edfc8ba69dd023066ac0620 | TypeScript | 1,438 | 40 | /**
* 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... |
0085b2cd24920a8d019af18e23297ce8a9cbf8dc5b38bd2dcb92196dc087a23f | TypeScript | 1,439 | 53 | import { z } from "zod";
import type { ProviderConfig } from "@humansignal/app-common/blocks/StorageProviderForm/types/provider";
import { IconCloudProviderRedis } from "@humansignal/icons";
export const redisProvider: ProviderConfig = {
name: "redis",
title: "Redis Storage",
description: "Configure your Redis s... |
1deb2174dda19c83c6ecc9ba78c382602b0f9d0b5da6c922ab41e3f2a173cb5a | TypeScript | 1,439 | 43 | import { TestBed } from "@angular/core/testing"
import { ModularUserAnnotationToolService } from "./service"
import { MockStore, provideMockStore } from "@ngrx/store/testing"
import { NoopAnimationsModule } from "@angular/platform-browser/animations"
import { ANNOTATION_EVENT_INJ_TOKEN, INJ_ANNOT_TARGET } from "./type"... |
645da15fe515b91f6ed82268141b7e31a269d9bc62614faf82a086fd62342c5f | TypeScript | 1,439 | 46 | /**
* 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... |
681f8c3c2df44302c10135af42de82512a2c15aec3b30fd6483a846196ca9c05 | TypeScript | 1,439 | 43 | /*
* 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 ... |
7bc40823edba2c4880d9c74c3e70d003177b9792f36ee9332d65fbc6c7c5b2a3 | TypeScript | 1,439 | 67 | import { Overlay, OverlayRef } from "@angular/cdk/overlay";
import { ComponentPortal } from "@angular/cdk/portal";
import { ComponentRef, Directive, HostListener } from "@angular/core";
import { take } from "rxjs/operators";
import { ScreenshotCmp } from "./screenshotCmp/screenshot.component";
@Directive({
selector:... |
db24b17b0c4ed48d1145ffa15c985bc3e28d77e00855ce0a3003c5b254366ab5 | TypeScript | 1,440 | 43 | /**
* 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... |
db33b5a1db0cbad299aa8836c32d2a0c35b03587a97e93d1e5f91b02514307c2 | TypeScript | 1,441 | 46 | /*
* 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 ... |
5cdfb2c8431089920e0c214c6d94c6a6413b625e1a25ac1f4ed1509307c54586 | TypeScript | 1,444 | 52 | import fastStringify from 'fast-safe-stringify';
// Configure json-bigint to handle large integers
type JSON = {
parse: (text: string) => any;
stringify: (value: any) => string;
};
// eslint-disable-next-line @typescript-eslint/no-var-requires
const JSONBigInt = require('./json-bigint/index.js');
// eslint-disab... |
100bd9037c25bf0a9875bbf8a22485dc863fdc645e35b40f5ad474e35a75b4b1 | TypeScript | 1,445 | 35 | /**
* 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... |
7a3f5cdcfe31d7b7b545e2b923a6b19e9e7adb54f73876c87ebc1bce740d756f | TypeScript | 1,445 | 34 | /**
* 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... |
8b2e776f79825851e7ba61255aa00524972581553056eabb53c65d55c9bb2565 | TypeScript | 1,446 | 41 | /**
* 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... |
72249789f7e47781bcaaa4fb230d0297be7eb6cc00fc3a81411e93c42d9574fb | TypeScript | 1,447 | 33 | /**
* @file AV Surface
* @author Fred Ludlow <fred.ludlow@gmail.com>
* @private
*/
/**
* Modifed from SpatialHash
*
* Main differences are:
* - Optimized grid size to ensure we only ever need to look +/-1 cell
* - Aware of atomic radii and will only output atoms within rAtom + rExtra
* (see withinRadii meth... |
4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc | TypeScript | 1,449 | 44 | /*! *****************************************************************************
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.... |
afe0249cf15a5bcf071c60fe16e899d7d7e4342ed6e4198f26f0e7f3538c8c34 | TypeScript | 1,449 | 40 | /**
* 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... |
b21227477692fcc0951db8a8eff8a09edd67c4397e49a9113ecbf24b05737586 | TypeScript | 1,449 | 38 | /**
* @file Filtered Volume
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Volume from './volume';
import { Box3, Matrix4, Matrix3, Vector3 } from 'three';
declare class FilteredVolume {
volume: Volume;
data: Float32Array;
position: Float32Array;
atomindex: Int32Array;
... |
175da7b61ec6f40806ea2de8597e08e9ac4be92d2742dcdc0a231c5d4c1e63f6 | TypeScript | 1,451 | 60 | import { Injectable, Injector, OnDestroy, TemplateRef } from '@angular/core';
import { Subject } from 'rxjs';
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
import { ComponentPortal } from '@angular/cdk/portal';
import { SpotlightBackdropComponent } from './spotlight-backdrop/spotlight-backdrop.component';... |
325bcfc90fdc68809c680e2a312667f0a7e60dc3f0dd2ef4f2d02b79f552c9e5 | TypeScript | 1,452 | 48 | /**
* 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... |
92afcf1f414cffb5d63fe8ce440f003db0a08d5f6e502f268f9bd06b0b311f1d | TypeScript | 1,453 | 41 | /**
* 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... |
524d67f48f846a4f8d859d1b74f8a30bcf21b5addada860da6c977d099b64e7e | TypeScript | 1,454 | 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 ... |
77c1fc7af843b28536752d9eff50ed46d0c8c540ad3a7a6a3928bf2fc08c0722 | TypeScript | 1,454 | 48 | /**
* 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... |
bbe7304f8e957230a2532493f296b0bd53d5782167ab82153a183e166063f24c | TypeScript | 1,457 | 38 | /**
* 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... |
decf7904ab964301bc026e6e04b2ef96a6f1bb07879cfc1cd41c30c8148c3552 | TypeScript | 1,460 | 30 | /**
* Bun `mock.module` matches by the exact specifier string. The same file can be registered as
* `../VirtualVideo`, `../VirtualVideo.tsx`, an absolute path, or a `file:` URL — restoring or
* re-mocking only one leaves the others pointing at a stale factory (common on Linux CI vs macOS).
*
* Pattern aligned with... |
7d3ffbfb01521be8e5a742051304ad7a44cd22ba4ea63389e7948986417e5f15 | TypeScript | 1,461 | 41 | /*
* 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 ... |
82033f041cf3bb8363bd135bb45c95ea9ae0de1b0fdd40160517777131359cea | TypeScript | 1,461 | 38 | /**
* 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... |
c4e3984df930a4d26ae441d41f3744ab8f64f36b5f203bb576c98ad8f5305b62 | TypeScript | 1,461 | 43 | /*
* 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 ... |
6df7bbbcae800b6fc5acc5161b558927b6e6ab1df93d7be3fb74d9c6df09aee9 | TypeScript | 1,464 | 48 | /**
* 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... |
6926414c9af94c64362a92e13088c5cfaebad342893dfa51c53b92981bb5620a | TypeScript | 1,471 | 42 | import {useState} from 'react';
export function useCustomLocalStorage<T>(key: string, initial: T, onError: (err: any) => T | undefined): [T | undefined, React.Dispatch<T>] {
const [storedValue, setStoredValue]: [T | undefined, React.Dispatch<T>] = useState(() => {
if (window === undefined) {
re... |
66209b04b2e94687fc2b1bb0040be386d8b441ea8a2216e16272737621905849 | TypeScript | 1,473 | 79 | export const ratingConfig = `
<View>
<Text name="text" value="$text" />
<Rating name="rating" toName="text" />
</View>
`;
export const taxonomyConfig = `
<View>
<Text name="text" value="$text" />
<Taxonomy name="taxonomy" toName="text">
<Choice value="A" />
<Choice value="B" />
</Ta... |
71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557 | TypeScript | 1,473 | 33 | /*! *****************************************************************************
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.... |
e32f89779dcdeee7a0ef4195b525a42da3fac0bc65d03bc9036c69f044eac232 | TypeScript | 1,475 | 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... |
0a9e659bea2aa374f615794b34ba61fec5a7ff2da58b98e6ff41676be268ef2f | TypeScript | 1,476 | 56 | /**
* @file Sphere Impostor Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Matrix4 } from 'three'
import '../shader/SphereImpostor.vert'
import '../shader/SphereImpostor.frag'
import MappedQuadBuffer from './mappedquad-buffer'
import { SphereBufferData } from './sphere-buffe... |
8b9210e178468c45fc641d0a41c2f6d25fe74da30e1d124056673a10bb3da8ec | TypeScript | 1,479 | 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 ... |
a7b0d26d753aca942346bf76d759c21768b3e88c691e5cdbfd6b545df8ebb804 | TypeScript | 1,479 | 55 | /**
* 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... |
aefdfba381fc464cab96a966495fbce1d8ad1f6ab2dc5744e8adce181865a0cf | TypeScript | 1,479 | 68 |
import BitArray from '../utils/bitarray'
import { AtomPicker, BondPicker } from '../utils/picker'
import BondStore from '../store/bond-store'
import { ColormakerParameters } from '../color/colormaker'
export interface RadiusParams {
scale: number
radius?: number
type?: string
}
//
export interface AtomD... |
46f15abde1303afc748698cb377f5b1432c7bc7fe18d6f6c2e405577277b1c29 | TypeScript | 1,480 | 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 ... |
a88785ab599c1190d12b163c2e85c8dbb0571e21dd9d5e2729517283072f8b91 | TypeScript | 1,480 | 59 | /*
* 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 ... |
13ef5880f2c9b8e76706dbd33deeef3a24883054fcb66b988b51bf02857debaf | TypeScript | 1,482 | 47 | import type { ApiResponse, WrappedResponse } from "../api-proxy/types";
import type { APIProxy } from "../api-proxy";
export interface ApiCallOptions {
params?: Record<string, unknown>;
suppressError?: boolean;
errorFilter?: (response: ApiResponse) => boolean;
headers?: Record<string, string>;
signal?: Abort... |
afec1d63f23e932116cdc02b9fda698328e1835dbdd7712d2c6d15095d01d54c | TypeScript | 1,482 | 38 | /**
* 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... |
ea515574a0e2874ec1c3e7273246cc40fa8650266ee6c53722d0729ea9728fcf | TypeScript | 1,482 | 56 | /*
* 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 ... |
68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618 | TypeScript | 1,484 | 31 | /*! *****************************************************************************
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.... |
849c5310c03b4f8ae40246db7e15e786442451377ce9d7bc1f4b0673b0661742 | TypeScript | 1,484 | 54 | /**
* @file Colordata Colormaker
* @author Fred Ludlow <fred.ludlow@gmail.com>
* @private
*/
import { ColormakerRegistry } from '../globals'
import Colormaker, { ColorData, ColormakerScale, manageColor, StuctureColormakerParams } from './colormaker'
import AtomProxy from '../proxy/atom-proxy'
import BondProxy from... |
a6c6ed4bd2629d1eca60252e302ef4ec067d029b071bd725c97c3add20312ecb | TypeScript | 1,488 | 45 | /*
* 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 ... |
0dd90e0e6c22b5e77e04cefc5c3aa54dce1d6899bc92ca4498772d9b81ff91e7 | TypeScript | 1,490 | 45 | /**
* @file Volume Component
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Component, { ComponentParameters } from './component';
import Stage from '../stage/stage';
import Volume from '../surface/volume';
import { Box3, Vector3 } from 'three';
import RepresentationElement from './repr... |
cb700b681b5b8601b66561ae1ff896b21ce0e839c083ac897357bfd0ffc4a0fa | TypeScript | 1,490 | 66 | import { Component, HostBinding, Input, OnChanges } from "@angular/core";
@Component({
selector: 'quick-tour-arrow',
templateUrl: './arrow.template.html',
styleUrls: [
'./arrow.style.css'
]
})
export class ArrowComponent implements OnChanges{
@HostBinding('style.transform')
transform = `translate(0px... |
d2d5767780035dccec472d0c2bf77a77ebc792a6c9acab01f7cf23495f64cc71 | TypeScript | 1,491 | 70 | /**
* @file Kin Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Parser from './parser';
interface RibbonObject {
labelArray: string[];
positionArray: number[];
breakArray: boolean[];
colorArray: number[];
name?: string;
masterArray: any[];
}
interface Kinem... |
d68338c02d3d4023b071477b452d6ffc0dc337d0f3e9f8eca81837479deed289 | TypeScript | 1,492 | 35 | /**
* 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... |
aa97b345abddedf7b66f5273f55cde3598b66f5768d463d5f36de4da7e8aa2a6 | TypeScript | 1,493 | 72 | /**
* this file dictates the shape of the data used in the ranker component.
*/
//represents a column of data
export interface ColumnData {
id: string;
title: string;
itemIds: string[];
}
//represents an item living in a column
export interface InputItem {
id: string;
title?: string;
body?: string;
ht... |
f5677092fdbdc75fab3db63b60995503402e97148580bfde319df228387c73f0 | TypeScript | 1,493 | 60 | /**
* @todo use [].every()
* Returns true if all checks return true
* @param {boolean[]} boolArray
* @param {(any) => boolean} check
*/
export const all = <T>(boolArray: T[], check: (item: T) => boolean) => {
return boolArray.reduce((res, value) => {
return res && !!check(value);
}, true);
};
/**
* Retur... |
220ff77c033190dd493bda406da8be4c0a501298a387f3c03eecf09438b65b48 | TypeScript | 1,494 | 51 | /**
* 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... |
3151c28a8fe8dbf6bc907b5ec49605501f451395607dbcbb11bd2741bbf353a9 | TypeScript | 1,495 | 47 | import { FullscreenOverlayContainer, OverlayContainer } from "@angular/cdk/overlay";
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { UtilModule } from "src/util";
import { AngularMaterialModule } from "src/sharedModules";
import { QuickTourThis } from "src/ui/quickTour... |
d3fdb43a7fc3005fd54a75aabc9ea5c09c44387478c8c332b601dfb41c6906dc | TypeScript | 1,495 | 34 | /**
* @file Base Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import BallAndStickRepresentation, { BallAndStickRepresentationParameters } from './ballandstick-representation';
import { Structure } from '../ngl';
import Viewer from '../viewer/viewer';
import StructureView from ... |
6aeebd2a65087f1df45a9ba15e2da20ca23c2b8c260800197d13e05f82f0b514 | TypeScript | 1,497 | 52 | import {Icon} from '../shared/components/icon';
const chat = 'comment';
const compute = 'microchip';
const git = 'code-branch';
const grid = 'th';
const manifest = 'file-code';
const queue = 'stream';
const storage = 'database';
const web = 'cloud';
export const icons: {[type: string]: Icon} = {
amqpEventSource: ... |
65c381e98e98d7645a22263e15d2137cf2b1093306009c51b78d5236be44bad0 | TypeScript | 1,498 | 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 ... |
044486807695b032a1f00ca08b4801183e80c696184f86100ff2a0d0627bb159 | TypeScript | 1,499 | 58 | /**
* @file Nctraj Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Debug, Log, ParserRegistry } from '../globals'
import TrajectoryParser from './trajectory-parser'
import NetcdfReader from '../utils/netcdf-reader'
class NctrajParser extends TrajectoryParser {
get type () { ... |
f257c28ab4e31d31554a8b4a4fac2be395326cee04c92c5213bb83f938efb885 | TypeScript | 1,500 | 45 | /**
* 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... |
8f964366c6755dfb481b10238ac91d996f80f903d2fce9e62d32acf41eec00a0 | TypeScript | 1,501 | 53 | /**
* @file Chainid 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'
import ChainProxy from '.... |
2f9e24b40fd95f63f27fa47283dc76730350907724a9e9bba8c437212f0651d5 | TypeScript | 1,503 | 45 | // Import core modules
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpClientModule } from '@angular/common/http';
// Import components
import { AppComponent } from './app.component';
import { DeviceStartupComponent } from './device-startup/device-start... |
4711e95e4534f870fd2335b30674022decdf0a044e6a7d07388ba4ed520dd52e | TypeScript | 1,504 | 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... |
f2fa7d076e57c602ba09072cf3a9ebe82db0756685e5977316f2718227a62edc | TypeScript | 1,504 | 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 ... |
3a7869637c0ff14b645c66b3e51fb6baa434e61a78df7dfec80df9663acb40c5 | TypeScript | 1,505 | 42 | /**
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.