@gitlab/ui 129.1.1 → 129.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { BTable } from '../../../vendor/bootstrap-vue/src/components/table/table';
|
|
3
3
|
import { logWarning, isDev } from '../../../utils/utils';
|
|
4
|
+
import GlLoadingIcon from '../loading_icon/loading_icon.vue';
|
|
4
5
|
import { tableFullSlots, tableFullProps, glTableLiteWarning } from './constants';
|
|
5
6
|
|
|
6
7
|
const shouldUseFullTable = ({ $attrs, $scopedSlots }) => {
|
|
@@ -16,6 +17,7 @@ export default {
|
|
|
16
17
|
name: 'GlTable',
|
|
17
18
|
components: {
|
|
18
19
|
BTable,
|
|
20
|
+
GlLoadingIcon,
|
|
19
21
|
},
|
|
20
22
|
inheritAttrs: false,
|
|
21
23
|
props: {
|
|
@@ -163,6 +165,11 @@ export default {
|
|
|
163
165
|
</template>
|
|
164
166
|
</div>
|
|
165
167
|
</template>
|
|
168
|
+
<template #table-busy>
|
|
169
|
+
<slot name="table-busy">
|
|
170
|
+
<gl-loading-icon size="lg" />
|
|
171
|
+
</slot>
|
|
172
|
+
</template>
|
|
166
173
|
<template #empty="scope">
|
|
167
174
|
<slot name="empty" v-bind="scope">
|
|
168
175
|
<p class="gl-mb-0 gl-py-2 gl-text-subtle">{{ scope.emptyText }}</p>
|