lightning-tec-br-angular-components 1.5.7 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,38 +27,6 @@ var FormFieldCountryDataFormat;
27
27
  FormFieldCountryDataFormat[FormFieldCountryDataFormat["Estados_Unidos"] = 0] = "Estados_Unidos";
28
28
  FormFieldCountryDataFormat[FormFieldCountryDataFormat["Brasil"] = 1] = "Brasil";
29
29
  })(FormFieldCountryDataFormat || (FormFieldCountryDataFormat = {}));
30
- var FormFieldIconsEnum;
31
- (function (FormFieldIconsEnum) {
32
- FormFieldIconsEnum["AddFile"] = "fi fi-rr-add-document";
33
- FormFieldIconsEnum["AddUser"] = "fi fi-sr-user-add";
34
- FormFieldIconsEnum["Alert"] = "fi fi-sr-exclamation";
35
- FormFieldIconsEnum["Camera"] = "fi fi-rr-camera";
36
- FormFieldIconsEnum["Close"] = "fi fi-br-cross";
37
- FormFieldIconsEnum["Company"] = "fi fi-rs-building";
38
- FormFieldIconsEnum["Delete"] = "fi fi-sr-trash";
39
- FormFieldIconsEnum["Done_Fill"] = "fi fi-sr-octagon-check";
40
- FormFieldIconsEnum["Done_OutLine"] = "fi fi-rr-check-circle";
41
- FormFieldIconsEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
42
- FormFieldIconsEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
43
- FormFieldIconsEnum["DowloadFile"] = "fi fi-sr-file-download";
44
- FormFieldIconsEnum["Edit"] = "fi fi-sr-pencil";
45
- FormFieldIconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
46
- FormFieldIconsEnum["EyeOpen"] = "fi fi-ss-eye";
47
- FormFieldIconsEnum["Hamburger"] = "fi fi-br-menu-burger";
48
- FormFieldIconsEnum["Home"] = "fi fi-sr-home";
49
- FormFieldIconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
50
- FormFieldIconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
51
- FormFieldIconsEnum["Key"] = "fi fi-sr-key";
52
- FormFieldIconsEnum["Lubrificacao"] = "fi fi-rr-oil-can";
53
- FormFieldIconsEnum["NoteBook"] = "fi fi-br-notebook-alt";
54
- FormFieldIconsEnum["NotDone"] = "fi fi-sr-cross-circle";
55
- FormFieldIconsEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
56
- FormFieldIconsEnum["PDFFile"] = "fi fi-sr-file-pdf";
57
- FormFieldIconsEnum["Phone"] = "fi fi-sr-phone-call";
58
- FormFieldIconsEnum["Refresh"] = "fi fi-rr-rotate-right";
59
- FormFieldIconsEnum["Rotas"] = "fi fi-br-route";
60
- FormFieldIconsEnum["User"] = "fi fi-sr-user";
61
- })(FormFieldIconsEnum || (FormFieldIconsEnum = {}));
62
30
  var FormFieldFontWeights;
