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 b148338b78
commit f50f8830a8
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
3 changed files with 16 additions and 13 deletions

View File

@ -87,7 +87,7 @@
"vue-isyourpasswordsafe": "^2.0.0", "vue-isyourpasswordsafe": "^2.0.0",
"vue-plyr": "^7.0.0", "vue-plyr": "^7.0.0",
"vue-prism-editor": "2.0.0-alpha.2", "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" "vuedraggable": "4.1.0"
} }
} }

View File

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

View File

@ -907,8 +907,8 @@ importers:
specifier: 2.0.0-alpha.2 specifier: 2.0.0-alpha.2
version: 2.0.0-alpha.2(vue@3.3.4) version: 2.0.0-alpha.2(vue@3.3.4)
vue3-otp-input: vue3-otp-input:
specifier: ^0.4.1 specifier: github:thatonecalculator/vue3-otp-input
version: 0.4.1(vue@3.3.4) version: github.com/thatonecalculator/vue3-otp-input/098b24b224661884983a5035ef3b245a519dff14(vue@3.3.4)
vuedraggable: vuedraggable:
specifier: 4.1.0 specifier: 4.1.0
version: 4.1.0(vue@3.3.4) version: 4.1.0(vue@3.3.4)
@ -15216,15 +15216,6 @@ packages:
vue: 3.3.4 vue: 3.3.4
dev: true 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: /vue@2.7.14:
resolution: {integrity: sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==} resolution: {integrity: sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==}
dependencies: dependencies:
@ -15906,3 +15897,15 @@ packages:
rangetouch: 2.0.1 rangetouch: 2.0.1
url-polyfill: 1.1.12 url-polyfill: 1.1.12
dev: true 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