@dev-tcloud/tcloud-ui 0.0.8 → 0.0.10

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.
Files changed (31) hide show
  1. package/README.md +8 -1
  2. package/esm2020/lib/_modules/tcloud-ui-choice-issues/tcloud-ui-choice-issues.component.mjs +88 -0
  3. package/esm2020/lib/_modules/tcloud-ui-choice-issues/tcloud-ui-choice-issues.module.mjs +31 -0
  4. package/esm2020/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.component.mjs +65 -0
  5. package/esm2020/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.module.mjs +31 -0
  6. package/esm2020/lib/_modules/tcloud-ui-linha-logo/tcloud-ui-linha-logo.component.mjs +2 -4
  7. package/esm2020/lib/_modules/tcloud-ui-modal/tcloud-ui-modal.component.mjs +29 -2
  8. package/esm2020/lib/_modules/tcloud-ui-not-found/tcloud-ui-not-found.component.mjs +20 -0
  9. package/esm2020/lib/_modules/tcloud-ui-not-found/tcloud-ui-not-found.module.mjs +24 -0
  10. package/esm2020/lib/_pipes/tcloud-pipes.module.mjs +7 -3
  11. package/esm2020/lib/_services/loading-transitions.service.mjs +51 -0
  12. package/esm2020/lib/_services/search-in-object.service.mjs +91 -0
  13. package/esm2020/lib/tcloud-ui.module.mjs +33 -3
  14. package/esm2020/public-api.mjs +13 -1
  15. package/fesm2015/dev-tcloud-tcloud-ui.mjs +689 -267
  16. package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
  17. package/fesm2020/dev-tcloud-tcloud-ui.mjs +689 -267
  18. package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
  19. package/lib/_modules/tcloud-ui-choice-issues/tcloud-ui-choice-issues.component.d.ts +27 -0
  20. package/lib/_modules/tcloud-ui-choice-issues/tcloud-ui-choice-issues.module.d.ts +9 -0
  21. package/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.component.d.ts +28 -0
  22. package/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.module.d.ts +9 -0
  23. package/lib/_modules/tcloud-ui-modal/tcloud-ui-modal.component.d.ts +31 -0
  24. package/lib/_modules/tcloud-ui-not-found/tcloud-ui-not-found.component.d.ts +8 -0
  25. package/lib/_modules/tcloud-ui-not-found/tcloud-ui-not-found.module.d.ts +8 -0
  26. package/lib/_pipes/tcloud-pipes.module.d.ts +1 -1
  27. package/lib/_services/loading-transitions.service.d.ts +16 -0
  28. package/lib/_services/search-in-object.service.d.ts +18 -0
  29. package/lib/tcloud-ui.module.d.ts +6 -3
  30. package/package.json +1 -1
  31. package/public-api.d.ts +8 -0
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule, Injectable, EventEmitter, Output, ViewChild, forwardRef, Directive, HostListener, Pipe } from '@angular/core';
2
+ import { Component, Input, NgModule, Injectable, EventEmitter, Output, ViewChild, forwardRef, Pipe, Directive, HostListener } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import { Buffer } from 'buffer';
4
+ import { CommonModule, DatePipe } from '@angular/common';
6
5
  import { Subject } from 'rxjs';
7
6
  import * as i1$1 from '@angular/router';
8
7
  import * as i2 from '@angular/forms';
@@ -11,7 +10,7 @@ import { trigger, state, style, transition, animate } from '@angular/animations'
11
10
 