63
31
  (function (FormFieldFontWeights) {
64
32
  FormFieldFontWeights[FormFieldFontWeights["Thin"] = 100] = "Thin";
@@ -105,38 +73,6 @@ class FormFieldComboModel {
105
73
  }
106
74
  }
107
75
 
108
- var AlertIconsEnum;
109
- (function (AlertIconsEnum) {
110
- AlertIconsEnum["AddFile"] = "fi fi-rr-add-document";
111
- AlertIconsEnum["AddUser"] = "fi fi-sr-user-add";
112
- AlertIconsEnum["Alert"] = "fi fi-sr-exclamation";
113
- AlertIconsEnum["Camera"] = "fi fi-rr-camera";
114
- AlertIconsEnum["Close"] = "fi fi-br-cross";
115
- AlertIconsEnum["Company"] = "fi fi-rs-building";
116
- AlertIconsEnum["Delete"] = "fi fi-sr-trash";
117
- AlertIconsEnum["Done_Fill"] = "fi fi-sr-octagon-check";
118
- AlertIconsEnum["Done_OutLine"] = "fi fi-rr-check-circle";
119
- AlertIconsEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
120
- AlertIconsEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
121
- AlertIconsEnum["DowloadFile"] = "fi fi-sr-file-download";
122
- AlertIconsEnum["Edit"] = "fi fi-sr-pencil";
123
- AlertIconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
124
- AlertIconsEnum["EyeOpen"] = "fi fi-ss-eye";
125
- AlertIconsEnum["Hamburger"] = "fi fi-br-menu-burger";
126
- AlertIconsEnum["Home"] = "fi fi-sr-home";
127
- AlertIconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
128
- AlertIconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
129
- AlertIconsEnum["Key"] = "fi fi-sr-key";
130
- AlertIconsEnum["Lubrificacao"] = "fi fi-rr-oil-can";
131
- AlertIconsEnum["NoteBook"] = "fi fi-br-notebook-alt";
132
- AlertIconsEnum["NotDone"] = "fi fi-sr-cross-circle";
133
- AlertIconsEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
134
- AlertIconsEnum["PDFFile"] = "fi fi-sr-file-pdf";
135
- AlertIconsEnum["Phone"] = "fi fi-sr-phone-call";
136
- AlertIconsEnum["Refresh"] = "fi fi-rr-rotate-right";
137
- AlertIconsEnum["Rotas"] = "fi fi-br-route";
138
- AlertIconsEnum["User"] = "fi fi-sr-user";
139
- })(AlertIconsEnum || (AlertIconsEnum = {}));
140
76
  var AlertTypesEnum;
141
77
  (function (AlertTypesEnum) {
142
78
  AlertTypesEnum[AlertTypesEnum["Done"] = 0] = "Done";
@@ -169,6 +105,40 @@ class AlertModel {
169
105
  }
170
106
  }
171
107
 
108
+ var IconsEnum;
109
+ (function (IconsEnum) {
110
+ IconsEnum["AddFile"] = "fi fi-rr-add-document";
111
+ IconsEnum["AddUser"] = "fi fi-sr-user-add";
112
+ IconsEnum["Alert"] = "fi fi-sr-exclamation";
113
+ IconsEnum["Camera"] = "fi fi-rr-camera";
114
+ IconsEnum["Close"] = "fi fi-br-cross";
115
+ IconsEnum["Company"] = "fi fi-rs-building";
116
+ IconsEnum["Delete"] = "fi fi-sr-trash";
117
+ IconsEnum["Done_Fill"] = "fi fi-sr-octagon-check";
118
+ IconsEnum["Done_OutLine"] = "fi fi-rr-check-circle";
119
+ IconsEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
120
+ IconsEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
121
+ IconsEnum["DowloadFile"] = "fi fi-sr-file-download";
122
+ IconsEnum["Edit"] = "fi fi-sr-pencil";
123
+ IconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
124
+ IconsEnum["EyeOpen"] = "fi fi-ss-eye";
125
+ IconsEnum["Hamburger"] = "fi fi-br-menu-burger";
126
+ IconsEnum["Home"] = "fi fi-sr-home";
127
+ IconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
128
+ IconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
129
+ IconsEnum["Key"] = "fi fi-sr-key";
130
+ IconsEnum["Lubrificacao"] = "fi fi-rr-oil-can";
131
+ IconsEnum["NoteBook"] = "fi fi-br-notebook-alt";
132
+ IconsEnum["NotDone"] = "fi fi-sr-cross-circle";
133
+ IconsEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
134
+ IconsEnum["PDFFile"] = "fi fi-sr-file-pdf";
135
+ IconsEnum["Phone"] = "fi fi-sr-phone-call";
136
+ IconsEnum["Prazo_Atencao"] = "fi fi-ss-deadline";
137
+ IconsEnum["Refresh"] = "fi fi-rr-rotate-right";
138
+ IconsEnum["Rotas"] = "fi fi-br-route";
139
+ IconsEnum["User"] = "fi fi-sr-user";
140
+ })(IconsEnum || (IconsEnum = {}));
141
+
172
142
  class AlertComponent {
173
143
  constructor(cd) {
174
144
  this.cd = cd;
@@ -194,7 +164,7 @@ class AlertComponent {
194
164
  this.BackgroundColor = '';
195
165
  this._IconClose = '';
196
166
  this.AlertModel = new AlertModel();
197
- this._IconClose = AlertIconsEnum.Close;
167
+ this._IconClose = IconsEnum.Close;
198
168
  this.startListenToAlertShowed();
199
169
  }
200
170
  OnClose() {
@@ -212,17 +182,17 @@ class AlertComponent {
212
182
  this.isVisible = true;
213
183
  switch (this.AlertType) {
214
184
  case (AlertTypesEnum.Done):
215
- this._Icon = AlertIconsEnum.Done_Fill;
185
+ this._Icon = IconsEnum.Done_Fill;
216
186
  this.BackgroundColor = '#008B10';
217
187
  this._FontColor = 'white';
218
188
  break;
219
189
  case (AlertTypesEnum.Alert):
220
- this._Icon = AlertIconsEnum.Alert;
190
+ this._Icon = IconsEnum.Alert;
221
191
  this.BackgroundColor = '#DFCD00';
222
192
  this._FontColor = 'black';
223
193
  break;
224
194
  case (AlertTypesEnum.NotDone):
225
- this._Icon = AlertIconsEnum.NotDone;
195
+ this._Icon = IconsEnum.NotDone;
226
196
  this.BackgroundColor = '#D40000';
227
197
  this._FontColor = 'white';
228
198
  break;
@@ -253,7 +223,7 @@ class FormFieldComponent {
253
223
  this.Name = input.required();
254
224
  this._placeHolderType = '';
255
225
  this._placeHolderValue = input.required();
256
- this._PasswordIcon = FormFieldIconsEnum.EyeOpen;
226
+ this._PasswordIcon = IconsEnum.EyeOpen;
257
227
  this._IconColor = input.required();
258
228
  this._FontColor = input.required();
259
229
  this._FontSize = input.required();
@@ -281,7 +251,7 @@ class FormFieldComponent {
281
251
  this.FormFielTxtModel = new FormFielTxtModel();
282
252
  this.FormFieldComboModel = new FormFieldComboModel();
283
253
  this.AlertTypesEnum = AlertTypesEnum;
284
- this.FormFieldIconsEnum = FormFieldIconsEnum;
254
+ this.IconsEnum = IconsEnum;
285
255
  this.FormFieldTxtInputTypesEnum = FormFieldTxtInputTypesEnum;
286
256
  this.FormFieldDataFormat = FormFieldCountryDataFormat;
287
257
  this.FormFieldTypes = FormFieldTypes;
@@ -346,12 +316,12 @@ class FormFieldComponent {
346
316
  });
347
317
  }
348
318
  togglePasswordView() {
349
- if (this._PasswordIcon == FormFieldIconsEnum.EyeClose) {
350
- this._PasswordIcon = FormFieldIconsEnum.EyeOpen;
319
+ if (this._PasswordIcon == IconsEnum.EyeClose) {
320
+ this._PasswordIcon = IconsEnum.EyeOpen;
351
321
  this._placeHolderType = 'password';
352
322
  }
353
323
  else {
354
- this._PasswordIcon = FormFieldIconsEnum.EyeClose;
324
+ this._PasswordIcon = IconsEnum.EyeClose;
355
325
  this._placeHolderType = 'text';
356
326
  }
357
327
  }
@@ -440,10 +410,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
440
410
 
441
411
  var ButtonTypeEnum;
442
412
  (function (ButtonTypeEnum) {
443
- ButtonTypeEnum["Button"] = "button";
444
- ButtonTypeEnum["Menu"] = "menu";
445
- ButtonTypeEnum["Reset"] = "reset";
446
- ButtonTypeEnum["Submit"] = "submit";
413
+ ButtonTypeEnum[ButtonTypeEnum["Normal"] = 0] = "Normal";
414
+ ButtonTypeEnum[ButtonTypeEnum["Outline"] = 1] = "Outline";
447
415
  })(ButtonTypeEnum || (ButtonTypeEnum = {}));
448
416
  var ButtonIconPositionEnum;
449
417
  (function (ButtonIconPositionEnum) {
@@ -452,38 +420,6 @@ var ButtonIconPositionEnum;
452
420
  ButtonIconPositionEnum[ButtonIconPositionEnum["Bottom"] = 2] = "Bottom";
453
421
  ButtonIconPositionEnum[ButtonIconPositionEnum["Left"] = 3] = "Left";
454
422
  })(ButtonIconPositionEnum || (ButtonIconPositionEnum = {}));
455
- var ButtonIconEnum;
456
- (function (ButtonIconEnum) {
457
- ButtonIconEnum["AddFile"] = "fi fi-rr-add-document";
458
- ButtonIconEnum["AddUser"] = "fi fi-sr-user-add";
459
- ButtonIconEnum["Alert"] = "fi fi-sr-exclamation";
460
- ButtonIconEnum["Camera"] = "fi fi-rr-camera";
461
- ButtonIconEnum["Close"] = "fi fi-br-cross";
462
- ButtonIconEnum["Company"] = "fi fi-rs-building";
463
- ButtonIconEnum["Delete"] = "fi fi-sr-trash";
464
- ButtonIconEnum["Done_Fill"] = "fi fi-sr-octagon-check";
465
- ButtonIconEnum["Done_OutLine"] = "fi fi-rr-check-circle";
466
- ButtonIconEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
467
- ButtonIconEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
468
- ButtonIconEnum["DowloadFile"] = "fi fi-sr-file-download";
469
- ButtonIconEnum["Edit"] = "fi fi-sr-pencil";
470
- ButtonIconEnum["EyeClose"] = "fi fi-ss-eye-crossed";
471
- ButtonIconEnum["EyeOpen"] = "fi fi-ss-eye";
472
- ButtonIconEnum["Hamburger"] = "fi fi-br-menu-burger";
473
- ButtonIconEnum["Home"] = "fi fi-sr-home";
474
- ButtonIconEnum["ItemClosed"] = "fi fi-tr-caret-down";
475
- ButtonIconEnum["ItemOpenned"] = "fi fi-rr-caret-down";
476
- ButtonIconEnum["Key"] = "fi fi-sr-key";
477
- ButtonIconEnum["Lubrificacao"] = "fi fi-rr-oil-can";
478
- ButtonIconEnum["NoteBook"] = "fi fi-br-notebook-alt";
479
- ButtonIconEnum["NotDone"] = "fi fi-sr-cross-circle";
480
- ButtonIconEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
481
- ButtonIconEnum["PDFFile"] = "fi fi-sr-file-pdf";
482
- ButtonIconEnum["Phone"] = "fi fi-sr-phone-call";
483
- ButtonIconEnum["Refresh"] = "fi fi-rr-rotate-right";
484
- ButtonIconEnum["Rotas"] = "fi fi-br-route";
485
- ButtonIconEnum["User"] = "fi fi-sr-user";
486
- })(ButtonIconEnum || (ButtonIconEnum = {}));
487
423
  var ButtonFontWeights;
488
424
  (function (ButtonFontWeights) {
489
425
  ButtonFontWeights[ButtonFontWeights["Thin"] = 100] = "Thin";
@@ -500,8 +436,7 @@ var ButtonFontWeights;
500
436
  class ButtonService {
501
437
  constructor() {
502
438
  this.click = new Subject();
503
- this.loadingState = new Subject();
504
- this.alertState = new Subject();
439
+ this.stateChanged = new Subject();
505
440
  }
506
441
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
507
442
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonService, providedIn: 'root' }); }
@@ -511,186 +446,129 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
511
446
  args: [{ providedIn: 'root' }]
512
447
  }] });
513
448
 
514
- class ButtonModel {
515
- constructor() {
516
- this.name = '';
517
- this.state = false;
518
- }
519
- }
520
-
521
- class LabelModel {
522
- constructor() {
523
- this.name = '';
524
- }
525
- }
526
-
527
- class LabelService {
528
- constructor() {
529
- this.stateChanger = new Subject();
449
+ class ButtonConfigModel {
450
+ constructor(params) {
451
+ this.Name = params.Name;
452
+ this.Width = params.Width;
453
+ this.Height = params.Height;
454
+ this.ButtonType = params.ButtonType;
455
+ this.BorderRadius = params.BorderRadius;
456
+ this.IconEnabled = params.IconEnabled;
457
+ this.Icon = params.Icon;
458
+ this.IconFontSize = params.IconFontSize;
459
+ this.IconDistanceFromtext = params.IconDistanceFromtext;
460
+ this.IconColorNormal = params.IconColorNormal;
461
+ this.IconColorHover = params.IconColorHover;
462
+ this.IconOrientation = params.IconOrientation;
463
+ this.TextEnabled = params.TextEnabled;
464
+ this.Text = params.Text;
465
+ this.TextFontSize = params.TextFontSize;
466
+ this.TextFontWeight = params.TextFontWeight;
467
+ this.TextFontFamily = params.TextFontFamily;
468
+ this.TextColorNormal = params.TextColorNormal;
469
+ this.TextColorHover = params.TextColorHover;
470
+ this.BackGroundColorNormal = params.BackGroundColorNormal;
471
+ this.BackGroundColorHover = params.BackGroundColorHover;
472
+ this.LoadingState = params.LoadingState;
473
+ this.EnabledState = params.EnabledState;
474
+ this.OutlineBorderSize = params.OutlineBorderSize;
530
475
  }
531
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
532
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, providedIn: 'root' }); }
533
476
  }
534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, decorators: [{
535
- type: Injectable,
536
- args: [{ providedIn: 'root' }]
537
- }] });
538
477
 
539
478
  class ButtonComponent {
540
- ;
541
- constructor(element) {
479
+ constructor(element, cd) {
542
480
  this.element = element;
543
- this._BackGroundColor = '';
544
- this._ButtonType = input.required();
545
- this._BorderRadius = input.required();
546
- this._Width = input.required();
547
- this._Height = input.required();
548
- this._Icon = input.required();
549
- this._IconFontSize = 0;
550
- this._IconOrientation = '';
551
- this._IconMarginType = '';
552
- this._IconDistanceFromTextObject = {};
553
- this._IconColor = '';
554
- this._IconDistanceFromText = input.required();
555
- this._IconEnabled = input.required();
556
- this._TextColor = '';
557
- this._Text = input.required();
558
- this._FontSize = input.required();
559
- this._FontWeight = input.required();
560
- this._TextFontFamily = input.required();
561
- this._TextEnabled = input.required();
481
+ this.cd = cd;
562
482
  this.name = input.required();
563
- this.BackGroundColorNormal = input.required();
564
- this.BackGroundColorHover = input.required();
565
- this.IconColorNormal = input.required();
566
- this.IconColorHover = input.required();
567
- this.TextColorNormal = input.required();
568
- this.TextColorHover = input.required();
569
- this.IconOrientation = input.required();
570
- this._LoadingState = false;
571
- this._AlertState = false;
572
- this.ButtonModel = new ButtonModel();
573
483
  this.ButtonService = inject(ButtonService);
574
484
  this.AlertService = inject(AlertService);
575
- this.FormFieldService = inject(FormFieldService);
576
485
  this.AlertModel = new AlertModel();
577
- this.LabelService = inject(LabelService);
578
- this.LabelModel = new LabelModel();
486
+ this.destroy = new Subject();
579
487
  this.AlertTypesEnum = AlertTypesEnum;
488
+ this.ButtonTypeEnum = ButtonTypeEnum;
489
+ this.configModel = new ButtonConfigModel({
490
+ Name: ''
491
+ });
492
+ }
493
+ ngOnDestroy() {
494
+ this.destroy.next();
580
495
  }
581
496
  ngOnInit() {
582
- //Limpa as Memórias de Estado
583
- this._BackGroundColor = '';
584
- this._IconColor = '';
585
- this._TextColor = '';
586
- this._IconDistanceFromTextObject = {};
587
- this._IconFontSize = 0;
588
- this._IconOrientation = '';
589
- this.ButtonModel = new ButtonModel();
590
- this._LoadingState = false;
591
- this._AlertState = false;
592
- this.ngStyle = {};
593
- this._BackGroundColor = this.BackGroundColorNormal();
594
- this._IconColor = this.IconColorNormal();
595
- this._TextColor = this.TextColorNormal();
596
- this._IconFontSize = this._FontSize() * 1.25;
597
- this.startListenToLoadingState();
598
- this.startListenToAlertState();
599
- switch (this.IconOrientation()) {
497
+ this.startListenToStateChanged();
498
+ }
499
+ OnMouseOver() {
500
+ this._BackGroundColor = this.BackGroundColorHover ?? 'white';
501
+ this._IconColor = this.IconColorHover ?? 'white';
502
+ this._TextColor = this.TextColorHover ?? 'white';
503
+ }
504
+ OnMouseOut() {
505
+ this._BackGroundColor = this.BackGroundColorNormal ?? 'white';
506
+ this._IconColor = this.IconColorNormal ?? 'white';
507
+ this._TextColor = this.TextColorNormal ?? 'white';
508
+ }
509
+ OnClick() {
510
+ this.ButtonService.click.next(this.name());
511
+ }
512
+ startListenToStateChanged() {
513
+ this.ButtonService.stateChanged
514
+ .pipe(takeUntil(this.destroy))
515
+ .subscribe((config) => {
516
+ if (config.Name == this.name()) {
517
+ this.Width = config.Width ?? this.Width;
518
+ this.Height = config.Height ?? this.Height;
519
+ this.ButtonType = config.ButtonType ?? this.ButtonType;
520
+ this.BorderRadius = config.BorderRadius ?? this.BorderRadius;
521
+ this.IconEnabled = config.IconEnabled ?? this.IconEnabled;
522
+ this.Icon = config.Icon ?? this.Icon;
523
+ this.IconFontSize = config.IconFontSize ?? this.IconFontSize;
524
+ this.IconDistanceFromtext = config.IconDistanceFromtext ?? this.IconDistanceFromtext;
525
+ this.IconColorNormal = config.IconColorNormal ?? this.IconColorNormal;
526
+ this.IconColorHover = config.IconColorHover ?? this.IconColorHover;
527
+ this.IconOrientation = config.IconOrientation ?? this.IconOrientation;
528
+ this.TextEnabled = config.TextEnabled ?? this.TextEnabled;
529
+ this.Text = config.Text ?? this.Text;
530
+ this.TextFontSize = config.TextFontSize ?? this.TextFontSize;
531
+ this.TextFontWeight = config.TextFontWeight ?? this.TextFontWeight;
532
+ this.TextFontFamily = config.TextFontFamily ?? this.TextFontFamily;
533
+ this.TextColorNormal = config.TextColorNormal ?? this.TextColorNormal;
534
+ this.TextColorHover = config.TextColorHover ?? this.TextColorHover;
535
+ this.BackGroundColorNormal = config.BackGroundColorNormal ?? this.BackGroundColorNormal;
536
+ this.BackGroundColorHover = config.BackGroundColorHover ?? this.BackGroundColorHover;
537
+ this.LoadingState = config.LoadingState ?? this.LoadingState;
538
+ this.EnabledState = config.EnabledState ?? this.EnabledState;
539
+ this.OutlineBorderSize = config.OutlineBorderSize ?? this.OutlineBorderSize;
540
+ this.defineIconOrientation();
541
+ this.OnMouseOut();
542
+ }
543
+ });
544
+ }
545
+ defineIconOrientation() {
546
+ switch (this.IconOrientation) {
600
547
  case (ButtonIconPositionEnum.Top):
601
548
  this._IconOrientation = 'column';
602
- this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-bottom': this._IconDistanceFromText().toString() + 'px' } : {};
549
+ this._IconDistanceFromTextObject = this.TextEnabled ? { 'margin-bottom': (this.IconDistanceFromtext ?? 5).toString() + 'px' } : {};
603
550
  break;
604
551
  case (ButtonIconPositionEnum.Right):
605
552
  this._IconOrientation = 'row-reverse';
606
- this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-left': this._IconDistanceFromText().toString() + 'px' } : {};
553
+ this._IconDistanceFromTextObject = this.TextEnabled ? { 'margin-left': (this.IconDistanceFromtext ?? 5).toString() + 'px' } : {};
607
554
  break;
608
555
  case (ButtonIconPositionEnum.Bottom):
609
556
  this._IconOrientation = 'column-reverse';
610
- this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-top': this._IconDistanceFromText().toString() + 'px' } : {};
557
+ this._IconDistanceFromTextObject = this.TextEnabled ? { 'margin-top': (this.IconDistanceFromtext ?? 5).toString() + 'px' } : {};
611
558
  break;
612
559
  case (ButtonIconPositionEnum.Left):
613
- this._IconDistanceFromTextObject = this._TextEnabled() ? { 'margin-right': this._IconDistanceFromText().toString() + 'px' } : {};
560
+ this._IconDistanceFromTextObject = this.TextEnabled ? { 'margin-right': (this.IconDistanceFromtext ?? 5).toString() + 'px' } : {};
614
561
  break;
615
562
  }
616
- this.ngStyle = {
617
- 'box-shadow': (this._FontSize() / 8) + 'px' + (this._FontSize() / 4) + 'px' + (this._FontSize() / 4) + 'px' + '0px' + 'rgba(0, 0, 0, 0.25)',
618
- 'flex-direction': this._IconOrientation
619
- };
620
- }
621
- OnMouseOver() {
622
- this._BackGroundColor = this.BackGroundColorHover();
623
- this._IconColor = this.IconColorHover();
624
- this._TextColor = this.TextColorHover();
625
- }
626
- OnMouseOut() {
627
- this._BackGroundColor = this.BackGroundColorNormal();
628
- this._IconColor = this.IconColorNormal();
629
- this._TextColor = this.TextColorNormal();
630
- }
631
- OnClick() {
632
- this.ButtonModel.name = this.name();
633
- this.ButtonModel.state = true;
634
- this.ButtonService.click.next(this.ButtonModel);
635
- this.ButtonService.loadingState.next(this.ButtonModel);
636
- }
637
- startListenToLoadingState() {
638
- this.ButtonService.loadingState.subscribe((callerData) => {
639
- if (this.name() == callerData.name) {
640
- this._LoadingState = callerData.state;
641
- }
642
- });
643
- }
644
- startListenToAlertState() {
645
- this.FormFieldService.alertState.subscribe((callerData) => {
646
- if (this.name() == callerData.alertsFatherName) {
647
- callerData.top_DontSet = this.element.nativeElement.getBoundingClientRect().top - this.element.nativeElement.offsetHeight;
648
- callerData.left_DontSet = this.element.nativeElement.getBoundingClientRect().left + this.element.nativeElement.offsetWidth;
649
- callerData.alertsName_DontSet = this.ButtonModel.name + '-alert';
650
- this.AlertService.wasOpenned.next(callerData);
651
- }
652
- });
653
563
  }
654
- 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 }); }
655
- 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: "\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]=\"ngStyle\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\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 [ngStyle]=\"_IconDistanceFromTextObject\"\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<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;vertical-align:top;line-height:0px}button{display:flex;align-items:center;justify-content:center;border:none;padding:0;text-decoration:none;box-shadow:2px 4px 4px #00000040}button:hover{cursor:pointer;transition:.05s;transform:scale(1.05)}button:active{transform:scale(.95)}button>i{line-height:0px}button>p{margin:0;line-height:0px}button>.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: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AlertComponent, selector: "app-alert", inputs: ["Name", "_FontSize", "_FontFamily", "_FontWeight"] }] }); }
564
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
565
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: ButtonComponent, isStandalone: true, selector: "app-button", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<button\r\n[style.background-color]=\"ButtonType == ButtonTypeEnum.Outline ? 'transparent' : EnabledState ? _BackGroundColor : 'gray'\"\r\n[style.border-radius]=\"(BorderRadius ?? 5).toString()+'px'\"\r\n[style.border]=\"ButtonType == ButtonTypeEnum.Outline ? `${OutlineBorderSize}px solid ${_BackGroundColor}` : '' \"\r\n[style.width]=\"Width + 'px'\"\r\n[style.height]=\"Height + 'px'\"\r\n[style.box-shadow]=\"`${(this.TextFontSize ?? 12/8)}px ${(this.TextFontSize ?? 12/4)}px ${(this.TextFontSize ?? 12/4)}px 0px rgba(0, 0, 0, 0.25)`\"\r\n[style.flex-direction]=\"this._IconOrientation\"\r\n[style.cursor]=\"(EnabledState ?? true) ? 'pointer' : 'default'\"\r\n[style.--transition]=\"!EnabledState ? '0s' : '0.05s'\"\r\n[style.--transformHover]=\"!EnabledState ? '1' : '1.05'\"\r\n[style.--transformActive]=\"!EnabledState ? '1' : '0.95'\"\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]=\"EnabledState ? _IconColor : 'white'\"\r\n [style.font-size]=\"IconFontSize +'px'\"\r\n [style.display]=\"IconEnabled && !LoadingState ? '' : 'none'\"\r\n [ngStyle]=\"_IconDistanceFromTextObject\"\r\n >\r\n </i>\r\n\r\n <i\r\n class=\"loader\"\r\n [style.width]=\"IconFontSize +'px'\"\r\n [style.height]=\"IconFontSize +'px'\"\r\n [style.display]=\"LoadingState ? 'inline-block' : 'none'\"\r\n [style.--loaderColor]=\"_TextColor\"\r\n [style.--loaderBorderSize]=\"((IconFontSize ?? 12) *0.15)+'px'\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"TextFontSize +'px'\"\r\n [style.font-family]=\"TextFontFamily\"\r\n [style.font-weight]=\"TextFontWeight\"\r\n [style.color]=\"EnabledState ? _TextColor : 'white'\"\r\n [style.display]=\"TextEnabled && !LoadingState ? '' : 'none'\"\r\n >{{Text}}\r\n </p>\r\n\r\n</button>\r\n \r\n", styles: [":host{display:inline-block;vertical-align:top;line-height:0px;--transition: .05s;--transformHover:1.05;--transformActive:.95}button{display:flex;align-items:center;justify-content:center;border:none;padding:0;text-decoration:none;box-shadow:2px 4px 4px #00000040;box-sizing:border-box}button:hover{transition:var(--transition);transform:scale(var(--transformHover))}button:active{transform:scale(var(--transformActive))}button>i{line-height:0px}button>p{margin:0;line-height:0px}button>.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: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
656
566
  }
657
567
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, decorators: [{
658
568
  type: Component,
659
- args: [{ selector: 'app-button', standalone: true, imports: [CommonModule, AlertComponent], template: "\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]=\"ngStyle\"\r\n(mouseover)=\"OnMouseOver()\"\r\n(mouseout)=\"OnMouseOut()\"\r\n(click)=\"OnClick()\"\r\n\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 [ngStyle]=\"_IconDistanceFromTextObject\"\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<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;vertical-align:top;line-height:0px}button{display:flex;align-items:center;justify-content:center;border:none;padding:0;text-decoration:none;box-shadow:2px 4px 4px #00000040}button:hover{cursor:pointer;transition:.05s;transform:scale(1.05)}button:active{transform:scale(.95)}button>i{line-height:0px}button>p{margin:0;line-height:0px}button>.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"] }]
660
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
569
+ args: [{ selector: 'app-button', standalone: true, imports: [CommonModule], template: "<button\r\n[style.background-color]=\"ButtonType == ButtonTypeEnum.Outline ? 'transparent' : EnabledState ? _BackGroundColor : 'gray'\"\r\n[style.border-radius]=\"(BorderRadius ?? 5).toString()+'px'\"\r\n[style.border]=\"ButtonType == ButtonTypeEnum.Outline ? `${OutlineBorderSize}px solid ${_BackGroundColor}` : '' \"\r\n[style.width]=\"Width + 'px'\"\r\n[style.height]=\"Height + 'px'\"\r\n[style.box-shadow]=\"`${(this.TextFontSize ?? 12/8)}px ${(this.TextFontSize ?? 12/4)}px ${(this.TextFontSize ?? 12/4)}px 0px rgba(0, 0, 0, 0.25)`\"\r\n[style.flex-direction]=\"this._IconOrientation\"\r\n[style.cursor]=\"(EnabledState ?? true) ? 'pointer' : 'default'\"\r\n[style.--transition]=\"!EnabledState ? '0s' : '0.05s'\"\r\n[style.--transformHover]=\"!EnabledState ? '1' : '1.05'\"\r\n[style.--transformActive]=\"!EnabledState ? '1' : '0.95'\"\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]=\"EnabledState ? _IconColor : 'white'\"\r\n [style.font-size]=\"IconFontSize +'px'\"\r\n [style.display]=\"IconEnabled && !LoadingState ? '' : 'none'\"\r\n [ngStyle]=\"_IconDistanceFromTextObject\"\r\n >\r\n </i>\r\n\r\n <i\r\n class=\"loader\"\r\n [style.width]=\"IconFontSize +'px'\"\r\n [style.height]=\"IconFontSize +'px'\"\r\n [style.display]=\"LoadingState ? 'inline-block' : 'none'\"\r\n [style.--loaderColor]=\"_TextColor\"\r\n [style.--loaderBorderSize]=\"((IconFontSize ?? 12) *0.15)+'px'\"\r\n >\r\n </i>\r\n\r\n <p\r\n [style.font-size]=\"TextFontSize +'px'\"\r\n [style.font-family]=\"TextFontFamily\"\r\n [style.font-weight]=\"TextFontWeight\"\r\n [style.color]=\"EnabledState ? _TextColor : 'white'\"\r\n [style.display]=\"TextEnabled && !LoadingState ? '' : 'none'\"\r\n >{{Text}}\r\n </p>\r\n\r\n</button>\r\n \r\n", styles: [":host{display:inline-block;vertical-align:top;line-height:0px;--transition: .05s;--transformHover:1.05;--transformActive:.95}button{display:flex;align-items:center;justify-content:center;border:none;padding:0;text-decoration:none;box-shadow:2px 4px 4px #00000040;box-sizing:border-box}button:hover{transition:var(--transition);transform:scale(var(--transformHover))}button:active{transform:scale(var(--transformActive))}button>i{line-height:0px}button>p{margin:0;line-height:0px}button>.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"] }]
570
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }] });
661
571
 
