@lancom/shared 0.0.374 → 0.0.375

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.
@@ -124,6 +124,9 @@ export default {
124
124
  return (this.value || '').replace(/^\+[0-9]{2}/, '');
125
125
  },
126
126
  set(phone) {
127
+ if (this.code === '+61' && phone?.length === 10 && phone[0] === '0') {
128
+ phone = phone.slice(1);
129
+ }
127
130
  this.$emit('input', `${this.code}${phone}`);
128
131
  }
129
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.374",
3
+ "version": "0.0.375",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {