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 export { Button, type ButtonProps, type ButtonSizeEnum, type ButtonThemeEnum, type ButtonVariantEnum } from './button'; export { AsyncButton, type AsyncButtonProps } from './async-button'; ```
/content/code_sandbox/packages/insomnia/src/ui/components/themed-button/index.ts
xml
2016-04-23T03:54:26
2024-08-16T16:50:44
insomnia
Kong/insomnia
34,054
43
```xml import { Directive } from '@angular/core'; import { AbstractControl, NG_VALIDATORS, ValidationErrors, Validator } from '@angular/forms'; @Directive({ selector: '[appComparePassword]', providers: [{ provide: NG_VALIDATORS, useExisting: PasswordMismatchValidatorDirective, multi: true }], }) export class Passw...
/content/code_sandbox/frontend_v2/src/app/Directives/password.validator.ts
xml
2016-10-21T00:51:45
2024-08-16T14:41:56
EvalAI
Cloud-CV/EvalAI
1,736
143
```xml export interface IHomeProps { description: string; } ```
/content/code_sandbox/samples/react-dev-radar/src/webparts/home/components/IHomeProps.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
13
```xml <?xml version="1.0"?> <package > <metadata> <id>Microsoft.MixedReality.Toolkit.Extensions</id> <version>$version$</version> <authors>Microsoft</authors> <owners>Microsoft,MixedReality</owners> <projectUrl>path_to_url <iconUrl>path_to_url <description>Extension services and component...
/content/code_sandbox/Assets/MRTK/Extensions/MixedReality.Toolkit.Extensions.nuspec
xml
2016-01-28T18:54:58
2024-08-14T07:41:40
MixedRealityToolkit-Unity
microsoft/MixedRealityToolkit-Unity
5,995
362
```xml <vector xmlns:android="path_to_url" xmlns:tools="path_to_url" android:width="512dp" android:height="512dp" android:viewportWidth="512.0" android:viewportHeight="512.0" tools:keep="@drawable/fa_keycdn"> <path android:fillColor="#FFFFFFFF" android:pathData="M...
/content/code_sandbox/mobile/src/main/res/drawable/fa_keycdn.xml
xml
2016-10-24T13:23:25
2024-08-16T07:20:37
freeotp-android
freeotp/freeotp-android
1,387
1,249
```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>SchemeUserState</key> <dict> <key>Where.xcscheme</key> <dict> <key>orderHint</key> <integer>0</integer> </dict> </dict> <key>SuppressBuildableAutocreation</...
/content/code_sandbox/Project 06 - FindMyLocation/Where.xcodeproj/xcuserdata/Allen.xcuserdatad/xcschemes/xcschememanagement.plist
xml
2016-02-13T14:02:12
2024-08-16T09:41:59
30DaysofSwift
allenwong/30DaysofSwift
11,506
270
```xml import React from 'react'; type IconProps = React.SVGProps<SVGSVGElement>; export declare const IcCheckmark: (props: IconProps) => React.JSX.Element; export {}; ```
/content/code_sandbox/packages/icons/lib/icCheckmark.d.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
43
```xml import postcss from 'postcss'; import { IStyleSheetProps } from '../../config/IStylesheetProps'; import { Context } from '../../core/context'; import { IModule } from '../../moduleResolver/module'; import { cssDevModuleRender, ICSSModuleRender } from '../../stylesheet/cssDevModuleRender'; import { IStyleSheetPro...
/content/code_sandbox/src/plugins/core/shared.ts
xml
2016-10-28T10:37:16
2024-07-27T15:17:43
fuse-box
fuse-box/fuse-box
4,003
862
```xml import type { ApplyNotificationAPI, ApplyRequestAPI, ClientAPIDef, ClientSideMethods, Logger, MessageConnection, RpcAPI, ServerAPIDef, ServerSideMethods, } from 'json-rpc-api'; import { createClientApi, createServerApi } from 'json-rpc-api'; import type { RequestResult, ...
/content/code_sandbox/packages/webview-api/src/api.ts
xml
2016-05-16T10:42:22
2024-08-16T02:29:06
vscode-spell-checker
streetsidesoftware/vscode-spell-checker
1,377
624
```xml export interface ICascadingManagedMetadataProps { termSetId: string; } ```
/content/code_sandbox/samples/react-graph-cascading-managed-metadata/src/webparts/cascadingManagedMetadata/components/ICascadingManagedMetadataProps.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
18
```xml declare const process: any; function openFileInEditor(file: string, lineNumber: number) { if (process.env.NODE_ENV !== 'production') { // TODO: This is not a great URL since it now blocks users from accessing the `/open-stack-frame` url in their router // ideally it would be something like `/_devtools...
/content/code_sandbox/packages/@expo/metro-runtime/src/error-overlay/modules/openFileInEditor/index.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
130
```xml import React from 'react'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import { Stack, useBreakpointValue, Avatar, Button } from 'rsuite'; import DefaultPage from '@/components/Page'; import ImportGuide from '@/components/ImportGuide'; const inDocsComponents = { 'import-guide':...
/content/code_sandbox/docs/pages/components/use-breakpoint-value/index.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
139
```xml import "./index.scss"; async function main(){ const foo = await import("./components/FooComponent") const bar = await import("./components/BarComponent"); document.getElementById("root").innerHTML = ` <div class="foo">${foo.default}</div> <div class="bar">${bar.default}</div> ` ...
/content/code_sandbox/playground/hmrTest/src/index.ts
xml
2016-10-28T10:37:16
2024-07-27T15:17:43
fuse-box
fuse-box/fuse-box
4,003
72
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <array> <dict> <key>datas</key> <array> <dict> <key>image</key> <string>p1-11</string> <key>subImage</key> <string>p1-12</string> <key>templateIndex</key> ...
/content/code_sandbox/TangramKitDemo/FloatLayoutDemo/FOLTest2DataModel.plist
xml
2016-10-27T07:21:02
2024-08-09T08:57:35
TangramKit
youngsoft/TangramKit
1,203
2,419
```xml 'use strict'; export enum DiagnosticCodes { InvalidEnvironmentPathVariableDiagnostic = 'InvalidEnvironmentPathVariableDiagnostic', InvalidDebuggerTypeDiagnostic = 'InvalidDebuggerTypeDiagnostic', NoPythonInterpretersDiagnostic = 'NoPythonInterpretersDiagnostic', MacInterpreterSelected = 'MacInt...
/content/code_sandbox/src/client/application/diagnostics/constants.ts
xml
2016-01-19T10:50:01
2024-08-12T21:05:24
pythonVSCode
DonJayamanne/pythonVSCode
2,078
282
```xml // See LICENSE.txt for license information. import DatabaseManager from '@database/manager'; import NetworkManager from '@managers/network_manager'; import websocketManager from '@managers/websocket_manager'; import {getBookmarksSince, getChannelBookmarkById} from '@queries/servers/channel_bookmark'; import {ge...
/content/code_sandbox/app/actions/remote/channel_bookmark.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
835
```xml import { Ast, AstFormat, AstByFormat } from '../syntax/index.js'; export interface ParserContext { parse<T extends AstFormat>(code: string, fileName: string, formatOverride?: T): Promise<AstByFormat[T]>; } export type Parser<T extends Ast = Ast> = (text: string, fileName: string, context: ParserContext) => P...
/content/code_sandbox/packages/instrumenter/src/parsers/parser-context.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
80
```xml import { styled } from '@storybook/core/theming'; import { headerCommon, withReset } from '../lib/common'; export const H4 = styled.h4(withReset, headerCommon, ({ theme }) => ({ fontSize: `${theme.typography.size.s3}px`, })); ```
/content/code_sandbox/code/core/src/components/components/typography/elements/H4.tsx
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
57
```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. --> <selector xmlns:android="path_to_url"> <item android:alpha="0.24" android:color="...
/content/code_sandbox/lib/java/com/google/android/material/slider/res/color/m3_slider_halo_color_legacy.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
115
```xml // luma.gl import {Geometry} from '../geometry/geometry'; import {uid} from '../utils/uid'; export type SphereGeometryProps = { id?: string; radius?: number; nlat?: number; nlong?: number; attributes?: any; }; // Primitives inspired by TDL path_to_url // (path_to_url export class SphereGeometry exte...
/content/code_sandbox/modules/engine/src/geometries/sphere-geometry.ts
xml
2016-01-25T09:41:59
2024-08-16T10:03:05
luma.gl
visgl/luma.gl
2,280
944
```xml import { Component } from '@angular/core'; import { LocalDataSource } from 'ng2-smart-table'; @Component({ selector: 'basic-example-source', template: ` <input #search class="search" type="text" placeholder="Search..." (keydown.enter)="onSearch(search.value)"> <ng2-smart-table [settings]="settings"...
/content/code_sandbox/projects/demo/src/app/pages/examples/filter/basic-example-source.component.ts
xml
2016-08-10T10:25:51
2024-08-05T21:57:53
ng2-smart-table
akveo/ng2-smart-table
1,631
812
```xml import { PropsWithChildren } from 'react'; import { useWidgetContext } from './Widget'; export function WidgetFooter({ children }: PropsWithChildren<unknown>) { useWidgetContext(); return <div className="widget-footer">{children}</div>; } ```
/content/code_sandbox/app/react/components/Widget/WidgetFooter.tsx
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
54
```xml import { random, lorem } from 'faker/locale/en'; import { subDays, isAfter } from 'date-fns'; import { randomDate, weightedArrayElement, weightedBoolean } from './utils'; import type { Db } from './types'; export const generateReviews = (db: Db): Review[] => { const today = new Date(); const aMonthAgo ...
/content/code_sandbox/examples/data-generator/src/reviews.ts
xml
2016-07-13T07:58:54
2024-08-16T18:32:27
react-admin
marmelab/react-admin
24,624
451
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- Notwithstanding anything to the contrary herein, any previous version of Tencent GT shall not be subject to the license hereunder. All right, title, and interest, including all intellectual property rights, in and to the previous version of Tencent GT (i...
/content/code_sandbox/android/GT_APP/app/src/main/res/values/arrays.xml
xml
2016-01-13T10:29:55
2024-08-13T06:40:00
GT
Tencent/GT
4,384
202
```xml <Project xmlns="path_to_url"> <!-- ************************************************************************* This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PA...
/content/code_sandbox/packages/Microsoft.VSSDK.BuildTools.14.3.25407/tools/vssdk/Microsoft.VsSDK.Cpp.targets
xml
2016-04-24T09:50:47
2024-08-16T11:45:14
ILRuntime
Ourpalm/ILRuntime
2,976
513
```xml <test> <substitutions> <substitution> <name>datetime_transform</name> <values> <value>toSecond</value> <value>toMinute</value> <value>toHour</value> <value>toDayOfMonth</value> <value>toDayOfYear</value> ...
/content/code_sandbox/tests/performance/date_time_long.xml
xml
2016-06-02T08:28:18
2024-08-16T18:39:33
ClickHouse
ClickHouse/ClickHouse
36,234
1,449
```xml import test from 'ava'; import toElectronBackgroundColor from '../../app/utils/to-electron-background-color'; import {isHexColor} from '../testUtils/is-hex-color'; test('toElectronBackgroundColor', (t) => { t.false(false); }); test(`returns a color that's in hex`, (t) => { const hexColor = '#BADA55'; co...
/content/code_sandbox/test/unit/to-electron-background-color.test.ts
xml
2016-07-01T06:01:21
2024-08-16T16:05:22
hyper
vercel/hyper
43,095
241
```xml import { WebPartContext } from "@microsoft/sp-webpart-base"; import * as microsoftTeams from '@microsoft/teams-js'; export interface IGraphCalendarProps { limit: number; showRecurrence: boolean; context: WebPartContext; teamsContext: microsoftTeams.Context; } ```
/content/code_sandbox/samples/react-graph-calendar/src/webparts/graphCalendar/components/IGraphCalendarProps.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
64
```xml import React from 'react'; import { getTextFromChildren } from './withAnchor'; describe(getTextFromChildren, () => { it('returns simple child text', () => { expect(getTextFromChildren('Hello')).toBe('Hello'); }); it('returns text from child element', () => { expect(getTextFromChildren(<span>Hell...
/content/code_sandbox/docs/ui/components/Text/withAnchor.test.tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
136
```xml <Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\buildtools\common.props" /> <PropertyGroup> <TargetFrameworks>netstandard2.0;netcoreapp3.1;net8.0</TargetFrameworks> <Description>Amazon Lambda .NET Core support - KinesisEvents package.</Description> <AssemblyTitle>Amazon.Lambda.Kines...
/content/code_sandbox/Libraries/src/Amazon.Lambda.KinesisEvents/Amazon.Lambda.KinesisEvents.csproj
xml
2016-11-11T20:43:34
2024-08-15T16:57:53
aws-lambda-dotnet
aws/aws-lambda-dotnet
1,558
322
```xml export enum RouteType { Onboarding = 'onboarding', Settings = 'settings', Purchase = 'purchase', AcceptSubscriptionInvite = 'accept-subscription-invite', UserRequest = 'user-request', Demo = 'demo', AppViewRoute = 'route', None = 'none', } ```
/content/code_sandbox/packages/ui-services/src/Route/RouteType.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
67
```xml import type { TypedDocumentNode } from "@apollo/client"; import { gql } from "@apollo/client"; import { getClient } from "./client.ts"; const QUERY: TypedDocumentNode<{ products: { id: string; title: string; }[]; }> = gql` query { products { id title } } `; export default as...
/content/code_sandbox/integration-tests/next/src/app/page.tsx
xml
2016-02-26T20:25:00
2024-08-16T10:56:57
apollo-client
apollographql/apollo-client
19,304
137
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="recovery_menu_debug">Debug</string> <string name="recovery_menu_save">Save</string> <string name="recovery_restart_clear">Restart and clear</string> <string name="recovery_restart">Restart</string> <string name="recovery_recover...
/content/code_sandbox/recovery/src/main/res/values-en/strings.xml
xml
2016-09-04T08:13:19
2024-08-16T05:29:55
Recovery
Sunzxyong/Recovery
1,705
262
```xml import * as React from 'react'; import { makeStyles, Button, Caption1, tokens, Text } from '@fluentui/react-components'; import { MoreHorizontal20Regular } from '@fluentui/react-icons'; import { Card, CardHeader, CardPreview, CardProps } from '@fluentui/react-components'; const resolveAsset = (asset: string) =>...
/content/code_sandbox/packages/react-components/react-card/stories/src/Card/CardSelectable.stories.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
595
```xml import type LOAD_STATUS from './utils/loadStatus'; import type { Locale } from '../config-provider/interface'; import type { MountContainer } from '../utils/dom'; export interface ImageObject { src: string; originSrc: string; } export type Images = Array<Partial<ImageObject> & { loaded?: LOAD_STATUS }>; e...
/content/code_sandbox/packages/zarm/src/image-preview/interface.ts
xml
2016-07-13T11:45:37
2024-08-12T19:23:48
zarm
ZhongAnTech/zarm
1,707
159
```xml import test from 'ava' import { promises as fs } from 'fs' import path from 'path' import proxyquire from 'proxyquire' import { PackageManagerInterface } from '../app/javascripts/Main/Packages/PackageManagerInterface' import { AppName } from '../app/javascripts/Main/strings' import { ensureDirectoryExists, readJ...
/content/code_sandbox/packages/desktop/test/packageManager.spec.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
1,173
```xml import * as compose from "lodash.flowright"; import { gql } from "@apollo/client"; import ProductForm from "../../components/product/ProductForm"; import React from "react"; import { AppConsumer } from "coreui/appContext"; import { graphql } from "@apollo/client/react/hoc"; import { IProduct } from "@erxes/ui-pr...
/content/code_sandbox/packages/ui-purchases/src/purchases/containers/product/ProductForm.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
545
```xml import * as MetaProviderPlugins from './meta'; import * as StreamProviderPlugins from './stream'; import * as LyricsProviderPlugins from './lyrics'; export const config = { plugins: { metaProviders: MetaProviderPlugins, streamProviders: StreamProviderPlugins, lyricsProviders: LyricsProviderPlugins...
/content/code_sandbox/packages/core/src/plugins/config.ts
xml
2016-09-22T22:58:21
2024-08-16T15:47:39
nuclear
nukeop/nuclear
11,862
68
```xml import "@styles/index.css"; function MyApp({ Component, pageProps }) { return <Component {...pageProps} />; } export default MyApp; ```
/content/code_sandbox/examples/cms-dotcms/pages/_app.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
30
```xml // Nintendo's "TPL" ("Texture PaLette") format. import * as GX from '../gx/gx_enum.js'; import * as GX_Texture from '../gx/gx_texture.js'; import ArrayBufferSlice from "../ArrayBufferSlice.js"; import { assert } from "../util.js"; export interface TPLTexture extends GX_Texture.TextureInputGX { wrapS: GX....
/content/code_sandbox/src/PaperMarioTTYD/tpl.ts
xml
2016-10-06T21:43:45
2024-08-16T17:03:52
noclip.website
magcius/noclip.website
3,206
880
```xml export let toggleController = ['$scope', function($scope){ if (angular.isFunction($scope.checked)) { $scope.ngModel = !!$scope.checked(); } this.toggle = function() { if (angular.isFunction($scope.disabled) && $scope.disabled()) return; $scope.ngModel = !$scope.ngModel; } }] expo...
/content/code_sandbox/src/scripts/directives/checkbox.ts
xml
2016-06-18T15:04:41
2024-08-16T07:12:27
Electorrent
tympanix/Electorrent
1,016
338
```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>BuildMachineOSBuild</key> <string>23E224</string> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>TSBackgroundFetch</st...
/content/code_sandbox/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_x86_64-maccatalyst/TSBackgroundFetch.framework/Resources/Info.plist
xml
2016-08-01T18:44:54
2024-08-14T15:07:53
react-native-background-fetch
transistorsoft/react-native-background-fetch
1,459
489
```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 /** * Tests if two double-precision floating-point numbers are the same value. * * ## ...
/content/code_sandbox/lib/node_modules/@stdlib/number/float64/base/assert/is-same-value-zero/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
283
```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/framework/test/unit/engine/network/lookup_peers_ips.spec.ts
xml
2016-02-01T21:45:35
2024-08-15T19:16:48
lisk-sdk
LiskArchive/lisk-sdk
2,721
407
```xml import { combineReducers, Reducer } from 'redux'; import webpartReducer, { IWebpartState } from './webpart'; export interface IState { webpart: IWebpartState; } export const rootReducer: Reducer<IState> = combineReducers<IState>({ webpart: webpartReducer }); ```
/content/code_sandbox/samples/react-redux/src/webparts/reactRedux/reducers/index.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
66
```xml // // // Microsoft Bot Framework: path_to_url // // Bot Framework Emulator Github: // path_to_url // // All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software witho...
/content/code_sandbox/packages/sdk/ui-react/src/widget/button/linkButton.tsx
xml
2016-11-11T23:15:09
2024-08-16T12:45:29
BotFramework-Emulator
microsoft/BotFramework-Emulator
1,803
655
```xml import React from 'react'; import type { StoryObj } from '@storybook/react'; import Divider, { DividerProps } from '../Divider'; import { createMeta } from '@/storybook/utils'; import '../styles/index.less'; const meta = createMeta(Divider); export default { title: 'Components/Divider', ...meta }; type St...
/content/code_sandbox/src/Divider/stories/Divider.stories.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
225
```xml import { useState } from "react"; import useSWR from "swr"; import { API_REFRESH_INTERVAL_MS } from "../../../common/constants"; import { getClusterMetadata } from "../../../service/global"; export const useClusterDetail = () => { const [msg, setMsg] = useState("Loading the job detail"); const [refreshing, ...
/content/code_sandbox/python/ray/dashboard/client/src/pages/node/hook/useClusterDetail.ts
xml
2016-10-25T19:38:30
2024-08-16T19:46:34
ray
ray-project/ray
32,670
180
```xml import { ContentType, ThirdPartyFeatureDescription } from '@standardnotes/snjs' import Button from '@/Components/Button/Button' import { Fragment, FunctionComponent } from 'react' import { Title, Text, Subtitle } from '@/Components/Preferences/PreferencesComponents/Content' import PreferencesSegment from '../../...
/content/code_sandbox/packages/web/src/javascripts/Components/Preferences/Panes/Plugins/InstallCustom/ConfirmCustomPlugin.tsx
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
420
```xml <manifest xmlns:android="path_to_url" package="com.pepperoniapptemplate" android:versionCode="1" android:versionName="1.0"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-sdk android:m...
/content/code_sandbox/android/app/src/main/AndroidManifest.xml
xml
2016-04-13T15:16:58
2024-08-08T17:07:34
pepperoni-app-kit
futurice/pepperoni-app-kit
4,636
251
```xml <vector xmlns:android="path_to_url" android:width="48dp" android:height="48dp" android:viewportWidth="48" android:viewportHeight="48"> <path android:fillColor="#008262" android:pathData="M24,24m-20,0a20,20 0,1 1,40 0a20,20 0,1 1,-40 0" /> <path android:fillColor="#...
/content/code_sandbox/shared/original-core-ui/src/main/res/drawable/ic_select_folder.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
173
```xml /** * Most type annotations in this file are not strictly necessary but are * included for this example. * * To run this example execute the following commands to install typescript, * transpile the code, and start the server: * * npm i -g typescript * tsc examples/typescript-server.ts --target es6 --mod...
/content/code_sandbox/examples/typescript-server.ts
xml
2016-09-28T19:10:14
2024-08-16T19:06:24
fastify
fastify/fastify
31,648
521
```xml import _ from 'lodash' import React, { useState } from 'react' import { Clipboard, View } from 'react-native' export interface EnterpriseSetupModalProps { showBackButton: boolean } import { useReduxState } from '../../hooks/use-redux-state' import * as selectors from '../../redux/selectors' import { sharedSt...
/content/code_sandbox/packages/components/src/components/modals/EnterpriseSetupModal.tsx
xml
2016-11-30T23:24:21
2024-08-16T00:24:59
devhub
devhubapp/devhub
9,652
514
```xml import { Injectable } from "@angular/core"; import { MemberAccessReportModel } from "../model/member-access-report.model"; import { memberAccessReportsMock } from "./member-access-report.mock"; @Injectable({ providedIn: "root" }) export class MemberAccessReportApiService { getMemberAccessData(): MemberAcces...
/content/code_sandbox/bitwarden_license/bit-web/src/app/tools/reports/member-access-report/services/member-access-report-api.service.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
77
```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="@stdlib/types"/> import * as random from '@stdlib/types/random'...
/content/code_sandbox/lib/node_modules/@stdlib/random/strided/lognormal/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,159
```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 zeros = require( '@stdlib/ndarray/zeros' ); import flags = require( './index' ); // TESTS // // The func...
/content/code_sandbox/lib/node_modules/@stdlib/ndarray/flags/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
275
```xml import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; // import component import { OurTeamComponent } from './our-team.component'; // import module import { OurTeamRoutingModule } from './our-team-routing.module'; import { SharedModule } from '../../shared/shared.module'; @...
/content/code_sandbox/frontend_v2/src/app/components/our-team/our-team.module.ts
xml
2016-10-21T00:51:45
2024-08-16T14:41:56
EvalAI
Cloud-CV/EvalAI
1,736
100
```xml import React from 'react'; import { ItemDataType, WithAsProps } from '@/internals/types'; import { useClassNames, useCustom } from '@/internals/hooks'; import { getPathTowardsItem } from '@/internals/Tree/utils'; import SearchBox from '@/internals/SearchBox'; import Highlight from '../Highlight'; interface Sear...
/content/code_sandbox/src/CascadeTree/SearchView.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
788
```xml import * as React from 'react'; import * as strings from 'DashBoardWebPartStrings'; import { tokens } from '@fluentui/react-components'; import { DocumentBulletListMultiple24Filled } from '@fluentui/react-icons'; import { MgtTemplateProps, } from '@microsoft/mgt-react/dist/es6/MgtTemplateProps'; import { No...
/content/code_sandbox/samples/react-my-dashboard/src/src/components/myFiles/NoDataTemplate.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
179
```xml import React from 'dom-chef'; import {$} from 'select-dom'; import * as pageDetect from 'github-url-detection'; import delegate, {DelegateEvent} from 'delegate-it'; import features from '../feature-manager.js'; import GitHubFileURL from '../github-helpers/github-file-url.js'; function handleMenuOpening({delega...
/content/code_sandbox/source/features/more-file-links.tsx
xml
2016-02-15T16:45:02
2024-08-16T18:39:26
refined-github
refined-github/refined-github
24,013
351
```xml import { RTSConfig } from '@proton/docs-proto' export const MAX_DOC_SIZE = 25_000_000 export const MAX_UPDATE_SIZE = RTSConfig.MAX_DU_SIZE ```
/content/code_sandbox/packages/docs-core/lib/Models/Constants.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
39
```xml <resources> <string name="app_name">TelegramGallery</string> </resources> ```
/content/code_sandbox/app/src/main/res/values/strings.xml
xml
2016-08-19T07:19:28
2024-08-06T22:06:55
TelegramGallery
TangXiaoLv/TelegramGallery
1,325
20
```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 /** * Tests if a value is a 1-dimensional ndarray-like object whose underlying data ty...
/content/code_sandbox/lib/node_modules/@stdlib/assert/is-float32vector-like/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
261
```xml import { workspace, window, commands, debug, ExtensionContext, ConfigurationScope, StatusBarItem, StatusBarAlignment, QuickPickItem } from "vscode"; import { AdapterSettings } from './novsc/adapterMessages'; import { getExtensionConfig } from "./main"; export class AdapterSettingManager { status: StatusBarI...
/content/code_sandbox/extension/adapterSettings.ts
xml
2016-01-11T06:37:39
2024-08-16T11:30:30
codelldb
vadimcn/codelldb
2,468
1,311
```xml import React from 'react' import classnames from 'classnames' type InputButtonProps = { "data-wd-key"?: string "aria-label"?: string onClick?(...args: unknown[]): unknown style?: object className?: string children?: React.ReactNode disabled?: boolean type?: typeof HTMLButtonElement.prototype.typ...
/content/code_sandbox/src/components/InputButton.tsx
xml
2016-09-08T17:52:22
2024-08-16T12:54:23
maputnik
maplibre/maputnik
2,046
207
```xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="path_to_url" package="github.nisrulz.example.usingstetho"> <application android:name=".MyApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" and...
/content/code_sandbox/UsingStetho/app/src/main/AndroidManifest.xml
xml
2016-02-25T11:06:48
2024-08-07T21:41:59
android-examples
nisrulz/android-examples
1,747
172
```xml #import "RNPermissionHandlerCalendars.h" #import <EventKit/EventKit.h> @implementation RNPermissionHandlerCalendars + (NSArray<NSString *> * _Nonnull)usageDescriptionKeys { return @[@"NSCalendarsFullAccessUsageDescription"]; } + (NSString * _Nonnull)handlerUniqueId { return @"ios.permission.CALENDARS"; }...
/content/code_sandbox/ios/Calendars/RNPermissionHandlerCalendars.mm
xml
2016-03-24T16:33:42
2024-08-15T16:56:05
react-native-permissions
zoontek/react-native-permissions
4,008
363
```xml #import "RNPermissionHandlerLocationAccuracy.h" #import <CoreLocation/CoreLocation.h> @interface RNPermissionHandlerLocationAccuracy() <CLLocationManagerDelegate> @property (nonatomic, strong) CLLocationManager *locationManager; @property (nonatomic, strong) void (^resolve)(RNPermissionStatus status); @proper...
/content/code_sandbox/ios/LocationAccuracy/RNPermissionHandlerLocationAccuracy.mm
xml
2016-03-24T16:33:42
2024-08-15T16:56:05
react-native-permissions
zoontek/react-native-permissions
4,008
690
```xml import { vtkObject } from '../../../interfaces'; import { RGBColor, Size } from '../../../types'; import vtkActor2D from '../Actor2D'; import vtkProp from '../Prop'; export interface IViewportInitialValues { background?: RGBColor; background2?: RGBColor; gradientBackground?: boolean; viewport?: number[]...
/content/code_sandbox/Sources/Rendering/Core/Viewport/index.d.ts
xml
2016-05-02T15:44:11
2024-08-15T19:53:44
vtk-js
Kitware/vtk-js
1,200
1,555
```xml import { ReadonlyMat4, ReadonlyVec3, vec3 } from "gl-matrix"; import { GfxrAttachmentSlot, GfxrGraphBuilder, GfxrRenderTargetID } from "../render/GfxRenderGraph.js"; import { GfxRenderInst } from "../render/GfxRenderInstManager.js"; import { GfxRenderDynamicUniformBuffer } from "../render/GfxRenderDynamicUnifor...
/content/code_sandbox/src/gfx/helpers/DebugDraw.ts
xml
2016-10-06T21:43:45
2024-08-16T17:03:52
noclip.website
magcius/noclip.website
3,206
5,525
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> ...
/content/code_sandbox/05_ReplaceSpaces/05_ReplaceSpaces.vcxproj
xml
2016-11-21T05:04:57
2024-08-14T04:03:23
CodingInterviewChinese2
zhedahht/CodingInterviewChinese2
5,289
1,719
```xml <!-- or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file path_to_url Unless required by applicable law or agreed to in writing, "AS IS" BASIS, WITHOUT WARRANTIES ...
/content/code_sandbox/tests/integration/src/test/resources/pulsar-loadbalance.xml
xml
2016-06-28T07:00:03
2024-08-16T17:12:43
pulsar
apache/pulsar
14,047
160
```xml <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="path_to_url"> <LinearLayout android:id="@+id/appData" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="2dp"> <include ...
/content/code_sandbox/app/src/main/res/layout/app_data_layout.xml
xml
2016-02-01T23:48:36
2024-08-15T03:35:42
TagMo
HiddenRamblings/TagMo
2,976
631
```xml import handler from "@payloadcms/next-payload/dist/handlers/graphql"; export default handler; export const config = { api: { externalResolver: true, }, }; ```
/content/code_sandbox/examples/cms-payload/pages/api/graphql.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
39
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import { FlowNodeInstanceDto, FlowNodeInstancesDto, } from 'modules/api/fetchFlowNodeInstances'; import {mockPostRequest} from './mockRequest'; c...
/content/code_sandbox/operate/client/src/modules/mocks/api/fetchFlowNodeInstances.ts
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
114
```xml // This file processes data from path_to_url import lite = require('caniuse-lite') import { CSSFeature, CSSPrefixMap, CSSProperty, Engine, JSFeature, PrefixData, Support, SupportMap } from './index' const enum StatusCode { Almost = 'a', Disabled = 'd', No = 'n', Polyfill = 'p', Prefix = 'x', Unknow...
/content/code_sandbox/compat-table/src/caniuse.ts
xml
2016-06-14T16:08:50
2024-08-16T20:02:02
esbuild
evanw/esbuild
37,820
1,183
```xml <material type="lit"> <shader name="vertex">vertex/staticmesh.cg</shader> <shader name="fragment">fragment/simple_uniform_colors.cg</shader> <blending> true <srcBlendFunc>ONE</srcBlendFunc> <dstBlendFunc>ONE</dstBlendFunc> </blending> <variables> <float4 name="diffuseColor">0.5 0.5 0.5 ...
/content/code_sandbox/PhysX_3.4/Media/SampleRenderer/4/materials/simple_lit_uniform_alpha.xml
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
142
```xml export const types = ` `; const commonFormSubmissionsTypes = ` cardId: String, cardType: String, riskAssessmentId: String, userId: String, fieldId: String, indicatorId: String, formSubmissions:JSON, branchId:String, departmentId:String, operationId:String, `; export cons...
/content/code_sandbox/packages/plugin-riskassessment-api/src/graphql/schema/formSubmissions.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
110
```xml import { Path } from 'slate' export const input = { path: [], another: [0, 1], } export const test = ({ path, another }) => { return Path.isSibling(path, another) } export const output = false ```
/content/code_sandbox/packages/slate/test/interfaces/Path/isSibling/above.tsx
xml
2016-06-18T01:52:42
2024-08-16T18:43:42
slate
ianstormtaylor/slate
29,492
56
```xml #!/usr/bin/env -S node --no-warnings --loader ts-node/esm /** * Wechaty Chatbot SDK - path_to_url * * @copyright 2016 Huan LI () <path_to_url and * Wechaty Contributors <path_to_url * * * path_to_url * * Unless required by applicable law or agreed to in writing, software *...
/content/code_sandbox/tests/electron.spec.ts
xml
2016-05-01T14:36:45
2024-08-16T17:27:03
wechaty
wechaty/wechaty
19,828
155
```xml export enum StringSeparator { Comma = ',', Dot = '.', VerticalLine = '|' } ```
/content/code_sandbox/src/enums/StringSeparator.ts
xml
2016-05-09T08:16:53
2024-08-16T19:43:07
javascript-obfuscator
javascript-obfuscator/javascript-obfuscator
13,358
24
```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/kernel/global-clock/type/tso/spi/pom.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
269
```xml /* * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import { BulkFileMetadata, BulkFileState, Disposable, Event } from "@extraterm/extraterm-extension-api"; export interface BulkFile { // TODO: Maybe this interface should have a "writeable" sub-interfac...
/content/code_sandbox/main/src/bulk_file_handling/BulkFile.ts
xml
2016-03-04T12:39:59
2024-08-16T18:44:37
extraterm
sedwards2009/extraterm
2,501
168
```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 /** * Returns a standalone package name associated with a specified alias. * * @param ...
/content/code_sandbox/lib/node_modules/@stdlib/namespace/alias2standalone/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
143
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {makeAutoObservable} from 'mobx'; import {processXmlStore as processXmlMigrationSourceStore} from 'modules/stores/processXml/processXml.migrati...
/content/code_sandbox/operate/client/src/modules/stores/autoMapping.ts
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
450
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent"> <android.opengl.GLSurfaceView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/glVi...
/content/code_sandbox/app/src/main/res/layout/activity_light.xml
xml
2016-10-13T11:00:20
2024-08-16T11:51:59
AndroidOpenGLDemo
doggycoder/AndroidOpenGLDemo
2,220
272
```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 flignerTest = require( './index' ); // TESTS // // The function returns a test result object... { let x...
/content/code_sandbox/lib/node_modules/@stdlib/stats/fligner-test/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,059
```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>BuildMachineOSBuild</key> <string>15E65</string> <key>CFBundleIdentifier</key> <string>org.rehabman.injector.FakePCIID-Intel-GbX</string> <key>CFBundleInfoDictionaryVe...
/content/code_sandbox/Clover-Configs/Acer/E1-570/CLOVER/kexts/10.11/FakePCIID_Intel_GbX.kext/Contents/Info.plist
xml
2016-11-05T04:22:54
2024-08-12T19:25:53
Hackintosh-Installer-University
huangyz0918/Hackintosh-Installer-University
3,937
698
```xml import * as React from 'react'; import { MessageBarContextValues, MessageBarState } from './MessageBar.types'; export function useMessageBarContextValue_unstable(state: MessageBarState): MessageBarContextValues { const { layout, actionsRef, bodyRef, titleId } = state; const messageBarContext = React.useMem...
/content/code_sandbox/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarContextValues.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
123
```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 import Complex64 = require( '@stdlib/complex/float32/ctor' ); /** * Tests whether two...
/content/code_sandbox/lib/node_modules/@stdlib/complex/float32/base/assert/is-same-value-zero/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
280
```xml import { watch } from '../../utils'; /** * Executes the build process, watching for file changes and rebuilding the test environment. */ export = watch('build.test'); ```
/content/code_sandbox/tools/tasks/seed/watch.test.ts
xml
2016-01-27T07:12:46
2024-08-15T11:32:04
angular-seed-advanced
NathanWalker/angular-seed-advanced
2,261
34
```xml import _debug from 'debug' const debug = _debug('peercalls') export function getBrowserFeatures() { const audioWorklets = typeof AudioContext === 'function' && typeof AudioContext.prototype.createMediaStreamSource === 'function' && typeof AudioWorklet === 'function' && typeof AudioWorklet.pro...
/content/code_sandbox/src/client/features.ts
xml
2016-03-31T22:41:02
2024-08-12T19:22:09
peer-calls
peer-calls/peer-calls
1,365
345
```xml #!/usr/bin/env node // Purpose: This AWS Cloud Development Kit (AWS CDK) app // creates the following AWS resources: // // * A bucket in Amazon Simple Storage Service (Amazon S3). // // You can run this app instead of running equivalent AWS SDK for Ruby // code examples elsewhere in this repository, such as: //...
/content/code_sandbox/resources/cdk/s3-ruby-example-create-bucket/s3-ruby-example-create-bucket.ts
xml
2016-08-18T19:06:57
2024-08-16T18:59:44
aws-doc-sdk-examples
awsdocs/aws-doc-sdk-examples
9,298
878
```xml <UserControl x:Class="IntelligentKioskSample.Controls.OverallStatsControl" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:local="using:IntelligentKioskSample.Controls" xmlns:d="path_to_url" xmlns:mc="path_to_url" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" x...
/content/code_sandbox/Kiosk/Controls/OverallStatsControl.xaml
xml
2016-06-09T17:19:24
2024-07-17T02:43:08
Cognitive-Samples-IntelligentKiosk
microsoft/Cognitive-Samples-IntelligentKiosk
1,049
536
```xml import * as React from 'react'; import { getIntrinsicElementProps, useMergedRefs, slot } from '@fluentui/react-utilities'; import { useModalAttributes } from '@fluentui/react-tabster'; import { usePopoverContext_unstable } from '../../popoverContext'; import type { PopoverSurfaceProps, PopoverSurfaceState } from...
/content/code_sandbox/packages/react-components/react-popover/library/src/components/PopoverSurface/usePopoverSurface.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
793
```xml import * as React from 'react'; import { Steps } from 'storywright'; import { getStoryVariant, RTL, StoryWrightDecorator, TestWrapperDecorator } from '../utilities'; import { List } from '@fluentui/react'; /* eslint-disable @fluentui/max-len */ const items = [ { thumbnail: '//fabricweb.azureedge.net/fabri...
/content/code_sandbox/apps/vr-tests/src/stories/List.stories.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,534
```xml import { colors, dimensions } from '@erxes/ui/src/styles'; import { ActionButtons } from '@erxes/ui-settings/src/styles'; import styled from 'styled-components'; import styledTS from 'styled-components-ts'; const FolderItemRow = styledTS<{ $isActive?: boolean; }>(styled.li)` position: relative; backgroun...
/content/code_sandbox/packages/plugin-filemanager-ui/src/components/folder/styles.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
576
```xml import { replaceVersionInPref } from '../lib/replaceVersionInPref' test('replaceVersionInPref()', () => { expect(replaceVersionInPref('^1.0.0', '1.1.0')).toBe('1.1.0') expect(replaceVersionInPref('npm:foo@^1.0.0', '1.1.0')).toBe('npm:foo@1.1.0') expect(replaceVersionInPref('npm:@foo/bar@^1.0.0', '1.1.0'))...
/content/code_sandbox/pkg-manager/resolve-dependencies/test/replaceVersionInPref.test.ts
xml
2016-01-28T07:40:43
2024-08-16T12:38:47
pnpm
pnpm/pnpm
28,869
199
```xml import { Meta, Title, Links, Main, Scripts, FirstChunkCache } from 'ice'; function Document() { return ( <html> <head> <meta charSet="utf-8" /> <meta name="description" content="ICE 3.0 Demo" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <M...
/content/code_sandbox/examples/with-first-chunk-cache-ssr/src/document.tsx
xml
2016-11-03T06:59:15
2024-08-16T10:11:29
ice
alibaba/ice
17,815
133
```xml import { ACTION_TYPES } from '../constants'; export interface AddGroupAction { type: typeof ACTION_TYPES.ADD_GROUP; id: number; value: string; active: boolean; disabled: boolean; } export declare const addGroup: ({ value, id, active, disabled, }: { id: number; value: string; activ...
/content/code_sandbox/public/types/src/scripts/actions/groups.d.ts
xml
2016-03-15T14:02:08
2024-08-15T07:08:50
Choices
Choices-js/Choices
6,092
96