12
11
  class TCloudUiLinhaLogoComponent {
13
12
  constructor() {
14
- this.server = 'aHR0cHM6Ly9hdGVsZWlhLWVtYWlsLnMzLXNhLWVhc3QtMS5hbWF6b25hd3MuY29tLw==';
13
+ this.server = 'https://ateleia-email.s3-sa-east-1.amazonaws.com/';
15
14
  this.product = '';
16
15
  this.logo_name = '';
17
16
  this.product_name = '';
@@ -19,7 +18,6 @@ class TCloudUiLinhaLogoComponent {
19
18
  this.font_size = '';
20
19
  }
21
20
  ngOnInit() {
22
- this.server = Buffer.from(this.server, 'base64').toString('utf8');
23
21
  this.logo_name = this.getLogoName();
24
22
  this.product_name = this.getProductName();
25
23
  this.alt_product_name = (this.product_name).toUpperCase();
@@ -495,13 +493,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
495
493
  class TCloudUiModalComponent {
496
494
  constructor(tcloudModalService) {
497
495
  this.tcloudModalService = tcloudModalService;
496
+ /**
497
+ * tcloud-ui-modal - Cria e exibe um modal
498
+ *
499
+ * toAction - (toAction) - Resultado do evento - 'confirmed'|'cancel'|'close'
500
+ * toConfirm - (toConfirm) - Indica que a ação foi confirmada - resultado true
501
+ * toCancel - (toCancel() - Indica que a ação foi cancelada - resultado false
502
+ */
498
503
  this.param_confirm = {};
499
504
  /* BEGIN - Parametros para modo confirmacao */
500
505
  this._confirm = false;
501
506
  this._confirmText = 'Confirmo';
507
+ /**
508
+ * autoClose boolean - Indica se deverá ser fechado quando confirmar uma ação - default true
509
+ */
502
510
  this.autoClose = true;
511
+ /**
512
+ * maxWidth - number - Largura máxima do modal - default 500px
513
+ */
503
514
  this.maxWidth = 500;
504
- // psg
505
515
  this._open = false;
506
516
  this._loading = false;
507
517
  this.openChange = new EventEmitter();
@@ -509,16 +519,25 @@ class TCloudUiModalComponent {
509
519
  this.toCancel = new EventEmitter();
510
520
  this.toAction = new EventEmitter();
511
521
  }
522
+ /**
523
+ * confirm boolean - Indica se será um modal do tipo confirmação - default false
524
+ */
512
525
  set confirm(v) {
513
526
  this._confirm = v;
514
527
  this.param_confirm.confirm = this._confirm;
515
528
  this.param_confirm.confirmText = this._confirmText;
516
529
  }
530
+ /**
531
+ * confirmText string - Texto que deverá ser digitado - defualt Confirmo
532
+ */
517
533
  set confirmText(v) {
518
534
  this._confirmText = v;
519
535
  this.param_confirm.confirmText = this._confirmText;
520
536
  this.param_confirm.confirm = this._confirm;
521
537
  }
538
+ /**
539
+ * window - string - nome referente ao tamanho do modal - não utilizar maxWidth se for utilizar window - default 500 (medium)
540
+ */
522
541
  set window(size) {
523
542
  switch (size) {
524
543
  case 'small':
@@ -538,11 +557,17 @@ class TCloudUiModalComponent {
538
557
  break;
539
558
  }
540
559
  }
560
+ /**
561
+ * open - boolean - Variável de controle para exibição do modal - obrigatório
562
+ */
541
563
  set open(open) {
542
564
  this._open = open;
543
565
  this.fixed_body((open) ? 'on' : 'off');
544
566
  }
545
567
  get open() { return this._open; }
568
+ /**
569
+ * loading - boolean - Coloca o modal em modo de carregamento - default false
570
+ */
546
571
  set loading(loading) {
547
572
  this._loading = loading;
548
573
  this.tcloudModalService.setLoading(loading);
@@ -1001,12 +1026,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1001
1026
  type: Injectable
1002
1027
  }] });
1003
1028
 
1004
- const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
1029
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 = {
1005
1030
  provide: NG_VALUE_ACCESSOR,
1006
1031
  useExisting: forwardRef(() => TCloudUiDataListComponent),
1007
1032
  multi: true
1008
1033
  };
1009
- const noop = () => {
1034
+ const noop$1 = () => {
1010
1035
  };
1011
1036
  class TCloudUiDataListComponent {
1012
1037
  constructor(dataListService, formBuilder) {
@@ -1029,8 +1054,8 @@ class TCloudUiDataListComponent {
1029
1054
  this.id = '';
1030
1055
  //Placeholders for the callbacks which are later providesd
1031
1056
  //by the Control Value Accessor
1032
- this.onTouchedCallback = noop;
1033
- this.onChangeCallback = noop;
1057
+ this.onTouchedCallback = noop$1;
1058
+ this.onChangeCallback = noop$1;
1034
1059
  }
1035
1060
  set disabled(v) {
1036
1061
  this._disabled = v;
@@ -1220,13 +1245,13 @@ class TCloudUiDataListComponent {
1220
1245
  TCloudUiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDataListComponent, deps: [{ token: DataListService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
1221
1246
  TCloudUiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiDataListComponent, selector: "tcloud-ui-data-list", inputs: { placeholder: "placeholder", disabled: "disabled", loading: "loading", search: "search", ngModel: "ngModel" }, outputs: { onInputChange: "onInputChange", onChange: "onChange" }, providers: [
1222
1247
  DataListService,
1223
- CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR
1248
+ CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1
1224
1249
  ], ngImport: i0, template: "<div *ngIf=\"formulario\" id=\"area-{{ id }}\" class=\"tc-dropdown\" [class.disabled]=\"disabled || loading\">\r\n <div *ngIf=\"loading\" class=\"loading-area\">\r\n <i class=\"fas fa-spinner fa-spin\"></i>\r\n </div>\r\n <!-- [attr.data-bs-toggle]=\"'dropdown'\" -->\r\n <button \r\n [class.loading-box]=\"loading\"\r\n [disabled]=\"disabled || loading\"\r\n class=\"dropdown-toggle button-select\" \r\n type=\"button\" \r\n id=\"{{ id }}\" \r\n \r\n [attr.aria-haspopup]=\"'true'\" \r\n [attr.aria-expanded]=\"'false'\" \r\n (click)=\"toOpen()\" >\r\n\r\n <i *ngIf=\"(selected_description === undefined || selected_description === null || selected_description === '' ) && !loading \">{{ placeholder }}</i>\r\n {{ selected_description }}\r\n <span><i class=\"fas fa-angle-down\"></i></span>\r\n </button>\r\n <div class=\"tc-dropdown-menu {{ menu_on_top }}\" id=\"box-{{ id }}\" [attr.aria-labelledby]=\"id\" [class.to-hide]=\"!menu_show\" [style]=\"box_style\">\r\n\r\n <div class=\"line-search\" *ngIf=\"search\">\r\n <table class=\"box-search\">\r\n <tr>\r\n\r\n <td class=\"area-input\">\r\n <input type=\"text\" [(ngModel)]=\"search_text\" (input)=\"toSearch($event)\" placeholder=\"Buscar...\" > \r\n </td>\r\n\r\n <td class=\"area-icon\">\r\n <i *ngIf=\"search_text === ''\" class=\"fas fa-search icon-search\"></i>\r\n <button type=\"button\" *ngIf=\"search_text !== ''\" (click)=\"clearTextSearch()\"><i class=\"fas fa-times\"></i></button>\r\n </td>\r\n \r\n </tr>\r\n </table>\r\n </div>\r\n \r\n <div class=\"area-options\" id=\"{{ id }}-options\" (click)=\"toClose()\">\r\n <ng-content></ng-content> \r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div *ngIf=\"formulario\">\r\n <form [formGroup]=\"formulario\" style=\"display: none;\" >\r\n <input id=\"{{ id }}-hidden\" formControlName=\"selected_item\" type=\"hidden\">\r\n </form>\r\n</div>", styles: [".dropdown-toggle:after{display:none!important}.tc-dropdown{position:relative}.tc-dropdown .button-select{width:100%;background-color:#fff;border:1px solid #ccc;height:35px;text-align:left;padding-left:15px;font-size:14px;color:#666}.tc-dropdown .button-select span{position:absolute;right:6px;top:7px}.tc-dropdown .tc-dropdown-menu{width:100%;border:1px solid #ccc;background-color:#fff}.tc-dropdown .area-options{max-height:200px;overflow-y:scroll;overflow-x:hidden}.tc-dropdown .menu-on-top{position:absolute}.line-search{padding:3px}.line-search .box-search{width:100%;border-collapse:collapse}.line-search .box-search td.area-icon{padding:4px 0 2px 8px;width:35px}.line-search .box-search td.area-icon .icon-search{color:#666}.line-search .box-search td.area-icon button{border:none;background-color:transparent;color:#999;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.line-search .box-search td.area-input{border:none}.line-search .box-search td.area-input input{width:100%}.line-search .box-search input{width:100%;font-size:13px;height:33px;border:1px solid #ccc;padding:10px}.loading-area{line-height:0;position:relative;height:0;bottom:-10px;left:10px}button:disabled{background-color:#eee!important;border:1px solid #ececec!important;cursor:not-allowed}.loading-box{cursor:progress!important}.disabled i{color:#999!important}.to-hide{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] });
1225
1250
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDataListComponent, decorators: [{
1226
1251
  type: Component,
1227
1252
  args: [{ selector: 'tcloud-ui-data-list', providers: [
1228
1253
  DataListService,
1229
- CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR
1254
+ CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1
1230
1255
  ], template: "<div *ngIf=\"formulario\" id=\"area-{{ id }}\" class=\"tc-dropdown\" [class.disabled]=\"disabled || loading\">\r\n <div *ngIf=\"loading\" class=\"loading-area\">\r\n <i class=\"fas fa-spinner fa-spin\"></i>\r\n </div>\r\n <!-- [attr.data-bs-toggle]=\"'dropdown'\" -->\r\n <button \r\n [class.loading-box]=\"loading\"\r\n [disabled]=\"disabled || loading\"\r\n class=\"dropdown-toggle button-select\" \r\n type=\"button\" \r\n id=\"{{ id }}\" \r\n \r\n [attr.aria-haspopup]=\"'true'\" \r\n [attr.aria-expanded]=\"'false'\" \r\n (click)=\"toOpen()\" >\r\n\r\n <i *ngIf=\"(selected_description === undefined || selected_description === null || selected_description === '' ) && !loading \">{{ placeholder }}</i>\r\n {{ selected_description }}\r\n <span><i class=\"fas fa-angle-down\"></i></span>\r\n </button>\r\n <div class=\"tc-dropdown-menu {{ menu_on_top }}\" id=\"box-{{ id }}\" [attr.aria-labelledby]=\"id\" [class.to-hide]=\"!menu_show\" [style]=\"box_style\">\r\n\r\n <div class=\"line-search\" *ngIf=\"search\">\r\n <table class=\"box-search\">\r\n <tr>\r\n\r\n <td class=\"area-input\">\r\n <input type=\"text\" [(ngModel)]=\"search_text\" (input)=\"toSearch($event)\" placeholder=\"Buscar...\" > \r\n </td>\r\n\r\n <td class=\"area-icon\">\r\n <i *ngIf=\"search_text === ''\" class=\"fas fa-search icon-search\"></i>\r\n <button type=\"button\" *ngIf=\"search_text !== ''\" (click)=\"clearTextSearch()\"><i class=\"fas fa-times\"></i></button>\r\n </td>\r\n \r\n </tr>\r\n </table>\r\n </div>\r\n \r\n <div class=\"area-options\" id=\"{{ id }}-options\" (click)=\"toClose()\">\r\n <ng-content></ng-content> \r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div *ngIf=\"formulario\">\r\n <form [formGroup]=\"formulario\" style=\"display: none;\" >\r\n <input id=\"{{ id }}-hidden\" formControlName=\"selected_item\" type=\"hidden\">\r\n </form>\r\n</div>", styles: [".dropdown-toggle:after{display:none!important}.tc-dropdown{position:relative}.tc-dropdown .button-select{width:100%;background-color:#fff;border:1px solid #ccc;height:35px;text-align:left;padding-left:15px;font-size:14px;color:#666}.tc-dropdown .button-select span{position:absolute;right:6px;top:7px}.tc-dropdown .tc-dropdown-menu{width:100%;border:1px solid #ccc;background-color:#fff}.tc-dropdown .area-options{max-height:200px;overflow-y:scroll;overflow-x:hidden}.tc-dropdown .menu-on-top{position:absolute}.line-search{padding:3px}.line-search .box-search{width:100%;border-collapse:collapse}.line-search .box-search td.area-icon{padding:4px 0 2px 8px;width:35px}.line-search .box-search td.area-icon .icon-search{color:#666}.line-search .box-search td.area-icon button{border:none;background-color:transparent;color:#999;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.line-search .box-search td.area-input{border:none}.line-search .box-search td.area-input input{width:100%}.line-search .box-search input{width:100%;font-size:13px;height:33px;border:1px solid #ccc;padding:10px}.loading-area{line-height:0;position:relative;height:0;bottom:-10px;left:10px}button:disabled{background-color:#eee!important;border:1px solid #ececec!important;cursor:not-allowed}.loading-box{cursor:progress!important}.disabled i{color:#999!important}.to-hide{display:none}\n"] }]
1231
1256
  }], ctorParameters: function () { return [{ type: DataListService }, { type: i2.FormBuilder }]; }, propDecorators: { placeholder: [{
1232
1257
  type: Input
@@ -1329,202 +1354,228 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1329
1354
  }]
1330
1355
  }] });
1331
1356
 
1332
- class TCloudUiTooltipDirective {
1333
- constructor(el, renderer) {
1334
- this.el = el;
1335
- this.renderer = renderer;
1336
- this._direction = 'top';
1337
- // main
1338
- this.el_height = 0;
1339
- this.el_width = 0;
1340
- this.el_center = 0;
1341
- this.el_position = 0;
1342
- // tooltip
1343
- this.target_height = 0;
1344
- this.target_width = 0;
1345
- this.target_center = 0;
1346
- this.ID = '';
1347
- this.info_text = '';
1348
- }
1349
- onMouseOver() {
1350
- if (this.getElement()) {
1351
- this.renderer.addClass(this.el.nativeElement, 'main-tooltip');
1352
- const el = this.getElement();
1353
- el.style.display = 'inline';
1354
- setTimeout(() => {
1355
- this.el_height = this.el.nativeElement.offsetHeight;
1356
- this.el_width = this.el.nativeElement.offsetWidth;
1357
- this.el_center = this.el_width / 2;
1358
- const rect = this.el.nativeElement?.getBoundingClientRect();
1359
- this.el_position = rect?.left || 0;
1360
- // console.log('this.el_width', this.el_width);
1361
- // console.log('this.el_center', this.el_center);
1362
- // console.log('this.el_position', this.el_position);
1363
- this.target_height = el.offsetHeight;
1364
- this.target_width = el.offsetWidth;
1365
- this.target_center = this.target_width / 2;
1366
- // console.log('target_heigth', this.target_height);
1367
- // console.log('target_width', this.target_width);
1368
- // console.log('target_center', this.target_center);
1369
- // this.renderer.setStyle(el, 'bottom', `${this.el_position}px`);
1370
- switch (this._direction) {
1371
- case 'top':
1372
- this.to_top(el);
1373
- break;
1374
- case 'bottom':
1375
- this.to_bottom(el);
1376
- break;
1377
- case 'left':
1378
- this.to_left(el);
1379
- break;
1380
- case 'right':
1381
- this.to_right(el);
1382
- break;
1383
- }
1384
- });
1385
- }
1386
- }
1387
- onMouseOut() {
1388
- if (this.getElement()) {
1389
- const el = this.getElement();
1390
- el.style.display = 'none';
1391
- this.renderer.removeClass(this.el.nativeElement, 'main-tooltip');
1392
- }
1357
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
1358
+ provide: NG_VALUE_ACCESSOR,
1359
+ useExisting: forwardRef(() => TCloudUiChoiceIssuesComponent),
1360
+ multi: true
1361
+ };
1362
+ const noop = () => {
1363
+ };
1364
+ class TCloudUiChoiceIssuesComponent {
1365
+ constructor() {
1366
+ this.view = false;
1367
+ this.titulo = '';
1368
+ this.subTitulo = '';
1369
+ this.disabled = false;
1370
+ this.onChange = new EventEmitter();
1371
+ this.innerValue = false;
1372
+ //Placeholders for the callbacks which are later providesd
1373
+ //by the Control Value Accessor
1374
+ this.onTouchedCallback = noop;
1375
+ this.onChangeCallback = noop;
1376
+ this.ID = 'tc-issue-' + Math.random().toString(36).substr(2, 9);
1393
1377
  }
1394
- set TCtooltip(tooltip) {
1395
- if (tooltip) {
1396
- this.check(tooltip);
1397
- }
1378
+ //get accessor
1379
+ get value() {
1380
+ return this.innerValue;
1398
1381
  }
1399
- set TCdirection(direction) {
1400
- if (direction) {
1401
- this._direction = direction;
1382
+ ;
1383
+ //set accessor including call the onchange callback
1384
+ set value(v) {
1385
+ if (v !== this.innerValue) {
1386
+ this.innerValue = v;
1387
+ this.onChangeCallback(v);
1402
1388
  }
1403
1389
  }
1404
- ngOnInit() {
1405
- }
1406
- generateID() {
1407
- return `tc-tooltip-${Math.floor(Math.random() * Math.floor(Math.random() * Date.now()))}`;
1408
- }
1409
- getElement() {
1410
- return document.getElementById(this.ID) || undefined;
1390
+ //Set touched on blur
1391
+ onBlur() {
1392
+ this.onTouchedCallback();
1411
1393
  }
1412
- check(tooltip) {
1413
- this.ID = this.generateID();
1414
- this.info_text = tooltip;
1415
- let el = this.el.nativeElement;
1416
- this.main_el = el;
1417
- if (el) {
1418
- this.create_tooltip(tooltip, el);
1419
- }
1420
- else {
1421
- console.log("TCL: tooltip -> el", this.el.nativeElement);
1394
+ //From ControlValueAccessor interface
1395
+ writeValue(value) {
1396
+ if (value !== this.innerValue) {
1397
+ this.innerValue = value;
1422
1398
  }
1423
1399
  }
1424
- setStyle(el) {
1425
- // this.renderer.setStyle(el, 'position', 'relative');
1426
- // this.renderer.setStyle(el, 'display', 'inline');
1427
- }
1428
- create_tooltip(tip, el) {
1429
- this.setStyle(el);
1430
- const tooltip = document.createElement("div");
1431
- tooltip.setAttribute('id', this.ID);
1432
- tooltip.setAttribute('style', `
1433
- position: absolute;
1434
- display: none;
1435
- padding: 10px;
1436
- border-radius: 10px;
1437
- text-align: center;
1438
- width: max-content;
1439
- max-width: 250px;
1440
- background-color: transparent;
1441
- color: transparent;
1442
- z-index: 1090;
1443
- bottom: ${this.el_position}px;
1444
- left: ${this.target_center}px;
1445
- `);
1446
- tooltip.innerHTML = tip;
1447
- el.insertBefore(tooltip, null);
1448
- }
1449
- to_top(el) {
1450
- const pos = this.el_center - (this.target_center);
1451
- this.renderer.setStyle(el, 'left', `${(pos)}px`);
1452
- this.renderer.setStyle(el, 'bottom', `${(this.el_height + 7)}px`);
1453
- el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-top');
1400
+ //From ControlValueAccessor interface
1401
+ registerOnChange(fn) {
1402
+ this.onChangeCallback = fn;
1454
1403
  }
1455
- to_bottom(el) {
1456
- const pos = this.el_center - (this.target_center);
1457
- this.renderer.setStyle(el, 'left', `${(pos)}px`);
1458
- this.renderer.setStyle(el, 'bottom', `-${(this.target_height + 7)}px`);
1459
- el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-bottom');
1404
+ //From ControlValueAccessor interface
1405
+ registerOnTouched(fn) {
1406
+ this.onTouchedCallback = fn;
1460
1407
  }
1461
- to_right(el) {
1462
- const pos = this.el_width;
1463
- this.renderer.setStyle(el, 'left', `${(pos + 11)}px`);
1464
- this.renderer.setStyle(el, 'bottom', `-${(((this.target_height) / 2) - (this.el_height / 2))}px`);
1465
- el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-right');
1408
+ setV(v) {
1409
+ console.log('setV', v);
1410
+ this.value = v;
1411
+ this.onChange.emit(v);
1466
1412
  }
1467
- to_left(el) {
1468
- const pos = -((this.target_width));
1469
- this.renderer.setStyle(el, 'left', `${(pos - 11)}px`);
1470
- this.renderer.setStyle(el, 'bottom', `-${(((this.target_height) / 2) - (this.el_height / 2))}px`);
1471
- el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-left');
1413
+ createID() {
1414
+ // Math.random should be unique because of its seeding algorithm.
1415
+ // Convert it to base 36 (numbers + letters), and grab the first 9 characters
1416
+ // after the decimal.
1417
+ return '_' + Math.random().toString(36).substr(2, 9);
1472
1418
  }
1473
1419
  }
1474
- TCloudUiTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1475
- TCloudUiTooltipDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiTooltipDirective, selector: "[TCtooltip]", inputs: { TCtooltip: "TCtooltip", TCdirection: "TCdirection" }, host: { listeners: { "mouseover": "onMouseOver()", "mouseout": "onMouseOut()" } }, ngImport: i0 });
1476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTooltipDirective, decorators: [{
1477
- type: Directive,
1478
- args: [{
1479
- selector: '[TCtooltip]'
1480
- }]
1481
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { onMouseOver: [{
1482
- type: HostListener,
1483
- args: ['mouseover']
1484
- }], onMouseOut: [{
1485
- type: HostListener,
1486
- args: ['mouseout']
1487
- }], TCtooltip: [{
1420
+ TCloudUiChoiceIssuesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1421
+ TCloudUiChoiceIssuesComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiChoiceIssuesComponent, selector: "tcloud-ui-choice-issues", inputs: { view: "view", titulo: "titulo", subTitulo: "subTitulo", disabled: "disabled" }, outputs: { onChange: "onChange" }, providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR], viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["campo"], descendants: true, read: true }], ngImport: i0, template: "\r\n\r\n<input #campo [(ngModel)]=\"value\" type=\"hidden\" [value]=\"false\" >\r\n<div class=\"box p-2 mt-3 mb-2\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <p class=\"titulo\">{{ titulo }}</p> \r\n </div>\r\n <div class=\"col-md-4 text-right\"> \r\n\r\n <table class=\"mt-2 mr-2\" *ngIf=\"!view\" >\r\n <tr>\r\n <td>\r\n <div class=\"form-fieldset\">\r\n <label [class.v-true]=\"value\" class=\"mr-1\"><input #campo name=\"{{ ID }}\" [value]=\"true\" type=\"radio\" [(ngModel)]=\"value\" (click)=\"setV(true)\" >Sim</label>\r\n </div>\r\n </td>\r\n <td>\r\n <div class=\"form-fieldset\">\r\n <label [class.v-true]=\"!value\" class=\"ml-2\"><input #campo name=\"{{ ID }}\" [value]=\"false\" type=\"radio\" [(ngModel)]=\"value\" (click)=\"setV(false)\" >N\u00E3o</label>\r\n </div>\r\n </td>\r\n </tr>\r\n </table> \r\n\r\n <table class=\"mt-2 mr-2\" *ngIf=\"view\" >\r\n <tr>\r\n <td>\r\n <div class=\"form-fieldset view\" >\r\n <label *ngIf=\"value\" class=\"v-true disabled\" >Sim</label>\r\n <label *ngIf=\"!value\">N\u00E3o</label>\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n <div class=\"col-md-12 mt-1\">\r\n <p class=\"sub-titulo\">{{ subTitulo }}</p>\r\n </div>\r\n <div class=\"col-md-12 mt-2 mb-1\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n", styles: [".titulo{font-size:1rem;color:var(--cinza)}.sub-titulo{color:#b0adaa}.box{border:1px solid var(--cinza3);border-radius:10px}.box.box-icon{display:flex;justify-content:center;padding:35px 20px}.form-fieldset input{display:none}.form-fieldset .v-true{background:var(--verde);color:#fff}.form-fieldset label{font-size:11px;background:var(--cinza4);cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:space-around;text-transform:uppercase;border-radius:30px;padding:7px;margin:0;width:66px}.form-fieldset label:before{content:\"\";background:#fff;border-radius:50%;height:15px;width:15px}.form-fieldset label:nth-child(2){margin-right:20px}table{width:100%;max-width:200px}.view,.view label{cursor:inherit!important}.disabled{background-color:#8fdfe8!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
1422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesComponent, decorators: [{
1423
+ type: Component,
1424
+ args: [{ selector: 'tcloud-ui-choice-issues', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR], template: "\r\n\r\n<input #campo [(ngModel)]=\"value\" type=\"hidden\" [value]=\"false\" >\r\n<div class=\"box p-2 mt-3 mb-2\">\r\n <div class=\"row\">\r\n <div class=\"col-md-8\">\r\n <p class=\"titulo\">{{ titulo }}</p> \r\n </div>\r\n <div class=\"col-md-4 text-right\"> \r\n\r\n <table class=\"mt-2 mr-2\" *ngIf=\"!view\" >\r\n <tr>\r\n <td>\r\n <div class=\"form-fieldset\">\r\n <label [class.v-true]=\"value\" class=\"mr-1\"><input #campo name=\"{{ ID }}\" [value]=\"true\" type=\"radio\" [(ngModel)]=\"value\" (click)=\"setV(true)\" >Sim</label>\r\n </div>\r\n </td>\r\n <td>\r\n <div class=\"form-fieldset\">\r\n <label [class.v-true]=\"!value\" class=\"ml-2\"><input #campo name=\"{{ ID }}\" [value]=\"false\" type=\"radio\" [(ngModel)]=\"value\" (click)=\"setV(false)\" >N\u00E3o</label>\r\n </div>\r\n </td>\r\n </tr>\r\n </table> \r\n\r\n <table class=\"mt-2 mr-2\" *ngIf=\"view\" >\r\n <tr>\r\n <td>\r\n <div class=\"form-fieldset view\" >\r\n <label *ngIf=\"value\" class=\"v-true disabled\" >Sim</label>\r\n <label *ngIf=\"!value\">N\u00E3o</label>\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n <div class=\"col-md-12 mt-1\">\r\n <p class=\"sub-titulo\">{{ subTitulo }}</p>\r\n </div>\r\n <div class=\"col-md-12 mt-2 mb-1\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n", styles: [".titulo{font-size:1rem;color:var(--cinza)}.sub-titulo{color:#b0adaa}.box{border:1px solid var(--cinza3);border-radius:10px}.box.box-icon{display:flex;justify-content:center;padding:35px 20px}.form-fieldset input{display:none}.form-fieldset .v-true{background:var(--verde);color:#fff}.form-fieldset label{font-size:11px;background:var(--cinza4);cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:space-around;text-transform:uppercase;border-radius:30px;padding:7px;margin:0;width:66px}.form-fieldset label:before{content:\"\";background:#fff;border-radius:50%;height:15px;width:15px}.form-fieldset label:nth-child(2){margin-right:20px}table{width:100%;max-width:200px}.view,.view label{cursor:inherit!important}.disabled{background-color:#8fdfe8!important}\n"] }]
1425
+ }], ctorParameters: function () { return []; }, propDecorators: { view: [{
1488
1426
  type: Input
1489
- }], TCdirection: [{
1427
+ }], titulo: [{
1490
1428
  type: Input
1429
+ }], subTitulo: [{
1430
+ type: Input
1431
+ }], disabled: [{
1432
+ type: Input
1433
+ }], onChange: [{
1434
+ type: Output
1435
+ }], inputRef: [{
1436
+ type: ViewChild,
1437
+ args: ['campo', { read: true, static: false }]
1491
1438
  }] } });
1492
1439
 
1493
- class TCloudUiDirectiveModule {
1440
+ class TCloudUiChoiceIssuesModule {
1494
1441
  }
1495
- TCloudUiDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1496
- TCloudUiDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, declarations: [TCloudUiTooltipDirective], exports: [TCloudUiTooltipDirective] });
1497
- TCloudUiDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule });
1498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, decorators: [{
1442
+ TCloudUiChoiceIssuesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1443
+ TCloudUiChoiceIssuesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesModule, declarations: [TCloudUiChoiceIssuesComponent], imports: [CommonModule,
1444
+ FormsModule,
1445
+ ReactiveFormsModule], exports: [TCloudUiChoiceIssuesComponent] });
1446
+ TCloudUiChoiceIssuesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesModule, imports: [CommonModule,
1447
+ FormsModule,
1448
+ ReactiveFormsModule] });
1449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiChoiceIssuesModule, decorators: [{
1499
1450
  type: NgModule,
1500
1451
  args: [{
1501
- declarations: [TCloudUiTooltipDirective],
1502
- exports: [TCloudUiTooltipDirective],
1452
+ declarations: [
1453
+ TCloudUiChoiceIssuesComponent,
1454
+ ],
1455
+ exports: [
1456
+ TCloudUiChoiceIssuesComponent,
1457
+ ],
1458
+ imports: [
1459
+ CommonModule,
1460
+ FormsModule,
1461
+ ReactiveFormsModule
1462
+ ]
1503
1463
  }]
1504
1464
  }] });
1505
1465
 
1506
- class MonthNamePipe {
1466
+ class TCloudUiMultiInputComponent {
1507
1467
  constructor() {
1508
- this.meses = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezenbro'];
1468
+ this.placeholder = '';
1469
+ this.disabled = false;
1470
+ this.loading = false;
1471
+ this.count_actives = 0;
1472
+ this.tcChange = new EventEmitter();
1509
1473
  }
1510
- transform(yyyy_mm) {
1511
- if (yyyy_mm !== '') {
1512
- let part = (yyyy_mm).split('-');
1513
- if ((part).length === 2) {
1514
- let yyyy = +part[0];
1515
- let mm = +part[1];
1516
- return this.meses[(mm - 1)];
1474
+ ngOnInit() {
1475
+ setTimeout(() => {
1476
+ this.toChange();
1477
+ });
1478
+ }
1479
+ addItem(item) {
1480
+ if (this.disabled) {
1481
+ return;
1482
+ }
1483
+ if (!this.tcList) {
1484
+ this.tcList = [];
1485
+ }
1486
+ (this.tcList).push({ value: item });
1487
+ this.toChange();
1488
+ this.input_value = '';
1489
+ }
1490
+ removeItem(item, index) {
1491
+ if (this.disabled) {
1492
+ return;
1493
+ }
1494
+ if (this.tcList) {
1495
+ for (let i = 0; i < (this.tcList).length; i++) {
1496
+ const row = this.tcList[i];
1497
+ if (item === row.value && i === index) {
1498
+ (this.tcList).splice(index, 1);
1499
+ break;
1500
+ }
1517
1501
  }
1502
+ this.toChange();
1518
1503
  }
1519
- return '';
1520
1504
  }
1521
- }
1522
- MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1523
- MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, name: "monthname" });
1524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, decorators: [{
1525
- type: Pipe,
1526
- args: [{ name: 'monthname' }]
1527
- }] });
1505
+ toChange() {
1506
+ let count_actives = 0;
1507
+ let itens = [];
1508
+ if (this.tcList) {
1509
+ for (let i = 0; i < (this.tcList).length; i++) {
1510
+ const row = this.tcList[i];
1511
+ (itens).push(row);
1512
+ }
1513
+ }
1514
+ this.count_actives = count_actives;
1515
+ this.tcChange.emit(itens);
1516
+ }
1517
+ }
1518
+ TCloudUiMultiInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1519
+ TCloudUiMultiInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiMultiInputComponent, selector: "tcloud-ui-multi-input", inputs: { tcList: "tcList", placeholder: "placeholder", disabled: "disabled", loading: "loading" }, outputs: { tcChange: "tcChange" }, ngImport: i0, template: "<div>\n <form #_formulario=\"ngForm\">\n <table>\n <tr *ngIf=\"tcList\">\n <td>\n <input type=\"text\" [(ngModel)]=\"input_value\" [disabled]=\"disabled || loading\" name=\"input_value\" required>\n </td>\n <td>\n <button\n [disabled]=\"disabled || loading || !_formulario.valid\"\n title=\"Adicionar\"\n class=\"btn-plus-select\"\n (click)=\"addItem(input_value)\"\n type=\"button\">\n <i class=\"fas fa-plus\"></i>\n </button>\n </td>\n </tr>\n </table>\n \n <div class=\"box-itens-selected\">\n <ng-container *ngFor=\"let item of tcList; let i = index\">\n \n <div class=\"box-label\">\n <div class=\"box-value\" [title]=\"item.value\">\n {{ item.value }} \n </div>\n <div class=\"box-action\">\n <button\n [disabled]=\"tcList === undefined || (tcList && tcList.length === 0) || disabled || loading\"\n title=\"Remover\"\n type=\"button\"\n (click)=\"removeItem(item.value, i)\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n </div>\n\n </ng-container>\n </div>\n </form>\n</div>\n ", styles: ["table{width:100%;border-collapse:collapse;border:none}table td:first-child{width:100%}input{font-size:.8rem;height:40px;border:1px solid #999;border-radius:4px 0 0 4px;padding:6px 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;background-color:#fff;color:#888}.btn-plus-select{width:30px;height:40px;border:none;color:#fff;background-color:var(--verde);border-radius:0 4px 4px 0}.box-itens-selected{display:flex;padding:9px;background-color:#ededed;border-radius:4px}select:disabled{opacity:.8!important;cursor:not-allowed!important;background-color:#ededed}button:disabled{opacity:.5!important;cursor:not-allowed!important}.box-label{display:flex;max-width:220px;height:35px;min-width:100px;background-color:var(--verde);color:#fff;padding:8px 15px 10px;border:none;border-radius:5px;margin:2px}.box-label .box-value{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.box-label .box-action{width:8px}.box-label .box-action button{color:#d72020;background-color:var(--verde);border:none;font-weight:700;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputComponent, decorators: [{
1521
+ type: Component,
1522
+ args: [{ selector: 'tcloud-ui-multi-input', template: "<div>\n <form #_formulario=\"ngForm\">\n <table>\n <tr *ngIf=\"tcList\">\n <td>\n <input type=\"text\" [(ngModel)]=\"input_value\" [disabled]=\"disabled || loading\" name=\"input_value\" required>\n </td>\n <td>\n <button\n [disabled]=\"disabled || loading || !_formulario.valid\"\n title=\"Adicionar\"\n class=\"btn-plus-select\"\n (click)=\"addItem(input_value)\"\n type=\"button\">\n <i class=\"fas fa-plus\"></i>\n </button>\n </td>\n </tr>\n </table>\n \n <div class=\"box-itens-selected\">\n <ng-container *ngFor=\"let item of tcList; let i = index\">\n \n <div class=\"box-label\">\n <div class=\"box-value\" [title]=\"item.value\">\n {{ item.value }} \n </div>\n <div class=\"box-action\">\n <button\n [disabled]=\"tcList === undefined || (tcList && tcList.length === 0) || disabled || loading\"\n title=\"Remover\"\n type=\"button\"\n (click)=\"removeItem(item.value, i)\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n </div>\n\n </ng-container>\n </div>\n </form>\n</div>\n ", styles: ["table{width:100%;border-collapse:collapse;border:none}table td:first-child{width:100%}input{font-size:.8rem;height:40px;border:1px solid #999;border-radius:4px 0 0 4px;padding:6px 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;background-color:#fff;color:#888}.btn-plus-select{width:30px;height:40px;border:none;color:#fff;background-color:var(--verde);border-radius:0 4px 4px 0}.box-itens-selected{display:flex;padding:9px;background-color:#ededed;border-radius:4px}select:disabled{opacity:.8!important;cursor:not-allowed!important;background-color:#ededed}button:disabled{opacity:.5!important;cursor:not-allowed!important}.box-label{display:flex;max-width:220px;height:35px;min-width:100px;background-color:var(--verde);color:#fff;padding:8px 15px 10px;border:none;border-radius:5px;margin:2px}.box-label .box-value{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.box-label .box-action{width:8px}.box-label .box-action button{color:#d72020;background-color:var(--verde);border:none;font-weight:700;cursor:pointer}\n"] }]
1523
+ }], ctorParameters: function () { return []; }, propDecorators: { tcList: [{
1524
+ type: Input
1525
+ }], placeholder: [{
1526
+ type: Input
1527
+ }], disabled: [{
1528
+ type: Input
1529
+ }], loading: [{
1530
+ type: Input
1531
+ }], tcChange: [{
1532
+ type: Output
1533
+ }] } });
1534
+
1535
+ class TCloudUiMultiInputModule {
1536
+ }
1537
+ TCloudUiMultiInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1538
+ TCloudUiMultiInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, declarations: [TCloudUiMultiInputComponent], imports: [FormsModule,
1539
+ ReactiveFormsModule,
1540
+ CommonModule], exports: [TCloudUiMultiInputComponent] });
1541
+ TCloudUiMultiInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, imports: [FormsModule,
1542
+ ReactiveFormsModule,
1543
+ CommonModule] });
1544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, decorators: [{
1545
+ type: NgModule,
1546
+ args: [{
1547
+ declarations: [TCloudUiMultiInputComponent],
1548
+ exports: [TCloudUiMultiInputComponent],
1549
+ imports: [
1550
+ FormsModule,
1551
+ ReactiveFormsModule,
1552
+ CommonModule
1553
+ ]
1554
+ }]
1555
+ }] });
1556
+
1557
+ class MonthNamePipe {
1558
+ constructor() {
1559
+ this.meses = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezenbro'];
1560
+ }
1561
+ transform(yyyy_mm) {
1562
+ if (yyyy_mm !== '') {
1563
+ let part = (yyyy_mm).split('-');
1564
+ if ((part).length === 2) {
1565
+ let yyyy = +part[0];
1566
+ let mm = +part[1];
1567
+ return this.meses[(mm - 1)];
1568
+ }
1569
+ }
1570
+ return '';
1571
+ }
1572
+ }
1573
+ MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1574
+ MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, name: "monthname" });
1575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MonthNamePipe, decorators: [{
1576
+ type: Pipe,
1577
+ args: [{ name: 'monthname' }]
1578
+ }] });
1528
1579
 
