@ovh-ux/ng-ovh-contact 5.1.6 → 5.2.0
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 +19 -0
- package/dist/cjs/{Messages_de_DE-9602aae8.js → Messages_de_DE-5124e5d6.js} +10 -15
- package/dist/cjs/Messages_de_DE-5124e5d6.js.map +1 -0
- package/dist/cjs/{Messages_en_GB-eabe1bf5.js → Messages_en_GB-743e5c9e.js} +10 -15
- package/dist/cjs/Messages_en_GB-743e5c9e.js.map +1 -0
- package/dist/cjs/{Messages_es_ES-3c35b929.js → Messages_es_ES-db7fe42c.js} +10 -15
- package/dist/cjs/Messages_es_ES-db7fe42c.js.map +1 -0
- package/dist/cjs/{Messages_fr_CA-7ca86b5d.js → Messages_fr_CA-a5dc3c45.js} +10 -15
- package/dist/cjs/Messages_fr_CA-a5dc3c45.js.map +1 -0
- package/dist/cjs/{Messages_fr_FR-06cd1f85.js → Messages_fr_FR-dfb66476.js} +10 -15
- package/dist/cjs/Messages_fr_FR-dfb66476.js.map +1 -0
- package/dist/cjs/{Messages_it_IT-f81ef18e.js → Messages_it_IT-10d45aac.js} +10 -15
- package/dist/cjs/Messages_it_IT-10d45aac.js.map +1 -0
- package/dist/cjs/{Messages_pl_PL-49665139.js → Messages_pl_PL-f56b6bc9.js} +10 -15
- package/dist/cjs/Messages_pl_PL-f56b6bc9.js.map +1 -0
- package/dist/cjs/{Messages_pt_PT-b23b27ef.js → Messages_pt_PT-30e5328a.js} +10 -15
- package/dist/cjs/Messages_pt_PT-30e5328a.js.map +1 -0
- package/dist/cjs/index.js +42 -52
- package/dist/esm/{Messages_de_DE-5dac2e54.js → Messages_de_DE-73567f27.js} +8 -13
- package/dist/esm/{Messages_en_GB-b8f72b67.js → Messages_en_GB-034a842b.js} +8 -13
- package/dist/esm/{Messages_es_ES-b8936e69.js → Messages_es_ES-2aad7b09.js} +8 -13
- package/dist/esm/{Messages_fr_CA-d8567912.js → Messages_fr_CA-d2fd2946.js} +8 -13
- package/dist/esm/{Messages_fr_FR-43f70cfc.js → Messages_fr_FR-12fd9d54.js} +8 -13
- package/dist/esm/{Messages_it_IT-77784514.js → Messages_it_IT-b8d81dba.js} +8 -13
- package/dist/esm/{Messages_pl_PL-3f7fc5ac.js → Messages_pl_PL-c19815dc.js} +8 -13
- package/dist/esm/{Messages_pt_PT-847ddf22.js → Messages_pt_PT-50906af9.js} +8 -13
- package/dist/esm/index.js +26 -31
- package/dist/umd/ng-ovh-contact.js +34 -44
- package/package.json +3 -2
- package/dist/cjs/Messages_de_DE-9602aae8.js.map +0 -1
- package/dist/cjs/Messages_en_GB-eabe1bf5.js.map +0 -1
- package/dist/cjs/Messages_es_ES-3c35b929.js.map +0 -1
- package/dist/cjs/Messages_fr_CA-7ca86b5d.js.map +0 -1
- package/dist/cjs/Messages_fr_FR-06cd1f85.js.map +0 -1
- package/dist/cjs/Messages_it_IT-f81ef18e.js.map +0 -1
- package/dist/cjs/Messages_pl_PL-49665139.js.map +0 -1
- package/dist/cjs/Messages_pt_PT-b23b27ef.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
# [5.2.0](https://github.com/ovh/manager/compare/@ovh-ux/ng-ovh-contact@5.1.7...@ovh-ux/ng-ovh-contact@5.2.0) (2023-11-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* migrate from vuepress to vitepress ([6968c85](https://github.com/ovh/manager/commit/6968c85f00e19c41bc240abb37a50e9dacf9c5e5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [5.1.7](https://github.com/ovh/manager/compare/@ovh-ux/ng-ovh-contact@5.1.6...@ovh-ux/ng-ovh-contact@5.1.7) (2023-09-07)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @ovh-ux/ng-ovh-contact
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [5.1.6](https://github.com/ovh/manager/compare/@ovh-ux/ng-ovh-contact@5.1.5...@ovh-ux/ng-ovh-contact@5.1.6) (2023-04-20)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_de_DE = {ovh_contact_choice_select_contact:"Kontakt auswählen",ovh_contact_display_edit_contact:"Diesen Kontakt bearbeiten",ovh_contact_display_change_contact:"Einen anderen Kontakt auswählen",ovh_contact_display_add_contact:"Kontakt erstellen",ovh_contact_edit_save_error:"Beim Speichern des Kontakts ist ein Fehler aufgetreten: {{ message }}",ovh_contact_edit_fieldset_generalInformations:"Allgemeine Informationen",ovh_contact_edit_fieldset_profile:"Profil",ovh_contact_edit_fieldset_contacts:"Kontakte",ovh_contact_edit_fieldset_legal:"Rechtsdaten",ovh_contact_edit_label_gender:"Geschlecht",ovh_contact_edit_label_nationality:"Staatsangehörigkeit",ovh_contact_edit_label_language:"Sprache",ovh_contact_edit_label_country:"Land",ovh_contact_edit_label_address_country:"Land",ovh_contact_edit_label_address_province:"Provinz",ovh_contact_edit_label_legal_form:"Zivilität",ovh_contact_edit_label_email_confirmation:"Bestätigung E-Mail",ovh_contact_edit_label_organisation:"Organisation",ovh_contact_edit_label_spare_email:"Ersatz-E-Mail",ovh_contact_edit_label_password:"Passwort",ovh_contact_edit_label_password_confirmation:"Bestätigung des Passworts",ovh_contact_edit_label_first_name:"Vorname",ovh_contact_edit_label_last_name:"Name",ovh_contact_edit_label_email:"E-Mail",ovh_contact_edit_label_address:"Adresse",ovh_contact_edit_label_address_line_1:"Adresse",ovh_contact_edit_label_address_line_2:"Adresse (Zusatz 1)",ovh_contact_edit_label_address_line_3:"Adresse (Zusatz 2)",ovh_contact_edit_label_address_other_details:"Adresse (andere)",ovh_contact_edit_label_address_zip:"Postleitzahl",ovh_contact_edit_label_address_city:"Stadt",ovh_contact_edit_label_birth_day:"Geburtsdatum",ovh_contact_edit_label_phone:"Telefon",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Art der Organisation",ovh_contact_edit_label_organisation_name:"Name der Organisation",ovh_contact_edit_label_company_national_identification_number:"Steuernummer",ovh_contact_edit_label_vat:"Innergemeinschaftliche Mehrwertsteuer",ovh_contact_edit_label_birth_city:"Geburtsort",ovh_contact_edit_label_birth_zip:"Postleitzahl der Geburt",ovh_contact_edit_label_birth_country:"Geburtsland",ovh_contact_edit_label_national_identification_number:"Steuernummer",ovh_contact_edit_label_cell_phone:"Mobiltelefon",ovh_contact_edit_legalform_individual:"Individuell",ovh_contact_edit_legalform_association:"Verein",ovh_contact_edit_legalform_corporation:"Unternehmen",ovh_contact_edit_legalform_other:"Sonstige",ovh_contact_edit_gender_male:"Masculin",ovh_contact_edit_gender_female:"Weiblich",ovh_contact_edit_action_edit:"Bearbeiten",ovh_contact_edit_action_create:"Erstellen",ovh_contact_edit_action_cancel:"Abbrechen",ovh_contact_edit_mandatory_fields:"Die mit * gekennzeichneten Felder sind Pflichtfelder.",ovh_contact_edit_mandatory_field:"Dieses Feld ist ein Pflichtfeld.",ovh_contact_edit_invalid_email:"Der Wert muss eine gültige E-Mail-Adresse sein.",ovh_contact_edit_invalid_phone:"Bitte überprüfen Sie das Format der Telefonnummer."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_de_DE-
|
|
18
|
+
exports.default = Messages_de_DE;
|
|
19
|
+
//# sourceMappingURL=Messages_de_DE-5124e5d6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_de_DE-5124e5d6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_en_GB = {ovh_contact_choice_select_contact:"Select a contact ",ovh_contact_display_edit_contact:"Modify this contact ",ovh_contact_display_change_contact:"Choose another contact",ovh_contact_display_add_contact:"Create a contact",ovh_contact_edit_save_error:"An error has occurred saving the contact: {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"General information",ovh_contact_edit_fieldset_profile:"Profile",ovh_contact_edit_fieldset_contacts:"Contacts",ovh_contact_edit_fieldset_legal:"Legal data",ovh_contact_edit_label_gender:"Gender",ovh_contact_edit_label_nationality:"Nationality",ovh_contact_edit_label_language:"Language",ovh_contact_edit_label_country:"Country",ovh_contact_edit_label_address_country:"Country",ovh_contact_edit_label_address_province:"Region",ovh_contact_edit_label_legal_form:"Title",ovh_contact_edit_label_email_confirmation:"Email confirmation",ovh_contact_edit_label_organisation:"Organisation",ovh_contact_edit_label_spare_email:"Backup email address",ovh_contact_edit_label_password:"Password",ovh_contact_edit_label_password_confirmation:"Confirm password",ovh_contact_edit_label_first_name:"First name",ovh_contact_edit_label_last_name:"Surname",ovh_contact_edit_label_email:"Email address",ovh_contact_edit_label_address:"Address",ovh_contact_edit_label_address_line_1:"Address",ovh_contact_edit_label_address_line_2:"Address (line 1)",ovh_contact_edit_label_address_line_3:"Address (line 2)",ovh_contact_edit_label_address_other_details:"Address (other)",ovh_contact_edit_label_address_zip:"Postcode",ovh_contact_edit_label_address_city:"City",ovh_contact_edit_label_birth_day:"Date of birth",ovh_contact_edit_label_phone:"Phone",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Type of organisation ",ovh_contact_edit_label_organisation_name:"Name of organisation",ovh_contact_edit_label_company_national_identification_number:"Tax code",ovh_contact_edit_label_vat:"Intra-Community VAT number",ovh_contact_edit_label_birth_city:"Place of birth",ovh_contact_edit_label_birth_zip:"Postcode of place of birth",ovh_contact_edit_label_birth_country:"Country of birth",ovh_contact_edit_label_national_identification_number:"Tax code",ovh_contact_edit_label_cell_phone:"Mobile number",ovh_contact_edit_legalform_individual:"Individual",ovh_contact_edit_legalform_association:"Non-profit",ovh_contact_edit_legalform_corporation:"Company",ovh_contact_edit_legalform_other:"Other",ovh_contact_edit_gender_male:"Male",ovh_contact_edit_gender_female:"Female",ovh_contact_edit_action_edit:"Modify",ovh_contact_edit_action_create:"Create",ovh_contact_edit_action_cancel:"Cancel",ovh_contact_edit_mandatory_fields:"Fields marked with a * are mandatory.",ovh_contact_edit_mandatory_field:"This field is mandatory.",ovh_contact_edit_invalid_email:"This field must contain a valid email address.",ovh_contact_edit_invalid_phone:"Please check the telephone number format."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_en_GB-
|
|
18
|
+
exports.default = Messages_en_GB;
|
|
19
|
+
//# sourceMappingURL=Messages_en_GB-743e5c9e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_en_GB-743e5c9e.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_es_ES = {ovh_contact_choice_select_contact:"Seleccionar un contacto",ovh_contact_display_edit_contact:"Editar el contacto",ovh_contact_display_change_contact:"Elegir otro contacto",ovh_contact_display_add_contact:"Crear un contacto",ovh_contact_edit_save_error:"Se ha producido un error al guardar el contacto: {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"Información general",ovh_contact_edit_fieldset_profile:"Perfil",ovh_contact_edit_fieldset_contacts:"Contactos",ovh_contact_edit_fieldset_legal:"Datos jurídicos",ovh_contact_edit_label_gender:"Género",ovh_contact_edit_label_nationality:"Nacionalidad",ovh_contact_edit_label_language:"Idioma",ovh_contact_edit_label_country:"País",ovh_contact_edit_label_address_country:"País",ovh_contact_edit_label_address_province:"Provincia",ovh_contact_edit_label_legal_form:"Tratamiento",ovh_contact_edit_label_email_confirmation:"Repetir correo electrónico",ovh_contact_edit_label_organisation:"Organización",ovh_contact_edit_label_spare_email:"Correo electrónico secundario",ovh_contact_edit_label_password:"Contraseña",ovh_contact_edit_label_password_confirmation:"Repetir contraseña",ovh_contact_edit_label_first_name:"Nombre",ovh_contact_edit_label_last_name:"Nombre",ovh_contact_edit_label_email:"Correo electrónico",ovh_contact_edit_label_address:"Dirección",ovh_contact_edit_label_address_line_1:"Dirección",ovh_contact_edit_label_address_line_2:"Dirección (continuación 1)",ovh_contact_edit_label_address_line_3:"Dirección (continuación 2)",ovh_contact_edit_label_address_other_details:"Dirección (otra)",ovh_contact_edit_label_address_zip:"Código postal",ovh_contact_edit_label_address_city:"Localidad",ovh_contact_edit_label_birth_day:"Fecha de nacimiento",ovh_contact_edit_label_phone:"Teléfono",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Tipo de organización",ovh_contact_edit_label_organisation_name:"Nombre de la organización",ovh_contact_edit_label_company_national_identification_number:"Código fiscal ",ovh_contact_edit_label_vat:"IVA intracomunitario",ovh_contact_edit_label_birth_city:"Localidad de nacimiento",ovh_contact_edit_label_birth_zip:"C.P. del lugar de nacimiento",ovh_contact_edit_label_birth_country:"País de nacimiento",ovh_contact_edit_label_national_identification_number:"Código fiscal ",ovh_contact_edit_label_cell_phone:"Teléfono móvil",ovh_contact_edit_legalform_individual:"Particular",ovh_contact_edit_legalform_association:"Asociación",ovh_contact_edit_legalform_corporation:"Empresa",ovh_contact_edit_legalform_other:"Otro",ovh_contact_edit_gender_male:"Masculino",ovh_contact_edit_gender_female:"Femenino",ovh_contact_edit_action_edit:"Editar",ovh_contact_edit_action_create:"Crear",ovh_contact_edit_action_cancel:"Cancelar",ovh_contact_edit_mandatory_fields:"Los campos marcados con * son obligatorios.",ovh_contact_edit_mandatory_field:"Este campo es obligatorio.",ovh_contact_edit_invalid_email:"El campo debe contener una dirección de correo electrónico válida.",ovh_contact_edit_invalid_phone:"Por favor, compruebe el formato del número de teléfono."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_es_ES-
|
|
18
|
+
exports.default = Messages_es_ES;
|
|
19
|
+
//# sourceMappingURL=Messages_es_ES-db7fe42c.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_es_ES-db7fe42c.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_fr_CA = {ovh_contact_choice_select_contact:"Sélectionner un contact",ovh_contact_display_edit_contact:"Modifier ce contact",ovh_contact_display_change_contact:"Choisir un autre contact",ovh_contact_display_add_contact:"Créer un contact",ovh_contact_edit_save_error:"Une erreur est survenue lors de la sauvegarde du contact : {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"Informations générales",ovh_contact_edit_fieldset_profile:"Profil",ovh_contact_edit_fieldset_contacts:"Contacts",ovh_contact_edit_fieldset_legal:"Données juridiques",ovh_contact_edit_label_gender:"Sexe",ovh_contact_edit_label_nationality:"Nationalité",ovh_contact_edit_label_language:"Langue",ovh_contact_edit_label_country:"Pays",ovh_contact_edit_label_address_country:"Pays",ovh_contact_edit_label_address_province:"Province",ovh_contact_edit_label_legal_form:"Civilité",ovh_contact_edit_label_email_confirmation:"Confirmation email",ovh_contact_edit_label_organisation:"Organisation",ovh_contact_edit_label_spare_email:"Email de secours",ovh_contact_edit_label_password:"Mot de passe",ovh_contact_edit_label_password_confirmation:"Confirmation du mot de passe",ovh_contact_edit_label_first_name:"Prénom",ovh_contact_edit_label_last_name:"Nom",ovh_contact_edit_label_email:"Email",ovh_contact_edit_label_address:"Adresse",ovh_contact_edit_label_address_line_1:"Adresse",ovh_contact_edit_label_address_line_2:"Adresse (complément 1)",ovh_contact_edit_label_address_line_3:"Adresse (complément 2)",ovh_contact_edit_label_address_other_details:"Adresse (autre)",ovh_contact_edit_label_address_zip:"Code postal",ovh_contact_edit_label_address_city:"Ville",ovh_contact_edit_label_birth_day:"Date d'anniversaire",ovh_contact_edit_label_phone:"Téléphone",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Type d'organisation",ovh_contact_edit_label_organisation_name:"Nom de l'organisation",ovh_contact_edit_label_company_national_identification_number:"Code fiscal",ovh_contact_edit_label_vat:"TVA intra communautaire",ovh_contact_edit_label_birth_city:"Ville de naissance",ovh_contact_edit_label_birth_zip:"Code postal de naissance",ovh_contact_edit_label_birth_country:"Pays de naissance",ovh_contact_edit_label_national_identification_number:"Code fiscal",ovh_contact_edit_label_cell_phone:"Téléphone mobile",ovh_contact_edit_legalform_individual:"Individuel",ovh_contact_edit_legalform_association:"Association",ovh_contact_edit_legalform_corporation:"Entreprise",ovh_contact_edit_legalform_other:"Autre",ovh_contact_edit_gender_male:"Masculin",ovh_contact_edit_gender_female:"Féminin",ovh_contact_edit_action_edit:"Modifier",ovh_contact_edit_action_create:"Créer",ovh_contact_edit_action_cancel:"Annuler",ovh_contact_edit_mandatory_fields:"Les champs signalés par * sont obligatoires.",ovh_contact_edit_mandatory_field:"Ce champ est obligatoire.",ovh_contact_edit_invalid_email:"La valeur doit être une adresse email valide.",ovh_contact_edit_invalid_phone:"Veuillez vérifier le format du numéro de téléphone."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_fr_CA-
|
|
18
|
+
exports.default = Messages_fr_CA;
|
|
19
|
+
//# sourceMappingURL=Messages_fr_CA-a5dc3c45.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_fr_CA-a5dc3c45.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_fr_FR = {ovh_contact_choice_select_contact:"Sélectionner un contact",ovh_contact_display_edit_contact:"Modifier ce contact",ovh_contact_display_change_contact:"Choisir un autre contact",ovh_contact_display_add_contact:"Créer un contact",ovh_contact_edit_save_error:"Une erreur est survenue lors de la sauvegarde du contact : {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"Informations générales",ovh_contact_edit_fieldset_profile:"Profil",ovh_contact_edit_fieldset_contacts:"Contacts",ovh_contact_edit_fieldset_legal:"Données juridiques",ovh_contact_edit_label_gender:"Sexe",ovh_contact_edit_label_nationality:"Nationalité",ovh_contact_edit_label_language:"Langue",ovh_contact_edit_label_country:"Pays",ovh_contact_edit_label_address_country:"Pays",ovh_contact_edit_label_address_province:"Province",ovh_contact_edit_label_legal_form:"Civilité",ovh_contact_edit_label_email_confirmation:"Confirmation email",ovh_contact_edit_label_organisation:"Organisation",ovh_contact_edit_label_spare_email:"Email de secours",ovh_contact_edit_label_password:"Mot de passe",ovh_contact_edit_label_password_confirmation:"Confirmation du mot de passe",ovh_contact_edit_label_first_name:"Prénom",ovh_contact_edit_label_last_name:"Nom",ovh_contact_edit_label_email:"Email",ovh_contact_edit_label_address:"Adresse",ovh_contact_edit_label_address_line_1:"Adresse",ovh_contact_edit_label_address_line_2:"Adresse (complément 1)",ovh_contact_edit_label_address_line_3:"Adresse (complément 2)",ovh_contact_edit_label_address_other_details:"Adresse (autre)",ovh_contact_edit_label_address_zip:"Code postal",ovh_contact_edit_label_address_city:"Ville",ovh_contact_edit_label_birth_day:"Date d'anniversaire",ovh_contact_edit_label_phone:"Téléphone",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Type d'organisation",ovh_contact_edit_label_organisation_name:"Nom de l'organisation",ovh_contact_edit_label_company_national_identification_number:"Code fiscal",ovh_contact_edit_label_vat:"TVA intra communautaire",ovh_contact_edit_label_birth_city:"Ville de naissance",ovh_contact_edit_label_birth_zip:"Code postal de naissance",ovh_contact_edit_label_birth_country:"Pays de naissance",ovh_contact_edit_label_national_identification_number:"Code fiscal",ovh_contact_edit_label_cell_phone:"Téléphone mobile",ovh_contact_edit_legalform_individual:"Individuel",ovh_contact_edit_legalform_association:"Association",ovh_contact_edit_legalform_corporation:"Entreprise",ovh_contact_edit_legalform_other:"Autre",ovh_contact_edit_gender_male:"Masculin",ovh_contact_edit_gender_female:"Féminin",ovh_contact_edit_action_edit:"Modifier",ovh_contact_edit_action_create:"Créer",ovh_contact_edit_action_cancel:"Annuler",ovh_contact_edit_mandatory_fields:"Les champs signalés par * sont obligatoires.",ovh_contact_edit_mandatory_field:"Ce champ est obligatoire.",ovh_contact_edit_invalid_email:"La valeur doit être une adresse email valide.",ovh_contact_edit_invalid_phone:"Veuillez vérifier le format du numéro de téléphone."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_fr_FR-
|
|
18
|
+
exports.default = Messages_fr_FR;
|
|
19
|
+
//# sourceMappingURL=Messages_fr_FR-dfb66476.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_fr_FR-dfb66476.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_it_IT = {ovh_contact_choice_select_contact:"Seleziona un contatto",ovh_contact_display_edit_contact:"Modifica questo contatto",ovh_contact_display_change_contact:"Scegli un altro contatto",ovh_contact_display_add_contact:"Creare un contatto",ovh_contact_edit_save_error:"Si è verificato un errore durante il backup del contatto: {{ message }}",ovh_contact_edit_fieldset_generalInformations:"Informazioni generali",ovh_contact_edit_fieldset_profile:"Profilo",ovh_contact_edit_fieldset_contacts:"Contatti",ovh_contact_edit_fieldset_legal:"Dati giuridici",ovh_contact_edit_label_gender:"Sesso",ovh_contact_edit_label_nationality:"Nazionalità",ovh_contact_edit_label_language:"Lingua",ovh_contact_edit_label_country:"Paese",ovh_contact_edit_label_address_country:"Paese",ovh_contact_edit_label_address_province:"Provincia",ovh_contact_edit_label_legal_form:"Titolo",ovh_contact_edit_label_email_confirmation:"Conferma email",ovh_contact_edit_label_organisation:"Organizzazione",ovh_contact_edit_label_spare_email:"Email di recupero",ovh_contact_edit_label_password:"Password",ovh_contact_edit_label_password_confirmation:"Conferma password",ovh_contact_edit_label_first_name:"Nome",ovh_contact_edit_label_last_name:"Nome",ovh_contact_edit_label_email:"Email",ovh_contact_edit_label_address:"Indirizzo",ovh_contact_edit_label_address_line_1:"Indirizzo",ovh_contact_edit_label_address_line_2:"Indirizzo (riga 1)",ovh_contact_edit_label_address_line_3:"Indirizzo (riga 2)",ovh_contact_edit_label_address_other_details:"Indirizzo (altro)",ovh_contact_edit_label_address_zip:"Codice postale",ovh_contact_edit_label_address_city:"Città",ovh_contact_edit_label_birth_day:"Data di nascita",ovh_contact_edit_label_phone:"Telefono",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Tipo di società",ovh_contact_edit_label_organisation_name:"Nome dell'organizzazione",ovh_contact_edit_label_company_national_identification_number:"Codice fiscale",ovh_contact_edit_label_vat:"IVA intracomunitaria",ovh_contact_edit_label_birth_city:"Luogo di nascita",ovh_contact_edit_label_birth_zip:"Codice postale del luogo di nascita",ovh_contact_edit_label_birth_country:"Paese di nascita",ovh_contact_edit_label_national_identification_number:"Codice fiscale",ovh_contact_edit_label_cell_phone:"Cellulare",ovh_contact_edit_legalform_individual:"Privato",ovh_contact_edit_legalform_association:"Associazione",ovh_contact_edit_legalform_corporation:"Società",ovh_contact_edit_legalform_other:"Altro",ovh_contact_edit_gender_male:"M",ovh_contact_edit_gender_female:"F",ovh_contact_edit_action_edit:"Modificare",ovh_contact_edit_action_create:"Crea",ovh_contact_edit_action_cancel:"Annullare",ovh_contact_edit_mandatory_fields:"I campi indicati con * sono obbligatori.",ovh_contact_edit_mandatory_field:"Questo campo è obbligatorio",ovh_contact_edit_invalid_email:"Il valore deve essere un indirizzo email valido.",ovh_contact_edit_invalid_phone:"Verifica il formato del numero di telefono."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_it_IT-
|
|
18
|
+
exports.default = Messages_it_IT;
|
|
19
|
+
//# sourceMappingURL=Messages_it_IT-10d45aac.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_it_IT-10d45aac.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_pl_PL = {ovh_contact_choice_select_contact:"Wybierz kontakt",ovh_contact_display_edit_contact:"Zmień ten kontakt",ovh_contact_display_change_contact:"Wybierz inny kontakt",ovh_contact_display_add_contact:"Utworzyć kontakt",ovh_contact_edit_save_error:"Wystąpił błąd podczas zapisywania kontaktu: {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"Informacje ogólne",ovh_contact_edit_fieldset_profile:"Profil",ovh_contact_edit_fieldset_contacts:"Kontakty",ovh_contact_edit_fieldset_legal:"Informacje prawne",ovh_contact_edit_label_gender:"Płeć",ovh_contact_edit_label_nationality:"Narodowość",ovh_contact_edit_label_language:"Język",ovh_contact_edit_label_country:"Kraj",ovh_contact_edit_label_address_country:"Kraj",ovh_contact_edit_label_address_province:"Region",ovh_contact_edit_label_legal_form:"Tytuł (Pan/Pani)",ovh_contact_edit_label_email_confirmation:"Potwierdzenie adresu e-mail",ovh_contact_edit_label_organisation:"Podmiot",ovh_contact_edit_label_spare_email:"E-mail zapasowy",ovh_contact_edit_label_password:"Hasło",ovh_contact_edit_label_password_confirmation:"Wpisz ponownie hasło:",ovh_contact_edit_label_first_name:"Imię",ovh_contact_edit_label_last_name:"Nazwa",ovh_contact_edit_label_email:"E-mail",ovh_contact_edit_label_address:"Adres",ovh_contact_edit_label_address_line_1:"Adres",ovh_contact_edit_label_address_line_2:"Adres (załącznik 1)",ovh_contact_edit_label_address_line_3:"Adres (załącznik 2)",ovh_contact_edit_label_address_other_details:"Adres (inny)",ovh_contact_edit_label_address_zip:"Kod pocztowy",ovh_contact_edit_label_address_city:"Miasto",ovh_contact_edit_label_birth_day:"Data urodzenia",ovh_contact_edit_label_phone:"Telefon",ovh_contact_edit_label_fax:"Faks",ovh_contact_edit_label_organisation_type:"Typ organizacji",ovh_contact_edit_label_organisation_name:"Nazwa firmy",ovh_contact_edit_label_company_national_identification_number:"NIP",ovh_contact_edit_label_vat:"Europejski NIP (VAT UE)",ovh_contact_edit_label_birth_city:"Miejsce urodzenia",ovh_contact_edit_label_birth_zip:"Kod pocztowy miejsca urodzenia",ovh_contact_edit_label_birth_country:"Kraj urodzenia",ovh_contact_edit_label_national_identification_number:"NIP",ovh_contact_edit_label_cell_phone:"Telefon komórkowy",ovh_contact_edit_legalform_individual:"Osoba fizyczna",ovh_contact_edit_legalform_association:"Stowarzyszenie",ovh_contact_edit_legalform_corporation:"Firma",ovh_contact_edit_legalform_other:"Inne",ovh_contact_edit_gender_male:"Mężczyzna",ovh_contact_edit_gender_female:"Kobieta",ovh_contact_edit_action_edit:"Zmień",ovh_contact_edit_action_create:"Utwórz",ovh_contact_edit_action_cancel:"Anuluj",ovh_contact_edit_mandatory_fields:"Pola oznaczone symbolem * są obowiązkowe.",ovh_contact_edit_mandatory_field:"To pole jest obowiązkowe.",ovh_contact_edit_invalid_email:"Wartość musi być prawidłowym adresem e-mail.",ovh_contact_edit_invalid_phone:"Sprawdź format numeru telefonu."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_pl_PL-
|
|
18
|
+
exports.default = Messages_pl_PL;
|
|
19
|
+
//# sourceMappingURL=Messages_pl_PL-f56b6bc9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_pl_PL-f56b6bc9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,22 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
function ___$insertStyle(css) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
style.setAttribute('type', 'text/css');
|
|
16
|
-
style.innerHTML = css;
|
|
17
|
-
document.head.appendChild(style);
|
|
18
|
-
return css;
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
var Messages_pt_PT = {ovh_contact_choice_select_contact:"Selecionar um contacto",ovh_contact_display_edit_contact:"Modificar este contacto",ovh_contact_display_change_contact:"Escolher outro contacto",ovh_contact_display_add_contact:"Criar um contacto",ovh_contact_edit_save_error:"Ocorreu um erro aquando do backup do contacto: {{ message }}.",ovh_contact_edit_fieldset_generalInformations:"Informações gerais",ovh_contact_edit_fieldset_profile:"Perfil",ovh_contact_edit_fieldset_contacts:"Contactos",ovh_contact_edit_fieldset_legal:"Dados jurídicos",ovh_contact_edit_label_gender:"Género",ovh_contact_edit_label_nationality:"Nacionalidade",ovh_contact_edit_label_language:"Idioma",ovh_contact_edit_label_country:"País",ovh_contact_edit_label_address_country:"País",ovh_contact_edit_label_address_province:"Província",ovh_contact_edit_label_legal_form:"Estado civil",ovh_contact_edit_label_email_confirmation:"Confirmação do e-mail",ovh_contact_edit_label_organisation:"Organização",ovh_contact_edit_label_spare_email:"E-mail de segurança",ovh_contact_edit_label_password:"Palavra-passe",ovh_contact_edit_label_password_confirmation:"Confirmação da palavra-passe",ovh_contact_edit_label_first_name:"Nome",ovh_contact_edit_label_last_name:"Nome",ovh_contact_edit_label_email:"E-mail",ovh_contact_edit_label_address:"Morada",ovh_contact_edit_label_address_line_1:"Morada",ovh_contact_edit_label_address_line_2:"Morada (complemento 1)",ovh_contact_edit_label_address_line_3:"Morada (complemento 2)",ovh_contact_edit_label_address_other_details:"Morada (outros)",ovh_contact_edit_label_address_zip:"Código postal",ovh_contact_edit_label_address_city:"Cidade",ovh_contact_edit_label_birth_day:"Data de aniversário",ovh_contact_edit_label_phone:"Telefone",ovh_contact_edit_label_fax:"Fax",ovh_contact_edit_label_organisation_type:"Tipo de organização",ovh_contact_edit_label_organisation_name:"Nome da organização",ovh_contact_edit_label_company_national_identification_number:"Código fiscal",ovh_contact_edit_label_vat:"IVA intracomunitário",ovh_contact_edit_label_birth_city:"Local de nascimento",ovh_contact_edit_label_birth_zip:"Código postal do local de nascimento",ovh_contact_edit_label_birth_country:"País de nascimento",ovh_contact_edit_label_national_identification_number:"Código fiscal",ovh_contact_edit_label_cell_phone:"Telemóvel",ovh_contact_edit_legalform_individual:"Empresa Individual",ovh_contact_edit_legalform_association:"Associação",ovh_contact_edit_legalform_corporation:"Empresa",ovh_contact_edit_legalform_other:"Outro",ovh_contact_edit_gender_male:"Masculino",ovh_contact_edit_gender_female:"Feminino",ovh_contact_edit_action_edit:"Alterar",ovh_contact_edit_action_create:"Criar",ovh_contact_edit_action_cancel:"Anular",ovh_contact_edit_mandatory_fields:"Os campos assinalados por * são obrigatórios.",ovh_contact_edit_mandatory_field:"Este campo é obrigatório.",ovh_contact_edit_invalid_email:"O valor deve ser um endereço de e-mail válido.",ovh_contact_edit_invalid_phone:"Verifique o formato do número de telefone."};
|
|
22
17
|
|
|
23
|
-
exports
|
|
24
|
-
//# sourceMappingURL=Messages_pt_PT-
|
|
18
|
+
exports.default = Messages_pt_PT;
|
|
19
|
+
//# sourceMappingURL=Messages_pt_PT-30e5328a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Messages_pt_PT-30e5328a.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function cssInjecta71063c5cb6170d3(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');
|
|
@@ -19,19 +19,14 @@ function cssInjecte6cfd0e20c5752e3(css) {
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
function ___$insertStyle(css) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
style.setAttribute('type', 'text/css');
|
|
32
|
-
style.innerHTML = css;
|
|
33
|
-
document.head.appendChild(style);
|
|
34
|
-
return css;
|
|
22
|
+
if (!css || typeof window === 'undefined') {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const style = document.createElement('style');
|
|
26
|
+
style.setAttribute('type', 'text/css');
|
|
27
|
+
style.innerHTML = css;
|
|
28
|
+
document.head.appendChild(style);
|
|
29
|
+
return css;
|
|
35
30
|
}
|
|
36
31
|
|
|
37
32
|
var angular = require('angular');
|
|
@@ -43,11 +38,6 @@ require('angular-ui-bootstrap');
|
|
|
43
38
|
require('@ovh-ux/ng-ovh-api-wrappers');
|
|
44
39
|
var moment = require('moment');
|
|
45
40
|
|
|
46
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
47
|
-
|
|
48
|
-
var angular__default = /*#__PURE__*/_interopDefaultLegacy(angular);
|
|
49
|
-
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
50
|
-
|
|
51
41
|
function _typeof(obj) {
|
|
52
42
|
"@babel/helpers - typeof";
|
|
53
43
|
|
|
@@ -8040,7 +8030,7 @@ function _ngInjectExport$3($timeout, $anchorScroll, ovhContact, CONTACT_EDITION)
|
|
|
8040
8030
|
format: 'shortDate',
|
|
8041
8031
|
options: {
|
|
8042
8032
|
showWeeks: false,
|
|
8043
|
-
maxDate:
|
|
8033
|
+
maxDate: moment()
|
|
8044
8034
|
}
|
|
8045
8035
|
};
|
|
8046
8036
|
self.creationRules = null;
|
|
@@ -8398,9 +8388,9 @@ _ngInjectExport.$inject = ["OvhApiMe", "CONTACT_PROTOTYPE_PATH"];
|
|
|
8398
8388
|
function _ngInjectExport(OvhApiMe, CONTACT_PROTOTYPE_PATH) {
|
|
8399
8389
|
var getDatas = function getDatas(instance) {
|
|
8400
8390
|
var datas = {};
|
|
8401
|
-
|
|
8391
|
+
angular.forEach(CONTACT_PROTOTYPE_PATH, function (path) {
|
|
8402
8392
|
if (path === 'birthDay') {
|
|
8403
|
-
datas.birthDay =
|
|
8393
|
+
datas.birthDay = angular.isDate(instance.birthDay) ? moment(instance.birthDay).format('YYYY-MM-DD') : undefined;
|
|
8404
8394
|
} else {
|
|
8405
8395
|
set(datas, path, get(instance, path));
|
|
8406
8396
|
}
|
|
@@ -8441,7 +8431,7 @@ function _ngInjectExport(OvhApiMe, CONTACT_PROTOTYPE_PATH) {
|
|
|
8441
8431
|
this.birthCity = options.birthCity;
|
|
8442
8432
|
this.birthZip = options.birthZip;
|
|
8443
8433
|
this.birthCountry = options.birthCountry || 'FR';
|
|
8444
|
-
this.birthDay = options.birthDay &&
|
|
8434
|
+
this.birthDay = options.birthDay && moment(new Date(options.birthDay)).isValid() ? new Date(options.birthDay) : undefined; // custom attributes
|
|
8445
8435
|
|
|
8446
8436
|
this.inEdition = false;
|
|
8447
8437
|
this.saveForEdition = null;
|
|
@@ -8509,8 +8499,8 @@ function _ngInjectExport(OvhApiMe, CONTACT_PROTOTYPE_PATH) {
|
|
|
8509
8499
|
var self = this;
|
|
8510
8500
|
self.inEdition = true;
|
|
8511
8501
|
self.saveForEdition = {};
|
|
8512
|
-
|
|
8513
|
-
set(self.saveForEdition, objectPath,
|
|
8502
|
+
angular.forEach(CONTACT_PROTOTYPE_PATH, function (objectPath) {
|
|
8503
|
+
set(self.saveForEdition, objectPath, angular.copy(get(self, objectPath)));
|
|
8514
8504
|
});
|
|
8515
8505
|
return self;
|
|
8516
8506
|
};
|
|
@@ -8534,8 +8524,8 @@ function _ngInjectExport(OvhApiMe, CONTACT_PROTOTYPE_PATH) {
|
|
|
8534
8524
|
self.inEdition = false;
|
|
8535
8525
|
|
|
8536
8526
|
if (self.saveForEdition && cancel) {
|
|
8537
|
-
|
|
8538
|
-
set(self, objectPath,
|
|
8527
|
+
angular.forEach(CONTACT_PROTOTYPE_PATH, function (objectPath) {
|
|
8528
|
+
set(self, objectPath, angular.copy(get(self.saveForEdition, objectPath)));
|
|
8539
8529
|
});
|
|
8540
8530
|
}
|
|
8541
8531
|
|
|
@@ -8651,7 +8641,7 @@ function provider () {
|
|
|
8651
8641
|
};
|
|
8652
8642
|
var contact = {}; // iterate into contact model to set nic infos
|
|
8653
8643
|
|
|
8654
|
-
|
|
8644
|
+
angular.forEach(keys(schemas.models['contact.Contact'].properties), function (key) {
|
|
8655
8645
|
if (key === 'address') {
|
|
8656
8646
|
contact.address = convertNicAddressToContactAddress(nic);
|
|
8657
8647
|
} else if (key === 'birthDay') {
|
|
@@ -8747,20 +8737,20 @@ function provider () {
|
|
|
8747
8737
|
var models = null;
|
|
8748
8738
|
|
|
8749
8739
|
function updateCreationRules(rules) {
|
|
8750
|
-
|
|
8751
|
-
if (
|
|
8740
|
+
angular.forEach(rules, function (value, key) {
|
|
8741
|
+
if (angular.isDefined(models[value.fullType])) {
|
|
8752
8742
|
if (models[value.fullType]) {
|
|
8753
|
-
if (
|
|
8743
|
+
if (angular.isArray(models[value.fullType]["enum"])) {
|
|
8754
8744
|
var enumId = models[value.fullType].id.replace(/Enum$/, '').toLowerCase();
|
|
8755
8745
|
set(rules, "".concat(key, ".values"), []);
|
|
8756
|
-
|
|
8746
|
+
angular.forEach(models[value.fullType]["enum"], function (enumValue) {
|
|
8757
8747
|
rules[key].values.push({
|
|
8758
8748
|
label: $translate.instant([['country', 'language'].indexOf(enumId) > -1 ? enumId : snakeCase$1("ovh_contact_edit_".concat(enumId)), enumValue].join('_')),
|
|
8759
8749
|
value: enumValue
|
|
8760
8750
|
});
|
|
8761
8751
|
});
|
|
8762
|
-
} else if (
|
|
8763
|
-
|
|
8752
|
+
} else if (angular.isObject(models[value.fullType].properties)) {
|
|
8753
|
+
angular.forEach(updateCreationRules(models[value.fullType].properties), function (subValue, subKey) {
|
|
8764
8754
|
// eslint-disable-next-line no-param-reassign
|
|
8765
8755
|
rules["".concat(key, ".").concat(subKey)] = subValue;
|
|
8766
8756
|
});
|
|
@@ -8841,33 +8831,33 @@ var EDITION = {
|
|
|
8841
8831
|
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'];
|
|
8842
8832
|
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])?$";
|
|
8843
8833
|
|
|
8844
|
-
|
|
8834
|
+
cssInjecta71063c5cb6170d3(".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");
|
|
8845
8835
|
|
|
8846
8836
|
function __variableDynamicImportRuntime1__(path) {
|
|
8847
8837
|
switch (path) {
|
|
8848
8838
|
case './translations/Messages_de_DE.json':
|
|
8849
|
-
return Promise.resolve().then(function () { return require('./Messages_de_DE-
|
|
8839
|
+
return Promise.resolve().then(function () { return require('./Messages_de_DE-5124e5d6.js'); });
|
|
8850
8840
|
|
|
8851
8841
|
case './translations/Messages_en_GB.json':
|
|
8852
|
-
return Promise.resolve().then(function () { return require('./Messages_en_GB-
|
|
8842
|
+
return Promise.resolve().then(function () { return require('./Messages_en_GB-743e5c9e.js'); });
|
|
8853
8843
|
|
|
8854
8844
|
case './translations/Messages_es_ES.json':
|
|
8855
|
-
return Promise.resolve().then(function () { return require('./Messages_es_ES-
|
|
8845
|
+
return Promise.resolve().then(function () { return require('./Messages_es_ES-db7fe42c.js'); });
|
|
8856
8846
|
|
|
8857
8847
|
case './translations/Messages_fr_CA.json':
|
|
8858
|
-
return Promise.resolve().then(function () { return require('./Messages_fr_CA-
|
|
8848
|
+
return Promise.resolve().then(function () { return require('./Messages_fr_CA-a5dc3c45.js'); });
|
|
8859
8849
|
|
|
8860
8850
|
case './translations/Messages_fr_FR.json':
|
|
8861
|
-
return Promise.resolve().then(function () { return require('./Messages_fr_FR-
|
|
8851
|
+
return Promise.resolve().then(function () { return require('./Messages_fr_FR-dfb66476.js'); });
|
|
8862
8852
|
|
|
8863
8853
|
case './translations/Messages_it_IT.json':
|
|
8864
|
-
return Promise.resolve().then(function () { return require('./Messages_it_IT-
|
|
8854
|
+
return Promise.resolve().then(function () { return require('./Messages_it_IT-10d45aac.js'); });
|
|
8865
8855
|
|
|
8866
8856
|
case './translations/Messages_pl_PL.json':
|
|
8867
|
-
return Promise.resolve().then(function () { return require('./Messages_pl_PL-
|
|
8857
|
+
return Promise.resolve().then(function () { return require('./Messages_pl_PL-f56b6bc9.js'); });
|
|
8868
8858
|
|
|
8869
8859
|
case './translations/Messages_pt_PT.json':
|
|
8870
|
-
return Promise.resolve().then(function () { return require('./Messages_pt_PT-
|
|
8860
|
+
return Promise.resolve().then(function () { return require('./Messages_pt_PT-30e5328a.js'); });
|
|
8871
8861
|
|
|
8872
8862
|
default:
|
|
8873
8863
|
return Promise.reject(new Error("Unknown variable dynamic import: " + path));
|
|
@@ -8877,35 +8867,35 @@ function __variableDynamicImportRuntime1__(path) {
|
|
|
8877
8867
|
function __variableDynamicImportRuntime0__(path) {
|
|
8878
8868
|
switch (path) {
|
|
8879
8869
|
case './translations/Messages_de_DE.json':
|
|
8880
|
-
return Promise.resolve().then(function () { return require('./Messages_de_DE-
|
|
8870
|
+
return Promise.resolve().then(function () { return require('./Messages_de_DE-5124e5d6.js'); });
|
|
8881
8871
|
|
|
8882
8872
|
case './translations/Messages_en_GB.json':
|
|
8883
|
-
return Promise.resolve().then(function () { return require('./Messages_en_GB-
|
|
8873
|
+
return Promise.resolve().then(function () { return require('./Messages_en_GB-743e5c9e.js'); });
|
|
8884
8874
|
|
|
8885
8875
|
case './translations/Messages_es_ES.json':
|
|
8886
|
-
return Promise.resolve().then(function () { return require('./Messages_es_ES-
|
|
8876
|
+
return Promise.resolve().then(function () { return require('./Messages_es_ES-db7fe42c.js'); });
|
|
8887
8877
|
|
|
8888
8878
|
case './translations/Messages_fr_CA.json':
|
|
8889
|
-
return Promise.resolve().then(function () { return require('./Messages_fr_CA-
|
|
8879
|
+
return Promise.resolve().then(function () { return require('./Messages_fr_CA-a5dc3c45.js'); });
|
|
8890
8880
|
|
|
8891
8881
|
case './translations/Messages_fr_FR.json':
|
|
8892
|
-
return Promise.resolve().then(function () { return require('./Messages_fr_FR-
|
|
8882
|
+
return Promise.resolve().then(function () { return require('./Messages_fr_FR-dfb66476.js'); });
|
|
8893
8883
|
|
|
8894
8884
|
case './translations/Messages_it_IT.json':
|
|
8895
|
-
return Promise.resolve().then(function () { return require('./Messages_it_IT-
|
|
8885
|
+
return Promise.resolve().then(function () { return require('./Messages_it_IT-10d45aac.js'); });
|
|
8896
8886
|
|
|
8897
8887
|
case './translations/Messages_pl_PL.json':
|
|
8898
|
-
return Promise.resolve().then(function () { return require('./Messages_pl_PL-
|
|
8888
|
+
return Promise.resolve().then(function () { return require('./Messages_pl_PL-f56b6bc9.js'); });
|
|
8899
8889
|
|
|
8900
8890
|
case './translations/Messages_pt_PT.json':
|
|
8901
|
-
return Promise.resolve().then(function () { return require('./Messages_pt_PT-
|
|
8891
|
+
return Promise.resolve().then(function () { return require('./Messages_pt_PT-30e5328a.js'); });
|
|
8902
8892
|
|
|
8903
8893
|
default:
|
|
8904
8894
|
return Promise.reject(new Error("Unknown variable dynamic import: " + path));
|
|
8905
8895
|
}
|
|
8906
8896
|
}
|
|
8907
8897
|
var moduleName = 'ngOvhContact';
|
|
8908
|
-
|
|
8898
|
+
angular.module(moduleName, ['ngTranslateAsyncLoader', 'pascalprecht.translate', 'ovh-api-services', 'ui.select', 'ui.bootstrap', 'ngOvhApiWrappers']).constant('CONTACT_EDITION', EDITION).constant('CONTACT_PROTOTYPE_PATH', PROTOTYPE_PATH).constant('CONTACT_EMAIL_REGEX', EMAIL_REGEX).component('ovhContactChoice', choiceComponent).component('ovhContact', component).component('ovhContactEdit', editComponent).factory('OvhContact', _ngInjectExport).provider('ovhContact', provider).run(["$templateCache", function ($templateCache) {
|
|
8909
8899
|
$templateCache.put('ngOvhContacts/choice/templates/match.tpl.html', choiceMatchTemplate);
|
|
8910
8900
|
$templateCache.put('ngOvhContacts/choice/templates/select.tpl.html', choiceSelectTemplate);
|
|
8911
8901
|
}]).run(["$translate", "$q", "asyncLoader", function ($translate, $q, asyncLoader) {
|