text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
import React, { useState } from 'react';
import SVGInline from 'react-svg-inline';
import classnames from 'classnames';
import { defineMessages, intlShape, injectIntl } from 'react-intl';
import CopyToClipboard from 'react-copy-to-clipboard';
import { observer } from 'mobx-react';
import styles from './AssetCont... | /content/code_sandbox/source/renderer/app/components/assets/AssetContent.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 1,514 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="path_to_url">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGro... | /content/code_sandbox/ReClass.NET/ReClass.NET.csproj | xml | 2016-10-10T12:38:27 | 2024-08-14T16:18:42 | ReClass.NET | ReClassNET/ReClass.NET | 1,788 | 11,613 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="co... | /content/code_sandbox/demo/src/main/res/layout/activity_main.xml | xml | 2016-06-30T01:41:30 | 2024-08-05T13:17:58 | SlantedTextView | HeZaiJin/SlantedTextView | 2,269 | 291 |
```xml
import * as React from 'react';
import { getClassNames } from './ActivityItem.classNames';
import { getStyles } from './ActivityItem.styles';
import { PersonaSize, PersonaCoin } from '../../Persona';
import type { IActivityItemProps } from './ActivityItem.types';
import type { IActivityItemClassNames } from './A... | /content/code_sandbox/packages/react/src/components/ActivityItem/ActivityItem.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,116 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="DebugStatic|Win32">
<Configuration>DebugStatic</Configuration>
<Platform>Win32</Platform>
</ProjectConfigur... | /content/code_sandbox/projects/vs2013/tutorial_8.vcxproj | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 3,557 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/Project 06 - FindMyLocation/Where/Info.plist | xml | 2016-02-13T14:02:12 | 2024-08-16T09:41:59 | 30DaysofSwift | allenwong/30DaysofSwift | 11,506 | 453 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/ext_windbg/sync/sync/sync.vcxproj | xml | 2016-01-10T17:36:12 | 2024-08-16T15:51:07 | ret-sync | bootleg/ret-sync | 1,960 | 4,067 |
```xml
import * as React from 'react';
import { useState } from 'react';
import { QueryClient, useIsMutating } from '@tanstack/react-query';
import { CoreAdminContext } from '../core';
import { useDelete } from './useDelete';
import { useGetList } from './useGetList';
export default { title: 'ra-core/dataProvider/use... | /content/code_sandbox/packages/ra-core/src/dataProvider/useDelete.optimistic.stories.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 991 |
```xml
import {Configuration} from "@tsed/di";
import "@tsed/platform-express";
import "@tsed/swagger"; // import swagger Ts.ED module
@Configuration({
swagger: [
{
path: "/api-docs-v1",
doc: "api-v1"
},
{
path: "/api-docs-v2",
doc: "api-v2"
}
]
})
export class Server {}
``... | /content/code_sandbox/docs/tutorials/snippets/swagger/multi-spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 91 |
```xml
import { useMemo } from 'react';
import {
TapGesture,
PanGesture,
PinchGesture,
RotationGesture,
FlingGesture,
LongPressGesture,
ForceTouchGesture,
NativeGesture,
ManualGesture,
HoverGesture,
GestureStateChangeEvent,
State,
} from 'react-native-gesture-handler';
export const WAVE_DELAY_M... | /content/code_sandbox/docs/src/examples/GestureStateFlowExample/ChartManager.ts | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 1,579 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout
pattern="%d{HH:mm:ss.SSS} [%X{actor-name}] [%t] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="io.camund... | /content/code_sandbox/zeebe/broker/src/test/resources/log4j2-test.xml | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 168 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -... | /content/code_sandbox/S12.03-Exercise-TouchSelectors/app/src/main/res/layout/list_item_forecast_today.xml | xml | 2016-11-02T04:42:26 | 2024-08-12T19:38:06 | ud851-Sunshine | udacity/ud851-Sunshine | 1,999 | 1,883 |
```xml
import {css, html, LitElement, TemplateResult, unsafeCSS} from "lit";
import {customElement, property, query} from "lit/decorators.js";
import manager, {
DefaultBoxShadow,
DefaultColor1,
DefaultColor2,
DefaultColor3,
DefaultColor4,
DefaultColor5,
DefaultColor6,
Util
} from "@openr... | /content/code_sandbox/ui/component/or-rules/src/index.ts | xml | 2016-02-03T11:14:02 | 2024-08-16T12:45:50 | openremote | openremote/openremote | 1,184 | 7,340 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Evaluates the quantile function for a Lvy distribution.
*
* ## Notes
*
* - If ... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/levy/quantile/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 857 |
```xml
export interface ILink {
linkIcon:string;
linkName:string;
linkURL: string;
}
``` | /content/code_sandbox/samples/react-custom-links/src/entities/ILink.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 23 |
```xml
import { Localized } from "@fluent/react/compat";
import React, { FunctionComponent, Suspense } from "react";
import { Field } from "react-final-form";
import { graphql } from "react-relay";
import { MarkdownEditor } from "coral-framework/components/loadables";
import { parseEmptyAsNull } from "coral-framework/... | /content/code_sandbox/client/src/core/client/admin/routes/Configure/sections/General/ClosedStreamMessageConfig.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 379 |
```xml
import { SecureNoteType, CipherType } from "@bitwarden/common/vault/enums";
import { CardView } from "@bitwarden/common/vault/models/view/card.view";
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
import { IdentityView } from "@bitwarden/common/vault/models/view/identity.view";
imp... | /content/code_sandbox/libs/importer/src/importers/dashlane/dashlane-csv-importer.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 1,920 |
```xml
import type { Instance as Color } from 'tinycolor2';
import tinycolor from 'tinycolor2';
import isBetween from '@proton/utils/isBetween';
import shade from './shade';
import tint from './tint';
function genMutation(color: Color) {
return function (mutation: number) {
const clone = color.clone();
... | /content/code_sandbox/packages/colors/gen-button-shades.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 478 |
```xml
export const checkboxIndicatorIndeterminateUrl = (color: string, backgroundColor: string) =>
`url("data:image/svg+xml, %3Csvg xmlns='path_to_url role='presentation' style='background-color: ${escape(
backgroundColor,
)}; padding: 2px;' focusable='false' viewBox='8 8 22.5 22.5'%3E%3Cg%3E%3Cpath fill='${es... | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Checkbox/checkboxIndeterminateIndicatorUrl.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 352 |
```xml
import * as React from 'react';
import { render, fireEvent } from '@testing-library/react';
import { isConformant } from '../../testing/isConformant';
import { ColorSwatch } from './ColorSwatch';
import { colorSwatchClassNames } from './useColorSwatchStyles.styles';
import { SwatchPickerProvider, swatchPickerCon... | /content/code_sandbox/packages/react-components/react-swatch-picker/library/src/components/ColorSwatch/ColorSwatch.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 602 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.lamport.tla.toolbox.feature.standalone"
label="TLA+ Toolbox Standalone Feature"
version="1.0.0.qualifier"
provider-name="Simon Zambrovski, Leslie Lamport"
plugin="org.lamport.tla.toolbox.product.standalone">
<description>
... | /content/code_sandbox/toolbox/org.lamport.tla.toolbox.feature.standalone/feature.xml | xml | 2016-02-02T08:48:27 | 2024-08-16T16:50:00 | tlaplus | tlaplus/tlaplus | 2,271 | 2,277 |
```xml
import chalk from 'chalk';
import type Client from '../../util/client';
import { getCommandName } from '../../util/pkg-name';
import getProjectByDeployment from '../../util/projects/get-project-by-deployment';
import ms from 'ms';
import rollbackStatus from './status';
/**
* Requests a rollback and waits for i... | /content/code_sandbox/packages/cli/src/commands/rollback/request-rollback.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 361 |
```xml
const pollMutations = `
forumCpPollVote(_id: ID!): Boolean
forumCpPollUnvote(_id: ID!): Boolean
`;
export default pollMutations;
``` | /content/code_sandbox/packages/plugin-forum-api/src/graphql/typeDefs/Mutation/pollMutations.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 41 |
```xml
import Editor from '@draft-js-plugins/editor';
import createEmojiPlugin from '@draft-js-plugins/emoji';
import createHashtagPlugin from '@draft-js-plugins/hashtag';
import createLinkifyPlugin from '@draft-js-plugins/linkify';
import createMentionPlugin, {
defaultSuggestionsFilter,
} from '@draft-js-plugins/men... | /content/code_sandbox/stories/kitchensink/src/KitchenSink.tsx | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 675 |
```xml
import { compareVersions } from 'compare-versions'
import { BrowserWindow, dialog, shell } from 'electron'
import electronLog from 'electron-log'
import { autoUpdater } from 'electron-updater'
import { action, computed, makeObservable, observable } from 'mobx'
import { MessageType } from '../../../test/TestIpcMe... | /content/code_sandbox/packages/desktop/app/javascripts/Main/UpdateManager.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 1,439 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ All Rights Reserved.
-->
<ScrollView
xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout... | /content/code_sandbox/sample/src/main/res/layout/main_activity.xml | xml | 2016-10-22T01:32:12 | 2024-08-14T01:26:08 | MaterialRatingBar | zhanghai/MaterialRatingBar | 1,960 | 1,462 |
```xml
'use strict';
import { inject, injectable } from 'inversify';
import { IPersistentStateFactory } from '../../common/types';
import { IServiceContainer } from '../../ioc/types';
import { DiagnosticScope, IDiagnosticFilterService } from './types';
export enum FilterKeys {
GlobalDiagnosticFilter = 'GLOBAL_DI... | /content/code_sandbox/src/client/application/diagnostics/filter.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 322 |
```xml
export * from './CenteredGrid'
export * from './generateStories'
export * from './Application'
export * from './gridOn'
``` | /content/code_sandbox/packages/vuetify/cypress/templates/index.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 29 |
```xml
import { ReactTestInstance } from "react-test-renderer";
export interface ReactTestRendererJSON {
type: string;
props: { [propName: string]: any };
children: null | ReactTestRendererNode[];
$$typeof?: symbol; // Optional because we add it with defineProperty().
}
export type ReactTestRendererNode = Reac... | /content/code_sandbox/client/src/core/client/framework/testHelpers/toJSON.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 367 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/opengauss/select_opengauss_pg_catalog_pg_ts_template.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 119 |
```xml
import * as React from "react"
export function useMediaQuery(query: string) {
const [value, setValue] = React.useState(false)
React.useEffect(() => {
function onChange(event: MediaQueryListEvent) {
setValue(event.matches)
}
const result = matchMedia(query)
result.addEventListener("ch... | /content/code_sandbox/pos/lib/useMediaQuery.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 97 |
```xml
import { CommonModule, NgOptimizedImage, isPlatformBrowser } from '@angular/common';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, Input, NgModule, NgZone, PLATFORM_ID, ViewEncapsulation } from '@angular/core';
import { SharedModule } from 'primeng/api';
import { TemplateFea... | /content/code_sandbox/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimation.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 972 |
```xml
export enum RecordCategory {
folder = 10,
record = 20,
}
``` | /content/code_sandbox/client/src/common/enum/record_category.ts | xml | 2016-09-26T02:47:43 | 2024-07-24T09:32:20 | Hitchhiker | brookshi/Hitchhiker | 2,193 | 19 |
```xml
import React from 'react';
import { usePropsResolution } from '../../../hooks/useThemeProps';
import { Pressable } from '../Pressable';
import Box from '../Box';
import { SliderContext } from './Context';
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
import type { ISliderTrackProp... | /content/code_sandbox/src/components/primitives/Slider/SliderTrack.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 284 |
```xml
import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import CalendarRoutes from './routes';
const Routes = () => (
<Router>
<CalendarRoutes />
</Router>
);
export default Routes;
``` | /content/code_sandbox/packages/plugin-calendar-ui/src/generalRoutes.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 50 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M20.... | /content/code_sandbox/packages/core/src/icon/shapes/compass.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 629 |
```xml
import { getUnixTime } from 'date-fns';
import { queryEvents } from '@proton/shared/lib/api/calendars';
import { booleanToNumber } from '@proton/shared/lib/helpers/boolean';
import type { Api } from '@proton/shared/lib/interfaces';
import type { CalendarEvent, CalendarEventWithoutBlob } from '@proton/shared/lib... | /content/code_sandbox/applications/calendar/src/app/containers/calendar/eventStore/getPaginatedEvents.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 624 |
```xml
<?xml version="1.0" ?>
<!--Internal rules for simplewall-->
<!--Minimum required version is 3.8-->
<root timestamp="1717635779" type="4" version="5">
<rules_system>
<item name="Cryptographic service" apps="CryptSvc" is_enabled="true" />
<item name="DHCP" rule="67-68;546-547" rule_local="67-68;546-547" dir="... | /content/code_sandbox/bin/profile_internal.xml | xml | 2016-08-18T17:10:56 | 2024-08-16T19:58:24 | simplewall | henrypp/simplewall | 5,923 | 41,638 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import AccessorArray = require( '@stdlib/array/base/accessor' );
import Complex128Array = require( '@stdlib/array/... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/accessor-setter/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 2,116 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
... | /content/code_sandbox/application/src/main/data/lwm2m-registry/3414.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,128 |
```xml
import { ApiKey } from "@server/models";
import {
buildUser,
buildApiKey,
buildAdmin,
buildWebhookSubscription,
buildViewer,
} from "@server/test/factories";
import CleanupDemotedUserTask from "./CleanupDemotedUserTask";
describe("CleanupDemotedUserTask", () => {
it("should delete api keys for suspe... | /content/code_sandbox/server/queues/tasks/CleanupDemotedUserTask.test.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 635 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<remix.myplayer.ui.widget.AutoFitSquareFrameLayout
android:id="@+id/cover_container"
android:layout_width="match_parent"
android:layout... | /content/code_sandbox/app/src/main/res/layout/fragment_record.xml | xml | 2016-01-14T13:38:47 | 2024-08-16T13:03:46 | APlayer | rRemix/APlayer | 1,308 | 398 |
```xml
import { StyleProp, TextStyle } from 'react-native';
import type { Message } from '../Data/parseLogBoxLog';
type Props = {
message: Message;
style: StyleProp<TextStyle>;
plaintext?: boolean;
maxLength?: number;
};
export declare function LogBoxMessage(props: Props): JSX.Element;
export {};
//# so... | /content/code_sandbox/packages/@expo/metro-runtime/build/error-overlay/UI/LogBoxMessage.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 79 |
```xml
import { graphql, GraphQLSchema, OperationTypeNode } from 'graphql';
import { delegateToSchema } from '@graphql-tools/delegate';
import { addMocksToSchema } from '@graphql-tools/mock';
import { makeExecutableSchema } from '@graphql-tools/schema';
import { stitchSchemas } from '@graphql-tools/stitch';
import { as... | /content/code_sandbox/packages/stitch/tests/example.test.ts | xml | 2016-03-22T00:14:38 | 2024-08-16T02:02:06 | graphql-tools | ardatan/graphql-tools | 5,331 | 1,524 |
```xml
export * from './ColorPicker';
export * from './ColorPicker.base';
export * from './ColorPicker.types';
export * from './ColorRectangle/ColorRectangle.types';
export * from './ColorSlider/ColorSlider.types';
``` | /content/code_sandbox/packages/react/src/components/ColorPicker/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 46 |
```xml
import { NodePath } from '@babel/core';
import * as t from '@babel/types';
import { NodeStyleMap, PluginState, StaticStyle, StyleState } from '../types';
import { COMPONENTS, STYLES } from '../utils/Symbols';
import buildTaggedTemplate from '../utils/buildTaggedTemplate';
import createStyleNode from '../utils/c... | /content/code_sandbox/src/features/stylesheet.ts | xml | 2016-10-18T15:09:36 | 2024-08-13T04:00:36 | astroturf | astroturfcss/astroturf | 2,274 | 633 |
```xml
import { getContactImageSource } from '../../lib/helpers/contacts';
const uid = 'uid';
const originalURL = 'path_to_url
const windowOrigin = 'path_to_url
describe('getContactImageSource', () => {
it('should return the original url of the image', () => {
const result = getContactImageSource({
... | /content/code_sandbox/packages/shared/test/helpers/contacts.spec.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 304 |
```xml
import { Localized } from "@fluent/react/compat";
import { useRouter } from "found";
import React, { FunctionComponent, RefObject, useCallback } from "react";
import { graphql } from "react-relay";
import { getModerationLink } from "coral-framework/helpers";
import { withFragmentContainer } from "coral-framewor... | /content/code_sandbox/client/src/core/client/admin/components/ConversationModal/ConversationModalHeaderContainer.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 446 |
```xml
import { stringToUtf8Array } from '@proton/crypto/lib/utils'
import type { DocumentKeys, NodeMeta } from '@proton/drive-store'
import type { ServerMessageWithDocumentUpdates, ServerMessageWithEvents } from '@proton/docs-proto'
import { EventTypeEnum } from '@proton/docs-proto'
import type { LoggerInterface } fro... | /content/code_sandbox/packages/docs-core/lib/Services/Websockets/WebsocketService.spec.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 3,288 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<data>
<messages>
<ccp_dialog_title translation=" " />
<ccp_dialog_search_hint_message translation=" ..." />
<ccp_dialog_no_result_ack_message translation=' !' />
</messages>
<countries>
<country
name=""
... | /content/code_sandbox/ccp/src/main/res/raw/ccp_farsi.xml | xml | 2016-01-20T10:28:34 | 2024-08-13T16:24:01 | CountryCodePickerProject | hbb20/CountryCodePickerProject | 1,506 | 6,908 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Serilog" Version... | /content/code_sandbox/src-console/Demo.Host/Demo.Host.csproj | xml | 2016-04-08T16:41:51 | 2024-08-16T05:55:59 | System.Linq.Dynamic.Core | zzzprojects/System.Linq.Dynamic.Core | 1,537 | 186 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\configureawait.props" />
<Import Project="..\..\..\common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
... | /content/code_sandbox/framework/src/Volo.Abp.Specifications/Volo.Abp.Specifications.csproj | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 224 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<IsPackable>false</IsPackable>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="FunctionTest.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="A... | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2017/EmptyServerless-FSharp/template/test/BlueprintBaseName.1.Tests/BlueprintBaseName.1.Tests.fsproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 243 |
```xml
import { omit } from 'lodash'
import { AddTrackAction, AddTrackPayload, RemoveTrackAction, RemoveTrackPayload } from '../actions/StreamActions'
import { STREAM_TRACK_ADD, STREAM_TRACK_REMOVE } from '../constants'
// receivers are indexed by streamId_trackId
export type ReceiversState = Record<string, RTCRtpRece... | /content/code_sandbox/src/client/reducers/receivers.ts | xml | 2016-03-31T22:41:02 | 2024-08-12T19:22:09 | peer-calls | peer-calls/peer-calls | 1,365 | 386 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/components/TextInput/TextInput.styles.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 698 |
```xml
<vector xmlns:android="path_to_url"
android:width="128dp"
android:height="128dp"
android:viewportWidth="34"
android:viewportHeight="34">
<path
android:pathData="m33.87,16.93c0,9.35 -7.58,16.93 -16.93,16.93 -9.35,0 -16.93,-7.58 -16.93,-16.93 0,-9.35 7.58,-16.93 16.93,-1... | /content/code_sandbox/app/src/main/res/drawable/ic_quest_wheelchair_shop.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 925 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="AppTheme.Base" />
<style name="DayView">
<item name="android:gravity">center</item>
<item name="android:textSize">@dimen/day_text_size</item>
<item name="android:fontFamily">sans-serif-light</item>... | /content/code_sandbox/app/src/main/res/values/styles.xml | xml | 2016-01-26T21:02:54 | 2024-08-15T00:35:32 | Simple-Calendar | SimpleMobileTools/Simple-Calendar | 3,512 | 362 |
```xml
import { useCallback, useMemo, useState, useRef, useEffect } from 'react';
import lodashDebounce from 'lodash/debounce';
import { SortPayload, FilterPayload } from '../../types';
import removeEmpty from '../../util/removeEmpty';
import {
queryReducer,
HIDE_FILTER,
SET_FILTER,
SET_PAGE,
SET_P... | /content/code_sandbox/packages/ra-core/src/controller/input/useReferenceParams.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 1,911 |
```xml
import { Coordinate, Transformation } from '@antv/coord';
import EventEmitter from '@antv/event-emitter';
import {
DisplayObject,
IAnimation as GAnimation,
IDocument,
Canvas,
} from '@antv/g';
import {
G2Theme,
G2ViewInstance,
GuideComponentOrientation,
GuideComponentPosition,
IndexedValue,
V... | /content/code_sandbox/src/runtime/types/component.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 1,368 |
```xml
import * as echarts from 'echarts';
import type { Chart } from '../types';
export const echartsCanvas: Chart = (data, { start, end }) => {
start();
const node = document.createElement('div');
const myChart = echarts.init(node, undefined, { width: 640, height: 480 });
myChart.setOption({
xAxis: {
... | /content/code_sandbox/scripts/bench/tests/chart/interval-alphabet/echarts-canvas.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 162 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/postgresql/select_postgresql_pg_catalog_pg_cast.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 139 |
```xml
export const assetCategoryParamsDef = `
$name: String!,
$code: String!,
$parentId: String,
$description: String,
$attachment: AttachmentInput,
$status: String,
`;
export const assetCategoryParams = `
name: $name,
code: $code,
parentId: $parentId,
description: $description,
attachment: $att... | /content/code_sandbox/packages/plugin-assets-ui/src/common/graphql/assetCategory.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 91 |
```xml
import { CompletionContext } from "@codemirror/autocomplete";
import { syntaxTree } from "@codemirror/language";
import { SyntaxNode } from "@lezer/common";
import { useCallback } from "react";
import { DomainCache, SubstanceCache } from "../../../editing/types";
export const substanceKws = ["Let", "AutoLabel",... | /content/code_sandbox/packages/components/src/editing/hooks/substance/substanceAutocomplete.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 1,168 |
```xml
<testsuites>
<testsuite errors="0" failures="3" skipped="1" tests="7" time="0.030" name="pkg/testing">
<testcase classname="testing" name="TestFail" time="0.000">
<failure message="Failed" type="">=== RUN TestFail
--- FAIL: TestFail (0.00s)
 test_test.go:23: Not working
</failure>
</test... | /content/code_sandbox/go/tools/bzltestutil/testdata/report.xml | xml | 2016-03-15T15:15:14 | 2024-08-16T09:11:05 | rules_go | bazelbuild/rules_go | 1,360 | 484 |
```xml
"use client"
import { currentUserAtom } from "@/modules/JotaiProiveder"
import dayjs from "dayjs"
import relativeTime from "dayjs/plugin/relativeTime"
import { useAtomValue } from "jotai"
import { ArrowLeft, MessageCircle } from "lucide-react"
import Image from "@/components/ui/image"
import useChatsMutation ... | /content/code_sandbox/exm-web/modules/chat/component/messages/PinnedMessages.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 959 |
```xml
import { Pipe, PipeTransform } from "@angular/core";
@Pipe({
name: "ellipsis",
})
/**
* @deprecated Use the tailwind class 'tw-truncate' instead
*/
export class EllipsisPipe implements PipeTransform {
transform(value: string, limit = 25, completeWords = false, ellipsis = "...") {
if (value.length <= l... | /content/code_sandbox/libs/angular/src/platform/pipes/ellipsis.pipe.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 145 |
```xml
import "reflect-metadata"
import {
createTestingConnections,
closeTestingConnections,
reloadTestingDatabases,
} from "../../utils/test-utils"
import { DataSource } from "../../../src/data-source/DataSource"
import { expect } from "chai"
import { User } from "./entity/User"
describe("github issues > ... | /content/code_sandbox/test/github-issues/4277/issue-4277.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,047 |
```xml
import { HeadDetails } from "./head_details"
import { RenderCallback, RenderDelegate, Renderer } from "./renderer"
import { Snapshot } from "./snapshot"
import { array } from "./util"
export { RenderCallback, RenderDelegate } from "./renderer"
export type PermanentElement = Element & { id: string }
export typ... | /content/code_sandbox/src/snapshot_renderer.ts | xml | 2016-02-01T02:14:01 | 2024-08-14T11:30:58 | turbolinks | turbolinks/turbolinks | 12,730 | 1,211 |
```xml
import { Column, Entity, PrimaryColumn } from "../../../../../../src"
@Entity()
export class Post {
@PrimaryColumn({ primaryKeyConstraintName: "PK_NAME_HEADER" })
name: string
@Column({ primary: true, primaryKeyConstraintName: "PK_NAME_HEADER" })
header: string
}
``` | /content/code_sandbox/test/functional/database-schema/custom-constraint-names/primary-key/entity/Post.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 65 |
```xml
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<window xmlns="path_to_url">
<actions>
<action id="notificationAction"/>
</actions>
<facets>
... | /content/code_sandbox/modules/web/test/spec/cuba/web/notification/screens/screen-with-notification.xml | xml | 2016-03-24T07:55:56 | 2024-07-14T05:13:48 | cuba | cuba-platform/cuba | 1,342 | 206 |
```xml
import {
defineProperties, concat, getBytesCopy, getNumber, hexlify,
toBeArray, toBigInt, toNumber,
assert, assertArgument
/*, isError*/
} from "../../utils/index.js";
import type { BigNumberish, BytesLike } from "../../utils/index.js";
/**
* @_ignore:
*/
export const WordSize: number = 32;
... | /content/code_sandbox/src.ts/abi/coders/abstract-coder.ts | xml | 2016-07-16T04:35:37 | 2024-08-16T13:37:46 | ethers.js | ethers-io/ethers.js | 7,843 | 4,067 |
```xml
import { fireEvent, screen } from '@testing-library/react';
import React from 'react';
import { SelectField } from 'uniforms-antd';
import { renderWithZod } from 'uniforms/__suites__';
import { z } from 'zod';
test('<SelectField> - renders a select which correctly reacts on change (array)', () => {
const onCh... | /content/code_sandbox/packages/uniforms-antd/__tests__/SelectField.tsx | xml | 2016-05-10T13:08:50 | 2024-08-13T11:27:18 | uniforms | vazco/uniforms | 1,934 | 327 |
```xml
<!--
Description: item enclosure
-->
<rss version="2.0">
<channel>
<item>
<enclosure url="path_to_url" length="123456" type="audio/mpeg" />
</item>
</channel>
</rss>
``` | /content/code_sandbox/testdata/translator/rss/feed_item_enclosures_-_rss_channel_item_enclosures.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 57 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { testTokenization } from '../test/testRunner';
testTokenization(
['handlebars', 'css'],
[
// Just HTML
[
{
line: '<h1>handlebars!</h1>',
tokens: [
{ startIndex: 0, type: 'delimiter.htm... | /content/code_sandbox/src/basic-languages/handlebars/handlebars.test.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 3,348 |
```xml
/*
*
* This source code is licensed under the MIT license which is detailed in the LICENSE.txt file.
*/
import {
ExtensionContext,
Logger,
ExtensionBlock,
BulkFileState,
BlockMetadataChange,
BlockPosture
} from "@extraterm/extraterm-extension-api";
import { AlignmentFlag, Direction, QLabel, QProgr... | /content/code_sandbox/extensions/DownloadBlock/src/DownloadBlockExtension.ts | xml | 2016-03-04T12:39:59 | 2024-08-16T18:44:37 | extraterm | sedwards2009/extraterm | 2,501 | 1,190 |
```xml
import { Component, OnInit } from '@angular/core';
import { defaultUrlConfig } from '../shared/url-config';
import { newsOrgs } from '../shared/news-org';
@Component({
selector: 'app-settings',
templateUrl: './settings.component.html',
styleUrls: ['./settings.component.scss']
})
export class SettingsComponen... | /content/code_sandbox/src/app/settings/settings.component.ts | xml | 2016-09-20T13:50:42 | 2024-08-06T13:58:18 | loklak_search | fossasia/loklak_search | 1,829 | 201 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Inteface describing `drotg`.
*/
interface Routine {
/**
* Constructs a Givens ... | /content/code_sandbox/lib/node_modules/@stdlib/blas/base/drotg/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 667 |
```xml
import {UseAuth} from "@tsed/platform-middlewares";
import {useDecorators} from "@tsed/core";
import {Security, Returns} from "@tsed/schema";
import {CustomAuthMiddleware} from "../guards/CustomAuthMiddleware";
export interface AuthOpts extends Record<string, unknown> {
role?: string;
scopes?: string[];
}
... | /content/code_sandbox/docs/docs/snippets/authentication/auth-decorator-example.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 122 |
```xml
import path from 'path'
import fs from 'fs'
import { sync as readYamlFile } from 'read-yaml-file'
import { PnpmError } from '@pnpm/error'
import { prepareEmpty, preparePackages } from '@pnpm/prepare'
import { addDistTag } from '@pnpm/registry-mock'
import { WANTED_LOCKFILE } from '@pnpm/constants'
import { type ... | /content/code_sandbox/pkg-manager/core/test/install/overrides.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 2,809 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Razor">
<ItemGroup>
<Content Remove="bundleconfig.json" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="bundleconfig.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SimplCommerce.Infrastructure\SimplCommerce.Infrastructure.csproj"... | /content/code_sandbox/src/Modules/SimplCommerce.Module.PaymentCashfree/SimplCommerce.Module.PaymentCashfree.csproj | xml | 2016-05-21T13:43:01 | 2024-08-16T16:44:29 | SimplCommerce | simplcommerce/SimplCommerce | 4,173 | 150 |
```xml
import type { ItemDiff } from '@proton/pass/lib/items/item.diff';
import type { VaultShareItem } from '@proton/pass/store/reducers';
import type {
ItemCreateIntent,
ItemEditIntent,
ItemRevision,
ItemRevisionWithOptimistic,
ItemType,
MaybeNull,
} from '@proton/pass/types';
import type { Pa... | /content/code_sandbox/packages/pass/components/Views/types.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 398 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
Distributed under the Boost
file LICENSE_1_0.txt or copy at path_to_url
-->
<header name="boost/proto/functional/fusion/reverse.hpp">
<para>Includes Proto callable <computeroutput><classname>boost::proto::functional::reverse</classname></computeroutput>.</para... | /content/code_sandbox/deps/boost_1_66_0/libs/proto/doc/reference/functional/fusion/reverse.xml | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 703 |
```xml
import * as React from 'react';
import { styled } from '@fluentui/react/lib/Utilities';
import { ISankeyChartProps, ISankeyChartStyleProps, ISankeyChartStyles } from './SankeyChart.types';
import { SankeyChartBase } from './SankeyChart.base';
import { getStyles } from './SankeyChart.styles';
// Create a SankeyC... | /content/code_sandbox/packages/react-charting/src/components/SankeyChart/SankeyChart.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 161 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M8,4C8,3.448 7.552,3 7,3C6.448,3 6,3.448 6,4V17.586L3.707,15.293C3.317,14.902 2.683,14.902 2.293,15.293C1.902,15.683 1.902,16.317 ... | /content/code_sandbox/icon-pack/src/main/res/drawable/ic_arrow_descending_medium_regular_outline.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 533 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:... | /content/code_sandbox/catalog/java/io/material/catalog/elevation/res/layout/cat_elevation_fragment.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 917 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="path_to_url"
targetNamespace="path_to_url"
xmlns="path_to_url"
xmlns:jaxb="path_to_url"
elementFormDefault="qualified"
jaxb:version="2.1"
version="0.37">
<xs:include schemaLocation... | /content/code_sandbox/Schemas/Mission.xsd | xml | 2016-05-17T14:58:40 | 2024-08-13T12:38:11 | malmo | microsoft/malmo | 4,051 | 4,663 |
```xml
import type { ReactNode } from 'react';
import { useEffect } from 'react';
import { Redirect } from 'react-router-dom';
import { Loader, useApi } from '@proton/components';
import { useMailDispatch } from 'proton-mail/store/hooks';
import { EO_REDIRECT_PATH, LOAD_RETRY_COUNT } from '../../constants';
import {... | /content/code_sandbox/applications/mail/src/app/components/eo/EORedirect.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 552 |
```xml
/**
* Error class specific to `AccessControl`.
* @readonly
* @name AccessControl.Error
* @class
* @static
*/
class AccessControlError extends Error {
public name:string = 'AccessControlError';
constructor(public message:string = '') {
super(message)/* istanbul ignore next */;
... | /content/code_sandbox/src/core/AccessControlError.ts | xml | 2016-09-13T16:56:53 | 2024-08-16T06:47:25 | accesscontrol | onury/accesscontrol | 2,176 | 103 |
```xml
import {
trigger,
state,
style,
keyframes,
transition,
animate,
AnimationTriggerMetadata,
AUTO_STYLE,
query,
animateChild,
group,
} from '@angular/animations';
import { IAnimationOptions } from '../common/interfaces';
/**
* const tdFlashAnimation
*
* Parameter Options:
* * duration: Du... | /content/code_sandbox/libs/angular/common/src/animations/flash/flash.animation.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 376 |
```xml
import { SymbolHelper, IParseDeepIdentifierResult } from './symbol-helper';
import { ComponentCache } from './component-helper';
import { Deps } from '../../dependencies.interfaces';
import { ts } from 'ts-morph';
export class ModuleHelper {
constructor(
private cache: ComponentCache,
privat... | /content/code_sandbox/src/app/compiler/angular/deps/helpers/module-helper.ts | xml | 2016-10-17T07:09:28 | 2024-08-14T16:30:10 | compodoc | compodoc/compodoc | 3,980 | 906 |
```xml
export const types = `
type SafeRemainder @key(fields: "_id") {
_id: String!
branch: Branch
branchId: String
department: Department
departmentId: String
productCategory: ProductCategory
attachment: Attachment
filterField: String
productCategoryId: String
date: Date
... | /content/code_sandbox/packages/plugin-inventories-api/src/graphql/schema/safeRemainder.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 369 |
```xml
export * from './abstract-guard';
export * from './ng-model.component';
export * from './auth.guard';
export * from './auth.service';
export * from './auth-response.model';
export * from './auth-error-filter';
``` | /content/code_sandbox/npm/ng-packs/packages/core/src/lib/abstracts/index.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 46 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/page/RightSidebar/ParticipantDevices/index.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 95 |
```xml
import './public-path';
import main from 'mastodon/main';
import { start } from '../mastodon/common';
import { loadLocale } from '../mastodon/locales';
import { loadPolyfills } from '../mastodon/polyfills';
start();
loadPolyfills()
.then(loadLocale)
.then(main)
.catch((e: unknown) => {
console.error... | /content/code_sandbox/app/javascript/entrypoints/application.ts | xml | 2016-02-22T15:01:25 | 2024-08-16T19:27:35 | mastodon | mastodon/mastodon | 46,560 | 84 |
```xml
import * as React from 'react';
import { IImageProps } from '@fluentui/react/lib/Image';
import { DefaultButton, IButtonProps } from '@fluentui/react/lib/Button';
import { TeachingBubble } from '@fluentui/react/lib/TeachingBubble';
import { DirectionalHint } from '@fluentui/react/lib/Callout';
import { useBoolea... | /content/code_sandbox/packages/react-examples/src/react/TeachingBubble/TeachingBubble.WideIllustration.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 453 |
```xml
import React, { FunctionComponent } from "react";
const BinIcon: FunctionComponent = () => {
// Custom: created by Sam Hankins
return (
<svg xmlns="path_to_url" viewBox="0 0 18 18">
<path
fill="currentColor"
d="M16.3125 14.0625H8.4375L3.9375 17.4375V14.0625H1.6875C1.0875 14.0625 0.... | /content/code_sandbox/client/src/core/client/ui/components/icons/RejectCommentBoxIcon.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 374 |
```xml
<dict>
<key>LayoutID</key>
<integer>13</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283902599</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>Int... | /content/code_sandbox/Resources/ALC287/layout13.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 10,415 |
```xml
import {ChangeDetectionStrategy, Component} from '@angular/core';
import {provideNativeDateAdapter} from '@angular/material/core';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatFormFieldModule} from '@angular/material/form-field';
/** @title Basic date range picker */
@Component({... | /content/code_sandbox/src/components-examples/material/datepicker/date-range-picker-overview/date-range-picker-overview-example.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 133 |
```xml
import { type Lockfile, type PackageSnapshot } from '@pnpm/lockfile.types'
import { type DependenciesField, type DepPath, type ProjectId } from '@pnpm/types'
import * as dp from '@pnpm/dependency-path'
export interface LockedDependency {
depPath: DepPath
pkgSnapshot: PackageSnapshot
next: () => LockfileWa... | /content/code_sandbox/lockfile/walker/src/index.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 992 |
```xml
const childProcess = require('child_process');
const fs = require('fs');
const process = require('process');
const gulp = require('gulp');
const jsmn = require('gulp-jasmine');
const rename = require('gulp-rename');
const replace = require('gulp-replace');
const uglify = require('gulp-uglify');
const rimraf = r... | /content/code_sandbox/service-worker/worker/gulpfile.ts | xml | 2016-01-25T17:36:44 | 2024-08-15T10:53:22 | mobile-toolkit | angular/mobile-toolkit | 1,336 | 2,895 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.