1529
1580
  class StatusInfoPipe {
1530
1581
  constructor() {
@@ -1738,17 +1789,403 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1738
1789
  args: [{ name: 'cpf' }]
1739
1790
  }] });
1740
1791
 
1792
+ class TCloudUiSearchInObjectService {
1793
+ constructor(datepipe, statusinfo) {
1794
+ this.datepipe = datepipe;
1795
+ this.statusinfo = statusinfo;
1796
+ }
1797
+ isADate(d) {
1798
+ if (Object.prototype.toString.call(d) === "[object Date]") {
1799
+ ;
1800
+ if (isNaN(d.getTime())) {
1801
+ return false;
1802
+ }
1803
+ else {
1804
+ return true;
1805
+ }
1806
+ }
1807
+ return false;
1808
+ }
1809
+ /**
1810
+ * meet - Procura em object - filtro utilizado para busca em tabelas
1811
+ * @param valor texto a ser procurado
1812
+ * @param emObject object alvo de onde procurar
1813
+ * @param camposDebusca (Opcional) informa em quais são as keys que deverá procurar
1814
+ */
1815
+ meet(valor, emObject, camposDebusca) {
1816
+ if (valor != "") {
1817
+ if (emObject.length < 1) {
1818
+ return emObject;
1819
+ }
1820
+ if (camposDebusca === undefined || camposDebusca === null) {
1821
+ camposDebusca = [];
1822
+ for (const key in emObject[0]) {
1823
+ camposDebusca.push(key);
1824
+ }
1825
+ }
1826
+ if (camposDebusca.length < 1) {
1827
+ return emObject;
1828
+ }
1829
+ valor = valor.toLowerCase();
1830
+ var result = [];
1831
+ for (const key in emObject) {
1832
+ var oObject = emObject[key];
1833
+ if (oObject) {
1834
+ for (const objectvalue of camposDebusca) {
1835
+ const dt = new Date(oObject[objectvalue]);
1836
+ if (this.isADate(dt) && typeof ((dt).getMonth) === 'function') {
1837
+ const data1 = this.datepipe.transform(dt, 'dd/MM/yyyy hh:mm');
1838
+ const data2 = this.datepipe.transform(dt, 'medium');
1839
+ const strToTest = (data1 + " " + data2 + " " + oObject[objectvalue]).toLowerCase();
1840
+ if ((strToTest.indexOf(valor) >= 0) && (result).indexOf(oObject) == -1) {
1841
+ result.push(oObject);
1842
+ break;
1843
+ }
1844
+ }
1845
+ else {
1846
+ const strToTest = (this.statusinfo.transform(oObject[objectvalue], 'ALL') + "").toLowerCase();
1847
+ if ((strToTest.indexOf(valor) >= 0) && (result).indexOf(oObject) == -1) {
1848
+ result.push(oObject);
1849
+ break;
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ }
1855
+ if (emObject && typeof emObject === 'object' && Array.isArray(emObject)) {
1856
+ // is array
1857
+ const v = (`${valor}`).toUpperCase();
1858
+ for (let i = 0; i < (emObject).length; i++) {
1859
+ const item = (`${emObject[i]}`).toUpperCase();
1860
+ if (item.includes(v) || item === v) {
1861
+ result.push(emObject[i]);
1862
+ }
1863
+ }
1864
+ }
1865
+ return result;
1866
+ }
1867
+ return emObject;
1868
+ }
1869
+ }
1870
+ TCloudUiSearchInObjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiSearchInObjectService, deps: [{ token: i1.DatePipe }, { token: StatusInfoPipe }], target: i0.ɵɵFactoryTarget.Injectable });
1871
+ TCloudUiSearchInObjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiSearchInObjectService, providedIn: 'root' });
1872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiSearchInObjectService, decorators: [{
1873
+ type: Injectable,
1874
+ args: [{
1875
+ providedIn: 'root',
1876
+ }]
1877
+ }], ctorParameters: function () { return [{ type: i1.DatePipe }, { type: StatusInfoPipe }]; } });
1878
+
1879
+ class TCloudUiInputSearchComponent {
1880
+ constructor(searchInObjectService) {
1881
+ this.searchInObjectService = searchInObjectService;
1882
+ /**
1883
+ * tcloud-ui-input-search - Procura pelo valor informado no objeto indicado
1884
+ * @param placeholder string - placeholder no input
1885
+ * @param mirror boolean - Exibir os valores espelhados ou somente os valores encontrados
1886
+ * @param base_object object - Objeto onde ser procurado
1887
+ * @param found - Evite o valor encontrado
1888
+ */
1889
+ this.placeholder = 'Procurar...';
1890
+ this.mirror = true;
1891
+ this.search_text = '';
1892
+ this.found = new EventEmitter();
1893
+ }
1894
+ set base_object(base_object) {
1895
+ if (base_object) {
1896
+ this._base_object = base_object;
1897
+ if (this.mirror) {
1898
+ this.result_object = base_object;
1899
+ this.toFound();
1900
+ }
1901
+ }
1902
+ }
1903
+ get base_object() { return this._base_object; }
1904
+ ngOnInit() {
1905
+ }
1906
+ buscar(value) {
1907
+ this.result_object = this.searchInObjectService.meet(`${value}`, this.base_object);
1908
+ this.toFound();
1909
+ }
1910
+ clean() {
1911
+ if (this.mirror) {
1912
+ this.buscar('');
1913
+ }
1914
+ else {
1915
+ this.result_object = [];
1916
+ this.toFound();
1917
+ }
1918
+ this.search_text = '';
1919
+ }
1920
+ toFound() {
1921
+ this.found.emit(this.result_object);
1922
+ }
1923
+ }
1924
+ TCloudUiInputSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchComponent, deps: [{ token: TCloudUiSearchInObjectService }], target: i0.ɵɵFactoryTarget.Component });
1925
+ TCloudUiInputSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiInputSearchComponent, selector: "tcloud-ui-input-search", inputs: { placeholder: "placeholder", mirror: "mirror", base_object: "base_object" }, outputs: { found: "found" }, ngImport: i0, template: "<table class=\"tc-group-input-table\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td><input [(ngModel)]=\"search_text\" type=\"text\" (keyup)=\"buscar(search_text)\" placeholder=\"{{ placeholder }}\" ></td>\n <td> \n <ng-container *ngIf=\"search_text === ''\"> \n <button type=\"button\" (click)=\"buscar(search_text)\"><i class=\"fas fa-search\"></i></button>\n </ng-container> \n\n <ng-container *ngIf=\"search_text !== ''\"> \n <button type=\"button\" (click)=\"clean()\"><i class=\"fas fa-times\"></i></button>\n </ng-container>\n </td>\n </tr>\n</table>", styles: [".tc-group-input-table{width:100%;border-collapse:collapse;border-spacing:0}.tc-group-input-table td{border:none;border-style:hidden;border-spacing:0}.tc-group-input-table td:first-child input{width:100%;height:35px;border:none;border:1px solid #ccc}.tc-group-input-table td:last-child{width:40px}.tc-group-input-table td:last-child button{width:100%;height:35px;border:none;border-radius:0 10px 10px 0;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
1926
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchComponent, decorators: [{
1927
+ type: Component,
1928
+ args: [{ selector: 'tcloud-ui-input-search', template: "<table class=\"tc-group-input-table\" cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td><input [(ngModel)]=\"search_text\" type=\"text\" (keyup)=\"buscar(search_text)\" placeholder=\"{{ placeholder }}\" ></td>\n <td> \n <ng-container *ngIf=\"search_text === ''\"> \n <button type=\"button\" (click)=\"buscar(search_text)\"><i class=\"fas fa-search\"></i></button>\n </ng-container> \n\n <ng-container *ngIf=\"search_text !== ''\"> \n <button type=\"button\" (click)=\"clean()\"><i class=\"fas fa-times\"></i></button>\n </ng-container>\n </td>\n </tr>\n</table>", styles: [".tc-group-input-table{width:100%;border-collapse:collapse;border-spacing:0}.tc-group-input-table td{border:none;border-style:hidden;border-spacing:0}.tc-group-input-table td:first-child input{width:100%;height:35px;border:none;border:1px solid #ccc}.tc-group-input-table td:last-child{width:40px}.tc-group-input-table td:last-child button{width:100%;height:35px;border:none;border-radius:0 10px 10px 0;cursor:pointer}\n"] }]
1929
+ }], ctorParameters: function () { return [{ type: TCloudUiSearchInObjectService }]; }, propDecorators: { placeholder: [{
1930
+ type: Input
1931
+ }], mirror: [{
1932
+ type: Input
1933
+ }], base_object: [{
1934
+ type: Input
1935
+ }], found: [{
1936
+ type: Output
1937
+ }] } });
1938
+
1939
+ class TCloudUiInputSearchModule {
1940
+ }
1941
+ TCloudUiInputSearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1942
+ TCloudUiInputSearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchModule, declarations: [TCloudUiInputSearchComponent], imports: [CommonModule,
1943
+ FormsModule,
1944
+ ReactiveFormsModule], exports: [TCloudUiInputSearchComponent] });
1945
+ TCloudUiInputSearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchModule, imports: [CommonModule,
1946
+ FormsModule,
1947
+ ReactiveFormsModule] });
1948
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiInputSearchModule, decorators: [{
1949
+ type: NgModule,
1950
+ args: [{
1951
+ declarations: [
1952
+ TCloudUiInputSearchComponent
1953
+ ],
1954
+ exports: [
1955
+ TCloudUiInputSearchComponent
1956
+ ],
1957
+ imports: [
1958
+ CommonModule,
1959
+ FormsModule,
1960
+ ReactiveFormsModule
1961
+ ]
1962
+ }]
1963
+ }] });
1964
+
1965
+ class TCloudUiNotFoundComponent {
1966
+ constructor() {
1967
+ this.message = 'Nenhum registro encontrado.';
1968
+ this.styleIcon = {};
1969
+ }
1970
+ ngOnInit() {
1971
+ }
1972
+ }
1973
+ TCloudUiNotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1974
+ TCloudUiNotFoundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiNotFoundComponent, selector: "tcloud-ui-not-found", inputs: { message: "message" }, ngImport: i0, template: "<div class=\"tc-container-empty\">\r\n <div class=\"tc-message-empty-icon\">\r\n <i class=\"fas fa-exclamation-triangle\"></i>\r\n </div>\r\n <div *ngIf=\"message !== ''\" class=\"tc-message-empty\" [innerHTML]=\"message\" ></div>\r\n</div>", styles: [".tc-container-empty{margin:15px;text-align:center;border:1px solid rgba(204,204,204,.4392156863);padding:10px;border-radius:5px;background-color:#fff}.tc-container-empty .tc-message-empty-icon i{font-size:25px;color:#c1c1c1}.tc-container-empty .tc-message-empty{margin:15px;font-size:15px;color:#a49d9d}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundComponent, decorators: [{
1976
+ type: Component,
1977
+ args: [{ selector: 'tcloud-ui-not-found', template: "<div class=\"tc-container-empty\">\r\n <div class=\"tc-message-empty-icon\">\r\n <i class=\"fas fa-exclamation-triangle\"></i>\r\n </div>\r\n <div *ngIf=\"message !== ''\" class=\"tc-message-empty\" [innerHTML]=\"message\" ></div>\r\n</div>", styles: [".tc-container-empty{margin:15px;text-align:center;border:1px solid rgba(204,204,204,.4392156863);padding:10px;border-radius:5px;background-color:#fff}.tc-container-empty .tc-message-empty-icon i{font-size:25px;color:#c1c1c1}.tc-container-empty .tc-message-empty{margin:15px;font-size:15px;color:#a49d9d}\n"] }]
1978
+ }], propDecorators: { message: [{
1979
+ type: Input
1980
+ }] } });
1981
+
1982
+ class TCloudUiNotFoundModule {
1983
+ }
1984
+ TCloudUiNotFoundModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1985
+ TCloudUiNotFoundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundModule, declarations: [TCloudUiNotFoundComponent], imports: [CommonModule], exports: [TCloudUiNotFoundComponent] });
1986
+ TCloudUiNotFoundModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundModule, imports: [CommonModule] });
1987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiNotFoundModule, decorators: [{
1988
+ type: NgModule,
1989
+ args: [{
1990
+ declarations: [
1991
+ TCloudUiNotFoundComponent
1992
+ ],
1993
+ imports: [
1994
+ CommonModule,
1995
+ ],
1996
+ exports: [
1997
+ TCloudUiNotFoundComponent
1998
+ ],
1999
+ }]
2000
+ }] });
2001
+
2002
+ class TCloudUiTooltipDirective {
2003
+ constructor(el, renderer) {
2004
+ this.el = el;
2005
+ this.renderer = renderer;
2006
+ this._direction = 'top';
2007
+ // main
2008
+ this.el_height = 0;
2009
+ this.el_width = 0;
2010
+ this.el_center = 0;
2011
+ this.el_position = 0;
2012
+ // tooltip
2013
+ this.target_height = 0;
2014
+ this.target_width = 0;
2015
+ this.target_center = 0;
2016
+ this.ID = '';
2017
+ this.info_text = '';
2018
+ }
2019
+ onMouseOver() {
2020
+ if (this.getElement()) {
2021
+ this.renderer.addClass(this.el.nativeElement, 'main-tooltip');
2022
+ const el = this.getElement();
2023
+ el.style.display = 'inline';
2024
+ setTimeout(() => {
2025
+ this.el_height = this.el.nativeElement.offsetHeight;
2026
+ this.el_width = this.el.nativeElement.offsetWidth;
2027
+ this.el_center = this.el_width / 2;
2028
+ const rect = this.el.nativeElement?.getBoundingClientRect();
2029
+ this.el_position = rect?.left || 0;
2030
+ // console.log('this.el_width', this.el_width);
2031
+ // console.log('this.el_center', this.el_center);
2032
+ // console.log('this.el_position', this.el_position);
2033
+ this.target_height = el.offsetHeight;
2034
+ this.target_width = el.offsetWidth;
2035
+ this.target_center = this.target_width / 2;
2036
+ // console.log('target_heigth', this.target_height);
2037
+ // console.log('target_width', this.target_width);
2038
+ // console.log('target_center', this.target_center);
2039
+ // this.renderer.setStyle(el, 'bottom', `${this.el_position}px`);
2040
+ switch (this._direction) {
2041
+ case 'top':
2042
+ this.to_top(el);
2043
+ break;
2044
+ case 'bottom':
2045
+ this.to_bottom(el);
2046
+ break;
2047
+ case 'left':
2048
+ this.to_left(el);
2049
+ break;
2050
+ case 'right':
2051
+ this.to_right(el);
2052
+ break;
2053
+ }
2054
+ });
2055
+ }
2056
+ }
2057
+ onMouseOut() {
2058
+ if (this.getElement()) {
2059
+ const el = this.getElement();
2060
+ el.style.display = 'none';
2061
+ this.renderer.removeClass(this.el.nativeElement, 'main-tooltip');
2062
+ }
2063
+ }
2064
+ set TCtooltip(tooltip) {
2065
+ if (tooltip) {
2066
+ this.check(tooltip);
2067
+ }
2068
+ }
2069
+ set TCdirection(direction) {
2070
+ if (direction) {
2071
+ this._direction = direction;
2072
+ }
2073
+ }
2074
+ ngOnInit() {
2075
+ }
2076
+ generateID() {
2077
+ return `tc-tooltip-${Math.floor(Math.random() * Math.floor(Math.random() * Date.now()))}`;
2078
+ }
2079
+ getElement() {
2080
+ return document.getElementById(this.ID) || undefined;
2081
+ }
2082
+ check(tooltip) {
2083
+ this.ID = this.generateID();
2084
+ this.info_text = tooltip;
2085
+ let el = this.el.nativeElement;
2086
+ this.main_el = el;
2087
+ if (el) {
2088
+ this.create_tooltip(tooltip, el);
2089
+ }
2090
+ else {
2091
+ console.log("TCL: tooltip -> el", this.el.nativeElement);
2092
+ }
2093
+ }
2094
+ setStyle(el) {
2095
+ // this.renderer.setStyle(el, 'position', 'relative');
2096
+ // this.renderer.setStyle(el, 'display', 'inline');
2097
+ }
2098
+ create_tooltip(tip, el) {
2099
+ this.setStyle(el);
2100
+ const tooltip = document.createElement("div");
2101
+ tooltip.setAttribute('id', this.ID);
2102
+ tooltip.setAttribute('style', `
2103
+ position: absolute;
2104
+ display: none;
2105
+ padding: 10px;
2106
+ border-radius: 10px;
2107
+ text-align: center;
2108
+ width: max-content;
2109
+ max-width: 250px;
2110
+ background-color: transparent;
2111
+ color: transparent;
2112
+ z-index: 1090;
2113
+ bottom: ${this.el_position}px;
2114
+ left: ${this.target_center}px;
2115
+ `);
2116
+ tooltip.innerHTML = tip;
2117
+ el.insertBefore(tooltip, null);
2118
+ }
2119
+ to_top(el) {
2120
+ const pos = this.el_center - (this.target_center);
2121
+ this.renderer.setStyle(el, 'left', `${(pos)}px`);
2122
+ this.renderer.setStyle(el, 'bottom', `${(this.el_height + 7)}px`);
2123
+ el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-top');
2124
+ }
2125
+ to_bottom(el) {
2126
+ const pos = this.el_center - (this.target_center);
2127
+ this.renderer.setStyle(el, 'left', `${(pos)}px`);
2128
+ this.renderer.setStyle(el, 'bottom', `-${(this.target_height + 7)}px`);
2129
+ el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-bottom');
2130
+ }
2131
+ to_right(el) {
2132
+ const pos = this.el_width;
2133
+ this.renderer.setStyle(el, 'left', `${(pos + 11)}px`);
2134
+ this.renderer.setStyle(el, 'bottom', `-${(((this.target_height) / 2) - (this.el_height / 2))}px`);
2135
+ el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-right');
2136
+ }
2137
+ to_left(el) {
2138
+ const pos = -((this.target_width));
2139
+ this.renderer.setStyle(el, 'left', `${(pos - 11)}px`);
2140
+ this.renderer.setStyle(el, 'bottom', `-${(((this.target_height) / 2) - (this.el_height / 2))}px`);
2141
+ el.setAttribute('class', 'tc-directive-tooltip tc-directive-tooltip-left');
2142
+ }
2143
+ }
2144
+ TCloudUiTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2145
+ TCloudUiTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiTooltipDirective, selector: "[TCtooltip]", inputs: { TCtooltip: "TCtooltip", TCdirection: "TCdirection" }, host: { listeners: { "mouseover": "onMouseOver()", "mouseout": "onMouseOut()" } }, ngImport: i0 });
2146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiTooltipDirective, decorators: [{
2147
+ type: Directive,
2148
+ args: [{
2149
+ selector: '[TCtooltip]'
2150
+ }]
2151
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { onMouseOver: [{
2152
+ type: HostListener,
2153
+ args: ['mouseover']
2154
+ }], onMouseOut: [{
2155
+ type: HostListener,
2156
+ args: ['mouseout']
2157
+ }], TCtooltip: [{
2158
+ type: Input
2159
+ }], TCdirection: [{
2160
+ type: Input
2161
+ }] } });
2162
+
2163
+ class TCloudUiDirectiveModule {
2164
+ }
2165
+ TCloudUiDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2166
+ TCloudUiDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, declarations: [TCloudUiTooltipDirective], exports: [TCloudUiTooltipDirective] });
2167
+ TCloudUiDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule });
2168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, decorators: [{
2169
+ type: NgModule,
2170
+ args: [{
2171
+ declarations: [TCloudUiTooltipDirective],
2172
+ exports: [TCloudUiTooltipDirective],
2173
+ }]
2174
+ }] });
2175
+
1741
2176
  class TCloudUiPipesModule {
1742
2177
  }