662
- var ListItemIcons;
663
- (function (ListItemIcons) {
664
- ListItemIcons["AddFile"] = "fi fi-rr-add-document";
665
- ListItemIcons["AddUser"] = "fi fi-sr-user-add";
666
- ListItemIcons["Alert"] = "fi fi-sr-exclamation";
667
- ListItemIcons["Camera"] = "fi fi-rr-camera";
668
- ListItemIcons["Close"] = "fi fi-br-cross";
669
- ListItemIcons["Company"] = "fi fi-rs-building";
670
- ListItemIcons["Delete"] = "fi fi-sr-trash";
671
- ListItemIcons["Done_Fill"] = "fi fi-sr-octagon-check";
672
- ListItemIcons["Done_OutLine"] = "fi fi-rr-check-circle";
673
- ListItemIcons["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
674
- ListItemIcons["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
675
- ListItemIcons["DowloadFile"] = "fi fi-sr-file-download";
676
- ListItemIcons["Edit"] = "fi fi-sr-pencil";
677
- ListItemIcons["EyeClose"] = "fi fi-ss-eye-crossed";
678
- ListItemIcons["EyeOpen"] = "fi fi-ss-eye";
679
- ListItemIcons["Hamburger"] = "fi fi-br-menu-burger";
680
- ListItemIcons["Home"] = "fi fi-sr-home";
681
- ListItemIcons["ItemClosed"] = "fi fi-tr-caret-down";
682
- ListItemIcons["ItemOpenned"] = "fi fi-rr-caret-down";
683
- ListItemIcons["Key"] = "fi fi-sr-key";
684
- ListItemIcons["Lubrificacao"] = "fi fi-rr-oil-can";
685
- ListItemIcons["NoteBook"] = "fi fi-br-notebook-alt";
686
- ListItemIcons["NotDone"] = "fi fi-sr-cross-circle";
687
- ListItemIcons["PageGoBack"] = "fi fi-rr-angle-circle-left";
688
- ListItemIcons["PDFFile"] = "fi fi-sr-file-pdf";
689
- ListItemIcons["Phone"] = "fi fi-sr-phone-call";
690
- ListItemIcons["Refresh"] = "fi fi-rr-rotate-right";
691
- ListItemIcons["Rotas"] = "fi fi-br-route";
692
- ListItemIcons["User"] = "fi fi-sr-user";
693
- })(ListItemIcons || (ListItemIcons = {}));
694
572
  var ListItemPositions;
695
573
  (function (ListItemPositions) {
696
574
  ListItemPositions[ListItemPositions["Top"] = 0] = "Top";
@@ -783,14 +661,13 @@ class ListItemComponent {
783
661
  this._WrappedBackGroundColor = '';
784
662
  this._FontSize = input.required();
785
663
  //Internals
786
- this._ListItemIcons = ListItemIcons;
787
664
  this.ListItePositions = ListItemPositions;
665
+ this.IconsEnum = IconsEnum;
788
666
  this.ItemStateOpen = false;
789
667
  this.ListItemService = inject(ListItemService);
790
668
  this.ButtonService = inject(ButtonService);
791
669
  }
792
670
  ngOnInit() {
793
- this.ButtonModel = new ButtonModel();
794
671
  this.startListenToStateChange();
795
672
  //Zera Memorias
796
673
  this._ItemNumberMarginTop = 0;
@@ -852,11 +729,29 @@ class ListItemComponent {
852
729
  });
853
730
  }
854
731
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
855
- 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 }, _BoxShadowExternalEnabled: { classPropertyName: "_BoxShadowExternalEnabled", publicName: "_BoxShadowExternalEnabled", isSignal: true, isRequired: true, transformFunction: null }, _BoxShadowInternalEnabled: { classPropertyName: "_BoxShadowInternalEnabled", publicName: "_BoxShadowInternalEnabled", 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 }, _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 }, _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]=\"_Width+'px'\"\r\n[class.box-shadow]=\"_BoxShadowExternalEnabled()\"\r\n[style.border-radius]=\"_BorderRadius+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [class.box-shadow]=\"_BoxShadowInternalEnabled()\"\r\n [style.border-radius]=\"_BorderRadius+'px'\"\r\n >\r\n\r\n <div class=\"iconContainer\"\r\n [style.background-color]=\"_IconBackgroundColor\"\r\n [style.max-width]=\"_Width+'px'\"\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 </div>\r\n\r\n\r\n <div class=\"TextContainer\"\r\n [style.padding-top]=\"_FontSize()+'px'\"\r\n [style.padding-bottom]=\"_FontSize()+'px'\"\r\n [style.padding-left]=\"_FontSize()+'px'\"\r\n [style.background-color]=\"_TextBackgroundColor\"\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 [style.display]=\"_TitleEnabled ? '' : 'none'\"\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=\"ItemOpenIconContainer\"\r\n [style.background-color]=\"_IconOpenBackgroundColor\"\r\n >\r\n <i class=\"{{ItemStateOpen? _ListItemIcons.ItemOpenned : _ListItemIcons.ItemClosed}} ItemOpenState ItemOpenIcon\"\r\n [style.display]=\"_IconOpenItemEnabled ? '' : 'none'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\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.background-color]=\"_WrappedBackGroundColor\"\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: [":host{display:inline-block;vertical-align:top}.wrapper{overflow:hidden}.box-shadow{box-shadow:#0000003d 0 3px 8px}.wrapper>.container{display:flex;cursor:pointer}.wrapper>.container>.iconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.iconContainer>p{margin:0}.wrapper>.container>.iconContainer>i{line-height:0px;display:flex;align-items:center;justify-content:center}.wrapper>.container>.TextContainer{display:flex;flex-direction:column;align-items:start;justify-content:center;width:100%}.wrapper>.container>.TextContainer>h1,h2{margin:0;text-align:center}.wrapper>.container>.ItemOpenIconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.ItemOpenIconContainer>.ItemOpenState{transition:.3s}.wrapper>.container>.ItemOpenIconContainer>.ItemCloseState{transform:rotate(90deg);transition:.3s}.wrapper>.containerWrapped{padding:0}\n"] }); }
732
+ 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 }, _BoxShadowExternalEnabled: { classPropertyName: "_BoxShadowExternalEnabled", publicName: "_BoxShadowExternalEnabled", isSignal: true, isRequired: true, transformFunction: null }, _BoxShadowInternalEnabled: { classPropertyName: "_BoxShadowInternalEnabled", publicName: "_BoxShadowInternalEnabled", 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 }, _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 }, _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]=\"_Width+'px'\"\r\n[class.box-shadow]=\"_BoxShadowExternalEnabled()\"\r\n[style.border-radius]=\"_BorderRadius+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [class.box-shadow]=\"_BoxShadowInternalEnabled()\"\r\n [style.border-radius]=\"_BorderRadius+'px'\"\r\n >\r\n\r\n <div class=\"iconContainer\"\r\n [style.background-color]=\"_IconBackgroundColor\"\r\n [style.max-width]=\"_Width+'px'\"\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 </div>\r\n\r\n\r\n <div class=\"TextContainer\"\r\n [style.padding-top]=\"_FontSize()+'px'\"\r\n [style.padding-bottom]=\"_FontSize()+'px'\"\r\n [style.padding-left]=\"_FontSize()+'px'\"\r\n [style.background-color]=\"_TextBackgroundColor\"\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 [style.display]=\"_TitleEnabled ? '' : 'none'\"\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=\"ItemOpenIconContainer\"\r\n [style.background-color]=\"_IconOpenBackgroundColor\"\r\n >\r\n <i class=\"{{ItemStateOpen? IconsEnum.ItemOpenned : IconsEnum.ItemClosed}} ItemOpenState ItemOpenIcon\"\r\n [style.display]=\"_IconOpenItemEnabled ? '' : 'none'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\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.background-color]=\"_WrappedBackGroundColor\"\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: [":host{display:inline-block;vertical-align:top}.wrapper{overflow:hidden}.box-shadow{box-shadow:#0000003d 0 3px 8px}.wrapper>.container{display:flex;cursor:pointer}.wrapper>.container>.iconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.iconContainer>p{margin:0}.wrapper>.container>.iconContainer>i{line-height:0px;display:flex;align-items:center;justify-content:center}.wrapper>.container>.TextContainer{display:flex;flex-direction:column;align-items:start;justify-content:center;width:100%}.wrapper>.container>.TextContainer>h1,h2{margin:0;text-align:center}.wrapper>.container>.ItemOpenIconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.ItemOpenIconContainer>.ItemOpenState{transition:.3s}.wrapper>.container>.ItemOpenIconContainer>.ItemCloseState{transform:rotate(90deg);transition:.3s}.wrapper>.containerWrapped{padding:0}\n"] }); }
856
733
  }
