Convert component file names from kebab-case to PascalCase for consistency

This commit is contained in:
Tamius Han 2019-04-25 01:09:04 +02:00
parent 598dd6cab5
commit d8bd884596
17 changed files with 19 additions and 18 deletions

View File

@ -108,9 +108,9 @@ import ObjectCopy from '../ext/lib/ObjectCopy.js';
import Settings from '../ext/lib/Settings.js'; import Settings from '../ext/lib/Settings.js';
import GeneralSettings from './general-settings'; import GeneralSettings from './GeneralSettings';
import ControlsSettings from './controls-settings/controls-settings'; import ControlsSettings from './controls-settings/controls-settings';
import AddEditActionPopup from './controls-settings/add-edit-action-popup'; import AddEditActionPopup from './controls-settings/AddEditActionPopup';
import ConfirmPopup from './common/ConfirmationPopup'; import ConfirmPopup from './common/ConfirmationPopup';
import About from './about' import About from './about'

View File

@ -128,7 +128,7 @@
</template> </template>
<script> <script>
import Button from '../common/components/button'; import Button from '../common/components/Button';
import Stretch from '../common/enums/stretch.enum'; import Stretch from '../common/enums/stretch.enum';
import ExtensionMode from '../common/enums/extension-mode.enum'; import ExtensionMode from '../common/enums/extension-mode.enum';
import VideoAlignment from '../common/enums/video-alignment.enum'; import VideoAlignment from '../common/enums/video-alignment.enum';

View File

@ -21,7 +21,7 @@
</template> </template>
<script> <script>
import ShortcutButton from '../../common/components/shortcut-button.vue' import ShortcutButton from '../../common/components/ShortcutButton.vue'
export default { export default {
props: { props: {

View File

@ -90,12 +90,12 @@
</template> </template>
<script> <script>
import ShortcutButton from '../../common/components/shortcut-button.vue' import ShortcutButton from '../../common/components/ShortcutButton.vue'
import Stretch from '../../common/enums/stretch.enum'; import Stretch from '../../common/enums/stretch.enum';
import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser'; import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser';
import CommandChain from './command-builder/command-chain'; import CommandChain from './command-builder/CommandChain';
import CommandAddEdit from './command-builder/command-add-edit'; import CommandAddEdit from './command-builder/CommandAddEdit';
import ScopeSettings from './scope-settings-component/scope-settings'; import ScopeSettings from './ScopeSettings-component/ScopeSettings';
export default { export default {
props: { props: {

View File

@ -112,9 +112,9 @@
</template> </template>
<script> <script>
import Button from '../../common/components/button'; import Button from '../../common/components/Button';
import Stretch from '../../common/enums/stretch.enum'; import Stretch from '../../common/enums/stretch.enum';
import ActionAlt from '../../common/components/action-alt'; import ActionAlt from '../../common/components/ActionAlt';
export default { export default {
components: { components: {

View File

@ -21,8 +21,8 @@
</template> </template>
<script> <script>
import CommandBlock from './command-block'; import CommandBlock from './CommandBlock';
import CommandAddEdit from './command-add-edit'; import CommandAddEdit from './CommandAddEdit';
export default { export default {
created () { created () {

View File

@ -39,15 +39,16 @@
</template> </template>
<script> <script>
import SetShortcutButton from './set-shortcut-button'; import SetShortcutButton from './SetShortcutButton.vue';
export default { export default {
components: {
SetShortcutButton
},
props: { props: {
scopeOptions: Object, scopeOptions: Object,
}, },
components: {
SetShortcutButton,
},
methods: { methods: {
setLabel(label) { setLabel(label) {
if (label.trim() === '') { if (label.trim() === '') {

View File

@ -96,7 +96,7 @@
<script> <script>
import ExecAction from '../js/ExecAction' import ExecAction from '../js/ExecAction'
import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser' import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser'
import ShortcutButton from '../../common/components/shortcut-button' import ShortcutButton from '../../common/components/ShortcutButton'
export default { export default {
data() { data() {

View File

@ -101,7 +101,7 @@
<script> <script>
import ExecAction from '../js/ExecAction' import ExecAction from '../js/ExecAction'
import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser' import KeyboardShortcutParser from '../../common/js/KeyboardShortcutParser'
import ShortcutButton from '../../common/components/shortcut-button' import ShortcutButton from '../../common/components/ShortcutButton'
export default { export default {
data() { data() {