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/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Appearance.m.less | @import '../../../styles/index';
.container {
margin-bottom: 3px;
}
.prime-container {
margin-bottom: 16px;
}
.prime {
color: var(--prime);
}
.sidenav-settings {
padding-bottom: 16px;
.menu-controls {
:global(div.ant-form-item-control-input) {
min-height: 39px;
}
}
}
.apps-selector {
d... | 7,100 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Appearance.tsx | import React from 'react';
import { Services } from '../../service-provider';
import { $t } from '../../../services/i18n';
import { Row, Col, Select } from 'antd';
import { CheckboxInput, ListInput, SliderInput, SwitchInput } from '../../shared/inputs';
import { getDefined } from '../../../util/properties-type-guards';... | 7,101 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Audio.tsx | import React from 'react';
import { ObsGenericSettingsForm } from './ObsSettings';
export function AudioSettings() {
return <ObsGenericSettingsForm />;
}
AudioSettings.page = 'Audio';
| 7,102 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Common.m.less | .form-section {
background: var(--section);
padding: 16px;
margin-bottom: 24px;
border-radius: 4px;
}
.video-settings-header {
padding-bottom: 5px;
display: flex;
align-items: center;
width: 100%;
justify-content: space-between;
.do-toggle {
display: flex;
flex-direction: row;
align-i... | 7,103 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Experimental.tsx | import React from 'react';
import { Button } from 'antd';
import { ObsSettingsSection } from './ObsSettings';
import { Services } from '../../service-provider';
import { alertAsync } from '../../modals';
import { CheckCircleOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
import { $t } from 'services/i18... | 7,104 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/GameOverlay.tsx | import { message } from 'antd';
import { useVuex } from 'components-react/hooks';
import { Services } from 'components-react/service-provider';
import { SliderInput, SwitchInput } from 'components-react/shared/inputs';
import React, { useState } from 'react';
import { $t } from 'services/i18n/index';
export function G... | 7,105 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/General.tsx | import React, { useState } from 'react';
import { ObsGenericSettingsForm, ObsSettingsSection } from './ObsSettings';
import { $t, I18nService } from '../../../services/i18n';
import { alertAsync, confirmAsync } from '../../modals';
import { CheckboxInput, ListInput } from '../../shared/inputs';
import { Services } from... | 7,106 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Hotkey.m.less | @import '../../../styles/index.less';
.hotkey {
display: flex;
flex-direction: row;
}
// TODO: we rather have flexbox handle all this, but this is porting ;)
.hotkey-bindings {
display: flex;
flex: 1;
flex-wrap: wrap;
/* hotkey description coming from child component `HotkeyBinding` */
:global(.ant-for... | 7,107 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Hotkey.tsx | import React, { useState, useEffect, KeyboardEvent, MouseEvent, UIEvent } from 'react';
import { IHotkey, IBinding } from 'services/hotkeys';
import cx from 'classnames';
import styles from './Hotkey.m.less';
import HotkeyBinding from 'components-react/shared/HotkeyBinding';
/**
* Represents a binding that has a uniq... | 7,108 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/HotkeyGroup.tsx | import React, { useState } from 'react';
import { Collapse } from 'antd';
import cx from 'classnames';
import { IHotkey } from 'services/hotkeys';
import Hotkey from './Hotkey';
interface CommonProps {
title: string | null;
}
interface HotkeyGroupProps extends CommonProps {
hotkeys: IHotkey[];
isSearch: boolean... | 7,109 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Hotkeys.tsx | import React, { useState, useEffect, useMemo } from 'react';
import { Services } from '../../service-provider';
import { IHotkeysSet, IHotkey } from 'services/hotkeys';
import HotkeyGroup from './HotkeyGroup';
import { $t } from '../../../services/i18n';
import mapValues from 'lodash/mapValues';
import Fuse from 'fuse.... | 7,110 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/InstalledApps.m.less | .installed-apps td:last-child {
text-align: right;
}
.button-container {
display: flex;
.button {
margin-right: 0;
}
} | 7,111 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/InstalledApps.tsx | import React from 'react';
import { Tooltip } from 'antd';
import cx from 'classnames';
import { Services } from 'components-react/service-provider';
import { ILoadedApp } from 'services/platform-apps';
import { $t } from 'services/i18n';
import styles from './InstalledApps.m.less';
import { useVuex } from 'components-... | 7,112 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Multistreaming.m.less | @import '../../../styles/index.less';
@import '../../../styles/mixins';
.multistreaming-wrapper .section {
margin-top: 16px;
}
.wrapper {
margin-bottom: 16px;
}
.prime {
color: var(--prime);
}
| 7,113 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Multistreaming.tsx | import React from 'react';
import { useVuex } from 'components-react/hooks';
import { Services } from '../../service-provider';
import { $t } from 'services/i18n';
import { ObsSettingsSection } from './ObsSettings';
import Translate from 'components-react/shared/Translate';
import UltraIcon from 'components-react/share... | 7,114 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/ObsSettings.m.less | @import '../../../styles/mixins';
.obs-settings-window {
:global(.ant-checkbox-wrapper) {
margin-bottom: 8px;
}
:global(.actions) {
.flex();
.flex--space-between();
.margin-top();
flex-wrap: wrap;
}
}
| 7,115 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/ObsSettings.tsx | import React, { CSSProperties, HTMLAttributes } from 'react';
import * as pageComponents from './pages';
import { useObsSettings } from './useObsSettings';
import { ObsFormGroup } from '../../obs/ObsForm';
import Form from '../../shared/inputs/Form';
import css from './ObsSettings.m.less';
/**
* Renders a settings pa... | 7,116 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/RemoteControl.tsx | import React, { CSSProperties } from 'react';
import { ObsSettingsSection } from './ObsSettings';
import { $t } from '../../../services/i18n';
import QRCode from 'qrcode.react';
import { Services } from '../../service-provider';
import Form from '../../shared/inputs/Form';
import { TextInput } from '../../shared/inputs... | 7,117 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Stream.m.less | @import '../../../styles/index.less';
.platform-button {
min-width: 100px;
}
.prime {
margin-right: 16px;
font-style: italic;
color: var(--prime-hover);
}
.action-icon {
cursor: pointer;
color: var(--icon);
transition: all 275ms;
margin-right: 16px;
margin-top: 14px;
&:hover {
color: var(--t... | 7,118 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Stream.tsx | import React, { useMemo } from 'react';
import { $t } from '../../../services/i18n';
import { ICustomStreamDestination } from '../../../services/settings/streaming';
import { EStreamingState } from '../../../services/streaming';
import { getPlatformService, TPlatform } from '../../../services/platforms';
import cloneDe... | 7,119 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Support.tsx | import React, { useState } from 'react';
import * as remote from '@electron/remote';
import { useVuex } from '../../hooks';
import { Services } from '../../service-provider';
import { alertAsync, confirmAsync } from '../../modals';
import { $t } from '../../../services/i18n';
import { ObsSettingsSection } from './ObsSe... | 7,120 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Ultra.m.less | .product-list-container {
display: flex;
flex-direction: column;
align-items: center;
> h2, span {
position: relative;
text-align: center;
color: var(--title);
}
h2 {
font-size: 32px;
}
}
.color-block {
background: linear-gradient(180deg, transparent 0%, var(--background) 100%), var(-... | 7,121 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Ultra.tsx | import React from 'react';
import * as remote from '@electron/remote';
import cx from 'classnames';
import { UltraComparison } from 'components-react/shared/UltraComparison';
import styles from './Ultra.m.less';
import { $t } from 'services/i18n';
import { $i } from 'services/utils';
import { Services } from 'component... | 7,122 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/Video.tsx | import * as remote from '@electron/remote';
import React from 'react';
import { useModule, injectState } from 'slap';
import { Services } from '../../service-provider';
import { Button, Form, Modal, message } from 'antd';
import FormFactory, { TInputValue } from 'components-react/shared/inputs/FormFactory';
import { Ch... | 7,123 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/pages.ts | export * from './General';
export * from './Multistreaming';
export * from './Stream';
// 'Output',
export * from './Audio';
export * from './Video';
// 'Hotkeys',
export * from './Advanced';
// 'SceneCollections',
// 'Notifications',
export * from './Appearance';
export * from './RemoteControl';
// 'VirtualWebcam',
ex... | 7,124 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/settings/useObsSettings.tsx | import React from 'react';
import { useModule, injectState } from 'slap';
import { Services } from '../../service-provider';
import { ISettingsSubCategory } from '../../../services/settings';
/**
* A module for components in the SettingsWindow
*/
class ObsSettingsModule {
state = injectState({
page: '',
});
... | 7,125 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/sharedComponentsLibrary/DemoForm.tsx | import React, { useState } from 'react';
import { Example, useSharedComponentsLibrary } from './SharedComponentsLibrary';
import Utils from '../../../services/utils';
import { IListOption, ListInput } from '../../shared/inputs/ListInput';
import Form from '../../shared/inputs/Form';
import {
CheckboxInput,
FileInpu... | 7,126 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/sharedComponentsLibrary/SharedComponentsLibrary.tsx | import React, { HTMLAttributes } from 'react';
import { ModalLayout } from '../../shared/ModalLayout';
import Form from '../../shared/inputs/Form';
import {
CheckboxInput,
DateInput,
FileInput,
ImageInput,
ListInput,
MediaUrlInput,
NumberInput,
SliderInput,
SwitchInput,
TagsInput,
TextAreaInput,
... | 7,127 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/source-showcase/SourceGrid.tsx | import React, { useMemo } from 'react';
import { Empty, Row, Col, PageHeader, Button } from 'antd';
import Scrollable from 'components-react/shared/Scrollable';
import { Services } from 'components-react/service-provider';
import { useVuex } from 'components-react/hooks';
import { IObsListOption } from 'components/obs/... | 7,128 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/source-showcase/SourceShowcase.m.less | .preview {
width: 100%;
height: 100%;
padding: 24px;
background: var(--section);
img,
video {
width: 100%;
height: auto;
}
}
.support-header {
margin-top: 24px;
}
.source-tag {
background: var(--section-alt);
border-radius: 4px;
height: 100%;
padding: 6px 8px;
overflow-wrap: break-w... | 7,129 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/source-showcase/SourceTag.tsx | import React from 'react';
import { Col } from 'antd';
import cx from 'classnames';
import { WidgetDisplayData, WidgetType } from 'services/widgets';
import { SourceDisplayData } from 'services/sources';
import { useSourceShowcaseSettings } from './useSourceShowcase';
import styles from './SourceShowcase.m.less';
impor... | 7,130 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/source-showcase/index.tsx | import React, { useState, useMemo } from 'react';
import { Layout, Menu } from 'antd';
import { ModalLayout } from 'components-react/shared/ModalLayout';
import { Services } from 'components-react/service-provider';
import { useVuex } from 'components-react/hooks';
import { SourceDisplayData } from 'services/sources';
... | 7,131 |
0 | petrpan-code/stream-labs/desktop/app/components-react/windows | petrpan-code/stream-labs/desktop/app/components-react/windows/source-showcase/useSourceShowcase.tsx | import React from 'react';
import omit from 'lodash/omit';
import { Services } from '../../service-provider';
import { TPropertiesManager, TSourceType } from 'services/sources';
import { WidgetType } from 'services/widgets';
import { byOS, OS } from 'util/operating-systems';
import { IAppSource } from 'services/platfor... | 7,132 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/AppPlatformDeveloperSettings.vue | <template>
<div class="app-platform-developer-settings">
<h2>App Platform</h2>
<div v-if="currentlyLoadedUnpackedApp">
<h4>Currently Loaded App</h4>
<p class="app-platform-details">
{{ currentlyLoadedUnpackedApp.manifest.name }}
{{ currentlyLoadedUnpackedApp.manifest.version }}
... | 7,133 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/AppPlatformDeveloperSettings.vue.ts | import Vue from 'vue';
import { Component } from 'vue-property-decorator';
import { metadata } from 'components/shared/inputs';
import VFormGroup from 'components/shared/inputs/VFormGroup.vue';
import ValidatedForm from 'components/shared/inputs/ValidatedForm';
import { PlatformAppsService } from 'services/platform-app... | 7,134 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/ConnectionSettings.tsx | import TsxComponent, { createProps } from 'components/tsx-component';
import { Component, Prop } from 'vue-property-decorator';
import { Inject } from 'services/core/injector';
import { TransitionsService } from 'services/transitions';
import { ScenesService } from 'services/scenes';
import VFormGroup from 'components/... | 7,135 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/LiveDock.vue | <template>
<div
class="live-dock"
:class="{ collapsed, 'can-animate': canAnimate, 'live-dock--left': onLeft }"
:style="{ width: liveDockSize + 'px' }"
>
<div class="live-dock-chevron" @click="collapsed ? setCollapsed(false) : setCollapsed(true)">
<i
:class="{
'icon-back': (!o... | 7,136 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/LiveDock.vue.ts | import Vue from 'vue';
import { Component, Prop, Watch } from 'vue-property-decorator';
import { Chat, PlatformAppPageView } from 'components/shared/ReactComponentList';
import { StreamingService, EStreamingState } from '../services/streaming';
import { Inject } from 'services/core/injector';
import { UserService } fro... | 7,137 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/ModalLayout.vue | <template>
<div class="modal-layout modal-layout-vue" :class="wrapperClassNames">
<div class="ModalLayout-fixed" :style="fixedStyle"><slot name="fixed" /></div>
<scrollable
:className="containsTabs ? 'modal-layout-tab-content' : 'modal-layout-content'"
:style="contentStyle"
>
<slot name=... | 7,138 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/ModalLayout.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { WindowsService } from 'services/windows';
import { CustomizationService } from 'services/customization';
import { Inject } from 'services/core/injector';
import { AppService } from 'services/app';
import TsxComponent from 'compone... | 7,139 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/Selector.vue | <template>
<scrollable className="selector-list" @contextmenu="handleContextMenu()">
<draggable
:list="normalizedItems"
:options="{ draggable: draggableSelector }"
@change="handleChange"
>
<li
v-for="(item, index) in normalizedItems"
:key="item.value"
class="sel... | 7,140 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/Selector.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import draggable from 'vuedraggable';
import Scrollable from 'components/shared/Scrollable';
interface ISelectorItem {
name: string;
value: string;
}
@Component({
components: { draggable, Scrollable },
})
export default class Selec... | 7,141 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/Tabs.vue | <template>
<div class="tabs__container">
<div class="tabs" :class="className">
<button
v-for="tab in tabs"
:key="tab.value"
class="tab-button"
:class="{ active: tab.value === value }"
@click="showTab(tab.value)"
>
{{ tab.name }}
</button>
</div... | 7,142 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/Tabs.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import Scrollable from './shared/Scrollable';
export interface ITab {
name: string;
value: string;
}
@Component({ components: { Scrollable } })
export default class Tabs extends Vue {
@Prop() tabs: ITab[];
@Prop() value: string;
... | 7,143 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/TransitionSettings.vue | <template>
<div>
<h-form-group
v-model="nameModel"
:metadata="{ title: $t('Name'), type: 'text', name: 'name', fullWidth: true }"
/>
<h-form-group
v-model="typeModel"
:metadata="{
title: $t('Type'),
type: 'list',
name: 'type',
options: typeOptions,
... | 7,144 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/TransitionSettings.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { Inject } from 'services/core/injector';
import { TransitionsService, ETransitionType, TRANSITION_DURATION_MAX } from 'services/transitions';
import * as inputComponents from 'components/obs/inputs';
import { TObsFormData } from 'c... | 7,145 |
0 | petrpan-code/stream-labs/desktop/app | petrpan-code/stream-labs/desktop/app/components/tsx-component.ts | import Vue from 'vue';
export function createProps<TProps extends new () => any>(
propsClass: TProps,
): Dictionary<{ default: any }> {
const propsObj = {};
const props = new propsClass();
Object.keys(props).forEach((key: string) => {
propsObj[key] = { default: props[key] };
});
return propsObj;
}
/**... | 7,146 |
0 | petrpan-code/stream-labs/desktop/app/components | petrpan-code/stream-labs/desktop/app/components/custom-source-properties/PlatformAppProperties.vue | <template>
<div class="platform-app-properties">
<div v-if="app">
<p>This source is managed by {{ appName }}</p>
<button @click="navigateApp" class="button button--default">
Open App Settings
</button>
<div v-if="isUnpacked" class="platform-app-properties-dev-controls">
<i>For debugging, y... | 7,147 |
0 | petrpan-code/stream-labs/desktop/app/components | petrpan-code/stream-labs/desktop/app/components/custom-source-properties/PlatformAppProperties.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { ISourceApi } from 'services/sources';
import { NavigationService } from 'services/navigation';
import { PlatformAppsService } from 'services/platform-apps';
import { Inject } from 'services/core/injector';
import { IPlatformAppMan... | 7,148 |
0 | petrpan-code/stream-labs/desktop/app/components | petrpan-code/stream-labs/desktop/app/components/custom-source-properties/StreamlabelProperties.tsx | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { ISourceApi } from 'services/sources';
import { Inject } from 'services/core/injector';
import { UserService } from 'services/user';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import {
StreamlabelsService,
... | 7,149 |
0 | petrpan-code/stream-labs/desktop/app/components | petrpan-code/stream-labs/desktop/app/components/custom-source-properties/WidgetProperties.vue | <template>
<div>
<div class="input-container">
<div class="input-label">
{{ $t('Configure') }}
</div>
<div class="input-wrapper">
<button v-if="isLoggedIn" class="button button--default" @click="navigateWidgetSettings" :disabled="disabled">
{{ $t('Go To Widget Settings') }}
</bu... | 7,150 |
0 | petrpan-code/stream-labs/desktop/app/components | petrpan-code/stream-labs/desktop/app/components/custom-source-properties/WidgetProperties.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { ISourceApi } from 'services/sources';
import { WidgetType } from 'services/widgets';
import { NavigationService } from 'services/navigation';
import { WindowsService } from 'services/windows';
import { Inject } from 'services/core... | 7,151 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/elements/index.ts | export {
MiniFeed,
SceneSelector,
LegacyEvents,
Browser,
RecordingPreview,
StreamPreview,
DisplayElement as Display,
SourceSelector,
Mixer,
} from 'components/shared/ReactComponentList';
| 7,152 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/BaseLayout.ts | import TsxComponent from 'components/tsx-component';
import { Watch } from 'vue-property-decorator';
import { LayoutSlot, LayoutService, IVec2Array } from 'services/layout';
import { Inject } from 'services/core';
import { CustomizationService } from 'services/customization';
import { WindowsService } from 'services/wi... | 7,153 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/Classic.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,154 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/Default.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
import { createProps } from 'components/tsx-component';
@Component({... | 7,155 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/FourByFour.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,156 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/Layouts.m.less | @import "../../../styles/index";
.rows {
display: flex;
flex-direction: column;
position: relative;
height: 100%;
}
.columns {
position: relative;
display: flex;
height: 100%;
}
.segmented {
display: flex;
justify-content: space-between;
height: 100%;
}
.stacked {
display: flex;
height: 100%... | 7,157 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/OnePane.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,158 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/OnePaneR.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,159 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/Pyramid.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,160 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/Triplets.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,161 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/TwoPane.tsx | import cx from 'classnames';
import BaseLayout, { LayoutProps, ILayoutSlotArray } from './BaseLayout';
import { createProps } from 'components/tsx-component';
import { Component } from 'vue-property-decorator';
import ResizeBar from 'components/shared/ResizeBar.vue';
import styles from './Layouts.m.less';
@Component({... | 7,162 |
0 | petrpan-code/stream-labs/desktop/app/components/editor | petrpan-code/stream-labs/desktop/app/components/editor/layouts/index.ts | export { default as Default } from './Default';
export { default as TwoPane } from './TwoPane';
export { default as Classic } from './Classic';
export { default as FourByFour } from './FourByFour';
export { default as OnePane } from './OnePane';
export { default as Triplets } from './Triplets';
export { default as OneP... | 7,163 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/AdvancedOutputTabs.vue | <template>
<div>
<div class="section">
<div class="section-content">
<div class="standalone-properties">
<div v-for="formGroup in standaloneProps">
<GenericForm v-model="formGroup.parameters" @input="onInputHandler" />
</div>
</div>
<tabs :tabs="tabs" ... | 7,164 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/AdvancedOutputTabs.vue.ts | import Vue from 'vue';
import { Component, Prop } from 'vue-property-decorator';
import { ISettingsSubCategory } from 'services/settings';
import Tabs, { ITab } from 'components/Tabs.vue';
import GenericForm from './GenericForm';
@Component({ components: { GenericForm, Tabs } })
export default class AdvancedOutputTabs... | 7,165 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/Components.ts | import Vue from 'vue';
import * as comps from './index';
import { TObsType } from './ObsInput';
import TsxComponent from 'components/tsx-component';
const inputComponents = (comps as any) as { [key: string]: typeof Vue };
export function propertyComponentForType(type: TObsType): typeof TsxComponent {
const componen... | 7,166 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/GenericForm.tsx | import { Component, Prop } from 'vue-property-decorator';
import { IObsInput, TObsValue } from './ObsInput';
import { propertyComponentForType } from './Components';
import ValidatedForm from 'components/shared/inputs/ValidatedForm';
import { ErrorField } from 'vee-validate';
import TsxComponent, { createProps } from '... | 7,167 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/GenericFormGroups.vue | <template>
<AdvancedOutputTabs v-model="props.value" v-if="isAdvancedOutput" @input="onInputHandler" />
<div class="form-groups" v-else>
<div
class="section"
v-for="(formGroup, groupIndex) in props.value"
:key="formGroup.nameSubCategory + groupIndex"
v-if="hasAnyVisibleSettings(formGroup... | 7,168 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/GenericFormGroups.vue.ts | import Vue from 'vue';
import GenericForm from './GenericForm';
import AdvancedOutputTabs from './AdvancedOutputTabs.vue';
import { Component, Prop, Watch } from 'vue-property-decorator';
import { ISettingsSubCategory, SettingsService, ESettingsCategoryType } from 'services/settings';
import { Inject } from 'services/c... | 7,169 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsBitMaskInput.vue | <template>
<h-form-group :title="value.showDescription !== false ? value.description : null">
<div class="row bitmask-input">
<bool-button-input
v-for="(flag, index) in flags"
:key="index"
:value="flag"
@input="value => onChangeHandler(index, !!value)"
:title="index +... | 7,170 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsBitMaskInput.vue.ts | import { Component, Prop, Watch } from 'vue-property-decorator';
import { ObsInput, TObsType, IObsBitmaskInput } from './ObsInput';
import { EBit, default as Utils } from 'services/utils';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { BoolButtonInput } from 'components/shared/inputs/inputs'... | 7,171 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsBoolInput.vue | <template>
<h-form-group>
<bool-input :value="value.value" :metadata="metadata" @input="handleClick" />
</h-form-group>
</template>
<script lang="ts" src="./ObsBoolInput.vue.ts"></script>
| 7,172 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsBoolInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { ObsInput, IObsInput, TObsType } from './ObsInput';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { metadata } from 'components/shared/inputs';
import { BoolInput } from 'components/shared/inputs/inputs';
@Component({
compon... | 7,173 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsButtonInput.vue | <template>
<div class="input-container">
<div class="input-label">
</div>
<div class="input-wrapper">
<button
class="button button--default button-property-button"
@click="handleClick">
{{ value.description }}
</button>
</div>
</div>
</template>
<script lang="ts"... | 7,174 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsButtonInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { ObsInput, IObsInput, TObsType } from './ObsInput';
@Component
class ObsButtonInput extends ObsInput<IObsInput<boolean>> {
static obsType: TObsType;
@Prop()
value: IObsInput<boolean>;
handleClick() {
this.emitInput({ ...this.value, value: ... | 7,175 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsColorInput.tsx | import { Component, Prop } from 'vue-property-decorator';
import { debounce, throttleSetter } from 'lodash-decorators';
import { TObsType, IObsInput, ObsInput } from './ObsInput';
import Utils from '../../../services/utils';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { metadata } from 'com... | 7,176 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsEditableListInput.vue | <template>
<div class="input-container">
<div class="input-label">
<label>
{{ value.description }}
</label>
</div>
<div class="input-wrapper editable-list">
<div class="editable-list__bar">
<i @click="menu.popup()" class="icon-add icon-button editable-list__control" />
... | 7,177 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsEditableListInput.vue.ts | import cloneDeep from 'lodash/cloneDeep';
import Selector from '../../Selector.vue';
import { Component, Prop } from 'vue-property-decorator';
import { IObsEditableListInputValue, ObsInput, TObsType } from './ObsInput';
import { Menu } from '../../../util/menus/Menu';
import * as remote from '@electron/remote';
interf... | 7,178 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsFontInput.tsx | import { Component, Prop } from 'vue-property-decorator';
import { ObsInput, IObsInput, TObsType, IObsFont, IGoogleFont } from './ObsInput';
import GoogleFontSelector from './ObsGoogleFontSelector';
import ObsSystemFontSelector from './ObsSystemFontSelector.vue';
import HFormGroup from 'components/shared/inputs/HFormGr... | 7,179 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsFontSizeSelector.vue | <template>
<h-form-group :value="value" @input="val => setFontSizePreset(val)" :metadata="metadata" />
</template>
<script lang="ts" src="./ObsFontSizeSelector.vue.ts"></script>
| 7,180 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsFontSizeSelector.vue.ts | import { ObsInput } from './ObsInput';
import { Component, Prop } from 'vue-property-decorator';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { $t } from 'services/i18n';
@Component({ components: { HFormGroup } })
export default class ObsFontSizeSelector extends ObsInput<number> {
@Prop()... | 7,181 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsGoogleFontSelector.tsx | import * as fi from 'node-fontinfo';
import { EFontStyle } from 'obs-studio-node';
import { Component, Prop } from 'vue-property-decorator';
import { FontLibraryService } from '../../../services/font-library';
import { Inject } from '../../../services/core/injector';
import { SourcesService } from '../../../services/so... | 7,182 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsInput.ts | import Vue from 'vue';
import * as obs from '../../../../obs-api';
import {
isEditableListProperty,
isFontProperty,
isListProperty,
isNumberProperty,
isPathProperty,
isTextProperty,
} from '../../../util/properties-type-guards';
import { $translateIfExist } from 'services/i18n';
import TsxComponent from 'co... | 7,183 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsIntInput.vue | <template>
<h-form-group :metadata="metadata" :value="value.value" @input="updateValue" />
</template>
<script lang="ts" src="./ObsIntInput.vue.ts"></script>
| 7,184 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsIntInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { TObsType, ObsInput, IObsNumberInputValue } from './ObsInput';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
@Component({ components: { HFormGroup } })
class ObsIntInput extends ObsInput<IObsNumberInputValue> {
static obsType: TObs... | 7,185 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsListInput.vue | <template>
<h-form-group :title="value.showDescription !== false ? value.description : null">
<list-input
:value="value.value"
:metadata="metadata"
@input="onInputHandler"
@search-change="onSearchChange"
/>
</h-form-group>
</template>
<script lang="ts" src="./ObsListInput.vue.ts"></script>
| 7,186 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsListInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { TObsType, IObsListInput, ObsInput, TObsValue } from './ObsInput';
import { ListInput } from 'components/shared/inputs/inputs';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { $t } from 'services/i18n';
@Component({
componen... | 7,187 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsNumberInput.vue | <template>
<h-form-group :value="value.value" @input="val => updateValue(val)" :metadata="metadata" />
</template>
<script lang="ts" src="./ObsNumberInput.vue.ts"></script>
| 7,188 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsNumberInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { IObsNumberInputValue, TObsType, ObsInput } from './ObsInput';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
@Component({
components: { HFormGroup },
})
class ObsNumberInput extends ObsInput<IObsNumberInputValue> {
static obsType... | 7,189 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsPathInput.vue | <template>
<h-form-group :title="value.description">
<div class="path-input__row">
<text-input :value="value.value" @input="handleChange" :metadata="{ disabled: value.enabled === false, name: value.name, fullWidth: true }" />
<button @click="showFileDialog" class="button button--default" :disabled="value.enab... | 7,190 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsPathInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { IObsPathInputValue, TObsType, ObsInput } from './ObsInput';
// eslint-disable-next-line
import OpenDialogOptions = Electron.OpenDialogOptions;
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { TextInput } from 'components/shared... | 7,191 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsResolutionInput.vue | <template>
<div>
<h-form-group :title="value.showDescription !== false ? value.description : null">
<div v-if="!customMode" class="container">
<list-input
class="list-input"
:value="value.value"
@input="onSelectHandler"
:metadata="metadata"
/>
... | 7,192 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsResolutionInput.vue.ts | import { Component, Prop, Watch } from 'vue-property-decorator';
import { TObsType, IObsListInput, ObsInput, TObsValue } from './ObsInput';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { BoolInput, ListInput, NumberInput } from 'components/shared/inputs/inputs';
import VFormGroup from 'compo... | 7,193 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsSliderInput.vue | <template>
<h-form-group :value="value.value" @input="value => updateValue(value)" :metadata="metadata" />
</template>
<script lang="ts" src="./ObsSliderInput.vue.ts"></script>
| 7,194 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsSliderInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { TObsType, ObsInput, IObsSliderInputValue } from './ObsInput';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
@Component({
components: { HFormGroup },
})
class ObsSliderInput extends ObsInput<IObsSliderInputValue> {
static obsType... | 7,195 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsSystemFontSelector.vue | <template>
<div>
<h-form-group :title="$t('Font Family')">
<list-input :value="value.value.face" :metadata="familyMetadata" @input="setFamily">
<template slot="item" slot-scope="{ option }">
<span :style="familyOptionStyle(option.value)">{{ option.title }}</span>
</template>
... | 7,196 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsSystemFontSelector.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { IObsFont, IObsInput, ObsInput } from './ObsInput';
import { ListInput } from 'components/shared/inputs/inputs';
import ObsFontSizeSelector from './ObsFontSizeSelector.vue';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import fontMan... | 7,197 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsTextInput.vue | <template>
<h-form-group :title="value.description">
<div style="display: flex;">
<text-area-input v-if="value.multiline" :value="value.value" @input="onInputHandler" :metadata="metadata" />
<text-input v-else :value="value.value" @input="onInputHandler" :metadata="metadata" />
<slot></slot>
</div>
</h-... | 7,198 |
0 | petrpan-code/stream-labs/desktop/app/components/obs | petrpan-code/stream-labs/desktop/app/components/obs/inputs/ObsTextInput.vue.ts | import { Component, Prop } from 'vue-property-decorator';
import { IObsInput, TObsType, ObsInput } from './ObsInput';
import { TextInput, TextAreaInput } from 'components/shared/inputs/inputs';
import HFormGroup from 'components/shared/inputs/HFormGroup.vue';
import { ITextMetadata, ITextAreaMetadata } from 'components... | 7,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.