@gitlab/ui 32.64.0 → 32.66.0
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/CHANGELOG.md +28 -0
- package/dist/components/base/paginated_list/paginated_list.documentation.js +2 -5
- package/dist/components/base/toast/toast.documentation.js +2 -5
- package/dist/components/utilities/intersection_observer/intersection_observer.documentation.js +1 -20
- package/dist/components/utilities/intersection_observer/intersection_observer.js +12 -0
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/documentation/documented_stories.js +3 -0
- package/package.json +1 -1
- package/src/components/base/paginated_list/paginated_list.documentation.js +0 -2
- package/src/components/base/paginated_list/paginated_list.md +0 -2
- package/src/components/base/paginated_list/paginated_list.stories.js +162 -154
- package/src/components/base/toast/toast.documentation.js +0 -2
- package/src/components/base/toast/toast.md +0 -11
- package/src/components/base/toast/toast.stories.js +66 -50
- package/src/components/utilities/intersection_observer/intersection_observer.documentation.js +0 -23
- package/src/components/utilities/intersection_observer/intersection_observer.stories.js +91 -80
- package/src/components/utilities/intersection_observer/intersection_observer.vue +15 -0
- package/src/scss/utilities.scss +30 -4
- package/src/scss/utility-mixins/flex.scss +1 -1
- package/src/scss/utility-mixins/opacity.scss +8 -0
- package/src/scss/utility-mixins/spacing.scss +7 -1
- package/dist/components/base/paginated_list/examples/index.js +0 -49
- package/dist/components/base/paginated_list/examples/paginated_list.basic.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.no_filter.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_empty_list.example.js +0 -38
- package/dist/components/base/paginated_list/examples/paginated_list.with_filter_function.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_header_slot.example.js +0 -51
- package/dist/components/base/paginated_list/examples/paginated_list.with_row_slot.example.js +0 -53
- package/dist/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.js +0 -51
- package/dist/components/base/toast/examples/index.js +0 -19
- package/dist/components/base/toast/examples/toast.action.example.js +0 -40
- package/dist/components/base/toast/examples/toast.default.example.js +0 -38
- package/dist/components/utilities/intersection_observer/examples/index.js +0 -19
- package/dist/components/utilities/intersection_observer/examples/intersection_observer.image.example.js +0 -62
- package/dist/components/utilities/intersection_observer/examples/intersection_observer.last_appeared.example.js +0 -83
- package/src/components/base/paginated_list/examples/index.js +0 -57
- package/src/components/base/paginated_list/examples/paginated_list.basic.example.vue +0 -19
- package/src/components/base/paginated_list/examples/paginated_list.no_filter.example.vue +0 -20
- package/src/components/base/paginated_list/examples/paginated_list.with_empty_list.example.vue +0 -3
- package/src/components/base/paginated_list/examples/paginated_list.with_filter_function.example.vue +0 -20
- package/src/components/base/paginated_list/examples/paginated_list.with_header_slot.example.vue +0 -23
- package/src/components/base/paginated_list/examples/paginated_list.with_row_slot.example.vue +0 -25
- package/src/components/base/paginated_list/examples/paginated_list.with_subheader_slot.example.vue +0 -23
- package/src/components/base/toast/examples/index.js +0 -22
- package/src/components/base/toast/examples/toast.action.example.vue +0 -11
- package/src/components/base/toast/examples/toast.default.example.vue +0 -3
- package/src/components/utilities/intersection_observer/examples/index.js +0 -23
- package/src/components/utilities/intersection_observer/examples/intersection_observer.image.example.vue +0 -29
- package/src/components/utilities/intersection_observer/examples/intersection_observer.last_appeared.example.vue +0 -43
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { documentedStoriesOf } from '../../../../documentation/documented_stories';
|
|
2
1
|
import { GlIntersectionObserver } from '../../../../index';
|
|
3
2
|
import readme from './intersection_observer.md';
|
|
4
3
|
|
|
@@ -31,17 +30,16 @@ const generateItems = (startingId = 0) => {
|
|
|
31
30
|
});
|
|
32
31
|
};
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return this.isInView ? 'The observer is in view' : 'The observer is not in view';
|
|
42
|
-
},
|
|
33
|
+
export const Default = () => ({
|
|
34
|
+
components,
|
|
35
|
+
data: commonData,
|
|
36
|
+
methods: commonMethods,
|
|
37
|
+
computed: {
|
|
38
|
+
visibility() {
|
|
39
|
+
return this.isInView ? 'The observer is in view' : 'The observer is not in view';
|
|
43
40
|
},
|
|
44
|
-
|
|
41
|
+
},
|
|
42
|
+
template: `
|
|
45
43
|
<div style="height: 200px; overflow-y: scroll;">
|
|
46
44
|
<h1>{{ visibility }}</h1>
|
|
47
45
|
<p>This one is a hard one to demonstrate as it's invisible by nature.</p>
|
|
@@ -55,26 +53,27 @@ documentedStoriesOf('utilities/intersection-observer', readme)
|
|
|
55
53
|
/>
|
|
56
54
|
<p>This line appears just after the observer.</p>
|
|
57
55
|
</div>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
56
|
+
`,
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export const BigTable = () => ({
|
|
60
|
+
components,
|
|
61
|
+
data() {
|
|
62
|
+
return {
|
|
63
|
+
values: Array(100)
|
|
64
|
+
.fill(1)
|
|
65
|
+
.map(() => Array(10).fill(0)),
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
methods: {
|
|
69
|
+
update(row, col, { intersectionRatio }) {
|
|
70
|
+
this.$set(this.values[row], col, intersectionRatio);
|
|
68
71
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
this.$set(this.values[row], col, intersectionRatio);
|
|
72
|
-
},
|
|
73
|
-
disappear(row, col) {
|
|
74
|
-
this.values[row][col] = 0;
|
|
75
|
-
},
|
|
72
|
+
disappear(row, col) {
|
|
73
|
+
this.values[row][col] = 0;
|
|
76
74
|
},
|
|
77
|
-
|
|
75
|
+
},
|
|
76
|
+
template: `
|
|
78
77
|
<div style="height: 600px; overflow-y: scroll;">
|
|
79
78
|
<table>
|
|
80
79
|
<tr v-for="(cols, row) in values" :key="row">
|
|
@@ -87,20 +86,21 @@ documentedStoriesOf('utilities/intersection-observer', readme)
|
|
|
87
86
|
</table>
|
|
88
87
|
</div>
|
|
89
88
|
`,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const LazyLoadedImage = () => ({
|
|
92
|
+
components,
|
|
93
|
+
data: commonData,
|
|
94
|
+
methods: commonMethods,
|
|
95
|
+
computed: {
|
|
96
|
+
imageUrl() {
|
|
97
|
+
// If the image is in view, return the high res one. If not return nothing, or a low res one
|
|
98
|
+
return this.isInView
|
|
99
|
+
? '../../img/gitlab-summit-south-africa.jpg'
|
|
100
|
+
: '../../img/gitlab-summit-south-africa-min.jpg';
|
|
102
101
|
},
|
|
103
|
-
|
|
102
|
+
},
|
|
103
|
+
template: `
|
|
104
104
|
<div>
|
|
105
105
|
<p>The image below will load a low-res version until it appears on the poage, then it will switch out for a higher res version.</p>
|
|
106
106
|
<p>It's also set up to switch back to the low res version when it disappears off the page. This is not what you would usually do for lazily loaded images, but it helps to demonstrate the effect in this example.</p>
|
|
@@ -111,42 +111,53 @@ documentedStoriesOf('utilities/intersection-observer', readme)
|
|
|
111
111
|
<img :src="imageUrl" style="max-width: 100%; height: auto;"/>
|
|
112
112
|
</gl-intersection-observer>
|
|
113
113
|
</div>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
114
|
+
`,
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
export const InfiniteScrolling = () => ({
|
|
118
|
+
components,
|
|
119
|
+
data: () => ({
|
|
120
|
+
items: generateItems(),
|
|
121
|
+
}),
|
|
122
|
+
computed: {
|
|
123
|
+
lastItemId() {
|
|
124
|
+
return this.items[this.items.length - 1].id;
|
|
125
|
+
},
|
|
126
|
+
endOfList() {
|
|
127
|
+
return this.lastItemId >= 1000;
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
methods: {
|
|
131
|
+
fetchMoreItems() {
|
|
132
|
+
if (!this.endOfList) {
|
|
133
|
+
this.items.push(...generateItems(this.lastItemId));
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
template: `
|
|
138
|
+
<div>
|
|
139
|
+
<h2>Infinitely scrollable list</h2>
|
|
140
|
+
<p>This data will procedurally generate 1000 items, 20 at a time</p>
|
|
141
|
+
<ul>
|
|
142
|
+
<li v-for="item in items" :key="item.id">{{ item.title }}</li>
|
|
143
|
+
</ul>
|
|
144
|
+
<gl-intersection-observer v-if="!endOfList" @appear="fetchMoreItems">
|
|
145
|
+
<button @click="fetchMoreItems">Fetch more items</button>
|
|
146
|
+
</gl-intersection-observer>
|
|
147
|
+
</div>
|
|
148
|
+
`,
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
export default {
|
|
152
|
+
title: 'utilities/intersection-observer',
|
|
153
|
+
component: GlIntersectionObserver,
|
|
154
|
+
parameters: {
|
|
155
|
+
knobs: { disable: true },
|
|
156
|
+
storyshots: { disable: true },
|
|
157
|
+
docs: {
|
|
158
|
+
description: {
|
|
159
|
+
component: readme,
|
|
137
160
|
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
<p>This data will procedurally generate 1000 items, 20 at a time</p>
|
|
142
|
-
<ul>
|
|
143
|
-
<li v-for="item in items" :key="item.id">{{ item.title }}</li>
|
|
144
|
-
</ul>
|
|
145
|
-
<gl-intersection-observer v-if="!endOfList" @appear="fetchMoreItems">
|
|
146
|
-
<button @click="fetchMoreItems">Fetch more items</button>
|
|
147
|
-
</gl-intersection-observer>
|
|
148
|
-
</div>
|
|
149
|
-
`,
|
|
150
|
-
}),
|
|
151
|
-
{ storyshots: false }
|
|
152
|
-
);
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
};
|
|
@@ -13,6 +13,9 @@ const getObserver = memoize(
|
|
|
13
13
|
export default {
|
|
14
14
|
name: 'GlIntersectionObserver',
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* Extra options to pass directly to the intersection observer API.
|
|
18
|
+
*/
|
|
16
19
|
options: {
|
|
17
20
|
type: Object,
|
|
18
21
|
required: false,
|
|
@@ -23,11 +26,20 @@ export default {
|
|
|
23
26
|
const observer = getObserver(this.options);
|
|
24
27
|
|
|
25
28
|
this.$el.$_gl_intersectionHandler = (entry) => {
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the element's visibility changes
|
|
31
|
+
*/
|
|
26
32
|
this.$emit('update', entry);
|
|
27
33
|
|
|
28
34
|
if (entry.isIntersecting) {
|
|
35
|
+
/**
|
|
36
|
+
* Emitted when the element appears on the page
|
|
37
|
+
*/
|
|
29
38
|
this.$emit('appear');
|
|
30
39
|
} else {
|
|
40
|
+
/**
|
|
41
|
+
* Emitted when the element disappears from the page
|
|
42
|
+
*/
|
|
31
43
|
this.$emit('disappear');
|
|
32
44
|
}
|
|
33
45
|
};
|
|
@@ -47,6 +59,9 @@ export default {
|
|
|
47
59
|
|
|
48
60
|
<template>
|
|
49
61
|
<div>
|
|
62
|
+
<!--
|
|
63
|
+
@slot The element you wish to observe, or a fallback if the observer doesn't work.
|
|
64
|
+
-->
|
|
50
65
|
<slot></slot>
|
|
51
66
|
</div>
|
|
52
67
|
</template>
|
package/src/scss/utilities.scss
CHANGED
|
@@ -3145,13 +3145,13 @@
|
|
|
3145
3145
|
}
|
|
3146
3146
|
|
|
3147
3147
|
.gl-sm-justify-content-end {
|
|
3148
|
-
@include gl-media-breakpoint-up(
|
|
3148
|
+
@include gl-media-breakpoint-up(sm) {
|
|
3149
3149
|
justify-content: flex-end;
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
3152
|
|
|
3153
3153
|
.gl-sm-justify-content-end\! {
|
|
3154
|
-
@include gl-media-breakpoint-up(
|
|
3154
|
+
@include gl-media-breakpoint-up(sm) {
|
|
3155
3155
|
justify-content: flex-end !important;
|
|
3156
3156
|
}
|
|
3157
3157
|
}
|
|
@@ -3356,6 +3356,22 @@
|
|
|
3356
3356
|
opacity: 0.5 !important
|
|
3357
3357
|
}
|
|
3358
3358
|
|
|
3359
|
+
.gl-opacity-6 {
|
|
3360
|
+
opacity: 0.6
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
.gl-opacity-6\! {
|
|
3364
|
+
opacity: 0.6 !important
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
.gl-opacity-7 {
|
|
3368
|
+
opacity: 0.7
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
.gl-opacity-7\! {
|
|
3372
|
+
opacity: 0.7 !important
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3359
3375
|
.gl-opacity-10 {
|
|
3360
3376
|
opacity: 1
|
|
3361
3377
|
}
|
|
@@ -5591,15 +5607,25 @@
|
|
|
5591
5607
|
margin-right: -#{$gl-spacing-scale-6} !important;
|
|
5592
5608
|
}
|
|
5593
5609
|
.gl-gap-x-3 {
|
|
5594
|
-
* + * {
|
|
5610
|
+
> * + * {
|
|
5595
5611
|
margin-left: #{$gl-spacing-scale-3};
|
|
5596
5612
|
}
|
|
5597
5613
|
}
|
|
5598
5614
|
.gl-gap-x-3\! {
|
|
5599
|
-
* + * {
|
|
5615
|
+
> * + * {
|
|
5600
5616
|
margin-left: #{$gl-spacing-scale-3} !important;
|
|
5601
5617
|
}
|
|
5602
5618
|
}
|
|
5619
|
+
.gl-gap-x-5 {
|
|
5620
|
+
> * + * {
|
|
5621
|
+
margin-left: #{$gl-spacing-scale-5};
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
.gl-gap-x-5\! {
|
|
5625
|
+
> * + * {
|
|
5626
|
+
margin-left: #{$gl-spacing-scale-5} !important;
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5603
5629
|
.gl-xs-mb-3 {
|
|
5604
5630
|
@include gl-media-breakpoint-down(sm) {
|
|
5605
5631
|
margin-bottom: $gl-spacing-scale-3;
|
|
@@ -750,11 +750,17 @@
|
|
|
750
750
|
*/
|
|
751
751
|
|
|
752
752
|
@mixin gl-gap-x-3 {
|
|
753
|
-
* + * {
|
|
753
|
+
> * + * {
|
|
754
754
|
margin-left: #{$gl-spacing-scale-3};
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
+
@mixin gl-gap-x-5 {
|
|
759
|
+
> * + * {
|
|
760
|
+
margin-left: #{$gl-spacing-scale-5};
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
758
764
|
/**
|
|
759
765
|
* Responsive margin utilities.
|
|
760
766
|
*
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import PaginatedListBasicExample from './paginated_list.basic.example';
|
|
2
|
-
import PaginatedListNoFilterExample from './paginated_list.no_filter.example';
|
|
3
|
-
import PaginatedListWithEmptyListExample from './paginated_list.with_empty_list.example';
|
|
4
|
-
import PaginatedListWithFilterFunctionExample from './paginated_list.with_filter_function.example';
|
|
5
|
-
import PaginatedListWithHeaderSlotExample from './paginated_list.with_header_slot.example';
|
|
6
|
-
import PaginatedListWithRowSlotExample from './paginated_list.with_row_slot.example';
|
|
7
|
-
import PaginatedListWithSubheaderSlotExample from './paginated_list.with_subheader_slot.example';
|
|
8
|
-
|
|
9
|
-
var index = [{
|
|
10
|
-
name: 'Basic',
|
|
11
|
-
items: [{
|
|
12
|
-
id: 'paginated-list-basic',
|
|
13
|
-
name: 'Basic',
|
|
14
|
-
description: 'Basic Paginated List',
|
|
15
|
-
component: PaginatedListBasicExample
|
|
16
|
-
}, {
|
|
17
|
-
id: 'paginated-list-no-filter',
|
|
18
|
-
name: 'No Filter',
|
|
19
|
-
description: 'Paginated List with no button',
|
|
20
|
-
component: PaginatedListNoFilterExample
|
|
21
|
-
}, {
|
|
22
|
-
id: 'paginated-list-with-empty-list',
|
|
23
|
-
name: 'With empty list',
|
|
24
|
-
description: 'Paginated List empty list',
|
|
25
|
-
component: PaginatedListWithEmptyListExample
|
|
26
|
-
}, {
|
|
27
|
-
id: 'paginated-list-with-header-slot',
|
|
28
|
-
name: 'With header slot',
|
|
29
|
-
description: 'Paginated List header slot',
|
|
30
|
-
component: PaginatedListWithHeaderSlotExample
|
|
31
|
-
}, {
|
|
32
|
-
id: 'paginated-list-with-subheader-slot',
|
|
33
|
-
name: 'With subheader slot',
|
|
34
|
-
description: 'Paginated List subheader slot',
|
|
35
|
-
component: PaginatedListWithSubheaderSlotExample
|
|
36
|
-
}, {
|
|
37
|
-
id: 'paginated-list-with-row-slot',
|
|
38
|
-
name: 'With row slot',
|
|
39
|
-
description: 'Paginated List with row slot',
|
|
40
|
-
component: PaginatedListWithRowSlotExample
|
|
41
|
-
}, {
|
|
42
|
-
id: 'paginated-list-with-filter-function',
|
|
43
|
-
name: 'With filter function',
|
|
44
|
-
description: 'Paginated List with filter function',
|
|
45
|
-
component: PaginatedListWithFilterFunctionExample
|
|
46
|
-
}]
|
|
47
|
-
}];
|
|
48
|
-
|
|
49
|
-
export default index;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
2
|
-
|
|
3
|
-
/* script */
|
|
4
|
-
|
|
5
|
-
/* template */
|
|
6
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-paginated-list',{attrs:{"list":[
|
|
7
|
-
{ id: 'foo' },
|
|
8
|
-
{ id: 'bar' },
|
|
9
|
-
{ id: 'baz' },
|
|
10
|
-
{ id: 'qux' },
|
|
11
|
-
{ id: 'quux' },
|
|
12
|
-
{ id: 'corge' },
|
|
13
|
-
{ id: 'grault' },
|
|
14
|
-
{ id: 'garply' },
|
|
15
|
-
{ id: 'waldo' },
|
|
16
|
-
{ id: 'fred' },
|
|
17
|
-
{ id: 'xyzzy' },
|
|
18
|
-
{ id: 'plugh' },
|
|
19
|
-
{ id: 'thud' } ]}})};
|
|
20
|
-
var __vue_staticRenderFns__ = [];
|
|
21
|
-
|
|
22
|
-
/* style */
|
|
23
|
-
const __vue_inject_styles__ = undefined;
|
|
24
|
-
/* scoped */
|
|
25
|
-
const __vue_scope_id__ = undefined;
|
|
26
|
-
/* module identifier */
|
|
27
|
-
const __vue_module_identifier__ = undefined;
|
|
28
|
-
/* functional template */
|
|
29
|
-
const __vue_is_functional_template__ = false;
|
|
30
|
-
/* style inject */
|
|
31
|
-
|
|
32
|
-
/* style inject SSR */
|
|
33
|
-
|
|
34
|
-
/* style inject shadow dom */
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const __vue_component__ = __vue_normalize__(
|
|
39
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
40
|
-
__vue_inject_styles__,
|
|
41
|
-
{},
|
|
42
|
-
__vue_scope_id__,
|
|
43
|
-
__vue_is_functional_template__,
|
|
44
|
-
__vue_module_identifier__,
|
|
45
|
-
false,
|
|
46
|
-
undefined,
|
|
47
|
-
undefined,
|
|
48
|
-
undefined
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
export default __vue_component__;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
2
|
-
|
|
3
|
-
/* script */
|
|
4
|
-
|
|
5
|
-
/* template */
|
|
6
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-paginated-list',{attrs:{"list":[
|
|
7
|
-
{ id: 'foo' },
|
|
8
|
-
{ id: 'bar' },
|
|
9
|
-
{ id: 'baz' },
|
|
10
|
-
{ id: 'qux' },
|
|
11
|
-
{ id: 'quux' },
|
|
12
|
-
{ id: 'corge' },
|
|
13
|
-
{ id: 'grault' },
|
|
14
|
-
{ id: 'garply' },
|
|
15
|
-
{ id: 'waldo' },
|
|
16
|
-
{ id: 'fred' },
|
|
17
|
-
{ id: 'xyzzy' },
|
|
18
|
-
{ id: 'plugh' },
|
|
19
|
-
{ id: 'thud' } ],"filterable":false}})};
|
|
20
|
-
var __vue_staticRenderFns__ = [];
|
|
21
|
-
|
|
22
|
-
/* style */
|
|
23
|
-
const __vue_inject_styles__ = undefined;
|
|
24
|
-
/* scoped */
|
|
25
|
-
const __vue_scope_id__ = undefined;
|
|
26
|
-
/* module identifier */
|
|
27
|
-
const __vue_module_identifier__ = undefined;
|
|
28
|
-
/* functional template */
|
|
29
|
-
const __vue_is_functional_template__ = false;
|
|
30
|
-
/* style inject */
|
|
31
|
-
|
|
32
|
-
/* style inject SSR */
|
|
33
|
-
|
|
34
|
-
/* style inject shadow dom */
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const __vue_component__ = __vue_normalize__(
|
|
39
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
40
|
-
__vue_inject_styles__,
|
|
41
|
-
{},
|
|
42
|
-
__vue_scope_id__,
|
|
43
|
-
__vue_is_functional_template__,
|
|
44
|
-
__vue_module_identifier__,
|
|
45
|
-
false,
|
|
46
|
-
undefined,
|
|
47
|
-
undefined,
|
|
48
|
-
undefined
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
export default __vue_component__;
|
package/dist/components/base/paginated_list/examples/paginated_list.with_empty_list.example.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
2
|
-
|
|
3
|
-
/* script */
|
|
4
|
-
|
|
5
|
-
/* template */
|
|
6
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-paginated-list',{attrs:{"list":[]}})};
|
|
7
|
-
var __vue_staticRenderFns__ = [];
|
|
8
|
-
|
|
9
|
-
/* style */
|
|
10
|
-
const __vue_inject_styles__ = undefined;
|
|
11
|
-
/* scoped */
|
|
12
|
-
const __vue_scope_id__ = undefined;
|
|
13
|
-
/* module identifier */
|
|
14
|
-
const __vue_module_identifier__ = undefined;
|
|
15
|
-
/* functional template */
|
|
16
|
-
const __vue_is_functional_template__ = false;
|
|
17
|
-
/* style inject */
|
|
18
|
-
|
|
19
|
-
/* style inject SSR */
|
|
20
|
-
|
|
21
|
-
/* style inject shadow dom */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const __vue_component__ = __vue_normalize__(
|
|
26
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
27
|
-
__vue_inject_styles__,
|
|
28
|
-
{},
|
|
29
|
-
__vue_scope_id__,
|
|
30
|
-
__vue_is_functional_template__,
|
|
31
|
-
__vue_module_identifier__,
|
|
32
|
-
false,
|
|
33
|
-
undefined,
|
|
34
|
-
undefined,
|
|
35
|
-
undefined
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
export default __vue_component__;
|
package/dist/components/base/paginated_list/examples/paginated_list.with_filter_function.example.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
2
|
-
|
|
3
|
-
/* script */
|
|
4
|
-
|
|
5
|
-
/* template */
|
|
6
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-paginated-list',{attrs:{"list":[
|
|
7
|
-
{ id: 'foo' },
|
|
8
|
-
{ id: 'bar' },
|
|
9
|
-
{ id: 'baz' },
|
|
10
|
-
{ id: 'qux' },
|
|
11
|
-
{ id: 'quux' },
|
|
12
|
-
{ id: 'corge' },
|
|
13
|
-
{ id: 'grault' },
|
|
14
|
-
{ id: 'garply' },
|
|
15
|
-
{ id: 'waldo' },
|
|
16
|
-
{ id: 'fred' },
|
|
17
|
-
{ id: 'xyzzy' },
|
|
18
|
-
{ id: 'plugh' },
|
|
19
|
-
{ id: 'thud' } ],"filter":function (item, queryStr) { return item.id.includes(queryStr); }}})};
|
|
20
|
-
var __vue_staticRenderFns__ = [];
|
|
21
|
-
|
|
22
|
-
/* style */
|
|
23
|
-
const __vue_inject_styles__ = undefined;
|
|
24
|
-
/* scoped */
|
|
25
|
-
const __vue_scope_id__ = undefined;
|
|
26
|
-
/* module identifier */
|
|
27
|
-
const __vue_module_identifier__ = undefined;
|
|
28
|
-
/* functional template */
|
|
29
|
-
const __vue_is_functional_template__ = false;
|
|
30
|
-
/* style inject */
|
|
31
|
-
|
|
32
|
-
/* style inject SSR */
|
|
33
|
-
|
|
34
|
-
/* style inject shadow dom */
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const __vue_component__ = __vue_normalize__(
|
|
39
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
40
|
-
__vue_inject_styles__,
|
|
41
|
-
{},
|
|
42
|
-
__vue_scope_id__,
|
|
43
|
-
__vue_is_functional_template__,
|
|
44
|
-
__vue_module_identifier__,
|
|
45
|
-
false,
|
|
46
|
-
undefined,
|
|
47
|
-
undefined,
|
|
48
|
-
undefined
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
export default __vue_component__;
|
package/dist/components/base/paginated_list/examples/paginated_list.with_header_slot.example.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
2
|
-
|
|
3
|
-
/* script */
|
|
4
|
-
|
|
5
|
-
/* template */
|
|
6
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-paginated-list',{attrs:{"list":[
|
|
7
|
-
{ id: 'foo' },
|
|
8
|
-
{ id: 'bar' },
|
|
9
|
-
{ id: 'baz' },
|
|
10
|
-
{ id: 'qux' },
|
|
11
|
-
{ id: 'quux' },
|
|
12
|
-
{ id: 'corge' },
|
|
13
|
-
{ id: 'grault' },
|
|
14
|
-
{ id: 'garply' },
|
|
15
|
-
{ id: 'waldo' },
|
|
16
|
-
{ id: 'fred' },
|
|
17
|
-
{ id: 'xyzzy' },
|
|
18
|
-
{ id: 'plugh' },
|
|
19
|
-
{ id: 'thud' } ]},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('gl-button',{staticClass:"order-1",attrs:{"variant":"success"}},[_vm._v("Foo Button")])]},proxy:true}])})};
|
|
20
|
-
var __vue_staticRenderFns__ = [];
|
|
21
|
-
|
|
22
|
-
/* style */
|
|
23
|
-
const __vue_inject_styles__ = undefined;
|
|
24
|
-
/* scoped */
|
|
25
|
-
const __vue_scope_id__ = undefined;
|
|
26
|
-
/* module identifier */
|
|
27
|
-
const __vue_module_identifier__ = undefined;
|
|
28
|
-
/* functional template */
|
|
29
|
-
const __vue_is_functional_template__ = false;
|
|
30
|
-
/* style inject */
|
|
31
|
-
|
|
32
|
-
/* style inject SSR */
|
|
33
|
-
|
|
34
|
-
/* style inject shadow dom */
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const __vue_component__ = __vue_normalize__(
|
|
39
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
40
|
-
__vue_inject_styles__,
|
|
41
|
-
{},
|
|
42
|
-
__vue_scope_id__,
|
|
43
|
-
__vue_is_functional_template__,
|
|
44
|
-
__vue_module_identifier__,
|
|
45
|
-
false,
|
|
46
|
-
undefined,
|
|
47
|
-
undefined,
|
|
48
|
-
undefined
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
export default __vue_component__;
|