refactor: ⬆️ use custom version of vue3-otp-input

This enables the use of number inputs without the slider
This commit is contained in:
ThatOneCalculator 2023-06-15 22:15:16 -07:00
parent 4d006813f4
commit 1ea1cdef95
3 changed files with 16 additions and 13 deletions

View file

@ -87,7 +87,7 @@
"vue-isyourpasswordsafe": "^2.0.0",
"vue-plyr": "^7.0.0",
"vue-prism-editor": "2.0.0-alpha.2",
"vue3-otp-input": "^0.4.1",
"vue3-otp-input": "github:thatonecalculator/vue3-otp-input",
"vuedraggable": "4.1.0"
}
}

View file

@ -101,7 +101,7 @@
</MkInput>
<vue3-otp-input
input-classes="_otp_input"
inputType="letter-numeric"
inputType="number"
separator=""
:num-inputs="6"
v-model="token"

View file

@ -907,8 +907,8 @@ importers:
specifier: 2.0.0-alpha.2
version: 2.0.0-alpha.2(vue@3.3.4)
vue3-otp-input:
specifier: ^0.4.1
version: 0.4.1(vue@3.3.4)
specifier: github:thatonecalculator/vue3-otp-input
version: github.com/thatonecalculator/vue3-otp-input/098b24b224661884983a5035ef3b245a519dff14(vue@3.3.4)
vuedraggable:
specifier: 4.1.0
version: 4.1.0(vue@3.3.4)
@ -15216,15 +15216,6 @@ packages:
vue: 3.3.4
dev: true
/vue3-otp-input@0.4.1(vue@3.3.4):
resolution: {integrity: sha512-wVl9i3DcWlO0C7fBI9V+RIP3crm/1tY72fuhvb3YM2JfbLoYofB96aPl5AgFhA0Cse5bQEMYtIvOeiqW3rfbAw==}
engines: {node: '>=16.0.0', npm: '>=8.0.0'}
peerDependencies:
vue: ^3.0.*
dependencies:
vue: 3.3.4
dev: true
/vue@2.7.14:
resolution: {integrity: sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==}
dependencies:
@ -15906,3 +15897,15 @@ packages:
rangetouch: 2.0.1
url-polyfill: 1.1.12
dev: true
github.com/thatonecalculator/vue3-otp-input/098b24b224661884983a5035ef3b245a519dff14(vue@3.3.4):
resolution: {tarball: https://codeload.github.com/thatonecalculator/vue3-otp-input/tar.gz/098b24b224661884983a5035ef3b245a519dff14}
id: github.com/thatonecalculator/vue3-otp-input/098b24b224661884983a5035ef3b245a519dff14
name: vue3-otp-input
version: 0.4.1
engines: {node: '>=16.0.0', npm: '>=8.0.0'}
peerDependencies:
vue: ^3.0.*
dependencies:
vue: 3.3.4
dev: true