857
734
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ListItemComponent, decorators: [{
858
735
  type: Component,
859
- args: [{ selector: 'app-list-item', standalone: true, imports: [], template: "\r\n<div class=\"wrapper\"\r\n[style.width]=\"_Width+'px'\"\r\n[class.box-shadow]=\"_BoxShadowExternalEnabled()\"\r\n[style.border-radius]=\"_BorderRadius+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [class.box-shadow]=\"_BoxShadowInternalEnabled()\"\r\n [style.border-radius]=\"_BorderRadius+'px'\"\r\n >\r\n\r\n <div class=\"iconContainer\"\r\n [style.background-color]=\"_IconBackgroundColor\"\r\n [style.max-width]=\"_Width+'px'\"\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 </div>\r\n\r\n\r\n <div class=\"TextContainer\"\r\n [style.padding-top]=\"_FontSize()+'px'\"\r\n [style.padding-bottom]=\"_FontSize()+'px'\"\r\n [style.padding-left]=\"_FontSize()+'px'\"\r\n [style.background-color]=\"_TextBackgroundColor\"\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 [style.display]=\"_TitleEnabled ? '' : 'none'\"\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=\"ItemOpenIconContainer\"\r\n [style.background-color]=\"_IconOpenBackgroundColor\"\r\n >\r\n <i class=\"{{ItemStateOpen? _ListItemIcons.ItemOpenned : _ListItemIcons.ItemClosed}} ItemOpenState ItemOpenIcon\"\r\n [style.display]=\"_IconOpenItemEnabled ? '' : 'none'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\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.background-color]=\"_WrappedBackGroundColor\"\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: [":host{display:inline-block;vertical-align:top}.wrapper{overflow:hidden}.box-shadow{box-shadow:#0000003d 0 3px 8px}.wrapper>.container{display:flex;cursor:pointer}.wrapper>.container>.iconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.iconContainer>p{margin:0}.wrapper>.container>.iconContainer>i{line-height:0px;display:flex;align-items:center;justify-content:center}.wrapper>.container>.TextContainer{display:flex;flex-direction:column;align-items:start;justify-content:center;width:100%}.wrapper>.container>.TextContainer>h1,h2{margin:0;text-align:center}.wrapper>.container>.ItemOpenIconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.ItemOpenIconContainer>.ItemOpenState{transition:.3s}.wrapper>.container>.ItemOpenIconContainer>.ItemCloseState{transform:rotate(90deg);transition:.3s}.wrapper>.containerWrapped{padding:0}\n"] }]
736
+ args: [{ selector: 'app-list-item', standalone: true, imports: [], template: "\r\n<div class=\"wrapper\"\r\n[style.width]=\"_Width+'px'\"\r\n[class.box-shadow]=\"_BoxShadowExternalEnabled()\"\r\n[style.border-radius]=\"_BorderRadius+'px'\"\r\n>\r\n <div class=\"container\"\r\n (click)=\"OnClick()\"\r\n [class.box-shadow]=\"_BoxShadowInternalEnabled()\"\r\n [style.border-radius]=\"_BorderRadius+'px'\"\r\n >\r\n\r\n <div class=\"iconContainer\"\r\n [style.background-color]=\"_IconBackgroundColor\"\r\n [style.max-width]=\"_Width+'px'\"\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 </div>\r\n\r\n\r\n <div class=\"TextContainer\"\r\n [style.padding-top]=\"_FontSize()+'px'\"\r\n [style.padding-bottom]=\"_FontSize()+'px'\"\r\n [style.padding-left]=\"_FontSize()+'px'\"\r\n [style.background-color]=\"_TextBackgroundColor\"\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 [style.display]=\"_TitleEnabled ? '' : 'none'\"\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=\"ItemOpenIconContainer\"\r\n [style.background-color]=\"_IconOpenBackgroundColor\"\r\n >\r\n <i class=\"{{ItemStateOpen? IconsEnum.ItemOpenned : IconsEnum.ItemClosed}} ItemOpenState ItemOpenIcon\"\r\n [style.display]=\"_IconOpenItemEnabled ? '' : 'none'\"\r\n [style.margin-left]=\"_IconMarginLeft+'px'\"\r\n [style.margin-right]=\"_IconMarginRight+'px'\"\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.background-color]=\"_WrappedBackGroundColor\"\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: [":host{display:inline-block;vertical-align:top}.wrapper{overflow:hidden}.box-shadow{box-shadow:#0000003d 0 3px 8px}.wrapper>.container{display:flex;cursor:pointer}.wrapper>.container>.iconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.iconContainer>p{margin:0}.wrapper>.container>.iconContainer>i{line-height:0px;display:flex;align-items:center;justify-content:center}.wrapper>.container>.TextContainer{display:flex;flex-direction:column;align-items:start;justify-content:center;width:100%}.wrapper>.container>.TextContainer>h1,h2{margin:0;text-align:center}.wrapper>.container>.ItemOpenIconContainer{display:flex;flex-direction:column;align-items:center;justify-content:center}.wrapper>.container>.ItemOpenIconContainer>.ItemOpenState{transition:.3s}.wrapper>.container>.ItemOpenIconContainer>.ItemCloseState{transform:rotate(90deg);transition:.3s}.wrapper>.containerWrapped{padding:0}\n"] }]
737
+ }] });
738
+
739
+ class LabelModel {
740
+ constructor() {
741
+ this.name = '';
742
+ }
743
+ }
744
+
745
+ class LabelService {
746
+ constructor() {
747
+ this.stateChanger = new Subject();
748
+ }
749
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
750
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, providedIn: 'root' }); }
751
+ }
752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LabelService, decorators: [{
753
+ type: Injectable,
754
+ args: [{ providedIn: 'root' }]
860
755
  }] });
