lightning-tec-br-angular-components 0.2.9 → 1.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.
@@ -1,12 +1,21 @@
1
- export declare enum TxtBoxTypesEnum {
2
- Email = 0,
3
- Password = 1
1
+ export declare enum FormFieldTxtInputTypesEnum {
2
+ Text = 0,
3
+ Password = 1,
4
+ Email = 2,
5
+ Number = 3,
6
+ Date = 4,
7
+ CellPhone = 5
4
8
  }
5
- export declare enum TxtBoxInputTypesEnum {
6
- Text = "text",
7
- Password = "password"
9
+ export declare enum FormFieldTypes {
10
+ TxtBox = 0,
11
+ ComboBox = 1
8
12
  }
9
- export declare enum TxtBoxIconsEnum {
13
+ export declare enum FormFieldCountryDataFormat {
14
+ Estados_Unidos = 0,
15
+ Brasil = 1
16
+ }
17
+ export declare enum FormFieldIconsEnum {
18
+ AddUser = "fi fi-sr-user-add",
10
19
  User = "fi fi-sr-user",
11
20
  Lock = "fi fi-sr-lock",
12
21
  EyeOpen = "fi fi-ss-eye",
@@ -22,9 +31,12 @@ export declare enum TxtBoxIconsEnum {
22
31
  Key = "fi fi-sr-key",
23
32
  Company = "fi fi-rs-building",
24
33
  NoteBook = "fi fi-br-notebook-alt",
25
- AddFile = "fi fi-rr-add-document"
34
+ AddFile = "fi fi-rr-add-document",
35
+ PageGoBack = "fi fi-rr-angle-circle-left",
36
+ PDFFile = "fi fi-sr-file-pdf",
37
+ DowloadFile = "fi fi-sr-file-download"
26
38
  }
27
- export declare enum TxtBoxFontWeights {
39
+ export declare enum FormFieldFontWeights {
28
40
  Thin = 100,
29
41
  ExtraLight = 200,
30
42
  Light = 300,
@@ -0,0 +1,11 @@
1
+ export declare class FormFieldModel {
2
+ name: string;
3
+ field: object;
4
+ }
5
+ export declare class FormFielTxtModel {
6
+ value: string;
7
+ }
8
+ export declare class FormFieldComboModel {
9
+ id: number;
10
+ value: string;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { Subject } from 'rxjs';
2
+ import { FormFieldModel } from "./form-field.model";
3
+ import { AlertModel } from "../alert/alert.model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class FormFieldService {
6
+ valueChanged: Subject<FormFieldModel>;
7
+ alertState: Subject<AlertModel>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormFieldService>;
10
+ }
@@ -5,6 +5,7 @@ export declare enum LabelIconPositionEnum {
5
5
  Left = 3
6
6
  }
7
7
  export declare enum LabelIconEnum {
8
+ AddUser = "fi fi-sr-user-add",
8
9
  User = "fi fi-sr-user",
9
10
  Lock = "fi fi-sr-lock",
10
11
  EyeOpen = "fi fi-ss-eye",
@@ -20,7 +21,10 @@ export declare enum LabelIconEnum {
20
21
  Key = "fi fi-sr-key",
21
22
  Company = "fi fi-rs-building",
22
23
  NoteBook = "fi fi-br-notebook-alt",
23
- AddFile = "fi fi-rr-add-document"
24
+ AddFile = "fi fi-rr-add-document",
25
+ PageGoBack = "fi fi-rr-angle-circle-left",
26
+ PDFFile = "fi fi-sr-file-pdf",
27
+ DowloadFile = "fi fi-sr-file-download"
24
28
  }
25
29
  export declare enum LabelFontWeights {
26
30
  Thin = 100,
@@ -1,4 +1,5 @@
1
1
  export declare enum ListItemIcons {
2
+ AddUser = "fi fi-sr-user-add",
2
3
  User = "fi fi-sr-user",
3
4
  Lock = "fi fi-sr-lock",
4
5
  EyeOpen = "fi fi-ss-eye",
@@ -14,7 +15,10 @@ export declare enum ListItemIcons {
14
15
  Key = "fi fi-sr-key",
15
16
  Company = "fi fi-rs-building",
16
17
  NoteBook = "fi fi-br-notebook-alt",
17
- AddFile = "fi fi-rr-add-document"
18
+ AddFile = "fi fi-rr-add-document",
19
+ PageGoBack = "fi fi-rr-angle-circle-left",
20
+ PDFFile = "fi fi-sr-file-pdf",
21
+ DowloadFile = "fi fi-sr-file-download"
18
22
  }
19
23
  export declare enum ListItemPositions {
20
24
  Top = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightning-tec-br-angular-components",
3
- "version": "0.2.9",
3
+ "version": "1.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
package/public-api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export * from './lib/txt-box/txt-box.component';
2
- export * from './lib/txt-box/txt-box.enum';
3
- export * from './lib/txt-box/txt-box.model';
4
- export * from './lib/txt-box/txt-box.service';
1
+ export * from './lib/form-field/form-field.component';
2
+ export * from './lib/form-field/form-field.enum';
3
+ export * from './lib/form-field/form-field.model';
4
+ export * from './lib/form-field/form-field.service';
5
5
  export * from './lib/button/button.component';
6
6
  export * from './lib/button/button.enum';
7
7
  export * from './lib/button/button.model';
@@ -1,39 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { TxtBoxTypesEnum, TxtBoxIconsEnum, TxtBoxFontWeights } from './txt-box.enum';
3
- import { TxtBoxService } from './txt-box.service';
4
- import { TxtBoxModel } from './txt-box.model';
5
- import { AlertTypesEnum } from '../alert/alert.enum';
6
- import { AlertService } from '../alert/alert.service';
7
- import * as i0 from "@angular/core";
8
- export declare class TxtBoxComponent implements OnInit {
9
- private element;
10
- _iconInput: import("@angular/core").InputSignal<TxtBoxIconsEnum>;
11
- _nameInput: import("@angular/core").InputSignal<string>;
12
- _idInput: import("@angular/core").InputSignal<string | undefined>;
13
- _placeHolderType: string;
14
- _placeHolderValue: import("@angular/core").InputSignal<string>;
15
- _PasswordIcon: string;
16
- _CorIcone: import("@angular/core").InputSignal<string>;
17
- _CorFont: import("@angular/core").InputSignal<string>;
18
- _FontSize: import("@angular/core").InputSignal<number>;
19
- _IconEnabled: string;
20
- _FontFamily: import("@angular/core").InputSignal<string>;
21
- _FontWeight: import("@angular/core").InputSignal<TxtBoxFontWeights>;
22
- typeInput: import("@angular/core").InputSignal<TxtBoxTypesEnum>;
23
- IconEnabled: import("@angular/core").InputSignal<boolean>;
24
- text: string;
25
- TxtBoxModel: TxtBoxModel;
26
- _AlertState: boolean;
27
- readonly AlertTypesEnum: typeof AlertTypesEnum;
28
- readonly TxtBoxIconsEnum: typeof TxtBoxIconsEnum;
29
- readonly TxtBoxTypesEnum: typeof TxtBoxTypesEnum;
30
- TxtBoxService: TxtBoxService;
31
- AlertService: AlertService;
32
- constructor(element: ElementRef);
33
- ngOnInit(): void;
34
- onValueChanged(): void;
35
- startListenToAlertState(): void;
36
- togglePasswordView(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<TxtBoxComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<TxtBoxComponent, "app-txt-box", never, { "_iconInput": { "alias": "_iconInput"; "required": true; "isSignal": true; }; "_nameInput": { "alias": "_nameInput"; "required": true; "isSignal": true; }; "_idInput": { "alias": "_idInput"; "required": false; "isSignal": true; }; "_placeHolderValue": { "alias": "_placeHolderValue"; "required": true; "isSignal": true; }; "_CorIcone": { "alias": "_CorIcone"; "required": true; "isSignal": true; }; "_CorFont": { "alias": "_CorFont"; "required": true; "isSignal": true; }; "_FontSize": { "alias": "_FontSize"; "required": true; "isSignal": true; }; "_FontFamily": { "alias": "_FontFamily"; "required": true; "isSignal": true; }; "_FontWeight": { "alias": "_FontWeight"; "required": true; "isSignal": true; }; "typeInput": { "alias": "typeInput"; "required": true; "isSignal": true; }; "IconEnabled": { "alias": "IconEnabled"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
39
- }
@@ -1,4 +0,0 @@
1
- export declare class TxtBoxModel {
2
- name: string;
3
- value: string;
4
- }
@@ -1,10 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- import { TxtBoxModel } from "./txt-box.model";
3
- import { AlertModel } from "../alert/alert.model";
4
- import * as i0 from "@angular/core";
5
- export declare class TxtBoxService {
6
- value: Subject<TxtBoxModel>;
7
- alertState: Subject<AlertModel>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TxtBoxService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<TxtBoxService>;
10
- }