lightning-tec-br-angular-components 0.1.1 → 0.1.3
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/fesm2022/lightning-tec-br-angular-components.mjs +195 -57
- package/fesm2022/lightning-tec-br-angular-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +30 -0
- package/lib/alert/alert.enum.d.ts +18 -0
- package/lib/alert/alert.model.d.ts +6 -3
- package/lib/alert/alert.service.d.ts +3 -5
- package/lib/button/button.component.d.ts +16 -9
- package/lib/button/button.model.d.ts +1 -0
- package/lib/button/button.service.d.ts +2 -1
- package/lib/list-item/list-item.component.d.ts +4 -0
- package/lib/txt-box/txt-box.component.d.ts +11 -3
- package/lib/txt-box/txt-box.service.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/esm2022/lib/txt-box/txt-box.component.mjs +0 -64
- package/esm2022/lib/txt-box/txt-box.enum.mjs +0 -25
- package/esm2022/lib/txt-box/txt-box.model.mjs +0 -7
- package/esm2022/lib/txt-box/txt-box.service.mjs +0 -15
- package/esm2022/lightning-tec-br-angular-components.mjs +0 -5
- package/esm2022/public-api.mjs +0 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, input, inject, Component
|
|
2
|
+
import { Injectable, input, inject, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
@@ -46,6 +46,7 @@ var TxtBoxFontWeights;
|
|
|
46
46
|
class TxtBoxService {
|
|
47
47
|
constructor() {
|
|
48
48
|
this.value = new Subject();
|
|
49
|
+
this.alertState = new Subject();
|
|
49
50
|
}
|
|
50
51
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TxtBoxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
51
52
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TxtBoxService, providedIn: 'root' }); }
|
|
@@ -62,8 +63,124 @@ class TxtBoxModel {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
var AlertIconsEnum;
|
|
67
|
+
(function (AlertIconsEnum) {
|
|
68
|
+
AlertIconsEnum["User"] = "fi fi-sr-user";
|
|
69
|
+
AlertIconsEnum["Lock"] = "fi fi-sr-lock";
|
|
70
|
+
AlertIconsEnum["EyeOpen"] = "fi fi-ss-eye";
|
|
71
|
+
AlertIconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
|
|
72
|
+
AlertIconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
|
|
73
|
+
AlertIconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
|
|
74
|
+
AlertIconsEnum["Done"] = "fi fi-sr-octagon-check";
|
|
75
|
+
AlertIconsEnum["Doing"] = "fi fi-br-duration-alt";
|
|
76
|
+
AlertIconsEnum["NotDone"] = "fi fi-sr-cross-circle";
|
|
77
|
+
AlertIconsEnum["Alert"] = "fi fi-sr-exclamation";
|
|
78
|
+
AlertIconsEnum["Close"] = "fi fi-br-cross";
|
|
79
|
+
})(AlertIconsEnum || (AlertIconsEnum = {}));
|
|
80
|
+
var AlertTypesEnum;
|
|
81
|
+
(function (AlertTypesEnum) {
|
|
82
|
+
AlertTypesEnum[AlertTypesEnum["Done"] = 0] = "Done";
|
|
83
|
+
AlertTypesEnum[AlertTypesEnum["Alert"] = 1] = "Alert";
|
|
84
|
+
AlertTypesEnum[AlertTypesEnum["NotDone"] = 2] = "NotDone";
|
|
85
|
+
})(AlertTypesEnum || (AlertTypesEnum = {}));
|
|
86
|
+
|
|
87
|
+
class AlertService {
|
|
66
88
|
constructor() {
|
|
89
|
+
this.wasOpenned = new Subject();
|
|
90
|
+
this.wasClosed = new Subject();
|
|
91
|
+
}
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
93
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, providedIn: 'root' }); }
|
|
94
|
+
}
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, decorators: [{
|
|
96
|
+
type: Injectable,
|
|
97
|
+
args: [{ providedIn: 'root' }]
|
|
98
|
+
}] });
|
|
99
|
+
|
|
100
|
+
class AlertModel {
|
|
101
|
+
constructor() {
|
|
102
|
+
this.alertsName = '';
|
|
103
|
+
this.alertsFatherName = '';
|
|
104
|
+
this.top = 0;
|
|
105
|
+
this.left = 0;
|
|
106
|
+
this.text = '';
|
|
107
|
+
this.wasClosed = false;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
class AlertComponent {
|
|
112
|
+
constructor(cd) {
|
|
113
|
+
this.cd = cd;
|
|
114
|
+
this.Name = input.required();
|
|
115
|
+
this._FontSize = input.required();
|
|
116
|
+
this._FontFamily = input.required();
|
|
117
|
+
this._FontWeight = input.required();
|
|
118
|
+
this._FontColor = 'white';
|
|
119
|
+
this._Text = '';
|
|
120
|
+
this._PositionY = 0;
|
|
121
|
+
this._PositionX = 0;
|
|
122
|
+
this._Icon = '';
|
|
123
|
+
this.BackgroundColor = '';
|
|
124
|
+
this._IconClose = '';
|
|
125
|
+
this.isVisible = false;
|
|
126
|
+
this.AlertService = inject(AlertService);
|
|
127
|
+
}
|
|
128
|
+
ngOnInit() {
|
|
129
|
+
this._PositionX = 0;
|
|
130
|
+
this._PositionY = 0;
|
|
131
|
+
this._FontColor = 'white';
|
|
132
|
+
this._Icon = '';
|
|
133
|
+
this.BackgroundColor = '';
|
|
134
|
+
this._IconClose = '';
|
|
135
|
+
this.AlertModel = new AlertModel();
|
|
136
|
+
this._IconClose = AlertIconsEnum.Close;
|
|
137
|
+
this.startListenToAlertShowed();
|
|
138
|
+
}
|
|
139
|
+
OnClose() {
|
|
140
|
+
this.isVisible = false;
|
|
141
|
+
this.AlertModel.alertsName = this.Name();
|
|
142
|
+
this.AlertModel.wasClosed = true;
|
|
143
|
+
this.AlertService.wasClosed.next(this.AlertModel);
|
|
144
|
+
}
|
|
145
|
+
startListenToAlertShowed() {
|
|
146
|
+
this.AlertService.wasOpenned.subscribe((AlertModel) => {
|
|
147
|
+
if (this.Name() == AlertModel.alertsName) {
|
|
148
|
+
this._Text = AlertModel.text;
|
|
149
|
+
this.AlertType = AlertModel.type;
|
|
150
|
+
this._PositionY = AlertModel.top;
|
|
151
|
+
this._PositionX = AlertModel.left;
|
|
152
|
+
this.isVisible = true;
|
|
153
|
+
switch (this.AlertType) {
|
|
154
|
+
case (AlertTypesEnum.Done):
|
|
155
|
+
this._Icon = AlertIconsEnum.Done;
|
|
156
|
+
this.BackgroundColor = '#008B10';
|
|
157
|
+
this._FontColor = 'white';
|
|
158
|
+
break;
|
|
159
|
+
case (AlertTypesEnum.Alert):
|
|
160
|
+
this._Icon = AlertIconsEnum.Alert;
|
|
161
|
+
this.BackgroundColor = '#DFCD00';
|
|
162
|
+
this._FontColor = 'black';
|
|
163
|
+
break;
|
|
164
|
+
case (AlertTypesEnum.NotDone):
|
|
165
|
+
this._Icon = AlertIconsEnum.NotDone;
|
|
166
|
+
this.BackgroundColor = '#D40000';
|
|
167
|
+
this._FontColor = 'white';
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: AlertComponent, isStandalone: true, selector: "app-alert", inputs: { Name: { classPropertyName: "Name", publicName: "Name", isSignal: true, isRequired: true, transformFunction: null }, _FontSize: { classPropertyName: "_FontSize", publicName: "_FontSize", isSignal: true, isRequired: true, transformFunction: null }, _FontFamily: { classPropertyName: "_FontFamily", publicName: "_FontFamily", isSignal: true, isRequired: true, transformFunction: null }, _FontWeight: { classPropertyName: "_FontWeight", publicName: "_FontWeight", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"container\"\r\n[style.background-color]=\"BackgroundColor\"\r\n[style.border-radius]=\"(_FontSize()*0.5) + 'px'\"\r\n[style.color]=\"_FontColor\"\r\n[style.display]=\"isVisible ? '' : 'none'\"\r\n[style.top]=\"_PositionY + 'px'\"\r\n[style.left]=\"_PositionX + 'px'\"\r\n>\r\n\r\n <i class=\"{{_IconClose}}\"\r\n [style.font-size]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.6) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*0.6) + 'px'\"\r\n (click)=\"OnClose()\"\r\n >\r\n\r\n </i>\r\n\r\n <div class=\"container-text\"\r\n [style.margin-right]=\"_FontSize() + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.4) + 'px'\"\r\n [style.padding-bottom]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-left]=\"(_FontSize()*1) + 'px'\"\r\n >\r\n <i class=\"{{_Icon}}\"\r\n [style.font-size]=\"(_FontSize()*1.2) + 'px'\"\r\n [style.margin-right]=\"(_FontSize()*0.5) + 'px'\"\r\n >\r\n \r\n </i>\r\n <h1\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.font-size]=\"_FontSize() + 'px'\"\r\n >\r\n {{_Text}}\r\n </h1>\r\n </div>\r\n\r\n\r\n\r\n\r\n</div>\r\n", styles: [".container{width:fit-content;height:fit-content;max-width:70vw;position:absolute}.container>i{display:block;line-height:0px;text-align:end}.container>i:hover{cursor:pointer}.container>.container-text{display:flex;align-items:center;justify-content:center}.container>.container-text>i{line-height:0px;text-align:center}.container>.container-text>h1{margin:0;word-break:break-word}\n"] }); }
|
|
175
|
+
}
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertComponent, decorators: [{
|
|
177
|
+
type: Component,
|
|
178
|
+
args: [{ selector: 'app-alert', standalone: true, imports: [], template: "<div class=\"container\"\r\n[style.background-color]=\"BackgroundColor\"\r\n[style.border-radius]=\"(_FontSize()*0.5) + 'px'\"\r\n[style.color]=\"_FontColor\"\r\n[style.display]=\"isVisible ? '' : 'none'\"\r\n[style.top]=\"_PositionY + 'px'\"\r\n[style.left]=\"_PositionX + 'px'\"\r\n>\r\n\r\n <i class=\"{{_IconClose}}\"\r\n [style.font-size]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.6) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*0.6) + 'px'\"\r\n (click)=\"OnClose()\"\r\n >\r\n\r\n </i>\r\n\r\n <div class=\"container-text\"\r\n [style.margin-right]=\"_FontSize() + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.4) + 'px'\"\r\n [style.padding-bottom]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-left]=\"(_FontSize()*1) + 'px'\"\r\n >\r\n <i class=\"{{_Icon}}\"\r\n [style.font-size]=\"(_FontSize()*1.2) + 'px'\"\r\n [style.margin-right]=\"(_FontSize()*0.5) + 'px'\"\r\n >\r\n \r\n </i>\r\n <h1\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.font-size]=\"_FontSize() + 'px'\"\r\n >\r\n {{_Text}}\r\n </h1>\r\n </div>\r\n\r\n\r\n\r\n\r\n</div>\r\n", styles: [".container{width:fit-content;height:fit-content;max-width:70vw;position:absolute}.container>i{display:block;line-height:0px;text-align:end}.container>i:hover{cursor:pointer}.container>.container-text{display:flex;align-items:center;justify-content:center}.container>.container-text>i{line-height:0px;text-align:center}.container>.container-text>h1{margin:0;word-break:break-word}\n"] }]
|
|
179
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
|
|
180
|
+
|
|
181
|
+
class TxtBoxComponent {
|
|
182
|
+
constructor(element) {
|
|
183
|
+
this.element = element;
|
|
67
184
|
//Template Properties
|
|
68
185
|
this._iconInput = input.required();
|
|
69
186
|
this._nameInput = input.required();
|
|
@@ -81,16 +198,23 @@ class TxtBoxComponent {
|
|
|
81
198
|
this.typeInput = input.required();
|
|
82
199
|
this.IconEnabled = input.required();
|
|
83
200
|
this.text = '';
|
|
84
|
-
this.
|
|
201
|
+
this.TxtBoxModel = new TxtBoxModel();
|
|
202
|
+
this._AlertState = false;
|
|
203
|
+
this.AlertTypesEnum = AlertTypesEnum;
|
|
85
204
|
//Services
|
|
86
|
-
this.
|
|
205
|
+
this.TxtBoxService = inject(TxtBoxService);
|
|
206
|
+
this.AlertService = inject(AlertService);
|
|
87
207
|
}
|
|
88
208
|
ngOnInit() {
|
|
89
209
|
//Limpa as Memórias de Estado
|
|
90
210
|
this._IconEnabled = '';
|
|
91
211
|
this._placeHolderType = '';
|
|
92
212
|
this._placeHolderValue = '';
|
|
213
|
+
this._AlertState = false;
|
|
214
|
+
this.TxtBoxModel.name = '';
|
|
215
|
+
this.TxtBoxModel.name = this._nameInput();
|
|
93
216
|
this._IconEnabled = this.IconEnabled() ? '' : 'none';
|
|
217
|
+
this.startListenToAlertState();
|
|
94
218
|
switch (this.typeInput()) {
|
|
95
219
|
case (TxtBoxTypesEnum.Email):
|
|
96
220
|
{
|
|
@@ -107,16 +231,26 @@ class TxtBoxComponent {
|
|
|
107
231
|
}
|
|
108
232
|
}
|
|
109
233
|
onValueChanged() {
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
234
|
+
this.TxtBoxModel.name = this._nameInput();
|
|
235
|
+
this.TxtBoxService.value.next(this.TxtBoxModel);
|
|
112
236
|
}
|
|
113
|
-
|
|
114
|
-
|
|
237
|
+
startListenToAlertState() {
|
|
238
|
+
this.TxtBoxService.alertState.subscribe((callerData) => {
|
|
239
|
+
if (this._nameInput() == callerData.alertsFatherName) {
|
|
240
|
+
callerData.top = this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight;
|
|
241
|
+
callerData.left = this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth;
|
|
242
|
+
callerData.alertsName = this.TxtBoxModel.name + '-alert';
|
|
243
|
+
this.AlertService.wasOpenned.next(callerData);
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TxtBoxComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
248
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: TxtBoxComponent, isStandalone: true, selector: "app-txt-box", inputs: { _iconInput: { classPropertyName: "_iconInput", publicName: "_iconInput", isSignal: true, isRequired: true, transformFunction: null }, _nameInput: { classPropertyName: "_nameInput", publicName: "_nameInput", isSignal: true, isRequired: true, transformFunction: null }, _idInput: { classPropertyName: "_idInput", publicName: "_idInput", isSignal: true, isRequired: false, transformFunction: null }, _CorIcone: { classPropertyName: "_CorIcone", publicName: "_CorIcone", isSignal: true, isRequired: true, transformFunction: null }, _CorFont: { classPropertyName: "_CorFont", publicName: "_CorFont", isSignal: true, isRequired: true, transformFunction: null }, _FontSize: { classPropertyName: "_FontSize", publicName: "_FontSize", isSignal: true, isRequired: true, transformFunction: null }, _FontFamily: { classPropertyName: "_FontFamily", publicName: "_FontFamily", isSignal: true, isRequired: true, transformFunction: null }, _FontWeight: { classPropertyName: "_FontWeight", publicName: "_FontWeight", isSignal: true, isRequired: true, transformFunction: null }, typeInput: { classPropertyName: "typeInput", publicName: "typeInput", isSignal: true, isRequired: true, transformFunction: null }, IconEnabled: { classPropertyName: "IconEnabled", publicName: "IconEnabled", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"TxtBoxModel.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n<app-alert\r\n[Name]=\"_nameInput()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_FontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n\r\n\r\n\r\n\r\n", styles: [":host{display:inline-block}.container{display:flex;align-items:center}i{line-height:0px}input{background-color:transparent;border:none;padding:0}input:focus{outline:none;box-sizing:content-box}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AlertComponent, selector: "app-alert", inputs: ["Name", "_FontSize", "_FontFamily", "_FontWeight"] }] }); }
|
|
115
249
|
}
|
|
116
250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TxtBoxComponent, decorators: [{
|
|
117
251
|
type: Component,
|
|
118
|
-
args: [{ selector: 'app-txt-box', standalone: true, imports: [FormsModule, CommonModule], template: "<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"
|
|
119
|
-
}] });
|
|
252
|
+
args: [{ selector: 'app-txt-box', standalone: true, imports: [FormsModule, CommonModule, AlertComponent], template: "<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"TxtBoxModel.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n<app-alert\r\n[Name]=\"_nameInput()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_FontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n\r\n\r\n\r\n\r\n", styles: [":host{display:inline-block}.container{display:flex;align-items:center}i{line-height:0px}input{background-color:transparent;border:none;padding:0}input:focus{outline:none;box-sizing:content-box}\n"] }]
|
|
253
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
120
254
|
|
|
121
255
|
var ButtonTypeEnum;
|
|
122
256
|
(function (ButtonTypeEnum) {
|
|
@@ -162,7 +296,8 @@ var ButtonFontWeights;
|
|
|
162
296
|
class ButtonService {
|
|
163
297
|
constructor() {
|
|
164
298
|
this.click = new Subject();
|
|
165
|
-
this.
|
|
299
|
+
this.loadingState = new Subject();
|
|
300
|
+
this.alertState = new Subject();
|
|
166
301
|
}
|
|
167
302
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
168
303
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonService, providedIn: 'root' }); }
|
|
@@ -175,31 +310,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
175
310
|
class ButtonModel {
|
|
176
311
|
constructor() {
|
|
177
312
|
this.name = '';
|
|
313
|
+
this.state = false;
|
|
178
314
|
}
|
|
179
315
|
}
|
|
180
316
|
|
|
181
|
-
class AlertService {
|
|
182
|
-
constructor() {
|
|
183
|
-
this.wasOpenned = new Subject();
|
|
184
|
-
this.wasClosed = new Subject();
|
|
185
|
-
}
|
|
186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
187
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, providedIn: 'root' }); }
|
|
188
|
-
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AlertService, decorators: [{
|
|
190
|
-
type: Injectable,
|
|
191
|
-
args: [{ providedIn: 'root' }]
|
|
192
|
-
}] });
|
|
193
|
-
const WINDOW = new InjectionToken('WindowToken', {
|
|
194
|
-
factory: () => {
|
|
195
|
-
if (typeof window !== 'undefined') {
|
|
196
|
-
return window;
|
|
197
|
-
}
|
|
198
|
-
return new Window(); // does this work?
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
|
|
202
317
|
class ButtonComponent {
|
|
318
|
+
;
|
|
203
319
|
constructor(element) {
|
|
204
320
|
this.element = element;
|
|
205
321
|
this._BackGroundColor = '';
|
|
@@ -214,13 +330,13 @@ class ButtonComponent {
|
|
|
214
330
|
this._IconDistanceFromTextObject = {};
|
|
215
331
|
this._IconColor = '';
|
|
216
332
|
this._IconDistanceFromText = input.required();
|
|
217
|
-
this._IconEnabled =
|
|
333
|
+
this._IconEnabled = input.required();
|
|
218
334
|
this._TextColor = '';
|
|
219
335
|
this._Text = input.required();
|
|
220
336
|
this._FontSize = input.required();
|
|
221
337
|
this._FontWeight = input.required();
|
|
222
338
|
this._TextFontFamily = input.required();
|
|
223
|
-
this.
|
|
339
|
+
this._TextEnabled = input.required();
|
|
224
340
|
this.name = input.required();
|
|
225
341
|
this.BackGroundColorNormal = input.required();
|
|
226
342
|
this.BackGroundColorHover = input.required();
|
|
@@ -229,12 +345,14 @@ class ButtonComponent {
|
|
|
229
345
|
this.TextColorNormal = input.required();
|
|
230
346
|
this.TextColorHover = input.required();
|
|
231
347
|
this.IconOrientation = input.required();
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
348
|
+
this._LoadingState = false;
|
|
349
|
+
this._AlertState = false;
|
|
350
|
+
this.ButtonModel = new ButtonModel();
|
|
351
|
+
this.ButtonService = inject(ButtonService);
|
|
352
|
+
this.AlertService = inject(AlertService);
|
|
353
|
+
this.TxtBoxService = inject(TxtBoxService);
|
|
354
|
+
this.AlertModel = new AlertModel();
|
|
355
|
+
this.AlertTypesEnum = AlertTypesEnum;
|
|
238
356
|
}
|
|
239
357
|
ngOnInit() {
|
|
240
358
|
//Limpa as Memórias de Estado
|
|
@@ -242,33 +360,32 @@ class ButtonComponent {
|
|
|
242
360
|
this._IconColor = '';
|
|
243
361
|
this._TextColor = '';
|
|
244
362
|
this._IconDistanceFromTextObject = {};
|
|
245
|
-
this._IconEnabled = '';
|
|
246
363
|
this._IconFontSize = 0;
|
|
247
364
|
this._IconOrientation = '';
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this._TextEnabled = this.TextEnabled() ? '' : 'none';
|
|
365
|
+
this.ButtonModel = new ButtonModel();
|
|
366
|
+
this._LoadingState = false;
|
|
367
|
+
this._AlertState = false;
|
|
252
368
|
this._BackGroundColor = this.BackGroundColorNormal();
|
|
253
369
|
this._IconColor = this.IconColorNormal();
|
|
254
370
|
this._TextColor = this.TextColorNormal();
|
|
255
|
-
this._IconEnabled = this.IconEnabled() ? '' : 'none';
|
|
256
371
|
this._IconFontSize = this._FontSize() * 1.25;
|
|
372
|
+
this.startListenToLoadingState();
|
|
373
|
+
this.startListenToAlertState();
|
|
257
374
|
switch (this.IconOrientation()) {
|
|
258
375
|
case (ButtonIconPositionEnum.Top):
|
|
259
376
|
this._IconOrientation = 'column';
|
|
260
|
-
this._IconDistanceFromTextObject = this.
|
|
377
|
+
this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-bottom': this._IconDistanceFromText().toString() + 'px' } : {};
|
|
261
378
|
break;
|
|
262
379
|
case (ButtonIconPositionEnum.Right):
|
|
263
380
|
this._IconOrientation = 'row-reverse';
|
|
264
|
-
this._IconDistanceFromTextObject = this.
|
|
381
|
+
this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-left': this._IconDistanceFromText().toString() + 'px' } : {};
|
|
265
382
|
break;
|
|
266
383
|
case (ButtonIconPositionEnum.Bottom):
|
|
267
384
|
this._IconOrientation = 'column-reverse';
|
|
268
|
-
this._IconDistanceFromTextObject = this.
|
|
385
|
+
this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-top': this._IconDistanceFromText().toString() + 'px' } : {};
|
|
269
386
|
break;
|
|
270
387
|
case (ButtonIconPositionEnum.Left):
|
|
271
|
-
this._IconDistanceFromTextObject = this.
|
|
388
|
+
this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-right': this._IconDistanceFromText().toString() + 'px' } : {};
|
|
272
389
|
break;
|
|
273
390
|
}
|
|
274
391
|
}
|
|
@@ -283,18 +400,34 @@ class ButtonComponent {
|
|
|
283
400
|
this._TextColor = this.TextColorNormal();
|
|
284
401
|
}
|
|
285
402
|
OnClick() {
|
|
286
|
-
this.
|
|
287
|
-
|
|
288
|
-
|
|
403
|
+
this.ButtonModel.name = this.name();
|
|
404
|
+
this.ButtonModel.state = true;
|
|
405
|
+
this.ButtonService.click.next(this.ButtonModel);
|
|
406
|
+
this.ButtonService.loadingState.next(this.ButtonModel);
|
|
407
|
+
}
|
|
408
|
+
startListenToLoadingState() {
|
|
409
|
+
this.ButtonService.loadingState.subscribe((callerData) => {
|
|
410
|
+
if (this.name() == callerData.name) {
|
|
411
|
+
this._LoadingState = callerData.state;
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
startListenToAlertState() {
|
|
416
|
+
this.TxtBoxService.alertState.subscribe((callerData) => {
|
|
417
|
+
if (this.name() == callerData.alertsFatherName) {
|
|
418
|
+
callerData.top = this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight;
|
|
419
|
+
callerData.left = this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth;
|
|
420
|
+
callerData.alertsName = this.ButtonModel.name + '-alert';
|
|
421
|
+
this.AlertService.wasOpenned.next(callerData);
|
|
422
|
+
}
|
|
289
423
|
});
|
|
290
|
-
this.service.click.next(this.model);
|
|
291
424
|
}
|
|
292
425
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
293
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: ButtonComponent, isStandalone: true, selector: "app-button", inputs: { _ButtonType: { classPropertyName: "_ButtonType", publicName: "_ButtonType", isSignal: true, isRequired: true, transformFunction: null }, _BorderRadius: { classPropertyName: "_BorderRadius", publicName: "_BorderRadius", isSignal: true, isRequired: true, transformFunction: null }, _Width: { classPropertyName: "_Width", publicName: "_Width", isSignal: true, isRequired: true, transformFunction: null }, _Height: { classPropertyName: "_Height", publicName: "_Height", isSignal: true, isRequired: true, transformFunction: null }, _Icon: { classPropertyName: "_Icon", publicName: "_Icon", isSignal: true, isRequired: true, transformFunction: null }, _IconDistanceFromText: { classPropertyName: "_IconDistanceFromText", publicName: "_IconDistanceFromText", isSignal: true, isRequired: true, transformFunction: null },
|
|
426
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: ButtonComponent, isStandalone: true, selector: "app-button", inputs: { _ButtonType: { classPropertyName: "_ButtonType", publicName: "_ButtonType", isSignal: true, isRequired: true, transformFunction: null }, _BorderRadius: { classPropertyName: "_BorderRadius", publicName: "_BorderRadius", isSignal: true, isRequired: true, transformFunction: null }, _Width: { classPropertyName: "_Width", publicName: "_Width", isSignal: true, isRequired: true, transformFunction: null }, _Height: { classPropertyName: "_Height", publicName: "_Height", isSignal: true, isRequired: true, transformFunction: null }, _Icon: { classPropertyName: "_Icon", publicName: "_Icon", isSignal: true, isRequired: true, transformFunction: null }, _IconDistanceFromText: { classPropertyName: "_IconDistanceFromText", publicName: "_IconDistanceFromText", isSignal: true, isRequired: true, transformFunction: null }, _IconEnabled: { classPropertyName: "_IconEnabled", publicName: "_IconEnabled", isSignal: true, isRequired: true, transformFunction: null }, _Text: { classPropertyName: "_Text", publicName: "_Text", isSignal: true, isRequired: true, transformFunction: null }, _FontSize: { classPropertyName: "_FontSize", publicName: "_FontSize", isSignal: true, isRequired: true, transformFunction: null }, _FontWeight: { classPropertyName: "_FontWeight", publicName: "_FontWeight", isSignal: true, isRequired: true, transformFunction: null }, _TextFontFamily: { classPropertyName: "_TextFontFamily", publicName: "_TextFontFamily", isSignal: true, isRequired: true, transformFunction: null }, _TextEnabled: { classPropertyName: "_TextEnabled", publicName: "_TextEnabled", isSignal: true, isRequired: true, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, BackGroundColorNormal: { classPropertyName: "BackGroundColorNormal", publicName: "BackGroundColorNormal", isSignal: true, isRequired: true, transformFunction: null }, BackGroundColorHover: { classPropertyName: "BackGroundColorHover", publicName: "BackGroundColorHover", isSignal: true, isRequired: true, transformFunction: null }, IconColorNormal: { classPropertyName: "IconColorNormal", publicName: "IconColorNormal", isSignal: true, isRequired: true, transformFunction: null }, IconColorHover: { classPropertyName: "IconColorHover", publicName: "IconColorHover", isSignal: true, isRequired: true, transformFunction: null }, TextColorNormal: { classPropertyName: "TextColorNormal", publicName: "TextColorNormal", isSignal: true, isRequired: true, transformFunction: null }, TextColorHover: { classPropertyName: "TextColorHover", publicName: "TextColorHover", isSignal: true, isRequired: true, transformFunction: null }, IconOrientation: { classPropertyName: "IconOrientation", publicName: "IconOrientation", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<button\r\ntype=\"{{_ButtonType()}}\"\r\n[style.background-color]=\"_BackGroundColor\"\r\n[style.border-radius]=\"_BorderRadius().toString()+'px'\"\r\n[style.width]=\"_Width()+ 'px'\"\r\n[style.height]=\"_Height()+ 'px'\"\r\n[ngStyle]=\"{'flex-direction':_IconOrientation}\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\r\n>\r\n <i\r\n class=\"{{_Icon()}}\"\r\n [style.color]=\"_IconColor\"\r\n [style.font-size]=\"_IconFontSize +'px'\"\r\n [style.display]=\"_IconEnabled() && !_LoadingState ? '' : 'none'\"\r\n\r\n >\r\n </i>\r\n\r\n <i\r\n class=\"loader\"\r\n [style.width]=\"_FontSize()+'px'\"\r\n [style.height]=\"_FontSize()+'px'\"\r\n [style.display]=\"_LoadingState ? 'inline-block' : 'none'\"\r\n [style.--loaderColor]=\"_TextColor\"\r\n [style.--loaderBorderSize]=\"(_FontSize()*0.15)+'px'\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"_FontSize() +'px'\"\r\n [style.font-family]=\"_TextFontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.color]=\"_TextColor\"\r\n [style.display]=\"_TextEnabled() && !_LoadingState ? '' : 'none'\"\r\n >{{_Text()}}\r\n </p>\r\n\r\n</button>\r\n\r\n<app-alert\r\n[Name]=\"name()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_TextFontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n \r\n", styles: [":host{display:inline-block}button{display:flex;align-items:center;justify-content:center;border:none;padding:0}button:hover{cursor:pointer}button:active{transform:scale(.95)}button>i{line-height:0px}button>p{margin:0}.loader{border:var(--loaderBorderSize) solid var(--loaderColor);border-bottom-color:transparent;border-radius:50%;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AlertComponent, selector: "app-alert", inputs: ["Name", "_FontSize", "_FontFamily", "_FontWeight"] }] }); }
|
|
294
427
|
}
|
|
295
428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
296
429
|
type: Component,
|
|
297
|
-
args: [{ selector: 'app-button', standalone: true, imports: [CommonModule], template: "
|
|
430
|
+
args: [{ selector: 'app-button', standalone: true, imports: [CommonModule, AlertComponent], template: "<button\r\ntype=\"{{_ButtonType()}}\"\r\n[style.background-color]=\"_BackGroundColor\"\r\n[style.border-radius]=\"_BorderRadius().toString()+'px'\"\r\n[style.width]=\"_Width()+ 'px'\"\r\n[style.height]=\"_Height()+ 'px'\"\r\n[ngStyle]=\"{'flex-direction':_IconOrientation}\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\r\n>\r\n <i\r\n class=\"{{_Icon()}}\"\r\n [style.color]=\"_IconColor\"\r\n [style.font-size]=\"_IconFontSize +'px'\"\r\n [style.display]=\"_IconEnabled() && !_LoadingState ? '' : 'none'\"\r\n\r\n >\r\n </i>\r\n\r\n <i\r\n class=\"loader\"\r\n [style.width]=\"_FontSize()+'px'\"\r\n [style.height]=\"_FontSize()+'px'\"\r\n [style.display]=\"_LoadingState ? 'inline-block' : 'none'\"\r\n [style.--loaderColor]=\"_TextColor\"\r\n [style.--loaderBorderSize]=\"(_FontSize()*0.15)+'px'\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"_FontSize() +'px'\"\r\n [style.font-family]=\"_TextFontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.color]=\"_TextColor\"\r\n [style.display]=\"_TextEnabled() && !_LoadingState ? '' : 'none'\"\r\n >{{_Text()}}\r\n </p>\r\n\r\n</button>\r\n\r\n<app-alert\r\n[Name]=\"name()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_TextFontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n \r\n", styles: [":host{display:inline-block}button{display:flex;align-items:center;justify-content:center;border:none;padding:0}button:hover{cursor:pointer}button:active{transform:scale(.95)}button>i{line-height:0px}button>p{margin:0}.loader{border:var(--loaderBorderSize) solid var(--loaderColor);border-bottom-color:transparent;border-radius:50%;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
298
431
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
299
432
|
|
|
300
433
|
var ListItemIcons;
|
|
@@ -370,8 +503,10 @@ class ListItemComponent {
|
|
|
370
503
|
this._ListItemIcons = ListItemIcons;
|
|
371
504
|
this.ListItePositions = ListItemPositions;
|
|
372
505
|
this.ItemStateOpen = false;
|
|
506
|
+
this.ButtonService = inject(ButtonService);
|
|
373
507
|
}
|
|
374
508
|
ngOnInit() {
|
|
509
|
+
this.ButtonModel = new ButtonModel();
|
|
375
510
|
//Zera Memorias
|
|
376
511
|
this._ItemNumberMarginTop = 0;
|
|
377
512
|
this._ItemNumberMarginLeft = 0;
|
|
@@ -400,6 +535,9 @@ class ListItemComponent {
|
|
|
400
535
|
}
|
|
401
536
|
OnClick() {
|
|
402
537
|
this.ItemStateOpen = this.ItemStateOpen ? false : true;
|
|
538
|
+
this.ButtonModel.name = 'btn01';
|
|
539
|
+
this.ButtonModel.state = false;
|
|
540
|
+
this.ButtonService.loadingState.next(this.ButtonModel);
|
|
403
541
|
}
|
|
404
542
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
405
543
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: ListItemComponent, isStandalone: true, selector: "app-list-item", inputs: { Name: { classPropertyName: "Name", publicName: "Name", isSignal: true, isRequired: true, transformFunction: null }, _ItemBackGroundColorNormal: { classPropertyName: "_ItemBackGroundColorNormal", publicName: "_ItemBackGroundColorNormal", isSignal: true, isRequired: true, transformFunction: null }, _ItemBackGroundColorHover: { classPropertyName: "_ItemBackGroundColorHover", publicName: "_ItemBackGroundColorHover", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberEnabled: { classPropertyName: "_ItemNumberEnabled", publicName: "_ItemNumberEnabled", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberText: { classPropertyName: "_ItemNumberText", publicName: "_ItemNumberText", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberFontFamily: { classPropertyName: "_ItemNumberFontFamily", publicName: "_ItemNumberFontFamily", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberFontWeight: { classPropertyName: "_ItemNumberFontWeight", publicName: "_ItemNumberFontWeight", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberFontColor: { classPropertyName: "_ItemNumberFontColor", publicName: "_ItemNumberFontColor", isSignal: true, isRequired: true, transformFunction: null }, _ItemNumberPosition: { classPropertyName: "_ItemNumberPosition", publicName: "_ItemNumberPosition", isSignal: true, isRequired: true, transformFunction: null }, _IconEnabled: { classPropertyName: "_IconEnabled", publicName: "_IconEnabled", isSignal: true, isRequired: true, transformFunction: null }, _Icon: { classPropertyName: "_Icon", publicName: "_Icon", isSignal: true, isRequired: true, transformFunction: null }, _IconColor: { classPropertyName: "_IconColor", publicName: "_IconColor", isSignal: true, isRequired: true, transformFunction: null }, _TitleText: { classPropertyName: "_TitleText", publicName: "_TitleText", isSignal: true, isRequired: true, transformFunction: null }, _TitleFontFamily: { classPropertyName: "_TitleFontFamily", publicName: "_TitleFontFamily", isSignal: true, isRequired: true, transformFunction: null }, _TitleFontColor: { classPropertyName: "_TitleFontColor", publicName: "_TitleFontColor", isSignal: true, isRequired: true, transformFunction: null }, _TitleFontWeight: { classPropertyName: "_TitleFontWeight", publicName: "_TitleFontWeight", isSignal: true, isRequired: true, transformFunction: null }, _SubTitleEnabled: { classPropertyName: "_SubTitleEnabled", publicName: "_SubTitleEnabled", isSignal: true, isRequired: true, transformFunction: null }, _SubTitleText: { classPropertyName: "_SubTitleText", publicName: "_SubTitleText", isSignal: true, isRequired: true, transformFunction: null }, _SubTitleFontFamily: { classPropertyName: "_SubTitleFontFamily", publicName: "_SubTitleFontFamily", isSignal: true, isRequired: true, transformFunction: null }, _SubTitleFontColor: { classPropertyName: "_SubTitleFontColor", publicName: "_SubTitleFontColor", isSignal: true, isRequired: true, transformFunction: null }, _SubTitleFontWeight: { classPropertyName: "_SubTitleFontWeight", publicName: "_SubTitleFontWeight", isSignal: true, isRequired: true, transformFunction: null }, _IconOpenItemColor: { classPropertyName: "_IconOpenItemColor", publicName: "_IconOpenItemColor", isSignal: true, isRequired: true, transformFunction: null }, _FontSize: { classPropertyName: "_FontSize", publicName: "_FontSize", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "\r\n<div class=\"wrapper\"\r\n[style.width]=\"(_FontSize()*18.611)+'px'\"\r\n[style.height]=\"ItemStateOpen? 'auto' : (_FontSize()*3.777)+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [style.width]=\"(_FontSize()*18.611)+'px'\"\r\n [style.height]=\"(_FontSize()*3.777)+'px'\"\r\n >\r\n\r\n <p class=\"ItemNumber\"\r\n [style.display]=\"_ItemNumberEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_ItemNumberFontFamily()\"\r\n [style.font-weight]=\"_ItemNumberFontWeight()\"\r\n [style.color]=\"_ItemNumberFontColor()\"\r\n [style.font-size]=\"_ItemNumberPosition() == ListItePositions.Top ? (_FontSize()*0.833)+'px' : (_FontSize())+'px' \"\r\n [style.margin-top]=\"_ItemNumberMarginTop +'px'\"\r\n [style.margin-left]=\"_ItemNumberMarginLeft+'px'\"\r\n [style.margin-right]=\"_ItemNumberMarginRight+'px'\"\r\n >\r\n {{_ItemNumberText()}}\r\n </p>\r\n\r\n <i class=\"{{_Icon()}}\"\r\n [style.display]=\"_IconEnabled() ? '' : 'none'\"\r\n [style.color]=\"_IconColor()\"\r\n [style.font-size]=\"(_FontSize()*1.111)+'px'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\r\n ></i>\r\n\r\n <div class=\"TextContainer\"\r\n [style.margin-left]=\"_TextContainerMarginLeft +'px'\"\r\n >\r\n\r\n <h1 class=\"title\"\r\n [style.font-family]=\"_TitleFontFamily()\"\r\n [style.color]=\"_TitleFontColor()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_TitleFontWeight()\"\r\n >\r\n {{_TitleText()}}\r\n </h1>\r\n\r\n <h2 class=\"sub-title\"\r\n [style.display]=\"_SubTitleEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_SubTitleFontFamily()\"\r\n [style.color]=\"_SubTitleFontColor()\"\r\n [style.font-size]=\"(_FontSize()*0.833)+'px'\"\r\n [style.font-weight]=\"_SubTitleFontWeight()\"\r\n >\r\n {{_SubTitleText()}}\r\n </h2>\r\n\r\n </div>\r\n\r\n <div class=\"IconOpenItemContainer\">\r\n <i class=\"{{ItemStateOpen? _ListItemIcons.ItemOpenned : _ListItemIcons.ItemClosed}} ItemOpenState\"\r\n [class.ItemOpenState]=\"ItemStateOpen\"\r\n [class.ItemCloseState]=\"!ItemStateOpen\"\r\n [style.color]=\"_IconOpenItemColor()\"\r\n [style.font-size]=\"(_FontSize()*1.666)+'px'\"\r\n ></i>\r\n </div>\r\n\r\n\r\n </div>\r\n <div class=\"containerWrapped\"\r\n [style.display]=\"ItemStateOpen ? '' : 'none'\"\r\n >\r\n <ng-content/>\r\n </div>\r\n\r\n\r\n</div>\r\n\r\n", styles: [".wrapper{background-color:transparent}.wrapper>.container{display:flex;cursor:pointer}.wrapper>.container>p{margin:0}.wrapper>.container>i{line-height:0px;display:flex;align-items:center;justify-content:center}.wrapper>.container>.TextContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.TextContainer>h1,h2{margin:0;text-align:center}.wrapper>.container>.IconOpenItemContainer{flex-grow:1;display:flex;align-items:center;justify-content:center}.wrapper>.container>.IconOpenItemContainer>.ItemOpenState{transition:.3s}.wrapper>.container>.IconOpenItemContainer>.ItemCloseState{transform:rotate(90deg);transition:.3s}\n"] }); }
|
|
@@ -435,5 +573,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
435
573
|
* Generated bundle index. Do not edit.
|
|
436
574
|
*/
|
|
437
575
|
|
|
438
|
-
export { ButtonComponent, ButtonFontWeights, ButtonIconEnum, ButtonIconPositionEnum, ButtonModel, ButtonService, ButtonTypeEnum, ListItemComponent, ListItemFontWeights, ListItemIcons, ListItemModel, ListItemPositions, ListItemService, TxtBoxComponent, TxtBoxFontWeights, TxtBoxIconsEnum, TxtBoxInputTypesEnum, TxtBoxModel, TxtBoxService, TxtBoxTypesEnum };
|
|
576
|
+
export { AlertComponent, AlertIconsEnum, AlertModel, AlertService, AlertTypesEnum, ButtonComponent, ButtonFontWeights, ButtonIconEnum, ButtonIconPositionEnum, ButtonModel, ButtonService, ButtonTypeEnum, ListItemComponent, ListItemFontWeights, ListItemIcons, ListItemModel, ListItemPositions, ListItemService, TxtBoxComponent, TxtBoxFontWeights, TxtBoxIconsEnum, TxtBoxInputTypesEnum, TxtBoxModel, TxtBoxService, TxtBoxTypesEnum };
|
|
439
577
|
//# sourceMappingURL=lightning-tec-br-angular-components.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightning-tec-br-angular-components.mjs","sources":["../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.service.ts","../../../projects/lightning-tec-br-angular-components/src/public-api.ts","../../../projects/lightning-tec-br-angular-components/src/lightning-tec-br-angular-components.ts"],"sourcesContent":["export enum TxtBoxTypesEnum{\r\n Email,\r\n Password\r\n}\r\nexport enum TxtBoxInputTypesEnum{\r\n Text = 'text',\r\n Password = 'password'\r\n}\r\nexport enum TxtBoxIconsEnum{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle',\r\n Alert = 'fi fi-sr-exclamation',\r\n Close = 'fi fi-br-cross'\r\n}\r\nexport enum TxtBoxFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { TxtBoxModel } from \"./txt-box.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class TxtBoxService{\r\n\r\n public value = new Subject<TxtBoxModel>();\r\n\r\n}","export class TxtBoxModel{\r\n name : string = '';\r\n value : string = '';\r\n}","import { Component,inject,input, OnInit } from '@angular/core';\r\nimport {FormsModule} from '@angular/forms';\r\nimport { TxtBoxTypesEnum, TxtBoxIconsEnum, TxtBoxInputTypesEnum, TxtBoxFontWeights } from './txt-box.enum';\r\nimport { TxtBoxService } from './txt-box.service';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TxtBoxModel } from './txt-box.model';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-txt-box',\r\n standalone: true,\r\n imports: [FormsModule,CommonModule],\r\n templateUrl: './txt-box.component.html',\r\n styleUrl: './txt-box.component.css',\r\n})\r\nexport class TxtBoxComponent implements OnInit {\r\n\r\n //Template Properties\r\n _iconInput = input.required<TxtBoxIconsEnum>();\r\n _nameInput = input.required<string>();\r\n _idInput = input<string>();\r\n _placeHolderType : string = '';\r\n _placeHolderValue :string ='';\r\n _iconPassword :string = TxtBoxIconsEnum.EyeOpen;\r\n _CorIcone = input.required<string>();\r\n _CorFont = input.required<string>();\r\n _FontSize = input.required<number>();\r\n _IconEnabled : string = '';\r\n _FontFamily = input.required<string>();\r\n _FontWeight = input.required<TxtBoxFontWeights>();\r\n \r\n\r\n\r\n\r\n //Internal Properties\r\n typeInput = input.required<TxtBoxTypesEnum>();\r\n IconEnabled = input.required<boolean>();\r\n text : string = '';\r\n model = new TxtBoxModel();\r\n\r\n\r\n\r\n //Services\r\n internalServices = inject(TxtBoxService);\r\n\r\n ngOnInit(): void {\r\n\r\n //Limpa as Memórias de Estado\r\n this._IconEnabled = '';\r\n this._placeHolderType = '';\r\n this._placeHolderValue = '';\r\n\r\n this._IconEnabled = this.IconEnabled() ? '' : 'none';\r\n\r\n switch (this.typeInput()){\r\n\r\n case (TxtBoxTypesEnum.Email):\r\n {\r\n this._placeHolderType = TxtBoxInputTypesEnum.Text;\r\n this._placeHolderValue = 'nome@empresa.com.br'\r\n break;\r\n }\r\n\r\n case (TxtBoxTypesEnum.Password):\r\n {\r\n this._placeHolderType = TxtBoxInputTypesEnum.Password;\r\n this._placeHolderValue = '**********'\r\n break;\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n onValueChanged(){\r\n \r\n this.model.name = this._nameInput();\r\n this.internalServices.value.next(this.model);\r\n\r\n }\r\n\r\n\r\n \r\n}\r\n\r\n\r\n\r\n\r\n","<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"model.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n\r\n\r\n\r\n","export enum ButtonTypeEnum{\r\n Button = 'button',\r\n Menu = 'menu',\r\n Reset = 'reset',\r\n Submit = 'submit'\r\n\r\n}\r\nexport enum ButtonIconPositionEnum{\r\n Top,\r\n Right,\r\n Bottom,\r\n Left\r\n}\r\nexport enum ButtonIconEnum{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle',\r\n Alert = 'fi fi-sr-exclamation',\r\n Close = 'fi fi-br-cross'\r\n}\r\nexport enum ButtonFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { ButtonModel } from \"./button.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class ButtonService{\r\n\r\n public click = new Subject<ButtonModel>();\r\n public loading = new Subject<boolean>();\r\n\r\n}","export class ButtonModel{\r\n name : string = '';\r\n}","import {Injectable,InjectionToken } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { AlertPosition } from \"./alert.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class AlertService{\r\n\r\n public wasOpenned = new Subject<AlertPosition>();\r\n public wasClosed = new Subject<boolean>();\r\n \r\n}\r\nexport const WINDOW = new InjectionToken<Window>('WindowToken', {\r\n factory: () => {\r\n if(typeof window !== 'undefined') {\r\n return window\r\n }\r\n return new Window(); // does this work?\r\n }\r\n });","import { Component, ElementRef, OnInit, inject, input } from '@angular/core';\r\nimport { ButtonTypeEnum, ButtonIconEnum, ButtonIconPositionEnum,ButtonFontWeights } from './button.enum';\r\nimport { ButtonService } from './button.service';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ButtonModel } from './button.model';\r\nimport { AlertService } from '../alert/alert.service';\r\n\r\n@Component({\r\n selector: 'app-button',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './button.component.html',\r\n styleUrl: './button.component.css'\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n\r\n _BackGroundColor : string = '';\r\n _ButtonType = input.required<ButtonTypeEnum>();\r\n _BorderRadius = input.required<number>();\r\n _Width = input.required<number>();\r\n _Height= input.required<number>();\r\n\r\n _Icon = input.required<ButtonIconEnum>();\r\n _IconFontSize :number = 0;\r\n _IconOrientation : string = '';\r\n _IconMarginType : string = '';\r\n _IconDistanceFromTextObject : object = {};\r\n _IconColor :string = '';\r\n _IconDistanceFromText = input.required<number>();\r\n _IconEnabled : string = '';\r\n\r\n _TextColor : string = '';\r\n _Text = input.required<string>();\r\n _FontSize = input.required<number>();\r\n _FontWeight = input.required<ButtonFontWeights>();\r\n _TextFontFamily =input.required<string>();\r\n TextEnabled = input.required<boolean>();\r\n\r\n name = input.required<string>();\r\n BackGroundColorNormal = input.required<string>();\r\n BackGroundColorHover = input.required<string>();\r\n IconColorNormal = input.required<string>();\r\n IconColorHover = input.required<string>();\r\n TextColorNormal = input.required<string>();\r\n TextColorHover = input.required<string>();\r\n IconOrientation = input.required<ButtonIconPositionEnum>();\r\n IconEnabled = input.required<boolean>();\r\n _TextEnabled : string = '';\r\n\r\n _LoaderVisible = input.required<boolean>();\r\n\r\n model = new ButtonModel();\r\n\r\n service = inject(ButtonService);\r\n alert = inject(AlertService);\r\n \r\n constructor(private element : ElementRef){}\r\n\r\n\r\n \r\n\r\n ngOnInit(): void {\r\n //Limpa as Memórias de Estado\r\n this._BackGroundColor = '';\r\n this._IconColor = '';\r\n this._TextColor = '';\r\n this._IconDistanceFromTextObject = {};\r\n this._IconEnabled ='';\r\n this._IconFontSize = 0;\r\n this._IconOrientation = '';\r\n this.model = new ButtonModel();\r\n this._TextEnabled = '';\r\n\r\n this.model.name = this.name();\r\n this._TextEnabled = this.TextEnabled() ? '' : 'none';\r\n this._BackGroundColor = this.BackGroundColorNormal();\r\n this._IconColor = this.IconColorNormal();\r\n this._TextColor = this.TextColorNormal();\r\n this._IconEnabled = this.IconEnabled() ? '' : 'none';\r\n this._IconFontSize = this._FontSize() *1.25;\r\n \r\n switch (this.IconOrientation()){\r\n case (ButtonIconPositionEnum.Top):\r\n this._IconOrientation = 'column'\r\n this._IconDistanceFromTextObject = this.TextEnabled() ? {'margin-bottom': this._IconDistanceFromText().toString() + 'px'} : {};\r\n break\r\n case (ButtonIconPositionEnum.Right):\r\n this._IconOrientation = 'row-reverse'\r\n this._IconDistanceFromTextObject = this.TextEnabled() ? {'margin-left': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n case (ButtonIconPositionEnum.Bottom):\r\n this._IconOrientation = 'column-reverse'\r\n this._IconDistanceFromTextObject = this.TextEnabled() ? {'margin-top': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n case (ButtonIconPositionEnum.Left):\r\n this._IconDistanceFromTextObject = this.TextEnabled() ? {'margin-right': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n }\r\n \r\n }\r\n\r\n OnMouseOver(){\r\n this._BackGroundColor = this.BackGroundColorHover();\r\n this._IconColor = this.IconColorHover();\r\n this._TextColor = this.TextColorHover();\r\n }\r\n OnMouseOut(){\r\n this._BackGroundColor = this.BackGroundColorNormal();\r\n this._IconColor = this.IconColorNormal();\r\n this._TextColor = this.TextColorNormal();\r\n }\r\n OnClick(){\r\n this.alert.wasOpenned.next({\r\n 'top': this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight/2,\r\n 'left' : this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth\r\n });\r\n\r\n this.service.click.next(this.model);\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n<button\r\ntype=\"{{_ButtonType()}}\"\r\n[style.background-color]=\"_BackGroundColor\"\r\n[style.border-radius]=\"_BorderRadius().toString()+'px'\"\r\n[style.width]=\"_Width()+ 'px'\"\r\n[style.height]=\"_Height()+ 'px'\"\r\n[ngStyle]=\"{'flex-direction':_IconOrientation}\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\r\n>\r\n <i\r\n class=\"{{_Icon()}}\"\r\n [style.color]=\"_IconColor\"\r\n [style.font-size]=\"_IconFontSize +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n [ngStyle]=\"_IconDistanceFromTextObject\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"_FontSize() +'px'\"\r\n [style.font-family]=\"_TextFontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.color]=\"_TextColor\"\r\n [style.display] = \"_TextEnabled\"\r\n >{{_Text()}}\r\n </p>\r\n\r\n</button>\r\n \r\n","export enum ListItemIcons{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle'\r\n\r\n}\r\nexport enum ListItemPositions{\r\n Top,\r\n Center\r\n}\r\nexport enum ListItemFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import { Component,input, OnInit } from '@angular/core';\r\nimport { ListItemIcons, ListItemPositions, ListItemFontWeights } from './list-item.enum';\r\n\r\n\r\n@Component({\r\n selector: 'app-list-item',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './list-item.component.html',\r\n styleUrl: './list-item.component.css'\r\n})\r\nexport class ListItemComponent implements OnInit {\r\n\r\n \r\n Name = input.required<string>();\r\n\r\n //Container\r\n _ItemBackGroundColorNormal = input.required<string>();\r\n _ItemBackGroundColorHover = input.required<string>();\r\n\r\n //ItemNumber\r\n _ItemNumberEnabled = input.required<boolean>();\r\n _ItemNumberText = input.required<string>();\r\n _ItemNumberFontFamily = input.required<string>();\r\n _ItemNumberFontWeight = input.required<ListItemFontWeights>();\r\n _ItemNumberFontColor = input.required<string>();\r\n _ItemNumberPosition = input.required<ListItemPositions>();\r\n _ItemNumberMarginTop : number = 0;\r\n _ItemNumberMarginLeft : number = 0;\r\n _ItemNumberMarginRight : number = 0;\r\n\r\n //IconStatus]\r\n _IconEnabled = input.required<boolean>();\r\n _Icon = input.required<ListItemIcons>();\r\n _IconColor = input.required<string>();\r\n _IconMarginLeft : number = 0;\r\n _IconMarginRight : number = 0;\r\n\r\n //TextContainer\r\n _TextContainerMarginLeft : number = 0;\r\n _TextContainerMarginRight : number = 0;\r\n\r\n //Title\r\n _TitleText = input.required<string>();\r\n _TitleFontFamily = input.required<string>();\r\n _TitleFontColor = input.required<string>();\r\n _TitleFontWeight = input.required<ListItemFontWeights>();\r\n\r\n //SubTitle\r\n _SubTitleEnabled = input.required<boolean>();\r\n _SubTitleText = input.required<string>();\r\n _SubTitleFontFamily = input.required<string>();\r\n _SubTitleFontColor = input.required<string>();\r\n _SubTitleFontWeight = input.required<ListItemFontWeights>();\r\n\r\n //iconOpenItem\r\n _IconOpenItemColor = input.required<string>();\r\n\r\n _FontSize = input.required<number>();\r\n \r\n\r\n //Internals\r\n readonly _ListItemIcons = ListItemIcons;\r\n readonly ListItePositions = ListItemPositions;\r\n ItemStateOpen : boolean = false;\r\n\r\n\r\n\r\n ngOnInit(): void {\r\n \r\n \r\n //Zera Memorias\r\n this._ItemNumberMarginTop = 0;\r\n this._ItemNumberMarginLeft = 0;\r\n this._ItemNumberMarginRight = 0;\r\n this._IconMarginLeft = 0;\r\n this._IconMarginRight = 0;\r\n this._TextContainerMarginLeft = 0;\r\n\r\n if(this._ItemNumberEnabled()){\r\n this._ItemNumberMarginTop = this._ItemNumberPosition() == this.ListItePositions.Top ? (this._FontSize()*0.5) : ((this._FontSize()*3.777/2)-this._FontSize()/2);\r\n this._ItemNumberMarginLeft = this._FontSize()*0.5;\r\n this._ItemNumberMarginRight = this._FontSize()*0.361;\r\n this._IconMarginLeft = this._FontSize()*0.361;\r\n this._IconMarginRight = this._FontSize()*0.361;\r\n this._TextContainerMarginLeft = this._FontSize()*0.722;\r\n\r\n }else{\r\n if(this._IconEnabled()){\r\n this._IconMarginLeft = this._FontSize()*0.722;\r\n this._IconMarginRight = this._FontSize()*0.722;\r\n this._TextContainerMarginLeft = this._FontSize()*0.722;\r\n }else{\r\n this._TextContainerMarginLeft = this._FontSize()*2;\r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n OnClick(){\r\n this.ItemStateOpen = this.ItemStateOpen ? false : true;\r\n }\r\n\r\n}\r\n","\r\n<div class=\"wrapper\"\r\n[style.width]=\"(_FontSize()*18.611)+'px'\"\r\n[style.height]=\"ItemStateOpen? 'auto' : (_FontSize()*3.777)+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [style.width]=\"(_FontSize()*18.611)+'px'\"\r\n [style.height]=\"(_FontSize()*3.777)+'px'\"\r\n >\r\n\r\n <p class=\"ItemNumber\"\r\n [style.display]=\"_ItemNumberEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_ItemNumberFontFamily()\"\r\n [style.font-weight]=\"_ItemNumberFontWeight()\"\r\n [style.color]=\"_ItemNumberFontColor()\"\r\n [style.font-size]=\"_ItemNumberPosition() == ListItePositions.Top ? (_FontSize()*0.833)+'px' : (_FontSize())+'px' \"\r\n [style.margin-top]=\"_ItemNumberMarginTop +'px'\"\r\n [style.margin-left]=\"_ItemNumberMarginLeft+'px'\"\r\n [style.margin-right]=\"_ItemNumberMarginRight+'px'\"\r\n >\r\n {{_ItemNumberText()}}\r\n </p>\r\n\r\n <i class=\"{{_Icon()}}\"\r\n [style.display]=\"_IconEnabled() ? '' : 'none'\"\r\n [style.color]=\"_IconColor()\"\r\n [style.font-size]=\"(_FontSize()*1.111)+'px'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\r\n ></i>\r\n\r\n <div class=\"TextContainer\"\r\n [style.margin-left]=\"_TextContainerMarginLeft +'px'\"\r\n >\r\n\r\n <h1 class=\"title\"\r\n [style.font-family]=\"_TitleFontFamily()\"\r\n [style.color]=\"_TitleFontColor()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_TitleFontWeight()\"\r\n >\r\n {{_TitleText()}}\r\n </h1>\r\n\r\n <h2 class=\"sub-title\"\r\n [style.display]=\"_SubTitleEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_SubTitleFontFamily()\"\r\n [style.color]=\"_SubTitleFontColor()\"\r\n [style.font-size]=\"(_FontSize()*0.833)+'px'\"\r\n [style.font-weight]=\"_SubTitleFontWeight()\"\r\n >\r\n {{_SubTitleText()}}\r\n </h2>\r\n\r\n </div>\r\n\r\n <div class=\"IconOpenItemContainer\">\r\n <i class=\"{{ItemStateOpen? _ListItemIcons.ItemOpenned : _ListItemIcons.ItemClosed}} ItemOpenState\"\r\n [class.ItemOpenState]=\"ItemStateOpen\"\r\n [class.ItemCloseState]=\"!ItemStateOpen\"\r\n [style.color]=\"_IconOpenItemColor()\"\r\n [style.font-size]=\"(_FontSize()*1.666)+'px'\"\r\n ></i>\r\n </div>\r\n\r\n\r\n </div>\r\n <div class=\"containerWrapped\"\r\n [style.display]=\"ItemStateOpen ? '' : 'none'\"\r\n >\r\n <ng-content/>\r\n </div>\r\n\r\n\r\n</div>\r\n\r\n","export class ListItemModel{\r\n name : string ='';\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { ListItemModel } from \"./list-item.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class ListItemService{\r\n\r\n public open = new Subject<ListItemModel>();\r\n\r\n}","/*\r\n * Public API Surface of lightning-tec-br-angular-components\r\n */\r\n\r\nexport * from './lib/txt-box/txt-box.component';\r\nexport * from './lib/txt-box/txt-box.enum';\r\nexport * from './lib/txt-box/txt-box.model';\r\nexport * from './lib/txt-box/txt-box.service';\r\nexport * from './lib/button/button.component';\r\nexport * from './lib/button/button.enum';\r\nexport * from './lib/button/button.model';\r\nexport * from './lib/button/button.service';\r\nexport * from './lib/list-item/list-item.component';\r\nexport * from './lib/list-item/list-item.enum';\r\nexport * from './lib/list-item/list-item.model';\r\nexport * from './lib/list-item/list-item.service';\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;IAAY;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,eAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAK;AACL,IAA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AA,EAAA,EAAA,IAAA,EAAA,eAAe,cADJ,MAAM,EAAA,CAAA,CAAA;;2FACjB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAD3B,UAAU;mBAAC,EAAC,UAAU,EAAC,MAAM,EAAC;;;ACJ/B;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lightning-tec-br-angular-components.mjs","sources":["../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/alert/alert.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/txt-box/txt-box.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.service.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/button/button.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.enum.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.component.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.component.html","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.model.ts","../../../projects/lightning-tec-br-angular-components/src/lib/list-item/list-item.service.ts","../../../projects/lightning-tec-br-angular-components/src/public-api.ts","../../../projects/lightning-tec-br-angular-components/src/lightning-tec-br-angular-components.ts"],"sourcesContent":["export enum TxtBoxTypesEnum{\r\n Email,\r\n Password\r\n}\r\nexport enum TxtBoxInputTypesEnum{\r\n Text = 'text',\r\n Password = 'password'\r\n}\r\nexport enum TxtBoxIconsEnum{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle',\r\n Alert = 'fi fi-sr-exclamation',\r\n Close = 'fi fi-br-cross'\r\n}\r\nexport enum TxtBoxFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { TxtBoxModel } from \"./txt-box.model\";\r\nimport { AlertModel } from \"../alert/alert.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class TxtBoxService{\r\n\r\n public value = new Subject<TxtBoxModel>();\r\n public alertState = new Subject<AlertModel>()\r\n\r\n}","export class TxtBoxModel{\r\n name : string = '';\r\n value : string = '';\r\n}","export enum AlertIconsEnum{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle',\r\n Alert = 'fi fi-sr-exclamation',\r\n Close = 'fi fi-br-cross'\r\n}\r\n\r\nexport enum AlertTypesEnum{\r\n Done,\r\n Alert,\r\n NotDone\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { AlertModel } from \"./alert.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class AlertService{\r\n\r\n public wasOpenned = new Subject<AlertModel>();\r\n public wasClosed = new Subject<AlertModel>();\r\n \r\n}","import { AlertTypesEnum } from \"./alert.enum\";\r\n\r\nexport class AlertModel{\r\n alertsName : string = '';\r\n alertsFatherName : string = '';\r\n top : number = 0;\r\n left : number = 0\r\n type! : AlertTypesEnum ;\r\n text : string = '';\r\n wasClosed: boolean = false;\r\n}\r\n","import { Component,HostListener,inject,input, OnInit } from '@angular/core';\r\nimport { AlertTypesEnum,AlertIconsEnum } from './alert.enum';\r\nimport { AlertService } from './alert.service';\r\nimport { ChangeDetectorRef } from '@angular/core';\r\nimport { AlertModel } from './alert.model';\r\n\r\n@Component({\r\n selector: 'app-alert',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './alert.component.html',\r\n styleUrl: './alert.component.css'\r\n})\r\nexport class AlertComponent implements OnInit {\r\n\r\n\r\n Name = input.required<string>();\r\n _FontSize = input.required<number>();\r\n _FontFamily = input.required<string>();\r\n _FontWeight = input.required<number>();\r\n _FontColor :string ='white';\r\n _Text : string = '';\r\n\r\n _PositionY : number = 0;\r\n _PositionX : number = 0;\r\n\r\n AlertType! : AlertTypesEnum ;\r\n _Icon : string = '';\r\n BackgroundColor : string = '';\r\n _IconClose : string = '';\r\n\r\n\r\n isVisible : boolean = false;\r\n\r\n\r\n AlertService = inject(AlertService);\r\n AlertModel! : AlertModel;\r\n\r\n constructor(private cd: ChangeDetectorRef) {}\r\n\r\n ngOnInit(): void {\r\n this._PositionX = 0;\r\n this._PositionY = 0;\r\n this._FontColor = 'white';\r\n this._Icon = '';\r\n this.BackgroundColor = '';\r\n this._IconClose ='';\r\n this.AlertModel = new AlertModel();\r\n\r\n\r\n this._IconClose = AlertIconsEnum.Close;\r\n\r\n\r\n this.startListenToAlertShowed();\r\n\r\n \r\n }\r\n\r\n OnClose(){\r\n this.isVisible = false;\r\n this.AlertModel.alertsName = this.Name();\r\n this.AlertModel.wasClosed = true;\r\n this.AlertService.wasClosed.next(this.AlertModel);\r\n }\r\n\r\n startListenToAlertShowed(){\r\n this.AlertService.wasOpenned.subscribe((AlertModel : AlertModel)=>{\r\n if(this.Name() == AlertModel.alertsName){\r\n this._Text = AlertModel.text;\r\n this.AlertType = AlertModel.type;\r\n this._PositionY = AlertModel.top;\r\n this._PositionX = AlertModel.left;\r\n this.isVisible = true;\r\n switch(this.AlertType){\r\n case (AlertTypesEnum.Done):\r\n this._Icon = AlertIconsEnum.Done;\r\n this.BackgroundColor = '#008B10';\r\n this._FontColor = 'white'\r\n break;\r\n case (AlertTypesEnum.Alert):\r\n this._Icon = AlertIconsEnum.Alert;\r\n this.BackgroundColor = '#DFCD00';\r\n this._FontColor = 'black'\r\n break;\r\n case (AlertTypesEnum.NotDone):\r\n this._Icon = AlertIconsEnum.NotDone;\r\n this.BackgroundColor = '#D40000';\r\n this._FontColor = 'white'\r\n break;\r\n }\r\n }\r\n\r\n })\r\n }\r\n\r\n\r\n \r\n\r\n\r\n}\r\n","<div class=\"container\"\r\n[style.background-color]=\"BackgroundColor\"\r\n[style.border-radius]=\"(_FontSize()*0.5) + 'px'\"\r\n[style.color]=\"_FontColor\"\r\n[style.display]=\"isVisible ? '' : 'none'\"\r\n[style.top]=\"_PositionY + 'px'\"\r\n[style.left]=\"_PositionX + 'px'\"\r\n>\r\n\r\n <i class=\"{{_IconClose}}\"\r\n [style.font-size]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.6) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*0.6) + 'px'\"\r\n (click)=\"OnClose()\"\r\n >\r\n\r\n </i>\r\n\r\n <div class=\"container-text\"\r\n [style.margin-right]=\"_FontSize() + 'px'\"\r\n [style.padding-top]=\"(_FontSize()*0.4) + 'px'\"\r\n [style.padding-bottom]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-right]=\"(_FontSize()*1) + 'px'\"\r\n [style.padding-left]=\"(_FontSize()*1) + 'px'\"\r\n >\r\n <i class=\"{{_Icon}}\"\r\n [style.font-size]=\"(_FontSize()*1.2) + 'px'\"\r\n [style.margin-right]=\"(_FontSize()*0.5) + 'px'\"\r\n >\r\n \r\n </i>\r\n <h1\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.font-size]=\"_FontSize() + 'px'\"\r\n >\r\n {{_Text}}\r\n </h1>\r\n </div>\r\n\r\n\r\n\r\n\r\n</div>\r\n","import { Component,ElementRef,inject,input, OnInit } from '@angular/core';\r\nimport {FormsModule} from '@angular/forms';\r\nimport { TxtBoxTypesEnum, TxtBoxIconsEnum, TxtBoxInputTypesEnum, TxtBoxFontWeights } from './txt-box.enum';\r\nimport { TxtBoxService } from './txt-box.service';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TxtBoxModel } from './txt-box.model';\r\nimport { AlertComponent } from '../alert/alert.component';\r\nimport { AlertTypesEnum } from '../alert/alert.enum';\r\nimport { AlertService } from '../alert/alert.service';\r\nimport { AlertModel } from '../alert/alert.model';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-txt-box',\r\n standalone: true,\r\n imports: [FormsModule,CommonModule,AlertComponent],\r\n templateUrl: './txt-box.component.html',\r\n styleUrl: './txt-box.component.css',\r\n})\r\nexport class TxtBoxComponent implements OnInit {\r\n\r\n //Template Properties\r\n _iconInput = input.required<TxtBoxIconsEnum>();\r\n _nameInput = input.required<string>();\r\n _idInput = input<string>();\r\n _placeHolderType : string = '';\r\n _placeHolderValue :string ='';\r\n _iconPassword :string = TxtBoxIconsEnum.EyeOpen;\r\n _CorIcone = input.required<string>();\r\n _CorFont = input.required<string>();\r\n _FontSize = input.required<number>();\r\n _IconEnabled : string = '';\r\n _FontFamily = input.required<string>();\r\n _FontWeight = input.required<TxtBoxFontWeights>();\r\n \r\n\r\n\r\n\r\n //Internal Properties\r\n typeInput = input.required<TxtBoxTypesEnum>();\r\n IconEnabled = input.required<boolean>();\r\n text : string = '';\r\n TxtBoxModel = new TxtBoxModel();\r\n _AlertState : boolean = false;\r\n \r\n readonly AlertTypesEnum = AlertTypesEnum;\r\n\r\n //Services\r\n TxtBoxService = inject(TxtBoxService);\r\n AlertService = inject(AlertService);\r\n\r\n\r\n constructor(private element : ElementRef){}\r\n\r\n\r\n\r\n\r\n\r\n ngOnInit(): void {\r\n\r\n //Limpa as Memórias de Estado\r\n this._IconEnabled = '';\r\n this._placeHolderType = '';\r\n this._placeHolderValue = '';\r\n this._AlertState = false;\r\n this.TxtBoxModel.name = '';\r\n\r\n\r\n this.TxtBoxModel.name = this._nameInput();\r\n this._IconEnabled = this.IconEnabled() ? '' : 'none';\r\n\r\n this.startListenToAlertState();\r\n\r\n switch (this.typeInput()){\r\n\r\n case (TxtBoxTypesEnum.Email):\r\n {\r\n this._placeHolderType = TxtBoxInputTypesEnum.Text;\r\n this._placeHolderValue = 'nome@empresa.com.br'\r\n break;\r\n }\r\n\r\n case (TxtBoxTypesEnum.Password):\r\n {\r\n this._placeHolderType = TxtBoxInputTypesEnum.Password;\r\n this._placeHolderValue = '**********'\r\n break;\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n onValueChanged(){\r\n \r\n this.TxtBoxModel.name = this._nameInput();\r\n this.TxtBoxService.value.next(this.TxtBoxModel);\r\n\r\n }\r\n\r\n startListenToAlertState(){\r\n this.TxtBoxService.alertState.subscribe((callerData:AlertModel)=>{\r\n if(this._nameInput() == callerData.alertsFatherName){\r\n callerData.top = this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight\r\n callerData.left = this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth\r\n callerData.alertsName = this.TxtBoxModel.name +'-alert';\r\n this.AlertService.wasOpenned.next(callerData);\r\n } \r\n })\r\n }\r\n\r\n\r\n \r\n}\r\n\r\n\r\n\r\n\r\n","<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"TxtBoxModel.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n<app-alert\r\n[Name]=\"_nameInput()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_FontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n\r\n\r\n\r\n\r\n","export enum ButtonTypeEnum{\r\n Button = 'button',\r\n Menu = 'menu',\r\n Reset = 'reset',\r\n Submit = 'submit'\r\n\r\n}\r\nexport enum ButtonIconPositionEnum{\r\n Top,\r\n Right,\r\n Bottom,\r\n Left\r\n}\r\nexport enum ButtonIconEnum{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle',\r\n Alert = 'fi fi-sr-exclamation',\r\n Close = 'fi fi-br-cross'\r\n}\r\nexport enum ButtonFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { ButtonModel } from \"./button.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class ButtonService{\r\n\r\n public click = new Subject<ButtonModel>();\r\n public loadingState = new Subject<ButtonModel>();\r\n public alertState = new Subject<ButtonModel>()\r\n\r\n}","export class ButtonModel{\r\n name : string = '';\r\n state : boolean = false;\r\n}","import { Component, ElementRef, OnInit, inject, input } from '@angular/core';\r\nimport { ButtonTypeEnum, ButtonIconEnum, ButtonIconPositionEnum,ButtonFontWeights } from './button.enum';\r\nimport { ButtonService } from './button.service';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ButtonModel } from './button.model';\r\nimport { AlertService } from '../alert/alert.service';\r\nimport { AlertComponent } from '../alert/alert.component';\r\nimport { AlertTypesEnum } from '../alert/alert.enum';\r\nimport { AlertModel } from '../alert/alert.model';\r\n\r\nimport { TxtBoxService } from '../txt-box/txt-box.service';\r\n\r\n@Component({\r\n selector: 'app-button',\r\n standalone: true,\r\n imports: [CommonModule,AlertComponent],\r\n templateUrl: './button.component.html',\r\n styleUrl: './button.component.css'\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n\r\n _BackGroundColor : string = '';\r\n _ButtonType = input.required<ButtonTypeEnum>();\r\n _BorderRadius = input.required<number>();\r\n _Width = input.required<number>();\r\n _Height= input.required<number>();\r\n\r\n _Icon = input.required<ButtonIconEnum>();\r\n _IconFontSize :number = 0;\r\n _IconOrientation : string = '';\r\n _IconMarginType : string = '';\r\n _IconDistanceFromTextObject : object = {};\r\n _IconColor :string = '';\r\n _IconDistanceFromText = input.required<number>();\r\n _IconEnabled = input.required<boolean>();\r\n\r\n _TextColor : string = '';\r\n _Text = input.required<string>();\r\n _FontSize = input.required<number>();\r\n _FontWeight = input.required<ButtonFontWeights>();\r\n _TextFontFamily =input.required<string>();\r\n _TextEnabled = input.required<boolean>();\r\n\r\n name = input.required<string>();\r\n BackGroundColorNormal = input.required<string>();\r\n BackGroundColorHover = input.required<string>();\r\n IconColorNormal = input.required<string>();\r\n IconColorHover = input.required<string>();\r\n TextColorNormal = input.required<string>();\r\n TextColorHover = input.required<string>();\r\n IconOrientation = input.required<ButtonIconPositionEnum>();\r\n \r\n\r\n\r\n _LoadingState :boolean = false; ;\r\n _AlertState : boolean = false;\r\n\r\n ButtonModel = new ButtonModel();\r\n\r\n ButtonService = inject(ButtonService);\r\n AlertService = inject(AlertService);\r\n\r\n TxtBoxService = inject(TxtBoxService);\r\n AlertModel = new AlertModel();\r\n\r\n readonly AlertTypesEnum = AlertTypesEnum;\r\n\r\n \r\n constructor(private element : ElementRef){}\r\n\r\n\r\n \r\n\r\n ngOnInit(): void {\r\n //Limpa as Memórias de Estado\r\n this._BackGroundColor = '';\r\n this._IconColor = '';\r\n this._TextColor = '';\r\n this._IconDistanceFromTextObject = {};\r\n this._IconFontSize = 0;\r\n this._IconOrientation = '';\r\n this.ButtonModel = new ButtonModel();\r\n this._LoadingState = false;\r\n this._AlertState = false;\r\n\r\n\r\n this._BackGroundColor = this.BackGroundColorNormal();\r\n this._IconColor = this.IconColorNormal();\r\n this._TextColor = this.TextColorNormal();\r\n this._IconFontSize = this._FontSize() *1.25;\r\n\r\n this.startListenToLoadingState();\r\n this.startListenToAlertState();\r\n \r\n switch (this.IconOrientation()){\r\n case (ButtonIconPositionEnum.Top):\r\n this._IconOrientation = 'column'\r\n this._IconDistanceFromTextObject = this._TextEnabled() ? {'margin-bottom': this._IconDistanceFromText().toString() + 'px'} : {};\r\n break\r\n case (ButtonIconPositionEnum.Right):\r\n this._IconOrientation = 'row-reverse'\r\n this._IconDistanceFromTextObject = this._TextEnabled() ? {'margin-left': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n case (ButtonIconPositionEnum.Bottom):\r\n this._IconOrientation = 'column-reverse'\r\n this._IconDistanceFromTextObject = this._TextEnabled() ? {'margin-top': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n case (ButtonIconPositionEnum.Left):\r\n this._IconDistanceFromTextObject = this._TextEnabled() ? {'margin-right': this._IconDistanceFromText().toString() + 'px'} : {}\r\n break\r\n }\r\n \r\n }\r\n\r\n OnMouseOver(){\r\n this._BackGroundColor = this.BackGroundColorHover();\r\n this._IconColor = this.IconColorHover();\r\n this._TextColor = this.TextColorHover();\r\n }\r\n\r\n OnMouseOut(){\r\n this._BackGroundColor = this.BackGroundColorNormal();\r\n this._IconColor = this.IconColorNormal();\r\n this._TextColor = this.TextColorNormal();\r\n }\r\n\r\n OnClick(){\r\n\r\n this.ButtonModel.name = this.name();\r\n this.ButtonModel.state = true;\r\n\r\n this.ButtonService.click.next(this.ButtonModel);\r\n this.ButtonService.loadingState.next(this.ButtonModel);\r\n \r\n }\r\n \r\n\r\n startListenToLoadingState(){\r\n this.ButtonService.loadingState.subscribe((callerData:ButtonModel)=>{\r\n if(this.name() == callerData.name){\r\n this._LoadingState = callerData.state;\r\n } \r\n })\r\n }\r\n\r\n startListenToAlertState(){\r\n this.TxtBoxService.alertState.subscribe((callerData:AlertModel)=>{\r\n if(this.name() == callerData.alertsFatherName){\r\n callerData.top = this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight\r\n callerData.left = this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth\r\n callerData.alertsName = this.ButtonModel.name +'-alert';\r\n this.AlertService.wasOpenned.next(callerData);\r\n } \r\n })\r\n }\r\n\r\n\r\n\r\n}\r\n","<button\r\ntype=\"{{_ButtonType()}}\"\r\n[style.background-color]=\"_BackGroundColor\"\r\n[style.border-radius]=\"_BorderRadius().toString()+'px'\"\r\n[style.width]=\"_Width()+ 'px'\"\r\n[style.height]=\"_Height()+ 'px'\"\r\n[ngStyle]=\"{'flex-direction':_IconOrientation}\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\r\n>\r\n <i\r\n class=\"{{_Icon()}}\"\r\n [style.color]=\"_IconColor\"\r\n [style.font-size]=\"_IconFontSize +'px'\"\r\n [style.display]=\"_IconEnabled() && !_LoadingState ? '' : 'none'\"\r\n\r\n >\r\n </i>\r\n\r\n <i\r\n class=\"loader\"\r\n [style.width]=\"_FontSize()+'px'\"\r\n [style.height]=\"_FontSize()+'px'\"\r\n [style.display]=\"_LoadingState ? 'inline-block' : 'none'\"\r\n [style.--loaderColor]=\"_TextColor\"\r\n [style.--loaderBorderSize]=\"(_FontSize()*0.15)+'px'\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"_FontSize() +'px'\"\r\n [style.font-family]=\"_TextFontFamily()\"\r\n [style.font-weight]=\"_FontWeight()\"\r\n [style.color]=\"_TextColor\"\r\n [style.display]=\"_TextEnabled() && !_LoadingState ? '' : 'none'\"\r\n >{{_Text()}}\r\n </p>\r\n\r\n</button>\r\n\r\n<app-alert\r\n[Name]=\"name()+'-alert'\"\r\n[_FontSize]=\"_FontSize()\"\r\n[_FontFamily]=\"_TextFontFamily()\"\r\n[_FontWeight]=\"_FontWeight()\"\r\n/>\r\n \r\n","export enum ListItemIcons{\r\n User = 'fi fi-sr-user',\r\n Lock = 'fi fi-sr-lock',\r\n EyeOpen = 'fi fi-ss-eye',\r\n EyeClose = 'fi fi-ss-eye-crossed',\r\n ItemClosed = 'fi fi-tr-caret-down',\r\n ItemOpenned = 'fi fi-rr-caret-down',\r\n Done = 'fi fi-sr-octagon-check',\r\n Doing = 'fi fi-br-duration-alt',\r\n NotDone = 'fi fi-sr-cross-circle'\r\n\r\n}\r\nexport enum ListItemPositions{\r\n Top,\r\n Center\r\n}\r\nexport enum ListItemFontWeights{\r\n Thin = 100,\r\n ExtraLight = 200,\r\n Light = 300,\r\n Regular = 400,\r\n Medium = 500,\r\n SemiBold = 600,\r\n Bold = 700,\r\n Extrabold = 800,\r\n Black = 900,\r\n}","import { Component,input, OnInit,inject } from '@angular/core';\r\nimport { ListItemIcons, ListItemPositions, ListItemFontWeights } from './list-item.enum';\r\nimport { ButtonModel } from '../button/button.model';\r\nimport { ButtonService } from '../button/button.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-list-item',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './list-item.component.html',\r\n styleUrl: './list-item.component.css'\r\n})\r\nexport class ListItemComponent implements OnInit {\r\n\r\n \r\n Name = input.required<string>();\r\n\r\n //Container\r\n _ItemBackGroundColorNormal = input.required<string>();\r\n _ItemBackGroundColorHover = input.required<string>();\r\n\r\n //ItemNumber\r\n _ItemNumberEnabled = input.required<boolean>();\r\n _ItemNumberText = input.required<string>();\r\n _ItemNumberFontFamily = input.required<string>();\r\n _ItemNumberFontWeight = input.required<ListItemFontWeights>();\r\n _ItemNumberFontColor = input.required<string>();\r\n _ItemNumberPosition = input.required<ListItemPositions>();\r\n _ItemNumberMarginTop : number = 0;\r\n _ItemNumberMarginLeft : number = 0;\r\n _ItemNumberMarginRight : number = 0;\r\n\r\n //IconStatus]\r\n _IconEnabled = input.required<boolean>();\r\n _Icon = input.required<ListItemIcons>();\r\n _IconColor = input.required<string>();\r\n _IconMarginLeft : number = 0;\r\n _IconMarginRight : number = 0;\r\n\r\n //TextContainer\r\n _TextContainerMarginLeft : number = 0;\r\n _TextContainerMarginRight : number = 0;\r\n\r\n //Title\r\n _TitleText = input.required<string>();\r\n _TitleFontFamily = input.required<string>();\r\n _TitleFontColor = input.required<string>();\r\n _TitleFontWeight = input.required<ListItemFontWeights>();\r\n\r\n //SubTitle\r\n _SubTitleEnabled = input.required<boolean>();\r\n _SubTitleText = input.required<string>();\r\n _SubTitleFontFamily = input.required<string>();\r\n _SubTitleFontColor = input.required<string>();\r\n _SubTitleFontWeight = input.required<ListItemFontWeights>();\r\n\r\n //iconOpenItem\r\n _IconOpenItemColor = input.required<string>();\r\n\r\n _FontSize = input.required<number>();\r\n \r\n\r\n //Internals\r\n readonly _ListItemIcons = ListItemIcons;\r\n readonly ListItePositions = ListItemPositions;\r\n ItemStateOpen : boolean = false;\r\n\r\n ButtonModel! : ButtonModel;\r\n ButtonService = inject(ButtonService);\r\n\r\n ngOnInit(): void {\r\n\r\n this.ButtonModel = new ButtonModel();\r\n \r\n \r\n //Zera Memorias\r\n this._ItemNumberMarginTop = 0;\r\n this._ItemNumberMarginLeft = 0;\r\n this._ItemNumberMarginRight = 0;\r\n this._IconMarginLeft = 0;\r\n this._IconMarginRight = 0;\r\n this._TextContainerMarginLeft = 0;\r\n\r\n if(this._ItemNumberEnabled()){\r\n this._ItemNumberMarginTop = this._ItemNumberPosition() == this.ListItePositions.Top ? (this._FontSize()*0.5) : ((this._FontSize()*3.777/2)-this._FontSize()/2);\r\n this._ItemNumberMarginLeft = this._FontSize()*0.5;\r\n this._ItemNumberMarginRight = this._FontSize()*0.361;\r\n this._IconMarginLeft = this._FontSize()*0.361;\r\n this._IconMarginRight = this._FontSize()*0.361;\r\n this._TextContainerMarginLeft = this._FontSize()*0.722;\r\n\r\n }else{\r\n if(this._IconEnabled()){\r\n this._IconMarginLeft = this._FontSize()*0.722;\r\n this._IconMarginRight = this._FontSize()*0.722;\r\n this._TextContainerMarginLeft = this._FontSize()*0.722;\r\n }else{\r\n this._TextContainerMarginLeft = this._FontSize()*2;\r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n OnClick(){\r\n this.ItemStateOpen = this.ItemStateOpen ? false : true;\r\n\r\n this.ButtonModel.name = 'btn01';\r\n this.ButtonModel.state = false;\r\n\r\n this.ButtonService.loadingState.next(this.ButtonModel);\r\n }\r\n\r\n}\r\n","\r\n<div class=\"wrapper\"\r\n[style.width]=\"(_FontSize()*18.611)+'px'\"\r\n[style.height]=\"ItemStateOpen? 'auto' : (_FontSize()*3.777)+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [style.width]=\"(_FontSize()*18.611)+'px'\"\r\n [style.height]=\"(_FontSize()*3.777)+'px'\"\r\n >\r\n\r\n <p class=\"ItemNumber\"\r\n [style.display]=\"_ItemNumberEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_ItemNumberFontFamily()\"\r\n [style.font-weight]=\"_ItemNumberFontWeight()\"\r\n [style.color]=\"_ItemNumberFontColor()\"\r\n [style.font-size]=\"_ItemNumberPosition() == ListItePositions.Top ? (_FontSize()*0.833)+'px' : (_FontSize())+'px' \"\r\n [style.margin-top]=\"_ItemNumberMarginTop +'px'\"\r\n [style.margin-left]=\"_ItemNumberMarginLeft+'px'\"\r\n [style.margin-right]=\"_ItemNumberMarginRight+'px'\"\r\n >\r\n {{_ItemNumberText()}}\r\n </p>\r\n\r\n <i class=\"{{_Icon()}}\"\r\n [style.display]=\"_IconEnabled() ? '' : 'none'\"\r\n [style.color]=\"_IconColor()\"\r\n [style.font-size]=\"(_FontSize()*1.111)+'px'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\r\n ></i>\r\n\r\n <div class=\"TextContainer\"\r\n [style.margin-left]=\"_TextContainerMarginLeft +'px'\"\r\n >\r\n\r\n <h1 class=\"title\"\r\n [style.font-family]=\"_TitleFontFamily()\"\r\n [style.color]=\"_TitleFontColor()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.font-weight]=\"_TitleFontWeight()\"\r\n >\r\n {{_TitleText()}}\r\n </h1>\r\n\r\n <h2 class=\"sub-title\"\r\n [style.display]=\"_SubTitleEnabled() ? '' : 'none'\"\r\n [style.font-family]=\"_SubTitleFontFamily()\"\r\n [style.color]=\"_SubTitleFontColor()\"\r\n [style.font-size]=\"(_FontSize()*0.833)+'px'\"\r\n [style.font-weight]=\"_SubTitleFontWeight()\"\r\n >\r\n {{_SubTitleText()}}\r\n </h2>\r\n\r\n </div>\r\n\r\n <div class=\"IconOpenItemContainer\">\r\n <i class=\"{{ItemStateOpen? _ListItemIcons.ItemOpenned : _ListItemIcons.ItemClosed}} ItemOpenState\"\r\n [class.ItemOpenState]=\"ItemStateOpen\"\r\n [class.ItemCloseState]=\"!ItemStateOpen\"\r\n [style.color]=\"_IconOpenItemColor()\"\r\n [style.font-size]=\"(_FontSize()*1.666)+'px'\"\r\n ></i>\r\n </div>\r\n\r\n\r\n </div>\r\n <div class=\"containerWrapped\"\r\n [style.display]=\"ItemStateOpen ? '' : 'none'\"\r\n >\r\n <ng-content/>\r\n </div>\r\n\r\n\r\n</div>\r\n\r\n","export class ListItemModel{\r\n name : string ='';\r\n}","import {Injectable } from \"@angular/core\";\r\nimport { Subject } from 'rxjs';\r\nimport { ListItemModel } from \"./list-item.model\";\r\n\r\n@Injectable({providedIn:'root'})\r\nexport class ListItemService{\r\n\r\n public open = new Subject<ListItemModel>();\r\n\r\n}","/*\r\n * Public API Surface of lightning-tec-br-angular-components\r\n */\r\n\r\nexport * from './lib/txt-box/txt-box.component';\r\nexport * from './lib/txt-box/txt-box.enum';\r\nexport * from './lib/txt-box/txt-box.model';\r\nexport * from './lib/txt-box/txt-box.service';\r\n\r\nexport * from './lib/button/button.component';\r\nexport * from './lib/button/button.enum';\r\nexport * from './lib/button/button.model';\r\nexport * from './lib/button/button.service';\r\n\r\nexport * from './lib/list-item/list-item.component';\r\nexport * from './lib/list-item/list-item.enum';\r\nexport * from './lib/list-item/list-item.model';\r\nexport * from './lib/list-item/list-item.service';\r\n\r\nexport * from './lib/alert/alert.component';\r\nexport * from './lib/alert/alert.enum';\r\nexport * from './lib/alert/alert.model';\r\nexport * from './lib/alert/alert.service';\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;IAAY;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,eAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAK;AACL,IAAA,eAAA,CAAA,eAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAQ;AACZ,CAAC,EAHW,eAAe,KAAf,eAAe,GAG1B,EAAA,CAAA,CAAA;IACW;AAAZ,CAAA,UAAY,oBAAoB,EAAA;AAC5B,IAAA,oBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,oBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACzB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,GAG/B,EAAA,CAAA,CAAA;IACW;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,eAAsB;AACtB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,eAAsB;AAEtB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,cAAwB;AACxB,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,sBAAiC;AAEjC,IAAA,eAAA,CAAA,YAAA,CAAA,GAAA,qBAAkC;AAClC,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,qBAAmC;AAEnC,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,wBAA+B;AAC/B,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,uBAA+B;A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AAA,EAAA,0xFAAA,EAAA,MAAA,EAAA,CAAA,mqBAAA,CAAA,EAAA;;;META,aAAa,CAAA;AAA1B,IAAA,WAAA,GAAA;QACI,IAAI,CAAA,IAAA,GAAW,EAAE;;AACpB;;MCGY,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAGW,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,OAAO,EAAiB;AAE7C;8GAJY,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cADJ,MAAM,EAAA,CAAA,CAAA;;2FACjB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAD3B,UAAU;mBAAC,EAAC,UAAU,EAAC,MAAM,EAAC;;;ACJ/B;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AlertTypesEnum } from './alert.enum';
|
|
3
|
+
import { AlertService } from './alert.service';
|
|
4
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { AlertModel } from './alert.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AlertComponent implements OnInit {
|
|
8
|
+
private cd;
|
|
9
|
+
Name: import("@angular/core").InputSignal<string>;
|
|
10
|
+
_FontSize: import("@angular/core").InputSignal<number>;
|
|
11
|
+
_FontFamily: import("@angular/core").InputSignal<string>;
|
|
12
|
+
_FontWeight: import("@angular/core").InputSignal<number>;
|
|
13
|
+
_FontColor: string;
|
|
14
|
+
_Text: string;
|
|
15
|
+
_PositionY: number;
|
|
16
|
+
_PositionX: number;
|
|
17
|
+
AlertType: AlertTypesEnum;
|
|
18
|
+
_Icon: string;
|
|
19
|
+
BackgroundColor: string;
|
|
20
|
+
_IconClose: string;
|
|
21
|
+
isVisible: boolean;
|
|
22
|
+
AlertService: AlertService;
|
|
23
|
+
AlertModel: AlertModel;
|
|
24
|
+
constructor(cd: ChangeDetectorRef);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
OnClose(): void;
|
|
27
|
+
startListenToAlertShowed(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "app-alert", never, { "Name": { "alias": "Name"; "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; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum AlertIconsEnum {
|
|
2
|
+
User = "fi fi-sr-user",
|
|
3
|
+
Lock = "fi fi-sr-lock",
|
|
4
|
+
EyeOpen = "fi fi-ss-eye",
|
|
5
|
+
EyeClose = "fi fi-ss-eye-crossed",
|
|
6
|
+
ItemClosed = "fi fi-tr-caret-down",
|
|
7
|
+
ItemOpenned = "fi fi-rr-caret-down",
|
|
8
|
+
Done = "fi fi-sr-octagon-check",
|
|
9
|
+
Doing = "fi fi-br-duration-alt",
|
|
10
|
+
NotDone = "fi fi-sr-cross-circle",
|
|
11
|
+
Alert = "fi fi-sr-exclamation",
|
|
12
|
+
Close = "fi fi-br-cross"
|
|
13
|
+
}
|
|
14
|
+
export declare enum AlertTypesEnum {
|
|
15
|
+
Done = 0,
|
|
16
|
+
Alert = 1,
|
|
17
|
+
NotDone = 2
|
|
18
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { AlertTypesEnum } from "./alert.enum";
|
|
1
2
|
export declare class AlertModel {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare class AlertPosition {
|
|
3
|
+
alertsName: string;
|
|
4
|
+
alertsFatherName: string;
|
|
5
5
|
top: number;
|
|
6
6
|
left: number;
|
|
7
|
+
type: AlertTypesEnum;
|
|
8
|
+
text: string;
|
|
9
|
+
wasClosed: boolean;
|
|
7
10
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
1
|
import { Subject } from 'rxjs';
|
|
3
|
-
import {
|
|
2
|
+
import { AlertModel } from "./alert.model";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AlertService {
|
|
6
|
-
wasOpenned: Subject<
|
|
7
|
-
wasClosed: Subject<
|
|
5
|
+
wasOpenned: Subject<AlertModel>;
|
|
6
|
+
wasClosed: Subject<AlertModel>;
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
9
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
10
9
|
}
|
|
11
|
-
export declare const WINDOW: InjectionToken<Window>;
|
|
@@ -3,6 +3,9 @@ import { ButtonTypeEnum, ButtonIconEnum, ButtonIconPositionEnum, ButtonFontWeigh
|
|
|
3
3
|
import { ButtonService } from './button.service';
|
|
4
4
|
import { ButtonModel } from './button.model';
|
|
5
5
|
import { AlertService } from '../alert/alert.service';
|
|
6
|
+
import { AlertTypesEnum } from '../alert/alert.enum';
|
|
7
|
+
import { AlertModel } from '../alert/alert.model';
|
|
8
|
+
import { TxtBoxService } from '../txt-box/txt-box.service';
|
|
6
9
|
import * as i0 from "@angular/core";
|
|
7
10
|
export declare class ButtonComponent implements OnInit {
|
|
8
11
|
private element;
|
|
@@ -18,13 +21,13 @@ export declare class ButtonComponent implements OnInit {
|
|
|
18
21
|
_IconDistanceFromTextObject: object;
|
|
19
22
|
_IconColor: string;
|
|
20
23
|
_IconDistanceFromText: import("@angular/core").InputSignal<number>;
|
|
21
|
-
_IconEnabled:
|
|
24
|
+
_IconEnabled: import("@angular/core").InputSignal<boolean>;
|
|
22
25
|
_TextColor: string;
|
|
23
26
|
_Text: import("@angular/core").InputSignal<string>;
|
|
24
27
|
_FontSize: import("@angular/core").InputSignal<number>;
|
|
25
28
|
_FontWeight: import("@angular/core").InputSignal<ButtonFontWeights>;
|
|
26
29
|
_TextFontFamily: import("@angular/core").InputSignal<string>;
|
|
27
|
-
|
|
30
|
+
_TextEnabled: import("@angular/core").InputSignal<boolean>;
|
|
28
31
|
name: import("@angular/core").InputSignal<string>;
|
|
29
32
|
BackGroundColorNormal: import("@angular/core").InputSignal<string>;
|
|
30
33
|
BackGroundColorHover: import("@angular/core").InputSignal<string>;
|
|
@@ -33,17 +36,21 @@ export declare class ButtonComponent implements OnInit {
|
|
|
33
36
|
TextColorNormal: import("@angular/core").InputSignal<string>;
|
|
34
37
|
TextColorHover: import("@angular/core").InputSignal<string>;
|
|
35
38
|
IconOrientation: import("@angular/core").InputSignal<ButtonIconPositionEnum>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
_LoadingState: boolean;
|
|
40
|
+
_AlertState: boolean;
|
|
41
|
+
ButtonModel: ButtonModel;
|
|
42
|
+
ButtonService: ButtonService;
|
|
43
|
+
AlertService: AlertService;
|
|
44
|
+
TxtBoxService: TxtBoxService;
|
|
45
|
+
AlertModel: AlertModel;
|
|
46
|
+
readonly AlertTypesEnum: typeof AlertTypesEnum;
|
|
42
47
|
constructor(element: ElementRef);
|
|
43
48
|
ngOnInit(): void;
|
|
44
49
|
OnMouseOver(): void;
|
|
45
50
|
OnMouseOut(): void;
|
|
46
51
|
OnClick(): void;
|
|
52
|
+
startListenToLoadingState(): void;
|
|
53
|
+
startListenToAlertState(): void;
|
|
47
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "app-button", never, { "_ButtonType": { "alias": "_ButtonType"; "required": true; "isSignal": true; }; "_BorderRadius": { "alias": "_BorderRadius"; "required": true; "isSignal": true; }; "_Width": { "alias": "_Width"; "required": true; "isSignal": true; }; "_Height": { "alias": "_Height"; "required": true; "isSignal": true; }; "_Icon": { "alias": "_Icon"; "required": true; "isSignal": true; }; "_IconDistanceFromText": { "alias": "_IconDistanceFromText"; "required": true; "isSignal": true; }; "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "app-button", never, { "_ButtonType": { "alias": "_ButtonType"; "required": true; "isSignal": true; }; "_BorderRadius": { "alias": "_BorderRadius"; "required": true; "isSignal": true; }; "_Width": { "alias": "_Width"; "required": true; "isSignal": true; }; "_Height": { "alias": "_Height"; "required": true; "isSignal": true; }; "_Icon": { "alias": "_Icon"; "required": true; "isSignal": true; }; "_IconDistanceFromText": { "alias": "_IconDistanceFromText"; "required": true; "isSignal": true; }; "_IconEnabled": { "alias": "_IconEnabled"; "required": true; "isSignal": true; }; "_Text": { "alias": "_Text"; "required": true; "isSignal": true; }; "_FontSize": { "alias": "_FontSize"; "required": true; "isSignal": true; }; "_FontWeight": { "alias": "_FontWeight"; "required": true; "isSignal": true; }; "_TextFontFamily": { "alias": "_TextFontFamily"; "required": true; "isSignal": true; }; "_TextEnabled": { "alias": "_TextEnabled"; "required": true; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "BackGroundColorNormal": { "alias": "BackGroundColorNormal"; "required": true; "isSignal": true; }; "BackGroundColorHover": { "alias": "BackGroundColorHover"; "required": true; "isSignal": true; }; "IconColorNormal": { "alias": "IconColorNormal"; "required": true; "isSignal": true; }; "IconColorHover": { "alias": "IconColorHover"; "required": true; "isSignal": true; }; "TextColorNormal": { "alias": "TextColorNormal"; "required": true; "isSignal": true; }; "TextColorHover": { "alias": "TextColorHover"; "required": true; "isSignal": true; }; "IconOrientation": { "alias": "IconOrientation"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
56
|
}
|
|
@@ -3,7 +3,8 @@ import { ButtonModel } from "./button.model";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ButtonService {
|
|
5
5
|
click: Subject<ButtonModel>;
|
|
6
|
-
|
|
6
|
+
loadingState: Subject<ButtonModel>;
|
|
7
|
+
alertState: Subject<ButtonModel>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonService, never>;
|
|
8
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<ButtonService>;
|
|
9
10
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ListItemIcons, ListItemPositions, ListItemFontWeights } from './list-item.enum';
|
|
3
|
+
import { ButtonModel } from '../button/button.model';
|
|
4
|
+
import { ButtonService } from '../button/button.service';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class ListItemComponent implements OnInit {
|
|
5
7
|
Name: import("@angular/core").InputSignal<string>;
|
|
@@ -35,6 +37,8 @@ export declare class ListItemComponent implements OnInit {
|
|
|
35
37
|
readonly _ListItemIcons: typeof ListItemIcons;
|
|
36
38
|
readonly ListItePositions: typeof ListItemPositions;
|
|
37
39
|
ItemStateOpen: boolean;
|
|
40
|
+
ButtonModel: ButtonModel;
|
|
41
|
+
ButtonService: ButtonService;
|
|
38
42
|
ngOnInit(): void;
|
|
39
43
|
OnClick(): void;
|
|
40
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { TxtBoxTypesEnum, TxtBoxIconsEnum, TxtBoxFontWeights } from './txt-box.enum';
|
|
3
3
|
import { TxtBoxService } from './txt-box.service';
|
|
4
4
|
import { TxtBoxModel } from './txt-box.model';
|
|
5
|
+
import { AlertTypesEnum } from '../alert/alert.enum';
|
|
6
|
+
import { AlertService } from '../alert/alert.service';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class TxtBoxComponent implements OnInit {
|
|
9
|
+
private element;
|
|
7
10
|
_iconInput: import("@angular/core").InputSignal<TxtBoxIconsEnum>;
|
|
8
11
|
_nameInput: import("@angular/core").InputSignal<string>;
|
|
9
12
|
_idInput: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -19,10 +22,15 @@ export declare class TxtBoxComponent implements OnInit {
|
|
|
19
22
|
typeInput: import("@angular/core").InputSignal<TxtBoxTypesEnum>;
|
|
20
23
|
IconEnabled: import("@angular/core").InputSignal<boolean>;
|
|
21
24
|
text: string;
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
TxtBoxModel: TxtBoxModel;
|
|
26
|
+
_AlertState: boolean;
|
|
27
|
+
readonly AlertTypesEnum: typeof AlertTypesEnum;
|
|
28
|
+
TxtBoxService: TxtBoxService;
|
|
29
|
+
AlertService: AlertService;
|
|
30
|
+
constructor(element: ElementRef);
|
|
24
31
|
ngOnInit(): void;
|
|
25
32
|
onValueChanged(): void;
|
|
33
|
+
startListenToAlertState(): void;
|
|
26
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxtBoxComponent, never>;
|
|
27
35
|
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; }; "_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>;
|
|
28
36
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
2
|
import { TxtBoxModel } from "./txt-box.model";
|
|
3
|
+
import { AlertModel } from "../alert/alert.model";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TxtBoxService {
|
|
5
6
|
value: Subject<TxtBoxModel>;
|
|
7
|
+
alertState: Subject<AlertModel>;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxtBoxService, never>;
|
|
7
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<TxtBoxService>;
|
|
8
10
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -10,3 +10,7 @@ export * from './lib/list-item/list-item.component';
|
|
|
10
10
|
export * from './lib/list-item/list-item.enum';
|
|
11
11
|
export * from './lib/list-item/list-item.model';
|
|
12
12
|
export * from './lib/list-item/list-item.service';
|
|
13
|
+
export * from './lib/alert/alert.component';
|
|
14
|
+
export * from './lib/alert/alert.enum';
|
|
15
|
+
export * from './lib/alert/alert.model';
|
|
16
|
+
export * from './lib/alert/alert.service';
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Component, inject, input } from '@angular/core';
|
|
2
|
-
import { FormsModule } from '@angular/forms';
|
|
3
|
-
import { TxtBoxTypesEnum, TxtBoxIconsEnum, TxtBoxInputTypesEnum } from './txt-box.enum';
|
|
4
|
-
import { TxtBoxService } from './txt-box.service';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import { TxtBoxModel } from './txt-box.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/forms";
|
|
9
|
-
import * as i2 from "@angular/common";
|
|
10
|
-
export class TxtBoxComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
//Template Properties
|
|
13
|
-
this._iconInput = input.required();
|
|
14
|
-
this._nameInput = input.required();
|
|
15
|
-
this._idInput = input();
|
|
16
|
-
this._placeHolderType = '';
|
|
17
|
-
this._placeHolderValue = '';
|
|
18
|
-
this._iconPassword = TxtBoxIconsEnum.EyeOpen;
|
|
19
|
-
this._CorIcone = input.required();
|
|
20
|
-
this._CorFont = input.required();
|
|
21
|
-
this._FontSize = input.required();
|
|
22
|
-
this._IconEnabled = '';
|
|
23
|
-
this._FontFamily = input.required();
|
|
24
|
-
//Internal Properties
|
|
25
|
-
this.typeInput = input.required();
|
|
26
|
-
this.IconEnabled = input.required();
|
|
27
|
-
this.text = '';
|
|
28
|
-
this.model = new TxtBoxModel();
|
|
29
|
-
//Services
|
|
30
|
-
this.internalServices = inject(TxtBoxService);
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
//Limpa as Memórias de Estado
|
|
34
|
-
this._IconEnabled = '';
|
|
35
|
-
this._placeHolderType = '';
|
|
36
|
-
this._placeHolderValue = '';
|
|
37
|
-
this._IconEnabled = this.IconEnabled() ? '' : 'none';
|
|
38
|
-
switch (this.typeInput()) {
|
|
39
|
-
case (TxtBoxTypesEnum.Email):
|
|
40
|
-
{
|
|
41
|
-
this._placeHolderType = TxtBoxInputTypesEnum.Text;
|
|
42
|
-
this._placeHolderValue = 'nome@empresa.com.br';
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
case (TxtBoxTypesEnum.Password):
|
|
46
|
-
{
|
|
47
|
-
this._placeHolderType = TxtBoxInputTypesEnum.Password;
|
|
48
|
-
this._placeHolderValue = '**********';
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
onValueChanged() {
|
|
54
|
-
this.model.name = this._nameInput();
|
|
55
|
-
this.internalServices.value.next(this.model);
|
|
56
|
-
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TxtBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: TxtBoxComponent, isStandalone: true, selector: "app-txt-box", inputs: { _iconInput: { classPropertyName: "_iconInput", publicName: "_iconInput", isSignal: true, isRequired: true, transformFunction: null }, _nameInput: { classPropertyName: "_nameInput", publicName: "_nameInput", isSignal: true, isRequired: true, transformFunction: null }, _idInput: { classPropertyName: "_idInput", publicName: "_idInput", isSignal: true, isRequired: false, transformFunction: null }, _CorIcone: { classPropertyName: "_CorIcone", publicName: "_CorIcone", isSignal: true, isRequired: true, transformFunction: null }, _CorFont: { classPropertyName: "_CorFont", publicName: "_CorFont", isSignal: true, isRequired: true, transformFunction: null }, _FontSize: { classPropertyName: "_FontSize", publicName: "_FontSize", isSignal: true, isRequired: true, transformFunction: null }, _FontFamily: { classPropertyName: "_FontFamily", publicName: "_FontFamily", isSignal: true, isRequired: true, transformFunction: null }, typeInput: { classPropertyName: "typeInput", publicName: "typeInput", isSignal: true, isRequired: true, transformFunction: null }, IconEnabled: { classPropertyName: "IconEnabled", publicName: "IconEnabled", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"model.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n\r\n\r\n\r\n", styles: [".container{display:flex;align-items:center}i{line-height:0px}input{background-color:transparent;border:none;padding:0}input:focus{outline:none;box-sizing:content-box}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
59
|
-
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TxtBoxComponent, decorators: [{
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: 'app-txt-box', standalone: true, imports: [FormsModule, CommonModule], template: "<div class=\"container\" \r\n[style.width]=\"(_FontSize()*19.375) +'px'\"\r\n[style.height]=\"(_FontSize()*2.5) +'px'\"\r\n[style.border-radius]=\"(_FontSize()*0.3125) +'px'\"\r\n[ngStyle]=\"\r\n{'box-shadow':'\r\nrgb(204, 219, 232)'+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.1875) + 'px '+ (_FontSize()*0.375) + 'px 0px inset' + ',' + \r\n'rgba(255, 255, 255, 0.5)'+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*-0.1875) + 'px '+ (_FontSize()*0.375) + 'px '+ (_FontSize()*0.0625) + 'px inset'\r\n}\r\n\"\r\n>\r\n\r\n <i class=\"{{_iconInput()}} icon\"\r\n [style.color]=\"_CorIcone()\"\r\n [style.font-size]=\"(_FontSize()*1.25) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.5625) +'px'\"\r\n [style.display]=\"_IconEnabled\"\r\n ></i>\r\n\r\n <input\r\n type=\"{{_placeHolderType}}\"\r\n name=\"{{_nameInput()}}\"\r\n id=\"{{_idInput()}}\"\r\n placeholder=\"{{_placeHolderValue}}\"\r\n [(ngModel)]=\"model.value\"\r\n (ngModelChange)=\"onValueChanged()\"\r\n\r\n [style.color]=\"_CorFont()\"\r\n [style.font-family]=\"_FontFamily()\"\r\n [style.font-size]=\"_FontSize()+'px'\"\r\n [style.width]=\"(_FontSize()*15.3125) +'px'\"\r\n [style.margin-left]=\"(_FontSize()*0.375) +'px'\"\r\n >\r\n \r\n\r\n</div>\r\n\r\n\r\n\r\n\r\n", styles: [".container{display:flex;align-items:center}i{line-height:0px}input{background-color:transparent;border:none;padding:0}input:focus{outline:none;box-sizing:content-box}\n"] }]
|
|
63
|
-
}] });
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHh0LWJveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZ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HJcblxyXG5cclxuXHJcbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export var TxtBoxTypesEnum;
|
|
2
|
-
(function (TxtBoxTypesEnum) {
|
|
3
|
-
TxtBoxTypesEnum[TxtBoxTypesEnum["Email"] = 0] = "Email";
|
|
4
|
-
TxtBoxTypesEnum[TxtBoxTypesEnum["Password"] = 1] = "Password";
|
|
5
|
-
})(TxtBoxTypesEnum || (TxtBoxTypesEnum = {}));
|
|
6
|
-
export var TxtBoxInputTypesEnum;
|
|
7
|
-
(function (TxtBoxInputTypesEnum) {
|
|
8
|
-
TxtBoxInputTypesEnum["Text"] = "text";
|
|
9
|
-
TxtBoxInputTypesEnum["Password"] = "password";
|
|
10
|
-
})(TxtBoxInputTypesEnum || (TxtBoxInputTypesEnum = {}));
|
|
11
|
-
export var TxtBoxIconsEnum;
|
|
12
|
-
(function (TxtBoxIconsEnum) {
|
|
13
|
-
TxtBoxIconsEnum["User"] = "fi fi-sr-user";
|
|
14
|
-
TxtBoxIconsEnum["Lock"] = "fi fi-sr-lock";
|
|
15
|
-
TxtBoxIconsEnum["EyeOpen"] = "fi fi-ss-eye";
|
|
16
|
-
TxtBoxIconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
|
|
17
|
-
TxtBoxIconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
|
|
18
|
-
TxtBoxIconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
|
|
19
|
-
TxtBoxIconsEnum["Done"] = "fi fi-sr-octagon-check";
|
|
20
|
-
TxtBoxIconsEnum["Doing"] = "fi fi-br-duration-alt";
|
|
21
|
-
TxtBoxIconsEnum["NotDone"] = "fi fi-sr-cross-circle";
|
|
22
|
-
TxtBoxIconsEnum["Alert"] = "fi fi-sr-exclamation";
|
|
23
|
-
TxtBoxIconsEnum["Close"] = "fi fi-br-cross";
|
|
24
|
-
})(TxtBoxIconsEnum || (TxtBoxIconsEnum = {}));
|
|
25
|
-
//# sourceMappingURL=data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b3hJbnB1dFR5cGVzRW51bXtcclxuICAgIFRleHQgPSAndGV4dCcsXHJcbiAgICBQYXNzd29yZCA9ICdwYXNzd29yZCdcclxufVxyXG5leHBvcnQgZW51bSBUeHRCb3hJY29uc0VudW17XHJcbiAgICBVc2VyID0gJ2ZpIGZpLXNyLXVzZXInLFxyXG4gICAgTG9jayA9ICdmaSBmaS1zci1sb2NrJyxcclxuXHJcbiAgICBFeWVPcGVuID0gJ2ZpIGZpLXNzLWV5ZScsXHJcbiAgICBFeWVDbG9zZSA9ICdmaSBmaS1zcy1leWUtY3Jvc3NlZCcsXHJcblxyXG4gICAgSXRlbUNsb3NlZCA9ICdmaSBmaS10ci1jYXJldC1kb3duJyxcclxuICAgIEl0ZW1PcGVubmVkID0gJ2ZpIGZpLXJyLWNhcmV0LWRvd24nLFxyXG5cclxuICAgIERvbmUgPSAnZmkgZmktc3Itb2N0YWdvbi1jaGVjaycsXHJcbiAgICBEb2luZyA9ICdmaSBmaS1ici1kdXJhdGlvbi1hbHQnLFxyXG4gICAgTm90RG9uZSA9ICdmaSBmaS1zci1jcm9zcy1jaXJjbGUnLFxyXG4gICAgQWxlcnQgPSAnZmkgZmktc3ItZXhjbGFtYXRpb24nLFxyXG4gICAgQ2xvc2UgPSAnZmkgZmktYnItY3Jvc3MnXHJcbn0iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export class TxtBoxModel {
|
|
2
|
-
constructor() {
|
|
3
|
-
this.name = '';
|
|
4
|
-
this.value = '';
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHh0LWJveC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xpZ2h0bmluZy10ZWMtYnItYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvdHh0LWJveC90eHQtYm94Lm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxXQUFXO0lBQXhCO1FBQ0ksU0FBSSxHQUFZLEVBQUUsQ0FBQztRQUNuQixVQUFLLEdBQVksRUFBRSxDQUFDO0lBQ3hCLENBQUM7Q0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBUeHRCb3hNb2RlbHtcclxuICAgIG5hbWUgOiBzdHJpbmcgPSAnJztcclxuICAgIHZhbHVlIDogc3RyaW5nID0gJyc7XHJcbn0iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Injectable } from "@angular/core";
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class TxtBoxService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.value = new Subject();
|
|
7
|
-
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TxtBoxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TxtBoxService, providedIn: 'root' }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TxtBoxService, decorators: [{
|
|
12
|
-
type: Injectable,
|
|
13
|
-
args: [{ providedIn: 'root' }]
|
|
14
|
-
}] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHh0LWJveC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGlnaHRuaW5nLXRlYy1ici1hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi90eHQtYm94L3R4dC1ib3guc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSS9CLE1BQU0sT0FBTyxhQUFhO0lBRDFCO1FBR1csVUFBSyxHQUFHLElBQUksT0FBTyxFQUFlLENBQUM7S0FFN0M7K0dBSlksYUFBYTttSEFBYixhQUFhLGNBREYsTUFBTTs7NEZBQ2pCLGFBQWE7a0JBRHpCLFVBQVU7bUJBQUMsRUFBQyxVQUFVLEVBQUMsTUFBTSxFQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtJbmplY3RhYmxlIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcclxuaW1wb3J0IHsgU3ViamVjdCB9IGZyb20gJ3J4anMnO1xyXG5pbXBvcnQgeyBUeHRCb3hNb2RlbCB9IGZyb20gXCIuL3R4dC1ib3gubW9kZWxcIjtcclxuXHJcbkBJbmplY3RhYmxlKHtwcm92aWRlZEluOidyb290J30pXHJcbmV4cG9ydCBjbGFzcyBUeHRCb3hTZXJ2aWNle1xyXG5cclxuICAgIHB1YmxpYyB2YWx1ZSA9IG5ldyBTdWJqZWN0PFR4dEJveE1vZGVsPigpO1xyXG5cclxufSJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlnaHRuaW5nLXRlYy1ici1hbmd1bGFyLWNvbXBvbmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9saWdodG5pbmctdGVjLWJyLWFuZ3VsYXItY29tcG9uZW50cy9zcmMvbGlnaHRuaW5nLXRlYy1ici1hbmd1bGFyLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
package/esm2022/public-api.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of lightning-tec-br-angular-components
|
|
3
|
-
*/
|
|
4
|
-
export * from './lib/txt-box/txt-box.component';
|
|
5
|
-
export * from './lib/txt-box/txt-box.enum';
|
|
6
|
-
export * from './lib/txt-box/txt-box.model';
|
|
7
|
-
export * from './lib/txt-box/txt-box.service';
|
|
8
|
-
export * from './lib/button/button.component';
|
|
9
|
-
export * from './lib/button/button.enum';
|
|
10
|
-
export * from './lib/button/button.model';
|
|
11
|
-
export * from './lib/button/button.service';
|
|
12
|
-
export * from './lib/list-item/list-item.component';
|
|
13
|
-
export * from './lib/list-item/list-item.enum';
|
|
14
|
-
export * from './lib/list-item/list-item.model';
|
|
15
|
-
export * from './lib/list-item/list-item.service';
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2xpZ2h0bmluZy10ZWMtYnItYW5ndWxhci1jb21wb25lbnRzL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBsaWdodG5pbmctdGVjLWJyLWFuZ3VsYXItY29tcG9uZW50c1xyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R4dC1ib3gvdHh0LWJveC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90eHQtYm94L3R4dC1ib3guZW51bSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R4dC1ib3gvdHh0LWJveC5tb2RlbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R4dC1ib3gvdHh0LWJveC5zZXJ2aWNlJztcclxuIl19
|