sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
f80bfc201857bb800233f0b10187711c0273aedc3d76ee481683f077dc9f8591
TypeScript
1,237
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...
10464a420ffb925a79d93f5f78d7d8735c22d1f3f153cc54c23ebcd733bed5d9
TypeScript
1,239
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 ...
1ede074a237244d5718792b51d84e5562c6b7e4f592ad9ebf2d75ed3d0170d94
TypeScript
1,239
41
import { NgModule } from "@angular/core"; import { BrowserModule } from "@angular/platform-browser"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { ComponentsModule } from "../components/components.module"; import { CurrentLayout } from "./currentLayout/currentLayout.component"...
ad90a695a43a41ec685ea9f1aa2d06b71a0ee0cc0bdb7e4eaae7f8fdcc5d804d
TypeScript
1,239
63
/** * @file Stats * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import * as signalsWrapper from 'signals' export default class Stats { signals = { updated: new signalsWrapper.Signal() } maxDuration = -Infinity minDuration = Infinity avgDuration = 14 lastDuration = Infinity ...
bb92066fb8482c9c7feaf902ab01238f36ce951da3b9a93848fa87889c9aac87
TypeScript
1,239
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
fd2e435dcf04e28b8052f00c3873150e99117eab27e8c861edc94946d74c88e7
TypeScript
1,239
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...
45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4
TypeScript
1,241
28
/*! ***************************************************************************** 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....
8f7a1214dddae5d4986fb2d23b6c8e27d274a2f37698982c9f45a2906849887c
TypeScript
1,241
27
/** * @file Helixorient Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './structure-representation'; import VectorBuffer from '../buffer/vector-buffer'; import Viewer from '.....
07a75ed16e465e3328fe152e9b3139a33dc41ae2710edc3318724f08c59ae565
TypeScript
1,245
59
import { TemplateRef } from "@angular/core"; import { MatSnackBarConfig, MatBottomSheetConfig } from 'src/sharedModules/angularMaterial.exports' import { createAction, props } from "@ngrx/store"; import { nameSpace, PanelMode } from "./const" export const openSidePanel = createAction( `${nameSpace} openSidePanel` )...
e6e95e5f8587b571edc4a20867a24f6d63737f8327ddb55cf095511626fa5ab6
TypeScript
1,246
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 ...
fc77c35f935568719f65cc29d4b5693b7458b7ebe283df418dbadf333b514cad
TypeScript
1,246
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...
2377003d70eb0e56b49bfd6b7b957094a799862e2a9dc35b7f2024239c239bad
TypeScript
1,247
45
/** * @file Selection Constants * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ export declare enum kwd { PROTEIN = 1, NUCLEIC = 2, RNA = 3, DNA = 4, POLYMER = 5, WATER = 6, HELIX = 7, SHEET = 8, TURN = 9, BACKBONE = 10, SIDECHAIN = 11, ALL = 12, ...
a19e7fc864764543216e15f7fe6fc2c74332261d26e504d378b03532d7d4b199
TypeScript
1,247
46
export const ToolBar = { _controlsSelector: ".lsf-controls", get sectionOne() { return cy.get(".lsf-topbar").find(".lsf-topbar__group").eq(0); }, get sectionTwo() { // Production UI uses bottom bar for controls return cy.get(".lsf-bottombar"); }, get controls() { return this.sectionTwo.fi...
129312bfa66a4a8d1c0fef998df54835bddb5d97d79416d24f178f9d214e26d5
TypeScript
1,248
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...
3ed0c232ae871f206ed290d97fe7f7ea46758b7def9c92a88abdcc68160ef2b9
TypeScript
1,248
49
/** * @file Component Controls * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3, Quaternion } from 'three'; import * as signalsWrapper from 'signals'; import Component from '../component/component'; import Stage from '../stage/stage'; import Viewer from '../viewer/viewer'; /** ...
50abcf7d120b7c51d1672cced33bec0a83814d98562fcbd576e2bf599794c024
TypeScript
1,248
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...
71ccb566410138efc44d6e8df1147d4a9c42ced0c934df1e336d78c7b3c0c620
TypeScript
1,248
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...
fbecce0a37685c1faa1fedadca09ef27f85582651bb076c39bbc7e16ae20d05e
TypeScript
1,249
47
import Kdtree from '../../src/utils/kdtree' import { NumberArray } from '../../src/types' describe('utils/kdtree', function () { describe('Kdtree', function () { it('basic', function () { var points = [ 3, 0, 5, 9, 2, 1, 7, 6, 0, 1, 1, 1, 3, 5, 7 ] va...
5f3ca043d303cad847e23f1dc02bfd6d17d9394c2b9234759bcc55a65723fda5
TypeScript
1,253
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...
55a96f36ebbfa0b415e42a4fe86c96af56d637894e48d0302281b8c59077b33b
TypeScript
1,254
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...
dcc6a78ebea63af69ff674b5d5fd516b8fe978ec3888fa610528c22aed6ade31
TypeScript
1,255
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...
cbc7d3111c8a18752f5efc6ecb4ba5a9c5d4b91d4f1bc75c89b8bf89c2ad2f3e
TypeScript
1,257
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...
ba3491a3fe5869db9ab382ed9a3ec51c40c43f4f5f8a072f9167c11eabb9e30f
TypeScript
1,258
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...
2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279
TypeScript
1,259
29
/*! ***************************************************************************** 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....
9f55c5121564b820f3d3b2c382b003f68e492c73d51a5cfdbd93200066808965
TypeScript
1,259
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...
c070ee683ab3dc33ba4b9fa44f595a8637e33030bb8ee5860ee85f0a09f267c1
TypeScript
1,259
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9751efa7f4446c877b22cfe2219bfa323b16c53f849cd8aeeaff8872aad1671a
TypeScript
1,260
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...
c9d879e3c32700670f1e22c9fbbf83707edf20d7ce96c5317ef55248933b4a88
TypeScript
1,260
50
/** * @file Mesh Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import '../shader/Mesh.vert' import '../shader/Mesh.frag' import Buffer, { BufferParameters, BufferData } from './buffer' /** * Mesh buffer. Draws a triangle mesh. * * @example * var meshBuffer = new MeshBuffer({ * ...
b21bb020ecbf2cfcc7cf50647873bc36aa942f6be9253dca09ebe0b0b0a44697
TypeScript
1,261
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
085864b76b6c5b282e8de5df3f16f9e1cc7781c59f55643ee7e12f028cea48d8
TypeScript
1,263
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
034963dfbbeac0f66f6fde7ed4ba4220c8770babc65cf64cfb55d4719773f2fc
TypeScript
1,264
53
/** Match legacy json-edit-react search debounce. */ export const VIRTUALIZED_SEARCH_DEBOUNCE_MS = 350; /** Parent JSON path; mirrors react-json-virtualization `parentPath`. */ export function parentJsonPath(path: string): string | null { if (path === "$") { return null; } if (path.endsWith("]")) { cons...
0d18a0c62f7f94bd9effb1fe6044fa3bc8f07f18c92733c86c0bf56e417eb02f
TypeScript
1,264
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
4491861cb059a5acc7d06d8fc954d7343c96dcfc5dd062df372637708e521446
TypeScript
1,264
26
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
025545fa234a4d46e0963b1449fedf53b9de0b1ba2c9fb2ec7f425a904296e07
TypeScript
1,265
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 ...
076ebcada1606db0889f669ed5ec10a2c6ccc236be26971eee1626617bd26e8d
TypeScript
1,265
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...
0c4303845502c83325ce6809e7a06006cef391b1a9c4ba4e1eb700d186de5227
TypeScript
1,265
24
import {expect, test} from '../fixtures/test'; import {echoWorkflow} from '../fixtures/workflows'; test('lists submitted workflows, filters by name, and opens details', async ({api, page, workflowListPage}) => { // Seed two workflows and wait for terminal state so the list is not racing the controller. const [...
6b48f59732c83e6ca8ea7452cb6c8310b46b7fb204949d2773f399dc35ab763b
TypeScript
1,267
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...
b4ba41ad14d44bb75e9fdf4317c8af62aefbadb968c237633fb8bf25396f5c17
TypeScript
1,267
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...
74a40d4fd89bd5982b0753a4d7dbf3e6ad0a53d418a9ddfe44b174b203618b39
TypeScript
1,268
36
import { useEffect } from "react"; export const PAGE_TITLE_SEPARATOR = " | "; export const getBasePageTitle = () => { return ((window.APP_SETTINGS as Record<string, unknown>)?.page_title as string)?.split(PAGE_TITLE_SEPARATOR).at(-1); }; export const getPageTitle = (pageTitle?: string) => { const baseTitle = get...
1779c9c5ccb314c6f29c617ee487b91db846da7a4fb473fc19485d277c9386ff
TypeScript
1,269
41
/** * @file Atomindex Colormaker * @author Fred Ludlow <Fred.Ludlow@astx.com> * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3 } from 'three'; import Colormaker, { StuctureColormakerParams, ColormakerScale } from './colormaker'; import AtomProxy from '../proxy/atom-proxy'; impo...
5187d3f5eb2730582c0d30e58feb7912592c7f5fb95adbb221ecc2804f95c0e5
TypeScript
1,269
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 ...
7024f975f085302d93ace8ab8d5c694123defef1ffa30233295dbd5fdafe01d1
TypeScript
1,269
64
import { createReducer, on } from "@ngrx/store"; import { SxplrRegion, Feature, Point, VoiFeature } from "src/atlasComponents/sapi/sxplrTypes"; import * as actions from "./actions" export type UserInteraction = { mouseoverRegions: SxplrRegion[] selectedFeature: Feature mouseoverPosition: Point mousedOverVoiFea...
5fa4831c6fd1dbe3ebf3bae523815f511ec39e0090d74de17adf3b10402fa96a
TypeScript
1,270
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...
f6ee796784b8be49bef27964f8eaa8fcac1ef5d9ae04b326e7717c0bf3e9ad2d
TypeScript
1,270
28
import * as fs from 'fs'; import path, { basename } from 'path'; const PYTHON_API_PATH = 'api_reference/source/python_api/'; const files = fs.readdirSync(PYTHON_API_PATH, { withFileTypes: false }); const fileMap = {}; files.forEach((file) => { if (file.startsWith('mlflow') && file.endsWith('.rst')) { const file...
6fbb40a7cd26298bfaf329114dfa34cbbd36602729b7ac4c8df7cf838fffcee0
TypeScript
1,271
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...
97a282aa98243eba0e57776450d01f7ddbd3d8bd328aff22c3d0a969af8c0760
TypeScript
1,272
53
import { Directive, ElementRef, Input, OnChanges, OnDestroy } from "@angular/core"; const VALID_EVENTNAMES = new Set([ 'mousedown', 'mouseup', 'click', 'mouseenter', 'mouseleave', 'touchstart', 'touchmove', 'touchend', ]) const stopPropagation = (ev: Event) => ev.stopPropagation() @Directive({ sele...
8e0bda6dda845b8a1487fe9762d9ddd1314b7a24240a2ea58bec04c4259a3f85
TypeScript
1,273
35
/** * Tunable defaults for the WAL exporter and uploader daemon. */ import { readNonNegativeInt, readPositiveInt } from '../../core/utils/env'; /** * Wall-clock budget for retrying a single record before the daemon moves it * to the dead-letter file (`failed.log`), in milliseconds. */ export const RETRY_TIMEOUT_...
ff0779e5634f1ca2cfe88581a02ff74d0cfd3576412d1baab8d6ed27a1fafa01
TypeScript
1,273
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...
08aca96e0b59c87fa2a394c18cc317b63544ddd9b2f3d68c3a571e577fc5ac68
TypeScript
1,275
43
import { ComputeWorker } from "../Common/Worker"; export function splitChannels({ value, channelCount }: { value: Float32Array; channelCount: number }): Float32Array[] { const channels: Float32Array[] = []; // Create new Float32Array for each channel for (let c = 0; c < channelCount; c++) { channels[c] = ne...
6f2cfbad2fe70da51d4d6cc1a9600ee836e00d24c5c28d6bac27e1d316ecfb47
TypeScript
1,276
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...
0ea649896bb4e722dae36d85fbc2979cb94b81ca5b6e30b82896011479684151
TypeScript
1,277
55
import { Directive } from "@angular/core"; import { BreakpointObserver } from "@angular/cdk/layout"; import { Observable } from "rxjs"; import { map } from "rxjs/operators"; const mediaBreakPoints = [ '(min-width: 576px)', '(min-width: 768px)', '(min-width: 992px)', '(min-width: 1200px)', // xxl, by popular...
1b55a2c70fd24c65a7f3efefa272370272d1551b5b41ed27d08c16d71fe33caf
TypeScript
1,277
19
import {escapeInvalidMarkdown} from '../../workflows/utils'; describe('escapeInvalidMarkdown', () => { it('escapes markdown', () => { expect(escapeInvalidMarkdown('**bold**')).toBe('**bold**'); expect(escapeInvalidMarkdown('_italic_')).toBe('_italic_'); expect(escapeInvalidMarkdown('~strike...
39e0079847932b9be520713feaa5ab810ccc7320c5d9300b867e478588d43abb
TypeScript
1,277
41
/* 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...
6070b3e6858b6cd0fcdf14d73b034c1f33acdea80d3d323ad32f44dd95afc281
TypeScript
1,277
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...
ce19d27da31f5153f3107fb9772e76594abee51bde4fdc5553bbf8490c383665
TypeScript
1,277
45
type LogEventFn = (eventName: string, metadata?: Record<string, unknown>) => void; declare global { interface Window { __lsa: LogEventFn; } const __lsa: LogEventFn; } const logEvent: LogEventFn = (eventName, metadata = {}) => { // Don't send if collect_analytics is falsey if (!(window as any).APP_SETTING...
d91f78032452f760cab2c1ef8f376be33cc6f3de4e10c36c7deaeb64ba789ef7
TypeScript
1,278
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...
3d14137903b005230feafb05519305b953fb69efdf29fef763e46ed1d99d6ee3
TypeScript
1,281
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
6be427e5864c52380460c4d4674f4e43422cbcfb51b79943f1d3b54a4e5033c8
TypeScript
1,281
54
/** * @file Label Factory * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import AtomProxy from '../proxy/atom-proxy'; export declare const LabelFactoryTypes: { '': string; atomname: string; atomindex: string; occupancy: string; bfactor: string; serial: string; eleme...
2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0
TypeScript
1,282
29
/*! ***************************************************************************** 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....
85fd7da4765ec53e877101c705c0d6c17799f75b325087ba36c146cb5fb484d5
TypeScript
1,282
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
5bfc12c347e0a81de2feb3f8a1de76eafb280292034b4e4c24d48ad14c190ea7
TypeScript
1,283
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...
7940733386454e5b4036b5b523a90ea72ee36ec2d766f26283f0a921d7aa2ceb
TypeScript
1,283
33
import {defineConfig, devices} from '@playwright/test'; import {BASE_URL, ENV_FACTOR} from './e2e/fixtures/auth'; import {STORAGE_STATE} from './e2e/paths'; // E2E browser tests for the Argo Workflows UI. These run against a live stack // started with `make start` (see docs/running-locally.md), not as part of // `yar...
91c2ac90ac47254b7fea687e7f38c7bd0bf52752bb3d00219f08fe5d31d297b1
TypeScript
1,285
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...
e2d23091a7add5e51c60b1fc79160acfadd49b0fcb358bf761740a71df536b43
TypeScript
1,286
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 ...
87c73d3599ad42ec97ee735fad413ea3459b00105cc426988ff2e65abcf659c6
TypeScript
1,287
42
/** * @file Streamer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ export interface StreamerParams { compressed?: string | false; binary?: boolean; json?: boolean; xml?: boolean; } declare abstract class Streamer { src: any; data: any; compressed: string | false; ...
982a92fbd241072fd6f81b9e1a250132e0e548d0d589d864a1d8e0e8aba65f4b
TypeScript
1,287
39
/** * @file Entity * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from './structure'; import ChainProxy from '../proxy/chain-proxy'; export declare const EntityTypeString: { polymer: number; 'non-polymer': number; macrolide: number; water: number; }; export dec...
ac2e83834e40c3b3bcb49d5fe51d6ab7f71d029b8793600f10b8336876bde248
TypeScript
1,288
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 ...
d2b98cc2e688e56d6b09536696f2ba7ed9ca31d553c392d2506f86ed3f98f7d5
TypeScript
1,289
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
32657305bee598ee6c862e0cebce37d8d5591831abf8d8f92ca0459ac893711f
TypeScript
1,290
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...
afe0431e5c61330b3a45336b969249fb0a45e2a7f16b0fbb5ad8f4e4666b23f3
TypeScript
1,290
35
/** * Queue debug lines for label/review streams. * Visible in the browser devtools console when advancing tasks in stream mode. */ export function logLabelStreamDebug(params: { queue?: string | null; taskId: number | string; projectId?: number | string | null; userId?: number | string | null; annotationI...
5113ea8b1c2d386263a2d3e7345838a4913997f2298a5ff59cf1a9ebb2654dfb
TypeScript
1,292
50
import { ArtifactsClient } from './base'; import { DatabricksArtifactsClient } from './databricks'; import { MlflowArtifactsClient } from './mlflow'; import { AuthProvider } from '../../auth'; /** * Options for creating an ArtifactsClient. */ export interface ArtifactsClientOptions { /** * The tracking URI (e.g...
564237025bf0c85193a3f32761a04649044de1b4d53503d0309c9cc58ef354db
TypeScript
1,292
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...
582147281d64351319991cb3f6f045f95407cc92ac323257d6bae99229698657
TypeScript
1,292
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 ...
8feebc46db64af2df43894de6a3c19c683cbfb0c48f19b22cf806b1e78f47699
TypeScript
1,292
27
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9985b77abe28791d4c3dad69fbec2474996bc5afee5a2c87597164c98bd3ca87
TypeScript
1,294
51
import { Overlay, OverlayRef } from "@angular/cdk/overlay"; import { ComponentPortal, Portal } from "@angular/cdk/portal"; import { Injectable, InjectionToken, Injector } from "@angular/core"; import { SxplrOverlay } from "./overlay.component"; export type SxplrOverlayCfg = { message: string useMarkdown?: boolean ...
d78144a74fc776591c02fdc8cf7e3e2568b3feccf82f6e1fdc37faef8e46da65
TypeScript
1,295
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
18982a897305baa1bfb1dd8057e7d19143048d039968122cfbd42d63ac0d7134
TypeScript
1,298
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...
64b80c27f49652b69f7f0802abed3162faf3907d479099e398ce76cca2454687
TypeScript
1,298
56
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, HostListener, Input, OnChanges, Output } from "@angular/core"; @Component({ selector: 'tile-cmp', templateUrl: './tile.template.html', styleUrls: [ './tile.style.css' ], exportAs: 'tileCmp', changeDetection: ChangeDetectionStrategy...
a745c44e34df368f349e62f6d5fc77e8acb3cedd2c3806765052f686f89edf30
TypeScript
1,299
40
/** * @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'; export interface LineBufferData extends BufferData { position1: Float32Array; position2: F...
29efb31ba96d9f39cc6fe49a67c1bde3597d2936cbf19870e1c487fbc15bb221
TypeScript
1,300
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...
946e5bf81da61a4efe7535b19446b80eadcbc67a56cba5f876c547f72ce87408
TypeScript
1,300
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...
8bf8c88d6f290f39b8e098089a09c2f1859fa98e4dc72d593ff5c05d8c165fdf
TypeScript
1,301
49
import { CdkTableDataSourceInput } from '@angular/cdk/table'; import { Pipe, PipeTransform } from '@angular/core'; import { MatSort, MatTableDataSource } from 'src/sharedModules/angularMaterial.exports' import { components } from "src/atlasComponents/sapi/schemaV3" type DF = components["schemas"]["DataFrameModel"] fun...
9cb20d24c93ce941645520d90ef4f4dcdae00c47994234b025da30a812bcf7f9
TypeScript
1,301
31
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
bc0a743a715584a55059118145e92c632065962c61abc98f95ddd8320e0a9346
TypeScript
1,302
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 ...
fc9df146db52c16b1b4a72ebcb952260a8df148a9f123888c708bd94d1d43a3f
TypeScript
1,302
28
import { describe, expect, it } from "bun:test"; import { parseLocationSearch } from "./parseLocationSearch"; describe("parseLocationSearch", () => { it("returns an empty object for a missing or empty search string", () => { expect(parseLocationSearch(undefined)).toEqual({}); expect(parseLocationSearch(""))....
b003cc40f2dead7771d105dede8e0c8cf0c023d467bb335cee363e2bb1892e08
TypeScript
1,303
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...
e0e7bbbb5984f1daf2c1175e0a974296bd93c54307c512d1cdce6f50ae079801
TypeScript
1,304
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 ...
184f2117917460149eb92bd4ffcfe11603b689c5dc60518ff35747bdb14039b9
TypeScript
1,305
42
type TransitionOptions = { init?: (element: HTMLElement) => void; transition: (element: HTMLElement) => void; onStart?: (element: HTMLElement) => void; beforeTransition?: (element: HTMLElement) => Promise<void> | void; afterTransition?: (element: HTMLElement) => Promise<void> | void; }; /** * Performs a tra...
6d154f704e6b5cda0af9185e8fba333b4d4563f4d50803eae826d77b39e08fde
TypeScript
1,305
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...
c920e86802f170c3c8b82151c2c9afdc2af45624b9f8c4cef1d6ce6b9f1826e0
TypeScript
1,305
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 ...
3774c47f1f7a95405bf04c108baca225a4d8612b361f48c27f05479a5b87ea13
TypeScript
1,306
71
type LabelStudio = any; export class LSFHistory { history: Array<{ taskID: number; annotationID: number }> = []; lsf: LabelStudio = null; current = -1; callback?: () => void; constructor(lsf: LabelStudio) { this.lsf = lsf; } add(taskID: number, annotationID: number) { this.history.push({ tas...
aa333f1c727c8b6e122e7b10885cfb771de24c6acec5a01420d554745368c25b
TypeScript
1,306
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...
dbda13bd2bf1aac93899b45de2792ba3b1f09488c44d792da4a5f724d3183405
TypeScript
1,306
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...
f3e4b03b7ad5dd1015914d490c2f72adb46e0618d7f27638862eaa5de7998f87
TypeScript
1,307
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...
b7f1fac2e9086ef3a58be88d14602a5bdf564fe36322856ac42fba6bdc56def3
TypeScript
1,308
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...
50565848766e843bf41d3e18df3cf3c074f04db712ffeef58c0ab80e25774b5b
TypeScript
1,309
50
export interface TaxonomyOption { value: string; label: string; parentCode?: string | null; } export interface TaxonomySelection { code: string; label?: string; level?: string; status?: string; accent?: { code: string; label?: string; }; } export interface TaxonomyLevelOption { value: stri...
4187a8037cbb6cbf30bb855dfc02597c6d3d603e955dc790328baf4fa348e6ab
TypeScript
1,311
44
import { TViewerEvtCtxData } from './../viewer.interface'; import { Pipe, PipeTransform } from "@angular/core"; type Point = [number, number, number] type BBox = [Point, Point] const MAGIC_RADIUS = 256 @Pipe({ name: "nehubaVCtxToBbox", pure: true }) export class NehubaVCtxToBbox implements PipeTransform{ publ...
a1b4106c993603c4d198ba9aaf37e1d8ffc0c9cba99468b9b5d1ff8f6b995c61
TypeScript
1,311
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...
a38286041af1168fcd4ab4e443ad3d345606e10680d174045ac2b70c87b27896
TypeScript
1,312
31
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
00a19999bc093d257c3222eeec1ef6e3b43bceb3979b93c8992af4e9012f164f
TypeScript
1,313
42
/** * @file Licorice Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { RepresentationRegistry } from '../globals' import BallAndStickRepresentation, { BallAndStickRepresentationParameters } from './ballandstick-representation' import { Structure } from '../ngl'; import Vi...