sprintify-ui 0.0.185 → 0.0.186
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/sprintify-ui.es.js +211 -207
- package/package.json +1 -1
- package/src/components/BaseDataIterator.vue +10 -11
- package/src/lang/en.json +1 -1
- package/src/lang/fr.json +1 -1
package/package.json
CHANGED
|
@@ -99,23 +99,22 @@
|
|
|
99
99
|
<!-- Pagination -->
|
|
100
100
|
|
|
101
101
|
<div v-if="paginationMetadata" class="mt-4">
|
|
102
|
-
<p
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
paginationMetadata.per_page +
|
|
106
|
-
1
|
|
107
|
-
}}
|
|
108
|
-
-
|
|
109
|
-
{{
|
|
102
|
+
<p
|
|
103
|
+
class="text-center text-sm text-slate-500 sm:text-right [&>b]:font-medium [&>b]:text-slate-600"
|
|
104
|
+
v-html="
|
|
110
105
|
$t('sui.pagination_detail', {
|
|
111
|
-
|
|
106
|
+
start:
|
|
107
|
+
(paginationMetadata.current_page - 1) *
|
|
108
|
+
paginationMetadata.per_page +
|
|
109
|
+
1,
|
|
110
|
+
end: Math.min(
|
|
112
111
|
paginationMetadata.current_page * paginationMetadata.per_page,
|
|
113
112
|
paginationMetadata.total
|
|
114
113
|
),
|
|
115
114
|
total: paginationMetadata.total,
|
|
116
115
|
})
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
"
|
|
117
|
+
></p>
|
|
119
118
|
</div>
|
|
120
119
|
|
|
121
120
|
<div v-if="paginationMetadata" class="mt-4">
|
package/src/lang/en.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"of": "of",
|
|
47
47
|
"or": "or",
|
|
48
48
|
"page": "Page",
|
|
49
|
-
"pagination_detail": "{
|
|
49
|
+
"pagination_detail": "Viewing <b>{start} - {end}</b> of <b>{total}</b>",
|
|
50
50
|
"postal_code_zip_code": "Postal Code / Zip Code",
|
|
51
51
|
"previous": "Previous",
|
|
52
52
|
"previous_month": "Previous month",
|
package/src/lang/fr.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"of": "de",
|
|
47
47
|
"or": "ou",
|
|
48
48
|
"page": "Page",
|
|
49
|
-
"pagination_detail": "{
|
|
49
|
+
"pagination_detail": "Affichage de <b>{start}</b> - <b>{end}</b> de <b>{total}</b>",
|
|
50
50
|
"postal_code_zip_code": "Code postal",
|
|
51
51
|
"previous": "Précédent",
|
|
52
52
|
"previous_month": "Mois précédent",
|