1743
2178
  TCloudUiPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1744
2179
  TCloudUiPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, declarations: [MonthNamePipe,
1745
2180
  StatusInfoPipe,
1746
2181
  RespectivePipe,
1747
- CNPJPipe], imports: [CommonModule], exports: [MonthNamePipe,
2182
+ CNPJPipe], imports: [CommonModule], exports: [DatePipe,
2183
+ MonthNamePipe,
1748
2184
  StatusInfoPipe,
1749
2185
  RespectivePipe,
1750
2186
  CNPJPipe] });
1751
2187
  TCloudUiPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiPipesModule, providers: [
2188
+ DatePipe,
1752
2189
  MonthNamePipe,
1753
2190
  StatusInfoPipe,
1754
2191
  RespectivePipe,
@@ -1767,12 +2204,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1767
2204
  CNPJPipe
1768
2205
  ],
1769
2206
  exports: [
2207
+ DatePipe,
1770
2208
  MonthNamePipe,
1771
2209
  StatusInfoPipe,
1772
2210
  RespectivePipe,
1773
2211
  CNPJPipe
1774
2212
  ],
1775
2213
  providers: [
2214
+ DatePipe,
1776
2215
  MonthNamePipe,
1777
2216
  StatusInfoPipe,
1778
2217
  RespectivePipe,
@@ -1781,96 +2220,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1781
2220
  }]
