@gipisistemas/ng-core 1.1.5 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/gipisistemas-ng-core.umd.js +350 -191
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +8 -8
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
- package/core/guards/auth.guard.d.ts +3 -3
- package/core/guards/permission.guard.d.ts +3 -3
- package/core/guards/public.guard.d.ts +3 -3
- package/core/models/dto/confirmation.dto.d.ts +1 -1
- package/core/models/dto/dialog.dto.d.ts +4 -4
- package/core/models/dto/menu.dto.d.ts +1 -0
- package/core/services/dialog.service.d.ts +5 -1
- package/core/services/message.service.d.ts +1 -1
- package/core/services/nav.service.d.ts +1 -1
- package/core/services/svg-register.service.d.ts +7 -1
- package/esm2015/core/gipi-components/services/file.service.js +2 -4
- package/esm2015/core/guards/auth.guard.js +13 -14
- package/esm2015/core/guards/permission.guard.js +12 -13
- package/esm2015/core/guards/public.guard.js +12 -13
- package/esm2015/core/models/dto/confirmation.dto.js +1 -5
- package/esm2015/core/models/dto/dialog.dto.js +1 -1
- package/esm2015/core/models/dto/menu.dto.js +2 -1
- package/esm2015/core/services/authentication.service.js +5 -6
- package/esm2015/core/services/breakpoint-observer.service.js +2 -4
- package/esm2015/core/services/confirmation.service.js +2 -4
- package/esm2015/core/services/dialog.service.js +54 -14
- package/esm2015/core/services/message.service.js +3 -5
- package/esm2015/core/services/nav.service.js +2 -4
- package/esm2015/core/services/svg-register.service.js +16 -5
- package/esm2015/shared/components/checkbox/checkbox.component.js +15 -11
- package/esm2015/shared/components/input/input.component.js +1 -1
- package/esm2015/shared/components/input-currency/input-currency.component.js +1 -1
- package/esm2015/shared/components/input-file/input-file.component.js +1 -1
- package/esm2015/shared/components/popover/popover.service.js +6 -7
- package/esm2015/shared/components/radio-group-entity/radio-group-entity.component.js +1 -1
- package/esm2015/shared/components/radio-group-enum/radio-group-enum.component.js +1 -1
- package/esm2015/shared/components/select-entity/select-entity.component.js +1 -1
- package/esm2015/shared/components/select-entity-paged/select-entity-paged.component.js +3 -3
- package/esm2015/shared/components/select-entity-paged/shared/default-options.js +1 -2
- package/esm2015/shared/components/select-entity-paged/shared/select-search/select-search.component.js +2 -8
- package/esm2015/shared/components/select-enum/select-enum.component.js +1 -1
- package/esm2015/shared/components/select-month-period/select-month-period.component.js +1 -1
- package/esm2015/shared/components/table/table.component.js +28 -9
- package/esm2015/shared/components/textarea/textarea.component.js +1 -1
- package/esm2015/shared/gipi-components/abstract-form/abstract-form.component.js +65 -3
- package/esm2015/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +3 -3
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +1 -1
- package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm2015/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm2015/shared/gipi-components/input-checkbox/input-checkbox.component.js +1 -1
- package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-enum/input-select-enum.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-paged/input-search/input-search.component.js +2 -2
- package/esm2015/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm2015/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm2015/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm2015/shared/gipi-components/select/select.component.js +1 -1
- package/esm2015/shared/gipi-components/sidebar/sidenav/sidenav.component.js +33 -10
- package/esm2015/shared/gipi-components/tabs/tab/tab.component.js +13 -1
- package/esm2015/shared/gipi-components/tabs/tab-group/tab-group.component.js +18 -4
- package/esm2015/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/esm5/core/gipi-components/services/file.service.js +2 -4
- package/esm5/core/guards/auth.guard.js +13 -14
- package/esm5/core/guards/permission.guard.js +12 -13
- package/esm5/core/guards/public.guard.js +12 -13
- package/esm5/core/models/dto/confirmation.dto.js +2 -4
- package/esm5/core/models/dto/dialog.dto.js +1 -1
- package/esm5/core/models/dto/menu.dto.js +2 -1
- package/esm5/core/services/authentication.service.js +5 -6
- package/esm5/core/services/breakpoint-observer.service.js +2 -4
- package/esm5/core/services/confirmation.service.js +2 -4
- package/esm5/core/services/dialog.service.js +54 -14
- package/esm5/core/services/message.service.js +3 -5
- package/esm5/core/services/nav.service.js +2 -4
- package/esm5/core/services/svg-register.service.js +16 -5
- package/esm5/shared/components/checkbox/checkbox.component.js +15 -11
- package/esm5/shared/components/input/input.component.js +1 -1
- package/esm5/shared/components/input-currency/input-currency.component.js +1 -1
- package/esm5/shared/components/input-file/input-file.component.js +1 -1
- package/esm5/shared/components/popover/popover.service.js +6 -7
- package/esm5/shared/components/radio-group-entity/radio-group-entity.component.js +1 -1
- package/esm5/shared/components/radio-group-enum/radio-group-enum.component.js +1 -1
- package/esm5/shared/components/select-entity/select-entity.component.js +1 -1
- package/esm5/shared/components/select-entity-paged/select-entity-paged.component.js +3 -3
- package/esm5/shared/components/select-entity-paged/shared/default-options.js +1 -2
- package/esm5/shared/components/select-entity-paged/shared/select-search/select-search.component.js +2 -8
- package/esm5/shared/components/select-enum/select-enum.component.js +1 -1
- package/esm5/shared/components/select-month-period/select-month-period.component.js +1 -1
- package/esm5/shared/components/table/table.component.js +28 -9
- package/esm5/shared/components/textarea/textarea.component.js +1 -1
- package/esm5/shared/gipi-components/abstract-form/abstract-form.component.js +66 -3
- package/esm5/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +3 -3
- package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +1 -1
- package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm5/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm5/shared/gipi-components/input-checkbox/input-checkbox.component.js +1 -1
- package/esm5/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm5/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-enum/input-select-enum.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-paged/input-search/input-search.component.js +2 -2
- package/esm5/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm5/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm5/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm5/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm5/shared/gipi-components/select/select.component.js +1 -1
- package/esm5/shared/gipi-components/sidebar/sidenav/sidenav.component.js +38 -10
- package/esm5/shared/gipi-components/tabs/tab/tab.component.js +13 -1
- package/esm5/shared/gipi-components/tabs/tab-group/tab-group.component.js +18 -4
- package/esm5/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/fesm2015/gipisistemas-ng-core.js +344 -193
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +355 -196
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipisistemas-ng-core.metadata.json +1 -1
- package/package.json +1 -1
- package/shared/components/checkbox/checkbox.component.d.ts +6 -4
- package/shared/components/popover/popover.service.d.ts +1 -1
- package/shared/components/select-entity-paged/shared/default-options.d.ts +2 -2
- package/shared/components/select-entity-paged/shared/select-search/select-search.component.d.ts +0 -1
- package/shared/gipi-components/abstract-form/abstract-form.component.d.ts +10 -2
- package/shared/gipi-components/sidebar/sidenav/sidenav.component.d.ts +5 -2
- package/shared/gipi-components/tabs/tab/tab.component.d.ts +3 -0
- package/shared/gipi-components/tabs/tab-group/tab-group.component.d.ts +3 -0
@@ -457,8 +457,6 @@
|
|
457
457
|
this.onTouch = function () { };
|
458
458
|
}
|
459
459
|
CheckboxComponent_1 = CheckboxComponent;
|
460
|
-
CheckboxComponent.prototype.ngOnInit = function () {
|
461
|
-
};
|
462
460
|
Object.defineProperty(CheckboxComponent.prototype, "value", {
|
463
461
|
get: function () {
|
464
462
|
return this.val;
|
@@ -471,6 +469,7 @@
|
|
471
469
|
enumerable: false,
|
472
470
|
configurable: true
|
473
471
|
});
|
472
|
+
CheckboxComponent.prototype.ngOnInit = function () { };
|
474
473
|
CheckboxComponent.prototype.registerOnChange = function (fn) {
|
475
474
|
this.onChange = fn;
|
476
475
|
};
|
@@ -481,6 +480,10 @@
|
|
481
480
|
this.value = value;
|
482
481
|
};
|
483
482
|
var CheckboxComponent_1;
|
483
|
+
__decorate([
|
484
|
+
core.Input(),
|
485
|
+
__metadata("design:type", String)
|
486
|
+
], CheckboxComponent.prototype, "id", void 0);
|
484
487
|
__decorate([
|
485
488
|
core.Input(),
|
486
489
|
__metadata("design:type", String)
|
@@ -501,6 +504,10 @@
|
|
501
504
|
core.Input(),
|
502
505
|
__metadata("design:type", Boolean)
|
503
506
|
], CheckboxComponent.prototype, "indeterminate", void 0);
|
507
|
+
__decorate([
|
508
|
+
core.Input('value'),
|
509
|
+
__metadata("design:type", Object)
|
510
|
+
], CheckboxComponent.prototype, "val", void 0);
|
504
511
|
__decorate([
|
505
512
|
core.Output(),
|
506
513
|
__metadata("design:type", Object)
|
@@ -509,14 +516,10 @@
|
|
509
516
|
core.Output(),
|
510
517
|
__metadata("design:type", Object)
|
511
518
|
], CheckboxComponent.prototype, "change", void 0);
|
512
|
-
__decorate([
|
513
|
-
core.Input('value'),
|
514
|
-
__metadata("design:type", Object)
|
515
|
-
], CheckboxComponent.prototype, "val", void 0);
|
516
519
|
CheckboxComponent = CheckboxComponent_1 = __decorate([
|
517
520
|
core.Component({
|
518
521
|
selector: 'itss-checkbox',
|
519
|
-
template: "<
|
522
|
+
template: "<mat-checkbox [attr.id]=\"id\"\n [name]=\"name\"\n [(ngModel)]=\"value\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [(indeterminate)]=\"indeterminate\"\n (change)=\"change.emit($event)\">\n {{ label }}\n</mat-checkbox>",
|
520
523
|
providers: [
|
521
524
|
{
|
522
525
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -524,8 +527,9 @@
|
|
524
527
|
multi: true
|
525
528
|
}
|
526
529
|
],
|
527
|
-
styles: ["mat-
|
528
|
-
})
|
530
|
+
styles: [":host{display:block;min-width:0;max-width:100%}:host ::ng-deep .mat-checkbox-disabled{cursor:not-allowed;opacity:.6}"]
|
531
|
+
}),
|
532
|
+
__metadata("design:paramtypes", [])
|
529
533
|
], CheckboxComponent);
|
530
534
|
return CheckboxComponent;
|
531
535
|
}());
|
@@ -676,7 +680,7 @@
|
|
676
680
|
multi: true
|
677
681
|
}
|
678
682
|
],
|
679
|
-
styles: ["mat-label span{color:#d14014!important}.input-currency-prefix{color:#8f8b8f;font-size:14px;letter-spacing:0;font-weight:500;padding:5px 5px 4px}"]
|
683
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}.input-currency-prefix{color:#8f8b8f;font-size:14px;letter-spacing:0;font-weight:500;padding:5px 5px 4px}"]
|
680
684
|
})
|
681
685
|
], InputCurrencyComponent);
|
682
686
|
return InputCurrencyComponent;
|
@@ -1077,35 +1081,6 @@
|
|
1077
1081
|
return Archive;
|
1078
1082
|
}());
|
1079
1083
|
|
1080
|
-
var AbstractService = /** @class */ (function () {
|
1081
|
-
function AbstractService() {
|
1082
|
-
this.onDestroy = new rxjs.Subject();
|
1083
|
-
}
|
1084
|
-
AbstractService.prototype.ngOnDestroy = function () {
|
1085
|
-
this.onDestroy.next();
|
1086
|
-
this.onDestroy.complete();
|
1087
|
-
};
|
1088
|
-
AbstractService.prototype.options = function (params, headers) {
|
1089
|
-
return {
|
1090
|
-
headers: headers ? headers : this.buildHeaders(),
|
1091
|
-
params: params ? params : this.buildParams()
|
1092
|
-
};
|
1093
|
-
};
|
1094
|
-
AbstractService.prototype.buildHeaders = function () {
|
1095
|
-
return new http.HttpHeaders();
|
1096
|
-
};
|
1097
|
-
AbstractService.prototype.buildParams = function () {
|
1098
|
-
return new http.HttpParams();
|
1099
|
-
};
|
1100
|
-
AbstractService.prototype.mapper = function (jsonObj) {
|
1101
|
-
return jsonObj;
|
1102
|
-
};
|
1103
|
-
AbstractService.prototype.handleError = function (error) {
|
1104
|
-
return rxjs.throwError(error);
|
1105
|
-
};
|
1106
|
-
return AbstractService;
|
1107
|
-
}());
|
1108
|
-
|
1109
1084
|
var AbstractDTO = /** @class */ (function () {
|
1110
1085
|
function AbstractDTO() {
|
1111
1086
|
}
|
@@ -1140,6 +1115,35 @@
|
|
1140
1115
|
return AlertComponent;
|
1141
1116
|
}());
|
1142
1117
|
|
1118
|
+
var AbstractService = /** @class */ (function () {
|
1119
|
+
function AbstractService() {
|
1120
|
+
this.onDestroy = new rxjs.Subject();
|
1121
|
+
}
|
1122
|
+
AbstractService.prototype.ngOnDestroy = function () {
|
1123
|
+
this.onDestroy.next();
|
1124
|
+
this.onDestroy.complete();
|
1125
|
+
};
|
1126
|
+
AbstractService.prototype.options = function (params, headers) {
|
1127
|
+
return {
|
1128
|
+
headers: headers ? headers : this.buildHeaders(),
|
1129
|
+
params: params ? params : this.buildParams()
|
1130
|
+
};
|
1131
|
+
};
|
1132
|
+
AbstractService.prototype.buildHeaders = function () {
|
1133
|
+
return new http.HttpHeaders();
|
1134
|
+
};
|
1135
|
+
AbstractService.prototype.buildParams = function () {
|
1136
|
+
return new http.HttpParams();
|
1137
|
+
};
|
1138
|
+
AbstractService.prototype.mapper = function (jsonObj) {
|
1139
|
+
return jsonObj;
|
1140
|
+
};
|
1141
|
+
AbstractService.prototype.handleError = function (error) {
|
1142
|
+
return rxjs.throwError(error);
|
1143
|
+
};
|
1144
|
+
return AbstractService;
|
1145
|
+
}());
|
1146
|
+
|
1143
1147
|
var MessageService = /** @class */ (function (_super) {
|
1144
1148
|
__extends(MessageService, _super);
|
1145
1149
|
function MessageService(snackBar) {
|
@@ -1160,9 +1164,7 @@
|
|
1160
1164
|
]; };
|
1161
1165
|
MessageService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(core.ɵɵinject(snackBar.MatSnackBar)); }, token: MessageService, providedIn: "root" });
|
1162
1166
|
MessageService = __decorate([
|
1163
|
-
core.Injectable({
|
1164
|
-
providedIn: 'root'
|
1165
|
-
}),
|
1167
|
+
core.Injectable({ providedIn: 'root' }),
|
1166
1168
|
__metadata("design:paramtypes", [material.MatSnackBar])
|
1167
1169
|
], MessageService);
|
1168
1170
|
return MessageService;
|
@@ -1315,7 +1317,7 @@
|
|
1315
1317
|
core.Component({
|
1316
1318
|
selector: 'itss-input-file',
|
1317
1319
|
template: "<div fxLayout=\"column\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\"> * </span>\n <gipi-helpful-tip *ngIf=\"tooltip && label\"\n [tooltip]=\"tooltip\">\n </gipi-helpful-tip>\n </mat-label>\n <mat-form-field [appearance]=\"appearance\">\n <input matInput\n #input\n [name]=\"name\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n value=\"{{ archive?.name }}\"\n disabled=\"true\"\n autocomplete=\"off\">\n\n <button mat-icon-button\n matSuffix\n matTooltip=\"Enviar\"\n class=\"top\"\n [disabled]=\"disabled\"\n (click)=\"uploadArchive()\"\n *ngIf=\"!loading && !archive\">\n <mat-icon class=\"color-icon\">file_upload</mat-icon>\n </button>\n\n <!-- <button mat-icon-button-->\n <!-- matSuffix-->\n <!-- matTooltip=\"Baixar\"-->\n <!-- class=\"top\"-->\n <!-- [disabled]=\"disabled\"-->\n <!-- (click)=\"downloadArchive()\"-->\n <!-- *ngIf=\"!loading && archive\">-->\n <!-- <mat-icon class=\"color-icon\">file_download</mat-icon>-->\n <!-- </button>-->\n\n <button mat-icon-button\n matSuffix\n matTooltip=\"Excluir\"\n class=\"top\"\n [disabled]=\"disabled\"\n (click)=\"clearArchive()\"\n *ngIf=\"!loading && archive\">\n <mat-icon color=\"warn\">close</mat-icon>\n </button>\n\n <mat-spinner matSuffix\n matTooltip=\"Carregando...\"\n *ngIf=\"loading\"\n mode=\"indeterminate\"\n diameter=\"17\">\n </mat-spinner>\n </mat-form-field>\n\n <input #fileInput\n type=\"file\"\n style=\"display:none;\">\n</div>",
|
1318
|
-
styles: ["mat-label span{color:#d14014!important}:host .color-icon{color:rgba(0,0,0,.54)!important}:host .top{font-size:18px!important}:host ::ng-deep .mat-icon-button{display:inline!important}"]
|
1320
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}:host .color-icon{color:rgba(0,0,0,.54)!important}:host .top{font-size:18px!important}:host ::ng-deep .mat-icon-button{display:inline!important}"]
|
1319
1321
|
}),
|
1320
1322
|
__metadata("design:paramtypes", [MessageService,
|
1321
1323
|
router.Router,
|
@@ -1732,7 +1734,7 @@
|
|
1732
1734
|
multi: true
|
1733
1735
|
}
|
1734
1736
|
],
|
1735
|
-
styles: ["mat-label span{color:#d14014!important}"]
|
1737
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}"]
|
1736
1738
|
}),
|
1737
1739
|
__metadata("design:paramtypes", [core.ElementRef,
|
1738
1740
|
core.ChangeDetectorRef])
|
@@ -2982,7 +2984,7 @@
|
|
2982
2984
|
multi: true
|
2983
2985
|
}
|
2984
2986
|
],
|
2985
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
2987
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
2986
2988
|
})
|
2987
2989
|
], RadioGroupEntityComponent);
|
2988
2990
|
return RadioGroupEntityComponent;
|
@@ -3128,7 +3130,7 @@
|
|
3128
3130
|
],
|
3129
3131
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
3130
3132
|
host: { 'class': 'itss-element' },
|
3131
|
-
styles: [".label>span{color:#f44336!important}fieldset{margin-inline:0!important;padding:0!important;padding-inline:0!important;padding-block:0!important;border-radius:10px!important;color:#696969!important;border:1px solid #e1e5e4!important}.legend{font-size:16px!important;color:#696969!important}.legend>span{color:#f44336!important}.content-selection{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-around!important;height:20px!important;margin-bottom:15px!important;width:100%!important}.content-selection>div{height:30px;margin-top:-10px}.content-selection .radio-button{font-size:13px!important;color:#696969!important}:host ::ng-deep .type-input{display:flex;align-items:center;justify-content:space-around;border:1px solid #dddfe1;margin-top:4px;margin-left:-35px;border-radius:5px;min-height:39px}:host ::ng-deep .type-input>div{max-height:20px}:host ::ng-deep .type-input>div .mat-radio-button{margin-top:0!important}"]
|
3133
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.label>span{color:#f44336!important}fieldset{margin-inline:0!important;padding:0!important;padding-inline:0!important;padding-block:0!important;border-radius:10px!important;color:#696969!important;border:1px solid #e1e5e4!important}.legend{font-size:16px!important;color:#696969!important}.legend>span{color:#f44336!important}.content-selection{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-around!important;height:20px!important;margin-bottom:15px!important;width:100%!important}.content-selection>div{height:30px;margin-top:-10px}.content-selection .radio-button{font-size:13px!important;color:#696969!important}:host ::ng-deep .type-input{display:flex;align-items:center;justify-content:space-around;border:1px solid #dddfe1;margin-top:4px;margin-left:-35px;border-radius:5px;min-height:39px}:host ::ng-deep .type-input>div{max-height:20px}:host ::ng-deep .type-input>div .mat-radio-button{margin-top:0!important}"]
|
3132
3134
|
}),
|
3133
3135
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3134
3136
|
], RadioGroupEnumComponent);
|
@@ -3564,7 +3566,7 @@
|
|
3564
3566
|
SelectEntityPagedComponent = SelectEntityPagedComponent_1 = __decorate([
|
3565
3567
|
core.Component({
|
3566
3568
|
selector: 'itss-select-entity-paged',
|
3567
|
-
template: "<div fxLayout=\"column\"\n [attr.id]=\"id\"\n [attr.name]=\"name\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\">*</span>\n </mat-label>\n <mat-form-field #formFieldSelect\n [appearance]=\"appearance\"\n class=\"mat-form-field-select\">\n <mat-icon *ngIf=\"iconPrefix || svgIconPrefix\"\n matPrefix\n [svgIcon]=\"svgIconPrefix ? svgIconPrefix : ''\">\n {{ !svgIconPrefix && iconPrefix ? iconPrefix : '' }}\n </mat-icon>\n\n <mat-select #matSelect\n [placeholder]=\"placeholder\"\n [compareWith]=\"compareFn\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n disableOptionCentering=\"true\"\n [panelClass]=\"'select-position ' + classSelectPanel\"\n itssInfiniteScroll\n (infiniteScroll)=\"onLoadMoreOptions(true)\"\n [complete]=\"options?.length === page?.totalElements\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n (openedChange)=\"initLoaded && onLoadMoreOptions(false, $event); openedChange.emit($event)\">\n <mat-option *ngIf=\"!hideFieldSearch\">\n <itss-input-search placeholderLabel=\"Pesquisar...\"\n
|
3569
|
+
template: "<div fxLayout=\"column\"\n [attr.id]=\"id\"\n [attr.name]=\"name\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\">*</span>\n </mat-label>\n <mat-form-field #formFieldSelect\n [appearance]=\"appearance\"\n class=\"mat-form-field-select\">\n <mat-icon *ngIf=\"iconPrefix || svgIconPrefix\"\n matPrefix\n [svgIcon]=\"svgIconPrefix ? svgIconPrefix : ''\">\n {{ !svgIconPrefix && iconPrefix ? iconPrefix : '' }}\n </mat-icon>\n\n <mat-select #matSelect\n [placeholder]=\"placeholder\"\n [compareWith]=\"compareFn\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n disableOptionCentering=\"true\"\n [panelClass]=\"'select-position ' + classSelectPanel\"\n itssInfiniteScroll\n (infiniteScroll)=\"onLoadMoreOptions(true)\"\n [complete]=\"options?.length === page?.totalElements\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n (openedChange)=\"initLoaded && onLoadMoreOptions(false, $event); openedChange.emit($event)\">\n <mat-option *ngIf=\"!hideFieldSearch\">\n <itss-input-search placeholderLabel=\"Pesquisar...\"\n noEntriesFoundLabel=\"Nenhum registro encontrado\"\n [enableClearOnEscapePressed]=\"true\"\n [disableScrollToActiveOnOptionsChanged]=\"true\"\n [preventHomeEndKeyPropagation]=\"true\"\n [disableScrollToActiveOnOptionsChanged]=\"true\"\n [enableClearOnEscapePressed]=\"true\"\n [clearSearchInput]=\"true\"\n [formControl]=\"valueSearchCtrl\"\n [closeIcon]=\"closeIcon\"\n [closeSvgIcon]=\"closeSvgIcon\"\n [searching]=\"searching\"\n [showToggleAllCheckbox]=\"multiple\"\n [toggleAllCheckboxChecked]=\"toggleAllCheckboxChecked\"\n [toggleAllCheckboxIndeterminate]=\"toggleAllCheckboxIndeterminate\"\n (toggleAll)=\"onToggleAllSelection($event)\">\n </itss-input-search>\n </mat-option>\n\n <mat-select-trigger *ngIf=\"multiple\">\n {{ modelValue ? getPropertyValue(modelValue[0]) : '' }}\n <span *ngIf=\"modelValue?.length > 1\"\n class=\"mat-select-additional-selection\">\n (+{{ modelValue.length - 1 }} {{ modelValue?.length === 2 ? 'outro' : 'outros' }})\n </span>\n </mat-select-trigger>\n\n <mat-option *ngIf=\"!multiple; else optionSelectedMultiple\"\n [value]=\"model\"\n [style.height.px]=\"0\">\n {{ getPropertyValue(model) }}\n </mat-option>\n\n <ng-template #optionSelectedMultiple>\n <mat-option *ngFor=\"let m of model; trackBy: trackByOption\"\n [value]=\"m\"\n [style.height.px]=\"0\">\n {{ getPropertyValue(m) }}\n </mat-option>\n </ng-template>\n\n <cdk-virtual-scroll-viewport itemSize=\"5\"\n [style.height.em]=\"scrollViewportHeight\"\n class=\"virtual-scroll-viewport\">\n <mat-option *cdkVirtualFor=\"let option of options; trackBy: trackByOption\"\n [value]=\"option\"\n (click)=\"onToggleIndeterminateAllSelection()\">\n {{ getPropertyValue(option) }}\n </mat-option>\n </cdk-virtual-scroll-viewport>\n\n <div *ngIf=\"searching\"\n class=\"mat-select-search-loading\">\n <div class=\"dot-pulse\"> </div>\n </div>\n\n <mat-option *ngIf=\"showButtonAdd && !searching\"\n class=\"mat-option-button-add\"\n [disabled]=\"true\"\n aria-hidden=\"true\">\n <gipi-button label=\"Adicionar\"\n gipi-primary\n (click)=\"onClickAdd(); $event.stopPropagation()\"\n fxFlex>\n </gipi-button>\n </mat-option>\n </mat-select>\n\n <mat-icon *ngIf=\"showClearOptionButton()\"\n matSuffix\n (click)=\"removeOption(); $event.stopPropagation()\"\n matTooltip=\"Remover selecionado\">\n close\n </mat-icon>\n </mat-form-field>\n</div>",
|
3568
3570
|
providers: [
|
3569
3571
|
{
|
3570
3572
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -3572,7 +3574,7 @@
|
|
3572
3574
|
multi: true
|
3573
3575
|
}
|
3574
3576
|
],
|
3575
|
-
styles: ["mat-label span{color:#f44336!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{position:absolute!important;right:35px!important;top:30%!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix .mat-icon{height:18px!important;width:18px!important;font-size:18px!important;color:#696969!important}:host ::ng-deep .mat-form-field-appearance-legacy .mat-form-field-suffix{position:absolute!important;right:30px!important;top:35%!important}:host ::ng-deep .mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{height:18px!important;width:18px!important;font-size:18px!important;color:#696969!important}:host ::ng-deep .mat-select-value{padding-right:30px!important}::ng-deep .virtual-scroll-viewport{width:100%!important;overflow:hidden}::ng-deep .virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important}.mat-select-additional-selection{opacity:.75;font-size:.75em;margin-left:16px}.mat-select-search-loading{background-color:#fff;display:flex;align-items:center;justify-content:center;height:3em}.dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.dot-pulse::after,.dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c}.dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}::ng-deep .mat-select-arrow{border:solid #6d6f73!important;border-width:0 2px 2px 0!important;display:inline-block!important;padding:3px!important;transform:rotate(45deg)!important;margin:0 4px!important}::ng-deep .mat-option-button-add{position:absolute;bottom:0;left:0;width:100%;z-index:100;background-color:#fff;border-radius:4px}"]
|
3577
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{position:absolute!important;right:35px!important;top:30%!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix .mat-icon{height:18px!important;width:18px!important;font-size:18px!important;color:#696969!important}:host ::ng-deep .mat-form-field-appearance-legacy .mat-form-field-suffix{position:absolute!important;right:30px!important;top:35%!important}:host ::ng-deep .mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{height:18px!important;width:18px!important;font-size:18px!important;color:#696969!important}:host ::ng-deep .mat-select-value{padding-right:30px!important}::ng-deep .virtual-scroll-viewport{width:100%!important;overflow:hidden}::ng-deep .virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important}.mat-select-additional-selection{opacity:.75;font-size:.75em;margin-left:16px}.mat-select-search-loading{background-color:#fff;display:flex;align-items:center;justify-content:center;height:3em}.dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.dot-pulse::after,.dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c}.dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}::ng-deep .mat-select-arrow{border:solid #6d6f73!important;border-width:0 2px 2px 0!important;display:inline-block!important;padding:3px!important;transform:rotate(45deg)!important;margin:0 4px!important}::ng-deep .mat-option-button-add{position:absolute;bottom:0;left:0;width:100%;z-index:100;background-color:#fff;border-radius:4px}"]
|
3576
3578
|
}),
|
3577
3579
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3578
3580
|
], SelectEntityPagedComponent);
|
@@ -3743,7 +3745,6 @@
|
|
3743
3745
|
|
3744
3746
|
/** Lista de entradas de ItssSelectSearchComponent que podem ser configuradas com um padrão global. */
|
3745
3747
|
var configurableDefaultOptions = [
|
3746
|
-
'ariaLabel',
|
3747
3748
|
'clearSearchInput',
|
3748
3749
|
'closeIcon',
|
3749
3750
|
'closeSvgIcon',
|
@@ -3815,8 +3816,6 @@
|
|
3815
3816
|
this.preventHomeEndKeyPropagation = false;
|
3816
3817
|
// Desativa a rolagem para as opções ativas quando a lista de opções é alterada. Útil para pesquisa do lado do servidor
|
3817
3818
|
this.disableScrollToActiveOnOptionsChanged = false;
|
3818
|
-
// Adiciona suporte a leitor de tela 508 para caixa de pesquisa
|
3819
|
-
this.ariaLabel = 'Pesquisa suspensa';
|
3820
3819
|
// Se deve mostrar a caixa de seleção Selecionar tudo (para mat-select[multi=true])
|
3821
3820
|
this.showToggleAllCheckbox = false;
|
3822
3821
|
// Selecione tudo caixa de seleção marcada estado
|
@@ -4268,10 +4267,6 @@
|
|
4268
4267
|
core.Input(),
|
4269
4268
|
__metadata("design:type", Boolean)
|
4270
4269
|
], SelectSearchComponent.prototype, "disableScrollToActiveOnOptionsChanged", void 0);
|
4271
|
-
__decorate([
|
4272
|
-
core.Input(),
|
4273
|
-
__metadata("design:type", String)
|
4274
|
-
], SelectSearchComponent.prototype, "ariaLabel", void 0);
|
4275
4270
|
__decorate([
|
4276
4271
|
core.Input(),
|
4277
4272
|
__metadata("design:type", Boolean)
|
@@ -4329,7 +4324,7 @@
|
|
4329
4324
|
SelectSearchComponent = SelectSearchComponent_1 = __decorate([
|
4330
4325
|
core.Component({
|
4331
4326
|
selector: 'itss-input-search',
|
4332
|
-
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\"\n [ngClass]=\"{'mat-select-search-inner-multiple': matSelect.multiple, 'mat-select-search-inner-toggle-all': _isToggleAllCheckboxVisible() }\">\n\n <mat-checkbox *ngIf=\"_isToggleAllCheckboxVisible()\"\n class=\"mat-select-search-toggle-all-checkbox\"\n color=\"primary\"\n [color]=\"matFormField?.color\"\n [disabled]=\"searching\"\n [matTooltip]=\"toggleAllCheckboxTooltipMessage\"\n matTooltipClass=\"ngx-mat-select-search-toggle-all-tooltip\"\n [matTooltipPosition]=\"toggleAllCheckboxTooltipPosition\"\n [(ngModel)]=\"toggleAllCheckboxChecked\"\n [(indeterminate)]=\"toggleAllCheckboxIndeterminate\">\n </mat-checkbox>\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n [type]=\"type\"\n [formControl]=\"_formControl\"\n #searchSelectInput\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\"\n [placeholder]=\"placeholderLabel\"
|
4327
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\"\n [ngClass]=\"{'mat-select-search-inner-multiple': matSelect.multiple, 'mat-select-search-inner-toggle-all': _isToggleAllCheckboxVisible() }\">\n\n <mat-checkbox *ngIf=\"_isToggleAllCheckboxVisible()\"\n class=\"mat-select-search-toggle-all-checkbox\"\n color=\"primary\"\n [color]=\"matFormField?.color\"\n [disabled]=\"searching\"\n [matTooltip]=\"toggleAllCheckboxTooltipMessage\"\n matTooltipClass=\"ngx-mat-select-search-toggle-all-tooltip\"\n [matTooltipPosition]=\"toggleAllCheckboxTooltipPosition\"\n [(ngModel)]=\"toggleAllCheckboxChecked\"\n [(indeterminate)]=\"toggleAllCheckboxIndeterminate\">\n </mat-checkbox>\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n [type]=\"type\"\n [formControl]=\"_formControl\"\n #searchSelectInput\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\"\n [placeholder]=\"placeholderLabel\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n mat-icon-button\n aria-label=\"Clear\"\n (click)=\"_reset(true)\"\n class=\"mat-select-search-clear\">\n <ng-content *ngIf=\"clearIcon; else defaultIcon\"\n select=\"[itssSelectSearchClear]\">\n </ng-content>\n\n <ng-template #defaultIcon>\n <mat-icon [svgIcon]=\"closeSvgIcon\">\n {{ !closeSvgIcon ? closeIcon : null }}\n </mat-icon>\n </ng-template>\n </button>\n\n <ng-content select=\".mat-select-search-custom-header-content\"> </ng-content>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <ng-content *ngIf=\"noEntriesFound; else defaultNoEntriesFound\"\n select=\"[itssSelectNoEntriesFound]\">\n </ng-content>\n\n <ng-template #defaultNoEntriesFound>\n {{ noEntriesFoundLabel }}\n </ng-template>\n</div>",
|
4333
4328
|
providers: [
|
4334
4329
|
{
|
4335
4330
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -4726,7 +4721,7 @@
|
|
4726
4721
|
core.Component({
|
4727
4722
|
selector: 'itss-select-entity',
|
4728
4723
|
template: "<div fxLayout=\"column\">\n <mat-label>\n {{ label }}\n <span *ngIf=\"required && label\"> * </span>\n </mat-label>\n <mat-form-field appearance=\"outline\">\n <mat-select #select\n [name]=\"name\"\n *ngIf=\"multiple\"\n [placeholder]=\"placeholder\"\n [compareWith]=\"compareFn\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled || loading || (entities && entities.length === 0)\"\n multiple\n disableOptionCentering=\"true\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n panelClass=\"select-position\">\n <mat-form-field *ngIf=\"!displayCheckboxAll\"\n appearance=\"standard\"\n class=\"select-input-search\"\n fxFlexFill>\n <input #search\n matInput\n placeholder=\"Pesquisar...\"\n type=\"text\"\n autofocus\n autocomplete=\"off\"\n (focusout)=\"resetSearch()\"\n (keyup)=\"onSearch($event.target.value)\"\n (keydown)=\"$event.stopPropagation()\">\n <span matPrefix>\n <mat-icon>search</mat-icon>\n </span>\n </mat-form-field>\n\n <div *ngIf=\"displayCheckboxAll\"\n class=\"checkbox-all-select\"\n [class.disabled]=\"(select.options && (select.options.length <= 0))\"\n (click)=\"(select.options && (select.options.length <= 0)) ? null : allSelected = !allSelected; toggleAllSelection()\">\n <itss-checkbox label=\"Selecionar todos\"\n color=\"primary\"\n name=\"allSelected\"\n [disabled]=\"(select.options && (select.options.length <= 0))\"\n [(ngModel)]=\"allSelected\"\n [indeterminate]=\"indeterminateAllSelected\">\n </itss-checkbox>\n </div>\n\n <mat-option *ngFor=\"let entity of filteredEntities\"\n [value]=\"entity\"\n (click)=\"validateIndeterminateAllSelected()\">\n {{ getPropertyValue(entity) }}\n </mat-option>\n </mat-select>\n\n <mat-select #select\n [name]=\"name\"\n *ngIf=\"!multiple\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled || loading || (entities && entities.length === 0)\"\n disableOptionCentering=\"true\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n panelClass=\"select-position\">\n <mat-form-field appearance=\"standard\"\n class=\"select-input-search\"\n fxFlexFill>\n <input #search\n matInput\n placeholder=\"Pesquisar...\"\n type=\"text\"\n autofocus\n autocomplete=\"off\"\n (focusout)=\"resetSearch()\"\n (keyup)=\"onSearch($event.target.value)\"\n (keydown)=\"$event.stopPropagation()\">\n <span matPrefix>\n <mat-icon>search</mat-icon>\n </span>\n </mat-form-field>\n\n <mat-option *ngIf=\"!required && !search.value\"\n [value]=\"null\">\n {{ nullValue ? nullValue : 'Selecione' }}\n </mat-option>\n <div *ngFor=\"let entity of filteredEntities\">\n <mat-option *ngIf=\"validKey(entity)\"\n [value]=\"entity\">\n {{ getPropertyValue(entity) }}\n </mat-option>\n </div>\n </mat-select>\n\n <mat-spinner matPrefix\n *ngIf=\"loading\"\n mode=\"indeterminate\"\n diameter=\"17\">\n </mat-spinner>\n\n <mat-icon *ngIf=\"showClearButton()\"\n matSuffix\n (click)=\"removeOption(); $event.stopPropagation()\"\n matTooltip=\"Remover selecionado\">\n clear\n </mat-icon>\n </mat-form-field>\n</div>\n",
|
4729
|
-
styles: ["mat-label span{color:#f44336!important}.disabled{cursor:not-allowed!important;opacity:.6!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{top:1.2rem!important;right:2.5rem!important;position:absolute}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix>mat-icon{color:#696969;width:20px;height:20px;font-size:18px;display:flex!important;align-items:center;justify-content:center}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix>mat-icon:hover{font-size:19px}.checkbox-all-select{line-height:3em;height:3em;text-align:left;cursor:pointer;display:flex;align-items:center;border-bottom:1px solid #e1e5e4}.checkbox-all-select:hover:not(.disabled){background:rgba(0,0,0,.04)}.checkbox-all-select>itss-checkbox{width:100%;padding:0 16px}.checkbox-all-select>itss-checkbox>div{width:100%}.checkbox-all-select>itss-checkbox ::ng-deep .mat-checkbox-layout{pointer-events:none!important}.checkbox-all-select>itss-checkbox ::ng-deep .mat-checkbox-label{font-size:13px!important;text-transform:uppercase!important;color:#696969!important;margin-left:5px!important}"]
|
4724
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}.disabled{cursor:not-allowed!important;opacity:.6!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{top:1.2rem!important;right:2.5rem!important;position:absolute}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix>mat-icon{color:#696969;width:20px;height:20px;font-size:18px;display:flex!important;align-items:center;justify-content:center}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix>mat-icon:hover{font-size:19px}.checkbox-all-select{line-height:3em;height:3em;text-align:left;cursor:pointer;display:flex;align-items:center;border-bottom:1px solid #e1e5e4}.checkbox-all-select:hover:not(.disabled){background:rgba(0,0,0,.04)}.checkbox-all-select>itss-checkbox{width:100%;padding:0 16px}.checkbox-all-select>itss-checkbox>div{width:100%}.checkbox-all-select>itss-checkbox ::ng-deep .mat-checkbox-layout{pointer-events:none!important}.checkbox-all-select>itss-checkbox ::ng-deep .mat-checkbox-label{font-size:13px!important;text-transform:uppercase!important;color:#696969!important;margin-left:5px!important}"]
|
4730
4725
|
}),
|
4731
4726
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
4732
4727
|
], SelectEntityComponent);
|
@@ -4846,7 +4841,7 @@
|
|
4846
4841
|
multi: true
|
4847
4842
|
}
|
4848
4843
|
],
|
4849
|
-
styles: ["mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4844
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4850
4845
|
})
|
4851
4846
|
], SelectEnumComponent);
|
4852
4847
|
return SelectEnumComponent;
|
@@ -4931,7 +4926,7 @@
|
|
4931
4926
|
}
|
4932
4927
|
],
|
4933
4928
|
host: { 'class': 'itss-element' },
|
4934
|
-
styles: ["button:disabled{opacity:.4!important;pointer-events:none!important;cursor:not-allowed!important}.date-filter{width:100%;height:42.53px;display:flex;background-color:#fff}.date-filter svg{width:20px;height:20px}:focus-visible{outline:0}.button-arrow{padding:8px;color:#696969;border:1px solid #dddfe1;background-color:#fff;height:100%;width:55px;font-size:14px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .2s ease-in-out}.button-arrow:hover{background-color:#f9f9f9}.icon{display:block;margin:0 auto;width:20px;height:20px}.button-arrow-left{border-top-left-radius:5px;border-bottom-left-radius:5px}.button-arrow-right{border-top-right-radius:5px;border-bottom-right-radius:5px}.date-filter-field{display:flex;align-items:center;justify-content:center;width:100%;padding:0 16px;border-radius:0;border-left:none;border-right:none;border-top:1px solid #dddfe1;border-bottom:1px solid #dddfe1;background-color:#fff;color:#696969;font-size:.75px;text-align:center;cursor:pointer;transition:background-color .2s ease-in-out}.date-filter-field:hover{background-color:#f9f9f9}.date-filter-field-text{line-height:1;font-size:12px;display:inline-block}.separator{font-size:1rem;font-weight:700;text-align:center}.button{vertical-align:middle;display:inline-block;font-size:14px;max-height:40px;min-height:40px;min-width:120px;margin:0;padding:8px 16px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;border-radius:4px;box-sizing:border-box}.button-cancel{color:#696969;background-color:#f5f5f5;border-color:#dbdbdb;transition:background-color .2s ease-in-out}.button-cancel:hover{background:#ececec}.button-confirm{color:#fff;background-color:#f3465c;transition:opacity .2s ease-in-out}.button-confirm:hover{opacity:.8}.label{color:#696969;font-size:1rem;margin-bottom:5px!important}.label>span{color:#f44336}"]
|
4929
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}button:disabled{opacity:.4!important;pointer-events:none!important;cursor:not-allowed!important}.date-filter{width:100%;height:42.53px;display:flex;background-color:#fff}.date-filter svg{width:20px;height:20px}:focus-visible{outline:0}.button-arrow{padding:8px;color:#696969;border:1px solid #dddfe1;background-color:#fff;height:100%;width:55px;font-size:14px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .2s ease-in-out}.button-arrow:hover{background-color:#f9f9f9}.icon{display:block;margin:0 auto;width:20px;height:20px}.button-arrow-left{border-top-left-radius:5px;border-bottom-left-radius:5px}.button-arrow-right{border-top-right-radius:5px;border-bottom-right-radius:5px}.date-filter-field{display:flex;align-items:center;justify-content:center;width:100%;padding:0 16px;border-radius:0;border-left:none;border-right:none;border-top:1px solid #dddfe1;border-bottom:1px solid #dddfe1;background-color:#fff;color:#696969;font-size:.75px;text-align:center;cursor:pointer;transition:background-color .2s ease-in-out}.date-filter-field:hover{background-color:#f9f9f9}.date-filter-field-text{line-height:1;font-size:12px;display:inline-block}.separator{font-size:1rem;font-weight:700;text-align:center}.button{vertical-align:middle;display:inline-block;font-size:14px;max-height:40px;min-height:40px;min-width:120px;margin:0;padding:8px 16px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;border-radius:4px;box-sizing:border-box}.button-cancel{color:#696969;background-color:#f5f5f5;border-color:#dbdbdb;transition:background-color .2s ease-in-out}.button-cancel:hover{background:#ececec}.button-confirm{color:#fff;background-color:#f3465c;transition:opacity .2s ease-in-out}.button-confirm:hover{opacity:.8}.label{color:#696969;font-size:1rem;margin-bottom:5px!important}.label>span{color:#f44336}"]
|
4935
4930
|
}),
|
4936
4931
|
__metadata("design:paramtypes", [GIPINgConfig])
|
4937
4932
|
], SelectMonthPeriodComponent);
|
@@ -5291,7 +5286,9 @@
|
|
5291
5286
|
enumerable: false,
|
5292
5287
|
configurable: true
|
5293
5288
|
});
|
5294
|
-
TableComponent.prototype.ngOnInit = function () {
|
5289
|
+
TableComponent.prototype.ngOnInit = function () {
|
5290
|
+
this._expandedRows = [];
|
5291
|
+
};
|
5295
5292
|
TableComponent.prototype.ngAfterViewInit = function () {
|
5296
5293
|
var _this = this;
|
5297
5294
|
setTimeout(function () {
|
@@ -5398,15 +5395,32 @@
|
|
5398
5395
|
};
|
5399
5396
|
TableComponent.prototype.toggleExpandRow = function (row) {
|
5400
5397
|
var index = this._expandedRows.findIndex(function (r) { return r === row; });
|
5401
|
-
if (
|
5402
|
-
this.
|
5398
|
+
if (index < 0) { // Se a linha não estiver expandida
|
5399
|
+
if (this.expandableOneRow) {
|
5400
|
+
this._expandedRows = [row];
|
5401
|
+
}
|
5402
|
+
else {
|
5403
|
+
this._expandedRows.push(row);
|
5404
|
+
}
|
5403
5405
|
this.rowExpanded.emit(row);
|
5404
|
-
return;
|
5405
5406
|
}
|
5406
|
-
|
5407
|
-
|
5408
|
-
|
5409
|
-
|
5407
|
+
else { // Se a linha já estiver expandida
|
5408
|
+
var _expandedRowsAux = __spread(this._expandedRows);
|
5409
|
+
_expandedRowsAux.splice(index, 1);
|
5410
|
+
this._expandedRows = __spread(_expandedRowsAux);
|
5411
|
+
this.rowExpanded.emit(null);
|
5412
|
+
}
|
5413
|
+
// Logica anterior, qualquer problema voltar, pois funcionava bem
|
5414
|
+
// const index: number = this._expandedRows.findIndex(r => r === row);
|
5415
|
+
// if (ArrayUtil.isEmpty(this._expandedRows) || (index < 0)) {
|
5416
|
+
// this._expandedRows = [row];
|
5417
|
+
// this.rowExpanded.emit(row);
|
5418
|
+
// return;
|
5419
|
+
// }
|
5420
|
+
// const _expandedRowsAux: T[] = ArrayUtil.clone(this._expandedRows);
|
5421
|
+
// _expandedRowsAux.splice(index, 1);
|
5422
|
+
// this._expandedRows = ArrayUtil.clone(_expandedRowsAux);
|
5423
|
+
// this.rowExpanded.emit(null);
|
5410
5424
|
};
|
5411
5425
|
TableComponent.prototype.sortData = function (sort) {
|
5412
5426
|
if (this.infiniteScroll) {
|
@@ -5974,7 +5988,7 @@
|
|
5974
5988
|
multi: true
|
5975
5989
|
}
|
5976
5990
|
],
|
5977
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
5991
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
5978
5992
|
}),
|
5979
5993
|
__metadata("design:paramtypes", [])
|
5980
5994
|
], TextareaComponent);
|
@@ -6633,9 +6647,7 @@
|
|
6633
6647
|
]; };
|
6634
6648
|
GIPIResizeService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIResizeService_Factory() { return new GIPIResizeService(core.ɵɵinject(core.NgZone), core.ɵɵinject(core.RendererFactory2)); }, token: GIPIResizeService, providedIn: "root" });
|
6635
6649
|
GIPIResizeService = __decorate([
|
6636
|
-
core.Injectable({
|
6637
|
-
providedIn: 'root'
|
6638
|
-
}),
|
6650
|
+
core.Injectable({ providedIn: 'root' }),
|
6639
6651
|
__metadata("design:paramtypes", [core.NgZone,
|
6640
6652
|
core.RendererFactory2])
|
6641
6653
|
], GIPIResizeService);
|
@@ -6713,9 +6725,7 @@
|
|
6713
6725
|
]; };
|
6714
6726
|
GIPIBreakpointService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIBreakpointService_Factory() { return new GIPIBreakpointService(core.ɵɵinject(GIPIResizeService), core.ɵɵinject(layout.MediaMatcher)); }, token: GIPIBreakpointService, providedIn: "root" });
|
6715
6727
|
GIPIBreakpointService = __decorate([
|
6716
|
-
core.Injectable({
|
6717
|
-
providedIn: 'root'
|
6718
|
-
}),
|
6728
|
+
core.Injectable({ providedIn: 'root' }),
|
6719
6729
|
__metadata("design:paramtypes", [GIPIResizeService,
|
6720
6730
|
layout.MediaMatcher])
|
6721
6731
|
], GIPIBreakpointService);
|
@@ -7581,6 +7591,51 @@
|
|
7581
7591
|
configurable: true
|
7582
7592
|
});
|
7583
7593
|
GIPIAbstractFormComponent.prototype.ngOnInit = function () { };
|
7594
|
+
GIPIAbstractFormComponent.prototype.ngAfterViewInit = function () {
|
7595
|
+
var _this = this;
|
7596
|
+
if (this.dialog && !ObjectUtil.isNull(this.matDialogContent)) {
|
7597
|
+
var contentElement_1 = this.matDialogContent.nativeElement;
|
7598
|
+
if (!ObjectUtil.isNull(contentElement_1) && this._hasScroll(contentElement_1)) {
|
7599
|
+
contentElement_1.scrollTop = 0;
|
7600
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7601
|
+
contentElement_1.addEventListener('scroll', function () { return _this._onScroll(contentElement_1); });
|
7602
|
+
}
|
7603
|
+
else {
|
7604
|
+
this._removeShadows();
|
7605
|
+
}
|
7606
|
+
}
|
7607
|
+
};
|
7608
|
+
GIPIAbstractFormComponent.prototype._onScroll = function (content) {
|
7609
|
+
var scrollTop = content.scrollTop || 0;
|
7610
|
+
var scrollHeight = (content.scrollHeight - 36) || 0; // 36 é do padding
|
7611
|
+
var clientHeight = content.clientHeight || 0;
|
7612
|
+
if (scrollTop === 0) {
|
7613
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7614
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7615
|
+
}
|
7616
|
+
else if ((scrollTop + clientHeight) >= scrollHeight) {
|
7617
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7618
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7619
|
+
}
|
7620
|
+
else {
|
7621
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7622
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7623
|
+
}
|
7624
|
+
};
|
7625
|
+
GIPIAbstractFormComponent.prototype._hasScroll = function (matDialogContent) {
|
7626
|
+
if (ObjectUtil.isNull(matDialogContent)) {
|
7627
|
+
return false;
|
7628
|
+
}
|
7629
|
+
return (matDialogContent.scrollHeight > matDialogContent.clientHeight);
|
7630
|
+
};
|
7631
|
+
GIPIAbstractFormComponent.prototype._removeShadows = function () {
|
7632
|
+
if (!ObjectUtil.isNull(this.matDialogTitle)) {
|
7633
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7634
|
+
}
|
7635
|
+
if (!ObjectUtil.isNull(this.matDialogActions)) {
|
7636
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7637
|
+
}
|
7638
|
+
};
|
7584
7639
|
var GIPIAbstractFormComponent_1;
|
7585
7640
|
__decorate([
|
7586
7641
|
core.HostBinding('attr.id'),
|
@@ -7599,6 +7654,18 @@
|
|
7599
7654
|
core.ContentChildren(GIPIActionRowComponent),
|
7600
7655
|
__metadata("design:type", GIPIActionRowComponent)
|
7601
7656
|
], GIPIAbstractFormComponent.prototype, "GIPIActionRowComponent", void 0);
|
7657
|
+
__decorate([
|
7658
|
+
core.ContentChild(material.MatDialogTitle, { static: false, read: core.ElementRef }),
|
7659
|
+
__metadata("design:type", core.ElementRef)
|
7660
|
+
], GIPIAbstractFormComponent.prototype, "matDialogTitle", void 0);
|
7661
|
+
__decorate([
|
7662
|
+
core.ContentChild(material.MatDialogContent, { static: false, read: core.ElementRef }),
|
7663
|
+
__metadata("design:type", core.ElementRef)
|
7664
|
+
], GIPIAbstractFormComponent.prototype, "matDialogContent", void 0);
|
7665
|
+
__decorate([
|
7666
|
+
core.ContentChild(material.MatDialogActions, { static: false, read: core.ElementRef }),
|
7667
|
+
__metadata("design:type", core.ElementRef)
|
7668
|
+
], GIPIAbstractFormComponent.prototype, "matDialogActions", void 0);
|
7602
7669
|
__decorate([
|
7603
7670
|
core.Input(),
|
7604
7671
|
__metadata("design:type", String),
|
@@ -7637,11 +7704,15 @@
|
|
7637
7704
|
core.Input(),
|
7638
7705
|
__metadata("design:type", Boolean)
|
7639
7706
|
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
7707
|
+
__decorate([
|
7708
|
+
core.Input(),
|
7709
|
+
__metadata("design:type", String)
|
7710
|
+
], GIPIAbstractFormComponent.prototype, "class", void 0);
|
7640
7711
|
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
7641
7712
|
core.Component({
|
7642
7713
|
selector: "gipi-abstract-form",
|
7643
7714
|
exportAs: 'gipiAbstractForm',
|
7644
|
-
template: "<div class=\"form-content\"\n [class.form-dialog]=\"dialog\"\n [class.space-bottom]=\"!dialog\"\n [style.flex-direction]=\"flexDirection\"\n [style.align-items]=\"alignItems\"\n [style.justify-content]=\"justifyContent\"\n [style.gap]=\"getGap\"\n [style.padding]=\"getPadding\">\n <ng-content> </ng-content>\n</div>\n<div class=\"form-footer\"\n [style.margin-inline]=\"getPadding\"\n *ngIf=\"GIPIActionRowComponent\">\n <ng-content select=\"gipi-action-row\"> </ng-content>\n</div>",
|
7715
|
+
template: "<div [class]=\"class\"\n [class.form-content]=\"true\"\n [class.form-dialog]=\"dialog\"\n [class.space-bottom]=\"!dialog\"\n [style.flex-direction]=\"flexDirection\"\n [style.align-items]=\"alignItems\"\n [style.justify-content]=\"justifyContent\"\n [style.gap]=\"getGap\"\n [style.padding]=\"getPadding\">\n <ng-content> </ng-content>\n</div>\n<div class=\"form-footer\"\n [style.margin-inline]=\"getPadding\"\n *ngIf=\"GIPIActionRowComponent\">\n <ng-content select=\"gipi-action-row\"> </ng-content>\n</div>",
|
7645
7716
|
providers: [
|
7646
7717
|
{
|
7647
7718
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9478,9 +9549,7 @@
|
|
9478
9549
|
var ConfirmationDTO = /** @class */ (function (_super) {
|
9479
9550
|
__extends(ConfirmationDTO, _super);
|
9480
9551
|
function ConfirmationDTO() {
|
9481
|
-
|
9482
|
-
_this.isWarningScreen = false;
|
9483
|
-
return _this;
|
9552
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
9484
9553
|
}
|
9485
9554
|
return ConfirmationDTO;
|
9486
9555
|
}(AbstractDTO));
|
@@ -9503,7 +9572,7 @@
|
|
9503
9572
|
core.Component({
|
9504
9573
|
selector: "gipi-confirmation-dialog",
|
9505
9574
|
exportAs: 'gipiConfirmationDialog',
|
9506
|
-
template: "<gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n
|
9575
|
+
template: "<div mat-dialog-title\n class=\"dialog-title\">\n <!-- Confirmation -->\n <ng-container *ngIf=\"!confirmation.type || (confirmation?.type === 'confirmation')\">\n <svg width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g clip-path=\"url(#clip0_522_3414)\">\n <path fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM15.3941 6.19196C16.0206 6.81534 16.4617 7.60056 16.668 8.45999C16.9468 9.60963 16.7901 10.8218 16.2282 11.8627C15.6663 12.9037 14.7389 13.6998 13.6248 14.0976C13.3788 14.1852 13.2048 14.4036 13.2048 14.664V15.6024C13.2048 15.9213 13.0781 16.2271 12.8526 16.4526C12.6271 16.6781 12.3213 16.8048 12.0024 16.8048C11.6835 16.8048 11.3777 16.6781 11.1522 16.4526C10.9267 16.2271 10.8 15.9213 10.8 15.6024V13.1856C10.8041 12.87 10.9323 12.5688 11.1569 12.3471C11.3815 12.1255 11.6843 12.0012 11.9998 12.0012H11.9916C13.3176 12.0012 14.3952 10.9236 14.3952 9.60119C14.3809 8.97286 14.1211 8.37512 13.6715 7.93592C13.222 7.49673 12.6183 7.25098 11.9898 7.25129C11.3613 7.25161 10.7579 7.49796 10.3088 7.9376C9.85969 8.37725 9.60052 8.97525 9.5868 9.60359C9.5844 10.2648 9.0468 10.8012 8.3844 10.8012C8.08823 10.7994 7.80337 10.6872 7.58547 10.4866C7.36757 10.286 7.23227 10.0114 7.206 9.71639L7.2 9.53999C7.2204 6.53519 9.9852 4.21679 13.1196 4.92959C13.9801 5.13153 14.7675 5.56857 15.3941 6.19196ZM13.2 19.2C13.2 19.8627 12.6627 20.4 12 20.4C11.3373 20.4 10.8 19.8627 10.8 19.2C10.8 18.5373 11.3373 18 12 18C12.6627 18 13.2 18.5373 13.2 19.2Z\"\n fill=\"#E0313E\" />\n </g>\n </svg>\n </ng-container>\n\n <!-- Warning -->\n <ng-container *ngIf=\"confirmation?.type === 'warning'\">\n <svg width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g clip-path=\"url(#clip0_522_3358)\">\n <path fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1255 0.223975C13.4823 0.371842 13.8065 0.58857 14.0795 0.861777L23.1376 9.91952C23.411 10.1926 23.6279 10.5169 23.7759 10.8739C23.9238 11.2309 24 11.6136 24 12C24 12.3864 23.9238 12.7691 23.7759 13.1261C23.6279 13.4831 23.411 13.8074 23.1376 14.0805L14.0795 23.1382C13.8065 23.4114 13.4823 23.6282 13.1255 23.776C12.7687 23.9239 12.3862 24 12 24C11.6138 24 11.2313 23.9239 10.8745 23.776C10.5177 23.6282 10.1935 23.4114 9.92051 23.1382L0.862407 14.0805C0.589013 13.8074 0.372125 13.4831 0.224146 13.1261C0.0761672 12.7691 0 12.3864 0 12C0 11.6136 0.0761672 11.2309 0.224146 10.8739C0.372125 10.5169 0.589013 10.1926 0.862407 9.91952L9.92051 0.861777C10.1935 0.58857 10.5177 0.371842 10.8745 0.223975C11.2313 0.0761077 11.6138 0 12 0C12.3862 0 12.7687 0.0761077 13.1255 0.223975ZM10.9616 14.5066C11.237 14.782 11.6105 14.9367 12 14.9367C12.3895 14.9367 12.763 14.782 13.0384 14.5066C13.3138 14.2311 13.4686 13.8575 13.4686 13.468V6.12428C13.4686 5.73475 13.3138 5.36116 13.0384 5.08572C12.763 4.81028 12.3895 4.65554 12 4.65554C11.6105 4.65554 11.237 4.81028 10.9616 5.08572C10.6862 5.36116 10.5314 5.73475 10.5314 6.12428V13.468C10.5314 13.8575 10.6862 14.2311 10.9616 14.5066ZM10.9616 18.9128C11.237 19.1882 11.6105 19.343 12 19.343C12.3895 19.343 12.763 19.1882 13.0384 18.9128C13.3138 18.6374 13.4686 18.2638 13.4686 17.8742C13.4686 17.4847 13.3138 17.1111 13.0384 16.8357C12.763 16.5602 12.3895 16.4055 12 16.4055C11.6105 16.4055 11.237 16.5602 10.9616 16.8357C10.6862 17.1111 10.5314 17.4847 10.5314 17.8742C10.5314 18.2638 10.6862 18.6374 10.9616 18.9128Z\"\n fill=\"#E0313E\" />\n </g>\n </svg>\n </ng-container>\n\n <strong> {{ confirmation?.title }} </strong>\n</div>\n<div mat-dialog-content\n class=\"dialog-content\">\n <p *ngIf=\"confirmation?.message\">\n {{ confirmation?.message }}\n </p>\n\n <li *ngFor=\"let message of confirmation?.listMessage\">\n {{ message }}\n </li>\n</div>\n<div mat-dialog-actions\n class=\"dialog-actions\">\n <ng-container *ngIf=\"confirmation?.type !== 'warning'\">\n <button class=\"dialog-button-base cancel\"\n [mat-dialog-close]=\"false\">\n Cancelar\n </button>\n <button class=\"dialog-button-base confirm\"\n [mat-dialog-close]=\"true\">\n Confirmar\n </button>\n </ng-container>\n\n <button class=\"dialog-button-base confirm\"\n *ngIf=\"confirmation?.type === 'warning'\"\n [mat-dialog-close]=\"true\">\n Ok\n </button>\n</div>\n\n<!-- <gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n <gipi-toolbar id=\"toolbarDialogConfirmation\"\n mat-dialog-title>\n {{ confirmation.title }}\n </gipi-toolbar>\n\n <div mat-dialog-content>\n <p>{{ confirmation.message }}</p>\n <li *ngFor=\"let message of confirmation.listMessage\"> {{ message }} </li>\n </div>\n\n <div mat-dialog-actions\n *ngIf=\"!confirmation.isWarningScreen\"\n class=\"screen-confirmation\"\n fxLayout=\"row\"\n fxLayoutGap=\"16px\">\n <gipi-button [label]=\"messages.BUTTON_OK_CONFIRMATION\"\n [mat-dialog-close]=\"true\"\n gipi-primary\n fxFlex=\"30\">\n </gipi-button>\n\n <gipi-button [label]=\"messages.BUTTON_CANCEL_CONFIRMATION\"\n [mat-dialog-close]=\"false\"\n gipi-secondary\n fxFlex=\"30\">\n </gipi-button>\n </div>\n\n <div mat-dialog-actions\n *ngIf=\"confirmation.isWarningScreen\"\n class=\"screen-warning\"\n fxLayout=\"row\"\n fxLayoutGap=\"16px\">\n <gipi-button label=\"OK\"\n [mat-dialog-close]=\"true\"\n gipi-primary\n fxFlex=\"30\">\n </gipi-button>\n </div>\n</gipi-abstract-form> -->",
|
9507
9576
|
providers: [
|
9508
9577
|
{
|
9509
9578
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9514,7 +9583,7 @@
|
|
9514
9583
|
host: {
|
9515
9584
|
'class': 'gipi-confirmation-dialog',
|
9516
9585
|
},
|
9517
|
-
styles: [".
|
9586
|
+
styles: [":host{display:flex;flex-direction:column;gap:1.6rem;padding:2rem;height:100%}.dialog-title{display:flex;align-items:center;gap:1rem}.dialog-title>strong{color:#262626}.dialog-content{display:flex;flex-direction:column;min-height:6rem!important;height:16rem!important;max-height:16rem!important;overflow-y:auto!important;overflow-x:hidden!important}.dialog-content>p{color:#595959}.dialog-content>li{margin:1rem 0;font-size:1.4rem;color:#595959}.dialog-content>li::marker{font-size:1.6rem;color:#e0313e}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:nowrap!important;gap:1.6rem;width:100%}.dialog-actions .cancel{color:#595959}.dialog-actions .cancel:hover{border-color:#595959;background-color:#e0e1e2}.dialog-actions .confirm{background-color:#e0313e;color:#fff}.dialog-actions .confirm:hover{background-color:#cc2d38}.dialog-button-base{height:3.2rem;padding-inline:1.2rem;border-radius:4px;outline:0;border:1px solid transparent;background-color:transparent;text-align:center;font-weight:500;font-size:1.4rem;cursor:pointer;transition:.2s}.dialog-button-base:active{transform:scale(.98)}"]
|
9518
9587
|
}),
|
9519
9588
|
__param(1, core.Inject(material.MAT_DIALOG_DATA)),
|
9520
9589
|
__param(2, core.Inject(APP_MESSAGES)),
|
@@ -9702,7 +9771,7 @@
|
|
9702
9771
|
'class': 'gipi-dropdown-menu',
|
9703
9772
|
},
|
9704
9773
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
9705
|
-
styles: [".dropdown-menu-container{display:flex;flex-direction:column;gap:
|
9774
|
+
styles: [".dropdown-menu-container{display:flex;flex-direction:column;gap:1rem;width:100%}.dropdown-menu-container .dropdown-menu-label{color:#131313;font-size:1.4rem;line-height:100%}.dropdown-menu-container .dropdown-menu-label>span{color:#d14014;font-size:inherit;line-height:inherit}.dropdown-menu-container .dropdown-menu-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;gap:1rem;width:100%;max-height:4rem;border-radius:5px;cursor:pointer;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;transition:.2s}.dropdown-menu-container .dropdown-menu-content:focus-within,.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:active),.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.dropdown-menu-container .dropdown-menu-content:focus-within,.dropdown-menu-container .dropdown-menu-content:hover{border-color:#bfbfbf!important;background-color:#f5f5f5}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled){background-color:#e0e1e2!important;border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-input,.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-suffix .dropdown-menu-button{cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-suffix .dropdown-menu-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-input{cursor:pointer;height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix{display:flex;flex-direction:row;align-items:center;gap:16px}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;border-radius:40px;border:1px solid transparent;color:#131313;background-color:#f0f0f0;font-size:1.2rem;line-height:1.4rem}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.dropdown-menu-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}.btn-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
9706
9775
|
}),
|
9707
9776
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
9708
9777
|
core.ElementRef])
|
@@ -9867,9 +9936,7 @@
|
|
9867
9936
|
]; };
|
9868
9937
|
ConfirmationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(core.ɵɵinject(dialog.MatDialog)); }, token: ConfirmationService, providedIn: "root" });
|
9869
9938
|
ConfirmationService = __decorate([
|
9870
|
-
core.Injectable({
|
9871
|
-
providedIn: 'root'
|
9872
|
-
}),
|
9939
|
+
core.Injectable({ providedIn: 'root' }),
|
9873
9940
|
__metadata("design:paramtypes", [material.MatDialog])
|
9874
9941
|
], ConfirmationService);
|
9875
9942
|
return ConfirmationService;
|
@@ -10413,7 +10480,7 @@
|
|
10413
10480
|
'class': 'gipi-form-field',
|
10414
10481
|
},
|
10415
10482
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10416
|
-
styles: [".form-field-container{display:flex;flex-direction:column;gap:1rem;width:100%}.form-field-container .form-field-label{color:#131313;font-size:1.4rem;line-height:100%}.form-field-container .form-field-label>span{color:#d14014;font-size:inherit;line-height:inherit}.form-field-container .form-field-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:1.2rem;gap:
|
10483
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.form-field-container{display:flex;flex-direction:column;gap:1rem;width:100%}.form-field-container .form-field-label{color:#131313;font-size:1.4rem;line-height:100%}.form-field-container .form-field-label>span{color:#d14014;font-size:inherit;line-height:inherit}.form-field-container .form-field-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:1.2rem;gap:1rem;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s}.form-field-container .form-field-content:focus-within,.form-field-container .form-field-content:has(.form-field-input:active),.form-field-container .form-field-content:has(.form-field-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.form-field-container .form-field-content:focus-within,.form-field-container .form-field-content:hover{border-color:#bfbfbf!important}.form-field-container .form-field-content:has(.form-field-input:invalid){border-color:#d14014!important;color:#d14014!important;caret-color:#d14014!important}.form-field-container .form-field-content:has(.form-field-input:invalid):focus-within{box-shadow:0 0 0 .2rem #f1c4b6!important}.form-field-container .form-field-content:has(.form-field-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-input,.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-suffix .form-field-button{cursor:not-allowed!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-suffix .form-field-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.form-field-container .form-field-content.form-field-select,.form-field-container .form-field-content.form-field-select .form-field-input{box-shadow:none!important;cursor:pointer!important}.form-field-container .form-field-content .form-field-input{height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-field-container .form-field-content .form-field-suffix{display:flex;flex-direction:row;align-items:center;gap:1.6rem}.form-field-container .form-field-content .form-field-suffix .form-field-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;border-radius:40px;border:1px solid transparent;color:#131313;background-color:#f0f0f0;font-size:1.2rem;line-height:1.4rem}.form-field-container .form-field-content .form-field-suffix .form-field-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.form-field-container .form-field-content .form-field-suffix .form-field-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.form-field-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}"]
|
10417
10484
|
}),
|
10418
10485
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10419
10486
|
core.ElementRef])
|
@@ -10592,7 +10659,7 @@
|
|
10592
10659
|
'class': 'gipi-input-checkbox',
|
10593
10660
|
},
|
10594
10661
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10595
|
-
styles: ["::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10662
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10596
10663
|
}),
|
10597
10664
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
10598
10665
|
], GIPIInputCheckboxComponent);
|
@@ -10793,7 +10860,7 @@
|
|
10793
10860
|
'class': 'gipi-input-currency',
|
10794
10861
|
},
|
10795
10862
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10796
|
-
styles: [".input-currency-container{display:flex;flex-direction:column;gap:
|
10863
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-currency-container{display:flex;flex-direction:column;gap:1rem;width:100%}.input-currency-container .input-currency-label{color:#131313;font-size:1.4rem;line-height:100%}.input-currency-container .input-currency-label>span{color:#d14014;font-size:inherit;line-height:inherit}.input-currency-container .input-currency-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s}.input-currency-container .input-currency-content:focus-within,.input-currency-container .input-currency-content:has(.input-currency-input:active),.input-currency-container .input-currency-content:has(.input-currency-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.input-currency-container .input-currency-content:focus-within,.input-currency-container .input-currency-content:hover{border-color:#bfbfbf!important}.input-currency-container .input-currency-content:has(.input-currency-input:invalid){border-color:#d14014!important;color:#d14014!important;caret-color:#d14014!important}.input-currency-container .input-currency-content:has(.input-currency-input:invalid):focus-within{box-shadow:0 0 0 .2rem #f1c4b6!important}.input-currency-container .input-currency-content:has(.input-currency-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.input-currency-container .input-currency-content .input-currency-input{height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1}"]
|
10797
10864
|
}),
|
10798
10865
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10799
10866
|
core.ElementRef])
|
@@ -11213,7 +11280,7 @@
|
|
11213
11280
|
'class': 'gipi-input-monthpicker',
|
11214
11281
|
},
|
11215
11282
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
11216
|
-
styles: [".input-monthpicker-container{display:flex;flex-direction:column;gap:
|
11283
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-monthpicker-container{display:flex;flex-direction:column;gap:1rem;width:100%}.input-monthpicker-container .input-monthpicker-label{color:#131313;font-size:1.4rem;line-height:100%}.input-monthpicker-container .input-monthpicker-label>span{color:#d14014;font-size:inherit;line-height:inherit}.input-monthpicker-container .input-monthpicker-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s;position:relative}.input-monthpicker-container .input-monthpicker-content:focus-within,.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:active),.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.input-monthpicker-container .input-monthpicker-content:focus-within,.input-monthpicker-container .input-monthpicker-content:hover{border-color:#bfbfbf!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-input,.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-suffix .input-monthpicker-button{cursor:not-allowed!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-suffix .input-monthpicker-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-input{height:16px;max-width:84%;outline:0;border:none;background-color:transparent;color:inherit;flex:1}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix{display:flex;flex-direction:row;align-items:center;gap:16px}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix .input-monthpicker-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix .input-monthpicker-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.input-monthpicker-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}::ng-deep .calendar{width:100%;display:flex;flex-direction:column}::ng-deep .calendar .calendar-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #aeb1b5;margin-bottom:8px}::ng-deep .calendar .calendar-header .calendar-title{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:1.6rem;line-height:1.8rem;font-weight:600;cursor:default;border-radius:8px;padding:8px;white-space:nowrap}::ng-deep .calendar .calendar-header .calendar-title>mat-icon{font-size:2rem;width:20px;height:20px}::ng-deep .calendar .calendar-header .calendar-title.month:hover{cursor:pointer;background-color:#f0f0f0}::ng-deep .calendar .calendar-header .calendar-controls{display:flex;flex-direction:row;align-items:center;gap:8px}::ng-deep .calendar .calendar-header .calendar-controls>button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;background-color:#e0313e;cursor:pointer;transition:.3s;border:0;outline:0;color:#fff}::ng-deep .calendar .calendar-header .calendar-controls>button:hover{background-color:#cc2d38}::ng-deep .calendar .calendar-header .calendar-controls>button>mat-icon{font-size:1.8rem;width:18px;height:18px}::ng-deep .calendar .table-months{display:-ms-grid;display:grid;-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr);gap:4px}::ng-deep .calendar .table-months .month{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;font-size:1.4rem;line-height:1.7rem;color:#555659;background-color:#f0f0f0;transition:background-color .1s;cursor:pointer}::ng-deep .calendar .table-months .month.disabled{color:#bbbdc1;background-color:#e0e1e2}::ng-deep .calendar .table-months .month:not(.disabled).selected,::ng-deep .calendar .table-months .month:not(.disabled):hover{color:#fff;background-color:#e0313e}::ng-deep .calendar .table-months .month:not(.disabled).selected:hover{background-color:#cc2d38}::ng-deep .calendar .table-years{display:-ms-grid;display:grid;-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr);gap:4px}::ng-deep .calendar .table-years .year{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;font-size:1.4rem;line-height:1.7rem;color:#555659;background-color:#f0f0f0;transition:background-color .1s;cursor:pointer}::ng-deep .calendar .table-years .year.disabled{color:#bbbdc1;background-color:#e0e1e2}::ng-deep .calendar .table-years .year:not(.disabled).selected,::ng-deep .calendar .table-years .year:not(.disabled):hover{color:#fff;background-color:#e0313e}::ng-deep .calendar .table-years .year:not(.disabled).selected:hover{background-color:#cc2d38}"]
|
11217
11284
|
}),
|
11218
11285
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
11219
11286
|
GIPINgConfig])
|
@@ -11555,7 +11622,7 @@
|
|
11555
11622
|
'class': 'gipi-input-select-enum',
|
11556
11623
|
},
|
11557
11624
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
11558
|
-
styles: ["::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.4rem;line-height:100%;gap:
|
11625
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.4rem;line-height:100%;gap:1rem}::ng-deep .select-row:hover{background:#f5f5f6}::ng-deep .select-row:active{background:#e0e1e2}.select-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem;gap:8px;color:#131313;cursor:default;padding:0 0 16px}.select-not-found>mat-icon{width:2.8rem;height:2.8rem;font-size:2.8rem;line-height:2.8rem;color:#131313}.select-loading{height:4.8rem;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:center}.select-loading .dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.select-loading .dot-pulse::after,.select-loading .dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e}.select-loading .dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.select-loading .dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}.select-enum-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
11559
11626
|
}),
|
11560
11627
|
__metadata("design:paramtypes", [core.ElementRef,
|
11561
11628
|
core.ChangeDetectorRef])
|
@@ -12935,7 +13002,7 @@
|
|
12935
13002
|
'class': 'gipi-input-select',
|
12936
13003
|
},
|
12937
13004
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
12938
|
-
styles: ["::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.3rem;line-height:100%;gap:
|
13005
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.3rem;line-height:100%;gap:1rem}::ng-deep .select-row:hover{background:#f5f5f6}::ng-deep .select-row:active{background:#e0e1e2}::ng-deep .select-row.disabled{background-color:#d1d2d4!important;color:#9a9da2!important;cursor:not-allowed!important;pointer-events:none!important}::ng-deep .select-row>span{display:-webkit-box;line-clamp:2;box-orient:vertical;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden}.select-search{display:flex;align-items:center;font-size:1.4rem;line-height:100%;gap:1rem;padding:8px 12px}.select-option-all{border-bottom:1px solid rgba(0,0,0,.12)}.select-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem;gap:8px;color:#131313;cursor:default;padding:0 0 16px}.select-not-found>mat-icon{width:2.8rem;height:2.8rem;font-size:2.8rem;line-height:2.8rem;color:#131313}.select-loading{height:4rem;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:center}.select-loading .dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.select-loading .dot-pulse::after,.select-loading .dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e}.select-loading .dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.select-loading .dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}.select-footer{display:flex;align-items:center;gap:1rem;padding:8px 12px;border-top:1px solid #bfbfbf}::ng-deep .select-mat-option-pseudo-checkbox{margin:0!important}"]
|
12939
13006
|
}),
|
12940
13007
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
12941
13008
|
], GIPIInputSelectComponent);
|
@@ -13360,7 +13427,7 @@
|
|
13360
13427
|
'class': 'gipi-input-select-listbox',
|
13361
13428
|
},
|
13362
13429
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
13363
|
-
styles: ["::ng-deep .overlay-select-listbox{padding:0!important}::ng-deep .listbox-radio-group{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:16px}.overlay-select-listbox-content{display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:12px;width:100%;gap:
|
13430
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select-listbox{padding:0!important}::ng-deep .listbox-radio-group{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:16px}.overlay-select-listbox-content{display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:12px;width:100%;gap:1rem;position:relative}.overlay-select-listbox-content .overlay-select-listbox-backdrop{background:rgba(0,0,0,.32);opacity:1;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;border-radius:4px;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.overlay-select-listbox-content .listbox-selected{display:flex;flex-direction:column;gap:16px;background-color:#f5f5f6;border-radius:4px;padding:8px;overflow:hidden;width:100%}.overlay-select-listbox-content .listbox-selected>span{font-size:1.4rem;font-weight:600;line-height:100%;color:#131313}.overlay-select-listbox-content .listbox-selected .list{display:flex;flex-direction:column;gap:4px;width:100%;height:9rem;overflow-x:hidden;overflow-y:auto}.overlay-select-listbox-content .listbox-selected .list::-webkit-scrollbar{width:15px}.overlay-select-listbox-content .listbox-selected .list::-webkit-scrollbar-thumb{background-color:#d1d2d4;border-radius:10px;border:4px solid transparent;background-clip:padding-box}.overlay-select-listbox-content .listbox-selected .list .option{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:4px 12px;gap:8px;font-weight:400;font-size:1.4rem;line-height:1.6rem;color:#595959;transition:.1s;border-radius:4px}.overlay-select-listbox-content .listbox-selected .list .option:hover{background-color:#e0e1e2}.overlay-select-listbox-content .listbox-selected .list .option:hover>button{visibility:visible!important}.overlay-select-listbox-content .listbox-selected .list .option>button{display:flex;align-items:center;justify-content:center;outline:0;border:none;padding:2px;border-radius:4px;cursor:pointer;background-color:transparent;visibility:hidden}.overlay-select-listbox-content .listbox-selected .list .option>button>svg{width:1.4rem;height:1.4rem;line-height:1.6rem}.overlay-select-listbox-content .listbox-selected .list .option>button:hover>svg{transform:scale(1.08)}.overlay-select-listbox-content .footer{border-top:1px solid #bfbfbf;padding-top:12px;display:flex;align-items:center;gap:1rem}"]
|
13364
13431
|
}),
|
13365
13432
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
13366
13433
|
core.ElementRef,
|
@@ -13731,7 +13798,7 @@
|
|
13731
13798
|
core.Component({
|
13732
13799
|
selector: "gipi-input-search",
|
13733
13800
|
exportAs: 'gipiInputSearch',
|
13734
|
-
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\">\n\n <input class=\"mat-select-search-input mat-input-element\"\n
|
13801
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\">\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n type=\"text\"\n #searchSelectInput\n [placeholder]=\"placeholderLabel\"\n [formControl]=\"_formControl\"\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n class=\"mat-select-search-clear\"\n aria-label=\"Limpar\"\n mat-icon-button\n (click)=\"_reset(true)\">\n <mat-icon> close </mat-icon>\n </button>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <mat-icon>sentiment_very_dissatisfied</mat-icon>\n Nenhum registro foi encontrado\n</div>",
|
13735
13802
|
providers: [
|
13736
13803
|
{
|
13737
13804
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -14126,7 +14193,7 @@
|
|
14126
14193
|
'class': 'gipi-input-select-paged',
|
14127
14194
|
},
|
14128
14195
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
14129
|
-
styles: [".input-select-paged-content{display:flex;flex-direction:column;gap:
|
14196
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-select-paged-content{display:flex;flex-direction:column;gap:1rem}.input-select-paged-content>label{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.input-select-paged-content>label>span{color:#d14014}.field-diasabled{cursor:not-allowed}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{position:absolute!important;right:35px!important;top:34%!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix .mat-icon{height:1.6rem!important;width:1.6rem!important;font-size:1.6rem!important;color:#131313!important}:host ::ng-deep .mat-select-value{padding-right:30px!important}::ng-deep .virtual-scroll-viewport{width:100%!important;overflow:hidden}::ng-deep .virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important}.mat-select-additional-selection{opacity:.75;font-size:.75em;margin-left:16px}.mat-select-search-loading{background-color:#fff;display:flex;align-items:center;justify-content:center;height:3em}.dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.dot-pulse::after,.dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c}.dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}::ng-deep .mat-select-arrow{border:solid #131313!important;border-width:0 2px 2px 0!important;display:inline-block!important;padding:3px!important;transform:rotate(45deg)!important;margin:0 4px!important}::ng-deep .mat-option-button-add{position:absolute;bottom:0;left:0;width:100%;z-index:100;background-color:#fff;border-radius:4px}"]
|
14130
14197
|
}),
|
14131
14198
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
14132
14199
|
], GIPIInputSelectPagedComponent);
|
@@ -14403,7 +14470,7 @@
|
|
14403
14470
|
'class': 'gipi-input-select-radio',
|
14404
14471
|
},
|
14405
14472
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
14406
|
-
styles: ["::ng-deep .radio-group{display:flex;flex-direction:column;gap:16px}.select-radio-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
14473
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .radio-group{display:flex;flex-direction:column;gap:16px}.select-radio-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
14407
14474
|
}),
|
14408
14475
|
__metadata("design:paramtypes", [core.ElementRef,
|
14409
14476
|
core.ChangeDetectorRef])
|
@@ -15468,7 +15535,7 @@
|
|
15468
15535
|
'class': 'gipi-radio-group',
|
15469
15536
|
},
|
15470
15537
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
15471
|
-
styles: [".radiogroup-content{display:flex;flex-direction:column;gap:
|
15538
|
+
styles: [".radiogroup-content{display:flex;flex-direction:column;gap:1rem}.radiogroup-content>label,.radiogroup-content>legend{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.radiogroup-content>label>span,.radiogroup-content>legend>span{color:#d14014}.radiogroup-content .radiogroup{display:flex;align-items:center;gap:1rem;padding:8px 0}.fieldset-radio-content{height:6.6rem;border-color:rgba(0,0,0,.12);border-radius:5px}.fieldset-radio-content .radiogroup{width:100%;height:100%;justify-content:space-around}"]
|
15472
15539
|
}),
|
15473
15540
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
15474
15541
|
], GIPIRadioGroupComponent);
|
@@ -16519,7 +16586,7 @@
|
|
16519
16586
|
},
|
16520
16587
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
16521
16588
|
encapsulation: core.ViewEncapsulation.None,
|
16522
|
-
styles: [".select-content{display:flex;flex-direction:column;gap:
|
16589
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.select-content{display:flex;flex-direction:column;gap:1rem}.select-content .label{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.select-content .label>span{color:#d14014}.select-content .select{background-color:#fff;border:1px solid #e0e1e2;color:#6d6f73;border-radius:16px;padding:12px;gap:8px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;transition:.2s}.select-content .select>span{font-weight:600;font-size:1.4rem;line-height:100%;flex:1}.select-content .select>mat-icon{color:#6d6f73;fill:#6d6f73;max-height:16px}.select-content .select .icon-select{width:16px;height:16px;font-size:1.6rem}.select-overlay-content{list-style:none;max-height:256px;display:flex;flex-direction:column;gap:.8px}.select-overlay-content>li{height:3em;line-height:3em;border-radius:4px;padding:0 16px;text-align:left;cursor:pointer;color:#8c8f93;font-size:1.3rem}.select-overlay-content>li:hover{background-color:#e0e1e2;color:#6d6f73;font-weight:600}.active{background-color:#f3e7e7;color:#e0313e}.disabled{border:1px solid #d1d2d4!important;color:#f5f5f6!important;cursor:not-allowed!important}"]
|
16523
16590
|
}),
|
16524
16591
|
__metadata("design:paramtypes", [])
|
16525
16592
|
], GIPISelectComponent);
|
@@ -16563,9 +16630,7 @@
|
|
16563
16630
|
};
|
16564
16631
|
BreakpointObserverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function BreakpointObserverService_Factory() { return new BreakpointObserverService(); }, token: BreakpointObserverService, providedIn: "root" });
|
16565
16632
|
BreakpointObserverService = __decorate([
|
16566
|
-
core.Injectable({
|
16567
|
-
providedIn: 'root'
|
16568
|
-
}),
|
16633
|
+
core.Injectable({ providedIn: 'root' }),
|
16569
16634
|
__metadata("design:paramtypes", [])
|
16570
16635
|
], BreakpointObserverService);
|
16571
16636
|
return BreakpointObserverService;
|
@@ -16606,9 +16671,7 @@
|
|
16606
16671
|
]; };
|
16607
16672
|
NavService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function NavService_Factory() { return new NavService(core.ɵɵinject(router.Router)); }, token: NavService, providedIn: "root" });
|
16608
16673
|
NavService = __decorate([
|
16609
|
-
core.Injectable({
|
16610
|
-
providedIn: 'root'
|
16611
|
-
}),
|
16674
|
+
core.Injectable({ providedIn: 'root' }),
|
16612
16675
|
__metadata("design:paramtypes", [router.Router])
|
16613
16676
|
], NavService);
|
16614
16677
|
return NavService;
|
@@ -16710,7 +16773,7 @@
|
|
16710
16773
|
this._levelOneMenuCollapsableSelected = null;
|
16711
16774
|
this._levelTwoMenuCollapsableSelected = null;
|
16712
16775
|
this._mouseEnter = false;
|
16713
|
-
this.
|
16776
|
+
this._menuItems = [];
|
16714
16777
|
this.labelToggle = 'Retrair menu';
|
16715
16778
|
this.showTagNewIntegration = false;
|
16716
16779
|
this.showIntegration = false;
|
@@ -16720,6 +16783,16 @@
|
|
16720
16783
|
this.onClickMenuConfiguration = new core.EventEmitter();
|
16721
16784
|
}
|
16722
16785
|
GIPISidenavComponent_1 = GIPISidenavComponent;
|
16786
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "menuItems", {
|
16787
|
+
get: function () {
|
16788
|
+
return this._menuItems;
|
16789
|
+
},
|
16790
|
+
set: function (value) {
|
16791
|
+
this._menuItems = value;
|
16792
|
+
},
|
16793
|
+
enumerable: false,
|
16794
|
+
configurable: true
|
16795
|
+
});
|
16723
16796
|
GIPISidenavComponent.prototype.ngOnInit = function () { };
|
16724
16797
|
GIPISidenavComponent.prototype.ngAfterViewInit = function () {
|
16725
16798
|
this._navService.sidenav = this.sidenav;
|
@@ -16754,17 +16827,23 @@
|
|
16754
16827
|
enumerable: false,
|
16755
16828
|
configurable: true
|
16756
16829
|
});
|
16757
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "
|
16830
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "levelMenuSelected", {
|
16758
16831
|
get: function () {
|
16832
|
+
var _this = this;
|
16833
|
+
var levelMenuActive = [];
|
16759
16834
|
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16760
|
-
|
16835
|
+
levelMenuActive = this.menuItems;
|
16761
16836
|
}
|
16762
16837
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16763
|
-
|
16838
|
+
levelMenuActive = this._levelOneMenuCollapsableSelected.menuList;
|
16764
16839
|
}
|
16765
16840
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16766
|
-
|
16841
|
+
levelMenuActive = this._levelTwoMenuCollapsableSelected.menuList;
|
16767
16842
|
}
|
16843
|
+
if (!ArrayUtil.isEmpty(levelMenuActive)) {
|
16844
|
+
levelMenuActive.forEach(function (item) { return item.id = _this._toCamelCase(item.route); });
|
16845
|
+
}
|
16846
|
+
return rxjs.of(levelMenuActive);
|
16768
16847
|
},
|
16769
16848
|
enumerable: false,
|
16770
16849
|
configurable: true
|
@@ -16889,6 +16968,17 @@
|
|
16889
16968
|
}
|
16890
16969
|
});
|
16891
16970
|
};
|
16971
|
+
GIPISidenavComponent.prototype._toCamelCase = function (name) {
|
16972
|
+
if (StringUtil.isEmpty(name)) {
|
16973
|
+
return '';
|
16974
|
+
}
|
16975
|
+
var normalized = StringUtil.replaceAccents(name);
|
16976
|
+
return normalized
|
16977
|
+
.split(/[/\-]/) // Divide por '/' e '-'
|
16978
|
+
.filter(Boolean) // Remove elementos vazios da lista
|
16979
|
+
.map(function (word, index) { return (index === 0) ? word.toLowerCase() : (word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()); })
|
16980
|
+
.join('');
|
16981
|
+
};
|
16892
16982
|
var GIPISidenavComponent_1;
|
16893
16983
|
GIPISidenavComponent.ctorParameters = function () { return [
|
16894
16984
|
{ type: NavService },
|
@@ -16901,8 +16991,9 @@
|
|
16901
16991
|
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
16902
16992
|
__decorate([
|
16903
16993
|
core.Input(),
|
16904
|
-
__metadata("design:type", Array)
|
16905
|
-
|
16994
|
+
__metadata("design:type", Array),
|
16995
|
+
__metadata("design:paramtypes", [Array])
|
16996
|
+
], GIPISidenavComponent.prototype, "menuItems", null);
|
16906
16997
|
__decorate([
|
16907
16998
|
core.Input(),
|
16908
16999
|
__metadata("design:type", String)
|
@@ -16959,7 +17050,7 @@
|
|
16959
17050
|
core.Component({
|
16960
17051
|
selector: "gipi-sidenav",
|
16961
17052
|
exportAs: 'gipiSidenav',
|
16962
|
-
template: "<mat-sidenav #sidenav\n
|
17053
|
+
template: "<mat-sidenav #sidenav\n class=\"sidenav\"\n opened=\"true\"\n [class.large-sidenav]=\"(isOpened | async)\"\n [class.small-sidenav]=\"!(isOpened | async)\"\n [disableClose]=\"(isScreenLarge | async)\"\n [mode]=\"(isScreenLarge | async) ? 'side' : 'over'\">\n\n <!-- <div [ngClass]=\"{'sidenav-content-menu': true,\n 'show-bottom': (showConfiguration || showIntegration)}\"> -->\n <div class=\"sidenav-content-menu\">\n\n <!-- Bot\u00E3o expandir e retrair o menu -->\n <button [attr.id]=\"'buttonToogleSidenav'\"\n [attr.name]=\"'buttonToogleSidenav'\"\n class=\"toggle-sidenav\"\n (click)=\"toggleSidenav(); _mouseEnter = false;\">\n <mat-icon [@indicatorRotate]=\"(isOpened | async) ? 'opened': 'closed'\">\n chevron_right\n </mat-icon>\n\n {{ ((labelToggle) && (isOpened | async)) ? labelToggle : '' }}\n </button>\n\n <!-- Bot\u00E3o voltar do submenu -->\n <div class=\"sidenav-action-menu sidenav-menu-collapsable\">\n <a [attr.id]=\"'buttonSubmenuBack'\"\n [attr.name]=\"'buttonSubmenuBack'\"\n *ngIf=\"(isOpened | async) && (_levelOneMenuCollapsableSelected || _levelTwoMenuCollapsableSelected)\"\n (click)=\"onMenuCollapsableGoBack()\"\n (mouseenter)=\"!_mouseEnter && onMouseEnter()\"\n (mouseleave)=\"_mouseEnter && onMouseLeave()\">\n <mat-icon>\n arrow_back\n </mat-icon>\n <span>\n {{ (submenuBackButtonName | async) }}\n </span>\n </a>\n </div>\n\n <!-- Se o menu item for do tipo submenu -->\n <mat-nav-list class=\"sidenav-menu-list\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\">\n <div class=\"sidenav-action-menu\"\n *ngFor=\"let menu of (levelMenuSelected | async)\">\n <a [attr.id]=\"menu.id\"\n [attr.name]=\"menu.id\"\n [class.menu-active]=\"isMenuActive(menu)\"\n [routerLink]=\"menu.route\"\n *ngIf=\"menu.type === 'ITEM'\"\n (click)=\"onMenuItemSelected(menu)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n </a>\n\n <a [attr.id]=\"menu.id\"\n [attr.name]=\"menu.id\"\n [class.menu-active]=\"isMenuCollapsableActive(menu)\"\n *ngIf=\"menu.type === 'COLLAPSABLE'\"\n (click)=\"onMenuCollapsableSelected(menu); onMenuItemSelected(menu, false)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n <mat-icon *ngIf=\"(isOpened | async)\">\n chevron_right\n </mat-icon>\n </a>\n </div>\n </mat-nav-list>\n </div>\n\n <div class=\"sidenav-action-menu sidenav-bottom-menu\">\n <a [attr.id]=\"'integracoes'\"\n [attr.name]=\"'integracoes'\"\n *ngIf=\"showIntegration\"\n (click)=\"onMenuItemSelected(null); onClickMenuIntegration.emit()\">\n <mat-icon *ngIf=\"iconIntegration\">\n {{ iconIntegration }}\n </mat-icon>\n <mat-icon *ngIf=\"svgIconIntegration\"\n [svgIcon]=\"svgIconIntegration\">\n </mat-icon>\n <span *ngIf=\"(labelIntegration) && (isOpened | async)\">\n {{ labelIntegration }}\n </span>\n <div class=\"tag-new\"\n [class.closed]=\"!(isOpened | async)\"\n *ngIf=\"showTagNewIntegration\">\n Novo\n </div>\n </a>\n\n <a [attr.id]=\"'configuracoes'\"\n [attr.name]=\"'configuracoes'\"\n *ngIf=\"showConfiguration\"\n (click)=\"onMenuItemSelected(null); onClickMenuConfiguration.emit()\">\n <mat-icon *ngIf=\"iconConfiguration\">\n {{ iconConfiguration }}\n </mat-icon>\n <mat-icon *ngIf=\"svgIconConfiguration\"\n [svgIcon]=\"svgIconConfiguration\">\n </mat-icon>\n <span *ngIf=\"(labelConfiguration) && (isOpened | async)\">\n {{ labelConfiguration }}\n </span>\n </a>\n </div>\n</mat-sidenav>",
|
16963
17054
|
encapsulation: core.ViewEncapsulation.None,
|
16964
17055
|
providers: [
|
16965
17056
|
{
|
@@ -16978,7 +17069,7 @@
|
|
16978
17069
|
animations.transition('expanded <=> collapsed', animations.animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
16979
17070
|
])
|
16980
17071
|
],
|
16981
|
-
styles: [".sidenav{padding:.8rem 1.2rem;border-radius:5px;background-color:#fff;position:fixed!important;top:66px!important;bottom:8px!important;border:0!important}.sidenav.small-sidenav{overflow-y:auto;width:76px}.sidenav.small-sidenav .sidenav-bottom-menu,.sidenav.small-sidenav .sidenav-content-menu .sidenav-menu-list .action-sidenav,.sidenav.small-sidenav .sidenav-content-menu .toggle-sidenav{text-align:center!important}.sidenav.large-sidenav{overflow-y:auto;width:248px}.sidenav .sidenav-content-menu{width:100%;background-color:#f5f5f6;border-radius:4px;display:flex;flex-direction:column;align-items:stretch;height:100
|
17072
|
+
styles: [".sidenav{padding:.8rem 1.2rem;border-radius:5px;background-color:#fff;position:fixed!important;top:66px!important;bottom:8px!important;border:0!important}.sidenav.small-sidenav{overflow-y:auto;width:76px}.sidenav.small-sidenav .sidenav-bottom-menu,.sidenav.small-sidenav .sidenav-content-menu .sidenav-menu-list .action-sidenav,.sidenav.small-sidenav .sidenav-content-menu .toggle-sidenav{text-align:center!important}.sidenav.large-sidenav{overflow-y:auto;width:248px}.sidenav .sidenav-content-menu{width:100%;background-color:#f5f5f6;border-radius:4px;display:flex;flex-direction:column;align-items:stretch;height:100%;flex:1}.sidenav .sidenav-content-menu .toggle-sidenav{all:unset;border-radius:4px;border:none;text-align:left;cursor:pointer;background-color:#e0313e;color:#fff;display:flex;align-items:center;gap:8px;padding:10px 16px}.sidenav .sidenav-content-menu .toggle-sidenav>mat-icon{width:2rem;height:2rem;font-size:2rem}.sidenav .sidenav-content-menu .toggle-sidenav:hover{background-color:#cc2d38}.sidenav .sidenav-content-menu .sidenav-menu-list{overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.sidenav .sidenav-content-menu .sidenav-menu-list::-webkit-scrollbar{display:none}.menu-active{color:#e0313e!important;background-color:#e0e1e2!important}.menu-active>mat-icon,.menu-active>mat-icon svg,.menu-active>mat-icon svg path{color:#e0313e!important;fill:#e0313e!important}.sidenav-action-menu{cursor:pointer;display:flex}.sidenav-action-menu.sidenav-bottom-menu{flex-direction:column;gap:1rem;margin-top:1rem}.sidenav-action-menu a{flex:1;padding:16px;background-color:#f5f5f6;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:1.4rem;font-weight:600;position:relative;overflow:hidden}.sidenav-action-menu a:hover{background-color:#e0e1e2}.sidenav-action-menu a>span{flex:1;line-height:2rem}.sidenav-action-menu a>mat-icon{width:2rem;height:2rem;font-size:2rem;line-height:2rem;color:#595959;fill:#595959}.sidenav-action-menu a>mat-icon svg,.sidenav-action-menu a>mat-icon svg path{color:#595959;fill:#595959}.sidenav-bottom-menu a{border-radius:4px}.sidenav-menu-collapsable a{background-color:#e0e1e2}.sidenav-menu-collapsable a:hover{background-color:#d1d2d4}.mat-list-base{padding-top:0!important}.mat-drawer-inner-container{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;overflow:hidden!important}.mat-drawer:not(.mat-drawer-side){box-shadow:none!important}.tag-new{display:flex;align-items:center;justify-content:center;background-color:#e0313e;color:#fff;padding:.2rem .6rem;font-size:1rem;line-height:1rem;border-radius:.4rem}.tag-new.closed{position:absolute;top:15px;right:20px;width:52px;z-index:1;transform:translateX(70%) translateY(-85%) rotate(45deg);transform-origin:center;overflow:hidden;font-size:.8rem!important;line-height:.8rem!important}"]
|
16982
17073
|
}),
|
16983
17074
|
__metadata("design:paramtypes", [NavService,
|
16984
17075
|
BreakpointObserverService,
|
@@ -17863,14 +17954,26 @@
|
|
17863
17954
|
return TabModel;
|
17864
17955
|
}());
|
17865
17956
|
|
17957
|
+
var nextUniqueId$i = 0;
|
17866
17958
|
var GIPITabComponent = /** @class */ (function () {
|
17867
17959
|
function GIPITabComponent() {
|
17960
|
+
this._name = "gipi-tab-" + nextUniqueId$i++;
|
17961
|
+
this.id = this._name;
|
17962
|
+
this.name = this._name;
|
17868
17963
|
this.active = false;
|
17869
17964
|
this.closeable = false;
|
17870
17965
|
this.disabled = false;
|
17871
17966
|
this.selectionChange = new core.EventEmitter();
|
17872
17967
|
}
|
17873
17968
|
GIPITabComponent.prototype.ngOnInit = function () { };
|
17969
|
+
__decorate([
|
17970
|
+
core.Input(),
|
17971
|
+
__metadata("design:type", Object)
|
17972
|
+
], GIPITabComponent.prototype, "id", void 0);
|
17973
|
+
__decorate([
|
17974
|
+
core.Input(),
|
17975
|
+
__metadata("design:type", String)
|
17976
|
+
], GIPITabComponent.prototype, "name", void 0);
|
17874
17977
|
__decorate([
|
17875
17978
|
core.Input(),
|
17876
17979
|
__metadata("design:type", Number)
|
@@ -17927,10 +18030,14 @@
|
|
17927
18030
|
return GIPITabComponent;
|
17928
18031
|
}());
|
17929
18032
|
|
18033
|
+
var nextUniqueId$j = 0;
|
17930
18034
|
var GIPITabGroupComponent = /** @class */ (function () {
|
17931
18035
|
function GIPITabGroupComponent(elementRef, _componentFactoryResolver) {
|
17932
18036
|
this.elementRef = elementRef;
|
17933
18037
|
this._componentFactoryResolver = _componentFactoryResolver;
|
18038
|
+
this._name = "gipi-tab-" + nextUniqueId$j++;
|
18039
|
+
this.id = this._name;
|
18040
|
+
this.name = this._name;
|
17934
18041
|
this.dynamicTabs = [];
|
17935
18042
|
}
|
17936
18043
|
GIPITabGroupComponent.prototype.ngOnInit = function () { };
|
@@ -18036,15 +18143,25 @@
|
|
18036
18143
|
core.ViewChild(GIPIDynamicTabDirective, { static: false }),
|
18037
18144
|
__metadata("design:type", GIPIDynamicTabDirective)
|
18038
18145
|
], GIPITabGroupComponent.prototype, "dynamicTabPlaceholder", void 0);
|
18146
|
+
__decorate([
|
18147
|
+
core.Input(),
|
18148
|
+
__metadata("design:type", Object)
|
18149
|
+
], GIPITabGroupComponent.prototype, "id", void 0);
|
18150
|
+
__decorate([
|
18151
|
+
core.Input(),
|
18152
|
+
__metadata("design:type", String)
|
18153
|
+
], GIPITabGroupComponent.prototype, "name", void 0);
|
18039
18154
|
GIPITabGroupComponent = __decorate([
|
18040
18155
|
core.Component({
|
18041
18156
|
selector: 'gipi-tab-group',
|
18042
18157
|
exportAs: 'gipiTabGroup',
|
18043
|
-
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link\n *ngFor=\"let tab of tabQueryList\"\n
|
18158
|
+
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link\n *ngFor=\"let tab of tabQueryList\"\n [attr.id]=\"tab.id\"\n [attr.name]=\"tab.name\"\n [class.active]=\"tab.active\"\n [disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\">\n <mat-icon *ngIf=\"tab.icon || tab.svgIcon\"\n [svgIcon]=\"tab.svgIcon ? tab.svgIcon : ''\">\n {{ !tab.svgIcon && tab.icon ? tab.icon : '' }}\n </mat-icon>\n\n {{ tab.label }}\n </a>\n\n <a mat-tab-link\n *ngFor=\"let tab of dynamicTabs\"\n [attr.id]=\"tab.id\"\n [attr.name]=\"tab.name\"\n [class.active]=\"tab.active\"\n [disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\">\n <mat-icon *ngIf=\"tab.icon || tab.svgIcon\"\n [svgIcon]=\"tab.svgIcon ? tab.svgIcon : ''\">\n {{ !tab.svgIcon && tab.icon ? tab.icon : '' }}\n </mat-icon>\n\n {{ tab.label }}\n </a>\n</nav>\n\n<ng-content> </ng-content>\n<ng-template dynamicTab\n #container>\n</ng-template>",
|
18044
18159
|
host: {
|
18045
18160
|
'class': 'gipi-tab-group',
|
18161
|
+
'[attr.id]': 'id',
|
18162
|
+
'[attr.name]': 'name',
|
18046
18163
|
},
|
18047
|
-
styles: [":host{display:block;flex:1;width:100%;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}:host ::ng-deep .mat-tab-nav-bar{background:#f5f5f6;border:none;border-radius:.4rem;padding:.4rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}:host ::ng-deep .mat-tab-links{display:flex;gap:1rem}:host ::ng-deep .mat-tab-link{height:auto!important;padding:1rem!important;opacity:1!important;border:none!important;border-radius:4px!important;transition:.2s!important;color:#595959!important;gap:1rem}:host ::ng-deep .mat-tab-link>mat-icon{width:2rem!important;height:2rem!important;font-size:2rem!important;color:#595959!important}:host ::ng-deep .mat-tab-link>mat-icon svg,:host ::ng-deep .mat-tab-link>mat-icon svg g path,:host ::ng-deep .mat-tab-link>mat-icon svg path{color:#595959!important;fill:#595959!important}:host ::ng-deep .mat-tab-link:not(.active):hover{background:#e0e1e2!important}:host ::ng-deep .mat-tab-link.active{background:#e0313e!important;color:#fff!important}:host ::ng-deep .mat-tab-link.active>mat-icon{color:#fff!important}:host ::ng-deep .mat-tab-link.active>mat-icon svg,:host ::ng-deep .mat-tab-link.active>mat-icon svg g path,:host ::ng-deep .mat-tab-link.active>mat-icon svg path{color:#fff!important;fill:#fff!important}:host ::ng-deep .mat-tab-link:disabled,:host ::ng-deep .mat-tab-link:disabled>mat-icon{color:#9a9da2!important;fill:#9a9da2!important}:host ::ng-deep .mat-tab-link:disabled svg,:host ::ng-deep .mat-tab-link:disabled svg g path,:host ::ng-deep .mat-tab-link:disabled svg path,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg g path,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg path{color:#9a9da2!important;fill:#9a9da2!important}:host ::ng-deep .mat-ink-bar{display:none!important}"]
|
18164
|
+
styles: [":host{display:block;flex:1;width:100%;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}:host ::ng-deep .mat-tab-nav-bar{background:#f5f5f6;border:none;border-radius:.4rem;padding:.4rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}:host ::ng-deep .mat-tab-links{display:flex;gap:1rem}:host ::ng-deep .mat-tab-link{height:auto!important;padding:1rem!important;opacity:1!important;border:none!important;border-radius:4px!important;transition:.2s!important;color:#595959!important;gap:1rem}:host ::ng-deep .mat-tab-link>mat-icon{width:2rem!important;height:2rem!important;font-size:2rem!important;color:#595959!important}:host ::ng-deep .mat-tab-link>mat-icon svg,:host ::ng-deep .mat-tab-link>mat-icon svg g path,:host ::ng-deep .mat-tab-link>mat-icon svg path{color:#595959!important;fill:#595959!important}:host ::ng-deep .mat-tab-link:not(.active):hover{background:#e0e1e2!important}:host ::ng-deep .mat-tab-link.active{background:#e0313e!important;color:#fff!important}:host ::ng-deep .mat-tab-link.active>mat-icon{color:#fff!important}:host ::ng-deep .mat-tab-link.active>mat-icon svg,:host ::ng-deep .mat-tab-link.active>mat-icon svg g path,:host ::ng-deep .mat-tab-link.active>mat-icon svg path{color:#fff!important;fill:#fff!important}:host ::ng-deep .mat-tab-link:disabled,:host ::ng-deep .mat-tab-link:disabled>mat-icon{color:#9a9da2!important;fill:#9a9da2!important}:host ::ng-deep .mat-tab-link:disabled svg,:host ::ng-deep .mat-tab-link:disabled svg g path,:host ::ng-deep .mat-tab-link:disabled svg path,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg g path,:host ::ng-deep .mat-tab-link:disabled>mat-icon svg path{color:#9a9da2!important;fill:#9a9da2!important}:host ::ng-deep .mat-ink-bar{display:none!important}:host ::ng-deep .mat-tab-header-pagination{box-shadow:none!important}:host ::ng-deep .mat-tab-header-pagination.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#d1d2d4!important;cursor:not-allowed!important}:host ::ng-deep .mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#595959!important}:host ::ng-deep .mat-tab-header-pagination:hover{transform:scale(.98)!important}"]
|
18048
18165
|
}),
|
18049
18166
|
__metadata("design:paramtypes", [core.ElementRef,
|
18050
18167
|
core.ComponentFactoryResolver])
|
@@ -22164,7 +22281,7 @@
|
|
22164
22281
|
* Use of this source code is governed by an MIT-style license that can be
|
22165
22282
|
* found in the LICENSE file at https://angular.io/license
|
22166
22283
|
*/
|
22167
|
-
var nextUniqueId$
|
22284
|
+
var nextUniqueId$k = 0;
|
22168
22285
|
var MatDateRangeInput = /** @class */ (function () {
|
22169
22286
|
function MatDateRangeInput(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
22170
22287
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -22172,7 +22289,7 @@
|
|
22172
22289
|
this._dateAdapter = _dateAdapter;
|
22173
22290
|
this._formField = _formField;
|
22174
22291
|
/** Unique ID for the input. */
|
22175
|
-
this.id = "mat-date-range-input-" + nextUniqueId$
|
22292
|
+
this.id = "mat-date-range-input-" + nextUniqueId$k++;
|
22176
22293
|
/** Whether the control is focused. */
|
22177
22294
|
this.focused = false;
|
22178
22295
|
/** Name of the form control. */
|
@@ -23385,7 +23502,7 @@
|
|
23385
23502
|
host: {
|
23386
23503
|
'class': 'gipi-date-range-picker',
|
23387
23504
|
},
|
23388
|
-
styles: [":host{display:block;width:100
|
23505
|
+
styles: [":host{display:block;width:100%;min-width:0;max-width:100%;flex:1}.input-wrapper{display:flex;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}.input-wrapper .input-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}.input-wrapper .input-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}.input-wrapper .input-content{display:flex;font-family:inherit;font-size:inherit;color:inherit;height:4rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.6rem}.input-wrapper .input-content .input-element{padding:.75rem .8rem;border:none;outline:0;background-color:transparent;flex:1;color:inherit;caret-color:#696969;min-width:0}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.prefix:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.suffix:hover){border-color:#6d6f73}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:focus){outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}.input-wrapper .input-content:has(.input-element:disabled){color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}.input-wrapper .input-content:has(.input-element:disabled) .suffix>mat-icon{color:#bbbdc1!important}.input-wrapper .input-content .input-element:disabled{cursor:not-allowed}.input-wrapper .input-content .suffix{display:flex;align-items:center;justify-content:center;padding-block:.75rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:.8rem}.input-wrapper .input-content .suffix>mat-icon{width:2rem;height:2rem;font-size:2rem;color:#696969}.input-wrapper .input-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::ng-deep .mat-date-range-input{height:4rem!important;padding-left:.8rem!important}::ng-deep .mat-date-range-input-container,::ng-deep .mat-date-range-input-end-wrapper,::ng-deep .mat-date-range-input-inner,::ng-deep .mat-date-range-input-start-wrapper{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:100%;min-height:100%;height:100%;padding-bottom:3px}::ng-deep .mat-date-range-input-end-wrapper{padding-bottom:0!important}::ng-deep .mat-date-range-input-inner{padding:0!important}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
23389
23506
|
}),
|
23390
23507
|
__metadata("design:paramtypes", [core.ElementRef,
|
23391
23508
|
core.ChangeDetectorRef])
|
@@ -23747,12 +23864,12 @@
|
|
23747
23864
|
}());
|
23748
23865
|
|
23749
23866
|
var moment$3 = moment_;
|
23750
|
-
var nextUniqueId$
|
23867
|
+
var nextUniqueId$m = 0;
|
23751
23868
|
var DatepickerComponent = /** @class */ (function () {
|
23752
23869
|
function DatepickerComponent(elementRef, _changeDetectorRef) {
|
23753
23870
|
this.elementRef = elementRef;
|
23754
23871
|
this._changeDetectorRef = _changeDetectorRef;
|
23755
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
23872
|
+
this._name = "gipi-date-range-" + nextUniqueId$m++;
|
23756
23873
|
this.id = this._name + "-date";
|
23757
23874
|
this.name = this._name + "-date";
|
23758
23875
|
this.label = '';
|
@@ -23985,7 +24102,7 @@
|
|
23985
24102
|
host: {
|
23986
24103
|
'class': 'gipi-datepicker',
|
23987
24104
|
},
|
23988
|
-
styles: [":host{display:block;width:100
|
24105
|
+
styles: [":host{display:block;width:100%;min-width:0;max-width:100%;flex:1}.input-wrapper{display:flex;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}.input-wrapper .input-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}.input-wrapper .input-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}.input-wrapper .input-content{display:flex;font-family:inherit;font-size:inherit;color:inherit;height:4rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.6rem}.input-wrapper .input-content .input-element{padding:.75rem .8rem;border:none;outline:0;background-color:transparent;flex:1;color:inherit;caret-color:#696969;min-width:0}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.prefix:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.suffix:hover){border-color:#6d6f73}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:focus){outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}.input-wrapper .input-content:has(.input-element:disabled){color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}.input-wrapper .input-content:has(.input-element:disabled) .suffix>mat-icon{color:#bbbdc1!important}.input-wrapper .input-content .input-element:disabled{cursor:not-allowed}.input-wrapper .input-content .suffix{display:flex;align-items:center;justify-content:center;padding-block:.75rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:.8rem}.input-wrapper .input-content .suffix>mat-icon{width:2rem;height:2rem;font-size:2rem;color:#696969}.input-wrapper .input-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
23989
24106
|
}),
|
23990
24107
|
__metadata("design:paramtypes", [core.ElementRef,
|
23991
24108
|
core.ChangeDetectorRef])
|
@@ -24353,7 +24470,7 @@
|
|
24353
24470
|
};
|
24354
24471
|
return MonthPickerModel;
|
24355
24472
|
}());
|
24356
|
-
var nextUniqueId$
|
24473
|
+
var nextUniqueId$n = 0;
|
24357
24474
|
var MonthYearPickerComponent = /** @class */ (function () {
|
24358
24475
|
function MonthYearPickerComponent(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
24359
24476
|
this.elementRef = elementRef;
|
@@ -24363,7 +24480,7 @@
|
|
24363
24480
|
this._viewContainerRef = _viewContainerRef;
|
24364
24481
|
this._dir = _dir;
|
24365
24482
|
this._document = _document;
|
24366
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
24483
|
+
this._name = "gipi-date-range-" + nextUniqueId$n++;
|
24367
24484
|
this._focusedElementBeforeOpen = null;
|
24368
24485
|
this._backdropHarnessClass = this._name + "-backdrop";
|
24369
24486
|
this._stateChanges = new rxjs.Subject();
|
@@ -24746,7 +24863,7 @@
|
|
24746
24863
|
MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
24747
24864
|
core.Component({
|
24748
24865
|
selector: 'gipi-month-year-picker',
|
24749
|
-
template: "<div class=\"input-wrapper\">\n\n <label *ngIf=\"label\"\n class=\"input-label\"\n [attr.for]=\"id\">\n {{ label }}\n <span *ngIf=\"required\"> * </span>\n </label>\n\n <div class=\"input-content\"\n #inputMonthYearContent\n (click)=\"open()\">\n <input matInput\n class=\"input-element\"\n type=\"text\"\n [attr.id]=\"id\"\n [attr.name]=\"name\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [readOnly]=\"true\"\n [autocomplete]=\"'off'\"\n [autofocus]=\"false\"\n [ngModel]=\"valueLabel\"\n (click)=\"open()\" />\n\n <div class=\"suffix\">\n <button #button\n mat-icon-button\n type=\"button\"\n class=\"btn-month-year-toggle\"\n [attr.aria-label]=\"'Abrir calend\u00E1rio mensal'\"\n [disabled]=\"disabled\"\n (click)=\"open()\">\n <svg class=\"month-year-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path\n d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\" />\n </svg>\n </button>\n </div>\n </div>\n\n <small *ngIf=\"help\"\n class=\"input-help\">\n {{ help }}\n </small>\n</div
|
24866
|
+
template: "<div class=\"input-wrapper\">\n\n <label *ngIf=\"label\"\n class=\"input-label\"\n [attr.for]=\"id\">\n {{ label }}\n <span *ngIf=\"required\"> * </span>\n </label>\n\n <div class=\"input-content\"\n #inputMonthYearContent\n (click)=\"open()\">\n <input matInput\n class=\"input-element\"\n type=\"text\"\n [attr.id]=\"id\"\n [attr.name]=\"name\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [readOnly]=\"true\"\n [autocomplete]=\"'off'\"\n [autofocus]=\"false\"\n [ngModel]=\"valueLabel\"\n (click)=\"open()\" />\n\n <div class=\"suffix\">\n <button #button\n mat-icon-button\n type=\"button\"\n class=\"btn-month-year-toggle\"\n [attr.aria-label]=\"'Abrir calend\u00E1rio mensal'\"\n [disabled]=\"disabled\"\n (click)=\"open()\">\n <svg class=\"month-year-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path\n d=\"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z\" />\n </svg>\n </button>\n </div>\n </div>\n\n <small *ngIf=\"help\"\n class=\"input-help\">\n {{ help }}\n </small>\n</div>",
|
24750
24867
|
providers: [
|
24751
24868
|
{
|
24752
24869
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -24758,7 +24875,7 @@
|
|
24758
24875
|
'class': 'gipi-month-year-picker',
|
24759
24876
|
},
|
24760
24877
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
24761
|
-
styles: [":host{display:block;width:100
|
24878
|
+
styles: [":host{display:block;width:100%;min-width:0;max-width:100%;flex:1}.input-wrapper{display:flex;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}.input-wrapper .input-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}.input-wrapper .input-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}.input-wrapper .input-content{display:flex;font-family:inherit;font-size:inherit;color:inherit;height:4rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.6rem}.input-wrapper .input-content .input-element{padding:.75rem .8rem;border:none;outline:0;background-color:transparent;flex:1;color:inherit;caret-color:#696969;min-width:0}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.prefix:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.suffix:hover){border-color:#6d6f73}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:focus){outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}.input-wrapper .input-content:has(.input-element:disabled){color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}.input-wrapper .input-content:has(.input-element:disabled) .suffix>mat-icon{color:#bbbdc1!important}.input-wrapper .input-content .input-element:disabled{cursor:not-allowed}.input-wrapper .input-content .suffix{display:flex;align-items:center;justify-content:center;padding-block:.75rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:.8rem}.input-wrapper .input-content .suffix>mat-icon{width:2rem;height:2rem;font-size:2rem;color:#696969}.input-wrapper .input-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-year-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-icon-button .month-year-toggle-default-icon{margin:auto}.btn-month-year-toggle{width:2rem!important;height:2rem!important;line-height:2rem!important}"]
|
24762
24879
|
}),
|
24763
24880
|
__param(5, core.Inject(GIPI_MONTH_YEAR_SCROLL_STRATEGY)),
|
24764
24881
|
__param(6, core.Optional()),
|
@@ -24808,11 +24925,11 @@
|
|
24808
24925
|
return MonthYearPickerModule;
|
24809
24926
|
}());
|
24810
24927
|
|
24811
|
-
var nextUniqueId$
|
24928
|
+
var nextUniqueId$o = 0;
|
24812
24929
|
var GIPISplitButtonComponent = /** @class */ (function () {
|
24813
24930
|
function GIPISplitButtonComponent(elementRef) {
|
24814
24931
|
this.elementRef = elementRef;
|
24815
|
-
this._uniqueId = nextUniqueId$
|
24932
|
+
this._uniqueId = nextUniqueId$o++;
|
24816
24933
|
this._name = "gipi-split-button-" + this._uniqueId;
|
24817
24934
|
this.idBtnDefault = "gipi-split-button-default-" + this._uniqueId;
|
24818
24935
|
this.idBtnMenu = "gipi-split-button-menu-" + this._uniqueId;
|
@@ -24855,7 +24972,7 @@
|
|
24855
24972
|
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
24856
24973
|
};
|
24857
24974
|
GIPISplitButtonComponent.prototype.btnIdAndName = function () {
|
24858
|
-
var uniqueId = nextUniqueId$
|
24975
|
+
var uniqueId = nextUniqueId$o++;
|
24859
24976
|
return {
|
24860
24977
|
btnDefault: "gipi-split-button-default-" + uniqueId,
|
24861
24978
|
btnMenu: "gipi-split-button-menu-" + uniqueId,
|
@@ -25050,12 +25167,12 @@
|
|
25050
25167
|
return GIPISplitButtonComponent;
|
25051
25168
|
}());
|
25052
25169
|
|
25053
|
-
var nextUniqueId$
|
25170
|
+
var nextUniqueId$p = 0;
|
25054
25171
|
var GIPITextareaComponent = /** @class */ (function () {
|
25055
25172
|
function GIPITextareaComponent(elementRef, _changeDetectorRef) {
|
25056
25173
|
this.elementRef = elementRef;
|
25057
25174
|
this._changeDetectorRef = _changeDetectorRef;
|
25058
|
-
this._name = "gipi-textarea-" + nextUniqueId$
|
25175
|
+
this._name = "gipi-textarea-" + nextUniqueId$p++;
|
25059
25176
|
this.id = this._name;
|
25060
25177
|
this.name = this._name;
|
25061
25178
|
this.label = '';
|
@@ -25389,7 +25506,7 @@
|
|
25389
25506
|
'class': 'gipi-textarea',
|
25390
25507
|
},
|
25391
25508
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
25392
|
-
styles: [":host{display:flex;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}:host .textarea-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}:host .textarea-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}:host .textarea-element{display:flex;font-family:inherit;font-size:inherit;color:inherit;padding:.75rem .8rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:6px;caret-color:#696969;max-height:12rem;min-height:6rem;resize:vertical;outline:0;overflow:auto}:host .textarea-element:not(:disabled):hover{border-color:#6d6f73}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled:hover,:host .textarea-element:not(:disabled):invalid:enabled:hover{border-color:#e07f62}:host .textarea-element:not(:disabled):enabled:focus{outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled,:host .textarea-element:not(:disabled):invalid:enabled{border-color:#d14014}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled:focus,:host .textarea-element:not(:disabled):invalid:enabled:focus{outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #f1c4b6;border-color:#d14014}:host .textarea-element:disabled{color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}:host .textarea-element.resize-none{resize:none}:host .textarea-element.resize-both{resize:both}:host .textarea-element.resize-horizontal{resize:horizontal}:host .textarea-element.resize-vertical{resize:vertical}:host .textarea-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
25509
|
+
styles: [":host{display:flex;min-width:0;max-width:100%;flex:1;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}:host .textarea-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}:host .textarea-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}:host .textarea-element{display:flex;font-family:inherit;font-size:inherit;color:inherit;padding:.75rem .8rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:6px;caret-color:#696969;max-height:12rem;min-height:6rem;resize:vertical;outline:0;overflow:auto}:host .textarea-element:not(:disabled):hover{border-color:#6d6f73}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled:hover,:host .textarea-element:not(:disabled):invalid:enabled:hover{border-color:#e07f62}:host .textarea-element:not(:disabled):enabled:focus{outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled,:host .textarea-element:not(:disabled):invalid:enabled{border-color:#d14014}:host .textarea-element:not(:disabled).ng-dirty.ng-invalid:enabled:focus,:host .textarea-element:not(:disabled):invalid:enabled:focus{outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #f1c4b6;border-color:#d14014}:host .textarea-element:disabled{color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}:host .textarea-element.resize-none{resize:none}:host .textarea-element.resize-both{resize:both}:host .textarea-element.resize-horizontal{resize:horizontal}:host .textarea-element.resize-vertical{resize:vertical}:host .textarea-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
25393
25510
|
}),
|
25394
25511
|
__metadata("design:paramtypes", [core.ElementRef,
|
25395
25512
|
core.ChangeDetectorRef])
|
@@ -26042,10 +26159,9 @@
|
|
26042
26159
|
]; };
|
26043
26160
|
AuthenticationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(core.ɵɵinject(router.Router), core.ɵɵinject(http.HttpClient)); }, token: AuthenticationService, providedIn: "root" });
|
26044
26161
|
AuthenticationService = __decorate([
|
26045
|
-
core.Injectable({
|
26046
|
-
|
26047
|
-
|
26048
|
-
__metadata("design:paramtypes", [router.Router, http.HttpClient])
|
26162
|
+
core.Injectable({ providedIn: 'root' }),
|
26163
|
+
__metadata("design:paramtypes", [router.Router,
|
26164
|
+
http.HttpClient])
|
26049
26165
|
], AuthenticationService);
|
26050
26166
|
return AuthenticationService;
|
26051
26167
|
}(AbstractService));
|
@@ -26196,13 +26312,14 @@
|
|
26196
26312
|
|
26197
26313
|
var DialogService = /** @class */ (function (_super) {
|
26198
26314
|
__extends(DialogService, _super);
|
26199
|
-
function DialogService(dialog) {
|
26315
|
+
function DialogService(_breakpointObserver, dialog) {
|
26200
26316
|
var _this = _super.call(this) || this;
|
26317
|
+
_this._breakpointObserver = _breakpointObserver;
|
26201
26318
|
_this.dialog = dialog;
|
26202
26319
|
return _this;
|
26203
26320
|
}
|
26204
26321
|
DialogService.prototype.open = function (dialog) {
|
26205
|
-
|
26322
|
+
var dialogConfig = {
|
26206
26323
|
panelClass: dialog.panelClass,
|
26207
26324
|
disableClose: dialog.disableClose,
|
26208
26325
|
width: dialog.width,
|
@@ -26213,20 +26330,56 @@
|
|
26213
26330
|
maxHeight: dialog.maxHeight,
|
26214
26331
|
position: dialog.position,
|
26215
26332
|
data: dialog.data,
|
26216
|
-
autoFocus: dialog.autoFocus,
|
26217
|
-
restoreFocus: dialog.restoreFocus,
|
26218
|
-
closeOnNavigation: dialog.closeOnNavigation,
|
26219
|
-
}
|
26333
|
+
autoFocus: dialog.autoFocus || false,
|
26334
|
+
restoreFocus: dialog.restoreFocus || false,
|
26335
|
+
closeOnNavigation: dialog.closeOnNavigation || true,
|
26336
|
+
};
|
26337
|
+
// this._breakpointObserver.observe(['(max-width: 1366px)', '(min-width: 1366.1px)']).subscribe((result: BreakpointState) => {
|
26338
|
+
// if (result.matches) {
|
26339
|
+
// if (result.breakpoints['(max-width: 1366px)']) {
|
26340
|
+
// dialogConfig = {
|
26341
|
+
// ...dialogConfig,
|
26342
|
+
// width: 'auto',
|
26343
|
+
// maxWidth: '80%',
|
26344
|
+
// height: this._calcHeightByBody(),
|
26345
|
+
// maxHeight: this._calcHeightByBody(),
|
26346
|
+
// position: {
|
26347
|
+
// top: '40px',
|
26348
|
+
// right: '40px',
|
26349
|
+
// }
|
26350
|
+
// };
|
26351
|
+
// } else if (result.breakpoints['(min-width: 1366.1px)']) {
|
26352
|
+
// // Para telas maiores que 1366px, aplica o maxWidth de 1920px e centraliza o modal
|
26353
|
+
// dialogConfig = {
|
26354
|
+
// ...dialogConfig,
|
26355
|
+
// maxWidth: '1920px',
|
26356
|
+
// };
|
26357
|
+
// }
|
26358
|
+
// }
|
26359
|
+
// });
|
26360
|
+
return this.dialog.open(dialog.componentOrTemplateRef, dialogConfig);
|
26361
|
+
};
|
26362
|
+
DialogService.prototype._calcHeightByBody = function () {
|
26363
|
+
// Esse n° 80 é definido pela margem do lado direito, que no caso é 40px. Como tira 40 top e 40 bottom = 80.
|
26364
|
+
var bodyDOMRect = (document && document.body) ? document.body.getBoundingClientRect() : null;
|
26365
|
+
return bodyDOMRect.height - 80 + "px";
|
26366
|
+
};
|
26367
|
+
DialogService.prototype._coerceNumber = function (value) {
|
26368
|
+
if (StringUtil.isEmpty(value)) {
|
26369
|
+
return null;
|
26370
|
+
}
|
26371
|
+
var onlyNumber = value.match(/\d+/);
|
26372
|
+
return onlyNumber ? parseInt(onlyNumber[0], 10) : null;
|
26220
26373
|
};
|
26221
26374
|
DialogService.ctorParameters = function () { return [
|
26375
|
+
{ type: layout.BreakpointObserver },
|
26222
26376
|
{ type: material.MatDialog }
|
26223
26377
|
]; };
|
26224
|
-
DialogService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(core.ɵɵinject(dialog.MatDialog)); }, token: DialogService, providedIn: "root" });
|
26378
|
+
DialogService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(core.ɵɵinject(layout.BreakpointObserver), core.ɵɵinject(dialog.MatDialog)); }, token: DialogService, providedIn: "root" });
|
26225
26379
|
DialogService = __decorate([
|
26226
|
-
core.Injectable({
|
26227
|
-
|
26228
|
-
|
26229
|
-
__metadata("design:paramtypes", [material.MatDialog])
|
26380
|
+
core.Injectable({ providedIn: 'root' }),
|
26381
|
+
__metadata("design:paramtypes", [layout.BreakpointObserver,
|
26382
|
+
material.MatDialog])
|
26230
26383
|
], DialogService);
|
26231
26384
|
return DialogService;
|
26232
26385
|
}(AbstractService));
|
@@ -26275,15 +26428,26 @@
|
|
26275
26428
|
throw new Error(error);
|
26276
26429
|
}
|
26277
26430
|
};
|
26431
|
+
/**
|
26432
|
+
* Registers an icon using an HTML string in the default namespace.
|
26433
|
+
* @param svgName Svg name without the extension
|
26434
|
+
* @param literal SVG source of the icon.
|
26435
|
+
*/
|
26436
|
+
SvgRegisterService.prototype.registerSvgIconLiteral = function (svgName, literal) {
|
26437
|
+
try {
|
26438
|
+
this._matIconRegistry.addSvgIconLiteral(svgName, literal);
|
26439
|
+
}
|
26440
|
+
catch (error) {
|
26441
|
+
throw new Error(error);
|
26442
|
+
}
|
26443
|
+
};
|
26278
26444
|
SvgRegisterService.ctorParameters = function () { return [
|
26279
26445
|
{ type: material.MatIconRegistry },
|
26280
26446
|
{ type: platformBrowser.DomSanitizer }
|
26281
26447
|
]; };
|
26282
26448
|
SvgRegisterService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function SvgRegisterService_Factory() { return new SvgRegisterService(core.ɵɵinject(icon.MatIconRegistry), core.ɵɵinject(platformBrowser.DomSanitizer)); }, token: SvgRegisterService, providedIn: "root" });
|
26283
26449
|
SvgRegisterService = __decorate([
|
26284
|
-
core.Injectable({
|
26285
|
-
providedIn: 'root'
|
26286
|
-
}),
|
26450
|
+
core.Injectable({ providedIn: 'root' }),
|
26287
26451
|
__metadata("design:paramtypes", [material.MatIconRegistry,
|
26288
26452
|
platformBrowser.DomSanitizer])
|
26289
26453
|
], SvgRegisterService);
|
@@ -26560,9 +26724,7 @@
|
|
26560
26724
|
};
|
26561
26725
|
GIPIFileService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIFileService_Factory() { return new GIPIFileService(); }, token: GIPIFileService, providedIn: "root" });
|
26562
26726
|
GIPIFileService = __decorate([
|
26563
|
-
core.Injectable({
|
26564
|
-
providedIn: 'root'
|
26565
|
-
}),
|
26727
|
+
core.Injectable({ providedIn: 'root' }),
|
26566
26728
|
__metadata("design:paramtypes", [])
|
26567
26729
|
], GIPIFileService);
|
26568
26730
|
return GIPIFileService;
|
@@ -27583,25 +27745,25 @@
|
|
27583
27745
|
})(exports.LocalTimeEnum || (exports.LocalTimeEnum = {}));
|
27584
27746
|
|
27585
27747
|
var AuthGuard = /** @class */ (function () {
|
27586
|
-
function AuthGuard(
|
27587
|
-
this.
|
27588
|
-
this.
|
27748
|
+
function AuthGuard(_router, _authenticationService) {
|
27749
|
+
this._router = _router;
|
27750
|
+
this._authenticationService = _authenticationService;
|
27589
27751
|
}
|
27590
27752
|
AuthGuard.prototype.canActivate = function (route, state) {
|
27591
27753
|
var _this = this;
|
27592
|
-
if (!ObjectUtil.isNull(this.
|
27593
|
-
return this.
|
27594
|
-
if (_this.
|
27754
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27755
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27756
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27595
27757
|
return true;
|
27596
27758
|
}
|
27597
27759
|
else if (!ObjectUtil.isNull(token)) {
|
27598
|
-
_this.
|
27760
|
+
_this._authenticationService.removeToken();
|
27599
27761
|
}
|
27600
|
-
_this.
|
27762
|
+
_this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27601
27763
|
return false;
|
27602
27764
|
}));
|
27603
27765
|
}
|
27604
|
-
this.
|
27766
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27605
27767
|
return rxjs.of(false);
|
27606
27768
|
};
|
27607
27769
|
AuthGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27613,32 +27775,31 @@
|
|
27613
27775
|
]; };
|
27614
27776
|
AuthGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: AuthGuard, providedIn: "root" });
|
27615
27777
|
AuthGuard = __decorate([
|
27616
|
-
core.Injectable({
|
27617
|
-
|
27618
|
-
|
27619
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27778
|
+
core.Injectable({ providedIn: 'root' }),
|
27779
|
+
__metadata("design:paramtypes", [router.Router,
|
27780
|
+
AuthenticationService])
|
27620
27781
|
], AuthGuard);
|
27621
27782
|
return AuthGuard;
|
27622
27783
|
}());
|
27623
27784
|
|
27624
27785
|
var PermissionGuard = /** @class */ (function () {
|
27625
|
-
function PermissionGuard(
|
27626
|
-
this.
|
27627
|
-
this.
|
27786
|
+
function PermissionGuard(_router, _authenticationService) {
|
27787
|
+
this._router = _router;
|
27788
|
+
this._authenticationService = _authenticationService;
|
27628
27789
|
}
|
27629
27790
|
PermissionGuard.prototype.canActivate = function (route, state) {
|
27630
27791
|
var _this = this;
|
27631
|
-
if (!ObjectUtil.isNull(this.
|
27632
|
-
return this.
|
27633
|
-
if (_this.
|
27792
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27793
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27794
|
+
if (_this._authenticationService.isValidToken(token)
|
27634
27795
|
&& (!_this.hasPermission(token.user.menuList, state.url) && !_this.hasAuthority(token.user, route.data.authority))) {
|
27635
|
-
_this.
|
27796
|
+
_this._router.navigate(['errors/403']);
|
27636
27797
|
return false;
|
27637
27798
|
}
|
27638
27799
|
return true;
|
27639
27800
|
}));
|
27640
27801
|
}
|
27641
|
-
this.
|
27802
|
+
this._router.navigate(['errors/403']);
|
27642
27803
|
return rxjs.of(false);
|
27643
27804
|
};
|
27644
27805
|
PermissionGuard.prototype.hasAuthority = function (user, permission) {
|
@@ -27675,31 +27836,30 @@
|
|
27675
27836
|
]; };
|
27676
27837
|
PermissionGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PermissionGuard, providedIn: "root" });
|
27677
27838
|
PermissionGuard = __decorate([
|
27678
|
-
core.Injectable({
|
27679
|
-
|
27680
|
-
|
27681
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27839
|
+
core.Injectable({ providedIn: 'root' }),
|
27840
|
+
__metadata("design:paramtypes", [router.Router,
|
27841
|
+
AuthenticationService])
|
27682
27842
|
], PermissionGuard);
|
27683
27843
|
return PermissionGuard;
|
27684
27844
|
}());
|
27685
27845
|
|
27686
27846
|
var PublicGuard = /** @class */ (function () {
|
27687
|
-
function PublicGuard(
|
27688
|
-
this.
|
27689
|
-
this.
|
27847
|
+
function PublicGuard(_router, _authenticationService) {
|
27848
|
+
this._router = _router;
|
27849
|
+
this._authenticationService = _authenticationService;
|
27690
27850
|
}
|
27691
27851
|
PublicGuard.prototype.canActivate = function (route, state) {
|
27692
27852
|
var _this = this;
|
27693
|
-
if (!ObjectUtil.isNull(this.
|
27694
|
-
return this.
|
27695
|
-
if (_this.
|
27696
|
-
_this.
|
27853
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27854
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27855
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27856
|
+
_this._router.navigate(['dashboard']);
|
27697
27857
|
return false;
|
27698
27858
|
}
|
27699
27859
|
return true;
|
27700
27860
|
}));
|
27701
27861
|
}
|
27702
|
-
this.
|
27862
|
+
this._router.navigate(['dashboard']);
|
27703
27863
|
return rxjs.of(false);
|
27704
27864
|
};
|
27705
27865
|
PublicGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27711,10 +27871,9 @@
|
|
27711
27871
|
]; };
|
27712
27872
|
PublicGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PublicGuard_Factory() { return new PublicGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PublicGuard, providedIn: "root" });
|
27713
27873
|
PublicGuard = __decorate([
|
27714
|
-
core.Injectable({
|
27715
|
-
|
27716
|
-
|
27717
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27874
|
+
core.Injectable({ providedIn: 'root' }),
|
27875
|
+
__metadata("design:paramtypes", [router.Router,
|
27876
|
+
AuthenticationService])
|
27718
27877
|
], PublicGuard);
|
27719
27878
|
return PublicGuard;
|
27720
27879
|
}());
|
@@ -27774,6 +27933,7 @@
|
|
27774
27933
|
function MenuDTO() {
|
27775
27934
|
var _this = _super.call(this) || this;
|
27776
27935
|
_this.menuList = [];
|
27936
|
+
_this.id = '';
|
27777
27937
|
_this.expanded = false;
|
27778
27938
|
return _this;
|
27779
27939
|
}
|
@@ -28542,10 +28702,9 @@
|
|
28542
28702
|
]; };
|
28543
28703
|
PopoverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PopoverService_Factory() { return new PopoverService(core.ɵɵinject(overlay.Overlay), core.ɵɵinject(core.INJECTOR)); }, token: PopoverService, providedIn: "root" });
|
28544
28704
|
PopoverService = __decorate([
|
28545
|
-
core.Injectable({
|
28546
|
-
|
28547
|
-
|
28548
|
-
__metadata("design:paramtypes", [overlay.Overlay, core.Injector])
|
28705
|
+
core.Injectable({ providedIn: 'root' }),
|
28706
|
+
__metadata("design:paramtypes", [overlay.Overlay,
|
28707
|
+
core.Injector])
|
28549
28708
|
], PopoverService);
|
28550
28709
|
return PopoverService;
|
28551
28710
|
}());
|