Commit c4aa33fc authored by Clement Ho's avatar Clement Ho Committed by Filipa Lacerda

Remove gitlab-ui loading icon from global

parent e1e315ee
<script> <script>
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import Tooltip from '~/vue_shared/directives/tooltip'; import Tooltip from '~/vue_shared/directives/tooltip';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
name: 'Badge', name: 'Badge',
components: { components: {
Icon, Icon,
Tooltip, Tooltip,
GlLoadingIcon,
}, },
directives: { directives: {
Tooltip, Tooltip,
......
...@@ -4,6 +4,7 @@ import { mapActions, mapState } from 'vuex'; ...@@ -4,6 +4,7 @@ import { mapActions, mapState } from 'vuex';
import createFlash from '~/flash'; import createFlash from '~/flash';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import LoadingButton from '~/vue_shared/components/loading_button.vue'; import LoadingButton from '~/vue_shared/components/loading_button.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import createEmptyBadge from '../empty_badge'; import createEmptyBadge from '../empty_badge';
import Badge from './badge.vue'; import Badge from './badge.vue';
...@@ -14,6 +15,7 @@ export default { ...@@ -14,6 +15,7 @@ export default {
components: { components: {
Badge, Badge,
LoadingButton, LoadingButton,
GlLoadingIcon,
}, },
props: { props: {
isEditing: { isEditing: {
......
<script> <script>
import { mapState } from 'vuex'; import { mapState } from 'vuex';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import BadgeListRow from './badge_list_row.vue'; import BadgeListRow from './badge_list_row.vue';
import { GROUP_BADGE } from '../constants'; import { GROUP_BADGE } from '../constants';
...@@ -7,6 +8,7 @@ export default { ...@@ -7,6 +8,7 @@ export default {
name: 'BadgeList', name: 'BadgeList',
components: { components: {
BadgeListRow, BadgeListRow,
GlLoadingIcon,
}, },
computed: { computed: {
...mapState(['badges', 'isLoading', 'kind']), ...mapState(['badges', 'isLoading', 'kind']),
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import { mapActions, mapState } from 'vuex'; import { mapActions, mapState } from 'vuex';
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 { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import { PROJECT_BADGE } from '../constants'; import { PROJECT_BADGE } from '../constants';
import Badge from './badge.vue'; import Badge from './badge.vue';
...@@ -10,6 +11,7 @@ export default { ...@@ -10,6 +11,7 @@ export default {
components: { components: {
Badge, Badge,
Icon, Icon,
GlLoadingIcon,
}, },
props: { props: {
badge: { badge: {
......
<script> <script>
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import boardNewIssue from './board_new_issue.vue'; import boardNewIssue from './board_new_issue.vue';
import boardCard from './board_card.vue'; import boardCard from './board_card.vue';
import eventHub from '../eventhub'; import eventHub from '../eventhub';
...@@ -11,6 +12,7 @@ export default { ...@@ -11,6 +12,7 @@ export default {
components: { components: {
boardCard, boardCard,
boardNewIssue, boardNewIssue,
GlLoadingIcon,
}, },
props: { props: {
groupId: { groupId: {
......
...@@ -6,6 +6,7 @@ import ModalList from './list.vue'; ...@@ -6,6 +6,7 @@ import ModalList from './list.vue';
import ModalFooter from './footer.vue'; import ModalFooter from './footer.vue';
import EmptyState from './empty_state.vue'; import EmptyState from './empty_state.vue';
import ModalStore from '../../stores/modal_store'; import ModalStore from '../../stores/modal_store';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
...@@ -13,6 +14,7 @@ export default { ...@@ -13,6 +14,7 @@ export default {
ModalHeader, ModalHeader,
ModalList, ModalList,
ModalFooter, ModalFooter,
GlLoadingIcon,
}, },
props: { props: {
newIssuePath: { newIssuePath: {
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import $ from 'jquery'; import $ from 'jquery';
import _ from 'underscore'; import _ from 'underscore';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../eventhub'; import eventHub from '../eventhub';
import Api from '../../api'; import Api from '../../api';
...@@ -9,6 +10,7 @@ export default { ...@@ -9,6 +10,7 @@ export default {
name: 'BoardProjectSelect', name: 'BoardProjectSelect',
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
props: { props: {
groupId: { groupId: {
......
import Vue from 'vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
Vue.component('gl-loading-icon', GlLoadingIcon);
...@@ -3,5 +3,4 @@ import './polyfills'; ...@@ -3,5 +3,4 @@ import './polyfills';
import './jquery'; import './jquery';
import './bootstrap'; import './bootstrap';
import './vue'; import './vue';
import './gitlab_ui';
import '../lib/utils/axios_utils'; import '../lib/utils/axios_utils';
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../eventhub'; import eventHub from '../eventhub';
export default { export default {
components: {
GlLoadingIcon,
},
props: { props: {
deployKey: { deployKey: {
type: Object, type: Object,
......
...@@ -6,11 +6,13 @@ import eventHub from '../eventhub'; ...@@ -6,11 +6,13 @@ import eventHub from '../eventhub';
import DeployKeysService from '../service'; import DeployKeysService from '../service';
import DeployKeysStore from '../store'; import DeployKeysStore from '../store';
import KeysPanel from './keys_panel.vue'; import KeysPanel from './keys_panel.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
KeysPanel, KeysPanel,
NavigationTabs, NavigationTabs,
GlLoadingIcon,
}, },
props: { props: {
endpoint: { endpoint: {
......
...@@ -3,6 +3,7 @@ import { mapState, mapGetters, mapActions } from 'vuex'; ...@@ -3,6 +3,7 @@ import { mapState, mapGetters, mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
import createFlash from '~/flash'; import createFlash from '~/flash';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../../notes/event_hub'; import eventHub from '../../notes/event_hub';
import CompareVersions from './compare_versions.vue'; import CompareVersions from './compare_versions.vue';
import DiffFile from './diff_file.vue'; import DiffFile from './diff_file.vue';
...@@ -21,6 +22,7 @@ export default { ...@@ -21,6 +22,7 @@ export default {
HiddenFilesWarning, HiddenFilesWarning,
CommitWidget, CommitWidget,
TreeList, TreeList,
GlLoadingIcon,
}, },
props: { props: {
endpoint: { endpoint: {
......
...@@ -3,6 +3,7 @@ import { mapActions, mapGetters, mapState } from 'vuex'; ...@@ -3,6 +3,7 @@ import { mapActions, mapGetters, mapState } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { __, sprintf } from '~/locale'; import { __, sprintf } from '~/locale';
import createFlash from '~/flash'; import createFlash from '~/flash';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import DiffFileHeader from './diff_file_header.vue'; import DiffFileHeader from './diff_file_header.vue';
import DiffContent from './diff_content.vue'; import DiffContent from './diff_content.vue';
...@@ -10,6 +11,7 @@ export default { ...@@ -10,6 +11,7 @@ export default {
components: { components: {
DiffFileHeader, DiffFileHeader,
DiffContent, DiffContent,
GlLoadingIcon,
}, },
props: { props: {
file: { file: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import tablePagination from '../../vue_shared/components/table_pagination.vue'; import tablePagination from '../../vue_shared/components/table_pagination.vue';
import environmentTable from '../components/environments_table.vue'; import environmentTable from '../components/environments_table.vue';
...@@ -6,6 +7,7 @@ export default { ...@@ -6,6 +7,7 @@ export default {
components: { components: {
environmentTable, environmentTable,
tablePagination, tablePagination,
GlLoadingIcon,
}, },
props: { props: {
isLoading: { isLoading: {
......
...@@ -4,6 +4,7 @@ import { formatTime } from '~/lib/utils/datetime_utility'; ...@@ -4,6 +4,7 @@ import { formatTime } from '~/lib/utils/datetime_utility';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import tooltip from '../../vue_shared/directives/tooltip'; import tooltip from '../../vue_shared/directives/tooltip';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
directives: { directives: {
...@@ -11,6 +12,7 @@ export default { ...@@ -11,6 +12,7 @@ export default {
}, },
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
props: { props: {
actions: { actions: {
......
...@@ -9,10 +9,12 @@ import { s__ } from '~/locale'; ...@@ -9,10 +9,12 @@ import { s__ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
directives: { directives: {
......
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
/** /**
* Render environments table. * Render environments table.
*/ */
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import environmentItem from './environment_item.vue'; import environmentItem from './environment_item.vue';
export default { export default {
components: { components: {
environmentItem, environmentItem,
GlLoadingIcon,
}, },
props: { props: {
......
<script> <script>
import { mapState, mapActions, mapGetters } from 'vuex'; import { mapState, mapActions, mapGetters } from 'vuex';
import AccessorUtilities from '~/lib/utils/accessor'; import AccessorUtilities from '~/lib/utils/accessor';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import store from '../store/'; import store from '../store/';
import { FREQUENT_ITEMS, STORAGE_KEY } from '../constants'; import { FREQUENT_ITEMS, STORAGE_KEY } from '../constants';
...@@ -14,6 +15,7 @@ export default { ...@@ -14,6 +15,7 @@ export default {
components: { components: {
FrequentItemsSearchInput, FrequentItemsSearchInput,
FrequentItemsList, FrequentItemsList,
GlLoadingIcon,
}, },
mixins: [frequentItemsMixin], mixins: [frequentItemsMixin],
props: { props: {
......
...@@ -8,6 +8,7 @@ import { HIDDEN_CLASS } from '~/lib/utils/constants'; ...@@ -8,6 +8,7 @@ import { HIDDEN_CLASS } from '~/lib/utils/constants';
import { getParameterByName } from '~/lib/utils/common_utils'; import { getParameterByName } from '~/lib/utils/common_utils';
import { mergeUrlParams } from '~/lib/utils/url_utility'; import { mergeUrlParams } from '~/lib/utils/url_utility';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import { COMMON_STR, CONTENT_LIST_CLASS } from '../constants'; import { COMMON_STR, CONTENT_LIST_CLASS } from '../constants';
import groupsComponent from './groups.vue'; import groupsComponent from './groups.vue';
...@@ -16,6 +17,7 @@ export default { ...@@ -16,6 +17,7 @@ export default {
components: { components: {
DeprecatedModal, DeprecatedModal,
groupsComponent, groupsComponent,
GlLoadingIcon,
}, },
props: { props: {
action: { action: {
......
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
import { mapActions, mapState } from 'vuex'; import { mapActions, mapState } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Item from './item.vue'; import Item from './item.vue';
export default { export default {
components: { components: {
Item, Item,
Icon, Icon,
GlLoadingIcon,
}, },
data() { data() {
return { return {
......
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: {
GlLoadingIcon,
},
props: { props: {
message: { message: {
type: Object, type: Object,
......
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
import $ from 'jquery'; import $ from 'jquery';
import { mapActions, mapState } from 'vuex'; import { mapActions, mapState } from 'vuex';
import DropdownButton from '~/vue_shared/components/dropdown/dropdown_button.vue'; import DropdownButton from '~/vue_shared/components/dropdown/dropdown_button.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
DropdownButton, DropdownButton,
GlLoadingIcon,
}, },
props: { props: {
data: { data: {
......
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Stage from './stage.vue'; import Stage from './stage.vue';
export default { export default {
components: { components: {
Stage, Stage,
GlLoadingIcon,
}, },
props: { props: {
stages: { stages: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
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 CiIcon from '../../../vue_shared/components/ci_icon.vue'; import CiIcon from '../../../vue_shared/components/ci_icon.vue';
...@@ -12,6 +13,7 @@ export default { ...@@ -12,6 +13,7 @@ export default {
Icon, Icon,
CiIcon, CiIcon,
Item, Item,
GlLoadingIcon,
}, },
props: { props: {
stage: { stage: {
......
...@@ -3,6 +3,7 @@ import { mapActions, mapState } from 'vuex'; ...@@ -3,6 +3,7 @@ import { mapActions, mapState } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { __ } from '~/locale'; import { __ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Item from './item.vue'; import Item from './item.vue';
import TokenedInput from '../shared/tokened_input.vue'; import TokenedInput from '../shared/tokened_input.vue';
...@@ -16,6 +17,7 @@ export default { ...@@ -16,6 +17,7 @@ export default {
TokenedInput, TokenedInput,
Item, Item,
Icon, Icon,
GlLoadingIcon,
}, },
data() { data() {
return { return {
......
<script> <script>
import { mapActions, mapGetters, mapState } from 'vuex'; import { mapActions, mapGetters, mapState } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { GlLoadingIcon } from '@gitlab-org/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 CiIcon from '../../../vue_shared/components/ci_icon.vue'; import CiIcon from '../../../vue_shared/components/ci_icon.vue';
...@@ -17,6 +18,7 @@ export default { ...@@ -17,6 +18,7 @@ export default {
Tab, Tab,
JobsList, JobsList,
EmptyState, EmptyState,
GlLoadingIcon,
}, },
computed: { computed: {
...mapState(['pipelinesEmptyStateSvgPath', 'links']), ...mapState(['pipelinesEmptyStateSvgPath', 'links']),
......
...@@ -3,6 +3,7 @@ import { mapActions, mapGetters, mapState } from 'vuex'; ...@@ -3,6 +3,7 @@ import { mapActions, mapGetters, mapState } from 'vuex';
import _ from 'underscore'; import _ from 'underscore';
import { Manager } from 'smooshpack'; import { Manager } from 'smooshpack';
import { listen } from 'codesandbox-api'; import { listen } from 'codesandbox-api';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Navigator from './navigator.vue'; import Navigator from './navigator.vue';
import { packageJsonPath } from '../../constants'; import { packageJsonPath } from '../../constants';
import { createPathWithExt } from '../../utils'; import { createPathWithExt } from '../../utils';
...@@ -10,6 +11,7 @@ import { createPathWithExt } from '../../utils'; ...@@ -10,6 +11,7 @@ import { createPathWithExt } from '../../utils';
export default { export default {
components: { components: {
Navigator, Navigator,
GlLoadingIcon,
}, },
data() { data() {
return { return {
......
<script> <script>
import { listen } from 'codesandbox-api'; import { listen } from 'codesandbox-api';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
props: { props: {
manager: { manager: {
......
...@@ -26,12 +26,12 @@ export default { ...@@ -26,12 +26,12 @@ export default {
EmptyState, EmptyState,
EnvironmentsBlock, EnvironmentsBlock,
ErasedBlock, ErasedBlock,
GlLoadingIcon,
Icon, Icon,
Log, Log,
LogTopBar, LogTopBar,
StuckBlock, StuckBlock,
Sidebar, Sidebar,
GlLoadingIcon,
}, },
props: { props: {
runnerSettingsUrl: { runnerSettingsUrl: {
......
...@@ -9,11 +9,13 @@ import resolvedDiscussionSvg from 'icons/_icon_status_success_solid.svg'; ...@@ -9,11 +9,13 @@ import resolvedDiscussionSvg from 'icons/_icon_status_success_solid.svg';
import ellipsisSvg from 'icons/_ellipsis_v.svg'; import ellipsisSvg from 'icons/_ellipsis_v.svg';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
name: 'NoteActions', name: 'NoteActions',
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
directives: { directives: {
tooltip, tooltip,
......
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import StageColumnComponent from './stage_column_component.vue'; import StageColumnComponent from './stage_column_component.vue';
export default { export default {
components: { components: {
StageColumnComponent, StageColumnComponent,
GlLoadingIcon,
}, },
props: { props: {
isLoading: { isLoading: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import ciHeader from '../../vue_shared/components/header_ci_component.vue'; import ciHeader from '../../vue_shared/components/header_ci_component.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
...@@ -6,6 +7,7 @@ export default { ...@@ -6,6 +7,7 @@ export default {
name: 'PipelineHeaderSection', name: 'PipelineHeaderSection',
components: { components: {
ciHeader, ciHeader,
GlLoadingIcon,
}, },
props: { props: {
pipeline: { pipeline: {
......
...@@ -4,6 +4,7 @@ import eventHub from '../event_hub'; ...@@ -4,6 +4,7 @@ import eventHub from '../event_hub';
import Icon from '../../vue_shared/components/icon.vue'; import Icon from '../../vue_shared/components/icon.vue';
import tooltip from '../../vue_shared/directives/tooltip'; import tooltip from '../../vue_shared/directives/tooltip';
import GlCountdown from '~/vue_shared/components/gl_countdown.vue'; import GlCountdown from '~/vue_shared/components/gl_countdown.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
directives: { directives: {
...@@ -12,6 +13,7 @@ export default { ...@@ -12,6 +13,7 @@ export default {
components: { components: {
Icon, Icon,
GlCountdown, GlCountdown,
GlLoadingIcon,
}, },
props: { props: {
actions: { actions: {
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
*/ */
import $ from 'jquery'; import $ from 'jquery';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import { __ } from '../../locale'; import { __ } from '../../locale';
import Flash from '../../flash'; import Flash from '../../flash';
import axios from '../../lib/utils/axios_utils'; import axios from '../../lib/utils/axios_utils';
...@@ -26,6 +27,7 @@ export default { ...@@ -26,6 +27,7 @@ export default {
components: { components: {
Icon, Icon,
JobItem, JobItem,
GlLoadingIcon,
}, },
directives: { directives: {
......
import Visibility from 'visibilityjs'; import Visibility from 'visibilityjs';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import { __ } from '../../locale'; import { __ } from '../../locale';
import Flash from '../../flash'; import Flash from '../../flash';
import Poll from '../../lib/utils/poll'; import Poll from '../../lib/utils/poll';
...@@ -13,6 +14,7 @@ export default { ...@@ -13,6 +14,7 @@ export default {
PipelinesTableComponent, PipelinesTableComponent,
SvgBlankState, SvgBlankState,
EmptyState, EmptyState,
GlLoadingIcon,
}, },
data() { data() {
return { return {
......
...@@ -2,6 +2,7 @@ import _ from 'underscore'; ...@@ -2,6 +2,7 @@ import _ from 'underscore';
import DropdownSearchInput from '~/vue_shared/components/dropdown/dropdown_search_input.vue'; import DropdownSearchInput from '~/vue_shared/components/dropdown/dropdown_search_input.vue';
import DropdownHiddenInput from '~/vue_shared/components/dropdown/dropdown_hidden_input.vue'; import DropdownHiddenInput from '~/vue_shared/components/dropdown/dropdown_hidden_input.vue';
import DropdownButton from '~/vue_shared/components/dropdown/dropdown_button.vue'; import DropdownButton from '~/vue_shared/components/dropdown/dropdown_button.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import store from '../store'; import store from '../store';
...@@ -11,6 +12,7 @@ export default { ...@@ -11,6 +12,7 @@ export default {
DropdownButton, DropdownButton,
DropdownSearchInput, DropdownSearchInput,
DropdownHiddenInput, DropdownHiddenInput,
GlLoadingIcon,
}, },
props: { props: {
fieldId: { fieldId: {
......
...@@ -5,6 +5,7 @@ import Poll from '~/lib/utils/poll'; ...@@ -5,6 +5,7 @@ import Poll from '~/lib/utils/poll';
import Flash from '~/flash'; import Flash from '~/flash';
import { s__, sprintf } from '~/locale'; import { s__, sprintf } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import CommitPipelineService from '../services/commit_pipeline_service'; import CommitPipelineService from '../services/commit_pipeline_service';
export default { export default {
...@@ -13,6 +14,7 @@ export default { ...@@ -13,6 +14,7 @@ export default {
}, },
components: { components: {
ciIcon, ciIcon,
GlLoadingIcon,
}, },
props: { props: {
endpoint: { endpoint: {
......
<script> <script>
import { mapGetters, mapActions } from 'vuex'; import { mapGetters, mapActions } from 'vuex';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Flash from '../../flash'; import Flash from '../../flash';
import store from '../stores'; import store from '../stores';
import collapsibleContainer from './collapsible_container.vue'; import collapsibleContainer from './collapsible_container.vue';
...@@ -9,6 +10,7 @@ export default { ...@@ -9,6 +10,7 @@ export default {
name: 'RegistryListApp', name: 'RegistryListApp',
components: { components: {
collapsibleContainer, collapsibleContainer,
GlLoadingIcon,
}, },
props: { props: {
endpoint: { endpoint: {
......
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Flash from '../../flash'; import Flash from '../../flash';
import clipboardButton from '../../vue_shared/components/clipboard_button.vue'; import clipboardButton from '../../vue_shared/components/clipboard_button.vue';
import tooltip from '../../vue_shared/directives/tooltip'; import tooltip from '../../vue_shared/directives/tooltip';
...@@ -12,6 +13,7 @@ export default { ...@@ -12,6 +13,7 @@ export default {
components: { components: {
clipboardButton, clipboardButton,
tableRegistry, tableRegistry,
GlLoadingIcon,
}, },
directives: { directives: {
tooltip, tooltip,
......
<script> <script>
import CiIcon from '~/vue_shared/components/ci_icon.vue'; import CiIcon from '~/vue_shared/components/ci_icon.vue';
import Popover from '~/vue_shared/components/help_popover.vue'; import Popover from '~/vue_shared/components/help_popover.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
/** /**
* Renders the summary row for each report * Renders the summary row for each report
...@@ -15,6 +16,7 @@ export default { ...@@ -15,6 +16,7 @@ export default {
components: { components: {
CiIcon, CiIcon,
Popover, Popover,
GlLoadingIcon,
}, },
props: { props: {
summary: { summary: {
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import { __, n__, sprintf } from '~/locale'; import { __, n__, sprintf } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
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 { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
directives: { directives: {
...@@ -9,6 +10,7 @@ export default { ...@@ -9,6 +10,7 @@ export default {
}, },
components: { components: {
userAvatarImage, userAvatarImage,
GlLoadingIcon,
}, },
props: { props: {
loading: { loading: {
......
<script> <script>
import { __ } from '~/locale'; import { __ } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
...@@ -13,6 +14,7 @@ export default { ...@@ -13,6 +14,7 @@ export default {
}, },
components: { components: {
Icon, Icon,
GlLoadingIcon,
}, },
props: { props: {
issuableId: { issuableId: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import ciIcon from '../../vue_shared/components/ci_icon.vue'; import ciIcon from '../../vue_shared/components/ci_icon.vue';
export default { export default {
components: { components: {
ciIcon, ciIcon,
GlLoadingIcon,
}, },
props: { props: {
status: { status: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
...@@ -6,6 +7,7 @@ export default { ...@@ -6,6 +7,7 @@ export default {
name: 'MRWidgetAutoMergeFailed', name: 'MRWidgetAutoMergeFailed',
components: { components: {
statusIcon, statusIcon,
GlLoadingIcon,
}, },
props: { props: {
mr: { mr: {
......
...@@ -6,6 +6,7 @@ import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; ...@@ -6,6 +6,7 @@ import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import MrWidgetAuthorTime from '../../components/mr_widget_author_time.vue'; import MrWidgetAuthorTime from '../../components/mr_widget_author_time.vue';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
name: 'MRWidgetMerged', name: 'MRWidgetMerged',
...@@ -16,6 +17,7 @@ export default { ...@@ -16,6 +17,7 @@ export default {
MrWidgetAuthorTime, MrWidgetAuthorTime,
statusIcon, statusIcon,
ClipboardButton, ClipboardButton,
GlLoadingIcon,
}, },
props: { props: {
mr: { mr: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import simplePoll from '../../../lib/utils/simple_poll'; import simplePoll from '../../../lib/utils/simple_poll';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
import statusIcon from '../mr_widget_status_icon.vue'; import statusIcon from '../mr_widget_status_icon.vue';
...@@ -8,6 +9,7 @@ export default { ...@@ -8,6 +9,7 @@ export default {
name: 'MRWidgetRebase', name: 'MRWidgetRebase',
components: { components: {
statusIcon, statusIcon,
GlLoadingIcon,
}, },
props: { props: {
mr: { mr: {
......
<script> <script>
import { __ } from '~/locale'; import { __ } from '~/locale';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
export default { export default {
components: {
GlLoadingIcon,
},
props: { props: {
isDisabled: { isDisabled: {
type: Boolean, type: Boolean,
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import getIconForFile from './file_icon/file_icon_map'; import getIconForFile from './file_icon/file_icon_map';
import icon from '../../vue_shared/components/icon.vue'; import icon from '../../vue_shared/components/icon.vue';
...@@ -17,6 +18,7 @@ import icon from '../../vue_shared/components/icon.vue'; ...@@ -17,6 +18,7 @@ import icon from '../../vue_shared/components/icon.vue';
export default { export default {
components: { components: {
icon, icon,
GlLoadingIcon,
}, },
props: { props: {
fileName: { fileName: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
/* eslint-disable vue/require-default-prop */ /* eslint-disable vue/require-default-prop */
/* This is a re-usable vue component for rendering a button /* This is a re-usable vue component for rendering a button
that will probably be sending off ajax requests and need that will probably be sending off ajax requests and need
...@@ -18,6 +19,9 @@ ...@@ -18,6 +19,9 @@
*/ */
export default { export default {
components: {
GlLoadingIcon,
},
props: { props: {
loading: { loading: {
type: Boolean, type: Boolean,
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import datePicker from '../pikaday.vue'; import datePicker from '../pikaday.vue';
import toggleSidebar from './toggle_sidebar.vue'; import toggleSidebar from './toggle_sidebar.vue';
import collapsedCalendarIcon from './collapsed_calendar_icon.vue'; import collapsedCalendarIcon from './collapsed_calendar_icon.vue';
...@@ -10,6 +11,7 @@ export default { ...@@ -10,6 +11,7 @@ export default {
datePicker, datePicker,
toggleSidebar, toggleSidebar,
collapsedCalendarIcon, collapsedCalendarIcon,
GlLoadingIcon,
}, },
props: { props: {
blockClass: { blockClass: {
......
...@@ -4,6 +4,7 @@ import { __ } from '~/locale'; ...@@ -4,6 +4,7 @@ import { __ } from '~/locale';
import LabelsSelect from '~/labels_select'; import LabelsSelect from '~/labels_select';
import DropdownHiddenInput from '~/vue_shared/components/dropdown/dropdown_hidden_input.vue'; import DropdownHiddenInput from '~/vue_shared/components/dropdown/dropdown_hidden_input.vue';
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import DropdownTitle from './dropdown_title.vue'; import DropdownTitle from './dropdown_title.vue';
import DropdownValue from './dropdown_value.vue'; import DropdownValue from './dropdown_value.vue';
import DropdownValueCollapsed from './dropdown_value_collapsed.vue'; import DropdownValueCollapsed from './dropdown_value_collapsed.vue';
...@@ -24,6 +25,7 @@ export default { ...@@ -24,6 +25,7 @@ export default {
DropdownSearchInput, DropdownSearchInput,
DropdownFooter, DropdownFooter,
DropdownCreateLabel, DropdownCreateLabel,
GlLoadingIcon,
}, },
props: { props: {
showCreate: { showCreate: {
......
<script> <script>
import { GlLoadingIcon } from '@gitlab-org/gitlab-ui';
import { s__ } from '../../locale'; import { s__ } from '../../locale';
import icon from './icon.vue'; import icon from './icon.vue';
...@@ -10,6 +11,7 @@ const LABEL_OFF = s__('ToggleButton|Toggle Status: OFF'); ...@@ -10,6 +11,7 @@ const LABEL_OFF = s__('ToggleButton|Toggle Status: OFF');
export default { export default {
components: { components: {
icon, icon,
GlLoadingIcon,
}, },
model: { model: {
......
---
title: Remove gitlab-ui's loading icon from global
merge_request:
author:
type: performance
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