fixed the selector name for model view components (#1488)

This commit is contained in:
Leila Lali
2018-05-24 15:20:24 -07:00
committed by GitHub
parent 2efea63000
commit 8fce79f385
6 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ import { CommonServiceInterface } from 'sql/services/common/commonServiceInterfa
import { attachInputBoxStyler, attachListStyler } from 'vs/platform/theme/common/styler'; import { attachInputBoxStyler, attachListStyler } from 'vs/platform/theme/common/styler';
@Component({ @Component({
selector: 'checkbox', selector: 'modelview-checkbox',
template: ` template: `
<div #input style="width: 100%"></div> <div #input style="width: 100%"></div>
` `

View File

@@ -23,7 +23,7 @@ import Event, { Emitter } from 'vs/base/common/event';
import { attachListStyler } from 'vs/platform/theme/common/styler'; import { attachListStyler } from 'vs/platform/theme/common/styler';
@Component({ @Component({
selector: 'dropdown', selector: 'modelview-dropdown',
template: ` template: `
<div> <div>

View File

@@ -21,7 +21,7 @@ import Event, { Emitter } from 'vs/base/common/event';
import * as nls from 'vs/nls'; import * as nls from 'vs/nls';
@Component({ @Component({
selector: 'inputBox', selector: 'modelview-inputBox',
template: ` template: `
<div #input style="width: 100%"></div> <div #input style="width: 100%"></div>
` `

View File

@@ -18,7 +18,7 @@ import { RadioButton } from 'sql/base/browser/ui/radioButton/radioButton';
import { CommonServiceInterface } from 'sql/services/common/commonServiceInterface.service'; import { CommonServiceInterface } from 'sql/services/common/commonServiceInterface.service';
@Component({ @Component({
selector: 'radioButton', selector: 'modelview-radioButton',
template: ` template: `
<div #input class="modelview-radiobutton-container"> <div #input class="modelview-radiobutton-container">

View File

@@ -17,7 +17,7 @@ import { IComponent, IComponentDescriptor, IModelStore, ComponentEventType } fro
import { CommonServiceInterface } from 'sql/services/common/commonServiceInterface.service'; import { CommonServiceInterface } from 'sql/services/common/commonServiceInterface.service';
@Component({ @Component({
selector: 'label', selector: 'modelview-text',
template: ` template: `
<p>{{getValue()}}</p>` <p>{{getValue()}}</p>`
}) })

View File

@@ -23,7 +23,7 @@ import { IComponent, IComponentDescriptor, IModelStore, ComponentEventType } fro
@Component({ @Component({
template: '', template: '',
selector: 'webview-component' selector: 'modelview-webview-component'
}) })
export default class WebViewComponent extends ComponentBase implements IComponent, OnDestroy { export default class WebViewComponent extends ComponentBase implements IComponent, OnDestroy {
@Input() descriptor: IComponentDescriptor; @Input() descriptor: IComponentDescriptor;