861
756
 
862
757
  var LabelIconPositionEnum;
@@ -866,38 +761,6 @@ var LabelIconPositionEnum;
866
761
  LabelIconPositionEnum[LabelIconPositionEnum["Bottom"] = 2] = "Bottom";
867
762
  LabelIconPositionEnum[LabelIconPositionEnum["Left"] = 3] = "Left";
868
763
  })(LabelIconPositionEnum || (LabelIconPositionEnum = {}));
869
- var LabelIconEnum;
870
- (function (LabelIconEnum) {
871
- LabelIconEnum["AddFile"] = "fi fi-rr-add-document";
872
- LabelIconEnum["AddUser"] = "fi fi-sr-user-add";
873
- LabelIconEnum["Alert"] = "fi fi-sr-exclamation";
874
- LabelIconEnum["Camera"] = "fi fi-rr-camera";
875
- LabelIconEnum["Close"] = "fi fi-br-cross";
876
- LabelIconEnum["Company"] = "fi fi-rs-building";
877
- LabelIconEnum["Delete"] = "fi fi-sr-trash";
878
- LabelIconEnum["Done_Fill"] = "fi fi-sr-octagon-check";
879
- LabelIconEnum["Done_OutLine"] = "fi fi-rr-check-circle";
880
- LabelIconEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
881
- LabelIconEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
882
- LabelIconEnum["DowloadFile"] = "fi fi-sr-file-download";
883
- LabelIconEnum["Edit"] = "fi fi-sr-pencil";
884
- LabelIconEnum["EyeClose"] = "fi fi-ss-eye-crossed";
885
- LabelIconEnum["EyeOpen"] = "fi fi-ss-eye";
886
- LabelIconEnum["Hamburger"] = "fi fi-br-menu-burger";
887
- LabelIconEnum["Home"] = "fi fi-sr-home";
888
- LabelIconEnum["ItemClosed"] = "fi fi-tr-caret-down";
889
- LabelIconEnum["ItemOpenned"] = "fi fi-rr-caret-down";
890
- LabelIconEnum["Key"] = "fi fi-sr-key";
891
- LabelIconEnum["Lubrificacao"] = "fi fi-rr-oil-can";
892
- LabelIconEnum["NoteBook"] = "fi fi-br-notebook-alt";
893
- LabelIconEnum["NotDone"] = "fi fi-sr-cross-circle";
894
- LabelIconEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
895
- LabelIconEnum["PDFFile"] = "fi fi-sr-file-pdf";
896
- LabelIconEnum["Phone"] = "fi fi-sr-phone-call";
897
- LabelIconEnum["Refresh"] = "fi fi-rr-rotate-right";
898
- LabelIconEnum["Rotas"] = "fi fi-br-route";
899
- LabelIconEnum["User"] = "fi fi-sr-user";
900
- })(LabelIconEnum || (LabelIconEnum = {}));
901
764
  var LabelFontWeights;
