@@ -179,7 +179,7 @@ export default {
179
179
* Define decimal separator based on separator props.
180
180
* @return {String} '.' or ','
181
181
*/
182
- $decimalSeparator () {
182
+ decimalSeparatorSymbol () {
183
183
if (typeof this .decimalSeparator !== ' undefined' ) return this .decimalSeparator
184
184
if (this .separator === ' ,' ) return ' .'
185
185
return ' ,'
@@ -189,7 +189,7 @@ export default {
189
189
* Define thousand separator based on separator props.
190
190
* @return {String} '.' or ','
191
191
*/
192
- $thousandSeparator () {
192
+ thousandSeparatorSymbol () {
193
193
if (typeof this .thousandSeparator !== ' undefined' ) return this .thousandSeparator
194
194
if (this .separator === ' .' ) return ' .'
195
195
if (this .separator === ' space' ) return ' '
@@ -295,7 +295,7 @@ export default {
295
295
symbol: ' ' ,
296
296
format: ' %v' ,
297
297
thousand: ' ' ,
298
- decimal: this .$decimalSeparator ,
298
+ decimal: this .decimalSeparatorSymbol ,
299
299
precision: Number (this .precision )
300
300
})
301
301
}
@@ -337,8 +337,8 @@ export default {
337
337
symbol: this .currency ,
338
338
format: this .symbolPosition ,
339
339
precision: Number (this .precision ),
340
- decimal: this .$decimalSeparator ,
341
- thousand: this .$thousandSeparator
340
+ decimal: this .decimalSeparatorSymbol ,
341
+ thousand: this .thousandSeparatorSymbol
342
342
})
343
343
},
344
344
@@ -349,7 +349,7 @@ export default {
349
349
*/
350
350
unformat (value ) {
351
351
const toUnformat = typeof value === ' string' && value === ' ' ? this .emptyValue : value
352
- return accounting .unformat (toUnformat, this .$decimalSeparator )
352
+ return accounting .unformat (toUnformat, this .decimalSeparatorSymbol )
353
353
}
354
354
}
355
355
}
0 commit comments