index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/AppsNav.tsx | import React from 'react';
import styles from './SideNav.m.less';
import { useVuex } from 'components-react/hooks';
import { $t } from 'services/i18n';
import { Services } from 'components-react/service-provider';
import MenuItem from 'components-react/shared/MenuItem';
import { EAppPageSlot } from 'services/platform-a... | 7,000 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/EditorTabs.tsx | import React, { useMemo } from 'react';
import { Services } from 'components-react/service-provider';
import styles from './SideNav.m.less';
import MenuItem from 'components-react/shared/MenuItem';
import { useVuex } from 'components-react/hooks';
import cx from 'classnames';
import { EMenuItemKey, ENavName } from 'ser... | 7,001 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/FeaturesNav.tsx | import React, { useMemo } from 'react';
import {
ENavName,
EMenuItemKey,
IMenuItem,
IParentMenuItem,
TExternalLinkType,
menuTitles,
compactMenuItemKeys,
} from 'services/side-nav';
import { $t } from 'services/i18n';
import { EAvailableFeatures } from 'services/incremental-rollout';
import { TAppPage } fr... | 7,002 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/NavTools.m.less | @import '../../styles/index';
@import '../../styles/mixins';
@import '../../styles/badges';
.bottom-nav {
margin-bottom: 10px !important;
justify-self: flex-end;
border-right: 0px !important;
border-top: 2px solid var(--nav-divider);
:global(div.ant-menu-submenu-title) {
padding-left: 16px !important;
... | 7,003 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/NavTools.tsx | import React, { useMemo, useState } from 'react';
import cx from 'classnames';
import electron from 'electron';
import Utils from 'services/utils';
import { $t } from 'services/i18n';
import throttle from 'lodash/throttle';
import { Services } from '../service-provider';
import { useVuex } from '../hooks';
import style... | 7,004 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/SideNav.m.less | @import '../../styles/index';
@import '../../styles/mixins';
@import '../../styles/badges';
.sidenav-sider {
position: relative;
z-index: 1002; // allows logout confirmation modal to show above resize bars
width: 100%;
overflow: visible;
transition: width 300ms;
.app-menu-item {
padding-left: 40px !im... | 7,005 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/sidebar/SideNav.tsx | import React, { useLayoutEffect, useRef } from 'react';
import ResizeObserver from 'resize-observer-polyfill';
import cx from 'classnames';
import { EMenuItemKey, ESubMenuItemKey } from 'services/side-nav';
import { EDismissable } from 'services/dismissables';
import { $t } from 'services/i18n';
import { Services } fro... | 7,006 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/AlertBox.tsx | /**
* Components for AlertBox widget
*/
import React, { useRef } from 'react';
import {
CheckboxInput,
MediaUrlInput,
NumberInput,
SliderInput,
TextInput,
AudioUrlInput,
SwitchInput,
FontFamilyInput,
ColorInput,
FontWeightInput,
FontSizeInput,
ListInput,
} from '../shared/inputs';
import { $t... | 7,007 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/ChatBox.tsx | import React from 'react';
import { IWidgetCommonState, useWidget, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
import { $t } from '../../services/i18n';
import { metadata } from '../shared/inputs/metadata';
import FormFactory from 'components-react/shared/inputs/FormF... | 7,008 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/CustomWidget.tsx | import React from 'react';
import { IWidgetCommonState, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
interface ICustomWidgetState extends IWidgetCommonState {
data: {
settings: {
custom_enabled: false;
custom_html: '';
custom_css: '';
cus... | 7,009 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/DonationTicker.tsx | import React from 'react';
import { IWidgetState, useWidget, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
import { $t } from '../../services/i18n';
import {
ColorInput,
FontFamilyInput,
FontSizeInput,
FontWeightInput,
NumberInput,
TextInput,
SliderInput,
... | 7,010 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/EmoteWall.tsx | import React from 'react';
import { IWidgetCommonState, useWidget, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
import { $t } from '../../services/i18n';
import { metadata } from '../shared/inputs/metadata';
import FormFactory from 'components-react/shared/inputs/FormF... | 7,011 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/GameWidget.tsx | import React from 'react';
import { IWidgetCommonState, useWidget, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
import { $t } from 'services/i18n';
import { metadata } from 'components-react/shared/inputs/metadata';
import { TextInput, SliderInput, ListInput } from 'co... | 7,012 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/ViewerCount.tsx | import React from 'react';
import { IWidgetCommonState, useWidget, WidgetModule } from './common/useWidget';
import { WidgetLayout } from './common/WidgetLayout';
import InputWrapper from '../shared/inputs/InputWrapper';
import { $t } from '../../services/i18n';
import { CheckboxInput, ColorInput, FontFamilyInput, Font... | 7,013 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/widgets/useAlertBox.tsx | import {
createAlertsMap,
ICustomCode,
IWidgetState,
useWidget,
WidgetModule,
} from './common/useWidget';
import values from 'lodash/values';
import cloneDeep from 'lodash/cloneDeep';
import intersection from 'lodash/intersection';
import { IAlertConfig, TAlertType } from '../../services/widgets/alerts-confi... | 7,014 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/CustomCode.tsx | import React from 'react';
import { Alert, Button, Collapse, Spin, Tabs } from 'antd';
import { $t } from '../../../services/i18n';
import { CodeInput, SwitchInput } from '../../shared/inputs';
import { useWidget } from './useWidget';
import Form from '../../shared/inputs/Form';
import { useOnCreate } from 'slap';
impo... | 7,015 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/CustomFields.tsx | import { ICustomField, useWidget } from './useWidget';
import Form from '../../shared/inputs/Form';
import {
ColorInput,
ListInput,
MediaUrlInput,
AudioUrlInput,
SliderInput,
TextInput,
} from '../../shared/inputs';
import React from 'react';
import { Button, Collapse } from 'antd';
import { $t } from '../.... | 7,016 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/LayoutInput.tsx | import React from 'react';
import { CardInput, InputComponent } from '../../shared/inputs';
import { TCardInputProps } from '../../shared/inputs/CardInput';
import { Services } from '../../service-provider';
import { getDefined } from '../../../util/properties-type-guards';
type TLayoutInputProps = Omit<TCardInputProp... | 7,017 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/WidgetLayout.m.less | @import "../../../styles/index.less";
// TODO: This is also used by the new filters window
// We should probably make these menu styles global
// across the entire app.
.widget-layout {
height: 100%;
// collapse
// add space between collapsed items
:global(.ant-collapse:not(:last-child)) {
.margin-botto... | 7,018 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/WidgetLayout.tsx | import { Button, Col, Collapse, Layout, Row, Spin } from 'antd';
import React, { ReactNode } from 'react';
import { useWidget } from './useWidget';
import Display from '../../shared/Display';
import css from './WidgetLayout.m.less';
import Form, { useForm } from '../../shared/inputs/Form';
import { ObsForm } from '../.... | 7,019 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/WidgetWindow.tsx | import React from 'react';
import { useOnCreate } from 'slap';
import { ModalLayout } from '../../shared/ModalLayout';
import { Services } from '../../service-provider';
import { AlertBox } from '../AlertBox';
import { AlertBoxModule } from '../useAlertBox';
import { useWidgetRoot, WidgetModule } from './useWidget';
//... | 7,020 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/useCodeEditor.tsx | import {WidgetModule, WidgetParams} from './useWidget';
import { message } from 'antd';
import Utils from '../../../services/utils';
import { Services } from '../../service-provider';
import { DEFAULT_CUSTOM_FIELDS } from './CustomFields';
import { getDefined } from '../../../util/properties-type-guards';
import {injec... | 7,021 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/common/useWidget.tsx | import { WidgetType } from '../../../services/widgets';
import { Services } from '../../service-provider';
import { throttle } from 'lodash-decorators';
import { assertIsDefined, getDefined } from '../../../util/properties-type-guards';
import { TObsFormData } from '../../../components/obs/inputs/ObsInput';
import pick... | 7,022 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/games/ChatWord.tsx | import React from 'react';
import { TextInput, ColorInput, SliderInput } from 'components-react/shared/inputs';
import { metadata } from 'components-react/shared/inputs/metadata';
import { $t } from 'services/i18n';
import { IChatWordOptions } from '../GameWidget';
export default function ChatWordSettings(p: {
gameS... | 7,023 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/games/TicTacToe.tsx | import React from 'react';
import { TextInput, ColorInput, SliderInput } from 'components-react/shared/inputs';
import { metadata } from 'components-react/shared/inputs/metadata';
import { $t } from 'services/i18n';
import { ITicTacToeOptions } from '../GameWidget';
export default function TicTacToeSettings(p: {
gam... | 7,024 |
0 | petrpan-code/stream-labs/desktop/app/components-react/widgets | petrpan-code/stream-labs/desktop/app/components-react/widgets/games/index.tsx | import ChatWord from './ChatWord';
import TicTacToe from './TicTacToe';
const componentMap = {
['tic-tac-toe']: TicTacToe,
['chat-word']: ChatWord,
};
export default componentMap;
| 7,025 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/AddSource.m.less | @import '../../styles/index';
.container {
display: flex;
}
.menu-container {
width: 270px;
height: 170px;
margin-right: 24px;
}
.menu {
min-height: 100%;
background: var(--section) !important;
}
.recommended-label {
color: var(--teal);
margin-left: 10px;
}
.new-source-toggle {
position: absolute... | 7,026 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/AddSource.tsx | import React, { useEffect, useMemo, useState } from 'react';
import { Menu } from 'antd';
import * as remote from '@electron/remote';
import cx from 'classnames';
import { TSourceType, ISourceApi, ISourceAddOptions } from 'services/sources';
import { WidgetDisplayData } from 'services/widgets';
import { $t } from 'serv... | 7,027 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/AdvancedStatistics.m.less | @import "../../styles/index.less";
.container {
height: 100%;
@media (max-width: 1200px) {
:global(.performance-metric-icon) {
display: inline-block !important;
}
}
:global(.performance-metric-wrapper) {
background-color: var(--section-alt);
padding: 10px;
margin-right: 2px;
fle... | 7,028 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/AdvancedStatistics.tsx | import React, { useEffect } from 'react';
import cx from 'classnames';
import { Services } from '../service-provider';
import { useRenderInterval, useVuex } from '../hooks';
import { $t } from '../../services/i18n';
import styles from './AdvancedStatistics.m.less';
import { ModalLayout } from '../shared/ModalLayout';
i... | 7,029 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/Blank.tsx | import React from 'react';
export default function Blank() {
return <div />;
}
| 7,030 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/EditTransform.tsx | import React, { useEffect, useState } from 'react';
import { Subscription } from 'rxjs';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import { Services } from 'components-react/service-provider';
import InputWrapper from 'components-react/shared/inputs/InputWrapper';
import { $t } from 'services/i... | 7,031 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/GuestCamProperties.tsx | import { ExclamationCircleOutlined, QuestionCircleOutlined } from '@ant-design/icons';
import * as remote from '@electron/remote';
import { Alert, Button, Modal, Tabs, Tooltip } from 'antd';
import { useVuex } from 'components-react/hooks';
import { Spinner } from 'components-react/pages/Loader';
import { Services } fr... | 7,032 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/IconLibraryProperties.m.less | .cell-container {
display: flex;
flex-wrap: wrap;
height: 100%;
width: 100%;
}
.image-cell {
width: 40px;
height: 40px;
border-radius: 4px;
padding: 4px;
margin: 2px 4px;
box-sizing: border-box;
&:hover {
cursor: pointer;
}
img {
height: 100%;
}
}
.image-cell.selected {
backgro... | 7,033 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/IconLibraryProperties.tsx | import cx from 'classnames';
import path from 'path';
import fs from 'fs';
import { ModalLayout } from '../shared/ModalLayout';
import { $t } from '../../services/i18n';
import React, { useEffect, useState } from 'react';
import { Services } from '../service-provider';
import { FileInput } from '../shared/inputs';
impo... | 7,034 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/ManageSceneCollections.m.less | .button-container {
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 150px 150px;
gap: 16px;
padding-right: 20px;
margin-top: 8px;
.button {
background: var(--button);
color: var(--paragraph);
padding: 8px;
border-radius: 8px;
i {
display: block;
font-si... | 7,035 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/ManageSceneCollections.tsx | import React, { useEffect, useState } from 'react';
import { Layout, Tooltip } from 'antd';
import Fuse from 'fuse.js';
import moment from 'moment';
import cx from 'classnames';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import { Services } from 'components-react/service-provider';
import { conf... | 7,036 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/MediaGallery.m.less | @import '../../styles/index';
.container {
display: block;
position: relative;
padding: 30px;
width: 100%;
height: 100%;
:global(.ant-progress-text) {
display: block;
width: auto;
}
:global(.ant-card) {
width: 150px;
margin: 4px 2px;
max-height: 210px;
}
:global(.os-content) ... | 7,037 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/MediaGallery.tsx | import React, { useEffect, useState, useRef } from 'react';
import { clipboard } from 'electron';
import * as remote from '@electron/remote';
import { Layout, message, Card, Menu, Progress, PageHeader } from 'antd';
import cx from 'classnames';
import { IMediaGalleryFile, IMediaGalleryInfo } from 'services/media-galler... | 7,038 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/NameFolder.tsx | import { ModalLayout } from '../shared/ModalLayout';
import { $t } from '../../services/i18n';
import React, { useState } from 'react';
import { Services } from '../service-provider';
import { useOnCreate } from 'slap';
import { assertIsDefined } from '../../util/properties-type-guards';
import { TextInput } from '../s... | 7,039 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/NameScene.tsx | import { useChildWindowParams } from 'components-react/hooks';
import { Services } from 'components-react/service-provider';
import { TextInput } from 'components-react/shared/inputs';
import Form, { useForm } from 'components-react/shared/inputs/Form';
import { ModalLayout } from 'components-react/shared/ModalLayout';... | 7,040 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/PlatformAppPopOut.tsx | import React, { useEffect, useMemo } from 'react';
import PlatformAppPageView from 'components-react/shared/PlatformAppPageView';
import Util from 'services/utils';
import { Services } from 'components-react/service-provider';
import { useOneOffWindowParams } from 'components-react/hooks';
export default function Plat... | 7,041 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/Projector.m.less | .projector-container {
height: 100%;
}
.projector-fullscreen {
height: 100%;
display: flex;
}
.projector-windowed {
height: 100%;
flex-direction: column;
display: flex;
}
.projector-display {
flex-grow: 1;
}
.projector-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
| 7,042 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/Projector.tsx | import React, { useMemo, useRef } from 'react';
import electron from 'electron';
import * as remote from '@electron/remote';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import Display from 'components-react/shared/Display';
import Util from 'services/utils';
import Scrollable from 'components-rea... | 7,043 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/RecentEvents.tsx | import React from 'react';
import * as remote from '@electron/remote';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import BrowserView from 'components-react/shared/BrowserView';
import { Services } from 'components-react/service-provider';
export default function RecentEvents() {
const { UserS... | 7,044 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/RenameSource.tsx | import React, { useState, useMemo } from 'react';
import Form, { useForm } from '../shared/inputs/Form';
import { TextInput } from 'components-react/shared/inputs';
import { Services } from '../service-provider';
import { ModalLayout } from '../shared/ModalLayout';
import { $t } from '../../services/i18n';
import { use... | 7,045 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/SafeMode.tsx | import React from 'react';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import { $t } from 'services/i18n';
import Form from 'components-react/shared/inputs/Form';
import { CheckboxInput, NumberInput } from 'components-react/shared/inputs';
import { Services } from 'components-react/service-provid... | 7,046 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/ScreenCaptureProperties.m.less | .capture-list {
display: flex;
flex-wrap: wrap;
margin-bottom: 8px;
}
.capture-item {
width: 150px;
background: var(--section);
border-radius: 8px;
margin: 5px;
cursor: pointer;
position: relative;
img {
width: 150px;
height: 100px;
object-fit: contain;
}
.capture-item-thumbnail-i... | 7,047 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/ScreenCaptureProperties.tsx | import React, { useMemo, useState, useEffect } from 'react';
import electron from 'electron';
import { Services } from 'components-react/service-provider';
import styles from './ScreenCaptureProperties.m.less';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import Display from 'components-react/shar... | 7,048 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/SourceFilters.m.less | .filter-menu-item {
i {
display: none;
}
&:hover {
i {
display: inline;
}
}
} | 7,049 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/SourceFilters.tsx | import { Services } from 'components-react/service-provider';
import React, { forwardRef, useEffect, useMemo, useRef, useState } from 'react';
import Display from 'components-react/shared/Display';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import { Button, Menu, Modal } from 'antd';
import Scro... | 7,050 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/SourceProperties.tsx | import React, { useMemo, useState } from 'react';
import { Services } from '../service-provider';
import { IObsFormProps, ObsForm } from '../obs/ObsForm';
import { TObsFormData } from '../../components/obs/inputs/ObsInput';
import { ModalLayout } from '../shared/ModalLayout';
import Display from '../shared/Display';
im... | 7,051 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/WelcomeToPrime.m.less | @import '../../styles/index.less';
.container {
background: var(--section);
display: flex;
flex-direction: column;
align-items: center;
padding: 32px;
height: 100%;
p {
color: var(--paragraph);
}
button {
margin-top: 16px;
}
}
.title {
font-size: 36px;
}
.icon {
color: var(--icon);
... | 7,052 |
0 | petrpan-code/stream-labs/desktop/app/components-react | petrpan-code/stream-labs/desktop/app/components-react/windows/WelcomeToPrime.tsx | import React from 'react';
import cx from 'classnames';
import { $t } from 'services/i18n';
import { TAppPage } from 'services/navigation';
import { SwitchInput } from 'components-react/shared/inputs';
import styles from './WelcomeToPrime.m.less';
import { Services } from 'components-react/service-provider';
import { u... | 7,053 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/advanced-audio/AdvancedAudio.m.less | @import '../../../styles/index';
.audio-settings-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 90%;
position: absolute;
top: 8px;
left: 50px;
i {
margin-left: 8px;
margin-right: 8px;
}
i:hover {
color: var(--icon-active);
}
:global(.icon-mute) {... | 7,054 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/advanced-audio/GlobalSettings.tsx | import React from 'react';
import { BoolButtonInput, ListInput, SwitchInput } from 'components-react/shared/inputs';
import InputWrapper from 'components-react/shared/inputs/InputWrapper';
import { TObsValue, IObsListInput, IObsInput } from 'components/obs/inputs/ObsInput';
import { Services } from 'components-react/se... | 7,055 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/advanced-audio/SourceSettings.tsx | import React, { useState, useRef, useMemo, useEffect } from 'react';
import { Button, Collapse, Tooltip } from 'antd';
import {
SliderInput,
BoolButtonInput,
ListInput,
SwitchInput,
NumberInput,
} from 'components-react/shared/inputs';
import InputWrapper from 'components-react/shared/inputs/InputWrapper';
im... | 7,056 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/advanced-audio/index.tsx | import React, { useEffect, useState } from 'react';
import { Menu, message } from 'antd';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import Scrollable from 'components-react/shared/Scrollable';
import { Services } from 'components-react/service-provider';
import { useVuex } from 'components-reac... | 7,057 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/CommonPlatformFields.tsx | import { TPlatform } from '../../../services/platforms';
import { $t } from '../../../services/i18n';
import React from 'react';
import { CheckboxInput, InputComponent, TextAreaInput, TextInput } from '../../shared/inputs';
import { assertIsDefined } from '../../../util/properties-type-guards';
import InputWrapper from... | 7,058 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/DestinationSwitchers.m.less | @import "../../../styles/index.less";
.platform-logo-twitch { font-size: 40px; }
.platform-logo-youtube { font-size: 35px; margin-top: 5px }
.platform-logo-facebook { font-size: 40px; }
.platform-logo-tiktok { font-size: 40px; margin-left: 5px }
.platform-switcher {
.radius();
.margin-bottom();
.padding();
d... | 7,059 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/DestinationSwitchers.tsx | import React, { useRef, MouseEvent } from 'react';
import { getPlatformService, TPlatform } from '../../../services/platforms';
import cx from 'classnames';
import { $t } from '../../../services/i18n';
import styles from './DestinationSwitchers.m.less';
import { ICustomStreamDestination } from '../../../services/settin... | 7,060 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/EditStreamWindow.tsx | import styles from './GoLive.m.less';
import { ModalLayout } from '../../shared/ModalLayout';
import { Button } from 'antd';
import { useOnCreate } from 'slap';
import { Services } from '../../service-provider';
import React from 'react';
import { $t } from '../../../services/i18n';
import GoLiveChecklist from './GoLiv... | 7,061 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GameSelector.tsx | import React, { useEffect } from 'react';
import {
getPlatformService,
IGame,
IPlatformCapabilityGame,
TPlatform,
} from '../../../services/platforms';
import { ListInput, TSlobsInputProps } from '../../shared/inputs';
import { $t } from '../../../services/i18n';
import { IListOption } from '../../shared/inputs... | 7,062 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLive.m.less | @import '../../../styles/index.less';
.go-live-settings {
height: 100%;
&:global(a) {
color: var(--teal);
}
}
.dual-output-go-live {
height: 100%;
&:global(a) {
color: var(--teal);
}
:global(.ant-modal-body) {
background-color: var(--dark-background);
padding: 0px;
}
}
.section {
.... | 7,063 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveChecklist.m.less | @import "../../../styles/index.less";
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
}
// make timeline icons and text bigger
.container :global(.ant-timeline-item-tail) {
top: 15px;
height: calc(100% - 20px);
}
.container :global(.an... | 7,064 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveChecklist.tsx | import { useGoLiveSettings } from './useGoLiveSettings';
import css from './GoLiveChecklist.m.less';
import React, { HTMLAttributes, useEffect } from 'react';
import { Services } from '../../service-provider';
import { $t } from '../../../services/i18n';
import { TGoLiveChecklistItemState } from '../../../services/stre... | 7,065 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveError.m.less | @import "../../../styles/index.less";
.container {
// allow to select errors text
* {
user-select: text;
}
}
.title {
color: var(--title);
font-size: 16px;
}
.link {
color: var(--teal);
}
.details {
font-family: monospace;
}
.go-prime-btn {
background-color: var(--prime-hover);
}
| 7,066 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveError.tsx | import React from 'react';
import { useVuex } from '../../hooks';
import { Services } from '../../service-provider';
import { IStreamError } from '../../../services/streaming/stream-error';
import MessageLayout from './MessageLayout';
import { assertIsDefined } from '../../../util/properties-type-guards';
import { getP... | 7,067 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveSettings.tsx | import styles from './GoLive.m.less';
import Scrollable from '../../shared/Scrollable';
import { Services } from '../../service-provider';
import React from 'react';
import { useGoLiveSettings } from './useGoLiveSettings';
import { DestinationSwitchers } from './DestinationSwitchers';
import { $t } from '../../../servi... | 7,068 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/GoLiveWindow.tsx | import styles from './GoLive.m.less';
import { WindowsService } from 'app-services';
import { ModalLayout } from '../../shared/ModalLayout';
import { Button } from 'antd';
import { Services } from '../../service-provider';
import GoLiveSettings from './GoLiveSettings';
import DualOutputGoLiveSettings from './dual-outpu... | 7,069 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/MessageLayout.tsx | import styles from './GoLiveError.m.less';
import React, { useState, HTMLAttributes } from 'react';
import { errorTypes, IStreamError } from '../../../services/streaming/stream-error';
import { $t } from '../../../services/i18n';
import { Alert } from 'antd';
interface IMessageLayoutProps {
error?: IStreamError;
/... | 7,070 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/OptimizedProfileSwitcher.tsx | import React from 'react';
import { useGoLiveSettings } from './useGoLiveSettings';
import { $t } from '../../../services/i18n';
import { CheckboxInput } from '../../shared/inputs';
import { Services } from '../../service-provider';
import InputWrapper from '../../shared/inputs/InputWrapper';
import { inject, injectQue... | 7,071 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/PlatformSettings.tsx | import { CommonPlatformFields } from './CommonPlatformFields';
import { useGoLiveSettings } from './useGoLiveSettings';
import { $t } from '../../../services/i18n';
import React from 'react';
import { TPlatform } from '../../../services/platforms';
import { TwitchEditStreamInfo } from './platforms/TwitchEditStreamInfo'... | 7,072 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/Section.tsx | import styles from './GoLive.m.less';
import React, { HTMLAttributes } from 'react';
import cx from 'classnames';
import InputWrapper from '../../shared/inputs/InputWrapper';
interface ISectionProps {
title?: string;
isSimpleMode?: boolean;
}
/**
* renders a section wrapper
*/
export function Section(p: ISectio... | 7,073 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/Twitter.tsx | import React from 'react';
import InputWrapper from '../../shared/inputs/InputWrapper';
import { Services } from '../../service-provider';
import { $t } from '../../../services/i18n';
import { Button } from 'antd';
import { useGoLiveSettings } from './useGoLiveSettings';
import { injectWatch } from 'slap';
import { Twi... | 7,074 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/useGoLiveSettings.ts | import { IGoLiveSettings, StreamInfoView } from '../../../services/streaming';
import { TPlatform } from '../../../services/platforms';
import { TDisplayDestinations } from 'services/dual-output';
import { ICustomStreamDestination } from 'services/settings/streaming';
import { Services } from '../../service-provider';
... | 7,075 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/DualOutputGoLive.m.less | @import '../../../../styles/index.less';
@import '../GoLive.m.less';
.settings-row {
height: 100%;
margin: 0px !important;
:global(.ant-col) {
padding: 0px;
}
}
.left-column {
height: 100%;
padding: 0px !important;
&:global(.ant-col) {
padding: 10px;
}
}
.right-column {
height: 100%;
ba... | 7,076 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/DualOutputGoLiveSettings.tsx | import React from 'react';
import styles from './DualOutputGoLive.m.less';
import Scrollable from 'components-react/shared/Scrollable';
import { Services } from 'components-react/service-provider';
import { useGoLiveSettings } from '../useGoLiveSettings';
import { $t } from 'services/i18n';
import { Row, Col } from 'an... | 7,077 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/DualOutputPlatformSelector.tsx | import React, { useRef, useMemo } from 'react';
import { $t } from 'services/i18n';
import { TPlatform, platformLabels } from 'services/platforms';
import { useGoLiveSettings } from '../useGoLiveSettings';
import { Select } from 'antd';
import PlatformLogo from 'components-react/shared/PlatformLogo';
import { Services ... | 7,078 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/NonUltraDestinationSwitchers.tsx | import React, { useRef, useCallback } from 'react';
import { getPlatformService, TPlatform } from 'services/platforms';
import cx from 'classnames';
import { $t } from 'services/i18n';
import styles from './DualOutputGoLive.m.less';
import { ICustomStreamDestination } from 'services/settings/streaming';
import { Servic... | 7,079 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/UltraDestinationSwitchers.m.less | @import '../../../../styles/index.less';
.platform-logo-twitch {
font-size: 40px;
}
.platform-logo-youtube {
font-size: 35px;
margin-top: 5px;
}
.platform-logo-facebook {
font-size: 40px;
}
.platform-logo-tiktok {
font-size: 40px;
margin-left: 5px;
}
.platform-switcher {
.radius();
.padding();
disp... | 7,080 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/UltraDestinationSwitchers.tsx | import React, { useRef, MouseEvent, useCallback } from 'react';
import { getPlatformService, TPlatform } from 'services/platforms';
import cx from 'classnames';
import { $t } from 'services/i18n';
import styles from './DualOutputGoLive.m.less';
import { ICustomStreamDestination } from 'services/settings/streaming';
imp... | 7,081 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/UserSettingsNonUltra.tsx | import React from 'react';
import { Services } from 'components-react/service-provider';
import { useGoLiveSettings } from '../useGoLiveSettings';
import AddDestinationButton from 'components-react/shared/AddDestinationButton';
import { NonUltraDestinationSwitchers } from './NonUltraDestinationSwitchers';
export defaul... | 7,082 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/dual-output/UserSettingsUltra.tsx | import React from 'react';
import { useGoLiveSettings } from '../useGoLiveSettings';
import { UltraDestinationSwitchers } from './UltraDestinationSwitchers';
import AddDestinationButton from 'components-react/shared/AddDestinationButton';
export default function UserSettingsUltra() {
const { canAddDestinations } = u... | 7,083 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/BroadcastInput.tsx | import React from 'react';
import { $t } from '../../../../services/i18n';
import * as moment from 'moment';
import css from './BroadcastInput.m.less';
import cx from 'classnames';
import { IYoutubeLiveBroadcast } from '../../../../services/platforms/youtube';
import { ListInput, IInputCommonProps } from '../../../shar... | 7,084 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/FacebookEditStreamInfo.m.less | // invert colors for privacy icons
.privacy-selector img {
filter: invert(100%);
}
| 7,085 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/FacebookEditStreamInfo.tsx | import css from './FacebookEditStreamInfo.m.less';
import { CommonPlatformFields } from '../CommonPlatformFields';
import React from 'react';
import { inject, injectFormBinding, injectState, useModule } from 'slap';
import Form from '../../../shared/inputs/Form';
import { DismissablesService, EDismissable } from 'servi... | 7,086 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/PlatformSettingsLayout.tsx | import React from 'react';
import { TPlatform } from '../../../../services/platforms';
import { ITwitchStartStreamOptions } from '../../../../services/platforms/twitch';
import { IYoutubeStartStreamOptions } from '../../../../services/platforms/youtube';
import { IFacebookStartStreamOptions } from '../../../../services... | 7,087 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/TiktokEditStreamInfo.tsx | import React from 'react';
import { createBinding, TextInput } from '../../../shared/inputs';
import Form from '../../../shared/inputs/Form';
import { $t } from '../../../../services/i18n';
import { Services } from '../../../service-provider';
import { Button } from 'antd';
import InputWrapper from '../../../shared/inp... | 7,088 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/TrovoEditStreamInfo.tsx | import React from 'react';
import PlatformSettingsLayout, { IPlatformComponentParams } from './PlatformSettingsLayout';
import { ITrovoStartStreamOptions, TrovoService } from '../../../../services/platforms/trovo';
import { createBinding } from '../../../shared/inputs';
import Form from '../../../shared/inputs/Form';
i... | 7,089 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/TwitchEditStreamInfo.tsx | import { CommonPlatformFields } from '../CommonPlatformFields';
import React from 'react';
import { $t } from '../../../../services/i18n';
import { TwitchTagsInput } from './TwitchTagsInput';
import GameSelector from '../GameSelector';
import Form from '../../../shared/inputs/Form';
import PlatformSettingsLayout, { IPl... | 7,090 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/TwitchTagsInput.tsx | import { TagsInput, TSlobsInputProps } from '../../../shared/inputs';
import { Tag } from 'antd';
import { Services } from '../../../service-provider';
import React from 'react';
import { $t } from '../../../../services/i18n';
import { useVuex } from 'components-react/hooks';
type TTwitchTagsInputProps = TSlobsInputPr... | 7,091 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/TwitterEditStreamInfo.tsx | import React from 'react';
import PlatformSettingsLayout, { IPlatformComponentParams } from './PlatformSettingsLayout';
import { ITwitterStartStreamOptions } from '../../../../services/platforms/twitter';
import { createBinding } from '../../../shared/inputs';
import Form from '../../../shared/inputs/Form';
import { Co... | 7,092 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live | petrpan-code/stream-labs/desktop/app/components-react/windows/go-live/platforms/YoutubeEditStreamInfo.tsx | import { CommonPlatformFields } from '../CommonPlatformFields';
import {
CheckboxInput,
createBinding,
ImageInput,
InputComponent,
ListInput,
} from '../../../shared/inputs';
import React, { useEffect, useState } from 'react';
import { Services } from '../../../service-provider';
import { $t } from '../../../... | 7,093 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/notifications/News.m.less | .news-item-container {
background: var(--section-alt);
padding: 16px;
border-radius: 8px;
margin-bottom: 16px;
display: flex;
flex-direction: column;
button {
width: 100%;
color: var(--action-button-text);
margin-top: 8px;
}
}
.news-image {
width: 100%;
height: auto;
border-radius: 4... | 7,094 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/notifications/News.tsx | import React, { useEffect } from 'react';
import { shell } from 'electron';
import Scrollable from 'components-react/shared/Scrollable';
import { Services } from 'components-react/service-provider';
import { useVuex } from 'components-react/hooks';
import { TAppPage } from 'services/navigation';
import { IAnnouncements... | 7,095 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/notifications/Notifications.m.less | @import '../../../styles/index';
.notification {
color: var(--icon);
padding: 5px 10px;
margin-bottom: 5px;
display: grid;
grid-template-columns: 30px 1fr 130px;
background: var(--border);
.border();
&.has-action:hover {
color: var(--title);
background: var(--section);
cursor: pointer;
}... | 7,096 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/notifications/Notifications.tsx | import React, { useEffect } from 'react';
import moment from 'moment';
import cx from 'classnames';
import { useRenderInterval, useVuex } from 'components-react/hooks';
import { Services } from 'components-react/service-provider';
import Scrollable from 'components-react/shared/Scrollable';
import { INotification } fro... | 7,097 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/notifications/index.tsx | import React from 'react';
import { Services } from 'components-react/service-provider';
import { Tabs } from 'antd';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import News from './News';
import Notifications from './Notifications';
import { $t } from 'services/i18n';
export default function No... | 7,098 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Advanced.tsx | import React from 'react';
import { ObsGenericSettingsForm } from './ObsSettings';
export function AdvancedSettings() {
return <ObsGenericSettingsForm />;
}
AdvancedSettings.page = 'Advanced';
| 7,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.