@progressive-development/pd-contact 0.0.15 → 0.0.17
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/package.json +2 -2
- package/src/PdContact.js +1 -6
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive Development Contact component",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.17",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"storybook:build": "npm run analyze -- --exclude dist && build-storybook"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@progressive-development/pd-forms": "0.0.
|
|
20
|
+
"@progressive-development/pd-forms": "0.0.45",
|
|
21
21
|
"lit": "^2.0.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
package/src/PdContact.js
CHANGED
|
@@ -440,12 +440,7 @@
|
|
|
440
440
|
|
|
441
441
|
return {...this.contact};
|
|
442
442
|
}
|
|
443
|
-
|
|
444
|
-
static _vatIsValid(vat) {
|
|
445
|
-
const mValid = /^BE[0-9]{10}/.test(vat);
|
|
446
|
-
return mValid;
|
|
447
|
-
}
|
|
448
|
-
|
|
443
|
+
|
|
449
444
|
_getFullName() {
|
|
450
445
|
return PdContact._getFullVal(this.contact.firstName, this.contact.lastName);
|
|
451
446
|
}
|