Commit bec8c3a0 authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Phil Hughes

Remove unused child components

parent fce8b605
...@@ -9,7 +9,6 @@ import { ...@@ -9,7 +9,6 @@ import {
GlDropdownItem, GlDropdownItem,
} from '@gitlab/ui'; } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import httpStatusCodes from '~/lib/utils/http_status'; import httpStatusCodes from '~/lib/utils/http_status';
import boardsStore from '../stores/boards_store'; import boardsStore from '../stores/boards_store';
import BoardForm from './board_form.vue'; import BoardForm from './board_form.vue';
...@@ -19,7 +18,6 @@ const MIN_BOARDS_TO_VIEW_RECENT = 10; ...@@ -19,7 +18,6 @@ const MIN_BOARDS_TO_VIEW_RECENT = 10;
export default { export default {
name: 'BoardsSelector', name: 'BoardsSelector',
components: { components: {
Icon,
BoardForm, BoardForm,
GlLoadingIcon, GlLoadingIcon,
GlSearchBoxByType, GlSearchBoxByType,
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* eslint-disable vue/require-default-prop */ /* eslint-disable vue/require-default-prop */
/* eslint-disable @gitlab/vue-i18n/no-bare-strings */ /* eslint-disable @gitlab/vue-i18n/no-bare-strings */
import { GlLink, GlModalDirective } from '@gitlab/ui'; import { GlLink, GlModalDirective } from '@gitlab/ui';
import TimeagoTooltip from '../../vue_shared/components/time_ago_tooltip.vue';
import { s__, __, sprintf } from '~/locale'; import { s__, __, sprintf } from '~/locale';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import identicon from '../../vue_shared/components/identicon.vue'; import identicon from '../../vue_shared/components/identicon.vue';
...@@ -16,7 +15,6 @@ export default { ...@@ -16,7 +15,6 @@ export default {
components: { components: {
loadingButton, loadingButton,
identicon, identicon,
TimeagoTooltip,
GlLink, GlLink,
UninstallApplicationButton, UninstallApplicationButton,
UninstallApplicationConfirmationModal, UninstallApplicationConfirmationModal,
......
...@@ -19,7 +19,6 @@ import applicationRow from './application_row.vue'; ...@@ -19,7 +19,6 @@ import applicationRow from './application_row.vue';
import clipboardButton from '../../vue_shared/components/clipboard_button.vue'; import clipboardButton from '../../vue_shared/components/clipboard_button.vue';
import KnativeDomainEditor from './knative_domain_editor.vue'; import KnativeDomainEditor from './knative_domain_editor.vue';
import { CLUSTER_TYPE, PROVIDER_TYPE, APPLICATION_STATUS, INGRESS } from '../constants'; import { CLUSTER_TYPE, PROVIDER_TYPE, APPLICATION_STATUS, INGRESS } from '../constants';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import eventHub from '~/clusters/event_hub'; import eventHub from '~/clusters/event_hub';
import CrossplaneProviderStack from './crossplane_provider_stack.vue'; import CrossplaneProviderStack from './crossplane_provider_stack.vue';
...@@ -27,7 +26,6 @@ export default { ...@@ -27,7 +26,6 @@ export default {
components: { components: {
applicationRow, applicationRow,
clipboardButton, clipboardButton,
LoadingButton,
GlLoadingIcon, GlLoadingIcon,
KnativeDomainEditor, KnativeDomainEditor,
CrossplaneProviderStack, CrossplaneProviderStack,
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { mapState, mapGetters, mapActions } from 'vuex'; import { mapState, mapGetters, mapActions } from 'vuex';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import Mousetrap from 'mousetrap'; import Mousetrap from 'mousetrap';
import Icon from '~/vue_shared/components/icon.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
import createFlash from '~/flash'; import createFlash from '~/flash';
import PanelResizer from '~/vue_shared/components/panel_resizer.vue'; import PanelResizer from '~/vue_shared/components/panel_resizer.vue';
...@@ -27,7 +26,6 @@ import { ...@@ -27,7 +26,6 @@ import {
export default { export default {
name: 'DiffsApp', name: 'DiffsApp',
components: { components: {
Icon,
CompareVersions, CompareVersions,
DiffFile, DiffFile,
NoChanges, NoChanges,
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue'; import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import CIIcon from '~/vue_shared/components/ci_icon.vue';
import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
import CommitPipelineStatus from '~/projects/tree/components/commit_pipeline_status_component.vue'; import CommitPipelineStatus from '~/projects/tree/components/commit_pipeline_status_component.vue';
import initUserPopovers from '../../user_popovers'; import initUserPopovers from '../../user_popovers';
...@@ -25,7 +24,6 @@ export default { ...@@ -25,7 +24,6 @@ export default {
UserAvatarLink, UserAvatarLink,
Icon, Icon,
ClipboardButton, ClipboardButton,
CIIcon,
TimeAgoTooltip, TimeAgoTooltip,
CommitPipelineStatus, CommitPipelineStatus,
}, },
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { mapActions, mapGetters } from 'vuex'; import { mapActions, mapGetters } from 'vuex';
import { GlButton, GlTooltipDirective, GlTooltip, GlLoadingIcon } from '@gitlab/ui'; import { GlButton, GlTooltipDirective, GlLoadingIcon } from '@gitlab/ui';
import { polyfillSticky } from '~/lib/utils/sticky'; import { polyfillSticky } from '~/lib/utils/sticky';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -15,7 +15,6 @@ import { scrollToElement } from '~/lib/utils/common_utils'; ...@@ -15,7 +15,6 @@ import { scrollToElement } from '~/lib/utils/common_utils';
export default { export default {
components: { components: {
GlTooltip,
GlLoadingIcon, GlLoadingIcon,
GlButton, GlButton,
ClipboardButton, ClipboardButton,
......
<script> <script>
import Icon from '~/vue_shared/components/icon.vue';
import DiffExpansionCell from './diff_expansion_cell.vue'; import DiffExpansionCell from './diff_expansion_cell.vue';
import { MATCH_LINE_TYPE } from '../constants'; import { MATCH_LINE_TYPE } from '../constants';
export default { export default {
components: { components: {
Icon,
DiffExpansionCell, DiffExpansionCell,
}, },
props: { props: {
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
import { GlTooltipDirective, GlLoadingIcon, GlModalDirective, GlButton } from '@gitlab/ui'; import { GlTooltipDirective, GlLoadingIcon, GlModalDirective, GlButton } from '@gitlab/ui';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import ConfirmRollbackModal from './confirm_rollback_modal.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
export default { export default {
...@@ -16,7 +15,6 @@ export default { ...@@ -16,7 +15,6 @@ export default {
Icon, Icon,
GlLoadingIcon, GlLoadingIcon,
GlButton, GlButton,
ConfirmRollbackModal,
}, },
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
import { GlTooltipDirective } from '@gitlab/ui'; import { GlTooltipDirective } from '@gitlab/ui';
import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue'; import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
export default { export default {
...@@ -12,7 +11,6 @@ export default { ...@@ -12,7 +11,6 @@ export default {
components: { components: {
GlModal: DeprecatedModal2, GlModal: DeprecatedModal2,
LoadingButton,
}, },
directives: { directives: {
......
<script> <script>
import { GlDropdown, GlDropdownHeader, GlDropdownItem } from '@gitlab/ui'; import { GlDropdown, GlDropdownItem } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import { getDisplayName } from '../utils'; import { getDisplayName } from '../utils';
export default { export default {
components: { components: {
GlDropdown, GlDropdown,
GlDropdownHeader,
GlDropdownItem, GlDropdownItem,
Icon,
}, },
props: { props: {
dropdownLabel: { dropdownLabel: {
......
<script> <script>
import { GlButton, GlFormGroup, GlFormInput, GlFormCheckbox, GlLink } from '@gitlab/ui'; import { GlButton, GlFormGroup, GlFormInput, GlFormCheckbox } from '@gitlab/ui';
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -9,7 +9,6 @@ export default { ...@@ -9,7 +9,6 @@ export default {
GlFormCheckbox, GlFormCheckbox,
GlFormGroup, GlFormGroup,
GlFormInput, GlFormInput,
GlLink,
Icon, Icon,
}, },
data() { data() {
......
<script> <script>
import icon from '~/vue_shared/components/icon.vue';
import { GlBadge } from '@gitlab/ui'; import { GlBadge } from '@gitlab/ui';
import timeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; import timeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
import { import {
...@@ -13,7 +12,6 @@ import isProjectPendingRemoval from 'ee_else_ce/groups/mixins/is_project_pending ...@@ -13,7 +12,6 @@ import isProjectPendingRemoval from 'ee_else_ce/groups/mixins/is_project_pending
export default { export default {
components: { components: {
icon,
timeAgoTooltip, timeAgoTooltip,
itemStatsValue, itemStatsValue,
GlBadge, GlBadge,
......
...@@ -3,16 +3,12 @@ import { mapActions } from 'vuex'; ...@@ -3,16 +3,12 @@ import { mapActions } from 'vuex';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import FileIcon from '~/vue_shared/components/file_icon.vue'; import FileIcon from '~/vue_shared/components/file_icon.vue';
import StageButton from './stage_button.vue';
import UnstageButton from './unstage_button.vue';
import { viewerTypes } from '../../constants'; import { viewerTypes } from '../../constants';
import { getCommitIconMap } from '../../utils'; import { getCommitIconMap } from '../../utils';
export default { export default {
components: { components: {
Icon, Icon,
StageButton,
UnstageButton,
FileIcon, FileIcon,
}, },
directives: { directives: {
......
<script> <script>
import { mapState, mapGetters, mapActions } from 'vuex'; import { mapState, mapGetters, mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
import IdeTreeList from './ide_tree_list.vue'; import IdeTreeList from './ide_tree_list.vue';
import Upload from './new_dropdown/upload.vue'; import Upload from './new_dropdown/upload.vue';
import NewEntryButton from './new_dropdown/button.vue'; import NewEntryButton from './new_dropdown/button.vue';
export default { export default {
components: { components: {
Icon,
Upload, Upload,
IdeTreeList, IdeTreeList,
NewEntryButton, NewEntryButton,
......
<script> <script>
import { mapActions, mapGetters, mapState } from 'vuex'; import { mapActions, mapGetters, mapState } from 'vuex';
import { GlSkeletonLoading } from '@gitlab/ui'; import { GlSkeletonLoading } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import FileRow from '~/vue_shared/components/file_row.vue'; import FileRow from '~/vue_shared/components/file_row.vue';
import NavDropdown from './nav_dropdown.vue'; import NavDropdown from './nav_dropdown.vue';
import FileRowExtra from './file_row_extra.vue'; import FileRowExtra from './file_row_extra.vue';
export default { export default {
components: { components: {
Icon,
GlSkeletonLoading, GlSkeletonLoading,
NavDropdown, NavDropdown,
FileRow, FileRow,
......
<script> <script>
import $ from 'jquery'; import $ from 'jquery';
import Icon from '~/vue_shared/components/icon.vue';
import NavForm from './nav_form.vue'; import NavForm from './nav_form.vue';
import NavDropdownButton from './nav_dropdown_button.vue'; import NavDropdownButton from './nav_dropdown_button.vue';
export default { export default {
components: { components: {
Icon,
NavDropdownButton, NavDropdownButton,
NavForm, NavForm,
}, },
......
<script> <script>
import Icon from '~/vue_shared/components/icon.vue';
import ItemButton from './button.vue'; import ItemButton from './button.vue';
export default { export default {
components: { components: {
Icon,
ItemButton, ItemButton,
}, },
props: { props: {
......
<script> <script>
import { mapState, mapActions, mapGetters } from 'vuex'; import { mapState, mapActions, mapGetters } from 'vuex';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import Icon from '~/vue_shared/components/icon.vue';
import DeprecatedModal from '~/vue_shared/components/deprecated_modal.vue'; import DeprecatedModal from '~/vue_shared/components/deprecated_modal.vue';
import CommitFilesList from './commit_sidebar/list.vue'; import CommitFilesList from './commit_sidebar/list.vue';
import EmptyState from './commit_sidebar/empty_state.vue'; import EmptyState from './commit_sidebar/empty_state.vue';
...@@ -11,7 +10,6 @@ import { activityBarViews, stageKeys } from '../constants'; ...@@ -11,7 +10,6 @@ import { activityBarViews, stageKeys } from '../constants';
export default { export default {
components: { components: {
DeprecatedModal, DeprecatedModal,
Icon,
CommitFilesList, CommitFilesList,
EmptyState, EmptyState,
}, },
......
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import RepoTab from './repo_tab.vue'; import RepoTab from './repo_tab.vue';
import EditorMode from './editor_mode_dropdown.vue';
import router from '../ide_router'; import router from '../ide_router';
export default { export default {
components: { components: {
RepoTab, RepoTab,
EditorMode,
}, },
props: { props: {
activeFile: { activeFile: {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { mapState, mapGetters, mapActions } from 'vuex'; import { mapState, mapGetters, mapActions } from 'vuex';
import Select2Select from '~/vue_shared/components/select2_select.vue'; import Select2Select from '~/vue_shared/components/select2_select.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import { STATUSES } from '../constants'; import { STATUSES } from '../constants';
import ImportStatus from './import_status.vue'; import ImportStatus from './import_status.vue';
...@@ -11,7 +10,6 @@ export default { ...@@ -11,7 +10,6 @@ export default {
name: 'ProviderRepoTableRow', name: 'ProviderRepoTableRow',
components: { components: {
Select2Select, Select2Select,
LoadingButton,
ImportStatus, ImportStatus,
}, },
props: { props: {
......
...@@ -2,12 +2,10 @@ ...@@ -2,12 +2,10 @@
import _ from 'underscore'; import _ from 'underscore';
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
import CiIcon from '~/vue_shared/components/ci_icon.vue'; import CiIcon from '~/vue_shared/components/ci_icon.vue';
import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
components: { components: {
CiIcon, CiIcon,
Icon,
GlLink, GlLink,
}, },
props: { props: {
......
<script> <script>
import { flatten, isNumber } from 'underscore'; import { flatten, isNumber } from 'underscore';
import { GlLineChart, GlChartSeriesLabel } from '@gitlab/ui/dist/charts'; import { GlChartSeriesLabel } from '@gitlab/ui/dist/charts';
import { roundOffFloat } from '~/lib/utils/common_utils'; import { roundOffFloat } from '~/lib/utils/common_utils';
import { hexToRgb } from '~/lib/utils/color_utils'; import { hexToRgb } from '~/lib/utils/color_utils';
import { areaOpacityValues, symbolSizes, colorValues } from '../../constants'; import { areaOpacityValues, symbolSizes, colorValues } from '../../constants';
...@@ -48,7 +48,6 @@ const AREA_COLOR_RGBA = `rgba(${hexToRgb(AREA_COLOR).join(',')},${AREA_OPACITY}) ...@@ -48,7 +48,6 @@ const AREA_COLOR_RGBA = `rgba(${hexToRgb(AREA_COLOR).join(',')},${AREA_OPACITY})
*/ */
export default { export default {
components: { components: {
GlLineChart,
GlChartSeriesLabel, GlChartSeriesLabel,
MonitorTimeSeriesChart, MonitorTimeSeriesChart,
}, },
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { mapActions, mapState, mapGetters } from 'vuex'; import { mapActions, mapState, mapGetters } from 'vuex';
import PanelType from 'ee_else_ce/monitoring/components/panel_type.vue'; import PanelType from 'ee_else_ce/monitoring/components/panel_type.vue';
import { getParameterValues, removeParams } from '~/lib/utils/url_utility'; import { getParameterValues, removeParams } from '~/lib/utils/url_utility';
import GraphGroup from './graph_group.vue';
import { sidebarAnimationDuration } from '../constants'; import { sidebarAnimationDuration } from '../constants';
import { getTimeDiff } from '../utils'; import { getTimeDiff } from '../utils';
...@@ -10,7 +9,6 @@ let sidebarMutationObserver; ...@@ -10,7 +9,6 @@ let sidebarMutationObserver;
export default { export default {
components: { components: {
GraphGroup,
PanelType, PanelType,
}, },
props: { props: {
......
<script> <script>
/* eslint-disable @gitlab/vue-i18n/no-bare-strings */ /* eslint-disable @gitlab/vue-i18n/no-bare-strings */
import { GlPopover, GlSkeletonLoading } from '@gitlab/ui'; import { GlPopover, GlSkeletonLoading } from '@gitlab/ui';
import Icon from '../../vue_shared/components/icon.vue';
import CiIcon from '../../vue_shared/components/ci_icon.vue'; import CiIcon from '../../vue_shared/components/ci_icon.vue';
import timeagoMixin from '../../vue_shared/mixins/timeago'; import timeagoMixin from '../../vue_shared/mixins/timeago';
import query from '../queries/merge_request.query.graphql'; import query from '../queries/merge_request.query.graphql';
...@@ -13,7 +12,6 @@ export default { ...@@ -13,7 +12,6 @@ export default {
components: { components: {
GlPopover, GlPopover,
GlSkeletonLoading, GlSkeletonLoading,
Icon,
CiIcon, CiIcon,
}, },
mixins: [timeagoMixin], mixins: [timeagoMixin],
......
<script> <script>
import { GlLink, GlButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
import LoadingButton from '../../vue_shared/components/loading_button.vue'; import LoadingButton from '../../vue_shared/components/loading_button.vue';
export default { export default {
name: 'PipelineNavControls', name: 'PipelineNavControls',
components: { components: {
LoadingButton, LoadingButton,
GlLink,
GlButton, GlButton,
}, },
props: { props: {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import _ from 'underscore'; import _ from 'underscore';
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue'; import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import CiIcon from '~/vue_shared/components/ci_icon.vue'; import CiIcon from '~/vue_shared/components/ci_icon.vue';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
...@@ -15,7 +14,6 @@ export default { ...@@ -15,7 +14,6 @@ export default {
components: { components: {
GlModal: DeprecatedModal2, GlModal: DeprecatedModal2,
GlLink, GlLink,
ClipboardButton,
CiIcon, CiIcon,
}, },
props: { props: {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { GlLink, GlTooltipDirective } from '@gitlab/ui'; import { GlLink, GlTooltipDirective } from '@gitlab/ui';
import _ from 'underscore'; import _ from 'underscore';
import { __, sprintf } from '~/locale'; import { __, sprintf } from '~/locale';
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import popover from '~/vue_shared/directives/popover'; import popover from '~/vue_shared/directives/popover';
const popoverTitle = sprintf( const popoverTitle = sprintf(
...@@ -17,7 +16,6 @@ const popoverTitle = sprintf( ...@@ -17,7 +16,6 @@ const popoverTitle = sprintf(
export default { export default {
components: { components: {
UserAvatarLink,
GlLink, GlLink,
}, },
directives: { directives: {
......
<script> <script>
import { GlButton, GlLink, GlProgressBar } from '@gitlab/ui'; import { GlButton, GlProgressBar } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import { formatTime, secondsToMilliseconds } from '~/lib/utils/datetime_utility'; import { formatTime, secondsToMilliseconds } from '~/lib/utils/datetime_utility';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -8,7 +8,6 @@ export default { ...@@ -8,7 +8,6 @@ export default {
name: 'TestSummary', name: 'TestSummary',
components: { components: {
GlButton, GlButton,
GlLink,
GlProgressBar, GlProgressBar,
Icon, Icon,
}, },
......
<script> <script>
/* eslint-disable @gitlab/vue-i18n/no-bare-strings */ /* eslint-disable @gitlab/vue-i18n/no-bare-strings */
import _ from 'underscore'; import _ from 'underscore';
import { GlTooltipDirective, GlLink, GlBadge, GlButton } from '@gitlab/ui'; import { GlTooltipDirective, GlLink, GlBadge } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue'; import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import timeagoMixin from '~/vue_shared/mixins/timeago'; import timeagoMixin from '~/vue_shared/mixins/timeago';
...@@ -20,7 +20,6 @@ export default { ...@@ -20,7 +20,6 @@ export default {
EvidenceBlock, EvidenceBlock,
GlLink, GlLink,
GlBadge, GlBadge,
GlButton,
Icon, Icon,
UserAvatarLink, UserAvatarLink,
ReleaseBlockFooter, ReleaseBlockFooter,
......
<script> <script>
// import { sprintf, __ } from '~/locale'; // import { sprintf, __ } from '~/locale';
import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue'; import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import CodeBlock from '~/vue_shared/components/code_block.vue'; import CodeBlock from '~/vue_shared/components/code_block.vue';
import { fieldTypes } from '../constants'; import { fieldTypes } from '../constants';
export default { export default {
components: { components: {
Modal: DeprecatedModal2, Modal: DeprecatedModal2,
LoadingButton,
CodeBlock, CodeBlock,
}, },
props: { props: {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { mapState, mapActions, mapGetters } from 'vuex'; import { mapState, mapActions, mapGetters } from 'vuex';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import { sprintf, s__ } from '~/locale'; import { sprintf, s__ } from '~/locale';
import FunctionRow from './function_row.vue';
import EnvironmentRow from './environment_row.vue'; import EnvironmentRow from './environment_row.vue';
import EmptyState from './empty_state.vue'; import EmptyState from './empty_state.vue';
import { CHECKING_INSTALLED } from '../constants'; import { CHECKING_INSTALLED } from '../constants';
...@@ -10,7 +9,6 @@ import { CHECKING_INSTALLED } from '../constants'; ...@@ -10,7 +9,6 @@ import { CHECKING_INSTALLED } from '../constants';
export default { export default {
components: { components: {
EnvironmentRow, EnvironmentRow,
FunctionRow,
EmptyState, EmptyState,
GlLoadingIcon, GlLoadingIcon,
}, },
......
<script> <script>
import { GlButton, GlLink, GlLoadingIcon } from '@gitlab/ui'; import { GlButton, GlLoadingIcon } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
components: { components: {
GlButton, GlButton,
GlLink,
GlLoadingIcon, GlLoadingIcon,
Icon, Icon,
}, },
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { sprintf, s__ } from '~/locale'; import { sprintf, s__ } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
import mrWidgetMergeHelp from '../../components/mr_widget_merge_help.vue';
export default { export default {
name: 'MRWidgetMissingBranch', name: 'MRWidgetMissingBranch',
...@@ -10,7 +9,6 @@ export default { ...@@ -10,7 +9,6 @@ export default {
tooltip, tooltip,
}, },
components: { components: {
mrWidgetMergeHelp,
statusIcon, statusIcon,
}, },
props: { props: {
......
...@@ -5,7 +5,6 @@ import SuggestionDiff from './suggestion_diff.vue'; ...@@ -5,7 +5,6 @@ import SuggestionDiff from './suggestion_diff.vue';
import Flash from '~/flash'; import Flash from '~/flash';
export default { export default {
components: { SuggestionDiff },
props: { props: {
lineType: { lineType: {
type: String, type: String,
......
<script> <script>
import { GlLink, GlTooltip } from '@gitlab/ui'; import { GlTooltip } from '@gitlab/ui';
export default { export default {
components: { components: {
GlTooltip, GlTooltip,
GlLink,
}, },
props: { props: {
label: { label: {
......
<script> <script>
import { isEqual } from 'underscore'; import { isEqual } from 'underscore';
import { GlButton, GlFormGroup, GlFormInput, GlFormSelect, GlLoadingIcon } from '@gitlab/ui'; import { GlFormGroup, GlFormInput, GlFormSelect, GlLoadingIcon } from '@gitlab/ui';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import { convertObjectPropsToSnakeCase } from '~/lib/utils/common_utils'; import { convertObjectPropsToSnakeCase } from '~/lib/utils/common_utils';
import LabelsSelector from './labels_selector.vue'; import LabelsSelector from './labels_selector.vue';
...@@ -25,7 +25,6 @@ const initFields = { ...@@ -25,7 +25,6 @@ const initFields = {
export default { export default {
components: { components: {
GlButton,
GlFormGroup, GlFormGroup,
GlFormInput, GlFormInput,
GlFormSelect, GlFormSelect,
......
<script> <script>
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
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'; import TotalTime from './total_time_component.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import iconBranch from '../svg/icon_branch.svg'; import iconBranch from '../svg/icon_branch.svg';
...@@ -11,7 +10,6 @@ export default { ...@@ -11,7 +10,6 @@ export default {
components: { components: {
UserAvatarImage, UserAvatarImage,
TotalTime, TotalTime,
LimitWarning,
Icon, Icon,
GlLink, GlLink,
}, },
......
<script> <script>
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
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'; import TotalTime from './total_time_component.vue';
export default { export default {
components: { components: {
GlLink, GlLink,
UserAvatarImage, UserAvatarImage,
LimitWarning,
TotalTime, TotalTime,
}, },
props: { props: {
......
<script> <script>
import { GlTooltipDirective, GlLoadingIcon, GlEmptyState } from '@gitlab/ui'; import { GlTooltipDirective, GlLoadingIcon, GlEmptyState } from '@gitlab/ui';
import { __, s__ } from '~/locale'; import { __, s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue';
import StageNavItem from './stage_nav_item.vue'; import StageNavItem from './stage_nav_item.vue';
import StageEventList from './stage_event_list.vue'; import StageEventList from './stage_event_list.vue';
import StageTableHeader from './stage_table_header.vue'; import StageTableHeader from './stage_table_header.vue';
...@@ -12,7 +11,6 @@ import { STAGE_ACTIONS } from '../constants'; ...@@ -12,7 +11,6 @@ import { STAGE_ACTIONS } from '../constants';
export default { export default {
name: 'StageTable', name: 'StageTable',
components: { components: {
Icon,
GlLoadingIcon, GlLoadingIcon,
GlEmptyState, GlEmptyState,
StageEventList, StageEventList,
......
...@@ -3,13 +3,11 @@ import { mapActions } from 'vuex'; ...@@ -3,13 +3,11 @@ import { mapActions } from 'vuex';
import { GlButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
import RuleInput from './rule_input.vue'; import RuleInput from './rule_input.vue';
import EmptyRuleName from '../empty_rule_name.vue'; import EmptyRuleName from '../empty_rule_name.vue';
import RuleControls from './../rule_controls.vue';
export default { export default {
components: { components: {
RuleInput, RuleInput,
EmptyRuleName, EmptyRuleName,
RuleControls,
GlButton, GlButton,
}, },
props: { props: {
......
<script> <script>
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { RULE_TYPE_ANY_APPROVER } from '../../constants'; import { RULE_TYPE_ANY_APPROVER } from '../../constants';
import Icon from '~/vue_shared/components/icon.vue';
const ANY_RULE_NAME = 'All Members'; const ANY_RULE_NAME = 'All Members';
export default { export default {
components: {
Icon,
},
props: { props: {
rule: { rule: {
type: Object, type: Object,
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { n__, sprintf } from '~/locale'; import { n__, sprintf } from '~/locale';
import { RULE_TYPE_ANY_APPROVER, RULE_TYPE_REGULAR } from '../../constants'; import { RULE_TYPE_ANY_APPROVER, RULE_TYPE_REGULAR } from '../../constants';
import Icon from '~/vue_shared/components/icon.vue';
import UserAvatarList from '~/vue_shared/components/user_avatar/user_avatar_list.vue'; import UserAvatarList from '~/vue_shared/components/user_avatar/user_avatar_list.vue';
import ApprovalCheckRulePopover from '../approval_check_rule_popover.vue';
import Rules from '../rules.vue'; import Rules from '../rules.vue';
import RuleControls from '../rule_controls.vue'; import RuleControls from '../rule_controls.vue';
import EmptyRule from '../mr_edit/empty_rule.vue'; import EmptyRule from '../mr_edit/empty_rule.vue';
...@@ -12,11 +10,9 @@ import RuleInput from '../mr_edit/rule_input.vue'; ...@@ -12,11 +10,9 @@ import RuleInput from '../mr_edit/rule_input.vue';
export default { export default {
components: { components: {
Icon,
RuleControls, RuleControls,
Rules, Rules,
UserAvatarList, UserAvatarList,
ApprovalCheckRulePopover,
EmptyRule, EmptyRule,
RuleInput, RuleInput,
}, },
......
<script> <script>
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { GlButton } from '@gitlab/ui';
import { sprintf, __ } from '~/locale'; import { sprintf, __ } from '~/locale';
import ApproversList from './approvers_list.vue'; import ApproversList from './approvers_list.vue';
import ApproversSelect from './approvers_select.vue'; import ApproversSelect from './approvers_select.vue';
...@@ -15,7 +14,6 @@ export default { ...@@ -15,7 +14,6 @@ export default {
components: { components: {
ApproversList, ApproversList,
ApproversSelect, ApproversSelect,
GlButton,
}, },
props: { props: {
initRule: { initRule: {
......
<script> <script>
import { mapActions, mapGetters, mapState } from 'vuex'; import { mapActions, mapGetters, mapState } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
import NoteableNote from '~/notes/components/noteable_note.vue'; import NoteableNote from '~/notes/components/noteable_note.vue';
import LoadingButton from '~/vue_shared/components/loading_button.vue'; import LoadingButton from '~/vue_shared/components/loading_button.vue';
import PublishButton from './publish_button.vue'; import PublishButton from './publish_button.vue';
...@@ -9,7 +8,6 @@ export default { ...@@ -9,7 +8,6 @@ export default {
components: { components: {
NoteableNote, NoteableNote,
PublishButton, PublishButton,
Icon,
LoadingButton, LoadingButton,
}, },
props: { props: {
......
<script> <script>
import { GlTable, GlLink, GlEmptyState, GlLoadingIcon } from '@gitlab/ui'; import { GlTable, GlEmptyState, GlLoadingIcon } from '@gitlab/ui';
import { __, sprintf } from '~/locale'; import { __, sprintf } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue'; import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue';
...@@ -8,7 +8,6 @@ export default { ...@@ -8,7 +8,6 @@ export default {
components: { components: {
GlEmptyState, GlEmptyState,
GlTable, GlTable,
GlLink,
Icon, Icon,
TimeAgo, TimeAgo,
GlLoadingIcon, GlLoadingIcon,
......
<script> <script>
import { import { GlFormInput, GlLink, GlFormGroup, GlFormRadioGroup, GlLoadingIcon } from '@gitlab/ui';
GlFormInput,
GlButton,
GlLink,
GlFormGroup,
GlFormRadioGroup,
GlLoadingIcon,
} from '@gitlab/ui';
import { debounce } from 'underscore'; import { debounce } from 'underscore';
import { __, s__ } from '~/locale'; import { __, s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -46,7 +39,6 @@ function backOffRequest(makeRequestCallback) { ...@@ -46,7 +39,6 @@ function backOffRequest(makeRequestCallback) {
export default { export default {
components: { components: {
GlFormInput, GlFormInput,
GlButton,
GlLink, GlLink,
GlFormGroup, GlFormGroup,
GlFormRadioGroup, GlFormRadioGroup,
......
<script> <script>
import { GlButton, GlLoadingIcon, GlModal, GlModalDirective } from '@gitlab/ui'; import { GlButton, GlModal, GlModalDirective } from '@gitlab/ui';
import _ from 'underscore'; import _ from 'underscore';
export default { export default {
name: 'DeleteButton', name: 'DeleteButton',
components: { components: {
GlButton, GlButton,
GlLoadingIcon,
GlModal, GlModal,
}, },
directives: { directives: {
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { GlLoadingIcon } from '@gitlab/ui';
export default { export default {
components: {
GlLoadingIcon,
},
props: { props: {
image: { image: {
type: String, type: String,
......
<script> <script>
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue';
import PaginationButton from './pagination_button.vue'; import PaginationButton from './pagination_button.vue';
import allDesignsMixin from '../../mixins/all_designs'; import allDesignsMixin from '../../mixins/all_designs';
export default { export default {
components: { components: {
Icon,
PaginationButton, PaginationButton,
}, },
mixins: [allDesignsMixin], mixins: [allDesignsMixin],
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { import { GlModal, GlModalDirective, GlButton, GlDashboardSkeleton } from '@gitlab/ui';
GlLoadingIcon,
GlModal,
GlModalDirective,
GlButton,
GlDashboardSkeleton,
} from '@gitlab/ui';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import ProjectSelector from '~/vue_shared/components/project_selector/project_selector.vue'; import ProjectSelector from '~/vue_shared/components/project_selector/project_selector.vue';
import ProjectHeader from './project_header.vue'; import ProjectHeader from './project_header.vue';
...@@ -32,7 +26,6 @@ export default { ...@@ -32,7 +26,6 @@ export default {
components: { components: {
GlModal, GlModal,
GlDashboardSkeleton, GlDashboardSkeleton,
GlLoadingIcon,
GlButton, GlButton,
ProjectSelector, ProjectSelector,
Environment, Environment,
......
<script> <script>
import { GlButton, GlLink, GlBadge, GlTooltipDirective } from '@gitlab/ui'; import { GlLink, GlBadge, GlTooltipDirective } from '@gitlab/ui';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import ReviewAppLink from '~/vue_merge_request_widget/components/review_app_link.vue'; import ReviewAppLink from '~/vue_merge_request_widget/components/review_app_link.vue';
import ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue';
export default { export default {
components: { components: {
Icon, Icon,
ProjectAvatar,
ReviewAppLink, ReviewAppLink,
GlButton,
GlBadge, GlBadge,
GlLink, GlLink,
}, },
......
...@@ -3,7 +3,6 @@ import { mapState, mapGetters } from 'vuex'; ...@@ -3,7 +3,6 @@ import { mapState, mapGetters } from 'vuex';
import { PathIdSeparator } from 'ee/related_issues/constants'; import { PathIdSeparator } from 'ee/related_issues/constants';
import RelatedItems from 'ee/related_issues/components/related_issues_root.vue';
import IssuableBody from '~/issue_show/components/app.vue'; import IssuableBody from '~/issue_show/components/app.vue';
import IssuableSidebar from '~/issuable_sidebar/components/sidebar_app.vue'; import IssuableSidebar from '~/issuable_sidebar/components/sidebar_app.vue';
...@@ -14,7 +13,6 @@ export default { ...@@ -14,7 +13,6 @@ export default {
components: { components: {
IssuableBody, IssuableBody,
IssuableSidebar, IssuableSidebar,
RelatedItems,
EpicSidebar, EpicSidebar,
}, },
computed: { computed: {
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { import { GlButton, GlTooltipDirective, GlModalDirective, GlModal, GlToggle } from '@gitlab/ui';
GlButton,
GlLink,
GlTooltipDirective,
GlModalDirective,
GlModal,
GlToggle,
} from '@gitlab/ui';
import { sprintf, s__ } from '~/locale'; import { sprintf, s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
...@@ -16,7 +9,6 @@ import { ROLLOUT_STRATEGY_PERCENT_ROLLOUT } from '../constants'; ...@@ -16,7 +9,6 @@ import { ROLLOUT_STRATEGY_PERCENT_ROLLOUT } from '../constants';
export default { export default {
components: { components: {
GlButton, GlButton,
GlLink,
Icon, Icon,
GlModal, GlModal,
GlToggle, GlToggle,
......
<script> <script>
import { GlSkeletonLoading } from '@gitlab/ui'; import { GlSkeletonLoading } from '@gitlab/ui';
import { Cell, SkeletonCell, SkeletonHeaderCell } from '../cells'; import { SkeletonCell, SkeletonHeaderCell } from '../cells';
export default { export default {
name: 'SkeletonLicenseCard', name: 'SkeletonLicenseCard',
components: { components: {
GlSkeletonLoading, GlSkeletonLoading,
Cell,
SkeletonCell, SkeletonCell,
SkeletonHeaderCell, SkeletonHeaderCell,
}, },
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { GlSkeletonLoading } from '@gitlab/ui';
export default { export default {
// name: 'Cell' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/25 // name: 'Cell' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/25
// eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings // eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings
name: 'Cell', name: 'Cell',
components: {
GlSkeletonLoading,
},
props: { props: {
title: { title: {
type: String, type: String,
......
<script> <script>
import { GlBadge, GlLoadingIcon, GlModal, GlModalDirective } from '@gitlab/ui'; import { GlBadge, GlLoadingIcon, GlModalDirective } from '@gitlab/ui';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import createFlash from '~/flash'; import createFlash from '~/flash';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -12,7 +12,6 @@ export default { ...@@ -12,7 +12,6 @@ export default {
AlertWidgetForm, AlertWidgetForm,
GlBadge, GlBadge,
GlLoadingIcon, GlLoadingIcon,
GlModal,
Icon, Icon,
}, },
directives: { directives: {
......
<script> <script>
import { GlLink, GlProgressBar, GlButton, GlLoadingIcon } from '@gitlab/ui'; import { GlLink, GlProgressBar, GlButton, GlLoadingIcon } from '@gitlab/ui';
import { __, s__, sprintf } from '~/locale'; import { __, s__, sprintf } from '~/locale';
import userAvatarImage from '~/vue_shared/components/user_avatar/user_avatar_image.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import HelpContentPopover from './help_content_popover.vue'; import HelpContentPopover from './help_content_popover.vue';
import TourPartsList from './tour_parts_list.vue'; import TourPartsList from './tour_parts_list.vue';
...@@ -10,7 +9,6 @@ import Tracking from '~/tracking'; ...@@ -10,7 +9,6 @@ import Tracking from '~/tracking';
export default { export default {
name: 'OnboardingHelper', name: 'OnboardingHelper',
components: { components: {
userAvatarImage,
Icon, Icon,
GlLink, GlLink,
GlProgressBar, GlProgressBar,
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { import { GlModal, GlModalDirective, GlButton, GlDashboardSkeleton } from '@gitlab/ui';
GlLoadingIcon,
GlModal,
GlModalDirective,
GlButton,
GlDashboardSkeleton,
} from '@gitlab/ui';
import VueDraggable from 'vuedraggable'; import VueDraggable from 'vuedraggable';
import ProjectSelector from '~/vue_shared/components/project_selector/project_selector.vue'; import ProjectSelector from '~/vue_shared/components/project_selector/project_selector.vue';
import DashboardProject from './project.vue'; import DashboardProject from './project.vue';
...@@ -17,7 +11,6 @@ export default { ...@@ -17,7 +11,6 @@ export default {
DashboardProject, DashboardProject,
GlModal, GlModal,
GlDashboardSkeleton, GlDashboardSkeleton,
GlLoadingIcon,
GlButton, GlButton,
ProjectSelector, ProjectSelector,
VueDraggable, VueDraggable,
......
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { GlTooltip } from '@gitlab/ui';
import Alerts from 'ee/vue_shared/dashboards/components/alerts.vue'; import Alerts from 'ee/vue_shared/dashboards/components/alerts.vue';
import TimeAgo from 'ee/vue_shared/dashboards/components/time_ago.vue'; import TimeAgo from 'ee/vue_shared/dashboards/components/time_ago.vue';
import ProjectPipeline from 'ee/vue_shared/dashboards/components/project_pipeline.vue'; import ProjectPipeline from 'ee/vue_shared/dashboards/components/project_pipeline.vue';
import { STATUS_FAILED, STATUS_RUNNING } from 'ee/vue_shared/dashboards/constants'; import { STATUS_FAILED, STATUS_RUNNING } from 'ee/vue_shared/dashboards/constants';
import { __, sprintf } from '~/locale'; import { __, sprintf } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue';
import timeagoMixin from '~/vue_shared/mixins/timeago'; import timeagoMixin from '~/vue_shared/mixins/timeago';
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue'; import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import Commit from '~/vue_shared/components/commit.vue'; import Commit from '~/vue_shared/components/commit.vue';
...@@ -21,8 +19,6 @@ export default { ...@@ -21,8 +19,6 @@ export default {
Alerts, Alerts,
ProjectPipeline, ProjectPipeline,
TimeAgo, TimeAgo,
GlTooltip,
Icon,
}, },
mixins: [timeagoMixin], mixins: [timeagoMixin],
props: { props: {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import { GlButton, GlLoadingIcon } from '@gitlab/ui'; import { GlButton, GlLoadingIcon } from '@gitlab/ui';
import createFlash, { hideFlash } from '~/flash'; import createFlash, { hideFlash } from '~/flash';
import { s__ } from '~/locale'; import { s__ } from '~/locale';
import UserAvatarList from '~/vue_shared/components/user_avatar/user_avatar_list.vue';
import eventHub from '~/vue_merge_request_widget/event_hub'; import eventHub from '~/vue_merge_request_widget/event_hub';
import MrWidgetContainer from '~/vue_merge_request_widget/components/mr_widget_container.vue'; import MrWidgetContainer from '~/vue_merge_request_widget/components/mr_widget_container.vue';
import MrWidgetIcon from '~/vue_merge_request_widget/components/mr_widget_icon.vue'; import MrWidgetIcon from '~/vue_merge_request_widget/components/mr_widget_icon.vue';
...@@ -15,7 +14,6 @@ import { FETCH_LOADING, FETCH_ERROR, APPROVE_ERROR, UNAPPROVE_ERROR } from './me ...@@ -15,7 +14,6 @@ import { FETCH_LOADING, FETCH_ERROR, APPROVE_ERROR, UNAPPROVE_ERROR } from './me
export default { export default {
name: 'MRWidgetMultipleRuleApprovals', name: 'MRWidgetMultipleRuleApprovals',
components: { components: {
UserAvatarList,
MrWidgetContainer, MrWidgetContainer,
MrWidgetIcon, MrWidgetIcon,
ApprovalsSummary, ApprovalsSummary,
......
<script> <script>
import { GlButton, GlLoadingIcon, GlModal } from '@gitlab/ui'; import { GlLoadingIcon, GlModal } from '@gitlab/ui';
export default { export default {
components: { components: {
GlButton,
GlLoadingIcon, GlLoadingIcon,
GlModal, GlModal,
}, },
......
<script> <script>
import { sprintf, s__ } from '~/locale'; import { sprintf, s__ } from '~/locale';
import icon from '~/vue_shared/components/icon.vue'; import icon from '~/vue_shared/components/icon.vue';
import ciStatus from '~/vue_shared/components/ci_icon.vue';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
export default { export default {
...@@ -9,7 +8,6 @@ export default { ...@@ -9,7 +8,6 @@ export default {
tooltip, tooltip,
}, },
components: { components: {
ciStatus,
icon, icon,
}, },
props: { props: {
......
<script> <script>
import { GlLink } from '@gitlab/ui'; import { GlLink } from '@gitlab/ui';
import { noneEpic } from 'ee/vue_shared/constants'; import { noneEpic } from 'ee/vue_shared/constants';
import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
noneEpic, noneEpic,
components: { components: {
GlLink, GlLink,
Icon,
}, },
props: { props: {
epics: { epics: {
......
...@@ -3,7 +3,6 @@ import { mapActions, mapGetters, mapState } from 'vuex'; ...@@ -3,7 +3,6 @@ import { mapActions, mapGetters, mapState } from 'vuex';
import { componentNames } from 'ee/reports/components/issue_body'; import { componentNames } from 'ee/reports/components/issue_body';
import SmartVirtualList from '~/vue_shared/components/smart_virtual_list.vue'; import SmartVirtualList from '~/vue_shared/components/smart_virtual_list.vue';
import ReportSection from '~/reports/components/report_section.vue'; import ReportSection from '~/reports/components/report_section.vue';
import SummaryRow from '~/reports/components/summary_row.vue';
import ReportItem from '~/reports/components/report_item.vue'; import ReportItem from '~/reports/components/report_item.vue';
import { n__, s__, sprintf } from '~/locale'; import { n__, s__, sprintf } from '~/locale';
import createStore from './store'; import createStore from './store';
...@@ -13,7 +12,6 @@ export default { ...@@ -13,7 +12,6 @@ export default {
store: createStore(), store: createStore(),
components: { components: {
ReportSection, ReportSection,
SummaryRow,
ReportItem, ReportItem,
SmartVirtualList, SmartVirtualList,
}, },
......
...@@ -2,13 +2,11 @@ ...@@ -2,13 +2,11 @@
import DismissalNote from 'ee/vue_shared/security_reports/components/dismissal_note.vue'; import DismissalNote from 'ee/vue_shared/security_reports/components/dismissal_note.vue';
import DismissalCommentBoxToggle from 'ee/vue_shared/security_reports/components/dismissal_comment_box_toggle.vue'; import DismissalCommentBoxToggle from 'ee/vue_shared/security_reports/components/dismissal_comment_box_toggle.vue';
import DismissalCommentModalFooter from 'ee/vue_shared/security_reports/components/dismissal_comment_modal_footer.vue'; import DismissalCommentModalFooter from 'ee/vue_shared/security_reports/components/dismissal_comment_modal_footer.vue';
import EventItem from 'ee/vue_shared/security_reports/components/event_item.vue';
import IssueNote from 'ee/vue_shared/security_reports/components/issue_note.vue'; import IssueNote from 'ee/vue_shared/security_reports/components/issue_note.vue';
import MergeRequestNote from 'ee/vue_shared/security_reports/components/merge_request_note.vue'; import MergeRequestNote from 'ee/vue_shared/security_reports/components/merge_request_note.vue';
import ModalFooter from 'ee/vue_shared/security_reports/components/modal_footer.vue'; import ModalFooter from 'ee/vue_shared/security_reports/components/modal_footer.vue';
import SolutionCard from 'ee/vue_shared/security_reports/components/solution_card.vue'; import SolutionCard from 'ee/vue_shared/security_reports/components/solution_card.vue';
import VulnerabilityDetails from 'ee/vue_shared/security_reports/components/vulnerability_details.vue'; import VulnerabilityDetails from 'ee/vue_shared/security_reports/components/vulnerability_details.vue';
import ExpandButton from '~/vue_shared/components/expand_button.vue';
import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue'; import DeprecatedModal2 from '~/vue_shared/components/deprecated_modal_2.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
...@@ -17,8 +15,6 @@ export default { ...@@ -17,8 +15,6 @@ export default {
DismissalNote, DismissalNote,
DismissalCommentBoxToggle, DismissalCommentBoxToggle,
DismissalCommentModalFooter, DismissalCommentModalFooter,
EventItem,
ExpandButton,
IssueNote, IssueNote,
MergeRequestNote, MergeRequestNote,
Modal: DeprecatedModal2, Modal: DeprecatedModal2,
......
...@@ -3,14 +3,12 @@ ...@@ -3,14 +3,12 @@
* Renders SAST CONTAINER body text * Renders SAST CONTAINER body text
* [priority]: [name] in [link]:[line] * [priority]: [name] in [link]:[line]
*/ */
import ReportLink from '~/reports/components/report_link.vue';
import ModalOpenName from '~/reports/components/modal_open_name.vue'; import ModalOpenName from '~/reports/components/modal_open_name.vue';
import { humanize } from '~/lib/utils/text_utility'; import { humanize } from '~/lib/utils/text_utility';
export default { export default {
name: 'SastContainerIssueBody', name: 'SastContainerIssueBody',
components: { components: {
ReportLink,
ModalOpenName, ModalOpenName,
}, },
props: { props: {
......
<script> <script>
import { GlButton } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { setUrlFragment } from '~/lib/utils/url_utility'; import { setUrlFragment } from '~/lib/utils/url_utility';
export default { export default {
name: 'SolutionCard', name: 'SolutionCard',
components: { GlButton, Icon }, components: { Icon },
props: { props: {
solution: { solution: {
type: String, type: String,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment