sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
bf6b29cdaf160590bfe4f0089fff7e11df4e3013a8f819daa7811bdb9fd18fdd | TypeScript | 862 | 31 | /**
* Tiny ANSI styling helpers for the `mlflow-qwen-code` CLI.
*
* No runtime dependency on `chalk`/`kleur`: we keep the bundle small and
* respect the usual opt-outs (non-TTY stdout, `NO_COLOR`, `FORCE_COLOR=0`).
*/
const COLOR_ENABLED = (() => {
if (process.env.FORCE_COLOR === '0' || process.env.NO_COLOR) {
... |
64d1a0807d723fdaf91b3a976571e9df9c7c7e6fde01ca554cece4830cc4e72e | TypeScript | 864 | 21 | /**
* 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... |
cf3b4b749a25793b8c2cd6ca0525a84421cfc07b6c2785a93bf3004049830fba | TypeScript | 864 | 31 | import type {
PackageDetailsParams,
ResourceDetailsParams,
ResourceFilterParams,
} from './linkTypes';
export const homeLink = (prefix: string | undefined): string | undefined => prefix;
export const resourceFilterLink = (
prefix: string | undefined,
p: ResourceFilterParams,
): string | undefined =>
prefi... |
ee20d8ec486ef3502109fb54910bd775555aad4b5bbfb713dc7a25b8a9a20cea | TypeScript | 864 | 21 | /**
* 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... |
2003e439dbf6410f9f908db56603a9de10c95e3a1cb0f1e5d3ef08964f7bdafc | TypeScript | 865 | 20 | /*
* 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 ... |
73b15a0b7cf5c6df9076b9408c5ce682f11813453bf54c54cb284f075b5224cf | TypeScript | 865 | 17 | /*! *****************************************************************************
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.... |
6810e38211381298b7e57827871210ac40eb317b8176fad14eb70f3903c0ac2b | TypeScript | 866 | 25 | /**
* Classic Data Manager toasts a generic "not updated, try again / contact support"
* for every failed annotation write. Expected 403s tagged with display_context
* (for example a redistributed rejection) already explain themselves in `detail`
* and should not ask the annotator to retry.
*/
export const ANNOTAT... |
5ee24b5050b9f03a2ea7a4482e7a7ff81bfc1191394fa486f17ba0d7133627e6 | TypeScript | 867 | 20 | /**
* 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... |
b328db1883e4e266a1965ab2bde4df6d69ad9170b3954ec86e1d440446c87eac | TypeScript | 867 | 21 | /**
* 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... |
e194626fef9f0588e97ab09ab6a64c165d0b4bd2e48fb6161da9d2dbac963a17 | TypeScript | 867 | 20 | /**
* 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... |
b865972d23c168f23ed276e517dfd851facc9c94b68665d5c1153430bd6dfd76 | TypeScript | 868 | 19 | /**
* 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... |
b79734b15b157cd6472534caf7a2ac2841e2efedfd29dc09f477368126e0db95 | TypeScript | 869 | 20 | /**
* 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... |
3afebdbbba0ea7817fbd412d0438336f7a784a21c36055dc7d577501f952ddd7 | TypeScript | 870 | 21 | /**
* 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... |
ad3fd264ddff6cbc81d4f204e953783ac70e42d734aa3e7db12d5b5361021db7 | TypeScript | 870 | 21 | /*
* 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 ... |
9aa1e3d717f8be7a616e6260a55990c24f948895ad2d40cdd3d16d2839cd2776 | TypeScript | 871 | 19 | /**
* 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... |
e9fad52921004e328ae6051c42207fc50afad94d59e495aaa56e36bfe1bbdd6f | TypeScript | 871 | 20 | /*
* 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 ... |
528c7efa3aca1e8b1cbf02522b8d7f08d4a31342001078c22be6881b15ef73ec | TypeScript | 872 | 19 | /**
* 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... |
b9ee618692a026c49601a2ff3886b6aa85538767f2d253288fe934250750fd0e | TypeScript | 873 | 19 | /**
* 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... |
067a20ee68bdee889dd0977b8c0581bc188ab40579ba7b0532d02dd46c9fe4fc | TypeScript | 877 | 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 ... |
7bd7cfeec65e6adfe61b4b2d0d16c5ec5c279faeb11d17986ba14afbf12d8b19 | TypeScript | 877 | 20 | /**
* 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... |
aa195bcafff3e84ce45c73254a4ac4bc2587a30b45871769d2fc5a5b362ffaa6 | TypeScript | 877 | 21 | /**
* 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... |
cfe2affcbba68e8059ee63e480dbc4574a9a828419ca24cc616d1896a5f4c9ed | TypeScript | 877 | 19 | import {expect, test} from '../fixtures/test';
import {DAG_TASKS, dagWorkflow} from '../fixtures/workflows';
test('renders every DAG node and opens the node-info panel', async ({api, workflowDetailsPage}) => {
const name = await api.submitWorkflow(dagWorkflow());
await api.waitForPhase(name, 'Succeeded');
... |
f3504a811c6cb083f615983c4aca2ea709c1960e544a5b21c5a381dbeaf037cc | TypeScript | 877 | 26 | /**
* @file Structure Builder
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Structure from './structure';
declare class StructureBuilder {
readonly structure: Structure;
currentModelindex: number | null;
currentChainid: string | null;
currentResname: string | null;
... |
4a4c6b7dfd81dbcaf2db39db2b0cfcc6171b5c64c6d4f20b82966e0ee9de1115 | TypeScript | 878 | 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... |
ebebfa4e4e6a67b6f99738c827ed7dc8c0cbcb3b60739a05daed7f02f435b081 | TypeScript | 879 | 33 | /**
* @file Alignment
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
export declare type SubstitutionMatrix = '' | 'blosum62' | 'blosum62x';
declare class Alignment {
readonly seq1: string;
readonly seq2: string;
readonly gapPenalty: number;
readonly gapExtensionPenalty: number... |
415dcc86d4dad1faa1aafd175d49257e942b7f856db63d41797d3c2c665ab1f4 | TypeScript | 880 | 31 | /**
* @file Spatial Hash
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Box3 } from 'three';
export declare type Positions = {
x: ArrayLike<number>;
y: ArrayLike<number>;
z: ArrayLike<number>;
count?: number;
};
export default class SpatialHash {
exp: number;
m... |
6e43edc44b2c4b26cf4488452f0399a86e4e9f20b517c306bd9bce028d4e3ed0 | TypeScript | 880 | 32 | import type { KonvaNode, WorkingArea } from "./types";
import { MIN_SIZE } from "../../../tools/Base";
export const getNodeAbsoluteDimensions = (node: KonvaNode, workingArea: WorkingArea) => {
const { realWidth: width, realHeight: height } = workingArea;
const result = {
x: (node.x() / width) * 100,
y: (n... |
c051ca37270019f87f498603571e82ff90f6aaff9fdf56e5cd007f024c80a50e | TypeScript | 880 | 48 | /**
* @file Random Colormaker
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { ColormakerRegistry } from '../globals'
import Colormaker, { manageColor } from './colormaker'
function randomColor () {
return Math.random() * 0xFFFFFF
}
/**
* Class by random color
*/
class RandomColo... |
f2731c28097361003e47ad7d1b80ce72a7ffe089eae6ae50e10646aa2aa695b8 | TypeScript | 880 | 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 ... |
56fa7c8f76b021c11a2e2db7e82a6bc7be9fe70589dd845083b765779c456604 | TypeScript | 881 | 19 | /**
* 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... |
96621cfd44b8d790b9b13aeb2855190e703e80d0fb63dbef0c98c8ec8ee51dac | TypeScript | 881 | 29 | import { ImageView, Labels, LabelStudio, Sidebar } from "@humansignal/frontend-test/helpers/LSF";
const config = `
<View>
<Image name="img" value="$image"></Image>
<RectangleLabels name="tag" toName="img">
<Label value="Planet"></Label>
<Label value="Moonwalker" background="blue"></Label>
</R... |
a264282ca937a5d7335667aba65e9d10a0c76d83410db36aaab761fef138ae76 | TypeScript | 881 | 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... |
c7af383cb9e872bf95bd3cf305ba2d881c68f04e28d423c0a226a1fe6d0cc51f | TypeScript | 881 | 30 | export type ExecutionState = 'none' | 'ran' | 'skipped' | 'error';
export type RunStatus =
'success' | 'error' | 'running' | 'queued' | 'skipped' | 'reused';
/**
* Per-node execution from the most recent run that touched this asset.
* Distinct from {@link JobExecutionInfo}, which describes the parent job.
*/
expo... |
9121ede637b8c8ce3bf154a66d84958d5eab93a1767f333f1ff80908ba880699 | TypeScript | 883 | 22 | /**
* 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... |
6e52d98d7fdfbbc430343d17818597e9c5042b9e6916dcd629b9d2f35876d624 | TypeScript | 884 | 21 | /**
* 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... |
fb84a2211c426892c92a0cbea0ae0223ee9ef8f713340420d8b4d53bbe323a2c | TypeScript | 884 | 22 | /**
* 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... |
4223be1e1fce8e7c02f0e35dc3bcd0acaa7ab94df07985cc1ca96ce48bca500e | TypeScript | 885 | 37 | /**
* @file Key Actions
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Stage from '../stage/stage';
export declare type KeyActionCallback = (stage: Stage) => void;
/**
* Key actions provided as static methods
*/
declare class KeyActions {
/**
* Stage auto view
*/
sta... |
6815d5e9d9459e66dbf6c8f440fd3d039c453cd1a8acca24a3c2d3670ea7bd49 | TypeScript | 885 | 19 | /**
* 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... |
3ae33bb20462c1c4fdc4f7b8ccaadf3fca659089ad8cc3bd0cd909a69a8b8a45 | TypeScript | 886 | 31 | import { useState } from "react";
type ValueFromString<T> = (value: string) => T;
type ValueToString = (value: any) => string;
type Options<T> = {
fromString?: ValueFromString<T>;
toString?: ValueToString;
};
type StateResult<T> = [T, (value: T) => void];
export const useLocalStorageState = <T>(keyName: string... |
571613ff2a760aea8ccacb81dfb1cfe72a1915b8b5ec68544a18754c78bf75a3 | TypeScript | 886 | 22 | /**
* 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... |
90785b77b26956be39bf1f450a84018deda63a4b98e0885af08cfc9e91aef07b | TypeScript | 886 | 22 | /**
* 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... |
8c37d8fbe6a2082307ca816f6875601fe17a919240cf90282d858744ec2d0c80 | TypeScript | 887 | 21 | /**
* 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... |
bd42dbc3e898412495202b8ed8cb73403e3b789648fa841b4a502ca4e3b2a52d | TypeScript | 887 | 21 | /**
* 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... |
89740d1133abc943c8ed381ae798d0fcfda43ecdff5f03c8627bf3815ec39eec | TypeScript | 889 | 22 | /**
* 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... |
a964de8b4ba8b8593aa9037c354d0867b497581b0e4484aac8a0be925db89931 | TypeScript | 889 | 20 | /* 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... |
7e53e5c0e1e2778a1875f23993340f4a3b3f6f0226ba6b696f78978d588a135d | TypeScript | 890 | 20 | /**
* 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... |
7f48f0e9318882fd7865ee6a0b74be0f59644c140a3c9561a75a8928d9683fa9 | TypeScript | 890 | 38 | /**
* @file UI Parameters
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { StageParameters } from '../stage/stage';
export declare type BooleanParam = {
type: 'boolean';
};
export declare type ColorParam = {
type: 'color';
};
export declare type IntegerParam = {
type: 'integer';
max... |
888fe73139369143937281613b92a1c05f663c5c947d953b9adc3518b7a44d0b | TypeScript | 890 | 28 | /**
* @file Volume Slice
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { SlicePicker } from '../utils/picker';
import { Volume } from '../ngl';
import { SliceRepresentationParameters } from '../representation/slice-representation';
declare class VolumeSlice {
dimension: 'x' | 'y' |... |
c7e0718e79f05269d5b8effc16edab38070318bfab10db5ddadca4e16d267c7b | TypeScript | 890 | 19 | /**
* 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... |
ecc318be61752c4d458c37a978955a76b56ec78ceb462ab5ab39519896d89f2b | TypeScript | 891 | 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 ... |
2ec105d47d48af2a3cb8fe73ea9b0c3c7f710c7cb70ee37f401f0c3b5a1603d5 | TypeScript | 892 | 30 | import {History} from 'history';
function extractKey(inputString: string): string | null {
// Use regular expression to match the key within square brackets
const match = inputString.match(/^parameters\[(.*?)\]$/);
// If a match is found, return the captured key
if (match) {
return match[1];
... |
41743b5d17e5650d6c293a687799e71f4636168ef89bd8788e77abd31af75101 | TypeScript | 893 | 29 | import { Directive, HostBinding, HostListener } from "@angular/core";
import { DomSanitizer, SafeUrl } from "@angular/platform-browser";
@Directive({
selector: '[floatingMouseContextualContainerDirective]',
standalone: true,
})
export class FloatingMouseContextualContainerDirective {
private mousePos: [number,... |
811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4 | TypeScript | 893 | 21 | /*! *****************************************************************************
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.... |
8b55a116ae39483b972047761da9d6d846b0c5bc972ca285f6642ddcdaf785c1 | TypeScript | 893 | 21 | /**
* 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... |
996990a4fb60839f510000af314c145154843da531b56ed3b71ad582dc63b94c | TypeScript | 893 | 32 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PointAssignmentComponent } from './point-assignment/point-assignment.component';
import { UtilModule } from 'src/util';
import { SpinnerModule } from 'src/components/spinner';
import { ZipFilesOutputModule } from 'src/zip... |
cc355b889ef29031cc1f6d013af42be73d20c48de7d29302138798818f497208 | TypeScript | 893 | 48 | export const simpleRegionsConfig = `<View>
<Text name="text" />
<Labels name="label" toName="text">
<Label value="Label 1"/>
<Label value="Label 2"/>
<Label value="Label 3"/>
</Labels>
</View>`;
export const simpleRegionsData = "Some simple text";
export const simpleRegionsResult = [
{
i... |
62749c3ee8c47e1992cae670da170fec3fc22a890f35cf3dc081b3707fc643d9 | TypeScript | 894 | 21 | /*
* 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 ... |
6a6b4ad6a992edb39032516aad490b17d89ade9d75e25fd3d7578ad062c3f752 | TypeScript | 894 | 25 | /**
* @file Halogen Bonds
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Fred Ludlow <Fred.Ludlow@astx.com>
*/
import Structure from '../../structure/structure';
import { Features } from './features';
import { Contacts } from './contact';
/**
* Halogen bond donors (X-C, with X one of Cl, Br, I or... |
337c955969ab65a03e0cef4e39045f99b7d8900aae3ed1d3a90c590f5cb2c110 | TypeScript | 897 | 21 | /**
* 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... |
65227364be842637687a02d8be32cdb0b0c206dcf6e83483a3f879f4677ce2a5 | TypeScript | 899 | 22 | /**
* 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... |
436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a | TypeScript | 900 | 21 | /*! *****************************************************************************
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.... |
f6f5e6de4b766651ef1a768eb2ae34092a19ac08e9adcf63ce619757990a154f | TypeScript | 900 | 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... |
90b1a53892c5e3c1077ea74a617c5e33d935e29916261b1123e973a3ee1094af | TypeScript | 901 | 22 | /**
* 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... |
5ea9021e666b5c6df0f340f03a641aa89aa22431b52c1dc9e5ac72579ffb36f4 | TypeScript | 902 | 38 | /**
* @file Modelindex 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 model... |
8b885c4e8534728c16c1694ff7c996e7951aae256582555f5ed01b281c5a4d8e | TypeScript | 902 | 34 | import { Pipe, PipeTransform } from "@angular/core";
import { Qualification } from "src/atlasComponents/sapi/typeV3"
import { SxplrRegion, SxplrParcellation } from "src/atlasComponents/sapi/sxplrTypes"
type InputType = {
qualification: Qualification
region: SxplrRegion
parcellation: SxplrParcellation
}
@Pipe({
... |
f6e988b87b51c20c5f5bed8aa2d9d8e56b1b7ff8767cfdc9ba1c7872eb62a055 | TypeScript | 903 | 22 | /*
* 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 ... |
138fc3bdb46987e1093041fc44fb6ed67ec8304821eea285c1bdb7bb8e36d812 | TypeScript | 905 | 21 | /**
* 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... |
54c097a3017ace2e3fd1e7d2ba44dee67b2f2127a926a969518d4328ddecdc4f | TypeScript | 905 | 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 ... |
448d6391adf59432934ea629071447b900d710286a7058edff059cd82da5d09a | TypeScript | 906 | 21 | /**
* 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... |
19988844343fb230547bcffeee85a952461f7539e69f7bc25ba597a37540957c | TypeScript | 908 | 44 | import { createAction, props } from "@ngrx/store"
import { nameSpace } from "./const"
import { SxplrRegion, Feature, Point, VoiFeature } from "src/atlasComponents/sapi/sxplrTypes"
export const mouseOverAnnotations = createAction(
`${nameSpace} mouseOverAnnotations`,
props<{
annotations: {
"@id": string
... |
32094237210128e55f3849bb9c2c0830856a6d43e6920e5e19c7d7268624b0c4 | TypeScript | 908 | 31 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { ViewerCtrlModule } from "../viewerCtrl";
import { NehubaLayoutOverlay } from "./nehuba.layoutOverlay/nehuba.layoutOverlay.component";
import { QuickTourModule } from "src/ui/quickTour";
import { SpinnerModule } from "src/... |
96766b49fae60177553e034616415653de56ac6fb808d7adefd8686bfc18e91d | TypeScript | 908 | 20 | /**
* 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... |
9a02502a5b311ca969972084da3189fa8bd6c892a68aa6675eb0a4184a5c3232 | TypeScript | 908 | 21 | /**
* 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... |
a9307217e61df995f19b71dd17181777a2a28c0347294488dbffe1b172cf7c07 | TypeScript | 908 | 41 | /**
* @file Volume Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Matrix4 } from 'three'
import { defaults } from '../utils'
import Parser, { ParserParameters } from './parser'
import Volume from '../surface/volume'
import Streamer from '../streamer/streamer';
export interfa... |
67a6cb130fffa367e5e998dcb2ae255a42210aa29b23101318d14c22003007e2 | TypeScript | 909 | 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... |
ecc3ce83b518971e98afb5a838f59cfc962175b68449070cddcb8786f28f76ec | TypeScript | 910 | 36 | interface PathCoordinate {
x: number;
y: number;
}
/**
* Utility class for handling SVG path operations
* Supports parsing path data and extracting coordinates
*/
export class SVGPathUtils {
/**
* Simple parser for extracting coordinates from SVG path data
*/
static extractPathCoordinates(pathData: st... |
6448369f81e4be4561eb49373e57113d03cb00f43ee9c565f7d9e3e5d51dc343 | TypeScript | 911 | 22 | /**
* 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... |
08b2149b2f2134159c46be7571d2bacb90b7a93516e3aaa1bf1745110b51f61a | TypeScript | 913 | 22 | /*
* 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 ... |
7fa030043da14b835e308417539e2c1b5fc5512699a10263393e5779ecf8d30d | TypeScript | 913 | 21 | /*
* 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 ... |
100e7931f86cb0352292c37e2caa3e6ad0cc18885b9d9d3b5dfb34a6e528c205 | TypeScript | 914 | 21 | /**
* 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... |
2a6451ca051cb0015f241d06018e167d20ce06dc3405a99e2e54f21960bef0f7 | TypeScript | 914 | 45 | import { useCallback, useEffect, useRef } from "react";
import { useHistory } from "react-router";
import { useFixedLocation } from "../providers/RoutesProvider";
export const useRefresh = () => {
const history = useHistory();
const { pathname } = useFixedLocation();
const refresh = useCallback(
(redirectPa... |
85f405d101a08e68388b2ddba571d495d785c58a210691494219ff4901bb01ec | TypeScript | 914 | 22 | /*
* 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 ... |
18d5cf7d4485ed7029d8b4014eedbe61f841f0a430a4b36f440ced53df6a1d3b | TypeScript | 915 | 20 | /**
* 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... |
436b354027b5553a2b906a36380e62effbb14819bfcaa10464766df9119a64e8 | TypeScript | 915 | 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... |
9fbcc5a73e710b71ccea591863e7037f53016069ef39ad179d68827871706a32 | TypeScript | 915 | 21 | /**
* @file Charged
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @author Fred Ludlow <Fred.Ludlow@astx.com>
*/
import Structure from '../../structure/structure';
import { Features } from './features';
import { Contacts } from './contact';
export declare function addPositiveCharges(structure: Structure, ... |
eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a | TypeScript | 915 | 21 | /*! *****************************************************************************
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.... |
5e3eb6dba064fe4fc98312b77bebee61ea08d5ca4f89679c1eaf6e3a8cd1ad4e | TypeScript | 917 | 22 | /*
* 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 ... |
2813560bd9f97658e41e9da0c6231d0baa67d6dc1f15279a76a60fad6b5e85d3 | TypeScript | 918 | 38 | /**
* @file Entityindex 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 enti... |
33e35a899d66049ad2a1dd60cbad6c4ab9d4ccf534b5c03441e6a47d34760676 | TypeScript | 918 | 21 | /*
* 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 ... |
6d203cd1c1747ee6d87c3e36a60136cd2c1dbe4760efc24556cd8f3f1ce5e476 | TypeScript | 920 | 27 | export function getQueryParams(): URLSearchParams {
return new URLSearchParams(window.location.search);
}
export function getInterfacesFromParams(params: URLSearchParams): string[] {
const interfacesParam = params.get("interfaces");
if (!interfacesParam) return ["side-column"];
return interfacesParam
.spli... |
8ebccd93f6d741843f8745a1ba8783e7750fd4c5ed41b12e67e264f06d567e0f | TypeScript | 921 | 34 | import {Graph, Node} from './types';
export class DfsSorter {
private graph: Graph;
private sorted: Node[] = [];
private discovered: Set<Node> = new Set<Node>(); // Fully visited
private visiting: Set<Node> = new Set<Node>(); // Currently in DFS call stack
constructor(g: Graph) {
this.grap... |
93e960c8f1684b1e98421d9a35e79e599c6e8fda6004c94ab078027f0128e997 | TypeScript | 921 | 22 | /*
* 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 ... |
56b6c7b5d3a6a1aaea0b171adcc20fb5369b0605e26cb5ec72c1fce17c2d5dd4 | TypeScript | 923 | 31 | /**
* Writer class for sdf/mol files.
*/
import Writer from './writer';
import Structure from '../structure/structure';
import AtomProxy from '../proxy/atom-proxy';
import BondProxy from '../proxy/bond-proxy';
declare class SdfWriter extends Writer {
readonly mimeType = "text/plain";
readonly defaultName = "s... |
20a39fdbbd5e27f1d5ff3789fbbd7a2fe6b153be9de4779f993db5c316dfd966 | TypeScript | 924 | 20 | /**
* 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... |
13eee464bb9427abcd976af556df4457123b71137c85ca1b5ed19ee29fc0f390 | TypeScript | 925 | 19 | /**
* 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... |
5705dadec9461cd58ce671fe96bb625f64d3af10cc9a13bfa3c162f4f6665a43 | TypeScript | 925 | 22 | /**
* 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... |
a6e9f76138f63229e66e61fc106870a187cc6640ac0b4f4d782a84bfd6de7575 | TypeScript | 925 | 20 | /*
* 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 ... |
74fc7a404593954699997298e65df034235bca0194f546c8f6b2e4246cf0455c | TypeScript | 926 | 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 ... |
3c58b9f493c903254204129a3ab6243ab9a72530bf9e40579b59b0535d3ae882 | TypeScript | 927 | 22 | /*
* 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 ... |
715c74c4ca8dd7f0f3bebed687dbbac7914a5017c1c711674576e3b8d4f0155c | TypeScript | 928 | 21 | /*
* 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.