@awes-io/ui 2.34.0 → 2.34.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.34.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.34.0...@awes-io/ui@2.34.1) (2021-11-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **aw-tel:** check if given value is string before parsing ([4161fb6](https://github.com/awes-io/client/commit/4161fb67b57ccea772a390769dab200baee15a44))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.34.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.33.0...@awes-io/ui@2.34.0) (2021-11-25)
7
18
 
8
19
 
@@ -256,7 +256,7 @@ export default {
256
256
 
257
257
  onFileLoaded($event) {
258
258
  this.openCropModal($event.target.files[0])
259
-
259
+ $event.target.value = '' // reset to allow upload same file
260
260
  this.$refs.dropdown && this.$refs.dropdown.close()
261
261
  },
262
262
 
@@ -278,7 +278,8 @@ export default {
278
278
  this.showCountries = false
279
279
  },
280
280
 
281
- _parsePhoneNumber(number, country) {
281
+ _parsePhoneNumber(value, country) {
282
+ const number = typeof value === 'string' ? value : ''
282
283
  const phoneNumber = parsePhoneNumberFromString(number, country)
283
284
 
284
285
  if (phoneNumber) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.34.0",
3
+ "version": "2.34.1",
4
4
  "description": "User Interface (UI) components",
5
5
  "keywords": [
6
6
  "ui",
@@ -124,5 +124,5 @@
124
124
  "vue-template-compiler": "^2.6.10",
125
125
  "webfonts-generator": "^0.4.0"
126
126
  },
127
- "gitHead": "7cf70f84e64609355c655b32e92cbee0452c4765"
127
+ "gitHead": "0266a2c4725e14d5c8592275c9eab0b3a113cd0e"
128
128
  }