@fy-/fws-vue 2.3.56 → 2.3.58
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/components/ui/DefaultPaging.vue +4 -4
- package/package.json +1 -1
- package/style.css +13 -0
|
@@ -116,7 +116,7 @@ function toggleJumpInput() {
|
|
|
116
116
|
else {
|
|
117
117
|
// Focus the input after Vue updates the DOM
|
|
118
118
|
nextTick(() => {
|
|
119
|
-
const input = document.querySelector('input
|
|
119
|
+
const input = document.querySelector('.pagination-jump-input') as HTMLInputElement
|
|
120
120
|
if (input) {
|
|
121
121
|
input.focus()
|
|
122
122
|
}
|
|
@@ -286,7 +286,7 @@ onMounted(() => {
|
|
|
286
286
|
type="number"
|
|
287
287
|
:min="1"
|
|
288
288
|
:max="items.page_max"
|
|
289
|
-
:class="
|
|
289
|
+
:class="`pagination-jump-input ${inputWidthClass}`"
|
|
290
290
|
placeholder=""
|
|
291
291
|
@keydown="handleJumpInputKeydown"
|
|
292
292
|
@blur="showJumpInput = false; jumpPageValue = ''"
|
|
@@ -340,7 +340,7 @@ onMounted(() => {
|
|
|
340
340
|
type="number"
|
|
341
341
|
:min="1"
|
|
342
342
|
:max="items.page_max"
|
|
343
|
-
:class="
|
|
343
|
+
:class="`pagination-jump-input ${inputWidthClass}`"
|
|
344
344
|
placeholder=""
|
|
345
345
|
@keydown="handleJumpInputKeydown"
|
|
346
346
|
@blur="showJumpInput = false; jumpPageValue = ''"
|
|
@@ -370,7 +370,7 @@ onMounted(() => {
|
|
|
370
370
|
type="number"
|
|
371
371
|
:min="1"
|
|
372
372
|
:max="items.page_max"
|
|
373
|
-
:class="
|
|
373
|
+
:class="`pagination-jump-input ${inputWidthClass}`"
|
|
374
374
|
placeholder=""
|
|
375
375
|
@keydown="handleJumpInputKeydown"
|
|
376
376
|
@blur="showJumpInput = false; jumpPageValue = ''"
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -60,4 +60,17 @@
|
|
|
60
60
|
&.small {
|
|
61
61
|
@apply px-2 py-1 text-xs;
|
|
62
62
|
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.pagination-jump-input {
|
|
66
|
+
@apply h-7 md:h-8 text-[10px] md:text-xs font-normal text-center text-fv-neutral-700 bg-white/80 border border-fv-neutral-300 rounded-md shadow-sm focus:ring-2 focus:ring-primary-400/40 focus:border-primary-400 outline-none dark:bg-fv-neutral-800 dark:text-fv-neutral-300 dark:border-fv-neutral-600 dark:focus:ring-primary-500/40 dark:focus:border-primary-500 transition-all;
|
|
67
|
+
appearance: textfield !important;
|
|
68
|
+
-webkit-appearance: textfield !important;
|
|
69
|
+
-moz-appearance: textfield !important;
|
|
70
|
+
padding: 0 !important;
|
|
71
|
+
}
|
|
72
|
+
.pagination-jump-input::-webkit-outer-spin-button,
|
|
73
|
+
.pagination-jump-input::-webkit-inner-spin-button {
|
|
74
|
+
-webkit-appearance: none !important;
|
|
75
|
+
margin: 0 !important;
|
|
63
76
|
}
|