1782
2221
  }] });
1783
2222
 
1784
- class TCloudUiMultiInputComponent {
2223
+ class TCloudUiLoadingTransitionsService {
1785
2224
  constructor() {
1786
- this.placeholder = '';
1787
- this.disabled = false;
1788
- this.loading = false;
1789
- this.count_actives = 0;
1790
- this.tcChange = new EventEmitter();
1791
- }
1792
- ngOnInit() {
1793
- setTimeout(() => {
1794
- this.toChange();
1795
- });
1796
- }
1797
- addItem(item) {
1798
- if (this.disabled) {
1799
- return;
1800
- }
1801
- if (!this.tcList) {
1802
- this.tcList = [];
1803
- }
1804
- (this.tcList).push({ value: item });
1805
- this.toChange();
1806
- this.input_value = '';
1807
- }
1808
- removeItem(item, index) {
1809
- if (this.disabled) {
1810
- return;
1811
- }
1812
- if (this.tcList) {
1813
- for (let i = 0; i < (this.tcList).length; i++) {
1814
- const row = this.tcList[i];
1815
- if (item === row.value && i === index) {
1816
- (this.tcList).splice(index, 1);
1817
- break;
1818
- }
1819
- }
1820
- this.toChange();
2225
+ this.ID = 'tcloud-ui-loading-transitions';
2226
+ }
2227
+ /**
2228
+ * Inicia a tela de bloqueio para carregamento de tarefa
2229
+ */
2230
+ start() {
2231
+ this.create_loading_transition();
2232
+ if (document.getElementById(this.ID)) {
2233
+ const box = document.getElementById(this.ID);
2234
+ box?.classList.add('tcloud-ui-start-loading');
2235
+ }
2236
+ }
2237
+ /**
2238
+ * Encerra a tela de bloqueio
2239
+ */
2240
+ stop() {
2241
+ if (document.getElementById(this.ID)) {
2242
+ const box = document.getElementById(this.ID);
2243
+ box?.classList.remove('tcloud-ui-start-loading');
2244
+ const body = document.getElementsByTagName('body')[0];
2245
+ body.classList.remove('tcloud-ui-body-loading-transitions');
2246
+ }
2247
+ }
2248
+ create_loading_transition() {
2249
+ let box = null;
2250
+ if (document.getElementById(this.ID)) {
2251
+ box = document.getElementById(this.ID);
1821
2252
  }
1822
- }
1823
- toChange() {
1824
- let count_actives = 0;
1825
- let itens = [];
1826
- if (this.tcList) {
1827
- for (let i = 0; i < (this.tcList).length; i++) {
1828
- const row = this.tcList[i];
1829
- (itens).push(row);
1830
- }
2253
+ else {
2254
+ box = document.createElement("div");
2255
+ box.setAttribute('id', this.ID);
1831
2256
  }
1832
- this.count_actives = count_actives;
1833
- this.tcChange.emit(itens);
2257
+ const body = document.getElementsByTagName('body')[0];
2258
+ body.appendChild(box);
2259
+ body.classList.add('tcloud-ui-body-loading-transitions');
2260
+ // element.classList.remove('bar', 'baz');
1834
2261
  }
1835
2262
  }
1836
- TCloudUiMultiInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1837
- TCloudUiMultiInputComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiMultiInputComponent, selector: "tcloud-ui-multi-input", inputs: { tcList: "tcList", placeholder: "placeholder", disabled: "disabled", loading: "loading" }, outputs: { tcChange: "tcChange" }, ngImport: i0, template: "<div>\n <form #_formulario=\"ngForm\">\n <table>\n <tr *ngIf=\"tcList\">\n <td>\n <input type=\"text\" [(ngModel)]=\"input_value\" [disabled]=\"disabled || loading\" name=\"input_value\" required>\n </td>\n <td>\n <button\n [disabled]=\"disabled || loading || !_formulario.valid\"\n title=\"Adicionar\"\n class=\"btn-plus-select\"\n (click)=\"addItem(input_value)\"\n type=\"button\">\n <i class=\"fas fa-plus\"></i>\n </button>\n </td>\n </tr>\n </table>\n \n <div class=\"box-itens-selected\">\n <ng-container *ngFor=\"let item of tcList; let i = index\">\n \n <div class=\"box-label\">\n <div class=\"box-value\" [title]=\"item.value\">\n {{ item.value }} \n </div>\n <div class=\"box-action\">\n <button\n [disabled]=\"tcList === undefined || (tcList && tcList.length === 0) || disabled || loading\"\n title=\"Remover\"\n type=\"button\"\n (click)=\"removeItem(item.value, i)\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n </div>\n\n </ng-container>\n </div>\n </form>\n</div>\n ", styles: ["table{width:100%;border-collapse:collapse;border:none}table td:first-child{width:100%}input{font-size:.8rem;height:40px;border:1px solid #999;border-radius:4px 0 0 4px;padding:6px 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;background-color:#fff;color:#888}.btn-plus-select{width:30px;height:40px;border:none;color:#fff;background-color:var(--verde);border-radius:0 4px 4px 0}.box-itens-selected{display:flex;padding:9px;background-color:#ededed;border-radius:4px}select:disabled{opacity:.8!important;cursor:not-allowed!important;background-color:#ededed}button:disabled{opacity:.5!important;cursor:not-allowed!important}.box-label{display:flex;max-width:220px;height:35px;min-width:100px;background-color:var(--verde);color:#fff;padding:8px 15px 10px;border:none;border-radius:5px;margin:2px}.box-label .box-value{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.box-label .box-action{width:8px}.box-label .box-action button{color:#d72020;background-color:var(--verde);border:none;font-weight:700;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1838
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputComponent, decorators: [{
1839
- type: Component,
1840
- args: [{ selector: 'tcloud-ui-multi-input', template: "<div>\n <form #_formulario=\"ngForm\">\n <table>\n <tr *ngIf=\"tcList\">\n <td>\n <input type=\"text\" [(ngModel)]=\"input_value\" [disabled]=\"disabled || loading\" name=\"input_value\" required>\n </td>\n <td>\n <button\n [disabled]=\"disabled || loading || !_formulario.valid\"\n title=\"Adicionar\"\n class=\"btn-plus-select\"\n (click)=\"addItem(input_value)\"\n type=\"button\">\n <i class=\"fas fa-plus\"></i>\n </button>\n </td>\n </tr>\n </table>\n \n <div class=\"box-itens-selected\">\n <ng-container *ngFor=\"let item of tcList; let i = index\">\n \n <div class=\"box-label\">\n <div class=\"box-value\" [title]=\"item.value\">\n {{ item.value }} \n </div>\n <div class=\"box-action\">\n <button\n [disabled]=\"tcList === undefined || (tcList && tcList.length === 0) || disabled || loading\"\n title=\"Remover\"\n type=\"button\"\n (click)=\"removeItem(item.value, i)\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n </div>\n\n </ng-container>\n </div>\n </form>\n</div>\n ", styles: ["table{width:100%;border-collapse:collapse;border:none}table td:first-child{width:100%}input{font-size:.8rem;height:40px;border:1px solid #999;border-radius:4px 0 0 4px;padding:6px 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;background-color:#fff;color:#888}.btn-plus-select{width:30px;height:40px;border:none;color:#fff;background-color:var(--verde);border-radius:0 4px 4px 0}.box-itens-selected{display:flex;padding:9px;background-color:#ededed;border-radius:4px}select:disabled{opacity:.8!important;cursor:not-allowed!important;background-color:#ededed}button:disabled{opacity:.5!important;cursor:not-allowed!important}.box-label{display:flex;max-width:220px;height:35px;min-width:100px;background-color:var(--verde);color:#fff;padding:8px 15px 10px;border:none;border-radius:5px;margin:2px}.box-label .box-value{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.box-label .box-action{width:8px}.box-label .box-action button{color:#d72020;background-color:var(--verde);border:none;font-weight:700;cursor:pointer}\n"] }]
1841
- }], ctorParameters: function () { return []; }, propDecorators: { tcList: [{
1842
- type: Input
1843
- }], placeholder: [{
1844
- type: Input
1845
- }], disabled: [{
1846
- type: Input
1847
- }], loading: [{
1848
- type: Input
1849
- }], tcChange: [{
1850
- type: Output
1851
- }] } });
1852
-
1853
- class TCloudUiMultiInputModule {
1854
- }
1855
- TCloudUiMultiInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1856
- TCloudUiMultiInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, declarations: [TCloudUiMultiInputComponent], imports: [FormsModule,
1857
- ReactiveFormsModule,
1858
- CommonModule], exports: [TCloudUiMultiInputComponent] });
1859
- TCloudUiMultiInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, imports: [FormsModule,
1860
- ReactiveFormsModule,
1861
- CommonModule] });
1862
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiMultiInputModule, decorators: [{
1863
- type: NgModule,
2263
+ TCloudUiLoadingTransitionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiLoadingTransitionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2264
+ TCloudUiLoadingTransitionsServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiLoadingTransitionsService, providedIn: 'root' });
2265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiLoadingTransitionsService, decorators: [{
2266
+ type: Injectable,
1864
2267
  args: [{
1865
- declarations: [TCloudUiMultiInputComponent],
1866
- exports: [TCloudUiMultiInputComponent],
1867
- imports: [
1868
- FormsModule,
1869
- ReactiveFormsModule,
1870
- CommonModule
1871
- ]
2268
+ providedIn: 'root',
1872
2269
  }]
1873
- }] });
2270
+ }], ctorParameters: function () { return []; } });
1874
2271
 
