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 * as types from './types'; export { types }; ```
/content/code_sandbox/webapp/client/src/features/versioning/repositoryData/store/index.ts
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
13
```xml import { useContext } from 'react'; import { NotificationContext } from '~/components/NotificationProvider'; export const useSuccess = () => { const { success, setSuccess, clearSuccess } = useContext(NotificationContext); return { success, setSuccess, clearSuccess }; }; ```
/content/code_sandbox/ui/src/data/hooks/success.ts
xml
2016-11-05T00:09:07
2024-08-16T13:44:10
flipt
flipt-io/flipt
3,489
57
```xml import { CompositeDecorator, ContentBlock, ContentState } from 'draft-js'; import Immutable from 'immutable'; const KEY_SEPARATOR = '-'; export default class MultiDecorator { decorators: Immutable.List<CompositeDecorator>; constructor( decorators: Immutable.List<CompositeDecorator> | CompositeDecorato...
/content/code_sandbox/packages/editor/src/Editor/MultiDecorator.ts
xml
2016-02-26T09:54:56
2024-08-16T18:16:31
draft-js-plugins
draft-js-plugins/draft-js-plugins
4,087
430
```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/Source/sstComposer/sstc.csproj
xml
2016-03-18T08:12:31
2024-08-15T09:15:47
SyscallTables
hfiref0x/SyscallTables
1,115
1,089
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Itanium"> <Configuration>Debug</Configuration> <Platform>Itanium</Platform> </ProjectConfiguration> ...
/content/code_sandbox/thirdparty/zlib-1.2.8/contrib/vstudio/vc10/zlibstat.vcxproj
xml
2016-03-18T17:55:48
2024-08-15T18:11:38
opentoonz
opentoonz/opentoonz
4,445
6,855
```xml import * as color from '@erxes/ui/src/styles/ecolor'; const rgb = color.rgb; const rgba = color.rgba; const darken = color.darken; const lighten = color.lighten; export { rgb, rgba, darken, lighten }; ```
/content/code_sandbox/packages/core-ui/src/modules/common/styles/color.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
52
```xml // See LICENSE in the project root for license information. // your_sha256_hash------------------------------------------ // TO AVOID EXTRA DEPENDENCIES, THE CODE IN THIS FILE WAS BORROWED FROM: // // rushstack/libraries/terminal/src/PrintUtilities.ts // // KEEP IT IN SYNC WITH THAT FILE. // your_sha256_hash---...
/content/code_sandbox/eslint/eslint-patch/src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts
xml
2016-09-30T00:28:20
2024-08-16T18:54:35
rushstack
microsoft/rushstack
5,790
919
```xml import type {Placement} from '@floating-ui/core'; import { arrow, autoUpdate, flip, offset, shift, useFloating, } from '@floating-ui/react-dom'; import {useRef, useState} from 'react'; import {BoxSizeControl} from '../utils/BoxSizeControl'; import {Container} from '../utils/Container'; import {Contr...
/content/code_sandbox/packages/dom/test/visual/spec/Complex.tsx
xml
2016-03-29T17:00:47
2024-08-16T16:29:40
floating-ui
floating-ui/floating-ui
29,450
961
```xml import { useEffect, useRef } from 'react'; import type { PaymentsVersion } from '@proton/shared/lib/api/payments'; import type { ADDON_NAMES, PLANS } from '@proton/shared/lib/constants'; import { APPS } from '@proton/shared/lib/constants'; import type { RequiredCheckResponse } from '@proton/shared/lib/helpers/c...
/content/code_sandbox/packages/components/payments/client-extensions/usePaymentFacade.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
2,734
```xml import { DevicePushToken } from './Tokens.types'; export default function getDevicePushTokenAsync(): Promise<DevicePushToken>; //# sourceMappingURL=getDevicePushTokenAsync.web.d.ts.map ```
/content/code_sandbox/packages/expo-notifications/build/getDevicePushTokenAsync.web.d.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
38
```xml <?xml version="1.0" encoding="utf-8"?> <Project xmlns="path_to_url"> <ItemGroup> <NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\tvos\native\libHarfBuzzSharp.framework" Kind="Framework" /> </ItemGroup> </Project> ```
/content/code_sandbox/binding/HarfBuzzSharp.NativeAssets.tvOS/buildTransitive/HarfBuzzSharp.Local.targets
xml
2016-02-22T17:54:43
2024-08-16T17:53:42
SkiaSharp
mono/SkiaSharp
4,347
69
```xml <?xml version="1.0" encoding="utf-8"?> Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <resources> <item type="id" name="compressed_series" /> <item type="id" name="original_series" /> </resources> ```
/content/code_sandbox/libraries_res/datausagechart_res/src/main/res/values/values.xml
xml
2016-07-04T07:28:36
2024-08-15T05:20:42
AndroidChromium
JackyAndroid/AndroidChromium
3,090
72
```xml import { ChildEntity, Column } from "../../../../../../src" import { Person } from "./Person" @ChildEntity() export class Employee extends Person { @Column() salary: number } ```
/content/code_sandbox/test/functional/table-inheritance/single-table/database-option-inherited/entity/Employee.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
41
```xml import { Model } from 'mongoose'; import { IModels } from '../connectionResolver'; import { commentConversationSchema, ICommentConversationDocument, } from './definitions/comment_conversations'; export interface ICommentConversationModel extends Model<ICommentConversationDocument> { getCommentConversat...
/content/code_sandbox/packages/plugin-instagram-api/src/models/Comment_conversations.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
156
```xml export interface IDropdownWithRemoteDataWebPartProps { list: string; item: string; } ```
/content/code_sandbox/samples/react-custompropertypanecontrols/src/webparts/dropdownWithRemoteData/IDropdownWithRemoteDataWebPartProps.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 <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="UAEndpoints" targetNamespace="path_to_url" xmlns:tns="path_to_url" xmlns:s0="path_to_url" xmlns:s1="path_to_url" xmlns:wsdl="path_to_url" xmlns:soap="path_to_url" xmlns:soap12="path_to_url" xmlns:wsa10="path_to_url" > <wsdl:import...
/content/code_sandbox/Stack/Opc.Ua.Core/Schema/Opc.Ua.Endpoints.wsdl
xml
2016-02-12T14:57:06
2024-08-13T10:24:27
UA-.NETStandard
OPCFoundation/UA-.NETStandard
1,910
5,865
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace /> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Volo.Abp.TenantManagement.EntityFram...
/content/code_sandbox/modules/tenant-management/test/Volo.Abp.TenantManagement.Domain.Tests/Volo.Abp.TenantManagement.Domain.Tests.csproj
xml
2016-12-03T22:56:24
2024-08-16T16:24:05
abp
abpframework/abp
12,657
130
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent"> <include android:id="@+id/done_cancel_bar" layout="@layout/crop__layout_done_cancel" /> <com.soundcloud.android.crop.Crop...
/content/code_sandbox/DragSquare/crop/src/main/res/layout/crop__activity_crop.xml
xml
2016-05-27T07:13:04
2024-07-27T08:49:43
DragRankSquare
xmuSistone/DragRankSquare
1,113
137
```xml import { memoizeFunction } from '@fluentui/react/lib/Utilities'; import type { IBasicPackageGroup } from '../interfaces/index'; // Don't reference anything importing Monaco in this file! // Helper methods for transpile(). They're in a separate file that doesn't import Monaco so they // can be tested with Jest ...
/content/code_sandbox/packages/react-monaco-editor/src/transpiler/transpileHelpers.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
568
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- ~ 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 ...
/content/code_sandbox/test/it/parser/src/main/resources/case/ddl/drop-table.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
768
```xml <NamedItem2 ItemName="i1" xmlns="clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml.TestCases" xmlns:x="path_to_url"> <NamedItem2.References> <NamedItem2 ItemName="i2"> <NamedItem2.References> <NamedItem2 ItemName="i3" /> </NamedItem2.References> </NamedItem2> <NamedItem2 ...
/content/code_sandbox/src/Test/System.Xaml.TestCases/XmlFiles/NamedItems2.xml
xml
2016-08-25T20:07:20
2024-08-13T22:23:35
CoreWF
UiPath/CoreWF
1,126
147
```xml import ParentNode from './ParentNode'; export default class StackNode extends ParentNode { constructor(layout: any, parentNode?: ParentNode) { super(layout, 'Stack', parentNode); } getVisibleLayout() { return this.children[this.children.length - 1].getVisibleLayout(); } } ```
/content/code_sandbox/lib/Mock/Layouts/StackNode.ts
xml
2016-03-11T11:22:54
2024-08-15T09:05:44
react-native-navigation
wix/react-native-navigation
13,021
65
```xml import { z, IntegrationDefinitionProps } from '@botpress/sdk' export { actions } from './actions' export { channels } from './channels' export const configuration = { schema: z.object({ apiToken: z.string().min(1).describe('API Token'), workspaceGid: z.string().min(1).describe('Workspace Global ID'),...
/content/code_sandbox/integrations/asana/src/definitions/index.ts
xml
2016-11-16T21:57:59
2024-08-16T18:45:35
botpress
botpress/botpress
12,401
202
```xml import { getBareExtensions } from '@expo/config/paths'; import assert from 'assert'; import fs from 'fs'; import path from 'path'; import { createFastResolver, FailedToResolvePathError } from '../createExpoMetroResolver'; import { isFailedToResolvePathError } from '../metroErrors'; type SupportedContext = Para...
/content/code_sandbox/packages/@expo/cli/src/start/server/metro/__tests__/createExpoMetroResolver.test.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
3,217
```xml // See LICENSE.txt for license information. import React, {useCallback, useState} from 'react'; import {useIntl} from 'react-intl'; import {leaveCallConfirmation} from '@calls/actions/calls'; import {leaveAndJoinWithAlert, showLimitRestrictedAlert} from '@calls/alerts'; import {useTryCallsFunction} from '@call...
/content/code_sandbox/app/products/calls/components/channel_info_start/channel_info_start_button.tsx
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
962
```xml import React from 'react'; const icon = require('./typescript.svg'); export function TypeScript() { return <img alt="typescript" height="20" src={icon} width="20" />; } ```
/content/code_sandbox/packages/ui-components/src/components/Icons/DevsIcons/TypeScript.tsx
xml
2016-04-15T16:21:12
2024-08-16T09:38:01
verdaccio
verdaccio/verdaccio
16,189
42
```xml import { type EventSubscription } from 'expo-modules-core'; // Import the native module. On web, it will be resolved to <%- project.name %>.web.ts // and on native platforms to <%- project.name %>.ts import <%- project.moduleName %> from './src/<%- project.moduleName %>'; import <%- project.viewName %> from './...
/content/code_sandbox/packages/expo-module-template-local/index.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
231
```xml // Import required packages import { config } from 'dotenv'; import * as path from 'path'; import * as restify from 'restify'; import { INodeSocket } from 'botframework-streaming'; // Import required bot services. // See path_to_url to learn more about the different parts of a bot. import { CloudAdapter, ...
/content/code_sandbox/archive/samples/typescript_nodejs/58.teams-start-new-thread-in-channel/src/index.ts
xml
2016-09-20T16:17:28
2024-08-16T02:44:00
BotBuilder-Samples
microsoft/BotBuilder-Samples
4,323
661
```xml <vector xmlns:android="path_to_url" android:width="96dp" android:height="96dp" android:viewportWidth="96" android:viewportHeight="96"> <path android:pathData="M43.7363,23.8896 L79.1229,8.0571" android:strokeWidth="2.80324674" android:fillColor="#373737" android:strokeCol...
/content/code_sandbox/app/src/main/res/drawable/ic_recycling_small_electrical_appliances.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
3,122
```xml import * as dayjs from "dayjs"; import _ from "lodash"; import Form from "../containers/Form"; import React from "react"; import { FlexItem } from "../../common/styles"; import { formatValue, renderFullName, renderUserFullName, } from "@erxes/ui/src/utils"; import { IDonate } from "../types"; import { IDon...
/content/code_sandbox/packages/plugin-loyalties-ui/src/loyalties/donates/components/Row.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
791
```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="tr" original="../LocalizableSt...
/content/code_sandbox/src/Cli/dotnet/commands/dotnet-list/dotnet-list-package/xlf/LocalizableStrings.tr.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
1,551
```xml import React from 'react'; import { HeaderCell } from './HeaderCell'; import { Row } from './Row'; import { TableHead } from './TableHead'; import { TextAlign } from './types'; type TableHeadersProps = { headers: string[]; headersAlign?: TextAlign[]; }; export const TableHeaders = ({ headers, headersAlign...
/content/code_sandbox/docs/ui/components/Table/TableHeaders.tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
138
```xml declare interface ITinymceEditorWebPartStrings { PropertyPaneDescription: string; BasicGroupName: string; DescriptionFieldLabel: string; AppLocalEnvironmentSharePoint: string; AppLocalEnvironmentTeams: string; AppLocalEnvironmentOffice: string; AppLocalEnvironmentOutlook: string; AppSharePointEnv...
/content/code_sandbox/samples/react-sp-tinymce/src/webparts/tinymceEditor/loc/mystrings.d.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
127
```xml export type AutoUpdateMechanism = 'Webhook' | 'Interval'; export { type RelativePathModel } from './RelativePathFieldset/types'; export interface AutoUpdateResponse { /* Auto update interval */ Interval: string; /* A UUID generated from client */ Webhook: string; /* Force update ignores repo changes...
/content/code_sandbox/app/react/portainer/gitops/types.ts
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
568
```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>Label</key> <string>com.macports.zeek</string> <key>Username</key> <string>root</string> <key>ProgramArguments</key> <array> <string>%%PREFI...
/content/code_sandbox/net/zeek/files/org.macports.zeek.plist
xml
2016-10-09T00:31:44
2024-08-16T18:11:47
macports-ports
macports/macports-ports
1,499
156
```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/ALC892/Platforms18.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
3,266
```xml /* * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated, or distributed except accor...
/content/code_sandbox/commander/src/bootstrapping/commands/system/node-info.ts
xml
2016-02-01T21:45:35
2024-08-15T19:16:48
lisk-sdk
LiskArchive/lisk-sdk
2,721
284
```xml import * as React from 'react'; import { makeStyles, mergeClasses } from '@griffel/react'; import { tokens } from '@fluentui/react-components'; import { Form } from './Form'; export interface SidebarProps { className?: string; } const useStyles = makeStyles({ root: { display: 'flex', flexDirection:...
/content/code_sandbox/packages/react-components/theme-designer/src/components/Sidebar/Sidebar.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
179
```xml import vtkCompositeCameraManipulator, { ICompositeCameraManipulatorInitialValues, } from '../CompositeCameraManipulator'; import vtkCompositeMouseManipulator, { ICompositeMouseManipulatorInitialValues, } from '../CompositeMouseManipulator'; import { vtkObject } from '../../../interfaces'; export interface vt...
/content/code_sandbox/Sources/Interaction/Manipulators/MouseCameraTrackballZoomManipulator/index.d.ts
xml
2016-05-02T15:44:11
2024-08-15T19:53:44
vtk-js
Kitware/vtk-js
1,200
275
```xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="path_to_url"> <solid android:color="@color/color_schedule_blue"/> <corners android:bottomLeftRadius="@dimen/schedule_radius_size" android:topLeftRadius="@dimen/schedule_radius_size"/> </shape> ```
/content/code_sandbox/app/src/main/res/drawable/blue_schedule_left_block.xml
xml
2016-10-08T07:10:11
2024-08-14T08:22:32
Calendar
xiaojianglaile/Calendar
1,293
73
```xml angular .module('index') .controller('ClusterRoutesCtl', ClusterRoutesCtl); ClusterRoutesCtl.$inject = ['$scope', '$stateParams', 'ClusterService', 'toastr', 'AppUtil', 'ClusterType']; function ClusterRoutesCtl($scope, $stateParams, ClusterService, toastr, AppUtil, ClusterType) { $scope.clusterNam...
/content/code_sandbox/redis/redis-console/src/main/resources/static/scripts/controllers/ClusterRoutesCtl.ts
xml
2016-03-29T12:22:36
2024-08-12T11:25:42
x-pipe
ctripcorp/x-pipe
1,977
564
```xml import * as React from 'react'; import { connect } from 'react-redux'; import { LIGHT_MODE_TRANSPARENT } from '../ImageEditor'; import { ImageEditorStore, TilemapState, TileCategory } from '../store/imageReducer'; export interface MinimapProps { colors: string[]; tileset: pxt.TileSet; tilemap: pxt.s...
/content/code_sandbox/webapp/src/components/ImageEditor/tilemap/Minimap.tsx
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
694
```xml /* * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import * as fs from "node:fs"; import * as _ from "lodash-es"; import * as path from "node:path"; import { getLogger, log } from "extraterm-logging"; import { DebouncedDoLater } from "extraterm-timeoutqt";...
/content/code_sandbox/main/src/config/PersistentConfigDatabase.ts
xml
2016-03-04T12:39:59
2024-08-16T18:44:37
extraterm
sedwards2009/extraterm
2,501
1,088
```xml <resources> <string name="app_name">Visualize</string> <!-- COMPLETED (4) Add string for Settings --> <string name="action_settings">Settings</string> <!-- - - - - - - - - - - - - - - - - Used by Preferences - - - - - - - - - - - - - - - - --> <!-- Value in SharedPrefe...
/content/code_sandbox/Lesson06-Visualizer-Preferences/T06.01-Solution-SetupTheActivity/app/src/main/res/values/strings.xml
xml
2016-11-02T04:41:25
2024-08-12T19:38:05
ud851-Exercises
udacity/ud851-Exercises
2,039
172
```xml import "reflect-metadata" import { closeTestingConnections, createTestingConnections, reloadTestingDatabases, } from "../../utils/test-utils" import { DataSource } from "../../../src" import { Post } from "./entity/Post" import { expect } from "chai" import { EntityPropertyNotFoundError } from "../.....
/content/code_sandbox/test/other-issues/preventing-injection/preventing-injection.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
926
```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 /** * Copies elements to a new "generic" array after removing consecutive duplicated v...
/content/code_sandbox/lib/node_modules/@stdlib/array/base/to-deduped/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
313
```xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="path_to_url"> <gradient android:angle="315" android:startColor="@color/colorCyanPrimary" android:centerColor="@color/colorCyanPrimaryCenter" android:endColor="@color/black" /> </shape> ```
/content/code_sandbox/app/src/main/res/drawable/cyan_background.xml
xml
2016-02-02T05:18:46
2024-08-15T02:04:44
GanK
dongjunkun/GanK
1,163
71
```xml import type { ChangeEvent } from 'react'; import { c } from 'ttag'; import useLoading from '@proton/hooks/useLoading'; import { updatePromptPin } from '@proton/shared/lib/api/mailSettings'; import { DEFAULT_MAILSETTINGS } from '@proton/shared/lib/mail/mailSettings'; import { Toggle } from '../../components'; ...
/content/code_sandbox/packages/components/containers/security/PromptPinToggle.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
249
```xml import { initializeApp } from 'firebase/app'; import { GithubAuthProvider, connectAuthEmulator, getAuth, getRedirectResult, onAuthStateChanged, signInWithRedirect, signOut, } from 'firebase/auth'; import { firebaseConfig } from './config'; initializeApp(firebaseConfig); const auth = getAuth(); i...
/content/code_sandbox/auth/github-redirect.ts
xml
2016-04-26T17:13:48
2024-08-16T13:54:58
quickstart-js
firebase/quickstart-js
5,069
684
```xml <vector xmlns:android="path_to_url" android:width="240dp" android:height="160dp" android:viewportWidth="72" android:viewportHeight="48"> <path android:pathData="M0,0h72v48h-72z" android:fillColor="#009e60"/> <path android:pathData="M0,0h54v48h-54z" android:fillColor="#...
/content/code_sandbox/app/src/main/res/drawable/ic_flag_vc.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
253
```xml /* eslint-disable import/no-commonjs */ import * as React from 'react'; import { Animated, View, Image, Text, StyleSheet, ImageRequireSource, } from 'react-native'; import { TabView, SceneRendererProps } from 'react-native-tab-view'; type Route = { key: string; }; type Props = SceneRendererProps...
/content/code_sandbox/example/src/CoverflowExample.tsx
xml
2016-06-15T21:38:19
2024-08-14T13:07:59
react-native-tab-view
satya164/react-native-tab-view
5,135
942
```xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="path_to_url"> <corners android:radius="5dp" /> <solid android:color="#77000000" /> </shape> ```
/content/code_sandbox/app/src/main/res/drawable/shape_side_bar_bg.xml
xml
2016-09-06T10:17:59
2024-08-15T11:27:15
SuspensionIndexBar
mcxtzhang/SuspensionIndexBar
1,866
52
```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/env/scenario/sharding_and_encrypt/data/expected/dataset.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
15,654
```xml import { DisplayMode } from "@microsoft/sp-core-library"; export interface ICAccordionProps { tabs: any[]; displayMode: DisplayMode; guid: string; title: string; accordion:boolean; } ```
/content/code_sandbox/samples/react-tabacordion/src/webparts/tabAccordion/components/ICAccordionProps.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
52
```xml import { Scale } from '@fluentui/react-motion-components-preview'; import ScaleDescription from './ScaleDescription.md'; export { Default } from './ScaleDefault.stories'; export { Snappy } from './ScaleSnappy.stories'; export { Exaggerated } from './ScaleExaggerated.stories'; export { Customization } from './Sc...
/content/code_sandbox/packages/react-components/react-motion-components-preview/stories/src/Scale/index.stories.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
121
```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 iterExpit = require( './index' ); /** * Returns an iterator protocol-compliant object. * * @returns iterat...
/content/code_sandbox/lib/node_modules/@stdlib/math/iter/special/expit/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
328
```xml import { AvatarImg, FeedActions, HeaderFeed, NavItem, NewsFeedLayout, TextFeed, } from "../../styles"; import Dropdown from "react-bootstrap/Dropdown"; import DropdownToggle from "../../../common/DropdownToggle"; import Icon from "../../../common/Icon"; import ModalTrigger from "../../../common/Moda...
/content/code_sandbox/exm/modules/exmFeed/components/feed/ThankList.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
652
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>8.0.30703</Product...
/content/code_sandbox/tests/mmp-regression/link-remove-attributes-1/link-remove-attributes-1.csproj
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
843
```xml export default { SECURITY: {displayName: 'Security', id: 'SEC'}, GAS: {displayName: 'Gas & Economy', id: 'GAS'}, MISC: {displayName: 'Miscellaneous', id: 'MISC'}, ERC: {displayName: 'ERC', id: 'ERC'} } ```
/content/code_sandbox/remix-analyzer/src/solidity-analyzer/modules/categories.ts
xml
2016-04-11T09:05:03
2024-08-12T19:22:17
remix
ethereum/remix
1,177
67
```xml import {html, LitElement, css} from "lit"; import {customElement, property} from "lit/decorators.js"; import "@openremote/or-mwc-components/or-mwc-input"; import i18next from "i18next"; import {translate} from "@openremote/or-translate"; import "@openremote/or-mwc-components/or-mwc-input"; import {InputType, OrI...
/content/code_sandbox/ui/component/or-rules/src/json-viewer/forms/or-rule-form-push-notification.ts
xml
2016-02-03T11:14:02
2024-08-16T12:45:50
openremote
openremote/openremote
1,184
1,077
```xml import * as React from 'react'; import { DefaultButton } from '@fluentui/react/lib/Button'; import { Toggle } from '@fluentui/react/lib/Toggle'; import { ContextualMenuItemType, DirectionalHint, IContextualMenuProps, IContextualMenuItem, } from '@fluentui/react/lib/ContextualMenu'; import { Dropdown, IDr...
/content/code_sandbox/packages/react-examples/src/react/ContextualMenu/ContextualMenu.Directional.Example.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,111
```xml import type { BrowserOptions } from '@sentry/browser'; import { Integrations as SentryIntegrations, captureException, configureScope, init, makeFetchTransport, captureMessage as sentryCaptureMessage, } from '@sentry/browser'; import type { BrowserTransportOptions } from '@sentry/browser/t...
/content/code_sandbox/packages/shared/lib/helpers/sentry.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
2,250
```xml import { CharCellLine } from "extraterm-char-cell-line"; import { Font as FontFinderFont, ListOptions } from "font-finder"; export interface SubstitutionResult { index: number; contextRange: [number, number]; } /** * Information about ligatures found in a sequence of text */ export interface LigatureData...
/content/code_sandbox/packages/extraterm-font-ligatures/src/types.ts
xml
2016-03-04T12:39:59
2024-08-16T18:44:37
extraterm
sedwards2009/extraterm
2,501
542
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {FieldValidator} from 'final-form'; const promisifyValidator = ( validator: FieldValidator<string | undefined>, debounceTimeout: number, )...
/content/code_sandbox/operate/client/src/modules/utils/validators/promisifyValidator.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
132
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" xmlns:app="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.bilibili.magicasakura.widgets.TintToolbar android:id="@+id/toolbar"...
/content/code_sandbox/app/src/main/res/layout/fragment_common.xml
xml
2016-03-24T06:20:39
2024-08-15T11:37:10
remusic
aa112901/remusic
6,266
260
```xml import { useGetSolar } from 'api/getWeatherData'; import { useAtomValue, useSetAtom } from 'jotai'; import { useEffect, useMemo, useRef, useState } from 'react'; import { isSolarLayerEnabledAtom, solarLayerLoadingAtom } from 'utils/state/atoms'; import { stackBlurImageOpacity } from './stackBlurImageOpacity'; i...
/content/code_sandbox/web/src/features/weather-layers/solar/SolarLayer.tsx
xml
2016-05-21T16:36:17
2024-08-16T17:56:07
electricitymaps-contrib
electricitymaps/electricitymaps-contrib
3,437
1,501
```xml <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> <class>HelloWorldWidget</class> <comment> <!-- (See accompanying file LICENSE_1_0.txt or copy at path_to_url --> </comment> <widget class="QWidget"> <property name="name"> <cstring>HelloWorldWidget</cstring> </property> <property name="geo...
/content/code_sandbox/deps/boost_1_66_0/tools/build/example/qt/qt3/uic/hello_world_widget.ui
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
355
```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/mls/MLSMigration/MLSMigrationLogger.ts
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
112
```xml // Use to update maintenance state export class UpdateMaintenance { static readonly type = '[CDS] Update Maintenance'; constructor(public enable: boolean) { } } export class GetCDSStatus { static readonly type = '[CDS] Get CDS Status'; constructor() { } } ```
/content/code_sandbox/ui/src/app/store/cds.action.ts
xml
2016-10-11T08:28:23
2024-08-16T01:55:31
cds
ovh/cds
4,535
63
```xml /* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at path_to_url */ import {BackgroundSyncPlugin} from './BackgroundSyncPlugin.js'; import {Queue, QueueOptions} from './Queue.js'; import {QueueStore} from './QueueStore.js'; import {StorableRequest} fr...
/content/code_sandbox/packages/workbox-background-sync/src/index.ts
xml
2016-04-04T15:55:19
2024-08-16T08:33:26
workbox
GoogleChrome/workbox
12,245
205
```xml import { Version } from '@microsoft/sp-core-library'; import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base'; import { IPropertyPaneConfiguration, PropertyPaneTextField } from '@microsoft/sp-property-pane'; import { HttpClient, SPHttpClient, HttpClientConfiguration, HttpClientResponse, ODataVersi...
/content/code_sandbox/samples/js-gitHubBadge/src/webparts/gitHubBadge/GitHubBadgeWebPart.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
2,071
```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 * as React from "react"; import { HotkeysProvider, type HotkeysProviderProps } from "./hotkeys/hotkeysProvider"; import { ...
/content/code_sandbox/packages/core/src/context/blueprintProvider.tsx
xml
2016-10-25T21:17:50
2024-08-16T15:14:48
blueprint
palantir/blueprint
20,593
329
```xml /** * Cleans a URL by stripping the protocol, host, and search params. * * @param urlString the url to clean * @returns the cleaned url */ export function cleanURL(url: string | URL): URL { const u = new URL(url) u.host = 'localhost:3000' u.search = '' u.protocol = 'http' return u } ```
/content/code_sandbox/packages/next/src/server/route-modules/app-route/helpers/clean-url.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
82
```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 mgf = require( './index' ); // TESTS // // The function returns a number... { mgf( 2, 2, 4, 5 ); // $Ex...
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/triangular/mgf/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,585
```xml import { FC, MouseEventHandler } from 'react'; import { COLORS } from '@theme'; import { deriveIconSize, IconSize } from './helpers'; interface Props { fillColor?: string; size?: IconSize; onClick?: MouseEventHandler<SVGSVGElement>; } const AddIcon: FC<Props> = ({ fillColor = COLORS.BLUE_BRIGHT, size, ...
/content/code_sandbox/src/components/icons/AddIcon.tsx
xml
2016-12-04T01:35:27
2024-08-14T21:41:58
MyCrypto
MyCryptoHQ/MyCrypto
1,347
517
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- ~ 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 ...
/content/code_sandbox/test/it/parser/src/main/resources/case/dml/select-sub-query.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
9,218
```xml <?xml version="1.0" encoding="utf-8"?><HelpTOCNode Title="CSScriptLib" Url="html/3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm"><HelpTOCNode Title="CompileInfo Class" Url="html/aed98efc-048e-81bd-0174-d6d33d976047.htm" HasChildren="true" /><HelpTOCNode Title="CompilerException Class" Url="html/73d1f875-0f76-8ab8-10b1...
/content/code_sandbox/docs/help/toc/3bca438b-6a3b-acb6-218a-f07ec3aa462e.xml
xml
2016-01-16T05:50:23
2024-08-14T17:35:38
cs-script
oleg-shilo/cs-script
1,583
932
```xml import { inject, injectable, } from 'inversify'; import { ServiceIdentifiers } from '../../container/ServiceIdentifiers'; import * as ESTree from 'estree'; import { IEscapeSequenceEncoder } from '../../interfaces/utils/IEscapeSequenceEncoder'; import { IOptions } from '../../interfaces/options/IOptions'; impor...
/content/code_sandbox/src/node-transformers/finalizing-transformers/EscapeSequenceTransformer.ts
xml
2016-05-09T08:16:53
2024-08-16T19:43:07
javascript-obfuscator
javascript-obfuscator/javascript-obfuscator
13,358
663
```xml <vector xmlns:android="path_to_url" xmlns:tools="path_to_url" android:width="544dp" android:height="512dp" android:viewportWidth="544.0" android:viewportHeight="512.0" tools:keep="@drawable/fa_medrt"> <path android:fillColor="#FFFFFFFF" android:pathData="M1...
/content/code_sandbox/mobile/src/main/res/drawable/fa_medrt.xml
xml
2016-10-24T13:23:25
2024-08-16T07:20:37
freeotp-android
freeotp/freeotp-android
1,387
701
```xml import { render, screen, userEvent, within, } from '@testing-library/react-native'; import LiteCreditCardInput from '../LiteCreditCardInput'; describe('LiteCreditCardInput', () => { let onChange: ReturnType<typeof jest.fn>; let user: ReturnType<typeof userEvent.setup>; let cardInput: ReturnType<ty...
/content/code_sandbox/src/__tests__/LiteCreditCardInput.test.tsx
xml
2016-09-01T05:39:55
2024-08-13T14:23:48
react-native-credit-card-input
sbycrosz/react-native-credit-card-input
1,449
955
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net6.0;net8.0</TargetFrameworks> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> </PropertyGroup> <ItemGroup> <PackageReference Include="Amazon.Lambda.Core" Version="1.0.0" /> <PackageReference...
/content/code_sandbox/Tools/LambdaTestTool/tests/LambdaFunctions/ServerlessTemplateYamlExample/ServerlessTemplateYamlExample.csproj
xml
2016-11-11T20:43:34
2024-08-15T16:57:53
aws-lambda-dotnet
aws/aws-lambda-dotnet
1,558
145
```xml <?xml version="1.0" encoding="utf-8"?> <Theme xmlns="path_to_url"> <Window Width="485" Height="400" HexStyle="100a0000" FontId="0">#(loc.Caption)</Window> <Font Id="0" Height="-12" Weight="500" Foreground="000000" Background="FFFFFF">Segoe UI</Font> <Font Id="1" Height="-24" Weight="500" Foreground...
/content/code_sandbox/Source/src/WixSharp.Samples/Wix# Samples/Bootstrapper/WixBootstrapper/Theme.xml
xml
2016-01-16T05:51:01
2024-08-16T12:26:25
wixsharp
oleg-shilo/wixsharp
1,077
2,535
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:pathData="M21 9V7h-2v2zM9 5V3H7v2zM5 21h14c1.1 0 2-0.9 2-2v-3c0-0.55-0.45-1-1-1s-1 0.45-1 1v2c0 0.55-0.45 1-1 1H6c-0.55 0-1-0.45-1-1v-2c0-0.55-0.45-1-1-1s-1 0.4...
/content/code_sandbox/app/src/main/res/drawable/ic_flip_vertically_vector.xml
xml
2016-02-16T21:17:13
2024-08-16T15:29:22
Simple-Gallery
SimpleMobileTools/Simple-Gallery
3,580
361
```xml <UserControl x:Class="Aurora.Settings.Control_ProfileManager" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:mc="path_to_url" xmlns:d="path_to_url" xmlns:local="clr-namespace:Aurora.Settings" mc:Ignorable="d" d:DesignH...
/content/code_sandbox/Project-Aurora/Project-Aurora/Settings/Control_ProfileManager_old.xaml
xml
2016-04-04T05:18:18
2024-08-03T10:11:45
Aurora
antonpup/Aurora
1,824
421
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <note> <to>Users</to> <from>Mark</from> <heading>Reminder</heading> <body>Don't forget PHPSpreadsheet Security!</body> </note> ```
/content/code_sandbox/tests/data/Reader/Xml/SecurityScannerWithCallbackExample.xml
xml
2016-06-19T16:58:48
2024-08-16T14:51:45
PhpSpreadsheet
PHPOffice/PhpSpreadsheet
13,180
64
```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. --> <LinearLayout xmlns:android="path_to_url" xmlns:app="path_to_url" an...
/content/code_sandbox/bottomsheetpickers/src/main/res/layout-land/bsp_dialog_time_picker_grid.xml
xml
2016-10-06T01:20:05
2024-08-05T10:12:07
BottomSheetPickers
philliphsu/BottomSheetPickers
1,101
442
```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 /// <reference types="node"/> /// <reference types="@stdlib/types"/> import { Readabl...
/content/code_sandbox/lib/node_modules/@stdlib/random/streams/rayleigh/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
2,608
```xml <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="path_to_url" xmlns:activiti="path_to_url" targetNamespace="Examples"> <process id="historicProcessLocalization" name="Historic Process Name"> <documentation>Historic Process Description</documentation> <startEvent id="theStart" /> ...
/content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/api/history/HistoricProcessInstanceQueryTest.testLocalization.bpmn20.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
162
```xml export default class Utilities { private static validExtensions: string[] = ["csv", "doc", "docx", "odp", "ods", "odt", "pot", "potm", "potx", "pps", "ppsx", "ppsxm", "ppt", "pptm", "pptx", "rtf", "xls", "xlsx"]; public static getFileExtension(fileName: string) { if (fileName.indexOf('.') > 0) { c...
/content/code_sandbox/samples/react-teams-graph-upload-as-pdf/src/services/Utilities.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
242
```xml import { Column, Entity, PrimaryGeneratedColumn, TableInheritance, } from "../../../../src" @Entity() @TableInheritance({ column: { type: String, name: "type" } }) export class Contact { @PrimaryGeneratedColumn() id: number @Column() userId: number @Column() value: stri...
/content/code_sandbox/test/github-issues/7065/entity/Contact.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
78
```xml import * as React from 'react'; import cx from 'classnames'; import { createSvgIcon } from '../utils/createSvgIcon'; import { iconClassNames } from '../utils/iconClassNames'; export const MeetingNewIcon = createSvgIcon({ svg: ({ classes }) => ( <svg style={{ overflow: 'visible' }} role="presen...
/content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/MeetingNewIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,189
```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. --> <resources> <string name="material_slider_range_start">Oraliq boshi</string> <s...
/content/code_sandbox/lib/java/com/google/android/material/slider/res/values-uz/strings.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
120
```xml import { ImageLoadState } from '@fluentui/react'; import type { ISlotProp } from '@fluentui/foundation-legacy'; import type { IPersonaCoinProps } from '../PersonaCoin.types'; export type IPersonaCoinImageSlot = ISlotProp<IPersonaCoinImageProps>; export interface IPersonaCoinImageProps { src?: string; class...
/content/code_sandbox/packages/react-experiments/src/components/PersonaCoin/PersonaCoinImage/PersonaCoinImage.types.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
137
```xml import { Channel } from './channel'; /** * This class represents a null channel. */ export class NullChannel extends Channel { /** * Subscribe to a channel. */ subscribe(): any { // } /** * Unsubscribe from a channel. */ unsubscribe(): void { // } ...
/content/code_sandbox/src/channel/null-channel.ts
xml
2016-04-30T01:56:59
2024-08-14T13:07:58
echo
laravel/echo
1,153
266
```xml import { EnvironmentId } from '@/react/portainer/environments/types'; import { TagId } from '@/portainer/tags/types'; export interface FormValues { name: string; dynamic: boolean; environmentIds: EnvironmentId[]; partialMatch: boolean; tagIds: TagId[]; } ```
/content/code_sandbox/app/react/edge/edge-groups/components/EdgeGroupForm/types.tsx
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
63
```xml import { type FC } from 'react'; import { c } from 'ttag'; import { Button } from '@proton/atoms/Button'; import createItemArrow from '@proton/pass/assets/b2b-onboarding/create-arrow.svg'; export const OnboardingArrow: FC = () => { return ( <div className="relative flex flex-nowrap items-end"> ...
/content/code_sandbox/packages/pass/components/Onboarding/Panel/OnboardingArrow.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
137
```xml import { IReadonlyTheme } from "@microsoft/sp-component-base"; import { DisplayMode } from "@microsoft/sp-core-library"; export interface IListItemsMenuProps { title: string; listId:string; listBaseTemplate:number; fieldName:string; locale:string; themeVariant: IReadonlyTheme | undefined; onConfig...
/content/code_sandbox/samples/react-list-items-menu/src/components/IListItemsMenuProps.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
99
```xml import type { Disposable } from 'vscode'; import { MarkdownString, TreeItem, TreeItemCollapsibleState } from 'vscode'; import { GlyphChars } from '../../../constants'; import type { GitUri } from '../../../git/gitUri'; import { getHighlanderProviders } from '../../../git/models/remote'; import type { RepositoryC...
/content/code_sandbox/src/views/nodes/abstract/repositoryFolderNode.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
1,700
```xml import * as React from 'react'; import { mount } from '@cypress/react'; import type {} from '@cypress/react'; import { FluentProvider } from '@fluentui/react-provider'; import { webLightTheme } from '@fluentui/react-theme'; import { MoreHorizontalRegular, MoreHorizontalFilled, bundleIcon } from '@fluentui/react-...
/content/code_sandbox/packages/react-components/react-breadcrumb/library/src/components/Breadcrumb/BreadcrumbWithMenu.cy.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,593
```xml import {IScope} from '../program'; import {CodeTemplate, CTemplateBase} from '../template'; import {CString} from './literals'; import {RegexBuilder, RegexMachine, RegexState, RegexStateTransition, isRangeCondition} from '../regex'; import {CExpression} from './expressions'; @CodeTemplate(` struct regex_match_s...
/content/code_sandbox/src/nodes/regexfunc.ts
xml
2016-07-24T23:05:37
2024-08-12T19:23:59
ts2c
andrei-markeev/ts2c
1,252
1,786