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
/*
* Squidex Headless CMS
*
* @license
*/
import { ShortcutService } from './shortcut.service';
describe('ShortcutService', () => {
it('should instantiate', () => {
const shortcutService = new ShortcutService();
expect(shortcutService).toBeDefined();
});
it('should raise event... | /content/code_sandbox/frontend/src/app/framework/services/shortcut.service.spec.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 320 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import { RsRefForwardingComponent, WithAsProps } from '@/internals/types';
import { useClassNames } from '@/internals/hooks';
export interface DropdownSeparatorProps extends WithAsProps, React.HTMLAttributes<HTMLElement> {
/** You can use a custo... | /content/code_sandbox/src/Dropdown/DropdownSeparator.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 266 |
```xml
<resources>
<string name="ok"></string>
<string name="cancel"></string>
<string name="close"></string>
<string name="copy_to_clipboard"></string>
<string name="discard"></string>
<string name="keep_editing"></string>
<string name="no"></string>
<string name="reload"></string>
... | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-02-01T13:44:19 | 2024-08-15T05:23:34 | Douya | zhanghai/Douya | 4,549 | 6,402 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<spirit:component xmlns:xilinx="path_to_url" xmlns:spirit="path_to_url" xmlns:xsi="path_to_url">
<spirit:vendor>xilinx.com</spirit:vendor>
<spirit:library>customized_ip</spirit:library>
<spirit:name>ila_sde_c2h_dm</spirit:name>
<spirit:version>1.0</spirit:version>
... | /content/code_sandbox/hdk/cl/examples/cl_sde/ip/ila_sde_c2h_dm/ila_sde_c2h_dm.xml | xml | 2016-11-04T22:04:05 | 2024-08-13T03:36:47 | aws-fpga | aws/aws-fpga | 1,499 | 1,208,192 |
```xml
import { Coordinate } from '@antv/coord';
import { Linear } from '@antv/scale';
import { isNumber, lowerFirst } from '@antv/util';
import { extent } from 'd3-array';
import { Path as D3Path } from 'd3-path';
import { Primitive, Vector2, Vector3 } from '../runtime';
import { indexOf } from '../utils/array';
impor... | /content/code_sandbox/src/shape/utils.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 1,862 |
```xml
<vector xmlns:android="path_to_url"
android:width="36dp"
android:height="36dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M7.41,18.59L8.83,20 12,16.83 15.17,20l1.41,-1.41L12,14l-4.59,4.59zM1... | /content/code_sandbox/sample/src/main/res/drawable/ic_trim.xml | xml | 2016-10-06T22:42:42 | 2024-08-16T18:32:58 | lottie-android | airbnb/lottie-android | 34,892 | 163 |
```xml
import type { SignatureLike } from "../crypto/index.js";
import type { BigNumberish, BytesLike } from "../utils/index.js";
/**
* The domain for an [[link-eip-712]] payload.
*/
export interface TypedDataDomain {
/**
* The human-readable name of the signing domain.
*/
name?: null | string;
... | /content/code_sandbox/lib.commonjs/hash/typed-data.d.ts | xml | 2016-07-16T04:35:37 | 2024-08-16T13:37:46 | ethers.js | ethers-io/ethers.js | 7,843 | 1,324 |
```xml
import { PredicateTarget, PredicateInterface, PredicateJsonForm } from './Interface'
export class NotPredicate<T extends PredicateTarget> implements PredicateInterface<T> {
constructor(public readonly predicate: PredicateInterface<T>) {}
matchesItem(item: T): boolean {
return !this.predicate.matchesIte... | /content/code_sandbox/packages/models/src/Domain/Runtime/Predicate/NotPredicate.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 116 |
```xml
import { Matcher, MatcherGenerator } from './Matcher'
import { createRootMapping, matchAgainstPathname, Mapping } from './Mapping'
import { ChunkListObservable } from './ChunkListObservable'
import { ChunksMapObservable } from './ChunksMapObservable'
import { Route, routeReducer } from './Route'
import { Chunk }... | /content/code_sandbox/packages/navi/src/Router.ts | xml | 2016-09-24T07:44:26 | 2024-07-11T14:52:12 | navi | frontarm/navi | 2,070 | 1,509 |
```xml
import { type WebSpeechPonyfill } from './WebSpeechPonyfill';
type WebSpeechPonyfillFactory = ({ referenceGrammarID }: { referenceGrammarID?: string }) => WebSpeechPonyfill;
export { type WebSpeechPonyfillFactory };
``` | /content/code_sandbox/packages/api/src/types/WebSpeechPonyfillFactory.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 55 |
```xml
import { FunctionComponent } from 'react'
import { observer } from 'mobx-react-lite'
import InstallCustomPlugin from '@/Components/Preferences/Panes/Plugins/InstallCustom/InstallCustomPlugin'
import PreferencesGroup from '../../PreferencesComponents/PreferencesGroup'
import PreferencesSegment from '../../Prefere... | /content/code_sandbox/packages/web/src/javascripts/Components/Preferences/Panes/Plugins/PluginsPane.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 284 |
```xml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="path_to_url"
xmlns:x="path_to_url"
x:Class="Xamarin.Forms.Controls.GalleryPages.VisualStateManagerGalleries.OnPlatformExample"
Title="Using OnPlatform in the VisualStateManager">
<ContentPage.Resources>
<ResourceDiction... | /content/code_sandbox/Xamarin.Forms.Controls/GalleryPages/VisualStateManagerGalleries/OnPlatformExample.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 563 |
```xml
import { FormikConfig, FormikValues, useFormik } from 'formik';
import _ from 'lodash';
import * as Yup from 'yup';
import { FieldsPropsType, InitialFormFields } from './types';
type UseFormArgs<Values extends FormikValues> = {
onSubmit: FormikConfig<Values>['onSubmit'];
initialFields: InitialFormFields;
... | /content/code_sandbox/packages/ui/lib/hooks/useForm.ts | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 453 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>com.github.vedenin</groupId>
<artifactId>2.8-machine-learning</artifactId>
... | /content/code_sandbox/helloworlds/2.8-machine-learning/pom.xml | xml | 2016-02-13T13:14:52 | 2024-08-14T08:54:22 | useful-java-links | Vedenin/useful-java-links | 5,800 | 231 |
```xml
import { PopupModalsPage } from './popup-modal';
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
@NgModule({
declarations: [
PopupModalsPage,
],
imports: [
IonicPageModule.forChild(PopupModalsPage),
],
exports: [
PopupModalsPage
]
})
export cla... | /content/code_sandbox/src/pages/popup-modal/popup-modal.module.ts | xml | 2016-11-04T05:48:23 | 2024-08-03T05:22:54 | ionic3-components | yannbf/ionic3-components | 1,679 | 83 |
```xml
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Rx';
import { CanActivateChild, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
@Injectable()
export class AlunosGuard implements CanActivateChild {
canActivateChild(
route: ActivatedRouteSnapsho... | /content/code_sandbox/rotas/src/app/guards/alunos.guard.ts | xml | 2016-07-02T18:58:48 | 2024-08-15T23:36:46 | curso-angular | loiane/curso-angular | 1,910 | 138 |
```xml
<Project>
<PropertyGroup>
<NightlyTag>nightly</NightlyTag>
<RegexPre>pre\d</RegexPre>
</PropertyGroup>
<PropertyGroup>
<GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' != ''">$(SYSTEM_PULLREQUEST_TARGETBRANCH)</GitBranch>
<GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' == ... | /content/code_sandbox/Version.targets | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 1,271 |
```xml
import React from 'react';
import { Locale, MessagesDataset, ShortcodesDataset } from 'emojibase';
import { mockFetch, MockFetchResult, renderAndWait } from 'rut-dom';
import { resetInstances } from '../src/EmojiDataManager';
import { mockEmojiData } from '../src/test';
import { CanonicalEmoji, Source, UseEmojiD... | /content/code_sandbox/packages/emoji/tests/useEmojiData.test.tsx | xml | 2016-06-26T22:39:56 | 2024-08-16T15:54:10 | interweave | milesj/interweave | 1,075 | 2,026 |
```xml
export { default as useShadowRoot } from "./useShadowRoot";
export { default as useInsideShadowRoot } from "./useInsideShadowRoot";
export { default as useShadowRootOrDocument } from "./useShadowRootOrDocument";
export { default as getShadowRootWidth } from "./getShadowRootWidth";
export {
default as onShadowR... | /content/code_sandbox/client/src/core/client/ui/encapsulation/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 155 |
```xml
/// <reference types="rehype-parse" />
/// <reference types="rehype-stringify" />
import type {Root} from 'hast'
import type {Processor} from 'unified'
/**
* Create a new unified processor that already uses `rehype-parse` and
* `rehype-stringify`.
*/
export const rehype: Processor<Root, undefined, undefined... | /content/code_sandbox/packages/rehype/index.d.ts | xml | 2016-02-25T09:11:41 | 2024-08-16T13:42:57 | rehype | rehypejs/rehype | 1,720 | 84 |
```xml
/// <reference types="react" />
import requireContext from './require-context-ponyfill';
export type ReactComponent = () => React.ReactElement<any, any> | null;
export type NativeIntentStub = {
redirectSystemPath?: (event: {
path: string | null;
initial: boolean;
}) => Promise<string | nu... | /content/code_sandbox/packages/expo-router/build/testing-library/context-stubs.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 330 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>TagHelpers</AssemblyName>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
</Project>
``` | /content/code_sandbox/projects/mvc/tag-helper/tag-helper-3/tag-helper-3.csproj | xml | 2016-07-27T08:23:40 | 2024-08-16T19:15:21 | practical-aspnetcore | dodyg/practical-aspnetcore | 9,106 | 58 |
```xml
import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';
export const PollIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="2 2 16 16" clas... | /content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/PollIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 912 |
```xml
/* global require, process */
// @ts-ignore
import * as discoveryLib from '@discoveryjs/discovery/dist/discovery';
import { RawData, StatoscopeWidget } from '../types';
import prepare from './init/prepare/';
import initApp from './init/init-app';
import { DiscoverJS } from '@statoscope/types';
const V = process... | /content/code_sandbox/packages/webpack-ui/src/index.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 219 |
```xml
import {Message} from 'src/worker/types'
import {fetchData} from 'src/worker/utils'
export default async (msg: Message): Promise<Response> => {
const {url, body} = await fetchData(msg)
const response = await fetch(url, {
method: 'POST',
body,
headers: {'Content-Type': 'application/json'},
})
... | /content/code_sandbox/ui/src/worker/jobs/postJSON.ts | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 85 |
```xml
import { CommonModule } from "@angular/common";
import { Component, Inject, OnInit, ViewChild } from "@angular/core";
import { FormBuilder, ReactiveFormsModule, Validators } from "@angular/forms";
import { ActivatedRoute, NavigationExtras, Router, RouterLink } from "@angular/router";
import { Subject, takeUntil,... | /content/code_sandbox/libs/angular/src/auth/components/two-factor-auth/two-factor-auth.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 3,530 |
```xml
import { endOfDay } from "date-fns";
import * as React from "react";
import { useTranslation } from "react-i18next";
import { toast } from "sonner";
import styled from "styled-components";
import { ApiKeyValidation } from "@shared/validations";
import Button from "~/components/Button";
import Flex from "~/compon... | /content/code_sandbox/app/scenes/ApiKeyNew/index.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 993 |
```xml
/* @jsx createElement */
import { createElement } from 'rax';
import { Meta, Title, Links, Main, Scripts } from 'ice';
function Document() {
return (
<html>
<head>
<meta charSet="utf-8" />
<meta name="description" content="ICE Demo" />
<meta name="viewport" content="width=dev... | /content/code_sandbox/examples/rax-project/src/document.tsx | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 149 |
```xml
import { type FC } from 'react';
import { c } from 'ttag';
import { Href } from '@proton/atoms/Href';
import { SubHeader } from '@proton/pass/components/Layout/Section/SubHeader';
import { CustomAddressAddButton } from '@proton/pass/components/Monitor/Address/CustomAddressAddButton';
import { useMonitor } from... | /content/code_sandbox/packages/pass/components/Monitor/Breach/Breaches.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 746 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'file-input-demo',
styleUrls: ['./file-input-demo.component.scss'],
templateUrl: './file-input-demo.component.html',
})
export class FileInputDemoComponent {}
``` | /content/code_sandbox/apps/docs-app/src/app/content/components/component-demos/file-input/demos/file-input-demo.component.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 48 |
```xml
import { IAttachment } from '@erxes/ui/src/types';
interface IAppearence {
primaryColor: string;
secondaryColor: string;
bodyColor: string;
headerColor: string;
footerColor: string;
}
interface IFeature {
_id: string;
name: string;
description: string;
contentId: string;
subContentId: string... | /content/code_sandbox/packages/plugin-exm-ui/src/types.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 194 |
```xml
import '../asynciterablehelpers.js';
import { of, sequenceEqual } from 'ix/asynciterable/index.js';
import { distinctUntilChanged } from 'ix/asynciterable/operators/index.js';
test('AsyncIterable#distinctUntilChanged no selector', async () => {
const res = of(1, 2, 2, 3, 3, 3, 2, 2, 1).pipe(distinctUntilChang... | /content/code_sandbox/spec/asynciterable-operators/distinctuntilchanged-spec.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 216 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.kiminonawa.mydiary">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permis... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-11-04T02:04:13 | 2024-08-07T01:13:41 | MyDiary | DaxiaK/MyDiary | 1,580 | 873 |
```xml
import type { ChangeEvent, FocusEvent } from 'react';
import { useEffect, useMemo, useState } from 'react';
import type { Locale } from 'date-fns';
import { addDays, format, parse } from 'date-fns';
import { c } from 'ttag';
import type { InputProps } from '@proton/atoms';
import { Input } from '@proton/atoms'... | /content/code_sandbox/packages/components/components/v2/input/DateInputTwo.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,550 |
```xml
import {
Entity,
PrimaryGeneratedColumn,
ManyToOne,
} from "../../../../../src/index"
import { User } from "./User"
@Entity()
export class Account {
@PrimaryGeneratedColumn()
id: number
@ManyToOne((type) => User)
user: User
}
``` | /content/code_sandbox/test/github-issues/5119/entity/v2/Account.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 62 |
```xml
<idea-plugin url="path_to_url">
<name>XAML Styler</name>
<id>xamlstyler.rider</id>
<vendor url="path_to_url">Xavalon</vendor>
<category>Formatting</category>
<version>_PLACEHOLDER_</version>
<description><![CDATA[
<p>XAML Styler is an extension that formats XAML source code based on a set of styl... | /content/code_sandbox/src/XamlStyler.Extension.Rider/rider/main/resources/META-INF/plugin.xml | xml | 2016-04-27T17:23:10 | 2024-08-16T17:12:04 | XamlStyler | Xavalon/XamlStyler | 1,165 | 286 |
```xml
'use client';
import { useState } from 'react';
import type { Field, RuleGroupType } from 'react-querybuilder';
import { QueryBuilder, formatQuery } from 'react-querybuilder';
import 'react-querybuilder/dist/query-builder.css';
import { ClientOnly } from './ClientOnly';
const fields: Field[] = [
{ name: 'fir... | /content/code_sandbox/examples/next/app/NextQueryBuilder.tsx | xml | 2016-06-17T22:03:19 | 2024-08-16T10:28:42 | react-querybuilder | react-querybuilder/react-querybuilder | 1,131 | 444 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMa... | /content/code_sandbox/Resources/ALC269/Platforms22.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,788 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 path_to_url">
<file original="PopcornTime/Base.lproj/LoadingView.xib" source-language="en" target-language="Language code... | /content/code_sandbox/PopcornTime/Supporting Files/Base.xliff | xml | 2016-08-07T10:18:41 | 2024-08-16T13:03:46 | PopcornTimeTV | PopcornTimeTV/PopcornTimeTV | 1,357 | 13,070 |
```xml
import { Application, Types, Modules } from 'lisk-sdk';
import { TestNftModule } from './modules/testNft/module';
import { registerModules } from './modules';
import { registerPlugins } from './plugins';
import { HelloModule } from './modules/hello/module';
export const getApplication = (config: Types.PartialAp... | /content/code_sandbox/examples/interop/pos-sidechain-example-one/src/app/app.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 234 |
```xml
<RelativeLayout xmlns:android="path_to_url"
android:id="@+id/relative_container_login"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/fragment_container_login"
android:layout_width="match_... | /content/code_sandbox/app/src/main/res/layout/activity_login.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 84 |
```xml
import * as React from 'react';
import { CameraCapturedPicture, CameraOrientation, CameraPictureOptions, CameraProps, CameraRecordingOptions, CameraType, ConstantsType, PermissionResponse, VideoCodec } from './Camera.types';
export default class Camera extends React.Component<CameraProps> {
/**
* Check ... | /content/code_sandbox/packages/expo-camera/build/legacy/Camera.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 2,043 |
```xml
import { isStrictObject } from '../utils/helper';
import { Node } from './node';
export type NodePropertyDescriptor = {
type: 'object' | 'value' | 'array' | 'node' | 'container' | 'mix';
key?: string;
ctor?: new (...args: any[]) => any;
};
type NodeClass = new (props: any, type?: string) => Node;
functi... | /content/code_sandbox/src/api/define.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 892 |
```xml
export type ApiKeyAuthType = 'header' | 'queryParams' | 'cookie';
export const HEADER: ApiKeyAuthType = 'header';
export const QUERY_PARAMS: ApiKeyAuthType = 'queryParams';
export const COOKIE: ApiKeyAuthType = 'cookie';
``` | /content/code_sandbox/packages/insomnia/src/network/api-key/constants.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 56 |
```xml
export * from 'rxjs-compat/operator/defaultIfEmpty';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/operator/defaultIfEmpty.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 13 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../LocalizableSt... | /content/code_sandbox/tools/Microsoft.TemplateEngine.Authoring.TemplateVerifier/xlf/LocalizableStrings.it.xlf | xml | 2016-06-28T20:54:16 | 2024-08-16T14:39:38 | templating | dotnet/templating | 1,598 | 818 |
```xml
import React from 'react';
// NOTE: You must add static `whyDidYouRender = true` to the component you want to track.
if (process.env.NODE_ENV === 'development') {
const whyDidYouRender = require('@welldone-software/why-did-you-render');
const options = {
logOnDifferentValues: false
};
whyDidYouRend... | /content/code_sandbox/example/src/wdyr.ts | xml | 2016-11-11T12:17:27 | 2024-08-16T16:43:58 | react-native-calendars | wix/react-native-calendars | 9,403 | 88 |
```xml
<vector xmlns:android="path_to_url" android:name="vector" android:width="128dp" android:height="128dp" android:viewportWidth="128" android:viewportHeight="128">
<path android:name="path" android:pathData="M 119.44 96.041 C 101.767 126.652 62.625 137.14 32.014 119.467 C 1.403 101.794 -9.085 62.652 8.588 32.04... | /content/code_sandbox/app/src/main/res/drawable/ic_quest_moped_access.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 3,146 |
```xml
import SearchBar from './SearchBar';
export type { SearchBarProps, SearchBarCssVars } from './SearchBar';
export default SearchBar;
``` | /content/code_sandbox/packages/zarm/src/search-bar/index.ts | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 31 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcPaperPlane: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icPaperPlane.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 43 |
```xml
<vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="48" android:viewportHeight="48">
<path android:fillColor="#FFFFFFFF" android:pathData="M24.3 31.35q2.05 0 3.5-1.425 1.45-1.425 1.45-3.475v-12.6h4.35q0.6 0 1.025-0.425Q35.05 13 35.05 12.35q0-0.65-0.425-1.075Q... | /content/code_sandbox/app/src/main/res/drawable/ic_playlist_vector.xml | xml | 2016-01-10T12:21:23 | 2024-08-16T13:03:46 | Simple-Music-Player | SimpleMobileTools/Simple-Music-Player | 1,277 | 544 |
```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.
import { NgModule } from '@angular/core';
import {
PreloadAllModules,
RouteReuseStrategy,
RouterModule,
Routes,
} from '@an... | /content/code_sandbox/src/portal/src/app/harbor-routing.module.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 416 |
```xml
import { Preferences } from "./preferences";
import { Widget } from "./widget";
export interface Spec {
pid: number|null;
preferences: Preferences;
widgets: Widget[];
}
``` | /content/code_sandbox/IntelPresentMon/AppCef/Web/src/core/spec.ts | xml | 2016-03-09T18:44:16 | 2024-08-15T19:51:10 | PresentMon | GameTechDev/PresentMon | 1,580 | 38 |
```xml
import React from 'react';
import { useSelector } from 'react-redux';
import Time from '@fiora/utils/time';
import { isMobile } from '@fiora/utils/ua';
import Avatar from '../../components/Avatar';
import { State } from '../../state/reducer';
import useAction from '../../hooks/useAction';
import Style from './... | /content/code_sandbox/packages/web/src/modules/FunctionBarAndLinkmanList/Linkman.tsx | xml | 2016-02-15T14:47:58 | 2024-08-14T13:07:55 | fiora | yinxin630/fiora | 6,485 | 630 |
```xml
import { BuiltLogic, LogicWrapper } from '../types'
import * as React from 'react'
import { useMountedLogic } from './hooks'
import { getContext } from '../kea/context'
export type BindPropsProps = {
logic: LogicWrapper
props: LogicWrapper['props']
children: React.ReactNode
}
export function getOrCreateC... | /content/code_sandbox/src/react/bind.tsx | xml | 2016-03-29T08:30:54 | 2024-08-10T20:41:40 | kea | keajs/kea | 1,933 | 198 |
```xml
<material type="unlit">
<shader name="vertex">vertex/turbulencesprites.cg</shader>
<shader name="fragment">fragment/simple_turbulence.cg</shader>
<alphaTestFunc>GREATER_EQUAL</alphaTestFunc>
<alphaTestRef>0.5</alphaTestRef>
<variables>
<sampler2D name="diffuseTexture">APEX/0.9/turbulence/textures/smoke.dd... | /content/code_sandbox/PhysX_3.4/Media/SampleRenderer/4/materials/material_turb1.xml | xml | 2016-10-12T16:34:31 | 2024-08-16T09:40:38 | PhysX-3.4 | NVIDIAGameWorks/PhysX-3.4 | 2,343 | 112 |
```xml
/// <reference path="pxtpackage.d.ts" />
/// <reference path="pxtparts.d.ts" />
/// <reference path="pxtelectron.d.ts" />
declare namespace pxt {
// targetconfig.json
type GalleryShuffle = "daily";
interface GalleryProps {
url: string;
experimentName?: string;
locales?: strin... | /content/code_sandbox/localtypings/pxtarget.d.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 12,237 |
```xml
import dep from './dep';
export default function handler(req: any, res: any) {
res.end(dep);
}
``` | /content/code_sandbox/packages/node/test/fixtures/04-tsx-resolve/index.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 26 |
```xml
import * as React from 'react';
import useModernLayoutEffect from 'use-isomorphic-layout-effect';
import {getDelay} from '../hooks/useHover';
import type {FloatingRootContext} from '../types';
type Delay = number | Partial<{open: number; close: number}>;
interface GroupState {
delay: Delay;
initialDelay: ... | /content/code_sandbox/packages/react/src/components/FloatingDelayGroup.tsx | xml | 2016-03-29T17:00:47 | 2024-08-16T16:29:40 | floating-ui | floating-ui/floating-ui | 29,450 | 1,066 |
```xml
<UserControl
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:mc="path_to_url"
xmlns:d="path_to_url"
xmlns:local="clr-namespace:Aurora.Profiles.Guild_Wars_2"
xmlns:EnumDeviceKeys="clr-namespace:Aurora.Devices"
xmlns:EnumP... | /content/code_sandbox/Project-Aurora/Project-Aurora/Profiles/ETS2/Control_ETS2.xaml | xml | 2016-04-04T05:18:18 | 2024-08-03T10:11:45 | Aurora | antonpup/Aurora | 1,824 | 1,725 |
```xml
<configuration>
<appender name="CONSOLE"
class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.taskId}|%X{dbz.connectorContext}|%X{dbz.databaseName} %m [%c]%n</pattern>
</encoder>
</appe... | /content/code_sandbox/debezium-connector-mysql/src/test/resources/logback-test.xml | xml | 2016-01-22T20:17:05 | 2024-08-16T13:42:33 | debezium | debezium/debezium | 10,320 | 550 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Pulumi Corp.</Authors>
<Company>Pulumi Corp.</Company>
<Description></Description>
<PackageProjectUrl></PackageProjectUrl>
<RepositoryUrl></RepositoryUrl>
<PackageIcon>l... | /content/code_sandbox/tests/testdata/codegen/hyphen-url/dotnet/Pulumi.Registrygeoreplication.csproj | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 482 |
```xml
import { mergeClasses } from '@griffel/react';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { TagPickerOptionGroupSlots, TagPickerOptionGroupState } from './TagPickerOptionGroup.types';
import { useOptionGroupStyles_unstable } from '@fluentui/react-combobox';
export const tagPick... | /content/code_sandbox/packages/react-components/react-tag-picker/library/src/components/TagPickerOptionGroup/useTagPickerOptionGroupStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 227 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="path_to_url">
<Import Project="..\scripts\XAVersionInfo.targets" />
<Import Project="..\scripts\LocalizationLanguages.projitems" />
<Import Project="..\..\bin\Build$(Configuration)\ProfileAssemblies.projitems" Condition="Exists('..\..\bin\Build$(Config... | /content/code_sandbox/build-tools/installers/create-installers.targets | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 6,641 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<extension>
<%FEE_NS%:updData xmlns:%FEE_NS%="urn:ietf:params:xml:ns:fee-%FEE_VERSION%">
<%FEE_NS%:currency>USD</%FEE_NS%:currency>
<%FEE_NS%:... | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_update_restore_request_response_fee.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 212 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Hyperion</short>
<description>Hyperion.NG firewall rules</description>
<!-- HTTP -->
<port protocol="tcp" port="8090"/>
<!-- HTTPS -->
<port protocol="tcp" port="8892"/>
<!-- JSON Server -->
<port protocol="tcp" port="19444"/>
<!-- Flatbu... | /content/code_sandbox/bin/service/hyperion.xml | xml | 2016-06-15T11:24:38 | 2024-08-16T13:53:01 | hyperion.ng | hyperion-project/hyperion.ng | 2,987 | 163 |
```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.
*/
import classNames from "classnames";
import * as React from "react";
import { Utils as CoreUtils } from "@blueprintjs/core";
impo... | /content/code_sandbox/packages/table/src/headers/header.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 4,141 |
```xml
import * as React from 'react'
import { Button } from './button'
import { Popover, PopoverAnchorPosition, PopoverDecoration } from './popover'
import { Octicon } from '../octicons'
import * as octicons from '../octicons/octicons.generated'
import classNames from 'classnames'
const maxPopoverContentHeight = 500
... | /content/code_sandbox/app/src/ui/lib/popover-dropdown.tsx | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 621 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:activiti="path_to_url" xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url" typeLanguage="path_to_url" expressionLanguage="path_to_url" targetNamespace="Examples">
<process id="script... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/examples/bpmn/tasklistener/ScriptTaskListenerTest.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 465 |
```xml
import { render, RenderOptions, screen } from '@testing-library/react';
import React from 'react';
import ConfigProvider, { ConfigContext, defaultConfig } from '../ConfigProvider';
import type { ConfigProviderProps } from '../interface';
interface CustomRenderOptions extends RenderOptions {
providerProps: Con... | /content/code_sandbox/packages/zarm/src/config-provider/__tests__/ConfigProvider.test.tsx | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 435 |
```xml
import { Meta } from '@storybook/react';
import { SvgIcon } from '@fluentui/react-northstar';
import { getThemeStoryVariant } from '../utilities';
import SvgconExampleBordered from '../../examples/components/SvgIcon/Variations/SvgIconExampleBordered.shorthand';
export default {
component: SvgIcon,
title: 'S... | /content/code_sandbox/packages/fluentui/docs/src/vr-tests/SvgIcon/SvgconExampleBordered.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 200 |
```xml
const NOT_FOUND_ERROR_CODE = 'NEXT_NOT_FOUND'
type NotFoundError = Error & { digest: typeof NOT_FOUND_ERROR_CODE }
/**
* This function allows you to render the [not-found.js file](path_to_url
* within a route segment as well as inject a tag.
*
* `notFound()` can be used in
* [Server Components](path_to_ur... | /content/code_sandbox/packages/next/src/client/components/not-found.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 327 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage
xmlns="path_to_url"
xmlns:x="path_to_url"
x:Class="Xamarin.Forms.Controls.GalleryPages.SwipeViewGalleries.CustomSizeSwipeViewGallery"
Title="Custom Size SwipeView">
<ContentPage.Content>
<Grid>
<SwipeView>
... | /content/code_sandbox/Xamarin.Forms.Controls/GalleryPages/SwipeViewGalleries/CustomSizeSwipeViewGallery.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 436 |
```xml
import React from 'react';
import { Indicator } from '../../../styles';
type Props = {
segment: any;
history: any;
};
class Row extends React.Component<Props> {
render() {
const onClick = e => {
e.stopPropagation();
};
const { name, color } = this.props.segment;
return (
<tr>... | /content/code_sandbox/packages/plugin-loyalties-ui/src/configs/assignmentCampaign/components/SegmentRow.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 117 |
```xml
// See LICENSE.txt for license information.
import React from 'react';
import {StyleSheet, Text, View} from 'react-native';
interface NotificationServerProps {
serverName: string;
}
const styles = StyleSheet.create({
container: {
alignItems: 'flex-start',
marginTop: 5,
},
text:... | /content/code_sandbox/app/screens/in_app_notification/server.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 183 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url">
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_home"
android:checked="true"
android:icon="@drawable/ic_home"
android:title="Home" />
<item
... | /content/code_sandbox/app/src/main/res/menu/activity_home_drawer.xml | xml | 2016-04-30T20:12:34 | 2024-08-15T10:56:34 | MusicDNA | harjot-oberai/MusicDNA | 2,822 | 289 |
```xml
<CloudService xmlns="path_to_url">
<GeoRegion><%= listResources[0].provider.geoRegion %></GeoRegion>
<Resources>
<% listResources.forEach(function(r) { %>
<Resource>
<Tags><%= r.provider.tags %></Tags>
<Name><%= r.provider.resource_name %></Name>
<Oper... | /content/code_sandbox/user-service/helpers/azure-xml-responses/getCloudService.xml | xml | 2016-02-08T13:45:32 | 2024-07-23T20:18:01 | cloudboost | CloudBoost/cloudboost | 1,444 | 142 |
```xml
import { TestBed, inject, ComponentFixture, waitForAsync } from "@angular/core/testing";
import { DebugElement } from "@angular/core";
import { UntypedFormGroup, UntypedFormControl } from "@angular/forms";
import { By } from "@angular/platform-browser";
import { Calendar } from "primeng/calendar";
import { Dynam... | /content/code_sandbox/projects/ng-dynamic-forms/ui-primeng/src/lib/calendar/dynamic-primeng-calendar.component.spec.ts | xml | 2016-06-01T20:26:33 | 2024-08-05T16:40:39 | ng-dynamic-forms | udos86/ng-dynamic-forms | 1,315 | 581 |
```xml
<FrameLayout xmlns:android="path_to_url"
android:id="@+id/xDripwidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#B3000000"
>
<ImageView
android:id="@+id/widgetGraph"
android:layout_width="match_parent"
android:la... | /content/code_sandbox/app/src/main/res/layout/x_drip_widget.xml | xml | 2016-09-23T13:33:17 | 2024-08-15T09:51:19 | xDrip | NightscoutFoundation/xDrip | 1,365 | 640 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
... | /content/code_sandbox/example-viewbinding/src/main/res/layout/item_header.xml | xml | 2016-09-01T20:59:35 | 2024-08-15T01:29:19 | groupie | lisawray/groupie | 3,661 | 352 |
```xml
import ITodoItem from '../../models/ITodoItem';
import ItemOperationCallback from '../../models/ItemOperationCallback';
interface ITodoListItemProps {
item: ITodoItem;
isChecked?: boolean;
onCompleteListItem: ItemOperationCallback;
onDeleteListItem: ItemOperationCallback;
}
export default ITodoListItem... | /content/code_sandbox/samples/react-todo-basic/src/webparts/todo/components/TodoListItem/ITodoListItemProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 67 |
```xml
/* eslint-disable import/no-unresolved, @typescript-eslint/no-unsafe-member-access */
import * as Sentry from '@sentry/react-native';
import * as React from 'react';
import { Text, View } from 'react-native';
import { getTestProps } from './utils/getTestProps';
export { getTestProps };
/**
* This screen is fo... | /content/code_sandbox/test/e2e/src/EndToEndTests.tsx | xml | 2016-11-30T14:45:57 | 2024-08-16T13:21:38 | sentry-react-native | getsentry/sentry-react-native | 1,558 | 458 |
```xml
<response status="success">
<result>
<job>
<tenq>2022/08/18 05:45:03</tenq>
<tdeq>05:45:03</tdeq>
<id>123</id>
<user>api</user>
<type>CommitAll</type>
<status>FIN</status>
<queued>NO</queued>
<stoppable>no</stoppable>
<result>OK</result>
<tfin>05:45:03</tfin>
<description></de... | /content/code_sandbox/Packs/PAN-OS/Integrations/Panorama/test_data/push_to_device_success.xml | xml | 2016-06-06T12:17:02 | 2024-08-16T11:52:59 | content | demisto/content | 1,108 | 1,038 |
```xml
import * as React from 'react';
import expect from 'expect';
import { render } from '@testing-library/react';
import { ListContext } from './ListContext';
import { useListContextWithProps } from './useListContextWithProps';
describe('useListContextWithProps', () => {
const NaiveList = props => {
co... | /content/code_sandbox/packages/ra-core/src/controller/list/useListContextWithProps.spec.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 294 |
```xml
import * as React from 'react';
import { REPORT_TYPES } from 'toolkit/extension/features/toolkit-reports/common/constants/report-types';
import classnames from 'classnames';
import './styles.scss';
export class ReportSelectorComponent extends React.Component<{
activeReportKey: string;
setActiveReportKey: (k... | /content/code_sandbox/src/extension/features/toolkit-reports/pages/root/components/report-selector/component.tsx | xml | 2016-01-03T05:38:10 | 2024-08-13T16:08:09 | toolkit-for-ynab | toolkit-for-ynab/toolkit-for-ynab | 1,418 | 226 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Directive, ElementRef, NgZone} from '@angular/core';
import {CdkTable} from '@angular/cdk/table';
import {ColumnResize} from '../column-resize';
import {ColumnRe... | /content/code_sandbox/src/cdk-experimental/column-resize/column-resize-directives/default-enabled-column-resize-flex.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 276 |
```xml
import queries from './queries';
export { queries };
``` | /content/code_sandbox/packages/plugin-loyalties-ui/src/loyalties/scorelogs/graphql/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 11 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"... | /content/code_sandbox/app/src/main/res/layout/filter_test.xml | xml | 2016-08-10T12:23:49 | 2024-08-12T03:08:54 | PhotoEdit | jarlen/PhotoEdit | 1,158 | 207 |
```xml
<resources>
<string name="download_file_error"> </string>
<string name="downloading_toast"> %1$s</string>
<string name="no_rw_storage"> </string>
<string name="no_thanks">, </string>
<string name="yes"></string>
<string name="ok">OK</string>
</resources>
``` | /content/code_sandbox/src/main/res/values-uk/strings.xml | xml | 2016-08-05T16:58:55 | 2024-08-16T16:39:40 | MagiskManager | topjohnwu/MagiskManager | 1,489 | 82 |
```xml
import { ComponentPermission } from '@standardnotes/features'
import { ComponentInterface } from '../../Syncable/Component'
export type PermissionDialog = {
component: ComponentInterface
permissions: ComponentPermission[]
permissionsString: string
actionBlock: (approved: boolean) => void
callback: (ap... | /content/code_sandbox/packages/models/src/Domain/Abstract/Component/PermissionDialog.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 72 |
```xml
import { MatSidenavModule } from '@angular/material/sidenav';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DocsComponent } from './docs.component';
import { DocsOverviewComponent } from './overview/overview.component';
import { CreatingComponent } from './cr... | /content/code_sandbox/apps/docs-app/src/app/content/docs/docs.module.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 544 |
```xml
import * as React from 'react';
import { Shadow } from './ShadowHelper';
import { RatingBasicExample } from '../Rating/Rating.Basic.Example';
export const ShadowDOMRatingExample: React.FunctionComponent = () => {
return (
<Shadow>
<RatingBasicExample />
</Shadow>
);
};
``` | /content/code_sandbox/packages/react-examples/src/react/ShadowDOM/ShadowDOM.Rating.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 67 |
```xml
export interface MovePackagesGeneratorSchema {
/**
* The name of the package to move.
*/
name?: string;
/**
* The folder to move the package into.
*/
destination: string;
/**
* Whether the generator should update the import path to reflect the new location.
* @default false
*/
up... | /content/code_sandbox/tools/workspace-plugin/src/generators/move-packages/schema.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 130 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="path_to_url" tools:ignore="TypographyEllipsis,TypographyDashes">
<string name="about">About</string>
<string name="add">Add</string>
<string name="add_folder">Add Folder</string>
<string name="add_item">Add Item</string>
<string name="an_er... | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 19,205 |
```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/event/preprocessor/EventStorageMiddleware/eventHandlers/linkPreviewEventHandler.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 648 |
```xml
import { Response } from "express";
import Joi from "joi";
import { roundRating } from "coral-common/common/lib/utils";
import { AppOptions } from "coral-server/app";
import { validate } from "coral-server/app/request/body";
import { retrieveStoryRatings } from "coral-server/models/comment";
import { resolveSto... | /content/code_sandbox/server/src/core/server/app/handlers/api/story/ratings.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 605 |
```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 reEOL = require( './index' );
// TESTS //
// The function returns a regular expression...
{
reEOL(); //... | /content/code_sandbox/lib/node_modules/@stdlib/regexp/eol/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 522 |
```xml
import type { ReactElement } from 'react';
import { cloneElement, useEffect } from 'react';
import { c } from 'ttag';
import clsx from '@proton/utils/clsx';
import { useDrawer, useTheme } from '../..';
import './DrawerSidebar.scss';
interface Props {
buttons: ReactElement[];
}
const DrawerSidebar = ({ ... | /content/code_sandbox/packages/components/components/drawer/DrawerSidebar.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 344 |
```xml
export default class BarController extends DatasetController {
static id: string;
/**
* @type {any}
*/
static overrides: any;
/**
* Overriding primitive data parsing since we support mixed primitive/array
* data for float bars
* @protected
*/
protected pa... | /content/code_sandbox/cachecloud-web/src/main/resources/assets/vendor/chart.js/controllers/controller.bar.d.ts | xml | 2016-01-26T05:46:01 | 2024-08-16T09:41:37 | cachecloud | sohutv/cachecloud | 8,737 | 473 |
```xml
import assert from "assert";
import { loadTests } from "./utils.js";
import type {
TestCaseAccount,
TestCaseCreate,
TestCaseCreate2
} from "./types.js";
import {
getAddress, getIcapAddress,
getCreateAddress, getCreate2Address
} from "../index.js";
describe("computes checksum address", fu... | /content/code_sandbox/src.ts/_tests/test-address.ts | xml | 2016-07-16T04:35:37 | 2024-08-16T13:37:46 | ethers.js | ethers-io/ethers.js | 7,843 | 1,109 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.