902
765
  (function (LabelFontWeights) {
903
766
  LabelFontWeights[LabelFontWeights["Thin"] = 100] = "Thin";
@@ -1240,12 +1103,9 @@ class ModalComponent {
1240
1103
  this.isVisible = false;
1241
1104
  this._ButtonService = inject(ButtonService);
1242
1105
  this.ButtonTypes = ButtonTypeEnum;
1243
- this.ButtonIcons = ButtonIconEnum;
1244
1106
  this.ButtonIconPositions = ButtonIconPositionEnum;
1245
1107
  this.ButtonFontWeights = ButtonFontWeights;
1246
- this.ButtonModel = new ButtonModel();
1247
- }
1248
- ngAfterViewInit() {
1108
+ this.IconsEnum = IconsEnum;
1249
1109
  }
1250
1110
  ngOnInit() {
1251
1111
  this.startListenToShowCommand();
@@ -1254,70 +1114,40 @@ class ModalComponent {
1254
1114
  startListenToShowCommand() {
1255
1115
  this.ModalService.showModal.subscribe((modalModel) => {
1256
1116
  this.configModel = modalModel;
1257
- console.log(this.configModel);
1258
1117
  this.isVisible = true;
1259
1118
  });
1260
1119
  }
1261
1120
  startToListenToButtonClick() {
1262
- this._ButtonService.click.subscribe((btnModel) => {
1263
- if (btnModel.name == this.configModel.BtnCancelName) {
1121
+ this._ButtonService.click.subscribe((name) => {
1122
+ if (name == this.configModel.BtnCancelName) {
1264
1123
  this.isVisible = false;
1265
1124
  }
1266
- if (btnModel.name == this.configModel.BtnOkName) {
1125
+ if (name == this.configModel.BtnOkName) {
1267
1126
  this.isVisible = false;
1268
1127
  }
1269
1128
  this.ConcluirLoadingButton();
1270
1129
  });
1271
1130
  }
1272
1131
  ConcluirLoadingButton() {
1273
- let btnModel = new ButtonModel();
1274
- btnModel.name = this.configModel.BtnCancelName;
1275
- btnModel.state = false;
1276
- this._ButtonService.loadingState.next(btnModel);
1277
- btnModel.name = this.configModel.BtnOkName;
1278
- this._ButtonService.loadingState.next(btnModel);
1132
+ let config = new ButtonConfigModel({
1133
+ Name: this.configModel.BtnCancelName,
1134
+ LoadingState: true
1135
+ });
1136
+ this._ButtonService.stateChanged.next(config);
1137
+ config = new ButtonConfigModel({
1138
+ Name: this.configModel.BtnOkName,
1139
+ LoadingState: true
1140
+ });
1141
+ this._ButtonService.stateChanged.next(config);
1279
1142
  }
1280
1143
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1281
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ModalComponent, isStandalone: true, selector: "app-modal", ngImport: i0, template: "<section\r\n[style.display]=\"isVisible ? '':'none'\"\r\n>\r\n <form\r\n [style.padding]=\"configModel.BtnsFontSize + 'px ' + configModel.BtnsFontSize*2 + 'px'\"\r\n [style.border-radius]=\"configModel.BtnsFontSize * 0.8 +'px'\"\r\n >\r\n <p\r\n [style.font-family]=\"'Arial'\"\r\n [style.font-size]=\"configModel.BtnsFontSize + 'px'\"\r\n >{{configModel.ModalMessage}}</p>\r\n <div class=\"btns-container\"\r\n [style.padding-top]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n >\r\n @if(!configModel.OnlyOkButtonEnabled){\r\n <app-button\r\n [style.margin-right]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n [name]=\"configModel.BtnCancelName\"\r\n [_ButtonType]=\"ButtonTypes.Button\"\r\n [_BorderRadius]=\"200\"\r\n [_Width]=\"configModel.BtnCancelWidth\"\r\n [_Height]=\"configModel.BtnCancelHeight\"\r\n [BackGroundColorNormal]=\"''\"\r\n [BackGroundColorHover]=\"''\"\r\n [_IconEnabled]=\"false\"\r\n [_Icon]=\"ButtonIcons.AddFile\"\r\n [IconOrientation]=\"ButtonIconPositions.Top\"\r\n [_IconDistanceFromText]=\"15\"\r\n [IconColorNormal]=\"'rgb(231, 230, 230)'\"\r\n [IconColorHover]=\"'rgb(249, 249, 249)'\"\r\n [_TextEnabled]=\"true\"\r\n [_Text]=\"configModel.BtnCancelText\"\r\n [TextColorNormal]=\"'black'\"\r\n [TextColorHover]=\"'black'\"\r\n [_TextFontFamily]=\"'Arial'\"\r\n [_FontWeight]=\"ButtonFontWeights.Regular\"\r\n [_FontSize]=\"configModel.BtnsFontSize\"\r\n />\r\n }\r\n <app-button\r\n [name]=\"configModel.BtnOkName\"\r\n [_ButtonType]=\"ButtonTypes.Button\"\r\n [_BorderRadius]=\"200\"\r\n [_Width]=\"configModel.BtnOkWidth\"\r\n [_Height]=\"configModel.BtnOkHeight\"\r\n [BackGroundColorNormal]=\"'#056CF2'\"\r\n [BackGroundColorHover]=\"'#3281e9'\"\r\n [_IconEnabled]=\"false\"\r\n [_Icon]=\"ButtonIcons.AddFile\"\r\n [IconOrientation]=\"ButtonIconPositions.Top\"\r\n [_IconDistanceFromText]=\"15\"\r\n [IconColorNormal]=\"'var(--azulEscuro)'\"\r\n [IconColorHover]=\"'var(--azulEscuro)'\"\r\n [_TextEnabled]=\"true\"\r\n [_Text]=\"configModel.BtnOkText\"\r\n [TextColorNormal]=\"'white'\"\r\n [TextColorHover]=\"'white'\"\r\n [_TextFontFamily]=\"'Arial'\"\r\n [_FontWeight]=\"ButtonFontWeights.Regular\"\r\n [_FontSize]=\"configModel.BtnsFontSize\"\r\n />\r\n </div>\r\n \r\n </form>\r\n</section>\r\n", styles: ["section{position:fixed;z-index:1000;width:100vw;height:100vh;background:transparent;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(3.6px);-webkit-backdrop-filter:blur(3.6px);display:flex;align-items:start;justify-content:center}section>form{background-color:#fff;display:flex;flex-direction:column;box-shadow:#0000003d 0 3px 8px;width:40%}section>form>.btns-container{display:flex;align-items:center;justify-content:end}@media (max-width: 1024px){section>form{width:60%}}@media (max-width: 500px){section>form{width:70%}}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "app-button", inputs: ["_ButtonType", "_BorderRadius", "_Width", "_Height", "_Icon", "_IconDistanceFromText", "_IconEnabled", "_Text", "_FontSize", "_FontWeight", "_TextFontFamily", "_TextEnabled", "name", "BackGroundColorNormal", "BackGroundColorHover", "IconColorNormal", "IconColorHover", "TextColorNormal", "TextColorHover", "IconOrientation"] }] }); }
1144
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ModalComponent, isStandalone: true, selector: "app-modal", ngImport: i0, template: "<section\r\n[style.display]=\"isVisible ? '':'none'\"\r\n>\r\n <form\r\n [style.padding]=\"configModel.BtnsFontSize + 'px ' + configModel.BtnsFontSize*2 + 'px'\"\r\n [style.border-radius]=\"configModel.BtnsFontSize * 0.8 +'px'\"\r\n >\r\n <p\r\n [style.font-family]=\"'Arial'\"\r\n [style.font-size]=\"configModel.BtnsFontSize + 'px'\"\r\n >{{configModel.ModalMessage}}</p>\r\n <div class=\"btns-container\"\r\n [style.padding-top]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n >\r\n @if(!configModel.OnlyOkButtonEnabled){\r\n <app-button\r\n [style.margin-right]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n [name]=\"configModel.BtnCancelName\"\r\n />\r\n }\r\n <app-button\r\n [name]=\"configModel.BtnOkName\"\r\n />\r\n </div>\r\n \r\n </form>\r\n</section>\r\n", styles: ["section{position:fixed;z-index:1000;width:100vw;height:100vh;background:transparent;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(3.6px);-webkit-backdrop-filter:blur(3.6px);display:flex;align-items:start;justify-content:center}section>form{background-color:#fff;display:flex;flex-direction:column;box-shadow:#0000003d 0 3px 8px;width:40%}section>form>.btns-container{display:flex;align-items:center;justify-content:end}@media (max-width: 1024px){section>form{width:60%}}@media (max-width: 500px){section>form{width:70%}}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "app-button", inputs: ["name"] }] }); }
1282
1145
  }
1283
1146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ModalComponent, decorators: [{
1284
1147
  type: Component,
1285
- args: [{ selector: 'app-modal', imports: [ButtonComponent], template: "<section\r\n[style.display]=\"isVisible ? '':'none'\"\r\n>\r\n <form\r\n [style.padding]=\"configModel.BtnsFontSize + 'px ' + configModel.BtnsFontSize*2 + 'px'\"\r\n [style.border-radius]=\"configModel.BtnsFontSize * 0.8 +'px'\"\r\n >\r\n <p\r\n [style.font-family]=\"'Arial'\"\r\n [style.font-size]=\"configModel.BtnsFontSize + 'px'\"\r\n >{{configModel.ModalMessage}}</p>\r\n <div class=\"btns-container\"\r\n [style.padding-top]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n >\r\n @if(!configModel.OnlyOkButtonEnabled){\r\n <app-button\r\n [style.margin-right]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n [name]=\"configModel.BtnCancelName\"\r\n [_ButtonType]=\"ButtonTypes.Button\"\r\n [_BorderRadius]=\"200\"\r\n [_Width]=\"configModel.BtnCancelWidth\"\r\n [_Height]=\"configModel.BtnCancelHeight\"\r\n [BackGroundColorNormal]=\"''\"\r\n [BackGroundColorHover]=\"''\"\r\n [_IconEnabled]=\"false\"\r\n [_Icon]=\"ButtonIcons.AddFile\"\r\n [IconOrientation]=\"ButtonIconPositions.Top\"\r\n [_IconDistanceFromText]=\"15\"\r\n [IconColorNormal]=\"'rgb(231, 230, 230)'\"\r\n [IconColorHover]=\"'rgb(249, 249, 249)'\"\r\n [_TextEnabled]=\"true\"\r\n [_Text]=\"configModel.BtnCancelText\"\r\n [TextColorNormal]=\"'black'\"\r\n [TextColorHover]=\"'black'\"\r\n [_TextFontFamily]=\"'Arial'\"\r\n [_FontWeight]=\"ButtonFontWeights.Regular\"\r\n [_FontSize]=\"configModel.BtnsFontSize\"\r\n />\r\n }\r\n <app-button\r\n [name]=\"configModel.BtnOkName\"\r\n [_ButtonType]=\"ButtonTypes.Button\"\r\n [_BorderRadius]=\"200\"\r\n [_Width]=\"configModel.BtnOkWidth\"\r\n [_Height]=\"configModel.BtnOkHeight\"\r\n [BackGroundColorNormal]=\"'#056CF2'\"\r\n [BackGroundColorHover]=\"'#3281e9'\"\r\n [_IconEnabled]=\"false\"\r\n [_Icon]=\"ButtonIcons.AddFile\"\r\n [IconOrientation]=\"ButtonIconPositions.Top\"\r\n [_IconDistanceFromText]=\"15\"\r\n [IconColorNormal]=\"'var(--azulEscuro)'\"\r\n [IconColorHover]=\"'var(--azulEscuro)'\"\r\n [_TextEnabled]=\"true\"\r\n [_Text]=\"configModel.BtnOkText\"\r\n [TextColorNormal]=\"'white'\"\r\n [TextColorHover]=\"'white'\"\r\n [_TextFontFamily]=\"'Arial'\"\r\n [_FontWeight]=\"ButtonFontWeights.Regular\"\r\n [_FontSize]=\"configModel.BtnsFontSize\"\r\n />\r\n </div>\r\n \r\n </form>\r\n</section>\r\n", styles: ["section{position:fixed;z-index:1000;width:100vw;height:100vh;background:transparent;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(3.6px);-webkit-backdrop-filter:blur(3.6px);display:flex;align-items:start;justify-content:center}section>form{background-color:#fff;display:flex;flex-direction:column;box-shadow:#0000003d 0 3px 8px;width:40%}section>form>.btns-container{display:flex;align-items:center;justify-content:end}@media (max-width: 1024px){section>form{width:60%}}@media (max-width: 500px){section>form{width:70%}}\n"] }]
1148
+ args: [{ selector: 'app-modal', imports: [ButtonComponent], template: "<section\r\n[style.display]=\"isVisible ? '':'none'\"\r\n>\r\n <form\r\n [style.padding]=\"configModel.BtnsFontSize + 'px ' + configModel.BtnsFontSize*2 + 'px'\"\r\n [style.border-radius]=\"configModel.BtnsFontSize * 0.8 +'px'\"\r\n >\r\n <p\r\n [style.font-family]=\"'Arial'\"\r\n [style.font-size]=\"configModel.BtnsFontSize + 'px'\"\r\n >{{configModel.ModalMessage}}</p>\r\n <div class=\"btns-container\"\r\n [style.padding-top]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n >\r\n @if(!configModel.OnlyOkButtonEnabled){\r\n <app-button\r\n [style.margin-right]=\"configModel.BtnsFontSize*2 + 'px'\"\r\n [name]=\"configModel.BtnCancelName\"\r\n />\r\n }\r\n <app-button\r\n [name]=\"configModel.BtnOkName\"\r\n />\r\n </div>\r\n \r\n </form>\r\n</section>\r\n", styles: ["section{position:fixed;z-index:1000;width:100vw;height:100vh;background:transparent;box-shadow:0 4px 30px #0000001a;backdrop-filter:blur(3.6px);-webkit-backdrop-filter:blur(3.6px);display:flex;align-items:start;justify-content:center}section>form{background-color:#fff;display:flex;flex-direction:column;box-shadow:#0000003d 0 3px 8px;width:40%}section>form>.btns-container{display:flex;align-items:center;justify-content:end}@media (max-width: 1024px){section>form{width:60%}}@media (max-width: 500px){section>form{width:70%}}\n"] }]
1286
1149
  }] });
1287
1150
 
1288
- var ModalIconsEnum;
1289
- (function (ModalIconsEnum) {
1290
- ModalIconsEnum["AddFile"] = "fi fi-rr-add-document";
1291
- ModalIconsEnum["AddUser"] = "fi fi-sr-user-add";
1292
- ModalIconsEnum["Alert"] = "fi fi-sr-exclamation";
1293
- ModalIconsEnum["Camera"] = "fi fi-rr-camera";
1294
- ModalIconsEnum["Close"] = "fi fi-br-cross";
1295
- ModalIconsEnum["Company"] = "fi fi-rs-building";
1296
- ModalIconsEnum["Delete"] = "fi fi-sr-trash";
1297
- ModalIconsEnum["Done_Fill"] = "fi fi-sr-octagon-check";
1298
- ModalIconsEnum["Done_OutLine"] = "fi fi-rr-check-circle";
1299
- ModalIconsEnum["Doing_Pending_Fill"] = "fi fi-ss-duration-alt";
1300
- ModalIconsEnum["Doing_Pending_Outline"] = "fi fi-br-duration-alt";
1301
- ModalIconsEnum["DowloadFile"] = "fi fi-sr-file-download";
1302
- ModalIconsEnum["Edit"] = "fi fi-sr-pencil";
1303
- ModalIconsEnum["EyeClose"] = "fi fi-ss-eye-crossed";
1304
- ModalIconsEnum["EyeOpen"] = "fi fi-ss-eye";
1305
- ModalIconsEnum["Hamburger"] = "fi fi-br-menu-burger";
1306
- ModalIconsEnum["Home"] = "fi fi-sr-home";
1307
- ModalIconsEnum["ItemClosed"] = "fi fi-tr-caret-down";
1308
- ModalIconsEnum["ItemOpenned"] = "fi fi-rr-caret-down";
1309
- ModalIconsEnum["Key"] = "fi fi-sr-key";
1310
- ModalIconsEnum["Lubrificacao"] = "fi fi-rr-oil-can";
1311
- ModalIconsEnum["NoteBook"] = "fi fi-br-notebook-alt";
1312
- ModalIconsEnum["NotDone"] = "fi fi-sr-cross-circle";
1313
- ModalIconsEnum["PageGoBack"] = "fi fi-rr-angle-circle-left";
1314
- ModalIconsEnum["PDFFile"] = "fi fi-sr-file-pdf";
1315
- ModalIconsEnum["Phone"] = "fi fi-sr-phone-call";
1316
- ModalIconsEnum["Refresh"] = "fi fi-rr-rotate-right";
1317
- ModalIconsEnum["Rotas"] = "fi fi-br-route";
1318
- ModalIconsEnum["User"] = "fi fi-sr-user";
1319
- })(ModalIconsEnum || (ModalIconsEnum = {}));
1320
-
1321
1151
  /*
1322
1152
  * Public API Surface of lightning-tec-br-angular-components
1323
1153
  */
@@ -1326,5 +1156,5 @@ var ModalIconsEnum;
1326
1156
  * Generated bundle index. Do not edit.
1327
1157
  */
1328
1158
 
1329
- export { AlertComponent, AlertIconsEnum, AlertModel, AlertService, AlertTypesEnum, ButtonComponent, ButtonFontWeights, ButtonIconEnum, ButtonIconPositionEnum, ButtonModel, ButtonService, ButtonTypeEnum, FormFielTxtModel, FormFieldComboModel, FormFieldComponent, FormFieldCountryDataFormat, FormFieldFontWeights, FormFieldIconsEnum, FormFieldModel, FormFieldService, FormFieldTxtInputTypesEnum, FormFieldTypes, LabelComponent, LabelFontWeights, LabelIconEnum, LabelIconPositionEnum, LabelModel, LabelService, ListItemComponent, ListItemFontWeights, ListItemIcons, ListItemModel, ListItemPositions, ListItemService, ListItemStateModel, ModalComponent, ModalIconsEnum, ModalModel, ModalService, TableComponent, TableFontWeights, TableModel, TableModes, TableService };
1159
+ export { AlertComponent, AlertModel, AlertService, AlertTypesEnum, ButtonComponent, ButtonConfigModel, ButtonFontWeights, ButtonIconPositionEnum, ButtonService, ButtonTypeEnum, FormFielTxtModel, FormFieldComboModel, FormFieldComponent, FormFieldCountryDataFormat, FormFieldFontWeights, FormFieldModel, FormFieldService, FormFieldTxtInputTypesEnum, FormFieldTypes, IconsEnum, LabelComponent, LabelFontWeights, LabelIconPositionEnum, LabelModel, LabelService, ListItemComponent, ListItemFontWeights, ListItemModel, ListItemPositions, ListItemService, ListItemStateModel, ModalComponent, ModalModel, ModalService, TableComponent, TableFontWeights, TableModel, TableModes, TableService };
1330
1160
  //# sourceMappingURL=lightning-tec-br-angular-components.mjs.map