iptdevs-design-system 2.6.2 → 2.6.4
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/components.module.mjs +6 -1
- package/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +175 -0
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +1 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs +281 -112
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +281 -112
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/components/components.module.d.ts +15 -14
- package/lib/components/forms/create-user-form/create-user-form.component.d.ts +31 -0
- package/lib/core/models/attendance/attendance.interface.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -2,21 +2,22 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./atoms/aside-button/aside-button.component";
|
|
3
3
|
import * as i2 from "./atoms/button/button.component";
|
|
4
4
|
import * as i3 from "./atoms/checkbox/checkbox.component";
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./atoms/
|
|
7
|
-
import * as i6 from "./atoms/
|
|
8
|
-
import * as i7 from "./atoms/level-
|
|
9
|
-
import * as i8 from "./atoms/
|
|
10
|
-
import * as i9 from "./atoms/
|
|
11
|
-
import * as i10 from "./atoms/
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "@angular/
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
5
|
+
import * as i4 from "./forms/create-user-form/create-user-form.component";
|
|
6
|
+
import * as i5 from "./atoms/datalist/datalist.component";
|
|
7
|
+
import * as i6 from "./atoms/input/input.component";
|
|
8
|
+
import * as i7 from "./atoms/level-button/level-button.component";
|
|
9
|
+
import * as i8 from "./atoms/level-text/level-text.component";
|
|
10
|
+
import * as i9 from "./atoms/radio/radio.component";
|
|
11
|
+
import * as i10 from "./atoms/select/select.component";
|
|
12
|
+
import * as i11 from "./atoms/text-link/text-link.component";
|
|
13
|
+
import * as i12 from "./forms/login-form/login-form.component";
|
|
14
|
+
import * as i13 from "./molecules/sidenav/sidenav.component";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
17
|
+
import * as i16 from "./material.module";
|
|
18
|
+
import * as i17 from "ng2-currency-mask";
|
|
18
19
|
export declare class ComponentsModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AsideButtonComponent, typeof i2.ButtonComponent, typeof i3.CheckboxComponent, typeof i4.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AsideButtonComponent, typeof i2.ButtonComponent, typeof i3.CheckboxComponent, typeof i4.CreateUserFormComponent, typeof i5.DatalistComponent, typeof i6.InputComponent, typeof i7.LevelButtonComponent, typeof i8.LevelTextComponent, typeof i9.RadioComponent, typeof i10.SelectComponent, typeof i11.TextLinkComponent, typeof i12.LoginFormComponent, typeof i13.SidenavComponent], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.MaterialModule, typeof i17.CurrencyMaskModule], [typeof i1.AsideButtonComponent, typeof i2.ButtonComponent, typeof i3.CheckboxComponent, typeof i4.CreateUserFormComponent, typeof i5.DatalistComponent, typeof i6.InputComponent, typeof i7.LevelButtonComponent, typeof i8.LevelTextComponent, typeof i9.RadioComponent, typeof i10.SelectComponent, typeof i11.TextLinkComponent, typeof i12.LoginFormComponent, typeof i13.SidenavComponent, typeof i17.CurrencyMaskModule]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
|
|
22
23
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { ParameterService } from '../../../core/services/parameters-service/parameters.service';
|
|
4
|
+
import { UserService } from '../../../core/services/user-service/user-service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CreateUserFormComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
private parameterService;
|
|
9
|
+
private userService;
|
|
10
|
+
userType: string;
|
|
11
|
+
userCreated: EventEmitter<boolean>;
|
|
12
|
+
createUserForm: FormGroup;
|
|
13
|
+
phoneNumberIndicatives: any;
|
|
14
|
+
idTypes: any;
|
|
15
|
+
states: any;
|
|
16
|
+
loader: boolean;
|
|
17
|
+
cities: any;
|
|
18
|
+
constructor(fb: FormBuilder, parameterService: ParameterService, userService: UserService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
createUser(): void;
|
|
21
|
+
getParameters(): void;
|
|
22
|
+
initForm(): void;
|
|
23
|
+
getRolesOptions(): any;
|
|
24
|
+
selectRol(role: any): void;
|
|
25
|
+
selectIndicatives(indicative: any): void;
|
|
26
|
+
selectIdType(idType: any): void;
|
|
27
|
+
selectState(state: any): void;
|
|
28
|
+
selectCity(city: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateUserFormComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateUserFormComponent, "lib-create-user-form", never, { "userType": "userType"; }, { "userCreated": "userCreated"; }, never, never>;
|
|
31
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./lib/components/atoms/select/select.component";
|
|
|
13
13
|
export * from "./lib/components/atoms/text-link/text-link.component";
|
|
14
14
|
export * from "./lib/components/forms/login-form/login-form.component";
|
|
15
15
|
export * from "./lib/components/molecules/sidenav/sidenav.component";
|
|
16
|
+
export * from "./lib/components/forms/create-user-form/create-user-form.component";
|
|
16
17
|
export * from "./lib/core/services/attendance-service/attendance.service";
|
|
17
18
|
export * from "./lib/core/services/budget-service/budget-service";
|
|
18
19
|
export * from "./lib/core/services/course-service/course-service.model";
|