File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 50
50
"rollup-plugin-vue" : " ^6.0.0" ,
51
51
"vue" : " ^2.6.11" ,
52
52
"vue-jest" : " ^3.0.7" ,
53
- "vuepress" : " ^1.8.2"
53
+ "vuepress" : " ^1.8.2" ,
54
+ "@coders-tm/vue-number-format" : " ^1.0.3"
54
55
},
55
56
"bugs" : {
56
57
"url" : " https://github.com/coders-tm/vue-number-format/issues"
79
80
"style" : " dist/styles.css" ,
80
81
"publishConfig" : {
81
82
"@coders-tm:registry" : " https://npm.pkg.github.com"
82
- },
83
- "dependencies" : {
84
- "@coders-tm/vue-number-format" : " ^1.0.1"
85
83
}
86
84
}
Original file line number Diff line number Diff line change 1
1
import options from "./options" ;
2
2
import { NumberFormat , setCursor } from './utils'
3
+ import assign from './assign'
3
4
4
5
export default function ( el , binding ) {
5
6
const { value } = binding
6
7
if ( ! value ) return false
7
- const config = Object . assign ( options , value )
8
+ const config = assign ( options , value )
8
9
// console.log('src/components/directive:config', config)
9
10
10
11
// v-number used on a component that's not a input element
Original file line number Diff line number Diff line change 937
937
exec-sh "^0.3.2"
938
938
minimist "^1.2.0"
939
939
940
- "@coders-tm/vue-number-format@^1.0.1":
941
- version "1.0.1"
942
- resolved "https://registry.yarnpkg.com/@coders-tm/vue-number-format/-/vue-number-format-1.0.1.tgz#4088de054f8c10943bf0147e126c0ec31795a91f"
943
- integrity sha512-KFrK5oSfjpIWoH/+Lb6gKnDx1kjxVelcxtqdEs4MY+0T9wQz7ff22qKV1ZxmkuIVXiARaB0TETjcPn5p7JJGBg==
940
+ "@coders-tm/vue-number-format@^1.0.1", "@coders-tm/vue-number-format@^1.0.3":
941
+ version "1.0.3"
942
+ resolved "https://registry.yarnpkg.com/@coders-tm/vue-number-format/-/vue-number-format-1.0.3.tgz#1969171bb73da62a204b74e44bcf7e957a00ea2b"
943
+ integrity sha512-8ZjXMVGonxkeV7F4xSxrFm5uD7tZoaRS87TO99sgFl1b5ZphjNHerXXc8zu0ewsi3aeEFM5ppP5CsSnNEEl0xg==
944
+ dependencies:
945
+ "@coders-tm/vue-number-format" "^1.0.1"
944
946
945
947
"@eslint/eslintrc@^0.4.3":
946
948
version "0.4.3"
You can’t perform that action at this time.
0 commit comments