@optionfactory/ful 1.1.1 → 1.1.3
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/dist/ful.css +1 -1
- package/dist/ful.css.map +1 -1
- package/dist/ful.iife.js +6 -5
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +6 -5
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.mjs
CHANGED
|
@@ -2136,9 +2136,10 @@ class Pagination extends ParsedElement {
|
|
|
2136
2136
|
<ul class="pagination">
|
|
2137
2137
|
<li class="page-item ms-auto me-2" data-tpl-if="paginationLabel"> Showing page {{ curr.label }} of {{ total }}</li>
|
|
2138
2138
|
<li class="page-item ms-auto me-2" data-tpl-if="!paginationLabel"></li>
|
|
2139
|
-
<li class="page-item">
|
|
2139
|
+
<li class="page-item reload me-2"><a role="button"><i class="bi bi-arrow-clockwise"></i></a></li>
|
|
2140
|
+
<li class="page-item prev">
|
|
2140
2141
|
<a data-tpl-class="prev.enabled?'page-link':'page-link disabled'" aria-label="Previous" role="button" data-tpl-data-page="prev.index">
|
|
2141
|
-
<
|
|
2142
|
+
<i aria-hidden="true" class="bi bi-chevron-left"></i>
|
|
2142
2143
|
</a>
|
|
2143
2144
|
</li>
|
|
2144
2145
|
<li class="page-item" data-tpl-each="pages" data-tpl-var="page">
|
|
@@ -2146,9 +2147,9 @@ class Pagination extends ParsedElement {
|
|
|
2146
2147
|
{{ page.label }}
|
|
2147
2148
|
</a>
|
|
2148
2149
|
</li>
|
|
2149
|
-
<li class="page-item">
|
|
2150
|
+
<li class="page-item next">
|
|
2150
2151
|
<a data-tpl-class="next.enabled?'page-link':'page-link disabled'" aria-label="Next" role="button" data-tpl-data-page="next.index">
|
|
2151
|
-
<
|
|
2152
|
+
<i aria-hidden="true" class="bi bi-chevron-right"></i>
|
|
2152
2153
|
</a>
|
|
2153
2154
|
</li>
|
|
2154
2155
|
</ul>
|
|
@@ -2169,7 +2170,7 @@ class Pagination extends ParsedElement {
|
|
|
2169
2170
|
bubbles: true,
|
|
2170
2171
|
cancelable: true,
|
|
2171
2172
|
detail: {
|
|
2172
|
-
value: Number(el.dataset.page)
|
|
2173
|
+
value: Number(el.dataset.page ?? this.#current)
|
|
2173
2174
|
}
|
|
2174
2175
|
}));
|
|
2175
2176
|
|