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 <resources> <string name="app_name">AndroidCameraXOpenCV</string> </resources> ```
/content/code_sandbox/Android/AndroidCameraXOpenCV/app/src/main/res/values/strings.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
23
```xml import deepFreeze from 'deep-freeze-strict'; import { type BlankNode } from './BlankNode'; import getSafeOwnPropertyNames from './getSafeOwnPropertyNames'; import isBlankNode from './isBlankNode'; import isUnconnectedBlankNode from './isUnconnectedBlankNode'; import visitOnce from './visitOnce'; function deref...
/content/code_sandbox/packages/component/src/Utils/JSONLinkedData/dereferenceBlankNodes.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
626
```xml import {SubModule} from "./submodule/SubModule.js"; import {Module} from "@tsed/di"; import {M1Ctrl1} from "./controllers/M1Ctrl1.js"; @Module({ mount: { "/m1": [M1Ctrl1] }, imports: [SubModule] }) export class Module1 {} ```
/content/code_sandbox/packages/platform/common/src/utils/__mock__/module1/Module1.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
73
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="Pango" version="5" kateversion="2.4" section="Markup" extensions="" mimetype="" author="Jonathan Schmidt-Domnin &lt;devel@the-user.org&gt;" license="LGPL" priority="10"> <highlighting> <!-- NOTE: Currently, all keyw...
/content/code_sandbox/src/data/extra/syntax-highlighting/syntax/pango.xml
xml
2016-10-05T07:24:54
2024-08-16T05:03:40
vnote
vnotex/vnote
11,687
4,748
```xml import React, { FunctionComponent, useCallback, useState } from "react"; import { graphql } from "relay-runtime"; import { useFetch, useLocal } from "coral-framework/lib/relay"; import { Spinner } from "coral-ui/components/v2"; import { NotificationsListFetchQueryResponse } from "coral-stream/__generated__/Not...
/content/code_sandbox/client/src/core/client/stream/tabs/Notifications/NotificationsListQuery.tsx
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
388
```xml import type { ReactNode } from 'react'; import { type FC, useMemo } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import type { Dispatch } from 'redux'; import { c } from 'ttag'; import { Checkbox } from '@proton/components/components'; import { SettingsPanel } from '@proton/pass/compon...
/content/code_sandbox/applications/pass-extension/src/lib/components/Settings/Behaviors.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,743
```xml import { ISPFxAdaptiveCard, BaseAdaptiveCardQuickView, IActionArguments } from "@microsoft/sp-adaptive-card-extension-base"; import { IHolidayViewAdaptiveCardExtensionProps, IHolidayViewAdaptiveCardExtensionState } from "../HolidayViewAdaptiveCardExtension"; export interface IQuickViewData { holidayTitle: st...
/content/code_sandbox/samples/react-holidays-calendar/src/adaptiveCardExtensions/holidayView/quickView/ItemSuccessQuickView.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
267
```xml import {MemoryStream} from 'xstream'; import {div, span, input, VNode} from '@cycle/dom'; import {State} from './model'; import styles from './styles'; const zeroWidthSpace = '\u200B'; function renderLeftBracket(state: State): VNode { return div(`.leftBracket.${styles.leftBracket}`, { key: `leftBracket${...
/content/code_sandbox/src/Matrix/view.ts
xml
2016-09-13T13:33:31
2024-08-15T13:43:45
matrixmultiplication.xyz
staltz/matrixmultiplication.xyz
1,129
1,222
```xml <vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="15" android:viewportWidth="15" android:width="34.0dp"> <path android:fillColor="@android:color/white" android:pathData="M2.55 11.76L2 9L3 8.45L3 4C3 3.45 3.45 3 4 3L11 3C11.55 3 12 3.45...
/content/code_sandbox/app/src/main/res/drawable/ic_preset_temaki_ferry.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
761
```xml // See LICENSE.txt for license information. import React from 'react'; import {View} from 'react-native'; import Markdown from '@components/markdown'; import {makeStyleSheetFromTheme} from '@utils/theme'; type Props = { channelId: string; location: string; theme: Theme; value: string; } const...
/content/code_sandbox/app/components/post_list/post/body/content/embedded_bindings/embed_title.tsx
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
306
```xml import { Route, Routes, useLocation } from "react-router-dom"; import React from "react"; import asyncComponent from "modules/common/components/AsyncComponent"; import queryString from "query-string"; const Profile = asyncComponent( () => import(/* webpackChunkName: "Settings - Profile" */ "./containers/...
/content/code_sandbox/packages/core-ui/src/modules/settings/profile/routes.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
138
```xml import * as React from 'react'; import gql from 'graphql-tag'; export default class extends React.Component<{}, {}> { public render() { return <div />; } } export const pageQuery = gql` query IndexQuery { site { siteMetadata { title } } } `; // export const pageQuery = ...
/content/code_sandbox/packages/load/tests/loaders/schema/test-files/12.tsx
xml
2016-03-22T00:14:38
2024-08-16T02:02:06
graphql-tools
ardatan/graphql-tools
5,331
107
```xml import * as React from "react"; import {styled, withWrapper} from "styletron-react"; const Foo = styled("div", {color: "red"}); const Bar = withWrapper(Foo, StyledComponent => props => ( <div> <StyledComponent {...props} /> </div> )); <Bar />; ```
/content/code_sandbox/packages/typescript-type-tests/src/with-wrapper.tsx
xml
2016-04-01T00:00:06
2024-08-14T21:28:45
styletron
styletron/styletron
3,317
69
```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 /* eslint-disable max-lines */ import fromBinaryStringUint8 = require( '@stdlib/numbe...
/content/code_sandbox/lib/node_modules/@stdlib/number/uint8/base/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
695
```xml import { ChooseBox, FileUpload, FlexContainer } from '../../styles'; import React, { useState } from 'react'; import DynamicForm from './DynamicForm'; import { IFile } from '../../types'; import Icon from '@erxes/ui/src/components/Icon'; import ModalTrigger from '@erxes/ui/src/components/ModalTrigger'; import S...
/content/code_sandbox/packages/plugin-filemanager-ui/src/components/file/FileForm.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
711
```xml import React, { Component } from 'react'; import { StyleSheet, View, ActivityIndicator, Keyboard, TextInput, EmitterSubscription, } from 'react-native'; import { defaultTheme, renderNode } from '../helpers'; import { Input, InputProps } from '../Input'; import { Icon } from '../Icon'; import { Search...
/content/code_sandbox/packages/base/src/SearchBar/SearchBar-android.tsx
xml
2016-09-08T14:21:41
2024-08-16T10:11:29
react-native-elements
react-native-elements/react-native-elements
24,875
1,218
```xml import chalk from 'chalk'; export function time(label?: string): void { console.time(label); } export function timeEnd(label?: string): void { console.timeEnd(label); } export function error(...message: string[]): void { console.error(...message); } /** Print an error and provide additional info (the s...
/content/code_sandbox/packages/expo-updates/cli/src/utils/log.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
321
```xml import {Component, inject} from '@angular/core'; import {Overlay} from '@angular/cdk/overlay'; import {ScrollingModule} from '@angular/cdk/scrolling'; @Component({ selector: 'block-scroll-strategy-e2e', templateUrl: 'block-scroll-strategy-e2e.html', styleUrl: 'block-scroll-strategy-e2e.css', standalone:...
/content/code_sandbox/src/e2e-app/components/block-scroll-strategy/block-scroll-strategy-e2e.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
117
```xml <?xml version="1.0"?> <?xml-model href="path_to_url" schematypens="path_to_url"?> <package format="3"> <name>realsense2_description</name> <version>4.55.1</version> <description>RealSense description package for Intel 3D D400 cameras</description> <maintainer email="librs.ros@intel.com">LibRealSense ROS ...
/content/code_sandbox/realsense2_description/package.xml
xml
2016-02-23T23:52:58
2024-08-15T13:59:39
realsense-ros
IntelRealSense/realsense-ros
2,479
262
```xml import { differenceInMilliseconds } from "date-fns"; import { Op } from "sequelize"; import { IntegrationService, IntegrationType } from "@shared/types"; import { Minute } from "@shared/utils/time"; import { Document, Integration, Collection, Team } from "@server/models"; import BaseProcessor from "@server/queue...
/content/code_sandbox/plugins/slack/server/processors/SlackProcessor.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
893
```xml import chalk from 'chalk'; import { EOL } from 'os'; /** Console message colors used in the test. */ export const errorMessageColors = { // Colors for the defaultErrorMessage section. testErrorText: chalk.yellow, testErrorName: chalk.white, testErrorInfo: chalk.green, testErrorPath: chalk.green.italic...
/content/code_sandbox/packages/react-conformance/src/utils/errorMessages.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
561
```xml <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="path_to_url"> <include layout="@layout/bsp_date_picker_navigation_bar" /> <com.philliphsu.bottomsheetpickers.date.DayPickerViewAnimator android:id="@+id/bsp_month_animator" android:layout_width="match_parent" android:l...
/content/code_sandbox/bottomsheetpickers/src/main/res/layout/bsp_day_picker_content.xml
xml
2016-10-06T01:20:05
2024-08-05T10:12:07
BottomSheetPickers
philliphsu/BottomSheetPickers
1,101
202
```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> <ProjectConfi...
/content/code_sandbox/PhysX_3.4/Source/compiler/vc14win32/PhysXCommon.vcxproj
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
14,390
```xml import { noop } from 'lodash'; import { c } from 'ttag'; import { type LockAdapter, LockMode } from '@proton/pass/lib/auth/lock/types'; import type { AuthService } from '@proton/pass/lib/auth/service'; import { getOfflineComponents, getOfflineKeyDerivation } from '@proton/pass/lib/cache/crypto'; import { decryp...
/content/code_sandbox/packages/pass/lib/auth/lock/password/adapter.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,489
```xml import SelectCompanies from '@erxes/ui-contacts/src/companies/containers/SelectCompanies'; import SelectCustomers from '@erxes/ui-contacts/src/customers/containers/SelectCustomers'; import { ControlLabel, EmptyState, FormGroup, __ } from '@erxes/ui/src'; import React from 'react'; type Props = { type: string; ...
/content/code_sandbox/packages/core-ui/src/modules/contacts/automations/components/SelectRecipients.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
280
```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 isNegativeIntegerArray = require( './index' ); // TESTS // // The function returns a boolean... { isNeg...
/content/code_sandbox/lib/node_modules/@stdlib/assert/is-negative-integer-array/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
397
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>library</OutputType> <TargetFrameworks>net7.0;net6.0</TargetFrameworks> <RootNamespace>XOutput</RootNamespace> <PackageId>XOutput.Core</PackageId> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.Win32.Regi...
/content/code_sandbox/XOutput.Core/XOutput.Core.csproj
xml
2016-11-22T21:13:16
2024-08-16T10:35:33
XOutput
csutorasa/XOutput
1,103
119
```xml // See LICENSE.txt for license information. import React from 'react'; import {Preferences} from '@constants'; import {renderWithEverything} from '@test/intl-test-helper'; import TestHelper from '@test/test_helper'; import OptionListRow from '.'; import type Database from '@nozbe/watermelondb/Database'; des...
/content/code_sandbox/app/screens/integration_selector/option_list_row/index.test.tsx
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
236
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="14F1509" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> <dependencies> ...
/content/code_sandbox/Itsycal/Base.lproj/MainMenu.xib
xml
2016-01-27T17:33:22
2024-08-15T14:10:35
Itsycal
sfsam/Itsycal
3,278
1,085
```xml import type { expect } from 'vitest'; interface AsymmetricMatchers { toEqualCaseInsensitive(expected: string): string; } export function extendExpect(e: typeof expect): AsymmetricMatchers { e.extend({ toEqualCaseInsensitive(actual, expected) { if (typeof actual !== 'string' || typeo...
/content/code_sandbox/packages/_server/src/test/test.matchers.ts
xml
2016-05-16T10:42:22
2024-08-16T02:29:06
vscode-spell-checker
streetsidesoftware/vscode-spell-checker
1,377
158
```xml export default { placeholder: '', cancelText: '', }; ```
/content/code_sandbox/packages/zarm/src/search-bar/locale/zh_CN.ts
xml
2016-07-13T11:45:37
2024-08-12T19:23:48
zarm
ZhongAnTech/zarm
1,707
14
```xml import * as React from 'react'; import { render } from '@testing-library/react'; import { DialogBody } from './DialogBody'; import { isConformant } from '../../testing/isConformant'; import type { DialogBodyProps } from './DialogBody.types'; describe('DialogBody', () => { isConformant<DialogBodyProps>({ C...
/content/code_sandbox/packages/react-components/react-dialog/library/src/components/DialogBody/DialogBody.test.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
147
```xml <?xml version="1.0" encoding="UTF-8"?> <document filename='bm_us-002-reg.xml'> <table id='1'> <region id='1' page='1'> <instruction instr-id='184'/> <instruction instr-id='184' subinstr-id='2'/> <instruction instr-id='184' subinstr-id='4'/> <instruction instr-id='184'...
/content/code_sandbox/tests/files/tabula/icdar2013-dataset/competition-dataset-us/us-002-reg.xml
xml
2016-06-18T11:48:49
2024-08-15T18:32:02
camelot
atlanhq/camelot
3,628
16,577
```xml import { Alert } from "@erxes/ui/src/utils"; import { BoardItemWrapper } from "../styles"; import BoardSelect from "@erxes/ui-tickets/src/boards/containers/BoardSelect"; import Common from "@erxes/ui-automations/src/components/forms/actions/Common"; import { IAction } from "@erxes/ui-automations/src/types"; impo...
/content/code_sandbox/packages/plugin-tickets-ui/src/automations/components/BoardItemForm.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,510
```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. export const description = "Analyze property chain #27"; const defaultsForThing = { config: { x: "x", y: "y" } }; function getX() { retu...
/content/code_sandbox/sdk/nodejs/tests/runtime/testdata/closure-tests/cases/149-Analyze-property-chain-27/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
113
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup> <Filter Include=".."> <UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier> </Filter> <Filter Include="..\.."> <UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA...
/content/code_sandbox/third_party/WebKit/Source/bindings/modules/v8/bindings_modules_v8_generated_aggregate.vcxproj.filters
xml
2016-09-27T03:41:10
2024-08-16T10:42:57
miniblink49
weolar/miniblink49
7,069
224
```xml import 'reflect-metadata'; import { SendVerificationEmailErrors } from '@accounts/password'; import { AccountsJsError } from '@accounts/server'; import request from 'supertest'; import accountsExpress from '../../../src/express-middleware'; import express from 'express'; function getApp(accountsServer: any, pat...
/content/code_sandbox/packages/rest-express/__tests__/endpoints/password/verify-email.ts
xml
2016-10-07T01:43:23
2024-07-14T11:57:08
accounts
accounts-js/accounts
1,492
929
```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> <parent> <groupId>com.yahoo.vespa</groupId> <artifactId>parent</artifactId> <version>8-SNAPSHOT</version> <r...
/content/code_sandbox/client/pom.xml
xml
2016-06-03T20:54:20
2024-08-16T15:32:01
vespa
vespa-engine/vespa
5,524
413
```xml import { addCustomerToCampaign } from './add-customer-to-campaign' import { addCustomerToList } from './add-customer-to-list' import { getAllCampaigns } from './get-all-campaigns' import { getAllLists } from './get-all-lists' import { sendMassEmailCampaign } from './send-mass-email-campaign' export default { ...
/content/code_sandbox/integrations/mailchimp/src/actions/index.ts
xml
2016-11-16T21:57:59
2024-08-16T18:45:35
botpress
botpress/botpress
12,401
103
```xml <!-- *********************************************************************************************** Microsoft.NET.RuntimeIdentifierInference.targets WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have created a backup copy. Incorrect changes to this file will make i...
/content/code_sandbox/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
4,768
```xml <?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersi...
/content/code_sandbox/SwiftyMarkdown.xcodeproj/SwiftyMarkdownTests_Info.plist
xml
2016-03-05T09:09:08
2024-08-12T07:21:37
SwiftyMarkdown
SimonFairbairn/SwiftyMarkdown
1,621
236
```xml import React from 'react'; import { Text, Button, StyleSheet, ViewStyle, TextStyle } from 'react-native'; import { NavigationProps } from 'react-native-navigation'; import Root from '../components/Root'; import { GlobalContext, Context } from '../context'; export default class ContextScreen extends React.Compon...
/content/code_sandbox/playground/src/screens/ContextScreen.tsx
xml
2016-03-11T11:22:54
2024-08-15T09:05:44
react-native-navigation
wix/react-native-navigation
13,021
283
```xml import React, { FunctionComponent } from "react"; import { PropTypesOf } from "coral-framework/types"; import DecisionHistoryItemContainer from "./DecisionHistoryItemContainer"; import DecisionList from "./DecisionList"; import Empty from "./Empty"; import Main from "./Main"; import ShowMoreButton from "./Show...
/content/code_sandbox/client/src/core/client/admin/App/DecisionHistory/DecisionHistory.tsx
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
272
```xml import { join } from 'path'; import { env } from '../../env'; import { FuseBoxLogAdapter } from '../../fuseLog/FuseBoxLogAdapter'; import { createTestContext, mockWriteFile } from '../../utils/test_utils'; import { getEssentialWebIndexParams, replaceWebIndexStrings } from '../webIndex'; const fileMock = mockWrit...
/content/code_sandbox/src/webIndex/__tests__/webIndex.test.ts
xml
2016-10-28T10:37:16
2024-07-27T15:17:43
fuse-box
fuse-box/fuse-box
4,003
599
```xml import React, {useEffect, useRef, useState} from 'react'; import {Modal} from '../../Library/View/Modal'; import {Logger} from '../../Library/Infra/Logger'; import styled from 'styled-components'; import {ScrollView} from '../../Library/View/ScrollView'; import {LogView} from './LogView'; import {View} from '../...
/content/code_sandbox/src/Renderer/Fragment/Log/LoggerFragment.tsx
xml
2016-05-10T12:55:31
2024-08-11T04:32:50
jasper
jasperapp/jasper
1,318
351
```xml import { Button, Table } from '@erxes/ui/src'; import React from 'react'; import { TableContainer } from '../../../../styles'; import { ILottery } from '../../types'; interface IProps { lists: ILottery[]; } class WinnersAwardList extends React.Component<IProps> { constructor(props) { super(props); } ...
/content/code_sandbox/packages/plugin-loyalties-ui/src/loyalties/lotteries/components/award/winnerlist.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
210
```xml import { ChangeDetectionStrategy, Component } from '@angular/core'; import { TreeNode } from 'primeng/api'; import { Code } from '@domain/code'; import { NodeService } from '@service/nodeservice'; interface Column { field: string; header: string; } @Component({ selector: 'sort-single-column-doc', ...
/content/code_sandbox/src/app/showcase/doc/treetable/sortsinglecolumndoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
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. */ // TypeScript Version: 4.1 /// <reference types="@stdlib/types"/> import * as random from '@stdlib/types/random'...
/content/code_sandbox/lib/node_modules/@stdlib/random/strided/rayleigh/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,371
```xml <UserControl x:Class="Telegram.Controls.Messages.MessageEffectMenuFlyout" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:local="using:Telegram.Controls.Messages" xmlns:common="using:Telegram.Common" xmlns:controls="using:Telegram.Controls" ...
/content/code_sandbox/Telegram/Controls/Messages/MessageEffectMenuFlyout.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
1,042
```xml namespace pxt.storage { interface IStorage { removeItem(key: string): void; getItem(key: string): string; setItem(key: string, value: string): void; clear(): void; } class MemoryStorage implements IStorage { type: "memory"; items: pxt.Map<string> = {};...
/content/code_sandbox/pxtlib/localStorage.ts
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
1,357
```xml import React, { useCallback } from "react"; import { Button, Col, Row, Switch, Typography, Tooltip } from "antd"; import config from "../../../config"; import { EVENT, sendEvent } from "../../events"; interface PopupHeaderProps { isExtensionEnabled: boolean; handleToggleExtensionStatus: () => void; } const...
/content/code_sandbox/browser-extension/common/src/popup/components/Popup/PopupHeader.tsx
xml
2016-12-01T04:36:06
2024-08-16T19:12:19
requestly
requestly/requestly
2,121
387
```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"> <parent> <groupId>io.debezium</groupId> <artifactId>debezium-build-parent</artifactId> <version>3.0.0-SNAPSHOT</version> <relativePath>../.....
/content/code_sandbox/support/ide-configs/pom.xml
xml
2016-01-22T20:17:05
2024-08-16T13:42:33
debezium
debezium/debezium
10,320
180
```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/util/isDetachedCallingFeatureEnabled.ts
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
142
```xml /* */ import { expect, test } from '@jupyterlab/galata'; import { readFile } from 'fs/promises'; import { isBlank, isValidJSON } from './utils'; const licenseFormats = [ { name: 'Markdown', extension: 'md', validation: (value: string) => !isBlank(value) }, { name: 'CSV', extension: ...
/content/code_sandbox/galata/test/jupyterlab/help.test.ts
xml
2016-06-03T20:09:17
2024-08-16T19:12:44
jupyterlab
jupyterlab/jupyterlab
14,019
457
```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 pdf = require( './index' ); // TESTS // // The function returns a number... { pdf( 20, 40 ); // $Expect...
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
747
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="icon_top_margin">0dp</dimen> <dimen name="icon_bottom_margin">0dp</dimen> </resources> ```
/content/code_sandbox/auth/app/src/main/res/values-land/dimens.xml
xml
2016-04-26T17:13:27
2024-08-16T18:37:58
quickstart-android
firebase/quickstart-android
8,797
53
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- path_to_url Unless required by applicable law or agreed to in writing, software WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the --> <jobTypes> <jobType> <name>Spark</name> <applicationtype>spark</applicationtype> <conf>s...
/content/code_sandbox/test/resources/configurations/jobtype/JobTypeConfTest1.xml
xml
2016-03-02T17:51:13
2024-08-13T18:56:18
dr-elephant
linkedin/dr-elephant
1,350
271
```xml import { selectAll } from '@codemirror/commands'; import { findNext, gotoLine } from '@codemirror/search'; import { JupyterFrontEnd } from '@jupyterlab/application'; import { Clipboard, ICommandPalette, ISessionContextDialogs, MainAreaWidget, WidgetTracker } from '@jupyterlab/apputils'; import { Code...
/content/code_sandbox/packages/fileeditor-extension/src/commands.ts
xml
2016-06-03T20:09:17
2024-08-16T19:12:44
jupyterlab
jupyterlab/jupyterlab
14,019
8,871
```xml import { initialSetup, yarnModernUtils } from '@verdaccio/test-cli-commons'; import { getYarnCommand, yarn } from './utils'; describe('install a packages', () => { jest.setTimeout(20000); let registry; let projectFolder; beforeAll(async () => { const setup = await initialSetup(); registry = se...
/content/code_sandbox/e2e/cli/e2e-yarn2/install.spec.ts
xml
2016-04-15T16:21:12
2024-08-16T09:38:01
verdaccio
verdaccio/verdaccio
16,189
220
```xml import memoize from 'memoizerific'; import type { Background, Color, Typography } from './types'; type Value = string | number; interface Return { [key: string]: { [key: string]: Value; }; } export const createReset = memoize(1)( ({ typography }: { typography: Typography }): Return => ({ body: {...
/content/code_sandbox/code/core/src/theming/global.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
623
```xml <vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="15" android:viewportWidth="15" android:width="34.0dp"> <path android:fillColor="@android:color/white" android:pathData="M7.74 0.73C7.05 0.73 6.49 1.29 6.49 1.98C6.49 1.98 6.53 2 6.53 2....
/content/code_sandbox/app/src/main/res/drawable/ic_preset_temaki_swamp.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
1,556
```xml import { buildUser, buildStar, buildDocument } from "@server/test/factories"; import { getTestServer } from "@server/test/support"; const server = getTestServer(); describe("#stars.create", () => { it("should fail with status 400 bad request when both documentId and collectionId are missing", async () => { ...
/content/code_sandbox/server/routes/api/stars/stars.test.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
900
```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="cs" original="../Resources.res...
/content/code_sandbox/src/WebSdk/Publish/Tasks/Properties/xlf/Resources.cs.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
19,153
```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/Platforms24.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
1,788
```xml import { bootstrapApplication } from '@angular/platform-browser'; import { AppComponent } from 'src/app/showcase/layout/app.component'; import { config } from 'src/app/showcase/layout/app.config.server'; const bootstrap = () => bootstrapApplication(AppComponent, config); export default bootstrap; ```
/content/code_sandbox/src/main.server.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
57
```xml import { fireEvent, screen, within } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { pureMerge } from "coral-common/common/lib/utils"; import { GQLResolver, GQLUSER_STATUS } from "coral-framework/schema"; import { createResolversStub, CreateTestRendererParams, ...
/content/code_sandbox/client/src/core/client/admin/test/community/banUser.spec.tsx
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
3,247
```xml <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent"> <View android:id="@id/exo_controller_placeholder" android:layout_width="match_parent" android:layout_height="match_parent"...
/content/code_sandbox/app/src/main/res/layout/audio_player_view_controller_only.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
81
```xml import { useAnalytics } from '@/react/hooks/useAnalytics'; import { HubspotForm } from '@@/HubspotForm'; import { Modal } from '@@/modals/Modal'; onDismiss, }: { onDismiss: () => void; }) { // form is loaded from hubspot, so it won't have the same styling as the rest of the app // since it won't suppor...
/content/code_sandbox/app/react/sidebar/UpgradeBEBanner/GetLicenseDialog.tsx
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
316
```xml /** * A recreation of one of these demos: path_to_url */ import { Chart } from '@antv/g2'; const chart = new Chart({ container: 'container', height: 120, }); chart.coordinate({ transform: [{ type: 'transpose' }] }); chart .interval() .data({ type: 'fetch', value: 'path_to_url }) .transfo...
/content/code_sandbox/site/examples/analysis/group/demo/bar-stacked-normalized-1d.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
180
```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-index.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
888
```xml import * as React from "react"; import * as pkg from "../../package"; import * as simulator from "../../simulator"; import { connect } from 'react-redux'; import { Button } from "../../../../react-common/components/controls/Button"; import { List } from "../../../../react-common/components/controls/List"; impor...
/content/code_sandbox/webapp/src/components/assetEditor/assetSidebar.tsx
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
2,415
```xml // Patch a document with patches import * as fs from "fs"; import { IPatch, patchDocument, PatchType, TextRun } from "docx"; export const font = "Trebuchet MS"; export const getPatches = (fields: { [key: string]: string }) => { const patches: { [key: string]: IPatch } = {}; for (const field in fields)...
/content/code_sandbox/demo/89-template-document.ts
xml
2016-03-26T23:43:56
2024-08-16T13:02:47
docx
dolanmiu/docx
4,139
206
```xml // TODO: Add interface to aperture-node for getting recording duration instead of using this path_to_url let overallDuration = 0; let currentDurationStart = 0; export const getOverallDuration = (): number => overallDuration; export const getCurrentDurationStart = (): number => currentDurationStart; export con...
/content/code_sandbox/main/utils/track-duration.ts
xml
2016-08-10T19:37:08
2024-08-16T07:01:58
Kap
wulkano/Kap
17,864
104
```xml /* eslint-disable no-underscore-dangle */ import type { Args, ArgsStoryFn, Globals, Parameters, PreparedMeta, PreparedStory, Renderer, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StrictArgTypes, } from '@storybook/core/types'; import type { ModuleExport, NormalizedCo...
/content/code_sandbox/code/core/src/preview-api/modules/store/csf/prepareStory.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
2,562
```xml import { TurboModuleRegistry } from 'react-native'; const DEFAULT_SAFE_AREA = { top: 0, bottom: 0, left: 0, right: 0 }; /** * Get the best estimate safe area before native modules have fully loaded. * This is a hack to get the safe area insets without explicitly depending on react-native-safe-area-context. ...
/content/code_sandbox/packages/expo/src/environment/getInitialSafeArea.native.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
174
```xml import { actionTypes } from '../../../common/constants/actionTypes'; import { MemberEntity } from '../../../model'; import { memberAPI } from '../../../api/member'; import { trackPromise } from 'react-promise-tracker'; export const fetchMembersAction = () => (dispatch) => { trackPromise( memberAPI.fetchMe...
/content/code_sandbox/old_class_components_samples/10 LoaderSpinner/src/components/members/actions/fetchMembers.ts
xml
2016-02-28T11:58:58
2024-07-21T08:53:34
react-typescript-samples
Lemoncode/react-typescript-samples
1,846
116
```xml import { KeyActions, keyboardKey } from '@fluentui/accessibility'; import * as React from 'react'; import { shouldHandleOnKeys } from './shouldHandleOnKeys'; import { AccessibilityActionHandlers, AccessibilityKeyHandlers } from './types'; const rtlKeyMap: Record<number, number> = { [keyboardKey.ArrowRight]: ...
/content/code_sandbox/packages/fluentui/react-bindings/src/accessibility/getKeyDownHandlers.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
554
```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 {RouteHandler} from 'workbox-core/types.js'; import {getOrCreateDefaultRouter} from './utils/getOrCreateDefaultRouter.js'; import './_version.js'; /** * Define a default `h...
/content/code_sandbox/packages/workbox-routing/src/setDefaultHandler.ts
xml
2016-04-04T15:55:19
2024-08-16T08:33:26
workbox
GoogleChrome/workbox
12,245
186
```xml <assembly xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url"> <id>redis-console</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <!--scripts --> <fileSet> <directory>src/main/scripts</directory> ...
/content/code_sandbox/redis/package/redis-console-package/src/assembly/assembly-descriptor.xml
xml
2016-03-29T12:22:36
2024-08-12T11:25:42
x-pipe
ctripcorp/x-pipe
1,977
513
```xml import { Component } from '@angular/core'; @Component({ selector: 'app-templates', templateUrl: './templates.component.html', styleUrls: ['./templates.component.scss'] }) export class TemplatesComponent { template = ` <tree-root [nodes]="nodes"> <ng-template #treeNodeTemplate let-node let-index="index...
/content/code_sandbox/projects/docs-app/src/app/fundamentals/templates/templates.component.ts
xml
2016-03-10T21:29:15
2024-08-15T07:07:30
angular-tree-component
CirclonGroup/angular-tree-component
1,093
590
```xml import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; import { Confirmation } from './confirmation'; /** * Methods used in confirmation service. * @group Service */ @Injectable() export class ConfirmationService { private requireConfirmationSource = new Subject<Confirmation | null>()...
/content/code_sandbox/src/app/components/api/confirmationservice.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
219
```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 { BaseData, HasId } from '@shared/models/base-data'; import { EntityTypeTranslation } from '@shared/models/entity-ty...
/content/code_sandbox/ui-ngx/src/app/modules/home/models/entity/entity-table-component.models.ts
xml
2016-12-01T09:33:30
2024-08-16T19:58:25
thingsboard
thingsboard/thingsboard
16,820
846
```xml import { ts } from 'ts-morph'; const sinon = require('sinon'); import Logger from '../../infrastructure/logging/logger'; import DisplayEnvironmentVersions from './display-environment-versions'; describe('Use-cases - Display informations', () => { let consoleStubLog; beforeEach(() => { console...
/content/code_sandbox/src-refactored/core/use-cases/display-environment-versions.spec.ts
xml
2016-10-17T07:09:28
2024-08-14T16:30:10
compodoc
compodoc/compodoc
3,980
344
```xml import { expect, use } from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as TypeMoq from 'typemoq'; import { IFileSystem } from '../../../client/common/platform/types'; import { createPythonEnv } from '../../../client/common/process/pythonEnvironment'; import { createPythonProcessService...
/content/code_sandbox/src/test/common/process/pythonProcess.unit.test.ts
xml
2016-01-19T10:50:01
2024-08-12T21:05:24
pythonVSCode
DonJayamanne/pythonVSCode
2,078
1,176
```xml import { TypedArray } from '../../../types'; import vtkDataArray, { IDataArrayInitialValues } from '../../Core/DataArray'; /** * The inital values of a vtkCellArray. */ export interface ICellArrayInitialValues extends IDataArrayInitialValues { empty?: boolean; } /** * You are NOT allowed to modify the cel...
/content/code_sandbox/Sources/Common/Core/CellArray/index.d.ts
xml
2016-05-02T15:44:11
2024-08-15T19:53:44
vtk-js
Kitware/vtk-js
1,200
628
```xml export * from "./ClipboardModule"; ```
/content/code_sandbox/src/main/Core/Clipboard/index.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
8
```xml import { StrictStyleOptions } from 'botframework-webchat-api'; export default function createAvatarStyle({ avatarBorderRadius, avatarSize }: StrictStyleOptions) { return { '&.webchat__defaultAvatar': { borderRadius: avatarBorderRadius, height: avatarSize, width: avatarSize } }; } ...
/content/code_sandbox/packages/component/src/Styles/StyleSet/Avatar.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
71
```xml /*your_sha256_hash----------------------------- *your_sha256_hash----------------------------*/ import { ICachePlugin, TokenCacheContext } from '@azure/msal-node'; import { promises as fsPromises } from 'fs'; import * as lockFile from 'lockfile'; import * as path from 'path'; import VscodeWrapper from '../../...
/content/code_sandbox/src/azure/msal/msalCachePlugin.ts
xml
2016-06-26T04:38:04
2024-08-16T20:04:12
vscode-mssql
microsoft/vscode-mssql
1,523
1,350
```xml declare interface IAzureApimWebPartStrings { PropertyPaneDescription: string; BasicGroupName: string; SubscriptionKeyFieldLabel: string; AppLocalEnvironmentSharePoint: string; AppLocalEnvironmentTeams: string; AppLocalEnvironmentOffice: string; AppLocalEnvironmentOutlook: string; AppSharePointEnv...
/content/code_sandbox/samples/react-apim-tablestorage/src/webparts/azureApim/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
147
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:focusableInTouchMode="true" android:orientation="vertical" tools:contex...
/content/code_sandbox/app/src/main/res/layout/fragment_images_to_pdf.xml
xml
2016-02-22T10:00:46
2024-08-16T15:37:50
Images-to-PDF
Swati4star/Images-to-PDF
1,174
970
```xml import React from 'react' const template = `${JSON.stringify({ something: 'else' })}` const original = JSON.stringify({ something: 'else' }) const Component = () => ( <> <div>Something 1</div> <div>Something 2</div> </> ) export const Main = () => ( <div> <Component /> {template} <Co...
/content/code_sandbox/test/TSX.tsx
xml
2016-09-15T12:39:36
2024-08-16T08:00:38
ayu
dempfi/ayu
4,258
106
```xml import type { FC } from 'react'; import { c } from 'ttag'; import noContentSvg from '@proton/styles/assets/img/illustrations/empty-trash.svg'; import { DriveEmptyView } from '../../layout/DriveEmptyView'; type Props = {}; const EmptyTrash: FC<Props> = () => { return ( <DriveEmptyView ...
/content/code_sandbox/applications/drive/src/app/components/sections/Trash/EmptyTrash.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
154
```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/cluster.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
208
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9060" systemVersion="14F1021" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" init...
/content/code_sandbox/Samples/Catalog/Resources/Base.lproj/LaunchScreen.storyboard
xml
2016-07-14T14:56:05
2024-07-15T03:46:30
facebook-swift-sdk
facebookarchive/facebook-swift-sdk
1,514
849
```xml import type { Logger } from "pino"; import type { WebhookError, EmitterWebhookEvent as WebhookEvent, } from "@octokit/webhooks"; export function getErrorHandler(log: Logger) { return (error: Error & { event?: WebhookEvent }) => { const errors = ( error.name === "AggregateError" ? error : [error]...
/content/code_sandbox/src/helpers/get-error-handler.ts
xml
2016-09-16T20:56:13
2024-08-16T13:00:34
probot
probot/probot
8,862
283
```xml import React, { ReactElement } from 'react'; import { IMGElementStateError } from './img-types'; import IMGElementContentAlt from './IMGElementContentAlt'; /** * Default error view for the {@link IMGElement} component. */ export default function IMGElementContentError( props: IMGElementStateError ): ReactEl...
/content/code_sandbox/packages/render-html/src/elements/IMGElementContentError.tsx
xml
2016-11-29T10:50:53
2024-08-08T06:53:22
react-native-render-html
meliorence/react-native-render-html
3,445
89
```xml export { default as ApiKey } from "./ApiKey"; export { default as Attachment } from "./Attachment"; export { default as AuthenticationProvider } from "./AuthenticationProvider"; export { default as Backlink } from "./Backlink"; export { default as Collection } from "./Collection"; export { default as GroupM...
/content/code_sandbox/server/models/index.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
320
```xml import React, { useCallback } from 'react'; import AngleLeftIcon from '@rsuite/icons/legacy/AngleLeft'; import AngleRightIcon from '@rsuite/icons/legacy/AngleRight'; import IconButton from '../IconButton'; import Button, { ButtonProps } from '../Button'; import { useClassNames } from '@/internals/hooks'; import ...
/content/code_sandbox/src/Calendar/CalendarHeader.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
1,278
```xml import * as path from 'path'; import { createRequire } from 'module'; import type { Config } from '@ice/shared-config/types'; import { CACHE_DIR, RUNTIME_TMP_DIR } from '../constant.js'; const require = createRequire(import.meta.url); const getDefaultTaskConfig = ({ rootDir, command }): Config => { // basic t...
/content/code_sandbox/packages/ice/src/plugins/task.ts
xml
2016-11-03T06:59:15
2024-08-16T10:11:29
ice
alibaba/ice
17,815
407
```xml import { Component } from '@angular/core'; @Component({ selector: 'markdown-demo', styleUrls: ['./markdown.component.scss'], templateUrl: './markdown.component.html', }) export class MarkdownDemoComponent { anchor!: string; markdown = ` # Heading (H1) ## Sub Heading (H2) ### Steps (H3) ...
/content/code_sandbox/apps/docs-app/src/app/content/components/component-demos/markdown/markdown.component.ts
xml
2016-07-11T23:30:52
2024-08-15T15:20:45
covalent
Teradata/covalent
2,228
184