Remove global components
This commit is contained in:
parent
664cd27faa
commit
b4d6bbf450
7 changed files with 55 additions and 35 deletions
|
@ -1,5 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -8,6 +10,8 @@
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
userAvatarImage,
|
userAvatarImage,
|
||||||
|
limitWarning,
|
||||||
|
totalTime,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -8,6 +10,8 @@
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
userAvatarImage,
|
userAvatarImage,
|
||||||
|
limitWarning,
|
||||||
|
totalTime,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
||||||
import iconCommit from '../svg/icon_commit.svg';
|
import iconCommit from '../svg/icon_commit.svg';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -9,6 +11,8 @@ export default {
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
userAvatarImage,
|
userAvatarImage,
|
||||||
|
totalTime,
|
||||||
|
limitWarning,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
iconCommit() {
|
iconCommit() {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -8,6 +10,8 @@
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
userAvatarImage,
|
userAvatarImage,
|
||||||
|
totalTime,
|
||||||
|
limitWarning,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar_image.vue';
|
||||||
import iconBranch from '../svg/icon_branch.svg';
|
import iconBranch from '../svg/icon_branch.svg';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -9,6 +11,8 @@
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
userAvatarImage,
|
userAvatarImage,
|
||||||
|
totalTime,
|
||||||
|
limitWarning,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
iconBranch() {
|
iconBranch() {
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
<script>
|
<script>
|
||||||
import iconBuildStatus from '../svg/icon_build_status.svg';
|
import iconBuildStatus from '../svg/icon_build_status.svg';
|
||||||
import iconBranch from '../svg/icon_branch.svg';
|
import iconBranch from '../svg/icon_branch.svg';
|
||||||
|
import limitWarning from './limit_warning_component.vue';
|
||||||
|
import totalTime from './total_time_component.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
items: Array,
|
items: Array,
|
||||||
stage: Object,
|
stage: Object,
|
||||||
},
|
},
|
||||||
|
components: {
|
||||||
|
totalTime,
|
||||||
|
limitWarning,
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
iconBuildStatus() {
|
iconBuildStatus() {
|
||||||
return iconBuildStatus;
|
return iconBuildStatus;
|
||||||
|
|
|
@ -3,14 +3,12 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
import Translate from '../vue_shared/translate';
|
import Translate from '../vue_shared/translate';
|
||||||
import limitWarningComponent from './components/limit_warning_component.vue';
|
|
||||||
import stageCodeComponent from './components/stage_code_component.vue';
|
import stageCodeComponent from './components/stage_code_component.vue';
|
||||||
import stagePlanComponent from './components/stage_plan_component.vue';
|
import stagePlanComponent from './components/stage_plan_component.vue';
|
||||||
import stageComponent from './components/stage_component.vue';
|
import stageComponent from './components/stage_component.vue';
|
||||||
import stageReviewComponent from './components/stage_review_component.vue';
|
import stageReviewComponent from './components/stage_review_component.vue';
|
||||||
import stageStagingComponent from './components/stage_staging_component.vue';
|
import stageStagingComponent from './components/stage_staging_component.vue';
|
||||||
import stageTestComponent from './components/stage_test_component.vue';
|
import stageTestComponent from './components/stage_test_component.vue';
|
||||||
import totalTime from './components/total_time_component.vue';
|
|
||||||
import CycleAnalyticsService from './cycle_analytics_service';
|
import CycleAnalyticsService from './cycle_analytics_service';
|
||||||
import CycleAnalyticsStore from './cycle_analytics_store';
|
import CycleAnalyticsStore from './cycle_analytics_store';
|
||||||
|
|
||||||
|
@ -133,8 +131,4 @@ $(() => {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// Register global components
|
|
||||||
Vue.component('limit-warning', limitWarningComponent);
|
|
||||||
Vue.component('total-time', totalTime);
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue