iptdevs-design-system 3.1.60 → 3.1.62
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/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +7 -7
- package/esm2020/lib/core/utils/base-service/base.service.mjs +9 -1
- package/fesm2015/iptdevs-design-system.mjs +14 -6
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +14 -6
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1030,6 +1030,14 @@ class BaseService {
|
|
|
1030
1030
|
});
|
|
1031
1031
|
resolve(false);
|
|
1032
1032
|
break;
|
|
1033
|
+
case 5:
|
|
1034
|
+
Swal.fire({
|
|
1035
|
+
'title': '<p style="font-family: Poppins"">Warning!</p>',
|
|
1036
|
+
'html': '<p style="font-family: Poppins"">your account is in inactive status contact support.</p>',
|
|
1037
|
+
'icon': 'warning',
|
|
1038
|
+
});
|
|
1039
|
+
resolve(false);
|
|
1040
|
+
break;
|
|
1033
1041
|
default:
|
|
1034
1042
|
Swal.fire({
|
|
1035
1043
|
'title': '<p style="font-family: Poppins"">Error!</p>',
|
|
@@ -1588,17 +1596,17 @@ class CreateUserFormComponent {
|
|
|
1588
1596
|
}
|
|
1589
1597
|
setPhoto(type) {
|
|
1590
1598
|
if (type === 'student')
|
|
1591
|
-
this.photo = '
|
|
1599
|
+
this.photo = '/platform/academic/assets/student.jpg';
|
|
1592
1600
|
if (type === 'academic')
|
|
1593
|
-
this.photo = '
|
|
1601
|
+
this.photo = '/platform/academic/assets/academico.png';
|
|
1594
1602
|
if (type === 'administrative')
|
|
1595
|
-
this.photo = '
|
|
1603
|
+
this.photo = '/platform/administrative/assets/administrativo.jpg';
|
|
1596
1604
|
if (type === 'marketing')
|
|
1597
|
-
this.photo = '
|
|
1605
|
+
this.photo = '/platform/marketing/assets//marketing.jpg';
|
|
1598
1606
|
if (type === 'commercial')
|
|
1599
|
-
this.photo = '
|
|
1607
|
+
this.photo = '/platform/commercial/assets/user-form-assets/comercial.jpg';
|
|
1600
1608
|
if (type === 'treasure')
|
|
1601
|
-
this.photo = '
|
|
1609
|
+
this.photo = '/platform/treasure/assets/administrativo.jpg';
|
|
1602
1610
|
}
|
|
1603
1611
|
selectRol(role) {
|
|
1604
1612
|
if (role !== 'Seleccione el rol') {
|