@ovh-ux/ng-ovh-contact 5.1.1 → 5.1.2
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 +10 -0
- package/dist/cjs/index.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/umd/ng-ovh-contact.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [5.1.2](https://github.com/ovh/manager/compare/@ovh-ux/ng-ovh-contact@5.1.1...@ovh-ux/ng-ovh-contact@5.1.2) (2022-06-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **contacts:** remove apiv7 call ([#7258](https://github.com/ovh/manager/issues/7258)) ([088c988](https://github.com/ovh/manager/commit/088c9883b22934c16d4d42afdd9da6248ca0ca25))
|
|
7
|
+
* **deps:** upgrade `ovh-api-services` to `v14.0.6` ([#7273](https://github.com/ovh/manager/issues/7273)) ([90698c8](https://github.com/ovh/manager/commit/90698c8c025bba09dd8e1baf64ccc0eecd56d3a8))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## [5.1.1](https://github.com/ovh/manager/compare/@ovh-ux/ng-ovh-contact@5.1.0...@ovh-ux/ng-ovh-contact@5.1.1) (2022-04-06)
|
|
2
12
|
|
|
3
13
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function cssInjectcab539baeec27d3d(css) {
|
|
2
2
|
if (!css || typeof document === 'undefined') return '';
|
|
3
3
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
4
4
|
const style = document.createElement('style');
|
|
@@ -8885,7 +8885,7 @@ function provider () {
|
|
|
8885
8885
|
contacts = [];
|
|
8886
8886
|
}
|
|
8887
8887
|
|
|
8888
|
-
return OvhApiMe.Contact().v7().query()
|
|
8888
|
+
return OvhApiMe.Contact().v7().query().$promise.then(function (contactsList) {
|
|
8889
8889
|
// filter contact that are not already added
|
|
8890
8890
|
// this avoid loosing contact object reference
|
|
8891
8891
|
// then add contact to contact list (at given index)
|
|
@@ -9010,7 +9010,7 @@ var EDITION = {
|
|
|
9010
9010
|
var PROTOTYPE_PATH = ['organisationName', 'vat', 'spareEmail', 'email', 'birthDay', 'phone', 'cellPhone', 'fax', 'id', 'firstName', 'lastName', 'address.country', 'address.line1', 'address.line2', 'address.line3', 'address.otherDetails', 'address.zip', 'address.city', 'address.province', 'gender', 'language', 'organisationType', 'legalForm', 'birthCity', 'birthZip', 'birthCountry', 'nationality', 'nationalIdentificationNumber', 'companyNationalIdentificationNumber', 'emailConfirmation'];
|
|
9011
9011
|
var EMAIL_REGEX = "^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?.)+[a-zA-Z0-9]{2}(?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$";
|
|
9012
9012
|
|
|
9013
|
-
|
|
9013
|
+
cssInjectcab539baeec27d3d(".ovh-contact .ovh-contact-choice .ovh-contact-select {\n cursor: default;\n position: relative;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-match {\n height: auto;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container {\n position: absolute;\n left: -22px;\n right: -22px;\n border: 2px solid #e1e4df;\n border-radius: 4px;\n margin-top: -1px;\n padding: 6px 22px;\n background-color: #fff;\n z-index: 1000;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown {\n max-height: 200px;\n overflow-x: hidden;\n overflow-y: auto;\n border: 0;\n position: static;\n width: 100%;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown .ui-select-choices-group {\n display: block;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-match {\n border-top: 0;\n margin-top: -3px;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-dropdown-container {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-match {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-dropdown-container {\n border-top: 0;\n}\n.ovh-contact .ovh-contact-edit .iti {\n display: block;\n}\n.ovh-contact .ovh-contact-edit [data-ng-messages][role='alert'] {\n margin-top: 4px;\n}\n");
|
|
9014
9014
|
|
|
9015
9015
|
function __variableDynamicImportRuntime1__(path) {
|
|
9016
9016
|
switch (path) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function cssInjectcab539baeec27d3d(css) {
|
|
2
2
|
if (!css || typeof document === 'undefined') return '';
|
|
3
3
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
4
4
|
const style = document.createElement('style');
|
|
@@ -8876,7 +8876,7 @@ function provider () {
|
|
|
8876
8876
|
contacts = [];
|
|
8877
8877
|
}
|
|
8878
8878
|
|
|
8879
|
-
return OvhApiMe.Contact().v7().query()
|
|
8879
|
+
return OvhApiMe.Contact().v7().query().$promise.then(function (contactsList) {
|
|
8880
8880
|
// filter contact that are not already added
|
|
8881
8881
|
// this avoid loosing contact object reference
|
|
8882
8882
|
// then add contact to contact list (at given index)
|
|
@@ -9001,7 +9001,7 @@ var EDITION = {
|
|
|
9001
9001
|
var PROTOTYPE_PATH = ['organisationName', 'vat', 'spareEmail', 'email', 'birthDay', 'phone', 'cellPhone', 'fax', 'id', 'firstName', 'lastName', 'address.country', 'address.line1', 'address.line2', 'address.line3', 'address.otherDetails', 'address.zip', 'address.city', 'address.province', 'gender', 'language', 'organisationType', 'legalForm', 'birthCity', 'birthZip', 'birthCountry', 'nationality', 'nationalIdentificationNumber', 'companyNationalIdentificationNumber', 'emailConfirmation'];
|
|
9002
9002
|
var EMAIL_REGEX = "^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?.)+[a-zA-Z0-9]{2}(?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$";
|
|
9003
9003
|
|
|
9004
|
-
|
|
9004
|
+
cssInjectcab539baeec27d3d(".ovh-contact .ovh-contact-choice .ovh-contact-select {\n cursor: default;\n position: relative;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-match {\n height: auto;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container {\n position: absolute;\n left: -22px;\n right: -22px;\n border: 2px solid #e1e4df;\n border-radius: 4px;\n margin-top: -1px;\n padding: 6px 22px;\n background-color: #fff;\n z-index: 1000;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown {\n max-height: 200px;\n overflow-x: hidden;\n overflow-y: auto;\n border: 0;\n position: static;\n width: 100%;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown .ui-select-choices-group {\n display: block;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-match {\n border-top: 0;\n margin-top: -3px;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-dropdown-container {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-match {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-dropdown-container {\n border-top: 0;\n}\n.ovh-contact .ovh-contact-edit .iti {\n display: block;\n}\n.ovh-contact .ovh-contact-edit [data-ng-messages][role='alert'] {\n margin-top: 4px;\n}\n");
|
|
9005
9005
|
|
|
9006
9006
|
function __variableDynamicImportRuntime1__(path) {
|
|
9007
9007
|
switch (path) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function cssInjectcab539baeec27d3d(css) {
|
|
2
2
|
if (!css || typeof document === 'undefined') return '';
|
|
3
3
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
4
4
|
const style = document.createElement('style');
|
|
@@ -8879,7 +8879,7 @@ function cssInject5bfc22163ae8c6ed(css) {
|
|
|
8879
8879
|
contacts = [];
|
|
8880
8880
|
}
|
|
8881
8881
|
|
|
8882
|
-
return OvhApiMe.Contact().v7().query()
|
|
8882
|
+
return OvhApiMe.Contact().v7().query().$promise.then(function (contactsList) {
|
|
8883
8883
|
// filter contact that are not already added
|
|
8884
8884
|
// this avoid loosing contact object reference
|
|
8885
8885
|
// then add contact to contact list (at given index)
|
|
@@ -9004,7 +9004,7 @@ function cssInject5bfc22163ae8c6ed(css) {
|
|
|
9004
9004
|
var PROTOTYPE_PATH = ['organisationName', 'vat', 'spareEmail', 'email', 'birthDay', 'phone', 'cellPhone', 'fax', 'id', 'firstName', 'lastName', 'address.country', 'address.line1', 'address.line2', 'address.line3', 'address.otherDetails', 'address.zip', 'address.city', 'address.province', 'gender', 'language', 'organisationType', 'legalForm', 'birthCity', 'birthZip', 'birthCountry', 'nationality', 'nationalIdentificationNumber', 'companyNationalIdentificationNumber', 'emailConfirmation'];
|
|
9005
9005
|
var EMAIL_REGEX = "^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?.)+[a-zA-Z0-9]{2}(?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$";
|
|
9006
9006
|
|
|
9007
|
-
|
|
9007
|
+
cssInjectcab539baeec27d3d(".ovh-contact .ovh-contact-choice .ovh-contact-select {\n cursor: default;\n position: relative;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-match {\n height: auto;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container {\n position: absolute;\n left: -22px;\n right: -22px;\n border: 2px solid #e1e4df;\n border-radius: 4px;\n margin-top: -1px;\n padding: 6px 22px;\n background-color: #fff;\n z-index: 1000;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown {\n max-height: 200px;\n overflow-x: hidden;\n overflow-y: auto;\n border: 0;\n position: static;\n width: 100%;\n box-shadow: none;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select .ui-select-dropdown-container .ui-select-dropdown .ui-select-choices-group {\n display: block;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-match {\n border-top: 0;\n margin-top: -3px;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.direction-up .ui-select-dropdown-container {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-match {\n border-bottom: 0;\n}\n.ovh-contact .ovh-contact-choice .ovh-contact-select.open:not(.direction-up) .ui-select-dropdown-container {\n border-top: 0;\n}\n.ovh-contact .ovh-contact-edit .iti {\n display: block;\n}\n.ovh-contact .ovh-contact-edit [data-ng-messages][role='alert'] {\n margin-top: 4px;\n}\n");
|
|
9008
9008
|
|
|
9009
9009
|
function __variableDynamicImportRuntime1__(path) {
|
|
9010
9010
|
switch (path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovh-ux/ng-ovh-contact",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "Helps you dealing with OVHcloud contacts from /me/contact API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angularjs",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"angular-translate": "^2.18.1",
|
|
48
48
|
"angular-ui-bootstrap": "~1.3.3",
|
|
49
49
|
"moment": "^2.24.0",
|
|
50
|
-
"ovh-api-services": "^
|
|
50
|
+
"ovh-api-services": "^14.0.6",
|
|
51
51
|
"ovh-manager-webfont": "^1.2.0",
|
|
52
52
|
"ui-select": "^0.19.8"
|
|
53
53
|
}
|