1875
2272
  class TCloudUiModule {
1876
2273
  }
@@ -1882,6 +2279,9 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
1882
2279
  TCloudUiMultiSelectModule,
1883
2280
  TCloudUiDataListModule,
1884
2281
  TCloudUiMultiInputModule,
2282
+ TCloudUiChoiceIssuesModule,
2283
+ TCloudUiInputSearchModule,
2284
+ TCloudUiNotFoundModule,
1885
2285
  // Directives
1886
2286
  TCloudUiDirectiveModule,
1887
2287
  // Pipes
@@ -1892,17 +2292,26 @@ TCloudUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
1892
2292
  TCloudUiMultiSelectModule,
1893
2293
  TCloudUiDataListModule,
1894
2294
  TCloudUiMultiInputModule,
2295
+ TCloudUiChoiceIssuesModule,
2296
+ TCloudUiInputSearchModule,
2297
+ TCloudUiNotFoundModule,
1895
2298
  // Directives
1896
2299
  TCloudUiDirectiveModule,
1897
2300
  // Pipes
1898
2301
  TCloudUiPipesModule] });
1899
- TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiModule, imports: [TCloudUiModalModule,
2302
+ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiModule, providers: [
2303
+ TCloudUiLoadingTransitionsService,
2304
+ TCloudUiSearchInObjectService,
2305
+ ], imports: [TCloudUiModalModule,
1900
2306
  TCloudUiTabMenuModule,
1901
2307
  TCloudUiLinhaLogoModule,
1902
2308
  TCloudUiLineStepCircleModule,
1903
2309
  TCloudUiMultiSelectModule,
1904
2310
  TCloudUiDataListModule,
1905
2311
  TCloudUiMultiInputModule,
2312
+ TCloudUiChoiceIssuesModule,
2313
+ TCloudUiInputSearchModule,
2314
+ TCloudUiNotFoundModule,
1906
2315
  // Directives
1907
2316
  TCloudUiDirectiveModule,
1908
2317
  // Pipes
@@ -1913,6 +2322,9 @@ TCloudUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
1913
2322
  TCloudUiMultiSelectModule,
1914
2323
  TCloudUiDataListModule,
1915
2324
  TCloudUiMultiInputModule,
2325
+ TCloudUiChoiceIssuesModule,
2326
+ TCloudUiInputSearchModule,
2327
+ TCloudUiNotFoundModule,
1916
2328
  // Directives
1917
2329
  TCloudUiDirectiveModule,
1918
2330
  // Pipes
@@ -1928,6 +2340,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1928
2340
  TCloudUiMultiSelectModule,
1929
2341
  TCloudUiDataListModule,
1930
2342
  TCloudUiMultiInputModule,
2343
+ TCloudUiChoiceIssuesModule,
2344
+ TCloudUiInputSearchModule,
2345
+ TCloudUiNotFoundModule,
1931
2346
  // Directives
1932
2347
  TCloudUiDirectiveModule,
1933
2348
  // Pipes
@@ -1941,10 +2356,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1941
2356
  TCloudUiMultiSelectModule,
1942
2357
  TCloudUiDataListModule,
1943
2358
  TCloudUiMultiInputModule,
2359
+ TCloudUiChoiceIssuesModule,
2360
+ TCloudUiInputSearchModule,
2361
+ TCloudUiNotFoundModule,
1944
2362
  // Directives
1945
2363
  TCloudUiDirectiveModule,
1946
2364
  // Pipes
1947
2365
  TCloudUiPipesModule
2366
+ ],
2367
+ providers: [
2368
+ TCloudUiLoadingTransitionsService,
2369
+ TCloudUiSearchInObjectService,
1948
2370
  ]
1949
2371
  }]
1950
2372
  }] });
@@ -1957,5 +2379,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1957
2379
  * Generated bundle index. Do not edit.
1958
2380
  */
1959
2381
 
1960
- export { CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiPipesModule, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTooltipDirective };
2382
+ export { CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiPipesModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTooltipDirective };
1961
2383
  //# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map