package.json
9.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
{
"name": "@bootstrap-vue/pagination",
"version": "1.0.0",
"meta": {
"title": "Pagination",
"description": "Quick first, previous, next, last, and page buttons for pagination control of another component (such as <b-table> or lists).",
"components": [
{
"component": "BPagination",
"props": [
{
"prop": "align",
"description": "Alignment of the page buttons: 'start' (or 'left'), 'center', 'end' (or 'right'), or 'fill'"
},
{
"prop": "ariaLabel",
"description": "Value to place in the 'aria-label' attribute of the pagination control"
},
{
"prop": "ellipsisClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'ellipsis' placeholders"
},
{
"prop": "ellipsisText",
"description": "Content to place in the ellipsis placeholder"
},
{
"prop": "firstClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'Go to first page' button"
},
{
"prop": "firstNumber",
"version": "2.3.0",
"description": "Display first page number instead of Goto First button"
},
{
"prop": "firstText",
"description": "Content to place in the goto first page button"
},
{
"prop": "hideEllipsis",
"description": "Do not show ellipsis buttons"
},
{
"prop": "hideGotoEndButtons",
"description": "Hides the goto first and goto last page buttons"
},
{
"prop": "labelFirstPage",
"description": "Value to place in the 'aria-label' attribute of the goto first page button"
},
{
"prop": "labelLastPage",
"description": "Value to place in the 'aria-label' attribute of the goto last page button"
},
{
"prop": "labelNextPage",
"description": "Value to place in the 'aria-label' attribute of the goto next page button"
},
{
"prop": "labelPage",
"description": "Value to place in the 'aria-label' attribute of the goto page button. Page number will be prepended automatically"
},
{
"prop": "labelPrevPage",
"description": "Value to place in the 'aria-label' attribute of the goto previous page button"
},
{
"prop": "lastClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'Go to last page' button"
},
{
"prop": "lastNumber",
"version": "2.3.0",
"description": "Display last page number instead of Goto Last button"
},
{
"prop": "lastText",
"description": "Content to place in the goto last page button"
},
{
"prop": "limit",
"description": "Maximum number of buttons to show (including ellipsis if shown, but excluding the bookend buttons)"
},
{
"prop": "nextClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'Go to next page' button"
},
{
"prop": "nextText",
"description": "Content to place in the goto next page button"
},
{
"prop": "pageClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'Go to page #' buttons"
},
{
"prop": "perPage",
"description": "Number of rows per page"
},
{
"prop": "pills",
"version": "2.1.0",
"description": "Applies pill styling to the pagination buttons"
},
{
"prop": "prevClass",
"version": "2.3.0",
"description": "Class(es) to apply to the 'Go to previous page' button"
},
{
"prop": "prevText",
"description": "Content to place in the goto previous page button"
},
{
"prop": "size",
"description": "Size of the rendered buttons: 'sm', 'md' (default), or 'lg'"
},
{
"prop": "totalRows",
"description": "Total number of rows in the dataset"
},
{
"prop": "value",
"description": "Current page number, starting from 1"
}
],
"events": [
{
"event": "change",
"description": "Emitted when page changes via user interaction",
"args": [
{
"arg": "page",
"description": "Selected page number (starting with `1`)"
}
]
},
{
"event": "input",
"description": "Emitted when page changes via user interaction or programmatically",
"args": [
{
"arg": "page",
"description": "Selected page number (starting with `1`), or `null` if no page found"
}
]
},
{
"event": "page-click",
"description": "Emitted when a page button was clicked. Cancelable",
"version": "2.17.0",
"args": [
{
"arg": "bvEvent",
"type": "BvEvent",
"description": "The `BvEvent` object. Call `bvEvent.preventDefault()` to cancel page selection"
},
{
"arg": "page",
"description": "Page number to select (starting with `1`)"
}
]
}
],
"slots": [
{
"name": "ellipsis-text",
"description": "The '...' indicator content. Overrides the `ellipsis-text` prop"
},
{
"name": "first-text",
"description": "The 'Go to first page' button content",
"scope": [
{
"prop": "disabled",
"type": "Boolean",
"description": "Will be `true` if this button is disabled (non-clickable)"
},
{
"prop": "index",
"type": "Number",
"description": "Page number (indexed from `0` to `numberOfPages - 1`)"
},
{
"prop": "page",
"type": "Number",
"description": "Page number (from `1` to `numberOfPages`)"
}
]
},
{
"name": "last-text",
"description": "The 'Go to last page' button content",
"scope": [
{
"prop": "disabled",
"type": "Boolean",
"description": "Will be `true` if this button is disabled (non-clickable)"
},
{
"prop": "index",
"type": "Number",
"description": "Page number (indexed from `0` to `numberOfPages - 1`)"
},
{
"prop": "page",
"type": "Number",
"description": "Page number (from `1` to `numberOfPages`)"
}
]
},
{
"name": "next-text",
"description": "The 'Go to next page' button content",
"scope": [
{
"prop": "disabled",
"type": "Boolean",
"description": "Will be `true` if this button is disabled (non-clickable)"
},
{
"prop": "index",
"type": "Number",
"description": "Page number (indexed from `0` to `numberOfPages - 1`)"
},
{
"prop": "page",
"type": "Number",
"description": "Page number (from `1` to `numberOfPages`)"
}
]
},
{
"name": "page",
"description": "Page number button content",
"scope": [
{
"prop": "active",
"type": "Boolean",
"description": "If the page is the active page"
},
{
"prop": "content",
"type": "String",
"description": "Default button content"
},
{
"prop": "disabled",
"type": "Boolean",
"description": "Will be `true` if this button is disabled (non-clickable)"
},
{
"prop": "index",
"type": "Number",
"description": "Page number (indexed from `0` to `numberOfPages - 1`)"
},
{
"prop": "page",
"type": "Number",
"description": "Page number (from `1` to `numberOfPages`)"
}
]
},
{
"name": "prev-text",
"description": "The 'Go to previous page' button content",
"scope": [
{
"prop": "disabled",
"type": "Boolean",
"description": "Will be `true` if this button is disabled (non-clickable)"
},
{
"prop": "index",
"type": "Number",
"description": "Page number (indexed from `0` to `numberOfPages - 1`)"
},
{
"prop": "page",
"type": "Number",
"description": "Page number (from `1` to `numberOfPages`)"
}
]
}
]
}
]
}
}