path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
ajax/libs/react-instantsearch/4.1.0-beta.3/Dom.js
jdh8/cdnjs
/*! ReactInstantSearch 4.1.0-beta.3 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof def...
client/src/components/Menu/index.js
fraktio/teamdaily
import React from 'react'; import { Link } from 'react-router-dom'; import styles from './style.pcss'; export default () => <div className={styles.container}> <div className={styles.menu}> <h1 className={styles.heading}>TeamDaily</h1> <Link to="/week" className={styles.menuButton}> Enter we...
packages/website/builder/pages/docs/nav.js
christianalfoni/cerebral
import React from 'react' function Navigation(props) { // To understand how navigation is composed, start from the bottom function Headings({ toc, path }) { if (!toc.length) { return null } return ( <ul> {toc.map(function(item, index) { const href = `${path}#${item.id}` ...
app/javascript/mastodon/features/ui/components/zoomable_image.js
tateisu/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const MIN_SCALE = 1; const MAX_SCALE = 4; const getMidpoint = (p1, p2) => ({ x: (p1.clientX + p2.clientX) / 2, y: (p1.clientY + p2.clientY) / 2, }); const getDistance = (p1, p2) => Math.sqrt(Math.pow(p1.clientX - p2.clientX, 2) + Math.pow(p1.client...
web/src/components/NavBar.js
jaemk/transfer
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Nav from 'react-bootstrap/lib/Nav'; const URL_TO_INDEX = { '/upload': '1', '/download': '2', '/delete': '3', }; const INDEX_TO_URL = (() => { let m = {}; Object.keys(URL_TO_INDEX).map(url => m[URL_TO_INDEX[url]] = url); ...
app/containers/HomePage/index.js
JonathanMerklin/react-boilerplate
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { makeSelectRepos, mak...
src/index.js
chirigarikku/jumars-tindahan
import React from 'react'; import Router from 'react-router'; import routes from './routes'; Router.run(routes, function(Handler, state) { React.render(<Handler />, document.body) });
plugins/react/frontend/components/form/Grid/LeftColumn/index.js
pure-ui/styleguide
import React from 'react'; import styles from './styles.css'; import range from 'lodash/range'; const LeftColumn = ({ nestedLevel = 0, children, ...otherProps }) => ( <div {...otherProps} className={styles.root}> { range(nestedLevel).map((index) => <div key={index} className={styles.line}>&nbsp;</div>) ...
web/static/js/containers/BottleEdit.js
maxdec/cellar
import React, { Component } from 'react'; import Gql from 'react-gql'; import { BottleForm } from '../components'; import { bottleFragment } from '../fields'; const config = { getState: state => ({ bottle: state.cellar.bottles[state.cellar.selectedBottleIndex], errors: state.cellar.lastErrors, }), mutati...
client/src/components/CrawlingView.js
ViDA-NYU/domain_discovery_tool
import React, { Component } from 'react'; import { Col, Row} from 'react-bootstrap'; // From https://github.com/oliviertassinari/react-swipeable-views import Terms from './Terms'; import DeepCrawling from './DeepCrawling'; import FocusedCrawling from './FocusedCrawling'; import {Tabs, Tab} from 'material-ui/Tabs'; impo...
app/shared/modals/reservation-info/ReservationInfoModal.js
fastmonkeys/respa-ui
import isEmpty from 'lodash/isEmpty'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Button from 'react-bootstrap/lib/Button'; import ControlLabel from 'react-bootstrap/lib/ControlLabel'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootst...
sources/components/home.js
markuswustenberg/template
import React from 'react' import {connect} from 'react-redux' class Home extends React.Component { render() { return ( <div> <h1>😎 template</h1> <p>Redux initialized: {`${this.props.app.initialized}`}</p> </div> ) } } export default connect(state => state)(Home)
front/components/new_flag.js
ssig33/pig-media-server
import React from 'react'; export default class NewFlag extends React.Component { constructor(props){ super(props); recent.addEventListener('loaded', ()=>{ this.reload()}); } reload(){ this.setState({}); } ext(str){ return String(str).split('.').pop().toLowerCase(); } is_new(){ var ext = th...
geonode/contrib/monitoring/frontend/src/containers/app/index.js
MapStory/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Style } from 'radium'; // Pages import Alerts from '../../pages/alerts'; import AlertConfig from '../../pages/alert-config'; import AlertsSettings from '../../pages/alerts-settings'; import ErrorDetails from ...
public/app/components/player/forward-button.js
feedm3/unhypem
/** * @author Fabian Dietenberger */ 'use strict'; import React from 'react'; import SvgIcon from '../common/svg-icon'; import songDispatcher from '../../dispatcher/song-dispatcher'; import ACTION from '../../constants/action'; export default () => { return ( <SvgIcon id='ic_skip_next_black...
1l_React_ET_Lynda/Ex_Files_React_EssT/Ch04/04_04/start/src/index.js
yevheniyc/C
import React from 'react' import { render } from 'react-dom' import './stylesheets/ui.scss' import { SkiDayCount } from './components/SkiDayCount' window.React = React render( <SkiDayCount />, document.getElementById('react-container') ) // render( // <SkiDayList days={ // [ // { // resort: "Squ...
src/app/component/labeled-checkbox/labeled-checkbox.js
all3dp/printing-engine-client
import PropTypes from 'prop-types' import React from 'react' import uniqueId from 'lodash/uniqueId' import cn from '../../lib/class-names' import propTypes from '../../prop-types' import CheckboxField from '../checkbox-field' export default class LabeledCheckbox extends React.Component { static propTypes = { ....
src/components/Contact/Contact/Contact.js
easingthemes/notamagic
import React from 'react'; /** * React component implementation. * * @author dfilipovic * @namespace ReactApp * @class Contact * @extends ReactApp */ export class Contact extends React.Component { // ---------------------------------------------------------------------------------------------------------------...
src/server.js
colinmeinke/css-modules-universal-example
import express from 'express'; import path from 'path'; import React from 'react'; import { renderToString } from 'react-dom/server'; import Hello from './components/Hello'; const app = express(); app.get( '/', ( req, res ) => { res.send( `<!DOCTYPE html> <html style="height: 100%"> <head> ...
collect-webapp/frontend/src/common/components/Aside.js
openforis/collect
import React, { Component } from 'react'; import { TabContent, TabPane, Nav, NavItem, NavLink, Progress } from 'reactstrap'; import classnames from 'classnames'; class Aside extends Component { constructor(props) { super(props); this.toggle = this.toggle.bind(this); this.state = { activeTab: '1' ...
client/src/_scenes/MoneyMaps/scenes/MoneyMapAccount/components/AccountDetails/index.js
bpowers1215/MoneyMap
import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { StaticField } from '~/_components/form'; import Panel from '~/_components/panel'; import './styles.scss'; const mapDispatchToProps = dispatch => { return {} }; const mapStateToProps = state =...
client/src/research/BubbleChart.js
mit-teaching-systems-lab/swipe-right-for-cs
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import {percentRightPerProfile, totalSwipes} from './calculations'; import _ from 'lodash'; import { isSwipe, formatPercent } from './functions.js'; import './BubbleChart.css'; import DataBubble from './DataBubble'; // Lookup data about...
src/app/render.js
omladek/js-form-validation
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; export function render(Component, container, props, store) { if (container) { if (store) { ReactDOM.render( <Provider store={store}> <Component {...props} /> ...
app/javascript/mastodon/components/short_number.js
tootsuite/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { toShortNumber, pluralReady, DECIMAL_UNITS } from '../utils/numbers'; import { FormattedMessage, FormattedNumber } from 'react-intl'; // @ts-check /** * @callback ShortNumberRenderer * @param {JSX.Element} displayNumber Number to display * @para...
4_sem/jnp2/first/HelloWorldRn/index.ios.js
vlad7777/uni_coursework
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class HelloWorldRn extends Component { render() { return ( <View style={styles.contai...
client/app/scripts/components/view-mode-selector.js
kinvolk/scope
import React from 'react'; import { connect } from 'react-redux'; import ViewModeButton from './view-mode-button'; import MetricSelector from './metric-selector'; import { setGraphView, setTableView, setResourceView } from '../actions/app-actions'; import { availableMetricsSelector } from '../selectors/node-metric'; i...
src/docs/examples/TextInput/ExampleError.js
nreoch25/react-package-dev
import React from 'react'; import TextInput from 'react-package-dev/TextInput'; /** Required TextBox with error */ export default class ExampleError extends React.Component { render() { return ( <TextInput htmlId="example-optional" label="First Name" name="firstname" onChang...
app/index.js
Heatequation/react-router-redux-todo
import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import { configureStore, history } from './store/configureStore'; import Root from './containers/Root'; const store = configureStore(); render( <AppContainer> <Root store={store} history={histor...
packages/mcs-lite-ui/src/PreventDrag/PreventDrag.js
MCS-Lite/mcs-lite
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; export const Container = styled.div` user-select: none; -webkit-user-drag: none; `; const preventDefault = e => e.preventDefault(); const PreventDrag = ({ children }) => ( <Container onDrop={preventDefaul...
src/examples/lifecycle/component.js
vinogradov/spa-prototype
import React from 'react'; import PropTypes from 'prop-types'; export class Component extends React.Component { constructor(props) { super(props); console.log('constructor'); // eslint-disable-line no-console } componentWillMount() { console.log('componentWillMount'); // eslint-disable-line no-conso...
classic/src/scenes/mailboxes/src/Components/ServiceTabs/ServiceTab.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import shallowCompare from 'react-addons-shallow-compare' import { accountStore } from 'stores/account' import { settingsStore } from 'stores/settings' import { userStore } from 'stores/user' import { withStyles } from '@material-ui/core/styles' import classN...
src/components/trail_add_post_dialog.js
JohnDHamm/trail-tracker-react
import React, { Component } from 'react'; import { connect } from 'react-redux'; import superagent from 'superagent'; import { addPost, getPosts, updateTrailTicketCount, ROOT_URL } from '../actions'; import TrailAddPostButton from './trail_add_post_button'; import PhotoUpload from './photo_upload'; import...
node_modules/react-bootstrap/es/SafeAnchor.js
cmccandless/SolRFrontEnd
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
client/js/components/TabListItem.js
khlieng/name_pending
import React from 'react'; import classnames from 'classnames'; const TabListItem = ({ target, content, server, selected, connected, joined, error, onClick }) => { const className = classnames({ 'tab-server': !target, success: !target && connected, error: (!target && !connected) || (!join...
ajax/libs/react-instantsearch/4.1.2/Dom.js
nolsherry/cdnjs
/*! ReactInstantSearch 4.1.2 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define....
grails-app/assets/javascripts/dependencies/detailpage/simple_layout.js
puaykai/noodles
import React from 'react'; import Paper from 'material-ui/Paper'; var main_paper_width = Math.floor(window.innerWidth * 0.95); var main_paper_height = Math.floor(window.innerHeight * 2); var sub_paper_width = Math.floor(main_paper_width * 0.4); var sub_paper_height = Math.floor(main_paper_height * 0.4); var sub_paper_...
Agenda/src/components/app.js
interlegis/agenda-evento
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getUsuario } from '../actions'; import Navbar from './navbar'; class App extends Component { constructor(props){ super(props); } componentWillMount() { if (this.props.authenticated) { this.props.getUsuario();...
app/javascript/mastodon/features/domain_blocks/index.js
unarist/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debounce } from 'lodash...
react/IconSearch/IconSearch.js
seekinternational/seek-asia-style-guide
import svgMarkup from './IconSearch.svg'; import React from 'react'; import Icon from '../private/Icon/Icon'; export default function IconSearch(props) { return <Icon markup={svgMarkup} {...props} />; } IconSearch.displayName = 'Search icon';
docs/src/app/pages/components/Modal/ExampleModalActions.js
GetAmbassador/react-ions
import React from 'react' import Modal from 'react-ions/lib/components/Modal' import Button from 'react-ions/lib/components/Button' class ExampleModalActions extends React.Component { constructor(props) { super(props) this.state = { open: false } } handleOpen = () => { this.setState({open:...
src/components/Layout/Layout.js
tonimoeckel/lap-counter-react
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
src/components/Header/Header.js
bootcampcamp/givingbranch
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Header.css'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; import Navigation from '../Navigation'; @withStyles(styles) class Header extends Compo...
src/components/SearchBar.js
fhelwanger/react-datatable
import React from 'react'; export default class SearchBar extends React.Component { handleOnChangeFilter(e) { this.props.onChangeFilter(e.currentTarget.value); } handleOnChangePageSize(e) { this.props.onChangePageSize(parseInt(e.currentTarget.value)); } renderEntriesPerPage() { const options = ...
dva/wd/src/routes/User/ModifyAvatar.js
imuntil/React
import React from 'react' import { connect } from 'dva' import _ from 'lodash' import QueueAnimate from 'rc-queue-anim' import { WhiteSpace, WingBlank, Toast } from 'antd-mobile' import AvatarEditor from '../../components/Form/AvatarEditor' import { avatars, imgBase } from '../../constant' import { delay } from '../../...
src/components/DisableButton.js
ayastreb/bandwidth-hero
import React from 'react' import { Segment, Button } from 'semantic-ui-react' import parseUrl from '../utils/parseUrl' export default ({ disabledHosts, currentUrl, onSiteDisable, onSiteEnable }) => { const { schema, hostname } = parseUrl(currentUrl) if (!/^https?:/i.test(schema)) return null if (disabledHosts.i...
src/components/01-atoms/Tooltip/TooltipAnchor.js
buildit/bookit-web
import React from 'react' import PropTypes from 'prop-types' const TooltipAnchor = ({ anchorContainerRef, anchorRef, styles }) => ( <div className={styles.anchorContainer} ref={anchorContainerRef}> <div className={styles.anchor} ref={anchorRef} /> </div> ) TooltipAnchor.propTypes = { anchorContainerRef: Pro...
src/svg-icons/hardware/tablet.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTablet = (props) => ( <SvgIcon {...props}> <path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2zm-2 14H5V6h14v12z"/> </SvgIcon> ); HardwareTablet = pure(Hardwa...
lib/index.js
chabou/hyper
import {webFrame} from 'electron'; import forceUpdate from 'react-deep-force-update'; import {Provider} from 'react-redux'; import React from 'react'; import {render} from 'react-dom'; import rpc from './rpc'; import init from './actions/index'; import * as config from './utils/config'; import * as plugins from './uti...
js/components/anatomy/data.js
LetsBuildSomething/vmag_mobile
import React from 'react'; import {Image} from 'react-native'; var btnsDefault = [ { text: 'Button' } ]; var btnsTypes = [ { text: 'Primary', type: 'primary', }, { text: 'Secondary', type: 'secondary', }, { text: 'Delete', type: 'delete', } ]; var rows = [ { text: "Basic Example", right:...
src/app/components/player/play-button.js
feedm3/unhypem-frontend
/** * @author Fabian Dietenberger */ 'use strict'; import React from 'react'; import songDispatcher from '../../dispatcher/song-dispatcher'; import ACTION from '../../constants/action'; import SONG_STATE from '../../constants/song-state'; import SvgIcon from '../common/svg-icon'; import playIcon from '../../../asse...
admin/client/App/shared/Popout/index.js
brianjd/keystone
/** * A Popout component. * One can also add a Header (Popout/Header), a Footer * (Popout/Footer), a Body (Popout/Body) and a Pan (Popout/Pane). */ import React from 'react'; import Portal from '../Portal'; import Transition from 'react-addons-css-transition-group'; const SIZES = { arrowHeight: 12, arrowWidth: ...
app/jsx/gradebook/default_gradebook/components/AnonymousSpeedGraderAlert.js
djbender/canvas-lms
/* * Copyright (C) 2018 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
docs/app/Examples/views/Card/Variations/Colored.js
jamiehill/stardust
import React from 'react' import { Card } from 'stardust' const src = 'http://semantic-ui.com/images/wireframe/white-image.png' const ColoredCards = () => ( <Card.Group itemsPerRow={4}> <Card color='red' image={src} /> <Card color='orange' image={src} /> <Card color='yellow' image={src} /> <Card col...
ui/js/pages/page/Page.js
ericsoderberg/pbc-web
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { loadItem, unloadItem } from '../../actions'; import ItemHeader from '../../components/ItemHeader'; import Loading from '../../components/Loading'; impor...
router_homemade/first_example/src/routes.js
Muzietto/react-playground
import React from 'react'; import HomePage from './pages/HomePage'; import TaskList from './pages/TaskList'; import TaskDetails from './pages/TaskDetails'; import ErrorPage from './pages/ErrorPage'; export default [ { path: '/', action: () => <HomePage>Gran Birillo</HomePage> }, { path: '/task', action: () => <Tas...
client/node_modules/react-router/es/IndexRoute.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { component, components, falsy } from './InternalPropTypes'; var func = React.PropTypes.func; /** * An <IndexRoute> i...
ajax/libs/react-native-web/0.16.1/exports/ScrollView/index.js
cdnjs/cdnjs
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
ajax/libs/material-ui/5.0.0-alpha.14/modern/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { const theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line r...
ajax/libs/primereact/7.1.0/csstransition/csstransition.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { CSSTransition as CSSTransition$1 } from 'react-transition-group'; import PrimeReact from 'primereact/api'; import { ObjectUtils } from 'primereact/utils'; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value...
ajax/libs/material-ui/5.0.0-alpha.18/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { const theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line r...
ajax/libs/material-ui/4.9.4/esm/OutlinedInput/OutlinedInput.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import InputBase from '../InputBase'...
ajax/libs/primereact/6.5.1/dialog/dialog.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { UniqueComponentId, DomHandler, ZIndexUtils, Ripple, classNames, ObjectUtils, CSSTransition, Portal } from 'primereact/core'; function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < l...
ajax/libs/material-ui/4.9.3/es/internal/svg-icons/CheckCircle.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z" }), 'CheckCircle');
ajax/libs/primereact/7.0.0/fileupload/fileupload.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { Button } from 'primereact/button'; import { Messages } from 'primereact/messages'; import { ProgressBar } from 'primereact/progressbar'; import { DomHandler, classNames, IconUtils, ObjectUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; impor...
ajax/libs/react-native-web/0.12.0/exports/View/index.js
cdnjs/cdnjs
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } /** * Copyright (c) Nicolas Gallagher. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under th...
ajax/libs/material-ui/5.0.0-alpha.15/modern/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { const theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line r...
ajax/libs/react-native-web/0.15.2/exports/KeyboardAvoidingView/index.js
cdnjs/cdnjs
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } f...
ajax/libs/primereact/6.6.0-rc.1/badge/badge.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < pr...
ajax/libs/primereact/6.5.0/speeddial/speeddial.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { Button } from 'primereact/button'; import { DomHandler, classNames, ObjectUtils, Ripple } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function")...
ajax/libs/material-ui/4.9.3/es/ListSubheader/ListSubheader.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import capitalize from '....
ajax/libs/react-native-web/0.13.8/exports/createElement/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import AccessibilityUtil from '../../modules/AccessibilityUtil'; import createDOMProps from '../../modules/createDOMProps'; import React fro...
ajax/libs/react-native-web/0.11.7/vendor/react-native/ListView/index.js
cdnjs/cdnjs
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule ListView * * @format */ 'use strict'; function _objectWithoutPropertiesLoose(source, excluded) { if (source == nul...
ajax/libs/react-native-web/0.0.0-80dae21e2/exports/YellowBox/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import React from 'react'; import UnimplementedView from '../../modules/UnimplementedVie...
ajax/libs/boardgame-io/0.43.3/esm/react.js
cdnjs/cdnjs
import 'nanoid'; import './Debug-cf878fdc.js'; import 'redux'; import './turn-order-5f1427df.js'; import 'immer'; import 'lodash.isplainobject'; import './reducer-e68c7d84.js'; import './initialize-07bed2c0.js'; import './transport-0079de87.js'; import { C as Client$1 } from './client-deed9200.js'; import 'flatted'; im...
ajax/libs/react-native-web/0.11.6/exports/ProgressBar/index.js
cdnjs/cdnjs
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return O...
ajax/libs/primereact/7.0.0-rc.1/blockui/blockui.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { DomHandler, ZIndexUtils, classNames, ObjectUtils, Portal } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProper...
ajax/libs/primereact/6.5.0-rc.2/paginator/paginator.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, ObjectUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; import { Dropdown } from 'primereact/dropdown'; function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr, i) { var _i = ...
ajax/libs/material-ui/4.9.3/esm/SvgIcon/SvgIcon.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import capitalize from '../utils/ca...
ajax/libs/react-native-web/0.11.7/vendor/react-native/SectionList/index.js
cdnjs/cdnjs
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } f...
ajax/libs/material-ui/4.9.2/es/TableHead/TableHead.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Tablelvl2Context f...
ajax/libs/react-native-web/0.17.1/exports/Touchable/index.js
cdnjs/cdnjs
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var targ...
ajax/libs/material-ui/4.9.4/esm/internal/svg-icons/CheckCircle.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z" }), 'CheckCircle');
ajax/libs/primereact/6.5.0/toolbar/toolbar.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, ObjectUtils } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var ...
ajax/libs/boardgame-io/0.44.0/esm/react-native.js
cdnjs/cdnjs
import 'nanoid'; import { _ as _inherits, a as _createSuper, b as _createClass, c as _defineProperty, d as _classCallCheck, e as _objectWithoutProperties, f as _objectSpread2 } from './Debug-753f485a.js'; import 'redux'; import './turn-order-ec34409c.js'; import 'immer'; import 'lodash.isplainobject'; import './reducer...
ajax/libs/primereact/6.6.0-rc.1/core/core.esm.js
cdnjs/cdnjs
import PrimeReact from 'primereact/api'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { CSSTransition as CSSTransition$1 } from 'react-transition-group'; function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr, i) { var _i = ar...
ajax/libs/primereact/7.0.0-rc.1/fullcalendar/fullcalendar.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { ObjectUtils } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < p...
ajax/libs/primereact/7.2.1/menubar/menubar.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { DomHandler, classNames, ObjectUtils, ZIndexUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; import PrimeReact from 'primereact/api'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new...
ajax/libs/primereact/6.6.0-rc.1/menu/menu.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { OverlayService, DomHandler, ZIndexUtils, ConnectedOverlayScrollHandler, classNames, ObjectUtils, CSSTransition, Portal } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cann...
ajax/libs/primereact/6.5.0-rc.2/menubar/menubar.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { DomHandler, classNames, ObjectUtils, ZIndexUtils } from 'primereact/utils'; import { Ripple } from 'primereact/ripple'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a func...
ajax/libs/material-ui/4.9.2/es/Toolbar/Toolbar.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; export const styles = the...
ajax/libs/material-ui/4.9.3/es/Tabs/TabScrollButton.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; /* eslint-disable jsx-a11y/aria-role */ import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import KeyboardArrowLeft from '...
ajax/libs/react-instantsearch/5.0.3/Connectors.js
cdnjs/cdnjs
/*! ReactInstantSearch 5.0.3 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :...
ajax/libs/primereact/7.1.0/deferredcontent/deferredcontent.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[...
ajax/libs/primereact/6.6.0-rc.1/row/row.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[...
ajax/libs/material-ui/4.9.3/es/ButtonBase/Ripple.js
cdnjs/cdnjs
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import useEventCallback from '../utils/useEventCallback'; const useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect; /** * @ignore - internal component. */ function Ripple(props) { const ...
ajax/libs/boardgame-io/0.46.1/esm/react-native.js
cdnjs/cdnjs
import 'nanoid'; import { _ as _inherits, a as _createSuper, b as _createClass, c as _defineProperty, d as _classCallCheck, e as _objectWithoutProperties, f as _objectSpread2 } from './Debug-d3f20727.js'; import 'redux'; import './turn-order-21b8f302.js'; import 'immer'; import 'lodash.isplainobject'; import './reducer...
ajax/libs/primereact/7.0.0/fullcalendar/fullcalendar.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { ObjectUtils } from 'primereact/utils'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < ...
ajax/libs/react-native-web/0.16.4/exports/YellowBox/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import React from 'react'; import UnimplementedView from '../../modules/UnimplementedVie...
ajax/libs/primereact/7.1.0/progressspinner/progressspinner.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames } from 'primereact/utils'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < p...
ajax/libs/material-ui/4.12.4/esm/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { var theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line rea...